--- /dev/null
+Cédric Augonnet <Cedric.Augonnet@labri.fr>
+Guillaume Beauchamp <Guillaume.Beauchamp@inria.fr>
+Jérôme Clet-Ortega <Jerome.Clet-Ortega@labri.fr>
+Ludovic Courtès <Ludovic.Courtes@inria.fr>
+Nathalie Furmento <Nathalie.Furmento@labri.fr>
+Brice Goglin <Brice.Goglin@inria.fr>
+Alexey Kardashevskiy <aik@au1.ibm.com>
+Antoine Rougier (University of Bordeaux intern)
+Jeff Squyres <jsquyres@cisco.com>
+Samuel Thibault <Samuel.Thibault@labri.fr>
--- /dev/null
+Copyright © 2004-2006 The Trustees of Indiana University and Indiana University Research and Technology Corporation. All rights reserved.
+Copyright © 2004-2005 The University of Tennessee and The University of Tennessee Research Foundation. All rights reserved.
+Copyright © 2004-2005 High Performance Computing Center Stuttgart, University of Stuttgart. All rights reserved.
+Copyright © 2004-2005 The Regents of the University of California. All rights reserved.
+Copyright © 2009 CNRS
+Copyright © 2009-2016 Inria. All rights reserved.
+Copyright © 2009-2015 Université Bordeaux
+Copyright © 2009-2015 Cisco Systems, Inc. All rights reserved.
+Copyright © 2009-2012 Oracle and/or its affiliates. All rights reserved.
+Copyright © 2010 IBM
+Copyright © 2010 Jirka Hladky
+Copyright © 2012 Aleksej Saushev, The NetBSD Foundation
+Copyright © 2012 Blue Brain Project, EPFL. All rights reserved.
+Copyright © 2015 Research Organization for Information Science and Technology (RIST). All rights reserved.
+Copyright © 2015-2016 Intel, Inc. All rights reserved.
+See COPYING in top-level directory.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- /dev/null
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+# Note that the -I directory must *exactly* match what was specified
+# via AC_CONFIG_MACRO_DIR in configure.ac.
+ACLOCAL_AMFLAGS = -I ./config
+
+SUBDIRS = src include
+if HWLOC_BUILD_STANDALONE
+SUBDIRS += utils tests contrib/systemd
+# We need doc/ if HWLOC_BUILD_DOXYGEN, or during make install if HWLOC_INSTALL_DOXYGEN.
+# There's no INSTALL_SUBDIRS, so always enter doc/ and check HWLOC_BUILD/INSTALL_DOXYGEN there
+SUBDIRS += doc
+endif
+
+# Do not let automake automatically add the non-standalone dirs to the
+# distribution tarball if we're building in embedded mode.
+DIST_SUBDIRS = $(SUBDIRS)
+
+# Only install the pkg file if we're building in standalone mode (and not on Windows)
+if HWLOC_BUILD_STANDALONE
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = hwloc.pc
+endif
+
+# Only install the valgrind suppressions file if we're building in standalone mode
+if HWLOC_BUILD_STANDALONE
+dist_pkgdata_DATA = contrib/hwloc-valgrind.supp
+endif
+
+#
+# "make distcheck" requires that tarballs are able to be able to "make
+# dist", so we have to include config/distscript.sh.
+#
+EXTRA_DIST = \
+ README VERSION COPYING AUTHORS \
+ config/hwloc_get_version.sh \
+ config/distscript.sh
+
+# Only install entire visual studio subdirectory if we're building in standalone mode
+if HWLOC_BUILD_STANDALONE
+EXTRA_DIST += contrib/windows
+endif
+
+if HWLOC_BUILD_STANDALONE
+dist-hook:
+ sh "$(top_srcdir)/config/distscript.sh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)"
+endif HWLOC_BUILD_STANDALONE
+
+#
+# Build the documenation and top-level README file
+#
+if HWLOC_BUILD_STANDALONE
+.PHONY: doc readme
+doc readme:
+ $(MAKE) -C doc
+endif HWLOC_BUILD_STANDALONE
+
+if HWLOC_BUILD_STANDALONE
+if HWLOC_HAVE_WINDOWS
+#
+# Winball specific rules
+#
+install-data-local:
+ sed -e 's/$$/'$$'\015'/ < $(srcdir)/README > $(DESTDIR)$(prefix)/README.txt
+ sed -e 's/$$/'$$'\015'/ < $(srcdir)/NEWS > $(DESTDIR)$(prefix)/NEWS.txt
+ sed -e 's/$$/'$$'\015'/ < $(srcdir)/COPYING > $(DESTDIR)$(prefix)/COPYING.txt
+uninstall-local:
+ rm -f $(DESTDIR)$(prefix)/README.txt $(DESTDIR)$(prefix)/NEWS.txt $(DESTDIR)$(prefix)/COPYING.txt
+endif HWLOC_HAVE_WINDOWS
+endif HWLOC_BUILD_STANDALONE
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+# We need doc/ if HWLOC_BUILD_DOXYGEN, or during make install if HWLOC_INSTALL_DOXYGEN.
+# There's no INSTALL_SUBDIRS, so always enter doc/ and check HWLOC_BUILD/INSTALL_DOXYGEN there
+@HWLOC_BUILD_STANDALONE_TRUE@am__append_1 = utils tests \
+@HWLOC_BUILD_STANDALONE_TRUE@ contrib/systemd doc
+
+# Only install entire visual studio subdirectory if we're building in standalone mode
+@HWLOC_BUILD_STANDALONE_TRUE@am__append_2 = contrib/windows
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
+ $(am__configure_deps) $(am__dist_pkgdata_DATA_DIST) \
+ $(am__DIST_COMMON)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = hwloc.pc
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__dist_pkgdata_DATA_DIST = contrib/hwloc-valgrind.supp
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(pkgdatadir)" \
+ "$(DESTDIR)$(pkgconfigdir)"
+DATA = $(dist_pkgdata_DATA) $(pkgconfig_DATA)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/hwloc.pc.in \
+ $(top_srcdir)/./config/ar-lib $(top_srcdir)/./config/compile \
+ $(top_srcdir)/./config/config.guess \
+ $(top_srcdir)/./config/config.sub \
+ $(top_srcdir)/./config/install-sh \
+ $(top_srcdir)/./config/ltmain.sh \
+ $(top_srcdir)/./config/missing \
+ $(top_srcdir)/include/hwloc/autogen/config.h.in \
+ $(top_srcdir)/include/private/autogen/config.h.in \
+ ./config/ar-lib ./config/compile ./config/config.guess \
+ ./config/config.sub ./config/install-sh ./config/ltmain.sh \
+ ./config/missing AUTHORS COPYING NEWS README
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+GZIP_ENV = --best
+DIST_TARGETS = dist-bzip2 dist-gzip
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+# Note that the -I directory must *exactly* match what was specified
+# via AC_CONFIG_MACRO_DIR in configure.ac.
+ACLOCAL_AMFLAGS = -I ./config
+SUBDIRS = src include $(am__append_1)
+
+# Do not let automake automatically add the non-standalone dirs to the
+# distribution tarball if we're building in embedded mode.
+DIST_SUBDIRS = $(SUBDIRS)
+
+# Only install the pkg file if we're building in standalone mode (and not on Windows)
+@HWLOC_BUILD_STANDALONE_TRUE@pkgconfigdir = $(libdir)/pkgconfig
+@HWLOC_BUILD_STANDALONE_TRUE@pkgconfig_DATA = hwloc.pc
+
+# Only install the valgrind suppressions file if we're building in standalone mode
+@HWLOC_BUILD_STANDALONE_TRUE@dist_pkgdata_DATA = contrib/hwloc-valgrind.supp
+
+#
+# "make distcheck" requires that tarballs are able to be able to "make
+# dist", so we have to include config/distscript.sh.
+#
+EXTRA_DIST = README VERSION COPYING AUTHORS \
+ config/hwloc_get_version.sh config/distscript.sh \
+ $(am__append_2)
+all: all-recursive
+
+.SUFFIXES:
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+include/private/autogen/config.h: include/private/autogen/stamp-h1
+ @test -f $@ || rm -f include/private/autogen/stamp-h1
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) include/private/autogen/stamp-h1
+
+include/private/autogen/stamp-h1: $(top_srcdir)/include/private/autogen/config.h.in $(top_builddir)/config.status
+ @rm -f include/private/autogen/stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status include/private/autogen/config.h
+$(top_srcdir)/include/private/autogen/config.h.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f include/private/autogen/stamp-h1
+ touch $@
+
+include/hwloc/autogen/config.h: include/hwloc/autogen/stamp-h2
+ @test -f $@ || rm -f include/hwloc/autogen/stamp-h2
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) include/hwloc/autogen/stamp-h2
+
+include/hwloc/autogen/stamp-h2: $(top_srcdir)/include/hwloc/autogen/config.h.in $(top_builddir)/config.status
+ @rm -f include/hwloc/autogen/stamp-h2
+ cd $(top_builddir) && $(SHELL) ./config.status include/hwloc/autogen/config.h
+
+distclean-hdr:
+ -rm -f include/private/autogen/config.h include/private/autogen/stamp-h1 include/hwloc/autogen/config.h include/hwloc/autogen/stamp-h2
+hwloc.pc: $(top_builddir)/config.status $(srcdir)/hwloc.pc.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool config.lt
+install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
+ done
+
+uninstall-dist_pkgdataDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
+install-pkgconfigDATA: $(pkgconfig_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
+ done
+
+uninstall-pkgconfigDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+@HWLOC_BUILD_STANDALONE_FALSE@dist-hook:
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-hook
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build/sub \
+ && ../../configure \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=../.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(DATA)
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+@HWLOC_BUILD_STANDALONE_FALSE@install-data-local:
+@HWLOC_HAVE_WINDOWS_FALSE@install-data-local:
+@HWLOC_BUILD_STANDALONE_FALSE@uninstall-local:
+@HWLOC_HAVE_WINDOWS_FALSE@uninstall-local:
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-hdr \
+ distclean-libtool distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-data-local install-dist_pkgdataDATA \
+ install-pkgconfigDATA
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-dist_pkgdataDATA uninstall-local \
+ uninstall-pkgconfigDATA
+
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-libtool cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-generic distclean-hdr distclean-libtool \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-data-local \
+ install-dist_pkgdataDATA install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+ ps ps-am tags tags-am uninstall uninstall-am \
+ uninstall-dist_pkgdataDATA uninstall-local \
+ uninstall-pkgconfigDATA
+
+.PRECIOUS: Makefile
+
+
+@HWLOC_BUILD_STANDALONE_TRUE@dist-hook:
+@HWLOC_BUILD_STANDALONE_TRUE@ sh "$(top_srcdir)/config/distscript.sh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)"
+
+#
+# Build the documenation and top-level README file
+#
+@HWLOC_BUILD_STANDALONE_TRUE@.PHONY: doc readme
+@HWLOC_BUILD_STANDALONE_TRUE@doc readme:
+@HWLOC_BUILD_STANDALONE_TRUE@ $(MAKE) -C doc
+
+#
+# Winball specific rules
+#
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@install-data-local:
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ sed -e 's/$$/'$$'\015'/ < $(srcdir)/README > $(DESTDIR)$(prefix)/README.txt
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ sed -e 's/$$/'$$'\015'/ < $(srcdir)/NEWS > $(DESTDIR)$(prefix)/NEWS.txt
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ sed -e 's/$$/'$$'\015'/ < $(srcdir)/COPYING > $(DESTDIR)$(prefix)/COPYING.txt
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@uninstall-local:
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ rm -f $(DESTDIR)$(prefix)/README.txt $(DESTDIR)$(prefix)/NEWS.txt $(DESTDIR)$(prefix)/COPYING.txt
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+Copyright © 2009 CNRS
+Copyright © 2009-2019 Inria. All rights reserved.
+Copyright © 2009-2013 Université Bordeaux
+Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+
+$COPYRIGHT$
+
+Additional copyrights may follow
+
+$HEADER$
+
+===========================================================================
+
+This file contains the main features as well as overviews of specific
+bug fixes (and other actions) for each version of hwloc since version
+0.9 (as initially released as "libtopology", then re-branded to "hwloc"
+in v0.9.1).
+
+
+Version 1.11.13 (also included in 2.0.4)
+---------------
+* Add support for Linux 5.3 new sysfs cpu topology files with Die information.
+* Add support for Intel v2 Extended Topology Enumeration in the x86 backend.
+* Tiles, Modules and Dies are exposed as Groups for now.
+ + HWLOC_DONT_MERGE_DIE_GROUPS=1 may be set in the environment to prevent
+ Die groups from being automatically merged with identical parent or children.
+* Ignore NUMA node information from AMD topoext in the x86 backend,
+ unless HWLOC_X86_TOPOEXT_NUMANODES=1 is set in the environment.
+* Group objects have a new "dont_merge" attribute to prevent them from
+ being automatically merged with identical parent or children.
+
+
+Version 1.11.12 (also included in 2.0.3)
+---------------
+* Fix a corner case of hwloc_topology_restrict() where children would
+ become out-of-order.
+* Fix the return length of export_xmlbuffer() functions to always
+ include the ending \0.
+
+
+Version 1.11.11 (also included in 2.0.2)
+---------------
+* Add support for Hygon Dhyana processors in the x86 backend,
+ thanks to Pu Wen for the patch.
+* Fix symbol renaming to also rename internal components,
+ thanks to Evan Ramos for the patch.
+* Fix build on HP-UX, thanks to Richard Lloyd for reporting the issues.
+* Detect PCI link speed without being root on Linux >= 4.13.
+
+
+Version 1.11.10 (also included in 2.0.1)
+---------------
+* Fix detection of cores and hyperthreads on Mac OS X.
+* Serialize pciaccess discovery to fix concurrent topology loads in
+ multiple threads.
+* Fix first touch area memory binding on Linux when thread memory
+ binding is different.
+* Some minor fixes to memory binding.
+* Fix hwloc-dump-hwdata to only process SMBIOS information that correspond
+ to the KNL and KNM configuration.
+* Add a heuristic for guessing KNL/KNM memory and cluster modes when
+ hwloc-dump-hwdata could not run as root earlier.
+* Fix discovery of NVMe OS devices on Linux >= 4.0.
+* Add get_area_memlocation() on Windows.
+* Add CPUVendor, Model, ... attributes on Mac OS X.
+
+
+Version 1.11.9
+--------------
+* Add support for Zhaoxin ZX-C and ZX-D processors in the x86 backend,
+ thanks to Jeff Zhao for the patch.
+* Fix AMD Epyc 24-core L3 cache locality in the x86 backend.
+* Don't crash in the x86 backend when the CPUID vendor string is unknown.
+* Fix the missing pu discovery support bit on some OS.
+* Fix the management of the lstopoStyle info attribute for custom colors.
+* Add verbose warnings when failing to load hwloc v2.0+ XMLs.
+
+
+Version 1.11.8
+--------------
+* Multiple Solaris improvements, thanks to Maureen Chew for the help:
+ + Detect caches on Sparc.
+ + Properly detect allowed/disallowed PUs and NUMA nodes with processor sets.
+ + Add hwloc_get_last_cpu_location() support for the current thread.
+* Add support for CUDA compute capability 7.0 and fix support for 6.[12].
+* Tools improvements
+ + Fix search for objects by physical index in command-line tools.
+ + Add missing "cpubind:get_thisthread_last_cpu_location" in the output
+ of hwloc-info --support.
+ + Add --pid and --name to specify target processes in hwloc-ps.
+ + Display thread names in lstopo and hwloc-ps on Linux.
+* Doc improvements
+ + Add a FAQ entry about building on Windows.
+ + Install missing sub-manpage for hwloc_obj_add_info() and
+ hwloc_obj_get_info_by_name().
+
+
+Version 1.11.7
+--------------
+* Fix hwloc-bind --membind for CPU-less NUMA nodes (again).
+ Thanks to Gilles Gouaillardet for reporting the issue.
+* Fix a memory leak on IBM S/390 platforms running Linux.
+* Fix a memory leak when forcing the x86 backend first on amd64/topoext
+ platforms running Linux.
+* Command-line tools now support "hbm" instead "numanode" for filtering
+ only high-bandwidth memory nodes when selecting locations.
+ + hwloc-bind also support --hbm and --no-hbm for filtering only or
+ no HBM nodes.
+ Thanks to Nicolas Denoyelle for the suggestion.
+* Add --children and --descendants to hwloc-info for listing object
+ children or object descendants of a specific type.
+* Add --no-index, --index, --no-attrs, --attrs to disable/enable display
+ of index numbers or attributes in the graphical lstopo output.
+* Try to gather hwloc-dump-hwdata output from all possible locations
+ in hwloc-gather-topology.
+* Updates to the documentation of locations in hwloc(7) and
+ command-line tools manpages.
+
+
+Version 1.11.6
+--------------
+* Make the Linux discovery about twice faster, especially on the CPU side,
+ by trying to avoid sysfs file accesses as much as possible.
+* Add support for AMD Family 17h processors (Zen) SMT cores in the Linux
+ and x86 backends.
+* Add the HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES flag (and the
+ HWLOC_THISSYSTEM_ALLOWED_RESOURCES environment variable) for reading the
+ set of allowed resources from the local operating system even if the
+ topology was loaded from XML or synthetic.
+* Fix hwloc_bitmap_set/clr_range() for infinite ranges that do not
+ overlap currently defined ranges in the bitmap.
+* Don't reset the lstopo zoom scale when moving the X11 window.
+* lstopo now has --flags for manually setting topology flags.
+* hwloc_get_depth_type() returns HWLOC_TYPE_DEPTH_UNKNOWN for Misc objects.
+
+
+Version 1.11.5
+--------------
+* Add support for Knights Mill Xeon Phi, thanks to Piotr Luc for the patch.
+* Reenable distance gathering on Solaris, disabled by mistake since v1.0.
+ Thanks to TU Wien for the help.
+* Fix hwloc_get_*obj*_inside_cpuset() functions to ignore objects with
+ empty CPU sets, for instance, CPU-less NUMA nodes such as KNL MCDRAM.
+ Thanks to Nicolas Denoyelle for the report.
+* Fix XML import of multiple distance matrices.
+* Add a FAQ entry about "hwloc is only a structural model, it ignores
+ performance models, memory bandwidth, etc.?"
+
+
+Version 1.11.4
+--------------
+* Add MemoryMode and ClusterMode attributes in the Machine object on KNL.
+ Add doc/examples/get-knl-modes.c for an example of retrieving them.
+ Thanks to Grzegorz Andrejczuk.
+* Fix Linux build with -m32 with respect to libudev.
+ Thanks to Paul Hargrove for reporting the issue.
+* Fix build with Visual Studio 2015, thanks to Eloi Gaudry for reporting
+ the issue and providing the patch.
+* Don't forget to display OS device children in the graphical lstopo.
+* Fix a memory leak on Solaris, thanks to Bryon Gloden for the patch.
+* Properly handle realloc() failures, thanks to Bryon Gloden for reporting
+ the issue.
+* Fix lstopo crash in ascii/fig/windows outputs when some objects have a
+ lstopoStyle info attribute.
+
+
+Version 1.11.3
+--------------
+* Bug fixes
+ + Fix a memory leak on Linux S/390 hosts with books.
+ + Fix /proc/mounts parsing on Linux by using mntent.h.
+ Thanks to Nathan Hjelm for reporting the issue.
+ + Fix a x86 infinite loop on VMware due to the x2APIC feature being
+ advertised without actually being fully supported.
+ Thanks to Jianjun Wen for reporting the problem and testing the patch.
+ + Fix the return value of hwloc_alloc() on mmap() failure.
+ Thanks to Hugo Brunie for reporting the issue.
+ + Fix the return value of command-line tools in some error cases.
+ + Do not break individual thread bindings during x86 backend discovery in a
+ multithreaded process. Thanks to Farouk Mansouri for the report.
+ + Fix hwloc-bind --membind for CPU-less NUMA nodes.
+ + Fix some corner cases in the XML export/import of application userdata.
+* API Improvements
+ + Add HWLOC_MEMBIND_BYNODESET flag so that membind() functions accept
+ either cpusets or nodesets.
+ + Add hwloc_get_area_memlocation() to check where pages are actually
+ allocated. Only implemented on Linux for now.
+ - There's no _nodeset() variant, but the new flag HWLOC_MEMBIND_BYNODESET
+ is supported.
+ + Make hwloc_obj_type_sscanf() parse back everything that may be outputted
+ by hwloc_obj_type_snprintf().
+* Detection Improvements
+ + Allow the x86 backend to add missing cache levels, so that it completes
+ what the Solaris backend lacks.
+ Thanks to Ryan Zezeski for reporting the issue.
+ + Do not filter-out FibreChannel PCI adapters by default anymore.
+ Thanks to Matt Muggeridge for the report.
+ + Add support for CUDA compute capability 6.x.
+* Tools
+ + Add --support to hwloc-info to list supported features, just like with
+ hwloc_topology_get_support().
+ - Also add --objects and --topology to explicitly switch between the
+ default modes.
+ + Add --tid to let hwloc-bind operate on individual threads on Linux.
+ + Add --nodeset to let hwloc-bind report memory binding as NUMA node sets.
+ + hwloc-annotate and lstopo don't drop application userdata from XMLs anymore.
+ - Add --cu to hwloc-annotate to drop these application userdata.
+ + Make the hwloc-dump-hwdata dump directory configurable through configure
+ options such as --runstatedir or --localstatedir.
+* Misc Improvements
+ + Add systemd service template contrib/systemd/hwloc-dump-hwdata.service
+ for launching hwloc-dump-hwdata at boot on Linux.
+ Thanks to Grzegorz Andrejczuk.
+ + Add HWLOC_PLUGINS_BLACKLIST environment variable to prevent some plugins
+ from being loaded. Thanks to Alexandre Denis for the suggestion.
+ + Small improvements for various Windows build systems,
+ thanks to Jonathan L Peyton and Marco Atzeri.
+
+
+Version 1.11.2
+--------------
+* Improve support for Intel Knights Landing Xeon Phi on Linux:
+ + Group local NUMA nodes of normal memory (DDR) and high-bandwidth memory
+ (MCDRAM) together through "Cluster" groups so that the local MCDRAM is
+ easy to find.
+ - See "How do I find the local MCDRAM NUMA node on Intel Knights
+ Landing Xeon Phi?" in the documentation.
+ - For uniformity across all KNL configurations, always have a NUMA node
+ object even if the host is UMA.
+ + Fix the detection of the memory-side cache:
+ - Add the hwloc-dump-hwdata superuser utility to dump SMBIOS information
+ into /var/run/hwloc/ as root during boot, and load this dumped
+ information from the hwloc library at runtime.
+ - See "Why do I need hwloc-dump-hwdata for caches on Intel Knights
+ Landing Xeon Phi?" in the documentation.
+ Thanks to Grzegorz Andrejczuk for the patches and for the help.
+* The x86 and linux backends may now be combined for discovering CPUs
+ through x86 CPUID and memory from the Linux kernel.
+ This is useful for working around buggy CPU information reported by Linux
+ (for instance the AMD Bulldozer/Piledriver bug below).
+ Combination is enabled by passing HWLOC_COMPONENTS=x86 in the environment.
+* Fix L3 cache sharing on AMD Opteron 63xx (Piledriver) and 62xx (Bulldozer)
+ in the x86 backend. Thanks to many users who helped.
+* Fix the overzealous L3 cache sharing fix added to the x86 backend in 1.11.1
+ for AMD Opteron 61xx (Magny-Cours) processors.
+* The x86 backend may now add the info attribute Inclusive=0 or 1 to caches
+ it discovers, or to caches discovered by other backends earlier.
+ Thanks to Guillaume Beauchamp for the patch.
+* Fix the management on alloc_membind() allocation failures on AIX, HP-UX
+ and OSF/Tru64.
+* Fix spurious failures to load with ENOMEM on AIX in case of Misc objects
+ below PUs.
+* lstopo improvements in X11 and Windows graphical mode:
+ + Add + - f 1 shortcuts to manually zoom-in, zoom-out, reset the scale,
+ or fit the entire window.
+ + Display all keyboard shortcuts in the console.
+* Debug messages may be disabled at runtime by passing HWLOC_DEBUG_VERBOSE=0
+ in the environment when --enable-debug was passed to configure.
+* Add a FAQ entry "What are these Group objects in my topology?".
+
+
+Version 1.11.1
+--------------
+* Detection fixes
+ + Hardwire the topology of Fujitsu K-computer, FX10, FX100 servers to
+ workaround buggy Linux kernels.
+ Thanks to Takahiro Kawashima and Gilles Gouaillardet.
+ + Fix L3 cache information on AMD Opteron 61xx Magny-Cours processors
+ in the x86 backend. Thanks to Guillaume Beauchamp for the patch.
+ + Detect block devices directly attached to PCI without a controller,
+ for instance NVMe disks. Thanks to Barry M. Tannenbaum.
+ + Add the PCISlot attribute to all PCI functions instead of only the
+ first one.
+* Miscellaneous internal fixes
+ + Ignore PCI bridges that could fail assertions by reporting buggy
+ secondary-subordinate bus numbers
+ Thanks to George Bosilca for reporting the issue.
+ + Fix an overzealous assertion when inserting an intermediate Group object
+ while Groups are totally ignored.
+ + Fix a memory leak on Linux on AMD processors with dual-core compute units.
+ Thanks to Bob Benner.
+ + Fix a memory leak on failure to load a xml diff file.
+ + Fix some segfaults when inputting an invalid synthetic description.
+ + Fix a segfault when plugins fail to find core symbols.
+ Thanks to Guy Streeter.
+* Many fixes and improvements in the Windows backend:
+ + Fix the discovery of more than 32 processors and multiple processor
+ groups. Thanks to Barry M. Tannenbaum for the help.
+ + Add thread binding set support in case of multiple process groups.
+ + Add thread binding get support.
+ + Add get_last_cpu_location() support for the current thread.
+ + Disable the unsupported process binding in case of multiple processor
+ groups.
+ + Fix/update the Visual Studio support under contrib/windows.
+ Thanks to Eloi Gaudry for the help.
+* Tools fixes
+ + Fix a segfault when displaying logical indexes in the graphical lstopo.
+ Thanks to Guillaume Mercier for reporting the issue.
+ + Fix lstopo linking with X11 libraries, for instance on Mac OS X.
+ Thanks to Scott Atchley and Pierre Ramet for reporting the issue.
+ + hwloc-annotate, hwloc-diff and hwloc-patch do not drop unavailable
+ resources from the output anymore and those may be annotated as well.
+ + Command-line tools may now import XML from the standard input with -i -.xml
+ + Add missing documentation for the hwloc-info --no-icaches option.
+
+
+Version 1.11.0
+--------------
+* API
+ + Socket objects are renamed into Package to align with the terminology
+ used by processor vendors. The old HWLOC_OBJ_SOCKET type and "Socket"
+ name are still supported for backward compatibility.
+ + HWLOC_OBJ_NODE is replaced with HWLOC_OBJ_NUMANODE for clarification.
+ HWLOC_OBJ_NODE is still supported for backward compatibility.
+ "Node" and "NUMANode" strings are supported as in earlier releases.
+* Detection improvements
+ + Add support for Intel Knights Landing Xeon Phi.
+ Thanks to Grzegorz Andrejczuk and Lukasz Anaczkowski.
+ + Add Vendor, Model, Revision, SerialNumber, Type and LinuxDeviceID
+ info attributes to Block OS devices on Linux. Thanks to Vineet Pedaballe
+ for the help.
+ - Add --disable-libudev to avoid dependency on the libudev library.
+ + Add "MemoryModule" Misc objects with information about DIMMs, on Linux
+ when privileged and when I/O is enabled.
+ Thanks to Vineet Pedaballe for the help.
+ + Add a PCISlot attribute to PCI devices on Linux when supported to
+ identify the physical PCI slot where the board is plugged.
+ + Add CPUStepping info attribute on x86 processors,
+ thanks to Thomas Röhl for the suggestion.
+ + Ignore the device-tree on non-Power architectures to avoid buggy
+ detection on ARM. Thanks to Orion Poplawski for reporting the issue.
+ + Work-around buggy Xeon E5v3 BIOS reporting invalid PCI-NUMA affinity
+ for the PCI links on the second processor.
+ + Add support for CUDA compute capability 5.x, thanks Benjamin Worpitz.
+ + Many fixes to the x86 backend
+ - Add L1i and fix L2/L3 type on old AMD processors without topoext support.
+ - Fix Intel CPU family and model numbers when basic family isn't 6 or 15.
+ - Fix package IDs on recent AMD processors.
+ - Fix misc issues due to incomplete APIC IDs on x2APIC processors.
+ - Avoid buggy discovery on old SGI Altix UVs with non-unique APIC IDs.
+ + Gather total machine memory on NetBSD.
+* Tools
+ + lstopo
+ - Collapse identical PCI devices unless --no-collapse is given.
+ This avoids gigantic outputs when a PCI device contains dozens of
+ identical virtual functions.
+ - The ASCII art output is now called "ascii", for instance in
+ "lstopo -.ascii".
+ The former "txt" extension is retained for backward compatibility.
+ - Automatically scales graphical box width to the inner text in Cairo,
+ ASCII and Windows outputs.
+ - Add --rect to lstopo to force rectangular layout even for NUMA nodes.
+ - Add --restrict-flags to configure the behavior of --restrict.
+ - Objects may have a "Type" info attribute to specify a better type name
+ and display it in lstopo.
+ - Really export all verbose information to the given output file.
+ + hwloc-annotate
+ - May now operate on all types of objects, including I/O.
+ - May now insert Misc objects in the topology.
+ - Do not drop instruction caches and I/O devices from the output anymore.
+ + Fix lstopo path in hwloc-gather-topology after install.
+* Misc
+ + Fix hwloc/cudart.h for machines with multiple PCI domains,
+ thanks to Imre Kerr for reporting the problem.
+ + Fix PCI Bridge-specific depth attribute.
+ + Fix hwloc_bitmap_intersect() for two infinite bitmaps.
+ + Fix some corner cases in the building of levels on large NUMA machines
+ with non-uniform NUMA groups and I/Os.
+ + Improve the performance of object insertion by cpuset for large
+ topologies.
+ + Prefix verbose XML import errors with the source name.
+ + Improve pkg-config checks and error messages.
+ + Fix excluding after a component with an argument in the HWLOC_COMPONENTS
+ environment variable.
+* Documentation
+ + Fix the recommended way in documentation and examples to allocate memory
+ on some node, it should use HWLOC_MEMBIND_BIND.
+ Thanks to Nicolas Bouzat for reporting the issue.
+ + Add a "Miscellaneous objects" section in the documentation.
+ + Add a FAQ entry "What happens to my topology if I disable symmetric
+ multithreading, hyper-threading, etc. ?" to the documentation.
+
+
+Version 1.10.1
+--------------
+* Actually remove disallowed NUMA nodes from nodesets when the whole-system
+ flag isn't enabled.
+* Fix the gathering of PCI domains. Thanks to James Custer for reporting
+ the issue and providing a patch.
+* Fix the merging of identical parent and child in presence of Misc objects.
+ Thanks to Dave Love for reporting the issue.
+* Fix some misordering of children when merging with ignore_keep_structure()
+ in partially allowed topologies.
+* Fix an overzealous assertion in the debug code when running on a single-PU
+ host with I/O. Thanks to Thomas Van Doren for reporting the issue.
+* Don't forget to setup NUMA node object nodesets in x86 backend (for BSDs)
+ and OSF/Tru64 backend.
+* Fix cpuid-x86 build error with gcc -O3 on x86-32. Thanks to Thomas Van Doren
+ for reporting the issue.
+* Fix support for future very large caches in the x86 backend.
+* Fix vendor/device names for SR-IOV PCI devices on Linux.
+* Fix an unlikely crash in case of buggy hierarchical distance matrix.
+* Fix PU os_index on some AIX releases. Thanks to Hendryk Bockelmann and
+ Erik Schnetter for helping debugging.
+* Fix hwloc_bitmap_isincluded() in case of infinite sets.
+* Change hwloc-ls.desktop into a lstopo.desktop and only install it if
+ lstopo is built with Cairo/X11 support. It cannot work with a non-graphical
+ lstopo or hwloc-ls.
+* Add support for the renaming of Socket into Package in future releases.
+* Add support for the replacement of HWLOC_OBJ_NODE with HWLOC_OBJ_NUMANODE
+ in future releases.
+* Clarify the documentation of distance matrices in hwloc.h and in the manpage
+ of the hwloc-distances. Thanks to Dave Love for the suggestion.
+* Improve some error messages by displaying more information about the
+ hwloc library in use.
+* Document how to deal with the ABI break when upgrading to the upcoming 2.0
+ See "How do I handle ABI breaks and API upgrades ?" in the FAQ.
+
+
+Version 1.10.0
+--------------
+* API
+ + Add hwloc_topology_export_synthetic() to export a topology to a
+ synthetic string without using lstopo. See the Synthetic topologies
+ section in the documentation.
+ + Add hwloc_topology_set/get_userdata() to let the application save
+ a private pointer in the topology whenever it needs a way to find
+ its own object corresponding to a topology.
+ + Add hwloc_get_numanode_obj_by_os_index() and document that this function
+ as well as hwloc_get_pu_obj_by_os_index() are good at converting
+ nodesets and cpusets into objects.
+ + hwloc_distrib() does not ignore any objects anymore when there are
+ too many of them. They get merged with others instead.
+ Thanks to Tim Creech for reporting the issue.
+* Tools
+ + hwloc-bind --get <command-line> now executes the command after displaying
+ the binding instead of ignoring the command entirely.
+ Thanks to John Donners for the suggestion.
+ + Clarify that memory sizes shown in lstopo are local by default
+ unless specified (total memory added in the root object).
+* Synthetic topologies
+ + Synthetic topology descriptions may now specify attributes such as
+ memory sizes and OS indexes. See the Synthetic topologies section
+ in the documentation.
+ + lstopo now exports in this fully-detailed format by default.
+ The new option --export-synthetic-flags may be used to revert
+ back the old format.
+* Documentation
+ + Add the doc/examples/ subdirectory with several real-life examples,
+ including the already existing hwloc-hello.C for basics.
+ Thanks to Rob Aulwes for the suggestion.
+ + Improve the documentation of CPU and memory binding in the API.
+ + Add a FAQ entry about operating system errors, especially on AMD
+ platforms with buggy cache information.
+ + Add a FAQ entry about loading many topologies in a single program.
+* Misc
+ + Work around buggy Linux kernels reporting 2 sockets instead
+ 1 socket with 2 NUMA nodes for each Xeon E5 v3 (Haswell) processor.
+ + pciutils/libpci support is now removed since libpciaccess works
+ well and there's also a Linux-specific PCI backend. For the record,
+ pciutils was GPL and therefore disabled by default since v1.6.2.
+ + Add --disable-cpuid configure flag to work around buggy processor
+ simulators reporting invalid CPUID information.
+ Thanks for Andrew Friedley for reporting the issue.
+ + Fix a racy use of libltdl when manipulating multiple topologies in
+ different threads.
+ Thanks to Andra Hugo for reporting the issue and testing patches.
+ + Fix some build failures in private/misc.h.
+ Thanks to Pavan Balaji and Ralph Castain for the reports.
+ + Fix failures to detect X11/Xutil.h on some Solaris platforms.
+ Thanks to Siegmar Gross for reporting the failure.
+ + The plugin ABI has changed, this release will not load plugins
+ built against previous hwloc releases.
+
+
+Version 1.9.1
+-------------
+* Fix a crash when the PCI locality is invalid. Attach to the root object
+ instead. Thanks to Nicolas Denoyelle for reporting the issue.
+* Fix -f in lstopo manpage. Thanks to Jirka Hladky for reporting the issue.
+* Fix hwloc_obj_type_sscanf() and others when strncasecmp() is not properly
+ available. Thanks to Nick Papior Andersen for reporting the problem.
+* Mark Linux file descriptors as close-on-exec to avoid leaks on exec.
+* Fix some minor memory leaks.
+
+
+Version 1.9.0
+-------------
+* API
+ + Add hwloc_obj_type_sscanf() to extend hwloc_obj_type_of_string() with
+ type-specific attributes such as Cache/Group depth and Cache type.
+ hwloc_obj_type_of_string() is moved to hwloc/deprecated.h.
+ + Add hwloc_linux_get_tid_last_cpu_location() for retrieving the
+ last CPU where a Linux thread given by TID ran.
+ + Add hwloc_distrib() to extend the old hwloc_distribute[v]() functions.
+ hwloc_distribute[v]() is moved to hwloc/deprecated.h.
+ + Don't mix total and local memory when displaying verbose object attributes
+ with hwloc_obj_attr_snprintf() or in lstopo.
+* Backends
+ + Add CPUVendor, CPUModelNumber and CPUFamilyNumber info attributes for
+ x86, ia64 and Xeon Phi sockets on Linux, to extend the x86-specific
+ support added in v1.8.1. Requested by Ralph Castain.
+ + Add many CPU- and Platform-related info attributes on ARM and POWER
+ platforms, in the Machine and Socket objects.
+ + Add CUDA info attributes describing the number of multiprocessors and
+ cores and the size of the global, shared and L2 cache memories in CUDA
+ OS devices.
+ + Add OpenCL info attributes describing the number of compute units and
+ the global memory size in OpenCL OS devices.
+ + The synthetic backend now accepts extended types such as L2Cache, L1i or
+ Group3. lstopo also exports synthetic strings using these extended types.
+* Tools
+ + lstopo
+ - Do not overwrite output files by default anymore.
+ Pass -f or --force to enforce it.
+ - Display OpenCL, CUDA and Xeon Phi numbers of cores and memory sizes
+ in the graphical output.
+ - Fix export to stdout when specifying a Cairo-based output type
+ with --of.
+ + hwloc-ps
+ - Add -e or --get-last-cpu-location to report where processes/threads
+ run instead of where they are bound.
+ - Report locations as likely-more-useful objects such as Cores or Sockets
+ instead of Caches when possible.
+ + hwloc-bind
+ - Fix failure on Windows when not using --pid.
+ - Add -e as a synonym to --get-last-cpu-location.
+ + hwloc-distrib
+ - Add --reverse to distribute using last objects first and singlify
+ into last bits first. Thanks to Jirka Hladky for the suggestion.
+ + hwloc-info
+ - Report unified caches when looking for data or instruction cache
+ ancestor objects.
+* Misc
+ + Add experimental Visual Studio support under contrib/windows.
+ Thanks to Eloi Gaudry for his help and for providing the first draft.
+ + Fix some overzealous assertions and warnings about the ordering of
+ objects on a level with respect to cpusets. The ordering is only
+ guaranteed for complete cpusets (based on the first bit in sets).
+ + Fix some memory leaks when importing xml diffs and when exporting a
+ "too complex" entry.
+
+
+Version 1.8.1
+-------------
+* Fix the cpuid code on Windows 64bits so that the x86 backend gets
+ enabled as expected and can populate CPU information.
+ Thanks to Robin Scher for reporting the problem.
+* Add CPUVendor/CPUModelNumber/CPUFamilyNumber attributes when running
+ on x86 architecture. Thanks to Ralph Castain for the suggestion.
+* Work around buggy BIOS reporting duplicate NUMA nodes on Linux.
+ Thanks to Jeff Becker for reporting the problem and testing the patch.
+* Add a name to the lstopo graphical window. Thanks to Michael Prokop
+ for reporting the issue.
+
+
+Version 1.8.0
+-------------
+* New components
+ + Add the "linuxpci" component that always works on Linux even when
+ libpciaccess and libpci aren't available (and even with a modified
+ file-system root). By default the old "pci" component runs first
+ because "linuxpci" lacks device names (obj->name is always NULL).
+* API
+ + Add the topology difference API in hwloc/diff.h for manipulating
+ many similar topologies.
+ + Add hwloc_topology_dup() for duplicating an entire topology.
+ + hwloc.h and hwloc/helper.h have been reorganized to clarify the
+ documentation sections. The actual inline code has moved out of hwloc.h
+ into the new hwloc/inlines.h.
+ + Deprecated functions are now in hwloc/deprecated.h, and not in the
+ official documentation anymore.
+* Tools
+ + Add hwloc-diff and hwloc-patch tools together with the new diff API.
+ + Add hwloc-compress-dir to (de)compress an entire directory of XML files
+ using hwloc-diff and hwloc-patch.
+ + Object colors in the graphical output of lstopo may be changed by adding
+ a "lstopoStyle" info attribute. See CUSTOM COLORS in the lstopo(1) manpage
+ for details. Thanks to Jirka Hladky for discussing the idea.
+ + hwloc-gather-topology may now gather I/O-related files on Linux when
+ --io is given. Only the linuxpci component supports discovering I/O
+ objects from these extended tarballs.
+ + hwloc-annotate now supports --ri to remove/replace info attributes with
+ a given name.
+ + hwloc-info supports "root" and "all" special locations for dumping
+ information about the root object.
+ + lstopo now supports --append-legend to append custom lines of text
+ to the legend in the graphical output. Thanks to Jirka Hladky for
+ discussing the idea.
+ + hwloc-calc and friends have a more robust parsing of locations given
+ on the command-line and they report useful error messages about it.
+ + Add --whole-system to hwloc-bind, hwloc-calc, hwloc-distances and
+ hwloc-distrib, and add --restrict to hwloc-bind for uniformity among
+ tools.
+* Misc
+ + Calling hwloc_topology_load() or hwloc_topology_set_*() on an already
+ loaded topology now returns an error (deprecated since release 1.6.1).
+ + Fix the initialisation of cpusets and nodesets in Group objects added
+ when inserting PCI hostbridges.
+ + Never merge Group objects that were added explicitly by the user with
+ hwloc_custom_insert_group_object_by_parent().
+ + Add a sanity check during dynamic plugin loading to prevent some
+ crashes when hwloc is dynamically loaded by another plugin mechanisms.
+ + Add --with-hwloc-plugins-path to specify the install/load directories
+ of plugins.
+ + Add the MICSerialNumber info attribute to the root object when running
+ hwloc inside a Xeon Phi to match the same attribute in the MIC OS device
+ when running in the host.
+
+
+Version 1.7.2
+-------------
+* Do not create invalid block OS devices on very old Linux kernel such
+ as RHEL4 2.6.9.
+* Fix PCI subvendor/device IDs.
+* Fix the management of Misc objects inserted by parent.
+ Thanks to Jirka Hladky for reporting the problem.
+* Add a Port<n>State into attribute to OpenFabrics OS devices.
+* Add a MICSerialNumber info attribute to Xeon PHI/MIC OS devices.
+* Improve verbose error messages when failing to load from XML.
+
+
+Version 1.7.1
+-------------
+* Fix a failed assertion in the distance grouping code when loading a XML
+ file that already contains some groups.
+ Thanks to Laercio Lima Pilla for reporting the problem.
+* Remove unexpected Group objects when loading XML topologies with I/O
+ objects and NUMA distances.
+ Thanks to Elena Elkina for reporting the problem and testing patches.
+* Fix PCI link speed discovery when using libpciaccess.
+* Fix invalid libpciaccess virtual function device/vendor IDs when using
+ SR-IOV PCI devices on Linux.
+* Fix GL component build with old NVCtrl releases.
+ Thanks to Jirka Hladky for reporting the problem.
+* Fix embedding breakage caused by libltdl.
+ Thanks to Pavan Balaji for reporting the problem.
+* Always use the system-wide libltdl instead of shipping one inside hwloc.
+* Document issues when enabling plugins while embedding hwloc in another
+ project, in the documentation section Embedding hwloc in Other Software.
+* Add a FAQ entry "How to get useful topology information on NetBSD?"
+ in the documentation.
+* Somes fixes in the renaming code for embedding.
+* Miscellaneous minor build fixes.
+
+
+Version 1.7.0
+-------------
+* New operating system backends
+ + Add BlueGene/Q compute node kernel (CNK) support. See the FAQ in the
+ documentation for details. Thanks to Jeff Hammond, Christopher Samuel
+ and Erik Schnetter for their help.
+ + Add NetBSD support, thanks to Aleksej Saushev.
+* New I/O device discovery
+ + Add co-processor OS devices such as "mic0" for Intel Xeon Phi (MIC)
+ on Linux. Thanks to Jerome Vienne for helping.
+ + Add co-processor OS devices such as "cuda0" for NVIDIA CUDA-capable GPUs.
+ + Add co-processor OS devices such as "opencl0d0" for OpenCL GPU devices
+ on the AMD OpenCL implementation.
+ + Add GPU OS devices such as ":0.0" for NVIDIA X11 displays.
+ + Add GPU OS devices such as "nvml0" for NVIDIA GPUs.
+ Thanks to Marwan Abdellah and Stefan Eilemann for helping.
+ These new OS devices have some string info attributes such as CoProcType,
+ GPUModel, etc. to better identify them.
+ See the I/O Devices and Attributes documentation sections for details.
+* New components
+ + Add the "opencl", "cuda", "nvml" and "gl" components for I/O device
+ discovery.
+ + "nvml" also improves the discovery of NVIDIA GPU PCIe link speed.
+ All of these new components may be built as plugins. They may also be
+ disabled entirely by passing --disable-opencl/cuda/nvml/gl to configure.
+ See the I/O Devices, Components and Plugins, and FAQ documentation
+ sections for details.
+* API
+ + Add hwloc_topology_get_flags().
+ + Add hwloc/plugins.h for building external plugins.
+ See the Adding new discovery components and plugins section.
+* Interoperability
+ + Add hwloc/opencl.h, hwloc/nvml.h, hwloc/gl.h and hwloc/intel-mic.h
+ to retrieve the locality of OS devices that correspond to AMD OpenCL
+ GPU devices or indexes, to NVML devices or indexes, to NVIDIA X11
+ displays, or to Intel Xeon Phi (MIC) device indexes.
+ + Add new helpers in hwloc/cuda.h and hwloc/cudart.h to convert
+ between CUDA devices or indexes and hwloc OS devices.
+ + Add hwloc_ibv_get_device_osdev() and clarify the requirements
+ of the OpenFabrics Verbs helpers in hwloc/openfabrics-verbs.h.
+* Tools
+ + hwloc-info is not only a synonym of lstopo -s anymore, it also
+ dumps information about objects given on the command-line.
+* Documentation
+ + Add a section "Existing components and plugins".
+ + Add a list of common OS devices in section "Software devices".
+ + Add a new FAQ entry "Why is lstopo slow?" about lstopo slowness
+ issues because of GPUs.
+ + Clarify the documentation of inline helpers in hwloc/myriexpress.h
+ and hwloc/openfabrics-verbs.h.
+* Misc
+ + Improve cache detection on AIX.
+ + The HWLOC_COMPONENTS variable now excludes the components whose
+ names are prefixed with '-'.
+ + lstopo --ignore PU now works when displaying the topology in
+ graphical and textual mode (not when exporting to XML).
+ + Make sure I/O options always appear in lstopo usage, not only when
+ using pciutils/libpci.
+ + Remove some unneeded Linux specific includes from some interoperability
+ headers.
+ + Fix some inconsistencies in hwloc-distrib and hwloc-assembler-remote
+ manpages. Thanks to Guy Streeter for the report.
+ + Fix a memory leak on AIX when getting memory binding.
+ + Fix many small memory leaks on Linux.
+ + The `libpci' component is now called `pci' but the old name is still
+ accepted in the HWLOC_COMPONENTS variable for backward compatibility.
+
+
+Version 1.6.2
+-------------
+* Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
+ pciutils/libpci is only used if --enable-libpci is given to configure
+ because its GPL license may taint hwloc. See the Installation section
+ in the documentation for details.
+* Fix get_cpubind on Solaris when bound to a single PU with
+ processor_bind(). Thanks to Eugene Loh for reporting the problem
+ and providing a patch.
+
+
+Version 1.6.1
+-------------
+* Fix some crash or buggy detection in the x86 backend when Linux
+ cgroups/cpusets restrict the available CPUs.
+* Fix the pkg-config output with --libs --static.
+ Thanks to Erik Schnetter for reporting one of the problems.
+* Fix the output of hwloc-calc -H --hierarchical when using logical
+ indexes in the output.
+* Calling hwloc_topology_load() multiple times on the same topology
+ is officially deprecated. hwloc will warn in such cases.
+* Add some documentation about existing plugins/components, package
+ dependencies, and I/O devices specification on the command-line.
+
+
+Version 1.6.0
+-------------
+* Major changes
+ + Reorganize the backend infrastructure to support dynamic selection
+ of components and dynamic loading of plugins. For details, see the
+ new documentation section Components and plugins.
+ - The HWLOC_COMPONENTS variable lets one replace the default discovery
+ components.
+ - Dynamic loading of plugins may be enabled with --enable-plugins
+ (except on AIX and Windows). It will build libxml2 and libpci
+ support as separated modules. This helps reducing the dependencies
+ of the core hwloc library when distributed as a binary package.
+* Backends
+ + Add CPUModel detection on Darwin and x86/FreeBSD.
+ Thanks to Robin Scher for providing ways to implement this.
+ + The x86 backend now adds CPUModel info attributes to socket objects
+ created by other backends that do not natively support this attribute.
+ + Fix detection on FreeBSD in case of cpuset restriction. Thanks to
+ Sebastian Kuzminsky for reporting the problem.
+* XML
+ + Add hwloc_topology_set_userdata_import/export_callback(),
+ hwloc_export_obj_userdata() and _userdata_base64() to let
+ applications specify how to save/restore the custom data they placed
+ in the userdata private pointer field of hwloc objects.
+* Tools
+ + Add hwloc-annotate program to add string info attributes to XML
+ topologies.
+ + Add --pid-cmd to hwloc-ps to append the output of a command to each
+ PID line. May be used for showing Open MPI process ranks, see the
+ hwloc-ps(1) manpage for details.
+ + hwloc-bind now exits with an error if binding fails; the executable
+ is not launched unless binding suceeeded or --force was given.
+ + Add --quiet to hwloc-calc and hwloc-bind to hide non-fatal error
+ messages.
+ + Fix command-line pid support in windows tools.
+ + All programs accept --verbose as a synonym to -v.
+* Misc
+ + Fix some DIR descriptor leaks on Linux.
+ + Fix I/O device lists when some were filtered out after a XML import.
+ + Fix the removal of I/O objects when importing a I/O-enabled XML topology
+ without any I/O topology flag.
+ + When merging objects with HWLOC_IGNORE_TYPE_KEEP_STRUCTURE or
+ lstopo --merge, compare object types before deciding which one of two
+ identical object to remove (e.g. keep sockets in favor of caches).
+ + Add some GUID- and LID-related info attributes to OpenFabrics
+ OS devices.
+ + Only add CPUType socket attributes on Solaris/Sparc. Other cases
+ don't report reliable information (Solaris/x86), and a replacement
+ is available as the Architecture string info in the Machine object.
+ + Add missing Backend string info on Solaris in most cases.
+ + Document object attributes and string infos in a new Attributes
+ section in the documentation.
+ + Add a section about Synthetic topologies in the documentation.
+
+
+Version 1.5.2 (some of these changes are in v1.6.2 but not in v1.6)
+-------------
+* Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
+ pciutils/libpci is only used if --enable-libpci is given to configure
+ because its GPL license may taint hwloc. See the Installation section
+ in the documentation for details.
+* Fix get_cpubind on Solaris when bound to a single PU with
+ processor_bind(). Thanks to Eugene Loh for reporting the problem
+ and providing a patch.
+* Fix some DIR descriptor leaks on Linux.
+* Fix I/O device lists when some were filtered out after a XML import.
+* Add missing Backend string info on Solaris in most cases.
+* Fix the removal of I/O objects when importing a I/O-enabled XML topology
+ without any I/O topology flag.
+* Fix the output of hwloc-calc -H --hierarchical when using logical
+ indexes in the output.
+* Fix the pkg-config output with --libs --static.
+ Thanks to Erik Schnetter for reporting one of the problems.
+
+
+Version 1.5.1
+-------------
+* Fix block OS device detection on Linux kernel 3.3 and later.
+ Thanks to Guy Streeter for reporting the problem and testing the fix.
+* Fix the cpuid code in the x86 backend (for FreeBSD). Thanks to
+ Sebastian Kuzminsky for reporting problems and testing patches.
+* Fix 64bit detection on FreeBSD.
+* Fix some corner cases in the management of the thissystem flag with
+ respect to topology flags and environment variables.
+* Fix some corner cases in command-line parsing checks in hwloc-distrib
+ and hwloc-distances.
+* Make sure we do not miss some block OS devices on old Linux kernels
+ when a single PCI device has multiple IDE hosts/devices behind it.
+* Do not disable I/O devices or instruction caches in hwloc-assembler output.
+
+
+Version 1.5.0
+-------------
+* Backends
+ + Do not limit the number of processors to 1024 on Solaris anymore.
+ + Gather total machine memory on FreeBSD. Thanks to Cyril Roelandt.
+ + XML topology files do not depend on the locale anymore. Float numbers
+ such as NUMA distances or PCI link speeds now always use a dot as a
+ decimal separator.
+ + Add instruction caches detection on Linux, AIX, Windows and Darwin.
+ + Add get_last_cpu_location() support for the current thread on AIX.
+ + Support binding on AIX when threads or processes were bound with
+ bindprocessor(). Thanks to Hendryk Bockelmann for reporting the issue
+ and testing patches, and to Farid Parpia for explaining the binding
+ interfaces.
+ + Improve AMD topology detection in the x86 backend (for FreeBSD) using
+ the topoext feature.
+* API
+ + Increase HWLOC_API_VERSION to 0x00010500 so that API changes may be
+ detected at build-time.
+ + Add a cache type attribute describind Data, Instruction and Unified
+ caches. Caches with different types but same depth (for instance L1d
+ and L1i) are placed on different levels.
+ + Add hwloc_get_cache_type_depth() to retrieve the hwloc level depth of
+ of the given cache depth and type, for instance L1i or L2.
+ It helps disambiguating the case where hwloc_get_type_depth() returns
+ HWLOC_TYPE_DEPTH_MULTIPLE.
+ + Instruction caches are ignored unless HWLOC_TOPOLOGY_FLAG_ICACHES is
+ passed to hwloc_topology_set_flags() before load.
+ + Add hwloc_ibv_get_device_osdev_by_name() OpenFabrics helper in
+ openfabrics-verbs.h to find the hwloc OS device object corresponding to
+ an OpenFabrics device.
+* Tools
+ + Add lstopo-no-graphics, a lstopo built without graphical support to
+ avoid dependencies on external libraries such as Cairo and X11. When
+ supported, graphical outputs are only available in the original lstopo
+ program.
+ - Packagers splitting lstopo and lstopo-no-graphics into different
+ packages are advised to use the alternatives system so that lstopo
+ points to the best available binary.
+ + Instruction caches are enabled in lstopo by default. Use --no-icaches
+ to disable them.
+ + Add -t/--threads to show threads in hwloc-ps.
+* Removal of obsolete components
+ + Remove the old cpuset interface (hwloc/cpuset.h) which is deprecated and
+ superseded by the bitmap API (hwloc/bitmap.h) since v1.1.
+ hwloc_cpuset and nodeset types are still defined, but all hwloc_cpuset_*
+ compatibility wrappers are now gone.
+ + Remove Linux libnuma conversion helpers for the deprecated and
+ broken nodemask_t interface.
+ + Remove support for "Proc" type name, it was superseded by "PU" in v1.0.
+ + Remove hwloc-mask symlinks, it was replaced by hwloc-calc in v1.0.
+* Misc
+ + Fix PCIe 3.0 link speed computation.
+ + Non-printable characters are dropped from strings during XML export.
+ + Fix importing of escaped characters with the minimalistic XML backend.
+ + Assert hwloc_is_thissystem() in several I/O related helpers.
+ + Fix some memory leaks in the x86 backend for FreeBSD.
+ + Minor fixes to ease native builds on Windows.
+ + Limit the number of retries when operating on all threads within a
+ process on Linux if the list of threads is heavily getting modified.
+
+
+Version 1.4.3
+-------------
+* This release is only meant to fix the pciutils license issue when upgrading
+ to hwloc v1.5 or later is not possible. It contains several other minor
+ fixes but ignores many of them that are only in v1.5 or later.
+* Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
+ pciutils/libpci is only used if --enable-libpci is given to configure
+ because its GPL license may taint hwloc. See the Installation section
+ in the documentation for details.
+* Fix PCIe 3.0 link speed computation.
+* Fix importing of escaped characters with the minimalistic XML backend.
+* Fix a memory leak in the x86 backend.
+
+
+Version 1.4.2
+-------------
+* Fix build on Solaris 9 and earlier when fabsf() is not a compiler
+ built-in. Thanks to Igor Galić for reporting the problem.
+* Fix support for more than 32 processors on Windows. Thanks to Hartmut
+ Kaiser for reporting the problem.
+* Fix process-wide binding and cpulocation routines on Linux when some
+ threads disappear in the meantime. Thanks to Vlad Roubtsov for reporting
+ the issue.
+* Make installed scripts executable. Thanks to Jirka Hladky for reporting
+ the problem.
+* Fix libtool revision management when building for Windows. This fix was
+ also released as hwloc v1.4.1.1 Windows builds. Thanks to Hartmut Kaiser
+ for reporting the problem.
+* Fix the __hwloc_inline keyword in public headers when compiling with a
+ C++ compiler.
+* Add Port info attribute to network OS devices inside OpenFabrics PCI
+ devices so as to identify which interface corresponds to which port.
+* Document requirements for interoperability helpers: I/O devices discovery
+ is required for some of them; the topology must match the current host
+ for most of them.
+
+
+Version 1.4.1
+-------------
+* This release contains all changes from v1.3.2.
+* Fix hwloc_alloc_membind, thanks Karl Napf for reporting the issue.
+* Fix memory leaks in some get_membind() functions.
+* Fix helpers converting from Linux libnuma to hwloc (hwloc/linux-libnuma.h)
+ in case of out-of-order NUMA node ids.
+* Fix some overzealous assertions in the distance grouping code.
+* Workaround BIOS reporting empty I/O locality in CUDA and OpenFabrics
+ helpers on Linux. Thanks to Albert Solernou for reporting the problem.
+* Install a valgrind suppressions file hwloc-valgrind.supp (see the FAQ).
+* Fix memory binding documentation. Thanks to Karl Napf for reporting the
+ issues.
+
+
+Version 1.4.0 (does not contain all v1.3.2 changes)
+-------------
+* Major features
+ + Add "custom" interface and "assembler" tools to build multi-node
+ topology. See the Multi-node Topologies section in the documentation
+ for details.
+* Interface improvements
+ + Add symmetric_subtree object attribute to ease assumptions when consulting
+ regular symmetric topologies.
+ + Add a CPUModel and CPUType info attribute to Socket objects on Linux
+ and Solaris.
+ + Add hwloc_get_obj_index_inside_cpuset() to retrieve the "logical" index
+ of an object within a subtree of the topology.
+ + Add more NVIDIA CUDA helpers in cuda.h and cudart.h to find hwloc objects
+ corresponding to CUDA devices.
+* Discovery improvements
+ + Add a group object above partial distance matrices to make sure
+ the matrices are available in the final topology, except when this
+ new object would contradict the existing hierarchy.
+ + Grouping by distances now also works when loading from XML.
+ + Fix some corner cases in object insertion, for instance when dealing
+ with NUMA nodes without any CPU.
+* Backends
+ + Implement hwloc_get_area_membind() on Linux.
+ + Honor I/O topology flags when importing from XML.
+ + Further improve XML-related error checking and reporting.
+ + Hide synthetic topology error messages unless HWLOC_SYNTHETIC_VERBOSE=1.
+* Tools
+ + Add synthetic exporting of symmetric topologies to lstopo.
+ + lstopo --horiz and --vert can now be applied to some specific object types.
+ + lstopo -v -p now displays distance matrices with physical indexes.
+ + Add hwloc-distances utility to list distances.
+* Documentation
+ + Fix and/or document the behavior of most inline functions in hwloc/helper.h
+ when the topology contains some I/O or Misc objects.
+ + Backend documentation enhancements.
+* Bug fixes
+ + Fix missing last bit in hwloc_linux_get_thread_cpubind().
+ Thanks to Carolina Gómez-Tostón Gutiérrez for reporting the issue.
+ + Fix FreeBSD build without cpuid support.
+ + Fix several Windows build issues.
+ + Fix inline keyword definition in public headers.
+ + Fix dependencies in the embedded library.
+ + Improve visibility support detection. Thanks to Dave Love for providing
+ the patch.
+ + Remove references to internal symbols in the tools.
+
+
+Version 1.3.3
+-------------
+* This release is only meant to fix the pciutils license issue when upgrading
+ to hwloc v1.4 or later is not possible. It contains several other minor
+ fixes but ignores many of them that are only in v1.4 or later.
+* Use libpciaccess instead of pciutils/libpci by default for I/O discovery.
+ pciutils/libpci is only used if --enable-libpci is given to configure
+ because its GPL license may taint hwloc. See the Installation section
+ in the documentation for details.
+
+
+Version 1.3.2
+-------------
+* Fix missing last bit in hwloc_linux_get_thread_cpubind().
+ Thanks to Carolina Gómez-Tostón Gutiérrez for reporting the issue.
+* Fix build with -mcmodel=medium. Thanks to Devendar Bureddy for reporting
+ the issue.
+* Fix build with Solaris Studio 12 compiler when XML is disabled.
+ Thanks to Paul H. Hargrove for reporting the problem.
+* Fix installation with old GNU sed, for instance on Red Hat 8.
+ Thanks to Paul H. Hargrove for reporting the problem.
+* Fix PCI locality when Linux cgroups restrict the available CPUs.
+* Fix floating point issue when grouping by distance on mips64 architecture.
+ Thanks to Paul H. Hargrove for reporting the problem.
+* Fix conversion from/to Linux libnuma when some NUMA nodes have no memory.
+* Fix support for gccfss compilers with broken ffs() support. Thanks to
+ Paul H. Hargrove for reporting the problem and providing a patch.
+* Fix FreeBSD build without cpuid support.
+* Fix several Windows build issues.
+* Fix inline keyword definition in public headers.
+* Fix dependencies in the embedded library.
+* Detect when a compiler such as xlc may not report compile errors
+ properly, causing some configure checks to be wrong. Thanks to
+ Paul H. Hargrove for reporting the problem and providing a patch.
+* Improve visibility support detection. Thanks to Dave Love for providing
+ the patch.
+* Remove references to internal symbols in the tools.
+* Fix installation on systems with limited command-line size.
+ Thanks to Paul H. Hargrove for reporting the problem.
+* Further improve XML-related error checking and reporting.
+
+
+Version 1.3.1
+-------------
+* Fix pciutils detection with pkg-config when not installed in standard
+ directories.
+* Fix visibility options detection with the Solaris Studio compiler.
+ Thanks to Igor Galić and Terry Dontje for reporting the problems.
+* Fix support for old Linux sched.h headers such as those found
+ on Red Hat 8. Thanks to Paul H. Hargrove for reporting the problems.
+* Fix inline and attribute support for Solaris compilers. Thanks to
+ Dave Love for reporting the problems.
+* Print a short summary at the end of the configure output. Thanks to
+ Stefan Eilemann for the suggestion.
+* Add --disable-libnuma configure option to disable libnuma-based
+ memory binding support on Linux. Thanks to Rayson Ho for the
+ suggestion.
+* Make hwloc's configure script properly obey $PKG_CONFIG. Thanks to
+ Nathan Phillip Brink for raising the issue.
+* Silence some harmless pciutils warnings, thanks to Paul H. Hargrove
+ for reporting the problem.
+* Fix the documentation with respect to hwloc_pid_t and hwloc_thread_t
+ being either pid_t and pthread_t on Unix, or HANDLE on Windows.
+
+
+Version 1.3.0
+-------------
+* Major features
+ + Add I/O devices and bridges to the topology using the pciutils
+ library. Only enabled after setting the relevant flag with
+ hwloc_topology_set_flags() before hwloc_topology_load(). See the
+ I/O Devices section in the documentation for details.
+* Discovery improvements
+ + Add associativity to the cache attributes.
+ + Add support for s390/z11 "books" on Linux.
+ + Add the HWLOC_GROUPING_ACCURACY environment variable to relax
+ distance-based grouping constraints. See the Environment Variables
+ section in the documentation for details about grouping behavior
+ and configuration.
+ + Allow user-given distance matrices to remove or replace those
+ discovered by the OS backend.
+* XML improvements
+ + XML is now always supported: a minimalistic custom import/export
+ code is used when libxml2 is not available. It is only guaranteed
+ to read XML files generated by hwloc.
+ + hwloc_topology_export_xml() and export_xmlbuffer() now return an
+ integer.
+ + Add hwloc_free_xmlbuffer() to free the buffer allocated by
+ hwloc_topology_export_xmlbuffer().
+ + Hide XML topology error messages unless HWLOC_XML_VERBOSE=1.
+* Minor API updates
+ + Add hwloc_obj_add_info to customize object info attributes.
+* Tools
+ + lstopo now displays I/O devices by default. Several options are
+ added to configure the I/O discovery.
+ + hwloc-calc and hwloc-bind now accept I/O devices as input.
+ + Add --restrict option to hwloc-calc and hwloc-distribute.
+ + Add --sep option to change the output field separator in hwloc-calc.
+ + Add --whole-system option to hwloc-ps.
+
+
+Version 1.2.2
+-------------
+* Fix build on AIX 5.2, thanks Utpal Kumar Ray for the report.
+* Fix XML import of very large page sizes or counts on 32bits platform,
+ thanks to Karsten Hopp for the RedHat ticket.
+* Fix crash when administrator limitations such as Linux cgroup require
+ to restrict distance matrices. Thanks to Ake Sandgren for reporting the
+ problem.
+* Fix the removal of objects such as AMD Magny-Cours dual-node sockets
+ in case of administrator restrictions.
+* Improve error reporting and messages in case of wrong synthetic topology
+ description.
+* Several other minor internal fixes and documentation improvements.
+
+
+Version 1.2.1
+-------------
+* Improve support of AMD Bulldozer "Compute-Unit" modules by detecting
+ logical processors with different core IDs on Linux.
+* Fix hwloc-ps crash when listing processes from another Linux cpuset.
+ Thanks to Carl Smith for reporting the problem.
+* Fix build on AIX and Solaris. Thanks to Carl Smith and Andreas Kupries
+ for reporting the problems.
+* Fix cache size detection on Darwin. Thanks to Erkcan Özcan for reporting
+ the problem.
+* Make configure fail if --enable-xml or --enable-cairo is given and
+ proper support cannot be found. Thanks to Andreas Kupries for reporting
+ the XML problem.
+* Fix spurious L1 cache detection on AIX. Thanks to Hendryk Bockelmann
+ for reporting the problem.
+* Fix hwloc_get_last_cpu_location(THREAD) on Linux. Thanks to Gabriele
+ Fatigati for reporting the problem.
+* Fix object distance detection on Solaris.
+* Add pthread_self weak symbol to ease static linking.
+* Minor documentation fixes.
+
+
+Version 1.2.0
+-------------
+* Major features
+ + Expose latency matrices in the API as an array of distance structures
+ within objects. Add several helpers to find distances.
+ + Add hwloc_topology_set_distance_matrix() and environment variables
+ to provide a matrix of distances between a given set of objects.
+ + Add hwloc_get_last_cpu_location() and hwloc_get_proc_last_cpu_location()
+ to retrieve the processors where a process or thread recently ran.
+ - Add the corresponding --get-last-cpu-location option to hwloc-bind.
+ + Add hwloc_topology_restrict() to restrict an existing topology to a
+ given cpuset.
+ - Add the corresponding --restrict option to lstopo.
+* Minor API updates
+ + Add hwloc_bitmap_list_sscanf/snprintf/asprintf to convert between bitmaps
+ and strings such as 4-5,7-9,12,15-
+ + hwloc_bitmap_set/clr_range() now support infinite ranges.
+ + Clarify the difference between inserting Misc objects by cpuset or by
+ parent.
+ + hwloc_insert_misc_object_by_cpuset() now returns NULL in case of error.
+* Discovery improvements
+ + x86 backend (for freebsd): add x2APIC support
+ + Support standard device-tree phandle, to get better support on e.g. ARM
+ systems providing it.
+ + Detect cache size on AIX. Thanks Christopher and IBM.
+ + Improve grouping to support asymmetric topologies.
+* Tools
+ + Command-line tools now support "all" and "root" special locations
+ consisting in the entire topology, as well as type names with depth
+ attributes such as L2 or Group4.
+ + hwloc-calc improvements:
+ - Add --number-of/-N option to report the number of objects of a given
+ type or depth.
+ - -I is now equivalent to --intersect for listing the indexes of
+ objects of a given type or depth that intersects the input.
+ - Add -H to report the output as a hierarchical combination of types
+ and depths.
+ + Add --thissystem to lstopo.
+ + Add lstopo-win, a console-less lstopo variant on Windows.
+* Miscellaneous
+ + Remove C99 usage from code base.
+ + Rename hwloc-gather-topology.sh into hwloc-gather-topology
+ + Fix AMD cache discovery on freebsd when there is no L3 cache, thanks
+ Andriy Gapon for the fix.
+
+
+Version 1.1.2
+-------------
+* Fix a segfault in the distance-based grouping code when some objects
+ are not placed in any group. Thanks to Bernd Kallies for reporting
+ the problem and providing a patch.
+* Fix the command-line parsing of hwloc-bind --mempolicy interleave.
+ Thanks to Guy Streeter for reporting the problem.
+* Stop truncating the output in hwloc_obj_attr_snprintf() and in the
+ corresponding lstopo output. Thanks to Guy Streeter for reporting the
+ problem.
+* Fix object levels ordering in synthetic topologies.
+* Fix potential incoherency between device tree and kernel information,
+ when SMT is disabled on Power machines.
+* Fix and document the behavior of hwloc_topology_set_synthetic() in case
+ of invalid argument. Thanks to Guy Streeter for reporting the problem.
+* Add some verbose error message reporting when it looks like the OS
+ gives erroneous information.
+* Do not include unistd.h and stdint.h in public headers on Windows.
+* Move config.h files into their own subdirectories to avoid name
+ conflicts when AC_CONFIG_HEADERS adds -I's for them.
+* Remove the use of declaring variables inside "for" loops.
+* Some other minor fixes.
+* Many minor documentation fixes.
+
+
+Version 1.1.1
+-------------
+* Add hwloc_get_api_version() which returns the version of hwloc used
+ at runtime. Thanks to Guy Streeter for the suggestion.
+* Fix the number of hugepages reported for NUMA nodes on Linux.
+* Fix hwloc_bitmap_to_ulong() right after allocating the bitmap.
+ Thanks to Bernd Kallies for reporting the problem.
+* Fix hwloc_bitmap_from_ith_ulong() to properly zero the first ulong.
+ Thanks to Guy Streeter for reporting the problem.
+* Fix hwloc_get_membind_nodeset() on Linux.
+ Thanks to Bernd Kallies for reporting the problem and providing a patch.
+* Fix some file descriptor leaks in the Linux discovery.
+* Fix the minimum width of NUMA nodes, caches and the legend in the graphical
+ lstopo output. Thanks to Jirka Hladky for reporting the problem.
+* Various fixes to bitmap conversion from/to taskset-strings.
+* Fix and document snprintf functions behavior when the buffer size is too
+ small or zero. Thanks to Guy Streeter for reporting the problem.
+* Fix configure to avoid spurious enabling of the cpuid backend.
+ Thanks to Tim Anderson for reporting the problem.
+* Cleanup error management in hwloc-gather-topology.sh.
+ Thanks to Jirka Hladky for reporting the problem and providing a patch.
+* Add a manpage and usage for hwloc-gather-topology.sh on Linux.
+ Thanks to Jirka Hladky for providing a patch.
+* Memory binding documentation enhancements.
+
+
+Version 1.1.0
+-------------
+
+* API
+ + Increase HWLOC_API_VERSION to 0x00010100 so that API changes may be
+ detected at build-time.
+ + Add a memory binding interface.
+ + The cpuset API (hwloc/cpuset.h) is now deprecated. It is replaced by
+ the bitmap API (hwloc/bitmap.h) which offers the same features with more
+ generic names since it applies to CPU sets, node sets and more.
+ Backward compatibility with the cpuset API and ABI is still provided but
+ it will be removed in a future release.
+ Old types (hwloc_cpuset_t, ...) are still available as a way to clarify
+ what kind of hwloc_bitmap_t each API function manipulates.
+ Upgrading to the new API only requires to replace hwloc_cpuset_ function
+ calls with the corresponding hwloc_bitmap_ calls, with the following
+ renaming exceptions:
+ - hwloc_cpuset_cpu -> hwloc_bitmap_only
+ - hwloc_cpuset_all_but_cpu -> hwloc_bitmap_allbut
+ - hwloc_cpuset_from_string -> hwloc_bitmap_sscanf
+ + Add an `infos' array in each object to store couples of info names and
+ values. It enables generic storage of things like the old dmi board infos
+ that were previously stored in machine specific attributes.
+ + Add linesize cache attribute.
+* Features
+ + Bitmaps (and thus CPU sets and node sets) are dynamically (re-)allocated,
+ the maximal number of CPUs (HWLOC_NBMAXCPUS) has been removed.
+ + Improve the distance-based grouping code to better support irregular
+ distance matrices.
+ + Add support for device-tree to get cache information (useful on Power
+ architectures).
+* Helpers
+ + Add NVIDIA CUDA helpers in cuda.h and cudart.h to ease interoperability
+ with CUDA Runtime and Driver APIs.
+ + Add Myrinet Express helper in myriexpress.h to ease interoperability.
+* Tools
+ + lstopo now displays physical/OS indexes by default in graphical mode
+ (use -l to switch back to logical indexes). The textual output still uses
+ logical by default (use -p to switch to physical indexes).
+ + lstopo prefixes logical indexes with `L#' and physical indexes with `P#'.
+ Physical indexes are also printed as `P#N' instead of `phys=N' within
+ object attributes (in parentheses).
+ + Add a legend at the bottom of the lstopo graphical output, use --no-legend
+ to remove it.
+ + Add hwloc-ps to list process' bindings.
+ + Add --membind and --mempolicy options to hwloc-bind.
+ + Improve tools command-line options by adding a generic --input option
+ (and more) which replaces the old --xml, --synthetic and --fsys-root.
+ + Cleanup lstopo output configuration by adding --output-format.
+ + Add --intersect in hwloc-calc, and replace --objects with --largest.
+ + Add the ability to work on standard input in hwloc-calc.
+ + Add --from, --to and --at in hwloc-distrib.
+ + Add taskset-specific functions and command-line tools options to
+ manipulate CPU set strings in the format of the taskset program.
+ + Install hwloc-gather-topology.sh on Linux.
+
+
+Version 1.0.3
+-------------
+
+* Fix support for Linux cpuset when emulated by a cgroup mount point.
+* Remove unneeded runtime dependency on libibverbs.so in the library and
+ all utils programs.
+* Fix hwloc_cpuset_to_linux_libnuma_ulongs in case of non-linear OS-indexes
+ for NUMA nodes.
+* lstopo now displays physical/OS indexes by default in graphical mode
+ (use -l to switch back to logical indexes). The textual output still uses
+ logical by default (use -p to switch to physical indexes).
+
+
+Version 1.0.2
+-------------
+
+* Public headers can now be included directly from C++ programs.
+* Solaris fix for non-contiguous cpu numbers. Thanks to Rolf vandeVaart for
+ reporting the issue.
+* Darwin 10.4 fix. Thanks to Olivier Cessenat for reporting the issue.
+* Revert 1.0.1 patch that ignored sockets with unknown ID values since it
+ only slightly helped POWER7 machines with old Linux kernels while it
+ prevents recent kernels from getting the complete POWER7 topology.
+* Fix hwloc_get_common_ancestor_obj().
+* Remove arch-specific bits in public headers.
+* Some fixes in the lstopo graphical output.
+* Various man page clarifications and minor updates.
+
+
+Version 1.0.1
+-------------
+
+* Various Solaris fixes. Thanks to Yannick Martin for reporting the issue.
+* Fix "non-native" builds on x86 platforms (e.g., when building 32
+ bit executables with compilers that natively build 64 bit).
+* Ignore sockets with unknown ID values (which fixes issues on POWER7
+ machines). Thanks to Greg Bauer for reporting the issue.
+* Various man page clarifications and minor updates.
+* Fixed memory leaks in hwloc_setup_group_from_min_distance_clique().
+* Fix cache type filtering on MS Windows 7. Thanks to Αλέξανδρος
+ Παπαδογιαννάκ for reporting the issue.
+* Fixed warnings when compiling with -DNDEBUG.
+
+
+Version 1.0.0
+-------------
+
+* The ABI of the library has changed.
+* Backend updates
+ + Add FreeBSD support.
+ + Add x86 cpuid based backend.
+ + Add Linux cgroup support to the Linux cpuset code.
+ + Support binding of entire multithreaded process on Linux.
+ + Fix and enable Group support in Windows.
+ + Cleanup XML export/import.
+* Objects
+ + HWLOC_OBJ_PROC is renamed into HWLOC_OBJ_PU for "Processing Unit",
+ its stringified type name is now "PU".
+ + Use new HWLOC_OBJ_GROUP objects instead of MISC when grouping
+ objects according to NUMA distances or arbitrary OS aggregation.
+ + Rework memory attributes.
+ + Add different cpusets in each object to specify processors that
+ are offline, unavailable, ...
+ + Cleanup the storage of object names and DMI infos.
+* Features
+ + Add support for looking up specific PID topology information.
+ + Add hwloc_topology_export_xml() to export the topology in a XML file.
+ + Add hwloc_topology_get_support() to retrieve the supported features
+ for the current topology context.
+ + Support non-SYSTEM object as the root of the tree, use MACHINE in
+ most common cases.
+ + Add hwloc_get_*cpubind() routines to retrieve the current binding
+ of processes and threads.
+* API
+ + Add HWLOC_API_VERSION to help detect the currently used API version.
+ + Add missing ending "e" to *compare* functions.
+ + Add several routines to emulate PLPA functions.
+ + Rename and rework the cpuset and/or/xor/not/clear operators to output
+ their result in a dedicated argument instead of modifying one input.
+ + Deprecate hwloc_obj_snprintf() in favor of hwloc_obj_type/attr_snprintf().
+ + Clarify the use of parent and ancestor in the API, do not use father.
+ + Replace hwloc_get_system_obj() with hwloc_get_root_obj().
+ + Return -1 instead of HWLOC_OBJ_TYPE_MAX in the API since the latter
+ isn't public.
+ + Relax constraints in hwloc_obj_type_of_string().
+ + Improve displaying of memory sizes.
+ + Add 0x prefix to cpuset strings.
+* Tools
+ + lstopo now displays logical indexes by default, use --physical to
+ revert back to OS/physical indexes.
+ + Add colors in the lstopo graphical outputs to distinguish between online,
+ offline, reserved, ... objects.
+ + Extend lstopo to show cpusets, filter objects by type, ...
+ + Renamed hwloc-mask into hwloc-calc which supports many new options.
+* Documentation
+ + Add a hwloc(7) manpage containing general information.
+ + Add documentation about how to switch from PLPA to hwloc.
+ + Cleanup the distributed documentation files.
+* Miscellaneous
+ + Many compilers warning fixes.
+ + Cleanup the ABI by using the visibility attribute.
+ + Add project embedding support.
+
+
+Version 0.9.4 (unreleased)
+--------------------------
+
+* Fix reseting colors to normal in lstopo -.txt output.
+* Fix Linux pthread_t binding error report.
+
+
+Version 0.9.3
+-------------
+
+* Fix autogen.sh to work with Autoconf 2.63.
+* Fix various crashes in particular conditions:
+ - xml files with root attributes
+ - offline CPUs
+ - partial sysfs support
+ - unparseable /proc/cpuinfo
+ - ignoring NUMA level while Misc level have been generated
+* Tweak documentation a bit
+* Do not require the pthread library for binding the current thread on Linux
+* Do not erroneously consider the sched_setaffinity prototype is the old version
+ when there is actually none.
+* Fix _syscall3 compilation on archs for which we do not have the
+ sched_setaffinity system call number.
+* Fix AIX binding.
+* Fix libraries dependencies: now only lstopo depends on libtermcap, fix
+ binutils-gold link
+* Have make check always build and run hwloc-hello.c
+* Do not limit size of a cpuset.
+
+
+Version 0.9.2
+-------------
+
+* Trivial documentation changes.
+
+
+Version 0.9.1
+-------------
+
+* Re-branded to "hwloc" and moved to the Open MPI project, relicensed under the
+ BSD license.
+* The prefix of all functions and tools is now hwloc, and some public
+ functions were also renamed for real.
+* Group NUMA nodes into Misc objects according to their physical distance
+ that may be reported by the OS/BIOS.
+ May be ignored by setting HWLOC_IGNORE_DISTANCES=1 in the environment.
+* Ignore offline CPUs on Solaris.
+* Improved binding support on AIX.
+* Add HP-UX support.
+* CPU sets are now allocated/freed dynamically.
+* Add command line options to tune the lstopo graphical output, add
+ semi-graphical textual output
+* Extend topobind to support multiple cpusets or objects on the command
+ line as topomask does.
+* Add an Infiniband-specific helper hwloc/openfabrics-verbs.h to retrieve
+ the physical location of IB devices.
+
+
+Version 0.9 (libtopology)
+-------------------------
+
+* First release.
--- /dev/null
+Introduction
+
+hwloc provides command line tools and a C API to obtain the hierarchical map of
+key computing elements, such as: NUMA memory nodes, shared caches, processor
+packages, processor cores, processing units (logical processors or "threads")
+and even I/O devices. hwloc also gathers various attributes such as cache and
+memory information, and is portable across a variety of different operating
+systems and platforms. Additionally it may assemble the topologies of multiple
+machines into a single one so as to let applications consult the topology of an
+entire fabric or cluster at once.
+
+hwloc primarily aims at helping high-performance computing (HPC) applications,
+but is also applicable to any project seeking to exploit code and/or data
+locality on modern computing platforms.
+
+hwloc supports the following operating systems:
+
+ * Linux (including old kernels not having sysfs topology information, with
+ knowledge of cpusets, ScaleMP vSMP and Kerrighed support, etc.) on all
+ supported hardware, including Intel Xeon Phi and NumaScale NumaConnect.
+ * Solaris (with support for processor sets and logical domains)
+ * AIX
+ * Darwin / OS X
+ * FreeBSD and its variants (such as kFreeBSD/GNU)
+ * NetBSD
+ * OSF/1 (a.k.a., Tru64)
+ * HP-UX
+ * Microsoft Windows
+ * IBM BlueGene/Q Compute Node Kernel (CNK)
+
+Since it uses standard Operating System information, hwloc's support is mostly
+independant from the processor type (x86, powerpc, ...) and just relies on the
+Operating System support. The main exception is BSD operating systems (NetBSD,
+FreeBSD, etc.) because they do not provide support topology information, hence
+hwloc uses an x86-only CPUID-based backend (which can be used for other OSes
+too, see the Components and plugins section).
+
+To check whether hwloc works on a particular machine, just try to build it and
+run lstopo or lstopo-no-graphics. If some things do not look right (e.g. bogus
+or missing cache information), see Questions and Bugs below.
+
+hwloc only reports the number of processors on unsupported operating systems;
+no topology information is available.
+
+For development and debugging purposes, hwloc also offers the ability to work
+on "fake" topologies:
+
+ * Symmetrical tree of resources generated from a list of level arities, see
+ Synthetic topologies.
+ * Remote machine simulation through the gathering of topology as XML files,
+ see Importing and exporting topologies from/to XML files.
+
+hwloc can display the topology in a human-readable format, either in graphical
+mode (X11), or by exporting in one of several different formats, including:
+plain text, PDF, PNG, and FIG (see Command-line Examples below). Note that some
+of the export formats require additional support libraries.
+
+hwloc offers a programming interface for manipulating topologies and objects.
+It also brings a powerful CPU bitmap API that is used to describe topology
+objects location on physical/logical processors. See the Programming Interface
+below. It may also be used to binding applications onto certain cores or memory
+nodes. Several utility programs are also provided to ease command-line
+manipulation of topology objects, binding of processes, and so on.
+
+Perl bindings are available from Bernd Kallies on CPAN.
+
+Python bindings are available from Guy Streeter:
+
+ * Fedora RPM and tarball.
+ * git tree (html).
+
+
+
+See https://www.open-mpi.org/projects/hwloc/doc/ for more hwloc documentation.
--- /dev/null
+# This is the VERSION file for hwloc, describing the precise version
+# of hwloc in this distribution. The various components of the version
+# number below are combined to form a single version number string.
+
+# major, minor, and release are generally combined in the form
+# <major>.<minor>.<release>. If release is zero, then it is omitted.
+
+# Please update HWLOC_VERSION in contrib/windows/private_config.h too.
+
+major=1
+minor=11
+release=13
+
+# greek is used for alpha or beta release tags. If it is non-empty,
+# it will be appended to the version number. It does not have to be
+# numeric. Common examples include a1 (alpha release 1), b1 (beta
+# release 1), sc2005 (Super Computing 2005 release). The only
+# requirement is that it must be entirely printable ASCII characters
+# and have no white space.
+
+greek=
+
+# The date when this release was created
+
+date="Jun 03, 2019"
+
+# If snapshot=1, then use the value from snapshot_version as the
+# entire hwloc version (i.e., ignore major, minor, release, and
+# greek). This is only set to 1 when making snapshot tarballs.
+snapshot=0
+snapshot_version=${major}.${minor}.${release}${greek}-git
+
+# The shared library version of hwloc's public library. This version
+# is maintained in accordance with the "Library Interface Versions"
+# chapter from the GNU Libtool documentation. Notes:
+
+# 1. Since version numbers are associated with *releases*, the version
+# number maintained on the hwloc git master (and developer branches)
+# is always 0:0:0.
+
+# 2. Version numbers are described in the Libtool current:revision:age
+# format.
+
+libhwloc_so_version=12:10:7
+
+# Please also update the <TargetName> lines in contrib/windows/libhwloc.vcxproj
--- /dev/null
+# generated automatically by aclocal 1.15 -*- Autoconf -*-
+
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.15'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.15], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.15])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_AR([ACT-IF-FAIL])
+# -------------------------
+# Try to determine the archiver interface, and trigger the ar-lib wrapper
+# if it is needed. If the detection of archiver interface fails, run
+# ACT-IF-FAIL (default is to abort configure with a proper error message).
+AC_DEFUN([AM_PROG_AR],
+[AC_BEFORE([$0], [LT_INIT])dnl
+AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([ar-lib])dnl
+AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
+: ${AR=ar}
+
+AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
+ [AC_LANG_PUSH([C])
+ am_cv_ar_interface=ar
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
+ [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([am_ar_try])
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=ar
+ else
+ am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([am_ar_try])
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=lib
+ else
+ am_cv_ar_interface=unknown
+ fi
+ fi
+ rm -f conftest.lib libconftest.a
+ ])
+ AC_LANG_POP([C])])
+
+case $am_cv_ar_interface in
+ar)
+ ;;
+lib)
+ # Microsoft lib, so override with the ar-lib wrapper script.
+ # FIXME: It is wrong to rewrite AR.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__AR in this case,
+ # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
+ # similar.
+ AR="$am_aux_dir/ar-lib $AR"
+ ;;
+unknown)
+ m4_default([$1],
+ [AC_MSG_ERROR([could not determine $AR interface])])
+ ;;
+esac
+AC_SUBST([AR])dnl
+])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright (C) 1997-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each '.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target (and possibly the TAP driver). The
+# system "awk" is bad on some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi
+dnl The trailing newline in this macro's definition is deliberate, for
+dnl backward compatibility and to allow trailing 'dnl'-style comments
+dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
+])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_CC_C_O
+# ---------------
+# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
+# to automatically call this.
+AC_DEFUN([_AM_PROG_CC_C_O],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+AC_LANG_PUSH([C])dnl
+AC_CACHE_CHECK(
+ [whether $CC understands -c and -o together],
+ [am_cv_prog_cc_c_o],
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i])
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+AC_LANG_POP([C])])
+
+# For backward compatibility.
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_RUN_LOG(COMMAND)
+# -------------------
+# Run COMMAND, save the exit status in ac_status, and log it.
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
+AC_DEFUN([AM_RUN_LOG],
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# ("yes" being less verbose, "no" or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004-2014 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+#
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([config/hwloc.m4])
+m4_include([config/hwloc_check_attributes.m4])
+m4_include([config/hwloc_check_vendor.m4])
+m4_include([config/hwloc_check_visibility.m4])
+m4_include([config/hwloc_components.m4])
+m4_include([config/hwloc_internal.m4])
+m4_include([config/hwloc_pkg.m4])
+m4_include([config/libtool.m4])
+m4_include([config/ltoptions.m4])
+m4_include([config/ltsugar.m4])
+m4_include([config/ltversion.m4])
+m4_include([config/lt~obsolete.m4])
--- /dev/null
+#! /bin/sh
+# Wrapper for Microsoft lib.exe
+
+me=ar-lib
+scriptversion=2012-03-01.08; # UTC
+
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
+# Written by Peter Rosin <peda@lysator.liu.se>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+
+# func_error message
+func_error ()
+{
+ echo "$me: $1" 1>&2
+ exit 1
+}
+
+file_conv=
+
+# func_file_conv build_file
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts.
+func_file_conv ()
+{
+ file=$1
+ case $file in
+ / | /[!/]*) # absolute file, and not a UNC file
+ if test -z "$file_conv"; then
+ # lazily determine how to convert abs files
+ case `uname -s` in
+ MINGW*)
+ file_conv=mingw
+ ;;
+ CYGWIN*)
+ file_conv=cygwin
+ ;;
+ *)
+ file_conv=wine
+ ;;
+ esac
+ fi
+ case $file_conv in
+ mingw)
+ file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+ ;;
+ cygwin)
+ file=`cygpath -m "$file" || echo "$file"`
+ ;;
+ wine)
+ file=`winepath -w "$file" || echo "$file"`
+ ;;
+ esac
+ ;;
+ esac
+}
+
+# func_at_file at_file operation archive
+# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE
+# for each of them.
+# When interpreting the content of the @FILE, do NOT use func_file_conv,
+# since the user would need to supply preconverted file names to
+# binutils ar, at least for MinGW.
+func_at_file ()
+{
+ operation=$2
+ archive=$3
+ at_file_contents=`cat "$1"`
+ eval set x "$at_file_contents"
+ shift
+
+ for member
+ do
+ $AR -NOLOGO $operation:"$member" "$archive" || exit $?
+ done
+}
+
+case $1 in
+ '')
+ func_error "no command. Try '$0 --help' for more information."
+ ;;
+ -h | --h*)
+ cat <<EOF
+Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...]
+
+Members may be specified in a file named with @FILE.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "$me, version $scriptversion"
+ exit $?
+ ;;
+esac
+
+if test $# -lt 3; then
+ func_error "you must specify a program, an action and an archive"
+fi
+
+AR=$1
+shift
+while :
+do
+ if test $# -lt 2; then
+ func_error "you must specify a program, an action and an archive"
+ fi
+ case $1 in
+ -lib | -LIB \
+ | -ltcg | -LTCG \
+ | -machine* | -MACHINE* \
+ | -subsystem* | -SUBSYSTEM* \
+ | -verbose | -VERBOSE \
+ | -wx* | -WX* )
+ AR="$AR $1"
+ shift
+ ;;
+ *)
+ action=$1
+ shift
+ break
+ ;;
+ esac
+done
+orig_archive=$1
+shift
+func_file_conv "$orig_archive"
+archive=$file
+
+# strip leading dash in $action
+action=${action#-}
+
+delete=
+extract=
+list=
+quick=
+replace=
+index=
+create=
+
+while test -n "$action"
+do
+ case $action in
+ d*) delete=yes ;;
+ x*) extract=yes ;;
+ t*) list=yes ;;
+ q*) quick=yes ;;
+ r*) replace=yes ;;
+ s*) index=yes ;;
+ S*) ;; # the index is always updated implicitly
+ c*) create=yes ;;
+ u*) ;; # TODO: don't ignore the update modifier
+ v*) ;; # TODO: don't ignore the verbose modifier
+ *)
+ func_error "unknown action specified"
+ ;;
+ esac
+ action=${action#?}
+done
+
+case $delete$extract$list$quick$replace,$index in
+ yes,* | ,yes)
+ ;;
+ yesyes*)
+ func_error "more than one action specified"
+ ;;
+ *)
+ func_error "no action specified"
+ ;;
+esac
+
+if test -n "$delete"; then
+ if test ! -f "$orig_archive"; then
+ func_error "archive not found"
+ fi
+ for member
+ do
+ case $1 in
+ @*)
+ func_at_file "${1#@}" -REMOVE "$archive"
+ ;;
+ *)
+ func_file_conv "$1"
+ $AR -NOLOGO -REMOVE:"$file" "$archive" || exit $?
+ ;;
+ esac
+ done
+
+elif test -n "$extract"; then
+ if test ! -f "$orig_archive"; then
+ func_error "archive not found"
+ fi
+ if test $# -gt 0; then
+ for member
+ do
+ case $1 in
+ @*)
+ func_at_file "${1#@}" -EXTRACT "$archive"
+ ;;
+ *)
+ func_file_conv "$1"
+ $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $?
+ ;;
+ esac
+ done
+ else
+ $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member
+ do
+ $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
+ done
+ fi
+
+elif test -n "$quick$replace"; then
+ if test ! -f "$orig_archive"; then
+ if test -z "$create"; then
+ echo "$me: creating $orig_archive"
+ fi
+ orig_archive=
+ else
+ orig_archive=$archive
+ fi
+
+ for member
+ do
+ case $1 in
+ @*)
+ func_file_conv "${1#@}"
+ set x "$@" "@$file"
+ ;;
+ *)
+ func_file_conv "$1"
+ set x "$@" "$file"
+ ;;
+ esac
+ shift
+ shift
+ done
+
+ if test -n "$orig_archive"; then
+ $AR -NOLOGO -OUT:"$archive" "$orig_archive" "$@" || exit $?
+ else
+ $AR -NOLOGO -OUT:"$archive" "$@" || exit $?
+ fi
+
+elif test -n "$list"; then
+ if test ! -f "$orig_archive"; then
+ func_error "archive not found"
+ fi
+ $AR -NOLOGO -LIST "$archive" || exit $?
+fi
--- /dev/null
+#! /bin/sh
+# Wrapper for compilers which do not understand '-c -o'.
+
+scriptversion=2012-10-14.11; # UTC
+
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+nl='
+'
+
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" "" $nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+ file=$1
+ case $file in
+ / | /[!/]*) # absolute file, and not a UNC file
+ if test -z "$file_conv"; then
+ # lazily determine how to convert abs files
+ case `uname -s` in
+ MINGW*)
+ file_conv=mingw
+ ;;
+ CYGWIN*)
+ file_conv=cygwin
+ ;;
+ *)
+ file_conv=wine
+ ;;
+ esac
+ fi
+ case $file_conv/,$2, in
+ *,$file_conv,*)
+ ;;
+ mingw/*)
+ file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+ ;;
+ cygwin/*)
+ file=`cygpath -m "$file" || echo "$file"`
+ ;;
+ wine/*)
+ file=`winepath -w "$file" || echo "$file"`
+ ;;
+ esac
+ ;;
+ esac
+}
+
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+ func_file_conv "$1"
+ if test -z "$lib_path"; then
+ lib_path=$file
+ else
+ lib_path="$lib_path;$file"
+ fi
+ linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+ lib=$1
+ found=no
+ save_IFS=$IFS
+ IFS=';'
+ for dir in $lib_path $LIB
+ do
+ IFS=$save_IFS
+ if $shared && test -f "$dir/$lib.dll.lib"; then
+ found=yes
+ lib=$dir/$lib.dll.lib
+ break
+ fi
+ if test -f "$dir/$lib.lib"; then
+ found=yes
+ lib=$dir/$lib.lib
+ break
+ fi
+ if test -f "$dir/lib$lib.a"; then
+ found=yes
+ lib=$dir/lib$lib.a
+ break
+ fi
+ done
+ IFS=$save_IFS
+
+ if test "$found" != yes; then
+ lib=$lib.lib
+ fi
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+ # Assume a capable shell
+ lib_path=
+ shared=:
+ linker_opts=
+ for arg
+ do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ eat=1
+ case $2 in
+ *.o | *.[oO][bB][jJ])
+ func_file_conv "$2"
+ set x "$@" -Fo"$file"
+ shift
+ ;;
+ *)
+ func_file_conv "$2"
+ set x "$@" -Fe"$file"
+ shift
+ ;;
+ esac
+ ;;
+ -I)
+ eat=1
+ func_file_conv "$2" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -I*)
+ func_file_conv "${1#-I}" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -l)
+ eat=1
+ func_cl_dashl "$2"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -l*)
+ func_cl_dashl "${1#-l}"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -L)
+ eat=1
+ func_cl_dashL "$2"
+ ;;
+ -L*)
+ func_cl_dashL "${1#-L}"
+ ;;
+ -static)
+ shared=false
+ ;;
+ -Wl,*)
+ arg=${1#-Wl,}
+ save_ifs="$IFS"; IFS=','
+ for flag in $arg; do
+ IFS="$save_ifs"
+ linker_opts="$linker_opts $flag"
+ done
+ IFS="$save_ifs"
+ ;;
+ -Xlinker)
+ eat=1
+ linker_opts="$linker_opts $2"
+ ;;
+ -*)
+ set x "$@" "$1"
+ shift
+ ;;
+ *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+ func_file_conv "$1"
+ set x "$@" -Tp"$file"
+ shift
+ ;;
+ *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+ func_file_conv "$1" mingw
+ set x "$@" "$file"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+ done
+ if test -n "$linker_opts"; then
+ linker_opts="-link$linker_opts"
+ fi
+ exec "$@" $linker_opts
+ exit 1
+}
+
+eat=
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: compile [--help] [--version] PROGRAM [ARGS]
+
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
+arguments, and rename the output as expected.
+
+If you are trying to build a whole package this is not the
+right script to run: please start by reading the file 'INSTALL'.
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "compile $scriptversion"
+ exit $?
+ ;;
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;
+esac
+
+ofile=
+cfile=
+
+for arg
+do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ # So we strip '-o arg' only if arg is an object.
+ eat=1
+ case $2 in
+ *.o | *.obj)
+ ofile=$2
+ ;;
+ *)
+ set x "$@" -o "$2"
+ shift
+ ;;
+ esac
+ ;;
+ *.c)
+ cfile=$1
+ set x "$@" "$1"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+done
+
+if test -z "$ofile" || test -z "$cfile"; then
+ # If no '-o' option was seen then we might have been invoked from a
+ # pattern rule where we don't need one. That is ok -- this is a
+ # normal compilation that the losing compiler can handle. If no
+ # '.c' file was seen then we are probably linking. That is also
+ # ok.
+ exec "$@"
+fi
+
+# Name of file we expect compiler to create.
+cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
+
+# Create the lock directory.
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
+# that we are using for the .o file. Also, base the name on the expected
+# object file name, since that is what matters with a parallel build.
+lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
+while true; do
+ if mkdir "$lockdir" >/dev/null 2>&1; then
+ break
+ fi
+ sleep 1
+done
+# FIXME: race condition here if user kills between mkdir and trap.
+trap "rmdir '$lockdir'; exit 1" 1 2 15
+
+# Run the compile.
+"$@"
+ret=$?
+
+if test -f "$cofile"; then
+ test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+ test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
+fi
+
+rmdir "$lockdir"
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+#! /bin/sh
+# Attempt to guess a canonical system name.
+# Copyright 1992-2014 Free Software Foundation, Inc.
+
+timestamp='2014-11-04'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+#
+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
+#
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+#
+# Please send patches to <config-patches@gnu.org>.
+
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright 1992-2014 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help" >&2
+ exit 1 ;;
+ * )
+ break ;;
+ esac
+done
+
+if test $# != 0; then
+ echo "$me: too many arguments$help" >&2
+ exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,) echo "int x;" > $dummy.c ;
+ for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+ CC_FOR_BUILD="$c"; break ;
+ fi ;
+ done ;
+ if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found ;
+ fi
+ ;;
+ ,,*) CC_FOR_BUILD=$CC ;;
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
+esac ; set_cc_for_build= ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi@noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+case "${UNAME_SYSTEM}" in
+Linux|GNU|GNU/*)
+ # If the system lacks a compiler, then just pick glibc.
+ # We could probably try harder.
+ LIBC=gnu
+
+ eval $set_cc_for_build
+ cat <<-EOF > $dummy.c
+ #include <features.h>
+ #if defined(__UCLIBC__)
+ LIBC=uclibc
+ #elif defined(__dietlibc__)
+ LIBC=dietlibc
+ #else
+ LIBC=gnu
+ #endif
+ EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
+ ;;
+esac
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
+ # compatibility and a consistent mechanism for selecting the
+ # object file format.
+ #
+ # Note: NetBSD doesn't particularly care about the vendor
+ # portion of the name. We always set it to "unknown".
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+ case "${UNAME_MACHINE_ARCH}" in
+ armeb) machine=armeb-unknown ;;
+ arm*) machine=arm-unknown ;;
+ sh3el) machine=shl-unknown ;;
+ sh3eb) machine=sh-unknown ;;
+ sh5el) machine=sh5le-unknown ;;
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ esac
+ # The Operating System including object format, if it has switched
+ # to ELF recently, or will in the future.
+ case "${UNAME_MACHINE_ARCH}" in
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ eval $set_cc_for_build
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ELF__
+ then
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+ # Return netbsd for either. FIX?
+ os=netbsd
+ else
+ os=netbsdelf
+ fi
+ ;;
+ *)
+ os=netbsd
+ ;;
+ esac
+ # The OS release
+ # Debian GNU/NetBSD machines have a different userland, and
+ # thus, need a distinct triplet. However, they do not need
+ # kernel version information, so it can be replaced with a
+ # suitable tag, in the style of linux-gnu.
+ case "${UNAME_VERSION}" in
+ Debian*)
+ release='-gnu'
+ ;;
+ *)
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ ;;
+ esac
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ # contains redundant information, the shorter form:
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ echo "${machine}-${os}${release}"
+ exit ;;
+ *:Bitrig:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
+ exit ;;
+ *:OpenBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+ exit ;;
+ *:ekkoBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+ exit ;;
+ *:SolidBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+ exit ;;
+ macppc:MirBSD:*:*)
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ *:MirBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ alpha:OSF1:*:*)
+ case $UNAME_RELEASE in
+ *4.0)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ ;;
+ *5.*)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+ ;;
+ esac
+ # According to Compaq, /usr/sbin/psrinfo has been available on
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
+ # covers most systems running today. This code pipes the CPU
+ # types through head -n 1, so we only detect the type of CPU 0.
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+ case "$ALPHA_CPU_TYPE" in
+ "EV4 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "EV4.5 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "LCA4 (21066/21068)")
+ UNAME_MACHINE="alpha" ;;
+ "EV5 (21164)")
+ UNAME_MACHINE="alphaev5" ;;
+ "EV5.6 (21164A)")
+ UNAME_MACHINE="alphaev56" ;;
+ "EV5.6 (21164PC)")
+ UNAME_MACHINE="alphapca56" ;;
+ "EV5.7 (21164PC)")
+ UNAME_MACHINE="alphapca57" ;;
+ "EV6 (21264)")
+ UNAME_MACHINE="alphaev6" ;;
+ "EV6.7 (21264A)")
+ UNAME_MACHINE="alphaev67" ;;
+ "EV6.8CB (21264C)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8AL (21264B)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8CX (21264D)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.9A (21264/EV69A)")
+ UNAME_MACHINE="alphaev69" ;;
+ "EV7 (21364)")
+ UNAME_MACHINE="alphaev7" ;;
+ "EV7.9 (21364A)")
+ UNAME_MACHINE="alphaev79" ;;
+ esac
+ # A Pn.n version is a patched version.
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
+ # 1.2 uses "1.2" for uname -r.
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+ exitcode=$?
+ trap '' 0
+ exit $exitcode ;;
+ Alpha\ *:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # Should we change UNAME_MACHINE based on the output of uname instead
+ # of the specific Alpha model?
+ echo alpha-pc-interix
+ exit ;;
+ 21064:Windows_NT:50:3)
+ echo alpha-dec-winnt3.5
+ exit ;;
+ Amiga*:UNIX_System_V:4.0:*)
+ echo m68k-unknown-sysv4
+ exit ;;
+ *:[Aa]miga[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-amigaos
+ exit ;;
+ *:[Mm]orph[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-morphos
+ exit ;;
+ *:OS/390:*:*)
+ echo i370-ibm-openedition
+ exit ;;
+ *:z/VM:*:*)
+ echo s390-ibm-zvmoe
+ exit ;;
+ *:OS400:*:*)
+ echo powerpc-ibm-os400
+ exit ;;
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ echo arm-acorn-riscix${UNAME_RELEASE}
+ exit ;;
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
+ echo arm-unknown-riscos
+ exit ;;
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ echo hppa1.1-hitachi-hiuxmpp
+ exit ;;
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit ;;
+ NILE*:*:*:dcosx)
+ echo pyramid-pyramid-svr4
+ exit ;;
+ DRS?6000:unix:4.0:6*)
+ echo sparc-icl-nx6
+ exit ;;
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+ case `/usr/bin/uname -p` in
+ sparc) echo sparc-icl-nx7; exit ;;
+ esac ;;
+ s390x:SunOS:*:*)
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4H:SunOS:5.*:*)
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+ eval $set_cc_for_build
+ SUN_ARCH="i386"
+ # If there is a compiler, see if it is configured for 64-bit objects.
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+ # This test works for both compilers.
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ SUN_ARCH="x86_64"
+ fi
+ fi
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+ exit ;;
+ sun3*:SunOS:*:*)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ exit ;;
+ sun*:*:4.2BSD:*)
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+ case "`/bin/arch`" in
+ sun3)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ ;;
+ sun4)
+ echo sparc-sun-sunos${UNAME_RELEASE}
+ ;;
+ esac
+ exit ;;
+ aushp:SunOS:*:*)
+ echo sparc-auspex-sunos${UNAME_RELEASE}
+ exit ;;
+ # The situation for MiNT is a little confusing. The machine name
+ # can be virtually everything (everything which is not
+ # "atarist" or "atariste" at least should have a processor
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
+ # to the lowercase version "mint" (or "freemint"). Finally
+ # the system name "TOS" denotes a system which is actually not
+ # MiNT. But MiNT is downward compatible to TOS, so this should
+ # be no problem.
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+ echo m68k-milan-mint${UNAME_RELEASE}
+ exit ;;
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+ echo m68k-hades-mint${UNAME_RELEASE}
+ exit ;;
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+ echo m68k-unknown-mint${UNAME_RELEASE}
+ exit ;;
+ m68k:machten:*:*)
+ echo m68k-apple-machten${UNAME_RELEASE}
+ exit ;;
+ powerpc:machten:*:*)
+ echo powerpc-apple-machten${UNAME_RELEASE}
+ exit ;;
+ RISC*:Mach:*:*)
+ echo mips-dec-mach_bsd4.3
+ exit ;;
+ RISC*:ULTRIX:*:*)
+ echo mips-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ VAX*:ULTRIX*:*:*)
+ echo vax-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
+ echo clipper-intergraph-clix${UNAME_RELEASE}
+ exit ;;
+ mips:*:*:UMIPS | mips:*:*:RISCos)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h> /* for printf() prototype */
+ int main (int argc, char *argv[]) {
+#else
+ int main (argc, argv) int argc; char *argv[]; {
+#endif
+ #if defined (host_mips) && defined (MIPSEB)
+ #if defined (SYSTYPE_SYSV)
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_SVR4)
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ #endif
+ #endif
+ exit (-1);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+ SYSTEM_NAME=`$dummy $dummyarg` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo mips-mips-riscos${UNAME_RELEASE}
+ exit ;;
+ Motorola:PowerMAX_OS:*:*)
+ echo powerpc-motorola-powermax
+ exit ;;
+ Motorola:*:4.3:PL8-*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:Power_UNIX:*:*)
+ echo powerpc-harris-powerunix
+ exit ;;
+ m88k:CX/UX:7*:*)
+ echo m88k-harris-cxux7
+ exit ;;
+ m88k:*:4*:R4*)
+ echo m88k-motorola-sysv4
+ exit ;;
+ m88k:*:3*:R3*)
+ echo m88k-motorola-sysv3
+ exit ;;
+ AViiON:dgux:*:*)
+ # DG/UX returns AViiON for all architectures
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ then
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
+ then
+ echo m88k-dg-dgux${UNAME_RELEASE}
+ else
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
+ fi
+ else
+ echo i586-dg-dgux${UNAME_RELEASE}
+ fi
+ exit ;;
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
+ echo m88k-dolphin-sysv3
+ exit ;;
+ M88*:*:R3*:*)
+ # Delta 88k system running SVR3
+ echo m88k-motorola-sysv3
+ exit ;;
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+ echo m88k-tektronix-sysv3
+ exit ;;
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+ echo m68k-tektronix-bsd
+ exit ;;
+ *:IRIX*:*:*)
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+ exit ;;
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ i*86:AIX:*:*)
+ echo i386-ibm-aix
+ exit ;;
+ ia64:AIX:*:*)
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:2:3)
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <sys/systemcfg.h>
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+ then
+ echo "$SYSTEM_NAME"
+ else
+ echo rs6000-ibm-aix3.2.5
+ fi
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
+ exit ;;
+ *:AIX:*:[4567])
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ IBM_ARCH=rs6000
+ else
+ IBM_ARCH=powerpc
+ fi
+ if [ -x /usr/bin/lslpp ] ; then
+ IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
+ awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:*:*)
+ echo rs6000-ibm-aix
+ exit ;;
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ echo romp-ibm-bsd4.4
+ exit ;;
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
+ exit ;; # report: romp-ibm BSD 4.3
+ *:BOSX:*:*)
+ echo rs6000-bull-bosx
+ exit ;;
+ DPX/2?00:B.O.S.:*:*)
+ echo m68k-bull-sysv3
+ exit ;;
+ 9000/[34]??:4.3bsd:1.*:*)
+ echo m68k-hp-bsd
+ exit ;;
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+ echo m68k-hp-bsd4.4
+ exit ;;
+ 9000/[34678]??:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ case "${UNAME_MACHINE}" in
+ 9000/31? ) HP_ARCH=m68000 ;;
+ 9000/[34]?? ) HP_ARCH=m68k ;;
+ 9000/[678][0-9][0-9])
+ if [ -x /usr/bin/getconf ]; then
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+ case "${sc_cpu_version}" in
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+ 532) # CPU_PA_RISC2_0
+ case "${sc_kernel_bits}" in
+ 32) HP_ARCH="hppa2.0n" ;;
+ 64) HP_ARCH="hppa2.0w" ;;
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
+ esac ;;
+ esac
+ fi
+ if [ "${HP_ARCH}" = "" ]; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+
+ #define _HPUX_SOURCE
+ #include <stdlib.h>
+ #include <unistd.h>
+
+ int main ()
+ {
+ #if defined(_SC_KERNEL_BITS)
+ long bits = sysconf(_SC_KERNEL_BITS);
+ #endif
+ long cpu = sysconf (_SC_CPU_VERSION);
+
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+ case CPU_PA_RISC2_0:
+ #if defined(_SC_KERNEL_BITS)
+ switch (bits)
+ {
+ case 64: puts ("hppa2.0w"); break;
+ case 32: puts ("hppa2.0n"); break;
+ default: puts ("hppa2.0"); break;
+ } break;
+ #else /* !defined(_SC_KERNEL_BITS) */
+ puts ("hppa2.0"); break;
+ #endif
+ default: puts ("hppa1.0"); break;
+ }
+ exit (0);
+ }
+EOF
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+ test -z "$HP_ARCH" && HP_ARCH=hppa
+ fi ;;
+ esac
+ if [ ${HP_ARCH} = "hppa2.0w" ]
+ then
+ eval $set_cc_for_build
+
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
+ # generating 64-bit code. GNU and HP use different nomenclature:
+ #
+ # $ CC_FOR_BUILD=cc ./config.guess
+ # => hppa2.0w-hp-hpux11.23
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+ # => hppa64-hp-hpux11.23
+
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+ grep -q __LP64__
+ then
+ HP_ARCH="hppa2.0w"
+ else
+ HP_ARCH="hppa64"
+ fi
+ fi
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ exit ;;
+ ia64:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ echo ia64-hp-hpux${HPUX_REV}
+ exit ;;
+ 3050*:HI-UX:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <unistd.h>
+ int
+ main ()
+ {
+ long cpu = sysconf (_SC_CPU_VERSION);
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
+ results, however. */
+ if (CPU_IS_PA_RISC (cpu))
+ {
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
+ }
+ }
+ else if (CPU_IS_HP_MC68K (cpu))
+ puts ("m68k-hitachi-hiuxwe2");
+ else puts ("unknown-hitachi-hiuxwe2");
+ exit (0);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo unknown-hitachi-hiuxwe2
+ exit ;;
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+ echo hppa1.1-hp-bsd
+ exit ;;
+ 9000/8??:4.3bsd:*:*)
+ echo hppa1.0-hp-bsd
+ exit ;;
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ echo hppa1.0-hp-mpeix
+ exit ;;
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+ echo hppa1.1-hp-osf
+ exit ;;
+ hp8??:OSF1:*:*)
+ echo hppa1.0-hp-osf
+ exit ;;
+ i*86:OSF1:*:*)
+ if [ -x /usr/sbin/sysversion ] ; then
+ echo ${UNAME_MACHINE}-unknown-osf1mk
+ else
+ echo ${UNAME_MACHINE}-unknown-osf1
+ fi
+ exit ;;
+ parisc*:Lites*:*:*)
+ echo hppa1.1-hp-lites
+ exit ;;
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ echo c1-convex-bsd
+ exit ;;
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+ echo c34-convex-bsd
+ exit ;;
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+ echo c38-convex-bsd
+ exit ;;
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ echo c4-convex-bsd
+ exit ;;
+ CRAY*Y-MP:*:*:*)
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*[A-Z]90:*:*:*)
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+ -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*TS:*:*:*)
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*T3E:*:*:*)
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*SV1:*:*:*)
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ *:UNICOS/mp:*:*)
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ 5000:UNIX_System_V:4.*:*)
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ exit ;;
+ sparc*:BSD/OS:*:*)
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:BSD/OS:*:*)
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:FreeBSD:*:*)
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ case ${UNAME_PROCESSOR} in
+ amd64)
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ *)
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ esac
+ exit ;;
+ i*:CYGWIN*:*)
+ echo ${UNAME_MACHINE}-pc-cygwin
+ exit ;;
+ *:MINGW64*:*)
+ echo ${UNAME_MACHINE}-pc-mingw64
+ exit ;;
+ *:MINGW*:*)
+ echo ${UNAME_MACHINE}-pc-mingw32
+ exit ;;
+ *:MSYS*:*)
+ echo ${UNAME_MACHINE}-pc-msys
+ exit ;;
+ i*:windows32*:*)
+ # uname -m includes "-pc" on this system.
+ echo ${UNAME_MACHINE}-mingw32
+ exit ;;
+ i*:PW*:*)
+ echo ${UNAME_MACHINE}-pc-pw32
+ exit ;;
+ *:Interix*:*)
+ case ${UNAME_MACHINE} in
+ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ authenticamd | genuineintel | EM64T)
+ echo x86_64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ IA64)
+ echo ia64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+ echo i${UNAME_MACHINE}-pc-mks
+ exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # UNAME_MACHINE based on the output of uname instead of i386?
+ echo i586-pc-interix
+ exit ;;
+ i*:UWIN*:*)
+ echo ${UNAME_MACHINE}-pc-uwin
+ exit ;;
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
+ p*:CYGWIN*:*)
+ echo powerpcle-unknown-cygwin
+ exit ;;
+ prep*:SunOS:5.*:*)
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ *:GNU:*:*)
+ # the GNU system
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ exit ;;
+ *:GNU/*:*:*)
+ # other systems with GNU libc and userland
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
+ exit ;;
+ i*86:Minix:*:*)
+ echo ${UNAME_MACHINE}-pc-minix
+ exit ;;
+ aarch64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ aarch64_be:Linux:*:*)
+ UNAME_MACHINE=aarch64_be
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arc:Linux:*:* | arceb:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arm*:Linux:*:*)
+ eval $set_cc_for_build
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_EABI__
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ else
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_PCS_VFP
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
+ else
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
+ fi
+ fi
+ exit ;;
+ avr32*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ cris:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ crisv32:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ frv:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ hexagon:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:Linux:*:*)
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
+ exit ;;
+ ia64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m32r*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m68*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ mips:Linux:*:* | mips64:Linux:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #undef CPU
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=${UNAME_MACHINE}el
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=${UNAME_MACHINE}
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
+ ;;
+ openrisc*:Linux:*:*)
+ echo or1k-unknown-linux-${LIBC}
+ exit ;;
+ or32:Linux:*:* | or1k*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-${LIBC}
+ exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-${LIBC}
+ exit ;;
+ parisc:Linux:*:* | hppa:Linux:*:*)
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
+ *) echo hppa-unknown-linux-${LIBC} ;;
+ esac
+ exit ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-${LIBC}
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-${LIBC}
+ exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-${LIBC}
+ exit ;;
+ ppcle:Linux:*:*)
+ echo powerpcle-unknown-linux-${LIBC}
+ exit ;;
+ s390:Linux:*:* | s390x:Linux:*:*)
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
+ exit ;;
+ sh64*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sh*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sparc:Linux:*:* | sparc64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ tile*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ vax:Linux:*:*)
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
+ exit ;;
+ x86_64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ xtensa*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:DYNIX/ptx:4*:*)
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+ # earlier versions are messed up and put the nodename in both
+ # sysname and nodename.
+ echo i386-sequent-sysv4
+ exit ;;
+ i*86:UNIX_SV:4.2MP:2.*)
+ # Unixware is an offshoot of SVR4, but it has its own version
+ # number series starting with 2...
+ # I am not positive that other SVR4 systems won't match this,
+ # I just have to hope. -- rms.
+ # Use sysv4.2uw... so that sysv4* matches it.
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ exit ;;
+ i*86:OS/2:*:*)
+ # If we were able to find `uname', then EMX Unix compatibility
+ # is probably installed.
+ echo ${UNAME_MACHINE}-pc-os2-emx
+ exit ;;
+ i*86:XTS-300:*:STOP)
+ echo ${UNAME_MACHINE}-unknown-stop
+ exit ;;
+ i*86:atheos:*:*)
+ echo ${UNAME_MACHINE}-unknown-atheos
+ exit ;;
+ i*86:syllable:*:*)
+ echo ${UNAME_MACHINE}-pc-syllable
+ exit ;;
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
+ echo i386-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ i*86:*DOS:*:*)
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ exit ;;
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+ else
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ fi
+ exit ;;
+ i*86:*:5:[678]*)
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
+ case `/bin/uname -X | grep "^Machine"` in
+ *486*) UNAME_MACHINE=i486 ;;
+ *Pentium) UNAME_MACHINE=i586 ;;
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+ esac
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ exit ;;
+ i*86:*:3.2:*)
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ && UNAME_MACHINE=i686
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ && UNAME_MACHINE=i686
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+ else
+ echo ${UNAME_MACHINE}-pc-sysv32
+ fi
+ exit ;;
+ pc:*:*:*)
+ # Left here for compatibility:
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
+ # the processor, so we play safe by assuming i586.
+ # Note: whatever this is, it MUST be the same as what config.sub
+ # prints for the "djgpp" host, or else GDB configury will decide that
+ # this is a cross-build.
+ echo i586-pc-msdosdjgpp
+ exit ;;
+ Intel:Mach:3*:*)
+ echo i386-pc-mach3
+ exit ;;
+ paragon:*:*:*)
+ echo i860-intel-osf1
+ exit ;;
+ i860:*:4.*:*) # i860-SVR4
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+ else # Add other i860-SVR4 vendors below as they are discovered.
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
+ fi
+ exit ;;
+ mini*:CTIX:SYS*5:*)
+ # "miniframe"
+ echo m68010-convergent-sysv
+ exit ;;
+ mc68k:UNIX:SYSTEM5:3.51m)
+ echo m68k-convergent-sysv
+ exit ;;
+ M680?0:D-NIX:5.3:*)
+ echo m68k-diab-dnix
+ exit ;;
+ M68*:*:R3V[5678]*:*)
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+ OS_REL=''
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4; exit; } ;;
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+ OS_REL='.3'
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ mc68030:UNIX_System_V:4.*:*)
+ echo m68k-atari-sysv4
+ exit ;;
+ TSUNAMI:LynxOS:2.*:*)
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ rs6000:LynxOS:2.*:*)
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ SM[BE]S:UNIX_SV:*:*)
+ echo mips-dde-sysv${UNAME_RELEASE}
+ exit ;;
+ RM*:ReliantUNIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo ${UNAME_MACHINE}-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit ;;
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
+ echo i586-unisys-sysv4
+ exit ;;
+ *:UNIX_System_V:4*:FTX*)
+ # From Gerald Hewes <hewes@openmarket.com>.
+ # How about differentiating between stratus architectures? -djm
+ echo hppa1.1-stratus-sysv4
+ exit ;;
+ *:*:*:FTX*)
+ # From seanf@swdc.stratus.com.
+ echo i860-stratus-sysv4
+ exit ;;
+ i*86:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo ${UNAME_MACHINE}-stratus-vos
+ exit ;;
+ *:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo hppa1.1-stratus-vos
+ exit ;;
+ mc68*:A/UX:*:*)
+ echo m68k-apple-aux${UNAME_RELEASE}
+ exit ;;
+ news*:NEWS-OS:6*:*)
+ echo mips-sony-newsos6
+ exit ;;
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+ if [ -d /usr/nec ]; then
+ echo mips-nec-sysv${UNAME_RELEASE}
+ else
+ echo mips-unknown-sysv${UNAME_RELEASE}
+ fi
+ exit ;;
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
+ echo powerpc-be-beos
+ exit ;;
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
+ echo powerpc-apple-beos
+ exit ;;
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
+ echo i586-pc-beos
+ exit ;;
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
+ echo i586-pc-haiku
+ exit ;;
+ x86_64:Haiku:*:*)
+ echo x86_64-unknown-haiku
+ exit ;;
+ SX-4:SUPER-UX:*:*)
+ echo sx4-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-5:SUPER-UX:*:*)
+ echo sx5-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-6:SUPER-UX:*:*)
+ echo sx6-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-7:SUPER-UX:*:*)
+ echo sx7-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8:SUPER-UX:*:*)
+ echo sx8-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8R:SUPER-UX:*:*)
+ echo sx8r-nec-superux${UNAME_RELEASE}
+ exit ;;
+ Power*:Rhapsody:*:*)
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Rhapsody:*:*)
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Darwin:*:*)
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+ eval $set_cc_for_build
+ if test "$UNAME_PROCESSOR" = unknown ; then
+ UNAME_PROCESSOR=powerpc
+ fi
+ if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
+ fi
+ elif test "$UNAME_PROCESSOR" = i386 ; then
+ # Avoid executing cc on OS X 10.9, as it ships with a stub
+ # that puts up a graphical alert prompting to install
+ # developer tools. Any system running Mac OS X 10.7 or
+ # later (Darwin 11 and later) is required to have a 64-bit
+ # processor. This is not true of the ARM version of Darwin
+ # that Apple uses in portable devices.
+ UNAME_PROCESSOR=x86_64
+ fi
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+ exit ;;
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = "x86"; then
+ UNAME_PROCESSOR=i386
+ UNAME_MACHINE=pc
+ fi
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+ exit ;;
+ *:QNX:*:4*)
+ echo i386-pc-qnx
+ exit ;;
+ NEO-?:NONSTOP_KERNEL:*:*)
+ echo neo-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSE-*:NONSTOP_KERNEL:*:*)
+ echo nse-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSR-?:NONSTOP_KERNEL:*:*)
+ echo nsr-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ *:NonStop-UX:*:*)
+ echo mips-compaq-nonstopux
+ exit ;;
+ BS2000:POSIX*:*:*)
+ echo bs2000-siemens-sysv
+ exit ;;
+ DS/*:UNIX_System_V:*:*)
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+ exit ;;
+ *:Plan9:*:*)
+ # "uname -m" is not consistent, so use $cputype instead. 386
+ # is converted to i386 for consistency with other x86
+ # operating systems.
+ if test "$cputype" = "386"; then
+ UNAME_MACHINE=i386
+ else
+ UNAME_MACHINE="$cputype"
+ fi
+ echo ${UNAME_MACHINE}-unknown-plan9
+ exit ;;
+ *:TOPS-10:*:*)
+ echo pdp10-unknown-tops10
+ exit ;;
+ *:TENEX:*:*)
+ echo pdp10-unknown-tenex
+ exit ;;
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+ echo pdp10-dec-tops20
+ exit ;;
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+ echo pdp10-xkl-tops20
+ exit ;;
+ *:TOPS-20:*:*)
+ echo pdp10-unknown-tops20
+ exit ;;
+ *:ITS:*:*)
+ echo pdp10-unknown-its
+ exit ;;
+ SEI:*:*:SEIUX)
+ echo mips-sei-seiux${UNAME_RELEASE}
+ exit ;;
+ *:DragonFly:*:*)
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ exit ;;
+ *:*VMS:*:*)
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ case "${UNAME_MACHINE}" in
+ A*) echo alpha-dec-vms ; exit ;;
+ I*) echo ia64-dec-vms ; exit ;;
+ V*) echo vax-dec-vms ; exit ;;
+ esac ;;
+ *:XENIX:*:SysV)
+ echo i386-pc-xenix
+ exit ;;
+ i*86:skyos:*:*)
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+ exit ;;
+ i*86:rdos:*:*)
+ echo ${UNAME_MACHINE}-pc-rdos
+ exit ;;
+ i*86:AROS:*:*)
+ echo ${UNAME_MACHINE}-pc-aros
+ exit ;;
+ x86_64:VMkernel:*:*)
+ echo ${UNAME_MACHINE}-unknown-esx
+ exit ;;
+esac
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script, last modified $timestamp, has failed to recognize
+the operating system you are using. It is advised that you
+download the most up to date version of the config scripts from
+
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+and
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+If the version you run ($0) is already up to date, please
+send the following data and any information you think might be
+pertinent to <config-patches@gnu.org> in order to provide the needed
+information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
--- /dev/null
+#! /bin/sh
+# Configuration validation subroutine script.
+# Copyright 1992-2014 Free Software Foundation, Inc.
+
+timestamp='2014-12-03'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+
+
+# Please send patches to <config-patches@gnu.org>.
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support. The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS
+ $0 [OPTION] ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright 1992-2014 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help"
+ exit 1 ;;
+
+ *local*)
+ # First pass through any local machine types.
+ echo $1
+ exit ;;
+
+ * )
+ break ;;
+ esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+ exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+ exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
+ storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
+ android-linux)
+ os=-linux-android
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
+ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+ then os=`echo $1 | sed 's/.*-/-/'`
+ else os=; fi
+ ;;
+esac
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work. We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+ -sun*os*)
+ # Prevent following clause from handling this invalid input.
+ ;;
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+ -apple | -axis | -knuth | -cray | -microblaze*)
+ os=
+ basic_machine=$1
+ ;;
+ -bluegene*)
+ os=-cnk
+ ;;
+ -sim | -cisco | -oki | -wec | -winbond)
+ os=
+ basic_machine=$1
+ ;;
+ -scout)
+ ;;
+ -wrs)
+ os=-vxworks
+ basic_machine=$1
+ ;;
+ -chorusos*)
+ os=-chorusos
+ basic_machine=$1
+ ;;
+ -chorusrdb)
+ os=-chorusrdb
+ basic_machine=$1
+ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+ -sco6)
+ os=-sco5v6
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5)
+ os=-sco3.2v5
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco4)
+ os=-sco3.2v4
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2.[4-9]*)
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2v[4-9]*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5v6*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco*)
+ os=-sco3.2v2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -udk*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -isc)
+ os=-isc2.2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -clix*)
+ basic_machine=clipper-intergraph
+ ;;
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -lynx*178)
+ os=-lynxos178
+ ;;
+ -lynx*5)
+ os=-lynxos5
+ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+ -windowsnt*)
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
+ ;;
+ -psos*)
+ os=-psos
+ ;;
+ -mint | -mint[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+ # Recognize the basic CPU types without company name.
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
+ | aarch64 | aarch64_be \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+ | arc | arceb \
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
+ | avr | avr32 \
+ | be32 | be64 \
+ | bfin \
+ | c4x | c8051 | clipper \
+ | d10v | d30v | dlx | dsp16xx \
+ | epiphany \
+ | fido | fr30 | frv \
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ | hexagon \
+ | i370 | i860 | i960 | ia64 \
+ | ip2k | iq2000 \
+ | k1om \
+ | le32 | le64 \
+ | lm32 \
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
+ | mips | mipsbe | mipseb | mipsel | mipsle \
+ | mips16 \
+ | mips64 | mips64el \
+ | mips64octeon | mips64octeonel \
+ | mips64orion | mips64orionel \
+ | mips64r5900 | mips64r5900el \
+ | mips64vr | mips64vrel \
+ | mips64vr4100 | mips64vr4100el \
+ | mips64vr4300 | mips64vr4300el \
+ | mips64vr5000 | mips64vr5000el \
+ | mips64vr5900 | mips64vr5900el \
+ | mipsisa32 | mipsisa32el \
+ | mipsisa32r2 | mipsisa32r2el \
+ | mipsisa32r6 | mipsisa32r6el \
+ | mipsisa64 | mipsisa64el \
+ | mipsisa64r2 | mipsisa64r2el \
+ | mipsisa64r6 | mipsisa64r6el \
+ | mipsisa64sb1 | mipsisa64sb1el \
+ | mipsisa64sr71k | mipsisa64sr71kel \
+ | mipsr5900 | mipsr5900el \
+ | mipstx39 | mipstx39el \
+ | mn10200 | mn10300 \
+ | moxie \
+ | mt \
+ | msp430 \
+ | nds32 | nds32le | nds32be \
+ | nios | nios2 | nios2eb | nios2el \
+ | ns16k | ns32k \
+ | open8 | or1k | or1knd | or32 \
+ | pdp10 | pdp11 | pj | pjl \
+ | powerpc | powerpc64 | powerpc64le | powerpcle \
+ | pyramid \
+ | riscv32 | riscv64 \
+ | rl78 | rx \
+ | score \
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | sh64 | sh64le \
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+ | spu \
+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
+ | ubicom32 \
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
+ | visium \
+ | we32k \
+ | x86 | xc16x | xstormy16 | xtensa \
+ | z8k | z80)
+ basic_machine=$basic_machine-unknown
+ ;;
+ c54x)
+ basic_machine=tic54x-unknown
+ ;;
+ c55x)
+ basic_machine=tic55x-unknown
+ ;;
+ c6x)
+ basic_machine=tic6x-unknown
+ ;;
+ leon|leon[3-9])
+ basic_machine=sparc-$basic_machine
+ ;;
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ ;;
+ ms1)
+ basic_machine=mt-unknown
+ ;;
+
+ strongarm | thumb | xscale)
+ basic_machine=arm-unknown
+ ;;
+ xgate)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ xscaleeb)
+ basic_machine=armeb-unknown
+ ;;
+
+ xscaleel)
+ basic_machine=armel-unknown
+ ;;
+
+ # We use `pc' rather than `unknown'
+ # because (1) that's what they normally are, and
+ # (2) the word "unknown" tends to confuse beginning users.
+ i*86 | x86_64)
+ basic_machine=$basic_machine-pc
+ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
+ | aarch64-* | aarch64_be-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | avr-* | avr32-* \
+ | be32-* | be64-* \
+ | bfin-* | bs2000-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
+ | c8051-* | clipper-* | craynv-* | cydra-* \
+ | d10v-* | d30v-* | dlx-* \
+ | elxsi-* \
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
+ | h8300-* | h8500-* \
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ | hexagon-* \
+ | i*86-* | i860-* | i960-* | ia64-* \
+ | ip2k-* | iq2000-* \
+ | k1om-* \
+ | le32-* | le64-* \
+ | lm32-* \
+ | m32c-* | m32r-* | m32rle-* \
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+ | microblaze-* | microblazeel-* \
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+ | mips16-* \
+ | mips64-* | mips64el-* \
+ | mips64octeon-* | mips64octeonel-* \
+ | mips64orion-* | mips64orionel-* \
+ | mips64r5900-* | mips64r5900el-* \
+ | mips64vr-* | mips64vrel-* \
+ | mips64vr4100-* | mips64vr4100el-* \
+ | mips64vr4300-* | mips64vr4300el-* \
+ | mips64vr5000-* | mips64vr5000el-* \
+ | mips64vr5900-* | mips64vr5900el-* \
+ | mipsisa32-* | mipsisa32el-* \
+ | mipsisa32r2-* | mipsisa32r2el-* \
+ | mipsisa32r6-* | mipsisa32r6el-* \
+ | mipsisa64-* | mipsisa64el-* \
+ | mipsisa64r2-* | mipsisa64r2el-* \
+ | mipsisa64r6-* | mipsisa64r6el-* \
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+ | mipsr5900-* | mipsr5900el-* \
+ | mipstx39-* | mipstx39el-* \
+ | mmix-* \
+ | mt-* \
+ | msp430-* \
+ | nds32-* | nds32le-* | nds32be-* \
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
+ | none-* | np1-* | ns16k-* | ns32k-* \
+ | open8-* \
+ | or1k*-* \
+ | orion-* \
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
+ | pyramid-* \
+ | rl78-* | romp-* | rs6000-* | rx-* \
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+ | sparclite-* \
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+ | tahoe-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ | tile*-* \
+ | tron-* \
+ | ubicom32-* \
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+ | vax-* \
+ | visium-* \
+ | we32k-* \
+ | x86-* | x86_64-* | xc16x-* | xps100-* \
+ | xstormy16-* | xtensa*-* \
+ | ymp-* \
+ | z8k-* | z80-*)
+ ;;
+ # Recognize the basic CPU types without company name, with glob match.
+ xtensa*)
+ basic_machine=$basic_machine-unknown
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
+ 386bsd)
+ basic_machine=i386-unknown
+ os=-bsd
+ ;;
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+ basic_machine=m68000-att
+ ;;
+ 3b*)
+ basic_machine=we32k-att
+ ;;
+ a29khif)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ abacus)
+ basic_machine=abacus-unknown
+ ;;
+ adobe68k)
+ basic_machine=m68010-adobe
+ os=-scout
+ ;;
+ alliant | fx80)
+ basic_machine=fx80-alliant
+ ;;
+ altos | altos3068)
+ basic_machine=m68k-altos
+ ;;
+ am29k)
+ basic_machine=a29k-none
+ os=-bsd
+ ;;
+ amd64)
+ basic_machine=x86_64-pc
+ ;;
+ amd64-*)
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ amdahl)
+ basic_machine=580-amdahl
+ os=-sysv
+ ;;
+ amiga | amiga-*)
+ basic_machine=m68k-unknown
+ ;;
+ amigaos | amigados)
+ basic_machine=m68k-unknown
+ os=-amigaos
+ ;;
+ amigaunix | amix)
+ basic_machine=m68k-unknown
+ os=-sysv4
+ ;;
+ apollo68)
+ basic_machine=m68k-apollo
+ os=-sysv
+ ;;
+ apollo68bsd)
+ basic_machine=m68k-apollo
+ os=-bsd
+ ;;
+ aros)
+ basic_machine=i386-pc
+ os=-aros
+ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+ ;;
+ balance)
+ basic_machine=ns32k-sequent
+ os=-dynix
+ ;;
+ blackfin)
+ basic_machine=bfin-unknown
+ os=-linux
+ ;;
+ blackfin-*)
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ bluegene*)
+ basic_machine=powerpc-ibm
+ os=-cnk
+ ;;
+ c54x-*)
+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c55x-*)
+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c6x-*)
+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c90)
+ basic_machine=c90-cray
+ os=-unicos
+ ;;
+ cegcc)
+ basic_machine=arm-unknown
+ os=-cegcc
+ ;;
+ convex-c1)
+ basic_machine=c1-convex
+ os=-bsd
+ ;;
+ convex-c2)
+ basic_machine=c2-convex
+ os=-bsd
+ ;;
+ convex-c32)
+ basic_machine=c32-convex
+ os=-bsd
+ ;;
+ convex-c34)
+ basic_machine=c34-convex
+ os=-bsd
+ ;;
+ convex-c38)
+ basic_machine=c38-convex
+ os=-bsd
+ ;;
+ cray | j90)
+ basic_machine=j90-cray
+ os=-unicos
+ ;;
+ craynv)
+ basic_machine=craynv-cray
+ os=-unicosmp
+ ;;
+ cr16 | cr16-*)
+ basic_machine=cr16-unknown
+ os=-elf
+ ;;
+ crds | unos)
+ basic_machine=m68k-crds
+ ;;
+ crisv32 | crisv32-* | etraxfs*)
+ basic_machine=crisv32-axis
+ ;;
+ cris | cris-* | etrax*)
+ basic_machine=cris-axis
+ ;;
+ crx)
+ basic_machine=crx-unknown
+ os=-elf
+ ;;
+ da30 | da30-*)
+ basic_machine=m68k-da30
+ ;;
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ basic_machine=mips-dec
+ ;;
+ decsystem10* | dec10*)
+ basic_machine=pdp10-dec
+ os=-tops10
+ ;;
+ decsystem20* | dec20*)
+ basic_machine=pdp10-dec
+ os=-tops20
+ ;;
+ delta | 3300 | motorola-3300 | motorola-delta \
+ | 3300-motorola | delta-motorola)
+ basic_machine=m68k-motorola
+ ;;
+ delta88)
+ basic_machine=m88k-motorola
+ os=-sysv3
+ ;;
+ dicos)
+ basic_machine=i686-pc
+ os=-dicos
+ ;;
+ djgpp)
+ basic_machine=i586-pc
+ os=-msdosdjgpp
+ ;;
+ dpx20 | dpx20-*)
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+ dpx2* | dpx2*-bull)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+ ;;
+ elxsi)
+ basic_machine=elxsi-elxsi
+ os=-bsd
+ ;;
+ encore | umax | mmax)
+ basic_machine=ns32k-encore
+ ;;
+ es1800 | OSE68k | ose68k | ose | OSE)
+ basic_machine=m68k-ericsson
+ os=-ose
+ ;;
+ fx2800)
+ basic_machine=i860-alliant
+ ;;
+ genix)
+ basic_machine=ns32k-ns
+ ;;
+ gmicro)
+ basic_machine=tron-gmicro
+ os=-sysv
+ ;;
+ go32)
+ basic_machine=i386-pc
+ os=-go32
+ ;;
+ h3050r* | hiux*)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ h8300hms)
+ basic_machine=h8300-hitachi
+ os=-hms
+ ;;
+ h8300xray)
+ basic_machine=h8300-hitachi
+ os=-xray
+ ;;
+ h8500hms)
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
+ harris)
+ basic_machine=m88k-harris
+ os=-sysv3
+ ;;
+ hp300-*)
+ basic_machine=m68k-hp
+ ;;
+ hp300bsd)
+ basic_machine=m68k-hp
+ os=-bsd
+ ;;
+ hp300hpux)
+ basic_machine=m68k-hp
+ os=-hpux
+ ;;
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k2[0-9][0-9] | hp9k31[0-9])
+ basic_machine=m68000-hp
+ ;;
+ hp9k3[2-9][0-9])
+ basic_machine=m68k-hp
+ ;;
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k78[0-9] | hp78[0-9])
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][13679] | hp8[0-9][13679])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hppa-next)
+ os=-nextstep3
+ ;;
+ hppaosf)
+ basic_machine=hppa1.1-hp
+ os=-osf
+ ;;
+ hppro)
+ basic_machine=hppa1.1-hp
+ os=-proelf
+ ;;
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+ ;;
+ i*86v4*)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv4
+ ;;
+ i*86v)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv
+ ;;
+ i*86sol2)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-solaris2
+ ;;
+ i386mach)
+ basic_machine=i386-mach
+ os=-mach
+ ;;
+ i386-vsta | vsta)
+ basic_machine=i386-unknown
+ os=-vsta
+ ;;
+ iris | iris4d)
+ basic_machine=mips-sgi
+ case $os in
+ -irix*)
+ ;;
+ *)
+ os=-irix4
+ ;;
+ esac
+ ;;
+ isi68 | isi)
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
+ leon-*|leon[3-9]-*)
+ basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
+ ;;
+ m68knommu)
+ basic_machine=m68k-unknown
+ os=-linux
+ ;;
+ m68knommu-*)
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ m88k-omron*)
+ basic_machine=m88k-omron
+ ;;
+ magnum | m3230)
+ basic_machine=mips-mips
+ os=-sysv
+ ;;
+ merlin)
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+ microblaze*)
+ basic_machine=microblaze-xilinx
+ ;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+ ;;
+ mingw32)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ mingw32ce)
+ basic_machine=arm-unknown
+ os=-mingw32ce
+ ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+ mips3*-*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ ;;
+ mips3*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+ ;;
+ monitor)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ morphos)
+ basic_machine=powerpc-unknown
+ os=-morphos
+ ;;
+ moxiebox)
+ basic_machine=moxie-unknown
+ os=-moxiebox
+ ;;
+ msdos)
+ basic_machine=i386-pc
+ os=-msdos
+ ;;
+ ms1-*)
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+ ;;
+ msys)
+ basic_machine=i686-pc
+ os=-msys
+ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
+ nacl)
+ basic_machine=le32-unknown
+ os=-nacl
+ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+ ;;
+ netbsd386)
+ basic_machine=i386-unknown
+ os=-netbsd
+ ;;
+ netwinder)
+ basic_machine=armv4l-rebel
+ os=-linux
+ ;;
+ news | news700 | news800 | news900)
+ basic_machine=m68k-sony
+ os=-newsos
+ ;;
+ news1000)
+ basic_machine=m68030-sony
+ os=-newsos
+ ;;
+ news-3600 | risc-news)
+ basic_machine=mips-sony
+ os=-newsos
+ ;;
+ necv70)
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+ next | m*-next )
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+ ;;
+ -ns2*)
+ os=-nextstep2
+ ;;
+ *)
+ os=-nextstep3
+ ;;
+ esac
+ ;;
+ nh3000)
+ basic_machine=m68k-harris
+ os=-cxux
+ ;;
+ nh[45]000)
+ basic_machine=m88k-harris
+ os=-cxux
+ ;;
+ nindy960)
+ basic_machine=i960-intel
+ os=-nindy
+ ;;
+ mon960)
+ basic_machine=i960-intel
+ os=-mon960
+ ;;
+ nonstopux)
+ basic_machine=mips-compaq
+ os=-nonstopux
+ ;;
+ np1)
+ basic_machine=np1-gould
+ ;;
+ neo-tandem)
+ basic_machine=neo-tandem
+ ;;
+ nse-tandem)
+ basic_machine=nse-tandem
+ ;;
+ nsr-tandem)
+ basic_machine=nsr-tandem
+ ;;
+ op50n-* | op60c-*)
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ openrisc | openrisc-*)
+ basic_machine=or32-unknown
+ ;;
+ os400)
+ basic_machine=powerpc-ibm
+ os=-os400
+ ;;
+ OSE68000 | ose68000)
+ basic_machine=m68000-ericsson
+ os=-ose
+ ;;
+ os68k)
+ basic_machine=m68k-none
+ os=-os68k
+ ;;
+ pa-hitachi)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ paragon)
+ basic_machine=i860-intel
+ os=-osf
+ ;;
+ parisc)
+ basic_machine=hppa-unknown
+ os=-linux
+ ;;
+ parisc-*)
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ pbd)
+ basic_machine=sparc-tti
+ ;;
+ pbb)
+ basic_machine=m68k-tti
+ ;;
+ pc532 | pc532-*)
+ basic_machine=ns32k-pc532
+ ;;
+ pc98)
+ basic_machine=i386-pc
+ ;;
+ pc98-*)
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium | p5 | k5 | k6 | nexgen | viac3)
+ basic_machine=i586-pc
+ ;;
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
+ basic_machine=i686-pc
+ ;;
+ pentiumii | pentium2 | pentiumiii | pentium3)
+ basic_machine=i686-pc
+ ;;
+ pentium4)
+ basic_machine=i786-pc
+ ;;
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium4-*)
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pn)
+ basic_machine=pn-gould
+ ;;
+ power) basic_machine=power-ibm
+ ;;
+ ppc | ppcbe) basic_machine=powerpc-unknown
+ ;;
+ ppc-* | ppcbe-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppcle | powerpclittle | ppc-le | powerpc-little)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64) basic_machine=powerpc64-unknown
+ ;;
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+ basic_machine=powerpc64le-unknown
+ ;;
+ ppc64le-* | powerpc64little-*)
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ps2)
+ basic_machine=i386-ibm
+ ;;
+ pw32)
+ basic_machine=i586-unknown
+ os=-pw32
+ ;;
+ rdos | rdos64)
+ basic_machine=x86_64-pc
+ os=-rdos
+ ;;
+ rdos32)
+ basic_machine=i386-pc
+ os=-rdos
+ ;;
+ rom68k)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ rm[46]00)
+ basic_machine=mips-siemens
+ ;;
+ rtpc | rtpc-*)
+ basic_machine=romp-ibm
+ ;;
+ s390 | s390-*)
+ basic_machine=s390-ibm
+ ;;
+ s390x | s390x-*)
+ basic_machine=s390x-ibm
+ ;;
+ sa29200)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ sb1)
+ basic_machine=mipsisa64sb1-unknown
+ ;;
+ sb1el)
+ basic_machine=mipsisa64sb1el-unknown
+ ;;
+ sde)
+ basic_machine=mipsisa32-sde
+ os=-elf
+ ;;
+ sei)
+ basic_machine=mips-sei
+ os=-seiux
+ ;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
+ sh)
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+ sh5el)
+ basic_machine=sh5le-unknown
+ ;;
+ sh64)
+ basic_machine=sh64-unknown
+ ;;
+ sparclite-wrs | simso-wrs)
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
+ sps7)
+ basic_machine=m68k-bull
+ os=-sysv2
+ ;;
+ spur)
+ basic_machine=spur-unknown
+ ;;
+ st2000)
+ basic_machine=m68k-tandem
+ ;;
+ stratus)
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
+ strongarm-* | thumb-*)
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+ sun2os3)
+ basic_machine=m68000-sun
+ os=-sunos3
+ ;;
+ sun2os4)
+ basic_machine=m68000-sun
+ os=-sunos4
+ ;;
+ sun3os3)
+ basic_machine=m68k-sun
+ os=-sunos3
+ ;;
+ sun3os4)
+ basic_machine=m68k-sun
+ os=-sunos4
+ ;;
+ sun4os3)
+ basic_machine=sparc-sun
+ os=-sunos3
+ ;;
+ sun4os4)
+ basic_machine=sparc-sun
+ os=-sunos4
+ ;;
+ sun4sol2)
+ basic_machine=sparc-sun
+ os=-solaris2
+ ;;
+ sun3 | sun3-*)
+ basic_machine=m68k-sun
+ ;;
+ sun4)
+ basic_machine=sparc-sun
+ ;;
+ sun386 | sun386i | roadrunner)
+ basic_machine=i386-sun
+ ;;
+ sv1)
+ basic_machine=sv1-cray
+ os=-unicos
+ ;;
+ symmetry)
+ basic_machine=i386-sequent
+ os=-dynix
+ ;;
+ t3e)
+ basic_machine=alphaev5-cray
+ os=-unicos
+ ;;
+ t90)
+ basic_machine=t90-cray
+ os=-unicos
+ ;;
+ tile*)
+ basic_machine=$basic_machine-unknown
+ os=-linux-gnu
+ ;;
+ tx39)
+ basic_machine=mipstx39-unknown
+ ;;
+ tx39el)
+ basic_machine=mipstx39el-unknown
+ ;;
+ toad1)
+ basic_machine=pdp10-xkl
+ os=-tops20
+ ;;
+ tower | tower-32)
+ basic_machine=m68k-ncr
+ ;;
+ tpf)
+ basic_machine=s390x-ibm
+ os=-tpf
+ ;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ ultra3)
+ basic_machine=a29k-nyu
+ os=-sym1
+ ;;
+ v810 | necv810)
+ basic_machine=v810-nec
+ os=-none
+ ;;
+ vaxv)
+ basic_machine=vax-dec
+ os=-sysv
+ ;;
+ vms)
+ basic_machine=vax-dec
+ os=-vms
+ ;;
+ vpp*|vx|vx-*)
+ basic_machine=f301-fujitsu
+ ;;
+ vxworks960)
+ basic_machine=i960-wrs
+ os=-vxworks
+ ;;
+ vxworks68)
+ basic_machine=m68k-wrs
+ os=-vxworks
+ ;;
+ vxworks29k)
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
+ w65*)
+ basic_machine=w65-wdc
+ os=-none
+ ;;
+ w89k-*)
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
+ xbox)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
+ xscale-* | xscalee[bl]-*)
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+ ;;
+ ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+ ;;
+ z8k-*-coff)
+ basic_machine=z8k-unknown
+ os=-sim
+ ;;
+ z80-*-coff)
+ basic_machine=z80-unknown
+ os=-sim
+ ;;
+ none)
+ basic_machine=none-none
+ os=-none
+ ;;
+
+# Here we handle the default manufacturer of certain CPU types. It is in
+# some cases the only manufacturer, in others, it is the most popular.
+ w89k)
+ basic_machine=hppa1.1-winbond
+ ;;
+ op50n)
+ basic_machine=hppa1.1-oki
+ ;;
+ op60c)
+ basic_machine=hppa1.1-oki
+ ;;
+ romp)
+ basic_machine=romp-ibm
+ ;;
+ mmix)
+ basic_machine=mmix-knuth
+ ;;
+ rs6000)
+ basic_machine=rs6000-ibm
+ ;;
+ vax)
+ basic_machine=vax-dec
+ ;;
+ pdp10)
+ # there are many clones, so DEC is not a safe bet
+ basic_machine=pdp10-unknown
+ ;;
+ pdp11)
+ basic_machine=pdp11-dec
+ ;;
+ we32k)
+ basic_machine=we32k-att
+ ;;
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
+ basic_machine=sh-unknown
+ ;;
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
+ basic_machine=sparc-sun
+ ;;
+ cydra)
+ basic_machine=cydra-cydrome
+ ;;
+ orion)
+ basic_machine=orion-highlevel
+ ;;
+ orion105)
+ basic_machine=clipper-highlevel
+ ;;
+ mac | mpw | mac-mpw)
+ basic_machine=m68k-apple
+ ;;
+ pmac | pmac-mpw)
+ basic_machine=powerpc-apple
+ ;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
+ *)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+ *-digital*)
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+ ;;
+ *-commodore*)
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+ ;;
+ *)
+ ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+ # First match some system type aliases
+ # that might get confused with valid system types.
+ # -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
+ ;;
+ -solaris1 | -solaris1.*)
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
+ ;;
+ -solaris)
+ os=-solaris2
+ ;;
+ -svr4*)
+ os=-sysv4
+ ;;
+ -unixware*)
+ os=-sysv4.2uw
+ ;;
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ ;;
+ # First accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -sym* | -kopensolaris* | -plan9* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* | -aros* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+ | -bitrig* | -openbsd* | -solidbsd* \
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)
+ case $basic_machine in
+ x86-* | i*86-*)
+ ;;
+ *)
+ os=-nto$os
+ ;;
+ esac
+ ;;
+ -nto-qnx*)
+ ;;
+ -nto*)
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
+ ;;
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+ ;;
+ -mac*)
+ os=`echo $os | sed -e 's|mac|macos|'`
+ ;;
+ -linux-dietlibc)
+ os=-linux-dietlibc
+ ;;
+ -linux*)
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
+ ;;
+ -sunos5*)
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
+ ;;
+ -sunos6*)
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
+ ;;
+ -opened*)
+ os=-openedition
+ ;;
+ -os400*)
+ os=-os400
+ ;;
+ -wince*)
+ os=-wince
+ ;;
+ -osfrose*)
+ os=-osfrose
+ ;;
+ -osf*)
+ os=-osf
+ ;;
+ -utek*)
+ os=-bsd
+ ;;
+ -dynix*)
+ os=-bsd
+ ;;
+ -acis*)
+ os=-aos
+ ;;
+ -atheos*)
+ os=-atheos
+ ;;
+ -syllable*)
+ os=-syllable
+ ;;
+ -386bsd)
+ os=-bsd
+ ;;
+ -ctix* | -uts*)
+ os=-sysv
+ ;;
+ -nova*)
+ os=-rtmk-nova
+ ;;
+ -ns2 )
+ os=-nextstep2
+ ;;
+ -nsk*)
+ os=-nsk
+ ;;
+ # Preserve the version number of sinix5.
+ -sinix5.*)
+ os=`echo $os | sed -e 's|sinix|sysv|'`
+ ;;
+ -sinix*)
+ os=-sysv4
+ ;;
+ -tpf*)
+ os=-tpf
+ ;;
+ -triton*)
+ os=-sysv3
+ ;;
+ -oss*)
+ os=-sysv3
+ ;;
+ -svr4)
+ os=-sysv4
+ ;;
+ -svr3)
+ os=-sysv3
+ ;;
+ -sysvr4)
+ os=-sysv4
+ ;;
+ # This must come after -sysvr4.
+ -sysv*)
+ ;;
+ -ose*)
+ os=-ose
+ ;;
+ -es1800*)
+ os=-ose
+ ;;
+ -xenix)
+ os=-xenix
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ os=-mint
+ ;;
+ -aros*)
+ os=-aros
+ ;;
+ -zvmoe)
+ os=-zvmoe
+ ;;
+ -dicos*)
+ os=-dicos
+ ;;
+ -nacl*)
+ ;;
+ -none)
+ ;;
+ *)
+ # Get rid of the `-' at the beginning of $os.
+ os=`echo $os | sed 's/[^-]*-//'`
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system. Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+ score-*)
+ os=-elf
+ ;;
+ spu-*)
+ os=-elf
+ ;;
+ *-acorn)
+ os=-riscix1.2
+ ;;
+ arm*-rebel)
+ os=-linux
+ ;;
+ arm*-semi)
+ os=-aout
+ ;;
+ c4x-* | tic4x-*)
+ os=-coff
+ ;;
+ c8051-*)
+ os=-elf
+ ;;
+ hexagon-*)
+ os=-elf
+ ;;
+ tic54x-*)
+ os=-coff
+ ;;
+ tic55x-*)
+ os=-coff
+ ;;
+ tic6x-*)
+ os=-coff
+ ;;
+ # This must come before the *-dec entry.
+ pdp10-*)
+ os=-tops20
+ ;;
+ pdp11-*)
+ os=-none
+ ;;
+ *-dec | vax-*)
+ os=-ultrix4.2
+ ;;
+ m68*-apollo)
+ os=-domain
+ ;;
+ i386-sun)
+ os=-sunos4.0.2
+ ;;
+ m68000-sun)
+ os=-sunos3
+ ;;
+ m68*-cisco)
+ os=-aout
+ ;;
+ mep-*)
+ os=-elf
+ ;;
+ mips*-cisco)
+ os=-elf
+ ;;
+ mips*-*)
+ os=-elf
+ ;;
+ or32-*)
+ os=-coff
+ ;;
+ *-tti) # must be before sparc entry or we get the wrong os.
+ os=-sysv3
+ ;;
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
+ *-be)
+ os=-beos
+ ;;
+ *-haiku)
+ os=-haiku
+ ;;
+ *-ibm)
+ os=-aix
+ ;;
+ *-knuth)
+ os=-mmixware
+ ;;
+ *-wec)
+ os=-proelf
+ ;;
+ *-winbond)
+ os=-proelf
+ ;;
+ *-oki)
+ os=-proelf
+ ;;
+ *-hp)
+ os=-hpux
+ ;;
+ *-hitachi)
+ os=-hiux
+ ;;
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+ os=-sysv
+ ;;
+ *-cbm)
+ os=-amigaos
+ ;;
+ *-dg)
+ os=-dgux
+ ;;
+ *-dolphin)
+ os=-sysv3
+ ;;
+ m68k-ccur)
+ os=-rtu
+ ;;
+ m88k-omron*)
+ os=-luna
+ ;;
+ *-next )
+ os=-nextstep
+ ;;
+ *-sequent)
+ os=-ptx
+ ;;
+ *-crds)
+ os=-unos
+ ;;
+ *-ns)
+ os=-genix
+ ;;
+ i370-*)
+ os=-mvs
+ ;;
+ *-next)
+ os=-nextstep3
+ ;;
+ *-gould)
+ os=-sysv
+ ;;
+ *-highlevel)
+ os=-bsd
+ ;;
+ *-encore)
+ os=-bsd
+ ;;
+ *-sgi)
+ os=-irix
+ ;;
+ *-siemens)
+ os=-sysv4
+ ;;
+ *-masscomp)
+ os=-rtu
+ ;;
+ f30[01]-fujitsu | f700-fujitsu)
+ os=-uxpv
+ ;;
+ *-rom68k)
+ os=-coff
+ ;;
+ *-*bug)
+ os=-coff
+ ;;
+ *-apple)
+ os=-macos
+ ;;
+ *-atari*)
+ os=-mint
+ ;;
+ *)
+ os=-none
+ ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer. We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+ *-unknown)
+ case $os in
+ -riscix*)
+ vendor=acorn
+ ;;
+ -sunos*)
+ vendor=sun
+ ;;
+ -cnk*|-aix*)
+ vendor=ibm
+ ;;
+ -beos*)
+ vendor=be
+ ;;
+ -hpux*)
+ vendor=hp
+ ;;
+ -mpeix*)
+ vendor=hp
+ ;;
+ -hiux*)
+ vendor=hitachi
+ ;;
+ -unos*)
+ vendor=crds
+ ;;
+ -dgux*)
+ vendor=dg
+ ;;
+ -luna*)
+ vendor=omron
+ ;;
+ -genix*)
+ vendor=ns
+ ;;
+ -mvs* | -opened*)
+ vendor=ibm
+ ;;
+ -os400*)
+ vendor=ibm
+ ;;
+ -ptx*)
+ vendor=sequent
+ ;;
+ -tpf*)
+ vendor=ibm
+ ;;
+ -vxsim* | -vxworks* | -windiss*)
+ vendor=wrs
+ ;;
+ -aux*)
+ vendor=apple
+ ;;
+ -hms*)
+ vendor=hitachi
+ ;;
+ -mpw* | -macos*)
+ vendor=apple
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ vendor=atari
+ ;;
+ -vos*)
+ vendor=stratus
+ ;;
+ esac
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ ;;
+esac
+
+echo $basic_machine$os
+exit
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
--- /dev/null
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2013-05-30.07; # UTC
+
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by 'PROGRAMS ARGS'.
+ object Object file output by 'PROGRAMS ARGS'.
+ DEPDIR directory where to store dependencies.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputting dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit $?
+ ;;
+esac
+
+# Get the directory component of the given path, and save it in the
+# global variables '$dir'. Note that this directory component will
+# be either empty or ending with a '/' character. This is deliberate.
+set_dir_from ()
+{
+ case $1 in
+ */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
+ *) dir=;;
+ esac
+}
+
+# Get the suffix-stripped basename of the given path, and save it the
+# global variable '$base'.
+set_base_from ()
+{
+ base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
+}
+
+# If no dependency file was actually created by the compiler invocation,
+# we still have to create a dummy depfile, to avoid errors with the
+# Makefile "include basename.Plo" scheme.
+make_dummy_depfile ()
+{
+ echo "#dummy" > "$depfile"
+}
+
+# Factor out some common post-processing of the generated depfile.
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
+aix_post_process_depfile ()
+{
+ # If the compiler actually managed to produce a dependency file,
+ # post-process it.
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form 'foo.o: dependency.h'.
+ # Do two passes, one to just change these to
+ # $object: dependency.h
+ # and one to simply output
+ # dependency.h:
+ # which is needed to avoid the deleted-header problem.
+ { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
+ sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
+ } > "$depfile"
+ rm -f "$tmpdepfile"
+ else
+ make_dummy_depfile
+ fi
+}
+
+# A tabulation character.
+tab=' '
+# A newline character.
+nl='
+'
+# Character ranges might be problematic outside the C locale.
+# These definitions help.
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+lower=abcdefghijklmnopqrstuvwxyz
+digits=0123456789
+alpha=${upper}${lower}
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
+ exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
+# Some modes work just like other modes, but use different flags. We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write. Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+ # HP compiler uses -M and no extra arg.
+ gccflag=-M
+ depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+ # This is just like msvc7 but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
+ gccflag=-qmakedep=gcc,-MF
+ depmode=gcc
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff. Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am. Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+ for arg
+ do
+ case $arg in
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+ *) set fnord "$@" "$arg" ;;
+ esac
+ shift # fnord
+ shift # $arg
+ done
+ "$@"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ mv "$tmpdepfile" "$depfile"
+ ;;
+
+gcc)
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
+## (see the conditional assignment to $gccflag above).
+## There are various ways to get dependency output from gcc. Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+## up in a subdir. Having to rename by hand is ugly.
+## (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+## -MM, not -M (despite what the docs say). Also, it might not be
+## supported by the other compilers which use the 'gcc' depmode.
+## - Using -M directly means running the compiler twice (even worse
+## than renaming).
+ if test -z "$gccflag"; then
+ gccflag=-MD,
+ fi
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The second -e expression handles DOS-style file names with drive
+ # letters.
+ sed -e 's/^[^:]*: / /' \
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the "deleted header file" problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header). We avoid this by adding
+## dummy dependencies for each header file. Too bad gcc doesn't do
+## this for us directly.
+## Some versions of gcc put a space before the ':'. On the theory
+## that the space means something, we add a space to the output as
+## well. hp depmode also adds that space, but also prefixes the VPATH
+## to the object. Take care to not repeat it in the output.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+sgi)
+ if test "$libtool" = yes; then
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
+ else
+ "$@" -MDupdate "$tmpdepfile"
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
+ echo "$object : \\" > "$depfile"
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and replace this with sed code, as IRIX sed won't handle
+ # lines with more than a fixed number of characters (4096 in
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
+ # the IRIX cc adds comments like '#:fec' to the end of the
+ # dependency line.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
+ | tr "$nl" ' ' >> "$depfile"
+ echo >> "$depfile"
+ # The second pass generates a dummy entry for each header file.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+xlc)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+aix)
+ # The C for AIX Compiler uses -M and outputs the dependencies
+ # in a .u file. In older versions, this file always lives in the
+ # current directory. Also, the AIX compiler puts '$object:' at the
+ # start of each line; $object doesn't have directory information.
+ # Version 6 uses the directory in both cases.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$base.u
+ tmpdepfile3=$dir.libs/$base.u
+ "$@" -Wc,-M
+ else
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$dir$base.u
+ tmpdepfile3=$dir$base.u
+ "$@" -M
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ aix_post_process_depfile
+ ;;
+
+tcc)
+ # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
+ # FIXME: That version still under development at the moment of writing.
+ # Make that this statement remains true also for stable, released
+ # versions.
+ # It will wrap lines (doesn't matter whether long or short) with a
+ # trailing '\', as in:
+ #
+ # foo.o : \
+ # foo.c \
+ # foo.h \
+ #
+ # It will put a trailing '\' even on the last line, and will use leading
+ # spaces rather than leading tabs (at least since its commit 0394caf7
+ # "Emit spaces for -MD").
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
+ # We have to change lines of the first kind to '$object: \'.
+ sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
+ # And for each line of the second kind, we have to emit a 'dep.h:'
+ # dummy dependency, to avoid the deleted-header problem.
+ sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+## The order of this option in the case statement is important, since the
+## shell code in configure will try each of these formats in the order
+## listed in this file. A plain '-MD' option would be understood by many
+## compilers, so we must ensure this comes after the gcc and icc options.
+pgcc)
+ # Portland's C compiler understands '-MD'.
+ # Will always output deps to 'file.d' where file is the root name of the
+ # source file under compilation, even if file resides in a subdirectory.
+ # The object file name does not affect the name of the '.d' file.
+ # pgcc 10.2 will output
+ # foo.o: sub/foo.c sub/foo.h
+ # and will wrap long lines using '\' :
+ # foo.o: sub/foo.c ... \
+ # sub/foo.h ... \
+ # ...
+ set_dir_from "$object"
+ # Use the source, not the object, to determine the base name, since
+ # that's sadly what pgcc will do too.
+ set_base_from "$source"
+ tmpdepfile=$base.d
+
+ # For projects that build the same source file twice into different object
+ # files, the pgcc approach of using the *source* file root name can cause
+ # problems in parallel builds. Use a locking strategy to avoid stomping on
+ # the same $tmpdepfile.
+ lockdir=$base.d-lock
+ trap "
+ echo '$0: caught signal, cleaning up...' >&2
+ rmdir '$lockdir'
+ exit 1
+ " 1 2 13 15
+ numtries=100
+ i=$numtries
+ while test $i -gt 0; do
+ # mkdir is a portable test-and-set.
+ if mkdir "$lockdir" 2>/dev/null; then
+ # This process acquired the lock.
+ "$@" -MD
+ stat=$?
+ # Release the lock.
+ rmdir "$lockdir"
+ break
+ else
+ # If the lock is being held by a different process, wait
+ # until the winning process is done or we timeout.
+ while test -d "$lockdir" && test $i -gt 0; do
+ sleep 1
+ i=`expr $i - 1`
+ done
+ fi
+ i=`expr $i - 1`
+ done
+ trap - 1 2 13 15
+ if test $i -le 0; then
+ echo "$0: failed to acquire lock after $numtries attempts" >&2
+ echo "$0: check lockdir '$lockdir'" >&2
+ exit 1
+ fi
+
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each line is of the form `foo.o: dependent.h',
+ # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+ # Do two passes, one to just change these to
+ # `$object: dependent.h' and one to simply `dependent.h:'.
+ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp2)
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+ # compilers, which have integrated preprocessors. The correct option
+ # to use with these is +Maked; it writes dependencies to a file named
+ # 'foo.d', which lands next to the object file, wherever that
+ # happens to be.
+ # Much of this is similar to the tru64 case; see comments there.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir.libs/$base.d
+ "$@" -Wc,+Maked
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ "$@" +Maked
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add 'dependent.h:' lines.
+ sed -ne '2,${
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile" "$tmpdepfile2"
+ ;;
+
+tru64)
+ # The Tru64 compiler uses -MD to generate dependencies as a side
+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in 'foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+ set_dir_from "$object"
+ set_base_from "$object"
+
+ if test "$libtool" = yes; then
+ # Libtool generates 2 separate objects for the 2 libraries. These
+ # two compilations output dependencies in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir$base.o.d # libtool 1.5
+ tmpdepfile2=$dir.libs/$base.o.d # Likewise.
+ tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ # Same post-processing that is required for AIX mode.
+ aix_post_process_depfile
+ ;;
+
+msvc7)
+ if test "$libtool" = yes; then
+ showIncludes=-Wc,-showIncludes
+ else
+ showIncludes=-showIncludes
+ fi
+ "$@" $showIncludes > "$tmpdepfile"
+ stat=$?
+ grep -v '^Note: including file: ' "$tmpdepfile"
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The first sed program below extracts the file names and escapes
+ # backslashes for cygpath. The second sed program outputs the file
+ # name when reading, but also accumulates all include files in the
+ # hold buffer in order to output them again at the end. This only
+ # works with sed implementations that can handle large buffers.
+ sed < "$tmpdepfile" -n '
+/^Note: including file: *\(.*\)/ {
+ s//\1/
+ s/\\/\\\\/g
+ p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+ s/.*/'"$tab"'/
+ G
+ p
+}' >> "$depfile"
+ echo >> "$depfile" # make sure the fragment doesn't end with a backslash
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7msys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+#nosideeffect)
+ # This comment above is used by automake to tell side-effect
+ # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout, regardless of -o.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ test -z "$dashmflag" && dashmflag=-M
+ # Require at least two characters before searching for ':'
+ # in the target name. This is to cope with DOS-style filenames:
+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
+ "$@" $dashmflag |
+ sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this sed invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+dashXmstdout)
+ # This case only exists to satisfy depend.m4. It is never actually
+ # run, as this mode is specially recognized in the preamble.
+ exit 1
+ ;;
+
+makedepend)
+ "$@" || exit $?
+ # Remove any Libtool call
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+ # X makedepend
+ shift
+ cleared=no eat=no
+ for arg
+ do
+ case $cleared in
+ no)
+ set ""; shift
+ cleared=yes ;;
+ esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
+ case "$arg" in
+ -D*|-I*)
+ set fnord "$@" "$arg"; shift ;;
+ # Strip any option that makedepend may not understand. Remove
+ # the object too, otherwise makedepend will parse it as a source file.
+ -arch)
+ eat=yes ;;
+ -*|$object)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift ;;
+ esac
+ done
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ rm -f "$depfile"
+ # makedepend may prepend the VPATH from the source file name to the object.
+ # No need to regex-escape $object, excess matching of '.' is harmless.
+ sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process the last invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed '1,2d' "$tmpdepfile" \
+ | tr ' ' "$nl" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile" "$tmpdepfile".bak
+ ;;
+
+cpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ "$@" -E \
+ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ | sed '$ s: \\$::' > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ cat < "$tmpdepfile" >> "$depfile"
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvisualcpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ IFS=" "
+ for arg
+ do
+ case "$arg" in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+ set fnord "$@"
+ shift
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
+ esac
+ done
+ "$@" -E 2>/dev/null |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+ echo "$tab" >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvcmsys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+none)
+ exec "$@"
+ ;;
+
+*)
+ echo "Unknown depmode $depmode" 1>&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+#!/bin/sh -f
+#
+# Copyright © 2004-2005 The Trustees of Indiana University and Indiana
+# University Research and Technology
+# Corporation. All rights reserved.
+# Copyright © 2004-2005 The University of Tennessee and The University
+# of Tennessee Research Foundation. All rights
+# reserved.
+# Copyright © 2004-2005 High Performance Computing Center Stuttgart,
+# University of Stuttgart. All rights reserved.
+# Copyright © 2004-2005 The Regents of the University of California.
+# All rights reserved.
+# Copyright © 2010-2014 Inria. All rights reserved.
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# $COPYRIGHT$
+#
+# Additional copyrights may follow
+#
+# $HEADER$
+#
+
+builddir="`pwd`"
+
+srcdir=$1
+cd "$srcdir"
+srcdir=`pwd`
+cd "$builddir"
+
+distdir="$builddir/$2"
+HWLOC_VERSION=$3
+
+if test "$distdir" = ""; then
+ echo "Must supply relative distdir as argv[2] -- aborting"
+ exit 1
+elif test "$HWLOC_VERSION" = ""; then
+ echo "Must supply version as argv[1] -- aborting"
+ exit 1
+fi
+
+#========================================================================
+
+start=`date`
+cat <<EOF
+
+Creating hwloc distribution
+In directory: `pwd`
+Srcdir: $srcdir
+Builddir: $builddir
+Version: $HWLOC_VERSION
+Started: $start
+
+EOF
+
+umask 022
+
+if test ! -d "$distdir"; then
+ echo "*** ERROR: dist dir does not exist"
+ echo "*** ERROR: $distdir"
+ exit 1
+fi
+
+if test ! -d $srcdir/doc/doxygen-doc; then
+ echo "*** The srcdir does not already have a doxygen-doc tree built."
+ echo "*** hwloc's config/distscript.csh requires the docs to be built"
+ echo "*** in the srcdir before executing 'make dist'."
+ exit 1
+fi
+
+# Trivial helper function
+doit() {
+ echo $*
+ eval $*
+}
+
+echo "*** Copying doxygen-doc tree to dist..."
+echo "*** Directory: srcdir: $srcdir, distdir: $distdir, pwd: `pwd`"
+doit mkdir -p $distdir/doc/doxygen-doc
+doit chmod -R a=rwx $distdir/doc/doxygen-doc
+doit rm -rf $distdir/doc/doxygen-doc
+
+# We want to copy the entire directory tree to the distdir. In some
+# cases, doxygen-doc may be a sym link, so we want the copy to follow
+# the sym links. It's a bit of a portability nightmare, so try a few
+# different ways...
+# This seems to work on OS X and Linux (but not Solaris)
+doit "tar c -C $srcdir -h -f - doc/doxygen-doc | tar x -C $distdir -f -"
+if test ! -d $distdir/doc/doxygen-doc; then
+ # This seems to work on Linux and Solaris
+ doit cp -rpf $srcdir/doc/doxygen-doc/ $distdir/doc
+fi
+if test ! -d $distdir/doc/doxygen-doc; then
+ # This seems to work on OS X (probably redundant, but we know it works)
+ doit cp -rpf $srcdir/doc/doxygen-doc $distdir/doc
+fi
+# If we still failed, just error out
+if test ! -d $distdir/doc/doxygen-doc; then
+ echo "ERROR: Cannot seem to copy a directory to the distdir :-("
+ exit 1
+fi
+
+echo "*** Copying new README"
+ls -lf $distdir/README
+doit cp -pf $srcdir/README $distdir
+
+#########################################################
+# VERY IMPORTANT: Now go into the new distribution tree #
+#########################################################
+cd "$distdir"
+echo "*** Now in distdir: $distdir"
+
+#
+# Remove all the latex source files from the distribution tree (the
+# PDFs are still there; we're just removing the latex source because
+# some of the filenames get really, really long...).
+#
+
+echo "*** Removing latex source from dist tree"
+doit rm -rf doc/doxygen-doc/latex
+
+#
+# All done
+#
+
+cat <<EOF
+*** hwloc version $HWLOC_VERSION distribution created
+
+Started: $start
+Ended: `date`
+
+EOF
--- /dev/null
+dnl -*- Autoconf -*-
+dnl
+dnl Copyright © 2009-2018 Inria. All rights reserved.
+dnl Copyright © 2009-2012, 2015-2017 Université Bordeaux
+dnl Copyright © 2004-2005 The Trustees of Indiana University and Indiana
+dnl University Research and Technology
+dnl Corporation. All rights reserved.
+dnl Copyright © 2004-2012 The Regents of the University of California.
+dnl All rights reserved.
+dnl Copyright © 2004-2008 High Performance Computing Center Stuttgart,
+dnl University of Stuttgart. All rights reserved.
+dnl Copyright © 2006-2017 Cisco Systems, Inc. All rights reserved.
+dnl Copyright © 2012 Blue Brain Project, BBP/EPFL. All rights reserved.
+dnl Copyright © 2012 Oracle and/or its affiliates. All rights reserved.
+dnl See COPYING in top-level directory.
+
+# Main hwloc m4 macro, to be invoked by the user
+#
+# Expects two or three paramters:
+# 1. Configuration prefix
+# 2. What to do upon success
+# 3. What to do upon failure
+# 4. If non-empty, print the announcement banner
+#
+AC_DEFUN([HWLOC_SETUP_CORE],[
+ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+ AC_REQUIRE([AC_CANONICAL_TARGET])
+ AC_REQUIRE([AC_PROG_CC])
+
+ AS_IF([test "x$4" != "x"],
+ [cat <<EOF
+
+###
+### Configuring hwloc core
+###
+EOF])
+
+ # If no prefix was defined, set a good value
+ m4_ifval([$1],
+ [m4_define([hwloc_config_prefix],[$1/])],
+ [m4_define([hwloc_config_prefix], [])])
+
+ # Unless previously set to "standalone" mode, default to embedded
+ # mode
+ AS_IF([test "$hwloc_mode" = ""], [hwloc_mode=embedded])
+ AC_MSG_CHECKING([hwloc building mode])
+ AC_MSG_RESULT([$hwloc_mode])
+
+ # Get hwloc's absolute top builddir (which may not be the same as
+ # the real $top_builddir, because we may be building in embedded
+ # mode).
+ HWLOC_startdir=`pwd`
+ if test x"hwloc_config_prefix" != "x" -a ! -d "hwloc_config_prefix"; then
+ mkdir -p "hwloc_config_prefix"
+ fi
+ if test x"hwloc_config_prefix" != "x"; then
+ cd "hwloc_config_prefix"
+ fi
+ HWLOC_top_builddir=`pwd`
+ AC_SUBST(HWLOC_top_builddir)
+
+ # Get hwloc's absolute top srcdir (which may not be the same as
+ # the real $top_srcdir, because we may be building in embedded
+ # mode). First, go back to the startdir incase the $srcdir is
+ # relative.
+
+ cd "$HWLOC_startdir"
+ cd "$srcdir"/hwloc_config_prefix
+ HWLOC_top_srcdir="`pwd`"
+ AC_SUBST(HWLOC_top_srcdir)
+
+ # Go back to where we started
+ cd "$HWLOC_startdir"
+
+ AC_MSG_NOTICE([hwloc builddir: $HWLOC_top_builddir])
+ AC_MSG_NOTICE([hwloc srcdir: $HWLOC_top_srcdir])
+ if test "$HWLOC_top_builddir" != "$HWLOC_top_srcdir"; then
+ AC_MSG_NOTICE([Detected VPATH build])
+ fi
+
+ # Get the version of hwloc that we are installing
+ AC_MSG_CHECKING([for hwloc version])
+ HWLOC_VERSION="`$HWLOC_top_srcdir/config/hwloc_get_version.sh $HWLOC_top_srcdir/VERSION`"
+ if test "$?" != "0"; then
+ AC_MSG_ERROR([Cannot continue])
+ fi
+ HWLOC_RELEASE_DATE="`$HWLOC_top_srcdir/config/hwloc_get_version.sh $HWLOC_top_srcdir/VERSION --release-date`"
+ AC_SUBST(HWLOC_VERSION)
+ AC_DEFINE_UNQUOTED([HWLOC_VERSION], ["$HWLOC_VERSION"],
+ [The library version, always available, even in embedded mode, contrary to VERSION])
+ AC_SUBST(HWLOC_RELEASE_DATE)
+ AC_MSG_RESULT([$HWLOC_VERSION])
+
+ # Debug mode?
+ AC_MSG_CHECKING([if want hwloc maintainer support])
+ hwloc_debug=
+
+ # Unconditionally disable debug mode in embedded mode; if someone
+ # asks, we can add a configure-time option for it. Disable it
+ # now, however, because --enable-debug is not even added as an
+ # option when configuring in embedded mode, and we wouldn't want
+ # to hijack the enclosing application's --enable-debug configure
+ # switch.
+ AS_IF([test "$hwloc_mode" = "embedded"],
+ [hwloc_debug=0
+ hwloc_debug_msg="disabled (embedded mode)"])
+ AS_IF([test "$hwloc_debug" = "" -a "$enable_debug" = "yes"],
+ [hwloc_debug=1
+ hwloc_debug_msg="enabled"])
+ AS_IF([test "$hwloc_debug" = ""],
+ [hwloc_debug=0
+ hwloc_debug_msg="disabled"])
+ # Grr; we use #ifndef for HWLOC_DEBUG! :-(
+ AH_TEMPLATE(HWLOC_DEBUG, [Whether we are in debugging mode or not])
+ AS_IF([test "$hwloc_debug" = "1"], [AC_DEFINE([HWLOC_DEBUG])])
+ AC_MSG_RESULT([$hwloc_debug_msg])
+
+ # We need to set a path for header, etc files depending on whether
+ # we're standalone or embedded. this is taken care of by HWLOC_EMBEDDED.
+
+ AC_MSG_CHECKING([for hwloc directory prefix])
+ AC_MSG_RESULT(m4_ifval([$1], hwloc_config_prefix, [(none)]))
+
+ # Note that private/config.h *MUST* be listed first so that it
+ # becomes the "main" config header file. Any AC-CONFIG-HEADERS
+ # after that (hwloc/config.h) will only have selective #defines
+ # replaced, not the entire file.
+ AC_CONFIG_HEADERS(hwloc_config_prefix[include/private/autogen/config.h])
+ AC_CONFIG_HEADERS(hwloc_config_prefix[include/hwloc/autogen/config.h])
+
+ # What prefix are we using?
+ AC_MSG_CHECKING([for hwloc symbol prefix])
+ AS_IF([test "$hwloc_symbol_prefix_value" = ""],
+ [AS_IF([test "$with_hwloc_symbol_prefix" = ""],
+ [hwloc_symbol_prefix_value=hwloc_],
+ [hwloc_symbol_prefix_value=$with_hwloc_symbol_prefix])])
+ AC_DEFINE_UNQUOTED(HWLOC_SYM_PREFIX, [$hwloc_symbol_prefix_value],
+ [The hwloc symbol prefix])
+ # Ensure to [] escape the whole next line so that we can get the
+ # proper tr tokens
+ [hwloc_symbol_prefix_value_caps="`echo $hwloc_symbol_prefix_value | tr '[:lower:]' '[:upper:]'`"]
+ AC_DEFINE_UNQUOTED(HWLOC_SYM_PREFIX_CAPS, [$hwloc_symbol_prefix_value_caps],
+ [The hwloc symbol prefix in all caps])
+ AC_MSG_RESULT([$hwloc_symbol_prefix_value])
+
+ # Give an easy #define to know if we need to transform all the
+ # hwloc names
+ AH_TEMPLATE([HWLOC_SYM_TRANSFORM], [Whether we need to re-define all the hwloc public symbols or not])
+ AS_IF([test "$hwloc_symbol_prefix_value" = "hwloc_"],
+ [AC_DEFINE([HWLOC_SYM_TRANSFORM], [0])],
+ [AC_DEFINE([HWLOC_SYM_TRANSFORM], [1])])
+
+ # GCC specifics.
+ if test "x$GCC" = "xyes"; then
+ HWLOC_GCC_CFLAGS="-Wall -Wmissing-prototypes -Wundef"
+ HWLOC_GCC_CFLAGS="$HWLOC_GCC_CFLAGS -Wpointer-arith -Wcast-align"
+ fi
+
+ # Enample system extensions for O_DIRECTORY, fdopen, fssl, etc.
+ AH_VERBATIM([USE_HPUX_SYSTEM_EXTENSIONS],
+[/* Enable extensions on HP-UX. */
+#ifndef _HPUX_SOURCE
+# undef _HPUX_SOURCE
+#endif
+])
+ AC_DEFINE([_HPUX_SOURCE], [1], [Are we building for HP-UX?])
+
+ AC_LANG_PUSH([C])
+
+ # Check to see if we're producing a 32 or 64 bit executable by
+ # checking the sizeof void*. Note that AC CHECK_SIZEOF even works
+ # when cross compiling (!), according to the AC 2.64 docs. This
+ # check is needed because on some systems, you can instruct the
+ # compiler to specifically build 32 or 64 bit executables -- even
+ # though the $target may indicate something different.
+ AC_CHECK_SIZEOF([void *])
+
+ #
+ # List of components to be built, either statically or dynamically.
+ # To be enlarged below.
+ #
+ hwloc_components="noos xml synthetic custom xml_nolibxml"
+
+ #
+ # Check OS support
+ #
+ AC_MSG_CHECKING([which OS support to include])
+ case ${target} in
+ powerpc64-bgq-linux*) # must be before Linux
+ AC_DEFINE(HWLOC_BGQ_SYS, 1, [Define to 1 on BlueGene/Q])
+ hwloc_bgq=yes
+ AC_MSG_RESULT([bgq])
+ hwloc_components="$hwloc_components bgq"
+ ;;
+ *-*-linux*)
+ AC_DEFINE(HWLOC_LINUX_SYS, 1, [Define to 1 on Linux])
+ hwloc_linux=yes
+ AC_MSG_RESULT([Linux])
+ hwloc_components="$hwloc_components linux"
+ if test x$enable_pci != xno; then
+ hwloc_components="$hwloc_components linuxpci"
+ AC_DEFINE(HWLOC_HAVE_LINUXPCI, 1, [Define to 1 if building the Linux PCI component])
+ hwloc_linuxpci_happy=yes
+ fi
+ ;;
+ *-*-irix*)
+ AC_DEFINE(HWLOC_IRIX_SYS, 1, [Define to 1 on Irix])
+ hwloc_irix=yes
+ AC_MSG_RESULT([IRIX])
+ # no irix component yet
+ ;;
+ *-*-darwin*)
+ AC_DEFINE(HWLOC_DARWIN_SYS, 1, [Define to 1 on Darwin])
+ hwloc_darwin=yes
+ AC_MSG_RESULT([Darwin])
+ hwloc_components="$hwloc_components darwin"
+ ;;
+ *-*-solaris*)
+ AC_DEFINE(HWLOC_SOLARIS_SYS, 1, [Define to 1 on Solaris])
+ hwloc_solaris=yes
+ AC_MSG_RESULT([Solaris])
+ hwloc_components="$hwloc_components solaris"
+ ;;
+ *-*-aix*)
+ AC_DEFINE(HWLOC_AIX_SYS, 1, [Define to 1 on AIX])
+ hwloc_aix=yes
+ AC_MSG_RESULT([AIX])
+ hwloc_components="$hwloc_components aix"
+ ;;
+ *-*-osf*)
+ AC_DEFINE(HWLOC_OSF_SYS, 1, [Define to 1 on OSF])
+ hwloc_osf=yes
+ AC_MSG_RESULT([OSF])
+ hwloc_components="$hwloc_components osf"
+ ;;
+ *-*-hpux*)
+ AC_DEFINE(HWLOC_HPUX_SYS, 1, [Define to 1 on HP-UX])
+ hwloc_hpux=yes
+ AC_MSG_RESULT([HP-UX])
+ hwloc_components="$hwloc_components hpux"
+ ;;
+ *-*-mingw*|*-*-cygwin*)
+ AC_DEFINE(HWLOC_WIN_SYS, 1, [Define to 1 on WINDOWS])
+ hwloc_windows=yes
+ AC_MSG_RESULT([Windows])
+ hwloc_components="$hwloc_components windows"
+ ;;
+ *-*-*freebsd*)
+ AC_DEFINE(HWLOC_FREEBSD_SYS, 1, [Define to 1 on *FREEBSD])
+ hwloc_freebsd=yes
+ AC_MSG_RESULT([FreeBSD])
+ hwloc_components="$hwloc_components freebsd"
+ ;;
+ *-*-*netbsd*)
+ AC_DEFINE(HWLOC_NETBSD_SYS, 1, [Define to 1 on *NETBSD])
+ hwloc_netbsd=yes
+ AC_MSG_RESULT([NetBSD])
+ hwloc_components="$hwloc_components netbsd"
+ ;;
+ *)
+ AC_MSG_RESULT([Unsupported! ($target)])
+ AC_DEFINE(HWLOC_UNSUPPORTED_SYS, 1, [Define to 1 on unsupported systems])
+ AC_MSG_WARN([***********************************************************])
+ AC_MSG_WARN([*** hwloc does not support this system.])
+ AC_MSG_WARN([*** hwloc will *attempt* to build (but it may not work).])
+ AC_MSG_WARN([*** hwloc run-time results may be reduced to showing just one processor,])
+ AC_MSG_WARN([*** and binding will likely not be supported.])
+ AC_MSG_WARN([*** You have been warned.])
+ AC_MSG_WARN([*** Pausing to give you time to read this message...])
+ AC_MSG_WARN([***********************************************************])
+ sleep 10
+ ;;
+ esac
+
+ #
+ # Check CPU support
+ #
+ AC_MSG_CHECKING([which CPU support to include])
+ case ${target} in
+ i*86-*-*|x86_64-*-*|amd64-*-*)
+ case ${ac_cv_sizeof_void_p} in
+ 4)
+ AC_DEFINE(HWLOC_X86_32_ARCH, 1, [Define to 1 on x86_32])
+ hwloc_x86_32=yes
+ HWLOC_MS_LIB_ARCH=X86
+ AC_MSG_RESULT([x86_32])
+ ;;
+ 8)
+ AC_DEFINE(HWLOC_X86_64_ARCH, 1, [Define to 1 on x86_64])
+ hwloc_x86_64=yes
+ HWLOC_MS_LIB_ARCH=X64
+ AC_MSG_RESULT([x86_64])
+ ;;
+ *)
+ AC_DEFINE(HWLOC_X86_64_ARCH, 1, [Define to 1 on x86_64])
+ hwloc_x86_64=yes
+ HWLOC_MS_LIB_ARCH=X64
+ AC_MSG_RESULT([unknown -- assuming x86_64])
+ ;;
+ esac
+ ;;
+ *)
+ AC_MSG_RESULT([unknown])
+ ;;
+ esac
+ AC_SUBST(HWLOC_MS_LIB_ARCH)
+
+ AC_CHECK_SIZEOF([unsigned long])
+ AC_DEFINE_UNQUOTED([HWLOC_SIZEOF_UNSIGNED_LONG], $ac_cv_sizeof_unsigned_long, [The size of `unsigned long', as computed by sizeof])
+ AC_CHECK_SIZEOF([unsigned int])
+ AC_DEFINE_UNQUOTED([HWLOC_SIZEOF_UNSIGNED_INT], $ac_cv_sizeof_unsigned_int, [The size of `unsigned int', as computed by sizeof])
+
+ #
+ # Check for compiler attributes and visibility
+ #
+ _HWLOC_C_COMPILER_VENDOR([hwloc_c_vendor])
+ _HWLOC_CHECK_ATTRIBUTES
+ _HWLOC_CHECK_VISIBILITY
+ HWLOC_CFLAGS="$HWLOC_FLAGS $HWLOC_VISIBILITY_CFLAGS"
+ AS_IF([test "$HWLOC_VISIBILITY_CFLAGS" != ""],
+ [AC_MSG_WARN(["$HWLOC_VISIBILITY_CFLAGS" has been added to the hwloc CFLAGS])])
+
+ # Make sure the compiler returns an error code when function arg
+ # count is wrong, otherwise sched_setaffinity checks may fail.
+ HWLOC_STRICT_ARGS_CFLAGS=
+ hwloc_args_check=0
+ AC_MSG_CHECKING([whether the C compiler rejects function calls with too many arguments])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ extern int one_arg(int x);
+ int foo(void) { return one_arg(1, 2); }
+ ]])],
+ [AC_MSG_RESULT([no])],
+ [hwloc_args_check=1
+ AC_MSG_RESULT([yes])])
+ AC_MSG_CHECKING([whether the C compiler rejects function calls with too few arguments])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ extern int two_arg(int x, int y);
+ int foo(void) { return two_arg(3); }
+ ]])],
+ [AC_MSG_RESULT([no])],
+ [hwloc_args_check=`expr $hwloc_args_check + 1`
+ AC_MSG_RESULT([yes])])
+ AS_IF([test "$hwloc_args_check" != "2"],[
+ AC_MSG_WARN([Your C compiler does not consider incorrect argument counts to be a fatal error.])
+ case "$hwloc_c_vendor" in
+ ibm)
+ HWLOC_STRICT_ARGS_CFLAGS="-qhalt=e"
+ ;;
+ intel)
+ HWLOC_STRICT_ARGS_CFLAGS="-we140"
+ ;;
+ *)
+ HWLOC_STRICT_ARGS_CFLAGS=FAIL
+ AC_MSG_WARN([Please report this warning and configure using a different C compiler if possible.])
+ ;;
+ esac
+ AS_IF([test "$HWLOC_STRICT_ARGS_CFLAGS" != "FAIL"],[
+ AC_MSG_WARN([Configure will append '$HWLOC_STRICT_ARGS_CFLAGS' to the value of CFLAGS when needed.])
+ AC_MSG_WARN([Alternatively you may configure with a different compiler.])
+ ])
+ ])
+
+ #
+ # Now detect support
+ #
+
+ AC_CHECK_HEADERS([unistd.h])
+ AC_CHECK_HEADERS([dirent.h])
+ AC_CHECK_HEADERS([strings.h])
+ AC_CHECK_HEADERS([ctype.h])
+
+ AC_CHECK_FUNCS([strcasecmp], [
+ _HWLOC_CHECK_DECL([strcasecmp], [
+ AC_DEFINE([HWLOC_HAVE_DECL_STRCASECMP], [1], [Define to 1 if function `strcasecmp' is declared by system headers])
+ ])
+ ])
+ AC_CHECK_FUNCS([strncasecmp], [
+ _HWLOC_CHECK_DECL([strncasecmp], [
+ AC_DEFINE([HWLOC_HAVE_DECL_STRNCASECMP], [1], [Define to 1 if function `strncasecmp' is declared by system headers])
+ ])
+ ])
+
+ AC_CHECK_FUNCS([strftime])
+ AC_CHECK_FUNCS([setlocale])
+
+ AC_CHECK_HEADER([stdint.h], [
+ AC_DEFINE([HWLOC_HAVE_STDINT_H], [1], [Define to 1 if you have the <stdint.h> header file.])
+ ])
+ AC_CHECK_HEADERS([sys/mman.h])
+
+ old_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0601"
+ AC_CHECK_TYPES([KAFFINITY,
+ PROCESSOR_CACHE_TYPE,
+ CACHE_DESCRIPTOR,
+ LOGICAL_PROCESSOR_RELATIONSHIP,
+ RelationProcessorPackage,
+ SYSTEM_LOGICAL_PROCESSOR_INFORMATION,
+ GROUP_AFFINITY,
+ PROCESSOR_RELATIONSHIP,
+ NUMA_NODE_RELATIONSHIP,
+ CACHE_RELATIONSHIP,
+ PROCESSOR_GROUP_INFO,
+ GROUP_RELATIONSHIP,
+ SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX,
+ PSAPI_WORKING_SET_EX_BLOCK,
+ PSAPI_WORKING_SET_EX_INFORMATION,
+ PROCESSOR_NUMBER],
+ [],[],[[#include <windows.h>]])
+ CPPFLAGS="$old_CPPFLAGS"
+ AC_CHECK_LIB([gdi32], [main],
+ [HWLOC_LIBS="-lgdi32 $HWLOC_LIBS"
+ AC_DEFINE([HAVE_LIBGDI32], 1, [Define to 1 if we have -lgdi32])])
+ AC_CHECK_LIB([user32], [PostQuitMessage], [hwloc_have_user32="yes"])
+
+ AC_CHECK_HEADER([windows.h], [
+ AC_DEFINE([HWLOC_HAVE_WINDOWS_H], [1], [Define to 1 if you have the `windows.h' header.])
+ ])
+
+ AC_CHECK_HEADERS([sys/lgrp_user.h], [
+ AC_CHECK_LIB([lgrp], [lgrp_init],
+ [HWLOC_LIBS="-llgrp $HWLOC_LIBS"
+ AC_DEFINE([HAVE_LIBLGRP], 1, [Define to 1 if we have -llgrp])
+ AC_CHECK_DECLS([lgrp_latency_cookie],,,[[#include <sys/lgrp_user.h>]])
+ ])
+ ])
+ AC_CHECK_HEADERS([kstat.h], [
+ AC_CHECK_LIB([kstat], [main],
+ [HWLOC_LIBS="-lkstat $HWLOC_LIBS"
+ AC_DEFINE([HAVE_LIBKSTAT], 1, [Define to 1 if we have -lkstat])])
+ ])
+
+ AC_CHECK_DECLS([fabsf], [
+ AC_CHECK_LIB([m], [fabsf],
+ [need_libm=yes])
+ ], [], [[#include <math.h>]])
+ AC_CHECK_DECLS([modff], [
+ AC_CHECK_LIB([m], [modff],
+ [need_libm=yes])
+ ], [], [[#include <math.h>]])
+ if test x$need_libm = xyes; then
+ HWLOC_LIBS="-lm $HWLOC_LIBS"
+ fi
+
+ AC_CHECK_HEADERS([picl.h], [
+ AC_CHECK_LIB([picl], [picl_initialize],
+ [HWLOC_LIBS="-lpicl $HWLOC_LIBS"])])
+
+ AC_CHECK_DECLS([_SC_NPROCESSORS_ONLN,
+ _SC_NPROCESSORS_CONF,
+ _SC_NPROC_ONLN,
+ _SC_NPROC_CONF,
+ _SC_PAGESIZE,
+ _SC_PAGE_SIZE,
+ _SC_LARGE_PAGESIZE],,[:],[[#include <unistd.h>]])
+
+ AC_HAVE_HEADERS([mach/mach_host.h])
+ AC_HAVE_HEADERS([mach/mach_init.h], [
+ AC_CHECK_FUNCS([host_info])
+ ])
+
+ AC_CHECK_HEADERS([sys/param.h])
+ AC_CHECK_HEADERS([sys/sysctl.h], [
+ AC_CHECK_DECLS([CTL_HW, HW_NCPU],,,[[
+ #if HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+ #include <sys/sysctl.h>
+ ]])
+ ],,[
+ AC_INCLUDES_DEFAULT
+ #if HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+ ])
+
+ AC_CHECK_DECLS([strtoull], [], [AC_CHECK_FUNCS([strtoull])], [AC_INCLUDES_DEFAULT])
+
+ # Needed for Windows in private/misc.h
+ AC_CHECK_TYPES([ssize_t])
+ AC_CHECK_DECLS([snprintf], [], [], [AC_INCLUDES_DEFAULT])
+ # strdup and putenv are declared in windows headers but marked deprecated
+ AC_CHECK_DECLS([_strdup], [], [], [AC_INCLUDES_DEFAULT])
+ AC_CHECK_DECLS([_putenv], [], [], [AC_INCLUDES_DEFAULT])
+ # Could add mkdir and access for hwloc-gather-cpuid.c on Windows
+
+ if test "x$hwloc_linux" != "xyes" ; then
+ # Don't detect sysctl* on Linux because its sysctl() syscall is
+ # long deprecated and unneeded. Some libc still expose the symbol
+ # and raise a big warning at link time.
+
+ # Do a full link test instead of just using AC_CHECK_FUNCS, which
+ # just checks to see if the symbol exists or not. For example,
+ # the prototype of sysctl uses u_int, which on some platforms
+ # (such as FreeBSD) is only defined under __BSD_VISIBLE, __USE_BSD
+ # or other similar definitions. So while the symbols "sysctl" and
+ # "sysctlbyname" might still be available in libc (which autoconf
+ # checks for), they might not be actually usable.
+ AC_MSG_CHECKING([for sysctl])
+ AC_TRY_LINK([
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+ ],
+ [return sysctl(NULL,0,NULL,NULL,NULL,0);],
+ [AC_DEFINE([HAVE_SYSCTL],[1],[Define to '1' if sysctl is present and usable])
+ AC_MSG_RESULT(yes)],
+ [AC_MSG_RESULT(no)])
+ AC_MSG_CHECKING([for sysctlbyname])
+ AC_TRY_LINK([
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+ ],
+ [return sysctlbyname(NULL,NULL,NULL,NULL,0);],
+ [AC_DEFINE([HAVE_SYSCTLBYNAME],[1],[Define to '1' if sysctlbyname is present and usable])
+ AC_MSG_RESULT(yes)],
+ [AC_MSG_RESULT(no)])
+ fi
+
+ AC_CHECK_DECLS([getprogname], [], [], [AC_INCLUDES_DEFAULT])
+ AC_CHECK_DECLS([getexecname], [], [], [AC_INCLUDES_DEFAULT])
+ AC_CHECK_DECLS([GetModuleFileName], [], [], [#include <windows.h>])
+ # program_invocation_name and __progname may be available but not exported in headers
+ AC_MSG_CHECKING([for program_invocation_name])
+ AC_TRY_LINK([
+ #ifndef _GNU_SOURCE
+ # define _GNU_SOURCE
+ #endif
+ #include <errno.h>
+ #include <stdio.h>
+ extern char *program_invocation_name;
+ ],[
+ return printf("%s\n", program_invocation_name);
+ ],
+ [AC_DEFINE([HAVE_PROGRAM_INVOCATION_NAME], [1], [Define to '1' if program_invocation_name is present and usable])
+ AC_MSG_RESULT([yes])
+ ],[AC_MSG_RESULT([no])])
+ AC_MSG_CHECKING([for __progname])
+ AC_TRY_LINK([
+ #include <stdio.h>
+ extern char *__progname;
+ ],[
+ return printf("%s\n", __progname);
+ ],
+ [AC_DEFINE([HAVE___PROGNAME], [1], [Define to '1' if __progname is present and usable])
+ AC_MSG_RESULT([yes])
+ ],[AC_MSG_RESULT([no])])
+
+ case ${target} in
+ *-*-mingw*|*-*-cygwin*)
+ hwloc_pid_t=HANDLE
+ hwloc_thread_t=HANDLE
+ ;;
+ *)
+ hwloc_pid_t=pid_t
+ AC_CHECK_TYPES([pthread_t], [hwloc_thread_t=pthread_t], [:], [[#include <pthread.h>]])
+ ;;
+ esac
+ AC_DEFINE_UNQUOTED(hwloc_pid_t, $hwloc_pid_t, [Define this to the process ID type])
+ if test "x$hwloc_thread_t" != "x" ; then
+ AC_DEFINE_UNQUOTED(hwloc_thread_t, $hwloc_thread_t, [Define this to the thread ID type])
+ fi
+
+ AC_CHECK_DECLS([sched_getcpu],,[:],[[
+ #ifndef _GNU_SOURCE
+ # define _GNU_SOURCE
+ #endif
+ #include <sched.h>
+ ]])
+
+ _HWLOC_CHECK_DECL([sched_setaffinity], [
+ AC_DEFINE([HWLOC_HAVE_SCHED_SETAFFINITY], [1], [Define to 1 if glibc provides a prototype of sched_setaffinity()])
+ AS_IF([test "$HWLOC_STRICT_ARGS_CFLAGS" = "FAIL"],[
+ AC_MSG_WARN([Support for sched_setaffinity() requires a C compiler which])
+ AC_MSG_WARN([considers incorrect argument counts to be a fatal error.])
+ AC_MSG_ERROR([Cannot continue.])
+ ])
+ AC_MSG_CHECKING([for old prototype of sched_setaffinity])
+ hwloc_save_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS $HWLOC_STRICT_ARGS_CFLAGS"
+ AC_COMPILE_IFELSE([
+ AC_LANG_PROGRAM([[
+ #ifndef _GNU_SOURCE
+ # define _GNU_SOURCE
+ #endif
+ #include <sched.h>
+ static unsigned long mask;
+ ]], [[ sched_setaffinity(0, (void*) &mask); ]])],
+ [AC_DEFINE([HWLOC_HAVE_OLD_SCHED_SETAFFINITY], [1], [Define to 1 if glibc provides the old prototype (without length) of sched_setaffinity()])
+ AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])])
+ CFLAGS=$hwloc_save_CFLAGS
+ ], , [[
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+#include <sched.h>
+]])
+
+ AC_MSG_CHECKING([for working CPU_SET])
+ AC_LINK_IFELSE([
+ AC_LANG_PROGRAM([[
+ #include <sched.h>
+ cpu_set_t set;
+ ]], [[ CPU_ZERO(&set); CPU_SET(0, &set);]])],
+ [AC_DEFINE([HWLOC_HAVE_CPU_SET], [1], [Define to 1 if the CPU_SET macro works])
+ AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])])
+
+ AC_MSG_CHECKING([for working CPU_SET_S])
+ AC_LINK_IFELSE([
+ AC_LANG_PROGRAM([[
+ #include <sched.h>
+ cpu_set_t *set;
+ ]], [[
+ set = CPU_ALLOC(1024);
+ CPU_ZERO_S(CPU_ALLOC_SIZE(1024), set);
+ CPU_SET_S(CPU_ALLOC_SIZE(1024), 0, set);
+ CPU_FREE(set);
+ ]])],
+ [AC_DEFINE([HWLOC_HAVE_CPU_SET_S], [1], [Define to 1 if the CPU_SET_S macro works])
+ AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])])
+
+ AC_MSG_CHECKING([for working syscall])
+ AC_LINK_IFELSE([
+ AC_LANG_PROGRAM([[
+ #include <unistd.h>
+ #include <sys/syscall.h>
+ ]], [[syscall(1, 2, 3);]])],
+ [AC_DEFINE([HWLOC_HAVE_SYSCALL], [1], [Define to 1 if function `syscall' is available])
+ AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])])
+
+ # Check for kerrighed, but don't abort if not found. It's illegal
+ # to pass in an empty 3rd argument, but we trust the output of
+ # pkg-config, so just give it a value that will always work:
+ # printf.
+ HWLOC_PKG_CHECK_MODULES([KERRIGHED], [kerrighed >= 2.0], [printf], [stdio.h], [], [:])
+
+ AC_PATH_PROGS([HWLOC_MS_LIB], [lib])
+ AC_ARG_VAR([HWLOC_MS_LIB], [Path to Microsoft's Visual Studio `lib' tool])
+
+ AC_PATH_PROG([BASH], [bash])
+
+ AC_CHECK_FUNCS([ffs], [
+ _HWLOC_CHECK_DECL([ffs],[
+ AC_DEFINE([HWLOC_HAVE_DECL_FFS], [1], [Define to 1 if function `ffs' is declared by system headers])
+ ])
+ AC_DEFINE([HWLOC_HAVE_FFS], [1], [Define to 1 if you have the `ffs' function.])
+ if ( $CC --version | grep gccfss ) >/dev/null 2>&1 ; then
+ dnl May be broken due to
+ dnl https://forums.oracle.com/forums/thread.jspa?threadID=1997328
+ dnl TODO: a more selective test, since bug may be version dependent.
+ dnl We can't use AC_TRY_LINK because the failure does not appear until
+ dnl run/load time and there is currently no precedent for AC_TRY_RUN
+ dnl use in hwloc. --PHH
+ dnl For now, we're going with "all gccfss compilers are broken".
+ dnl Better to be safe and correct; it's not like this is
+ dnl performance-critical code, after all.
+ AC_DEFINE([HWLOC_HAVE_BROKEN_FFS], [1],
+ [Define to 1 if your `ffs' function is known to be broken.])
+ fi
+ ])
+ AC_CHECK_FUNCS([ffsl], [
+ _HWLOC_CHECK_DECL([ffsl],[
+ AC_DEFINE([HWLOC_HAVE_DECL_FFSL], [1], [Define to 1 if function `ffsl' is declared by system headers])
+ ])
+ AC_DEFINE([HWLOC_HAVE_FFSL], [1], [Define to 1 if you have the `ffsl' function.])
+ ])
+
+ AC_CHECK_FUNCS([fls], [
+ _HWLOC_CHECK_DECL([fls],[
+ AC_DEFINE([HWLOC_HAVE_DECL_FLS], [1], [Define to 1 if function `fls' is declared by system headers])
+ ])
+ AC_DEFINE([HWLOC_HAVE_FLS], [1], [Define to 1 if you have the `fls' function.])
+ ])
+ AC_CHECK_FUNCS([flsl], [
+ _HWLOC_CHECK_DECL([flsl],[
+ AC_DEFINE([HWLOC_HAVE_DECL_FLSL], [1], [Define to 1 if function `flsl' is declared by system headers])
+ ])
+ AC_DEFINE([HWLOC_HAVE_FLSL], [1], [Define to 1 if you have the `flsl' function.])
+ ])
+
+ AC_CHECK_FUNCS([clz], [
+ _HWLOC_CHECK_DECL([clz],[
+ AC_DEFINE([HWLOC_HAVE_DECL_CLZ], [1], [Define to 1 if function `clz' is declared by system headers])
+ ])
+ AC_DEFINE([HWLOC_HAVE_CLZ], [1], [Define to 1 if you have the `clz' function.])
+ ])
+ AC_CHECK_FUNCS([clzl], [
+ _HWLOC_CHECK_DECL([clzl],[
+ AC_DEFINE([HWLOC_HAVE_DECL_CLZL], [1], [Define to 1 if function `clzl' is declared by system headers])
+ ])
+ AC_DEFINE([HWLOC_HAVE_CLZL], [1], [Define to 1 if you have the `clzl' function.])
+ ])
+
+ AS_IF([test "$hwloc_c_vendor" != "android"], [AC_CHECK_FUNCS([openat], [hwloc_have_openat=yes])])
+
+
+ AC_CHECK_HEADERS([malloc.h])
+ AC_CHECK_FUNCS([getpagesize memalign posix_memalign])
+
+ AC_CHECK_HEADERS([sys/utsname.h])
+ AC_CHECK_FUNCS([uname])
+
+ dnl Don't check for valgrind in embedded mode because this may conflict
+ dnl with the embedder projects also checking for it.
+ dnl We only use Valgrind to nicely disable the x86 backend with a warning,
+ dnl but we can live without it in embedded mode (it auto-disables itself
+ dnl because of invalid CPUID outputs).
+ dnl Non-embedded checks usually go to hwloc_internal.m4 but this one is
+ dnl is really for the core library.
+ AS_IF([test "$hwloc_mode" != "embedded"],
+ [AC_CHECK_HEADERS([valgrind/valgrind.h])
+ AC_CHECK_DECLS([RUNNING_ON_VALGRIND],,[:],[[#include <valgrind/valgrind.h>]])
+ ],[
+ AC_DEFINE([HAVE_DECL_RUNNING_ON_VALGRIND], [0], [Embedded mode; just assume we do not have Valgrind support])
+ ])
+
+ AC_CHECK_HEADERS([pthread_np.h])
+ AC_CHECK_DECLS([pthread_setaffinity_np],,[:],[[
+ #include <pthread.h>
+ #ifdef HAVE_PTHREAD_NP_H
+ # include <pthread_np.h>
+ #endif
+ ]])
+ AC_CHECK_DECLS([pthread_getaffinity_np],,[:],[[
+ #include <pthread.h>
+ #ifdef HAVE_PTHREAD_NP_H
+ # include <pthread_np.h>
+ #endif
+ ]])
+ AC_CHECK_FUNC([sched_setaffinity], [hwloc_have_sched_setaffinity=yes])
+ AC_CHECK_HEADERS([sys/cpuset.h],,,[[#include <sys/param.h>]])
+ AC_CHECK_FUNCS([cpuset_setaffinity])
+ AC_SEARCH_LIBS([pthread_getthrds_np], [pthread],
+ AC_DEFINE([HWLOC_HAVE_PTHREAD_GETTHRDS_NP], 1, `Define to 1 if you have pthread_getthrds_np')
+ )
+ AC_CHECK_FUNCS([cpuset_setid])
+
+ # Linux libnuma support
+ hwloc_linux_libnuma_happy=no
+ if test "x$enable_libnuma" != "xno"; then
+ hwloc_linux_libnuma_happy=yes
+ AC_CHECK_HEADERS([numaif.h], [
+ AC_CHECK_LIB([numa], [numa_available], [HWLOC_LINUX_LIBNUMA_LIBS="-lnuma"], [hwloc_linux_libnuma_happy=no])
+ ], [hwloc_linux_libnuma_happy=no])
+ fi
+ AC_SUBST(HWLOC_LINUX_LIBNUMA_LIBS)
+ # If we asked for Linux libnuma support but couldn't deliver, fail
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_LINUX_LIBNUMA_LIBS"
+ AS_IF([test "$enable_libnuma" = "yes" -a "$hwloc_linux_libnuma_happy" = "no"],
+ [AC_MSG_WARN([Specified --enable-libnuma switch, but could not])
+ AC_MSG_WARN([find appropriate support])
+ AC_MSG_ERROR([Cannot continue])])
+ if test "x$hwloc_linux_libnuma_happy" = "xyes"; then
+ tmp_save_LIBS="$LIBS"
+ LIBS="$LIBS $HWLOC_LINUX_LIBNUMA_LIBS"
+
+ AC_CHECK_LIB([numa], [set_mempolicy], [
+ enable_set_mempolicy=yes
+ AC_DEFINE([HWLOC_HAVE_SET_MEMPOLICY], [1], [Define to 1 if set_mempolicy is available.])
+ ])
+ AC_CHECK_LIB([numa], [mbind], [
+ enable_mbind=yes
+ AC_DEFINE([HWLOC_HAVE_MBIND], [1], [Define to 1 if mbind is available.])
+ ])
+ AC_CHECK_LIB([numa], [migrate_pages], [
+ enable_migrate_pages=yes
+ AC_DEFINE([HWLOC_HAVE_MIGRATE_PAGES], [1], [Define to 1 if migrate_pages is available.])
+ ])
+ AC_CHECK_LIB([numa], [move_pages], [
+ AC_DEFINE([HWLOC_HAVE_MOVE_PAGES], [1], [Define to 1 if move_pages is available.])
+ ])
+
+ LIBS="$tmp_save_LIBS"
+ fi
+
+ # Linux libudev support
+ if test "x$enable_libudev" != xno; then
+ AC_CHECK_HEADERS([libudev.h], [
+ AC_CHECK_LIB([udev], [udev_device_new_from_subsystem_sysname], [
+ HWLOC_LIBS="$HWLOC_LIBS -ludev"
+ AC_DEFINE([HWLOC_HAVE_LIBUDEV], [1], [Define to 1 if you have libudev.])
+ ])
+ ])
+ fi
+
+ # PCI support via libpciaccess. NOTE: we do not support
+ # libpci/pciutils because that library is GPL and is incompatible
+ # with our BSD license.
+ hwloc_pci_happy=no
+ if test "x$enable_pci" != xno; then
+ hwloc_pci_happy=yes
+ HWLOC_PKG_CHECK_MODULES([PCIACCESS], [pciaccess], [pci_slot_match_iterator_create], [pciaccess.h], [:], [hwloc_pci_happy=no])
+
+ # Only add the REQUIRES if we got pciaccess through pkg-config.
+ # Otherwise we don't know if pciaccess.pc is installed
+ AS_IF([test "$hwloc_pci_happy" = "yes"], [HWLOC_PCIACCESS_REQUIRES=pciaccess])
+
+ # Just for giggles, if we didn't find a pciaccess pkg-config,
+ # just try looking for its header file and library.
+ AS_IF([test "$hwloc_pci_happy" != "yes"],
+ [AC_CHECK_HEADER([pciaccess.h],
+ [AC_CHECK_LIB([pciaccess], [pci_slot_match_iterator_create],
+ [hwloc_pci_happy=yes
+ HWLOC_PCIACCESS_LIBS="-lpciaccess"])
+ ])
+ ])
+
+ AS_IF([test "$hwloc_pci_happy" = "yes"],
+ [hwloc_pci_lib=pciaccess
+ hwloc_components="$hwloc_components pci"
+ hwloc_pci_component_maybeplugin=1])
+ fi
+ # If we asked for pci support but couldn't deliver, fail
+ AS_IF([test "$enable_pci" = "yes" -a "$hwloc_pci_happy" = "no"],
+ [AC_MSG_WARN([Specified --enable-pci switch, but could not])
+ AC_MSG_WARN([find appropriate support])
+ AC_MSG_ERROR([Cannot continue])])
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # OpenCL support
+ hwloc_opencl_happy=no
+ if test "x$enable_opencl" != "xno"; then
+ hwloc_opencl_happy=yes
+ case ${target} in
+ *-*-darwin*)
+ # On Darwin, only use the OpenCL framework
+ AC_CHECK_HEADERS([OpenCL/cl_ext.h], [
+ AC_MSG_CHECKING([for the OpenCL framework])
+ tmp_save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -framework OpenCL"
+ AC_LINK_IFELSE([
+ AC_LANG_PROGRAM([[
+#include <OpenCL/opencl.h>
+ ]], [[
+return clGetDeviceIDs(0, 0, 0, NULL, NULL);
+ ]])],
+ [AC_MSG_RESULT(yes)
+ HWLOC_OPENCL_LDFLAGS="-framework OpenCL"],
+ [AC_MSG_RESULT(no)
+ hwloc_opencl_happy=no])
+ LDFLAGS="$tmp_save_LDFLAGS"
+ ], [hwloc_opencl_happy=no])
+ ;;
+ *)
+ # On Others, look for OpenCL at normal locations
+ AC_CHECK_HEADERS([CL/cl_ext.h], [
+ AC_CHECK_LIB([OpenCL], [clGetDeviceIDs], [HWLOC_OPENCL_LIBS="-lOpenCL"], [hwloc_opencl_happy=no])
+ ], [hwloc_opencl_happy=no])
+ ;;
+ esac
+ fi
+ AC_SUBST(HWLOC_OPENCL_CFLAGS)
+ AC_SUBST(HWLOC_OPENCL_LIBS)
+ AC_SUBST(HWLOC_OPENCL_LDFLAGS)
+ # Check if required extensions are available
+ if test "x$hwloc_opencl_happy" = "xyes"; then
+ tmp_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $HWLOC_OPENCL_CFLAGS"
+ tmp_save_LIBS="$LIBS"
+ LIBS="$LIBS $HWLOC_OPENCL_LIBS"
+ AC_CHECK_DECLS([CL_DEVICE_TOPOLOGY_AMD],[hwloc_opencl_amd_happy=yes],[:],[[#include <CL/cl_ext.h>]])
+ CFLAGS="$tmp_save_CFLAGS"
+ LIBS="$tmp_save_LIBS"
+ # We can't do anything without CL_DEVICE_TOPOLOGY_AMD so far, so disable OpenCL entirely if not found
+ test "x$hwloc_opencl_amd_happy" != "xyes" && hwloc_opencl_happy=no
+ fi
+ # If we asked for opencl support but couldn't deliver, fail
+ AS_IF([test "$enable_opencl" = "yes" -a "$hwloc_opencl_happy" = "no"],
+ [AC_MSG_WARN([Specified --enable-opencl switch, but could not])
+ AC_MSG_WARN([find appropriate support])
+ AC_MSG_ERROR([Cannot continue])])
+ if test "x$hwloc_opencl_happy" = "xyes"; then
+ AC_DEFINE([HWLOC_HAVE_OPENCL], [1], [Define to 1 if you have the `OpenCL' library.])
+ AC_SUBST([HWLOC_HAVE_OPENCL], [1])
+ hwloc_components="$hwloc_components opencl"
+ hwloc_opencl_component_maybeplugin=1
+ else
+ AC_SUBST([HWLOC_HAVE_OPENCL], [0])
+ fi
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # CUDA support
+ hwloc_have_cuda=no
+ hwloc_have_cudart=no
+ if test "x$enable_cuda" != "xno"; then
+ AC_CHECK_HEADERS([cuda.h], [
+ AC_MSG_CHECKING(if CUDA_VERSION >= 3020)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <cuda.h>
+#ifndef CUDA_VERSION
+#error CUDA_VERSION undefined
+#elif CUDA_VERSION < 3020
+#error CUDA_VERSION too old
+#endif]], [[int i = 3;]])],
+ [AC_MSG_RESULT(yes)
+ AC_CHECK_LIB([cuda], [cuInit],
+ [AC_DEFINE([HAVE_CUDA], 1, [Define to 1 if we have -lcuda])
+ hwloc_have_cuda=yes])],
+ [AC_MSG_RESULT(no)])])
+
+ AC_CHECK_HEADERS([cuda_runtime_api.h], [
+ AC_MSG_CHECKING(if CUDART_VERSION >= 3020)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <cuda_runtime_api.h>
+#ifndef CUDART_VERSION
+#error CUDART_VERSION undefined
+#elif CUDART_VERSION < 3020
+#error CUDART_VERSION too old
+#endif]], [[int i = 3;]])],
+ [AC_MSG_RESULT(yes)
+ AC_CHECK_LIB([cudart], [cudaGetDeviceProperties], [
+ HWLOC_CUDA_LIBS="-lcudart"
+ AC_SUBST(HWLOC_CUDA_LIBS)
+ hwloc_have_cudart=yes
+ AC_DEFINE([HWLOC_HAVE_CUDART], [1], [Define to 1 if you have the `cudart' SDK.])
+ ])
+ ])
+ ])
+
+ AS_IF([test "$enable_cuda" = "yes" -a "$hwloc_have_cudart" = "no"],
+ [AC_MSG_WARN([Specified --enable-cuda switch, but could not])
+ AC_MSG_WARN([find appropriate support])
+ AC_MSG_ERROR([Cannot continue])])
+
+ if test "x$hwloc_have_cudart" = "xyes"; then
+ hwloc_components="$hwloc_components cuda"
+ hwloc_cuda_component_maybeplugin=1
+ fi
+ fi
+ # don't add LIBS/CFLAGS yet, depends on plugins
+
+ # NVML support
+ hwloc_nvml_happy=no
+ if test "x$enable_nvml" != "xno"; then
+ hwloc_nvml_happy=yes
+ AC_CHECK_HEADERS([nvml.h], [
+ AC_CHECK_LIB([nvidia-ml], [nvmlInit], [HWLOC_NVML_LIBS="-lnvidia-ml"], [hwloc_nvml_happy=no])
+ ], [hwloc_nvml_happy=no])
+ fi
+ if test "x$hwloc_nvml_happy" = "xyes"; then
+ tmp_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $HWLOC_NVML_CFLAGS"
+ tmp_save_LIBS="$LIBS"
+ LIBS="$LIBS $HWLOC_NVML_LIBS"
+ AC_CHECK_DECLS([nvmlDeviceGetMaxPcieLinkGeneration],,[:],[[#include <nvml.h>]])
+ CFLAGS="$tmp_save_CFLAGS"
+ LIBS="$tmp_save_LIBS"
+ fi
+ AC_SUBST(HWLOC_NVML_LIBS)
+ # If we asked for nvml support but couldn't deliver, fail
+ AS_IF([test "$enable_nvml" = "yes" -a "$hwloc_nvml_happy" = "no"],
+ [AC_MSG_WARN([Specified --enable-nvml switch, but could not])
+ AC_MSG_WARN([find appropriate support])
+ AC_MSG_ERROR([Cannot continue])])
+ if test "x$hwloc_nvml_happy" = "xyes"; then
+ AC_DEFINE([HWLOC_HAVE_NVML], [1], [Define to 1 if you have the `NVML' library.])
+ AC_SUBST([HWLOC_HAVE_NVML], [1])
+ hwloc_components="$hwloc_components nvml"
+ hwloc_nvml_component_maybeplugin=1
+ else
+ AC_SUBST([HWLOC_HAVE_NVML], [0])
+ fi
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # X11 support
+ AC_PATH_XTRA
+
+ CPPFLAGS_save=$CPPFLAGS
+ LIBS_save=$LIBS
+
+ CPPFLAGS="$CPPFLAGS $X_CFLAGS"
+ LIBS="$LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS"
+ AC_CHECK_HEADERS([X11/Xlib.h],
+ [AC_CHECK_LIB([X11], [XOpenDisplay],
+ [
+ # the GL backend just needs XOpenDisplay
+ hwloc_enable_X11=yes
+ # lstopo needs more
+ AC_CHECK_HEADERS([X11/Xutil.h],
+ [AC_CHECK_HEADERS([X11/keysym.h],
+ [AC_DEFINE([HWLOC_HAVE_X11_KEYSYM], [1], [Define to 1 if X11 headers including Xutil.h and keysym.h are available.])
+ HWLOC_X11_CPPFLAGS="$X_CFLAGS"
+ AC_SUBST([HWLOC_X11_CPPFLAGS])
+ HWLOC_X11_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
+ AC_SUBST([HWLOC_X11_LIBS])])
+ ], [], [#include <X11/Xlib.h>])
+ ])
+ ])
+ CPPFLAGS=$CPPFLAGS_save
+ LIBS=$LIBS_save
+
+ # GL Support
+ hwloc_gl_happy=no
+ if test "x$enable_gl" != "xno"; then
+ hwloc_gl_happy=yes
+
+ AS_IF([test "$hwloc_enable_X11" != "yes"],
+ [AC_MSG_WARN([X11 not found; GL disabled])
+ hwloc_gl_happy=no])
+
+ AC_CHECK_HEADERS([NVCtrl/NVCtrl.h], [
+ AC_CHECK_LIB([XNVCtrl], [XNVCTRLQueryTargetAttribute], [:], [hwloc_gl_happy=no], [-lXext])
+ ], [hwloc_gl_happy=no])
+
+ if test "x$hwloc_gl_happy" = "xyes"; then
+ AC_DEFINE([HWLOC_HAVE_GL], [1], [Define to 1 if you have the GL module components.])
+ HWLOC_GL_LIBS="-lXNVCtrl -lXext -lX11"
+ AC_SUBST(HWLOC_GL_LIBS)
+ # FIXME we actually don't know if xext.pc and x11.pc are installed
+ # since we didn't look for Xext and X11 using pkg-config
+ HWLOC_GL_REQUIRES="xext x11"
+ hwloc_have_gl=yes
+ hwloc_components="$hwloc_components gl"
+ hwloc_gl_component_maybeplugin=1
+ else
+ AS_IF([test "$enable_gl" = "yes"], [
+ AC_MSG_WARN([Specified --enable-gl switch, but could not])
+ AC_MSG_WARN([find appropriate support])
+ AC_MSG_ERROR([Cannot continue])
+ ])
+ fi
+ fi
+ # don't add LIBS/CFLAGS yet, depends on plugins
+
+ # libxml2 support
+ hwloc_libxml2_happy=
+ if test "x$enable_libxml2" != "xno"; then
+ HWLOC_PKG_CHECK_MODULES([LIBXML2], [libxml-2.0], [xmlNewDoc], [libxml/parser.h],
+ [hwloc_libxml2_happy=yes],
+ [hwloc_libxml2_happy=no])
+ fi
+ if test "x$hwloc_libxml2_happy" = "xyes"; then
+ HWLOC_LIBXML2_REQUIRES="libxml-2.0"
+ AC_DEFINE([HWLOC_HAVE_LIBXML2], [1], [Define to 1 if you have the `libxml2' library.])
+ AC_SUBST([HWLOC_HAVE_LIBXML2], [1])
+
+ hwloc_components="$hwloc_components xml_libxml"
+ hwloc_xml_libxml_component_maybeplugin=1
+ else
+ AC_SUBST([HWLOC_HAVE_LIBXML2], [0])
+ AS_IF([test "$enable_libxml2" = "yes"],
+ [AC_MSG_WARN([--enable-libxml2 requested, but libxml2 was not found])
+ AC_MSG_ERROR([Cannot continue])])
+ fi
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # Try to compile the x86 cpuid inlines
+ if test "x$enable_cpuid" != "xno"; then
+ AC_MSG_CHECKING([for x86 cpuid])
+ old_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -I$HWLOC_top_srcdir/include"
+ # We need hwloc_uint64_t but we can't use hwloc/autogen/config.h before configure ends.
+ # So pass #include/#define manually here for now.
+ CPUID_CHECK_HEADERS=
+ CPUID_CHECK_DEFINE=
+ if test "x$hwloc_windows" = xyes; then
+ X86_CPUID_CHECK_HEADERS="#include <windows.h>"
+ X86_CPUID_CHECK_DEFINE="#define hwloc_uint64_t DWORDLONG"
+ else
+ X86_CPUID_CHECK_DEFINE="#define hwloc_uint64_t uint64_t"
+ if test "x$ac_cv_header_stdint_h" = xyes; then
+ X86_CPUID_CHECK_HEADERS="#include <stdint.h>"
+ fi
+ fi
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+ #include <stdio.h>
+ $X86_CPUID_CHECK_HEADERS
+ $X86_CPUID_CHECK_DEFINE
+ #define __hwloc_inline
+ #include <private/cpuid-x86.h>
+ ]], [[
+ if (hwloc_have_x86_cpuid()) {
+ unsigned eax = 0, ebx, ecx = 0, edx;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ printf("highest x86 cpuid %x\n", eax);
+ return 0;
+ }
+ ]])],
+ [AC_MSG_RESULT([yes])
+ AC_DEFINE(HWLOC_HAVE_X86_CPUID, 1, [Define to 1 if you have x86 cpuid])
+ hwloc_have_x86_cpuid=yes],
+ [AC_MSG_RESULT([no])])
+ if test "x$hwloc_have_x86_cpuid" = xyes; then
+ hwloc_components="$hwloc_components x86"
+ fi
+ CPPFLAGS="$old_CPPFLAGS"
+ fi
+
+ # Components require pthread_mutex, see if it needs -lpthread
+ hwloc_pthread_mutex_happy=no
+ # Try without explicit -lpthread first
+ AC_CHECK_FUNC([pthread_mutex_lock],
+ [hwloc_pthread_mutex_happy=yes
+ HWLOC_LIBS_PRIVATE="$HWLOC_LIBS_PRIVATE -lpthread"
+ ],
+ [AC_MSG_CHECKING([for pthread_mutex_lock with -lpthread])
+ # Try again with explicit -lpthread, but don't use AC_CHECK_FUNC to avoid the cache
+ tmp_save_LIBS=$LIBS
+ LIBS="$LIBS -lpthread"
+ AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_mutex_lock])],
+ [hwloc_pthread_mutex_happy=yes
+ HWLOC_LIBS="$HWLOC_LIBS -lpthread"
+ ])
+ AC_MSG_RESULT([$hwloc_pthread_mutex_happy])
+ LIBS="$tmp_save_LIBS"
+ ])
+ AS_IF([test "x$hwloc_pthread_mutex_happy" = "xyes"],
+ [AC_DEFINE([HWLOC_HAVE_PTHREAD_MUTEX], 1, [Define to 1 if pthread mutexes are available])])
+
+ AS_IF([test "x$hwloc_pthread_mutex_happy" != xyes -a "x$hwloc_windows" != xyes],
+ [AC_MSG_WARN([pthread_mutex_lock not available, required for thread-safe initialization on non-Windows platforms.])
+ AC_MSG_WARN([Please report this to the hwloc-devel mailing list.])
+ AC_MSG_ERROR([Cannot continue])])
+
+ #
+ # Now enable registration of listed components
+ #
+
+ # Plugin support
+ AC_MSG_CHECKING([if plugin support is enabled])
+ # Plugins (even core support) are totally disabled by default
+ AS_IF([test "x$enable_plugins" = "x"], [enable_plugins=no])
+ AS_IF([test "x$enable_plugins" != "xno"], [hwloc_have_plugins=yes], [hwloc_have_plugins=no])
+ AC_MSG_RESULT([$hwloc_have_plugins])
+ AS_IF([test "x$hwloc_have_plugins" = "xyes"],
+ [AC_DEFINE([HWLOC_HAVE_PLUGINS], 1, [Define to 1 if the hwloc library should support dynamically-loaded plugins])])
+
+ # Some sanity checks about plugins
+ # libltdl doesn't work on AIX as of 2.4.2
+ AS_IF([test "x$enable_plugins" = "xyes" -a "x$hwloc_aix" = "xyes"],
+ [AC_MSG_WARN([libltdl does not work on AIX, plugins support cannot be enabled.])
+ AC_MSG_ERROR([Cannot continue])])
+ # posix linkers don't work well with plugins and windows dll constraints
+ AS_IF([test "x$enable_plugins" = "xyes" -a "x$hwloc_windows" = "xyes"],
+ [AC_MSG_WARN([Plugins not supported on non-native Windows build, plugins support cannot be enabled.])
+ AC_MSG_ERROR([Cannot continue])])
+
+ # If we want plugins, look for ltdl.h and libltdl
+ if test "x$hwloc_have_plugins" = xyes; then
+ AC_CHECK_HEADER([ltdl.h], [],
+ [AC_MSG_WARN([Plugin support requested, but could not find ltdl.h])
+ AC_MSG_ERROR([Cannot continue])])
+ AC_CHECK_LIB([ltdl], [lt_dlopenext],
+ [HWLOC_LIBS="$HWLOC_LIBS -lltdl"],
+ [AC_MSG_WARN([Plugin support requested, but could not find libltdl])
+ AC_MSG_ERROR([Cannot continue])])
+ # Add libltdl static-build dependencies to hwloc.pc
+ HWLOC_CHECK_LTDL_DEPS
+ fi
+
+ AC_ARG_WITH([hwloc-plugins-path],
+ AC_HELP_STRING([--with-hwloc-plugins-path=dir:...],
+ [Colon-separated list of plugin directories. Default: "$prefix/lib/hwloc". Plugins will be installed in the first directory. They will be loaded from all of them, in order.]),
+ [HWLOC_PLUGINS_PATH="$with_hwloc_plugins_path"],
+ [HWLOC_PLUGINS_PATH="\$(libdir)/hwloc"])
+ AC_SUBST(HWLOC_PLUGINS_PATH)
+ HWLOC_PLUGINS_DIR=`echo "$HWLOC_PLUGINS_PATH" | cut -d: -f1`
+ AC_SUBST(HWLOC_PLUGINS_DIR)
+
+ # Static components output file
+ hwloc_static_components_dir=${HWLOC_top_builddir}/src
+ mkdir -p ${hwloc_static_components_dir}
+ hwloc_static_components_file=${hwloc_static_components_dir}/static-components.h
+ rm -f ${hwloc_static_components_file}
+
+ # Make $enable_plugins easier to use (it contains either "yes" (all) or a list of <name>)
+ HWLOC_PREPARE_FILTER_COMPONENTS([$enable_plugins])
+ # Now we have some hwloc_<name>_component_wantplugin=1
+
+ # See which core components want plugin and support it
+ HWLOC_FILTER_COMPONENTS
+ # Now we have some hwloc_<name>_component=plugin/static
+ # and hwloc_static/plugin_components
+ AC_MSG_CHECKING([components to build statically])
+ AC_MSG_RESULT($hwloc_static_components)
+ HWLOC_LIST_STATIC_COMPONENTS([$hwloc_static_components_file], [$hwloc_static_components])
+ AC_MSG_CHECKING([components to build as plugins])
+ AC_MSG_RESULT([$hwloc_plugin_components])
+
+ AS_IF([test "$hwloc_pci_component" = "static"],
+ [HWLOC_LIBS="$HWLOC_LIBS $HWLOC_PCIACCESS_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_PCIACCESS_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_PCIACCESS_REQUIRES $HWLOC_REQUIRES"])
+ AS_IF([test "$hwloc_opencl_component" = "static"],
+ [HWLOC_LIBS="$HWLOC_LIBS $HWLOC_OPENCL_LIBS"
+ HWLOC_LDFLAGS="$HWLOC_LDFLAGS $HWLOC_OPENCL_LDFLAGS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_OPENCL_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_OPENCL_REQUIRES $HWLOC_REQUIRES"])
+ AS_IF([test "$hwloc_cuda_component" = "static"],
+ [HWLOC_LIBS="$HWLOC_LIBS $HWLOC_CUDA_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_CUDA_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_CUDA_REQUIRES $HWLOC_REQUIRES"])
+ AS_IF([test "$hwloc_nvml_component" = "static"],
+ [HWLOC_LIBS="$HWLOC_LIBS $HWLOC_NVML_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_NVML_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_NVML_REQUIRES $HWLOC_REQUIRES"])
+ AS_IF([test "$hwloc_gl_component" = "static"],
+ [HWLOC_LIBS="$HWLOC_LIBS $HWLOC_GL_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_GL_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_GL_REQUIRES $HWLOC_REQUIRES"])
+ AS_IF([test "$hwloc_xml_libxml_component" = "static"],
+ [HWLOC_LIBS="$HWLOC_LIBS $HWLOC_LIBXML2_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_LIBXML2_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_LIBXML2_REQUIRES $HWLOC_REQUIRES"])
+
+ #
+ # Setup HWLOC's C, CPP, and LD flags, and LIBS
+ #
+ AC_SUBST(HWLOC_REQUIRES)
+ AC_SUBST(HWLOC_CFLAGS)
+ HWLOC_CPPFLAGS='-I$(HWLOC_top_builddir)/include -I$(HWLOC_top_srcdir)/include'
+ AC_SUBST(HWLOC_CPPFLAGS)
+ AC_SUBST(HWLOC_LDFLAGS)
+ AC_SUBST(HWLOC_LIBS)
+ AC_SUBST(HWLOC_LIBS_PRIVATE)
+
+ # Set these values explicitly for embedded builds. Exporting
+ # these values through *_EMBEDDED_* values gives us the freedom to
+ # do something different someday if we ever need to. There's no
+ # need to fill these values in unless we're in embedded mode.
+ # Indeed, if we're building in embedded mode, we want HWLOC_LIBS
+ # to be empty so that nothing is linked into libhwloc_embedded.la
+ # itself -- only the upper-layer will link in anything required.
+
+ AS_IF([test "$hwloc_mode" = "embedded"],
+ [HWLOC_EMBEDDED_CFLAGS=$HWLOC_CFLAGS
+ HWLOC_EMBEDDED_CPPFLAGS=$HWLOC_CPPFLAGS
+ HWLOC_EMBEDDED_LDFLAGS=$HWLOC_LDFLAGS
+ HWLOC_EMBEDDED_LDADD='$(HWLOC_top_builddir)/src/libhwloc_embedded.la'
+ HWLOC_EMBEDDED_LIBS=$HWLOC_LIBS
+ HWLOC_LIBS=])
+ AC_SUBST(HWLOC_EMBEDDED_CFLAGS)
+ AC_SUBST(HWLOC_EMBEDDED_CPPFLAGS)
+ AC_SUBST(HWLOC_EMBEDDED_LDFLAGS)
+ AC_SUBST(HWLOC_EMBEDDED_LDADD)
+ AC_SUBST(HWLOC_EMBEDDED_LIBS)
+
+ # Always generate these files
+ AC_CONFIG_FILES(
+ hwloc_config_prefix[Makefile]
+ hwloc_config_prefix[include/Makefile]
+ hwloc_config_prefix[src/Makefile ]
+ )
+
+ # Cleanup
+ AC_LANG_POP
+
+ # Success
+ $2
+])dnl
+
+#-----------------------------------------------------------------------
+
+# Specify the symbol prefix
+AC_DEFUN([HWLOC_SET_SYMBOL_PREFIX],[
+ hwloc_symbol_prefix_value=$1
+])dnl
+
+#-----------------------------------------------------------------------
+
+# This must be a standalone routine so that it can be called both by
+# HWLOC_INIT and an external caller (if HWLOC_INIT is not invoked).
+AC_DEFUN([HWLOC_DO_AM_CONDITIONALS],[
+ AS_IF([test "$hwloc_did_am_conditionals" != "yes"],[
+ AM_CONDITIONAL([HWLOC_BUILD_STANDALONE], [test "$hwloc_mode" = "standalone"])
+
+ AM_CONDITIONAL([HWLOC_HAVE_GCC], [test "x$GCC" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_MS_LIB], [test "x$HWLOC_MS_LIB" != "x"])
+ AM_CONDITIONAL([HWLOC_HAVE_OPENAT], [test "x$hwloc_have_openat" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_LINUX_LIBNUMA],
+ [test "x$hwloc_have_linux_libnuma" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_SCHED_SETAFFINITY],
+ [test "x$hwloc_have_sched_setaffinity" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_PTHREAD],
+ [test "x$hwloc_have_pthread" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_LIBIBVERBS],
+ [test "x$hwloc_have_libibverbs" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_CUDA],
+ [test "x$hwloc_have_cuda" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_GL],
+ [test "x$hwloc_have_gl" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_MYRIEXPRESS],
+ [test "x$hwloc_have_myriexpress" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_CUDART],
+ [test "x$hwloc_have_cudart" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_LIBXML2], [test "$hwloc_libxml2_happy" = "yes"])
+ AM_CONDITIONAL([HWLOC_HAVE_CAIRO], [test "$hwloc_cairo_happy" = "yes"])
+ AM_CONDITIONAL([HWLOC_HAVE_PCI], [test "$hwloc_pci_happy" = "yes"])
+ AM_CONDITIONAL([HWLOC_HAVE_OPENCL], [test "$hwloc_opencl_happy" = "yes"])
+ AM_CONDITIONAL([HWLOC_HAVE_NVML], [test "$hwloc_nvml_happy" = "yes"])
+ AM_CONDITIONAL([HWLOC_HAVE_SET_MEMPOLICY], [test "x$enable_set_mempolicy" != "xno"])
+ AM_CONDITIONAL([HWLOC_HAVE_MBIND], [test "x$enable_mbind" != "xno"])
+ AM_CONDITIONAL([HWLOC_HAVE_BUNZIPP], [test "x$BUNZIPP" != "xfalse"])
+ AM_CONDITIONAL([HWLOC_HAVE_USER32], [test "x$hwloc_have_user32" = "xyes"])
+
+ AM_CONDITIONAL([HWLOC_BUILD_DOXYGEN],
+ [test "x$hwloc_generate_doxs" = "xyes"])
+ AM_CONDITIONAL([HWLOC_BUILD_README],
+ [test "x$hwloc_generate_readme" = "xyes" -a \( "x$hwloc_install_doxs" = "xyes" -o "x$hwloc_generate_doxs" = "xyes" \) ])
+ AM_CONDITIONAL([HWLOC_INSTALL_DOXYGEN],
+ [test "x$hwloc_install_doxs" = "xyes"])
+
+ AM_CONDITIONAL([HWLOC_HAVE_LINUX], [test "x$hwloc_linux" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_BGQ], [test "x$hwloc_bgq" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_IRIX], [test "x$hwloc_irix" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_DARWIN], [test "x$hwloc_darwin" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_FREEBSD], [test "x$hwloc_freebsd" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_NETBSD], [test "x$hwloc_netbsd" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_SOLARIS], [test "x$hwloc_solaris" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_AIX], [test "x$hwloc_aix" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_OSF], [test "x$hwloc_osf" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_HPUX], [test "x$hwloc_hpux" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_WINDOWS], [test "x$hwloc_windows" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_MINGW32], [test "x$target_os" = "xmingw32"])
+
+ AM_CONDITIONAL([HWLOC_HAVE_X86], [test "x$hwloc_x86_32" = "xyes" -o "x$hwloc_x86_64" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_X86_32], [test "x$hwloc_x86_32" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_X86_64], [test "x$hwloc_x86_64" = "xyes"])
+ AM_CONDITIONAL([HWLOC_HAVE_X86_CPUID], [test "x$hwloc_have_x86_cpuid" = "xyes"])
+
+ AM_CONDITIONAL([HWLOC_HAVE_PLUGINS], [test "x$hwloc_have_plugins" = "xyes"])
+ AM_CONDITIONAL([HWLOC_PCI_BUILD_STATIC], [test "x$hwloc_pci_component" = "xstatic"])
+ AM_CONDITIONAL([HWLOC_OPENCL_BUILD_STATIC], [test "x$hwloc_opencl_component" = "xstatic"])
+ AM_CONDITIONAL([HWLOC_CUDA_BUILD_STATIC], [test "x$hwloc_cuda_component" = "xstatic"])
+ AM_CONDITIONAL([HWLOC_NVML_BUILD_STATIC], [test "x$hwloc_nvml_component" = "xstatic"])
+ AM_CONDITIONAL([HWLOC_GL_BUILD_STATIC], [test "x$hwloc_gl_component" = "xstatic"])
+ AM_CONDITIONAL([HWLOC_XML_LIBXML_BUILD_STATIC], [test "x$hwloc_xml_libxml_component" = "xstatic"])
+
+ AM_CONDITIONAL([HWLOC_HAVE_CXX], [test "x$hwloc_have_cxx" = "xyes"])
+ ])
+ hwloc_did_am_conditionals=yes
+])dnl
+
+#-----------------------------------------------------------------------
+
+dnl HWLOC_CHECK_DECL
+dnl
+dnl Check that the declaration of the given function has a complete prototype
+dnl with argument list by trying to call it with an insane dnl number of
+dnl arguments (10). Success means the compiler couldn't really check.
+AC_DEFUN([_HWLOC_CHECK_DECL], [
+ AC_CHECK_DECL([$1], [
+ AC_MSG_CHECKING([whether function $1 has a complete prototype])
+ AC_REQUIRE([AC_PROG_CC])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+ [AC_INCLUDES_DEFAULT([$4])],
+ [$1(1,2,3,4,5,6,7,8,9,10);]
+ )],
+ [AC_MSG_RESULT([no])
+ $3],
+ [AC_MSG_RESULT([yes])
+ $2]
+ )], [$3], $4
+ )
+])
+
+#-----------------------------------------------------------------------
+
+dnl HWLOC_CHECK_DECLS
+dnl
+dnl Same as HWLOCK_CHECK_DECL, but defines HAVE_DECL_foo to 1 or 0 depending on
+dnl the result.
+AC_DEFUN([_HWLOC_CHECK_DECLS], [
+ HWLOC_CHECK_DECL([$1], [ac_have_decl=1], [ac_have_decl=0], [$4])
+ AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_$1]), [$ac_have_decl],
+ [Define to 1 if you have the declaration of `$1', and to 0 if you don't])
+])
+
+#-----------------------------------------------------------------------
+
+dnl HWLOC_CHECK_LTDL_DEPS
+dnl
+dnl Add ltdl dependencies to HWLOC_LIBS_PRIVATE
+AC_DEFUN([HWLOC_CHECK_LTDL_DEPS], [
+ # save variables that we'll modify below
+ save_lt_cv_dlopen="$lt_cv_dlopen"
+ save_lt_cv_dlopen_libs="$lt_cv_dlopen_libs"
+ save_lt_cv_dlopen_self="$lt_cv_dlopen_self"
+ ###########################################################
+ # code stolen from LT_SYS_DLOPEN_SELF in libtool.m4
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen="shl_load"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen="dlopen"],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+ # end of code stolen from LT_SYS_DLOPEN_SELF in libtool.m4
+ ###########################################################
+
+ HWLOC_LIBS_PRIVATE="$HWLOC_LIBS_PRIVATE $lt_cv_dlopen_libs"
+
+ # restore modified variable in case the actual libtool code uses them
+ lt_cv_dlopen="$save_lt_cv_dlopen"
+ lt_cv_dlopen_libs="$save_lt_cv_dlopen_libs"
+ lt_cv_dlopen_self="$save_lt_cv_dlopen_self"
+])
--- /dev/null
+# This macro set originally copied from Open MPI:
+# Copyright © 2004-2007 The Trustees of Indiana University and Indiana
+# University Research and Technology
+# Corporation. All rights reserved.
+# Copyright © 2004-2005 The University of Tennessee and The University
+# of Tennessee Research Foundation. All rights
+# reserved.
+# Copyright © 2004-2007 High Performance Computing Center Stuttgart,
+# University of Stuttgart. All rights reserved.
+# Copyright © 2004-2005 The Regents of the University of California.
+# All rights reserved.
+# and renamed for hwloc:
+# Copyright © 2009 Inria. All rights reserved.
+# Copyright © 2009 Université Bordeaux
+# Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# - Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# - Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer listed
+# in this license in the documentation and/or other materials
+# provided with the distribution.
+#
+# - Neither the name of the copyright holders nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# The copyright holders provide no reassurances that the source code
+# provided does not infringe any patent, copyright, or any other
+# intellectual property rights of third parties. The copyright holders
+# disclaim any liability to any recipient for claims brought against
+# recipient by any third party for infringement of that parties
+# intellectual property rights.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+#
+# Search the generated warnings for
+# keywords regarding skipping or ignoring certain attributes
+# Intel: ignore
+# Sun C++: skip
+#
+AC_DEFUN([_HWLOC_ATTRIBUTE_FAIL_SEARCH],[
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+ m4_ifdef([AC_PROG_GREP],
+ [AC_REQUIRE([AC_PROG_GREP])],
+ [GREP=grep])
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__[$1]=0
+ break;
+ fi
+ done
+ fi
+])
+
+#
+# HWLOC: Remove C++ compiler check. It can result in a circular
+# dependency in embedded situations.
+#
+# Check for one specific attribute by compiling with C
+# and possibly using a cross-check.
+#
+# If the cross-check is defined, a static function "usage" should be
+# defined, which is to be called from main (to circumvent warnings
+# regarding unused function in main file)
+# static int usage (int * argument);
+#
+# The last argument is for specific CFLAGS, that need to be set
+# for the compiler to generate a warning on the cross-check.
+# This may need adaption for future compilers / CFLAG-settings.
+#
+AC_DEFUN([_HWLOC_CHECK_SPECIFIC_ATTRIBUTE], [
+ AC_MSG_CHECKING([for __attribute__([$1])])
+ AC_CACHE_VAL(hwloc_cv___attribute__[$1], [
+ #
+ # Try to compile using the C compiler
+ #
+ AC_TRY_COMPILE([$2],[],
+ [
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__[$1]=1
+ _HWLOC_ATTRIBUTE_FAIL_SEARCH([$1])
+ ],
+ [hwloc_cv___attribute__[$1]=0])
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__[$1]" = "1" -a "[$3]" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS [$4]"
+
+ AC_TRY_COMPILE([$3],
+ [
+ int i=4711;
+ i=usage(&i);
+ ],
+ [hwloc_cv___attribute__[$1]=0],
+ [
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__[$1]=1
+ _HWLOC_ATTRIBUTE_FAIL_SEARCH([$1])
+ ])
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+ ])
+
+ if test "$hwloc_cv___attribute__[$1]" = "1" ; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ fi
+])
+
+
+#
+# Test the availability of __attribute__ and with the help
+# of _HWLOC_CHECK_SPECIFIC_ATTRIBUTE for the support of
+# particular attributes. Compilers, that do not support an
+# attribute most often fail with a warning (when the warning
+# level is set).
+# The compilers output is parsed in _HWLOC_ATTRIBUTE_FAIL_SEARCH
+#
+# To add a new attributes __NAME__ add the
+# hwloc_cv___attribute__NAME
+# add a new check with _HWLOC_CHECK_SPECIFIC_ATTRIBUTE (possibly with a cross-check)
+# _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([name], [int foo (int arg) __attribute__ ((__name__));], [], [])
+# and define the corresponding
+# AC_DEFINE_UNQUOTED(_HWLOC_HAVE_ATTRIBUTE_NAME, [$hwloc_cv___attribute__NAME],
+# [Whether your compiler has __attribute__ NAME or not])
+# and decide on a correct macro (in opal/include/opal_config_bottom.h):
+# # define __opal_attribute_NAME(x) __attribute__(__NAME__)
+#
+# Please use the "__"-notation of the attribute in order not to
+# clash with predefined names or macros (e.g. const, which some compilers
+# do not like..)
+#
+
+
+AC_DEFUN([_HWLOC_CHECK_ATTRIBUTES], [
+ AC_MSG_CHECKING(for __attribute__)
+
+ AC_CACHE_VAL(hwloc_cv___attribute__, [
+ AC_TRY_COMPILE(
+ [#include <stdlib.h>
+ /* Check for the longest available __attribute__ (since gcc-2.3) */
+ struct foo {
+ char a;
+ int x[2] __attribute__ ((__packed__));
+ };
+ ],
+ [],
+ [hwloc_cv___attribute__=1],
+ [hwloc_cv___attribute__=0],
+ )
+
+ if test "$hwloc_cv___attribute__" = "1" ; then
+ AC_TRY_COMPILE(
+ [#include <stdlib.h>
+ /* Check for the longest available __attribute__ (since gcc-2.3) */
+ struct foo {
+ char a;
+ int x[2] __attribute__ ((__packed__));
+ };
+ ],
+ [],
+ [hwloc_cv___attribute__=1],
+ [hwloc_cv___attribute__=0],
+ )
+ fi
+ ])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE, [$hwloc_cv___attribute__],
+ [Whether your compiler has __attribute__ or not])
+
+#
+# Now that we know the compiler support __attribute__ let's check which kind of
+# attributed are supported.
+#
+ if test "$hwloc_cv___attribute__" = "0" ; then
+ AC_MSG_RESULT([no])
+ hwloc_cv___attribute__aligned=0
+ hwloc_cv___attribute__always_inline=0
+ hwloc_cv___attribute__cold=0
+ hwloc_cv___attribute__const=0
+ hwloc_cv___attribute__deprecated=0
+ hwloc_cv___attribute__format=0
+ hwloc_cv___attribute__hot=0
+ hwloc_cv___attribute__malloc=0
+ hwloc_cv___attribute__may_alias=0
+ hwloc_cv___attribute__no_instrument_function=0
+ hwloc_cv___attribute__nonnull=0
+ hwloc_cv___attribute__noreturn=0
+ hwloc_cv___attribute__packed=0
+ hwloc_cv___attribute__pure=0
+ hwloc_cv___attribute__sentinel=0
+ hwloc_cv___attribute__unused=0
+ hwloc_cv___attribute__warn_unused_result=0
+ hwloc_cv___attribute__weak_alias=0
+ else
+ AC_MSG_RESULT([yes])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([aligned],
+ [struct foo { char text[4]; } __attribute__ ((__aligned__(8)));],
+ [],
+ [])
+
+ #
+ # Ignored by PGI-6.2.5; -- recognized by output-parser
+ #
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([always_inline],
+ [int foo (int arg) __attribute__ ((__always_inline__));],
+ [],
+ [])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([cold],
+ [
+ int foo(int arg1, int arg2) __attribute__ ((__cold__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+ ],
+ [],
+ [])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([const],
+ [
+ int foo(int arg1, int arg2) __attribute__ ((__const__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+ ],
+ [],
+ [])
+
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([deprecated],
+ [
+ int foo(int arg1, int arg2) __attribute__ ((__deprecated__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+ ],
+ [],
+ [])
+
+
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we want specifically the warning on format string conversion
+ HWLOC_ATTRIBUTE_CFLAGS="-we181"
+ ;;
+ esac
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([format],
+ [
+ int this_printf (void *my_object, const char *my_format, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
+ ],
+ [
+ static int usage (int * argument);
+ extern int this_printf (int arg1, const char *my_format, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
+
+ static int usage (int * argument) {
+ return this_printf (*argument, "%d", argument); /* This should produce a format warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ ],
+ [$HWLOC_ATTRIBUTE_CFLAGS])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([hot],
+ [
+ int foo(int arg1, int arg2) __attribute__ ((__hot__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+ ],
+ [],
+ [])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([malloc],
+ [
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+ int * foo(int arg1) __attribute__ ((__malloc__));
+ int * foo(int arg1) { return (int*) malloc(arg1); }
+ ],
+ [],
+ [])
+
+
+ #
+ # Attribute may_alias: No suitable cross-check available, that works for non-supporting compilers
+ # Ignored by intel-9.1.045 -- turn off with -wd1292
+ # Ignored by PGI-6.2.5; ignore not detected due to missing cross-check
+ # The test case is chosen to match our only use in topology-xml-*.c, and reproduces an xlc-13.1.0 bug.
+ #
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([may_alias],
+ [struct { int i; } __attribute__ ((__may_alias__)) * p_value;],
+ [],
+ [])
+
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([no_instrument_function],
+ [int * foo(int arg1) __attribute__ ((__no_instrument_function__));],
+ [],
+ [])
+
+
+ #
+ # Attribute nonnull:
+ # Ignored by intel-compiler 9.1.045 -- recognized by cross-check
+ # Ignored by PGI-6.2.5 (pgCC) -- recognized by cross-check
+ #
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we do not want to get ignored attributes warnings, but rather real warnings
+ HWLOC_ATTRIBUTE_CFLAGS="-wd1292"
+ ;;
+ esac
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([nonnull],
+ [
+ int square(int *arg) __attribute__ ((__nonnull__));
+ int square(int *arg) { return *arg; }
+ ],
+ [
+ static int usage(int * argument);
+ int square(int * argument) __attribute__ ((__nonnull__));
+ int square(int * argument) { return (*argument) * (*argument); }
+
+ static int usage(int * argument) {
+ return square( ((void*)0) ); /* This should produce an argument must be nonnull warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ ],
+ [$HWLOC_ATTRIBUTE_CFLAGS])
+
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([noreturn],
+ [
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+ void fatal(int arg1) __attribute__ ((__noreturn__));
+ void fatal(int arg1) { exit(arg1); }
+ ],
+ [],
+ [])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([packed],
+ [
+ struct foo {
+ char a;
+ int x[2] __attribute__ ((__packed__));
+ };
+ ],
+ [],
+ [])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([pure],
+ [
+ int square(int arg) __attribute__ ((__pure__));
+ int square(int arg) { return arg * arg; }
+ ],
+ [],
+ [])
+
+ #
+ # Attribute sentinel:
+ # Ignored by the intel-9.1.045 -- recognized by cross-check
+ # intel-10.0beta works fine
+ # Ignored by PGI-6.2.5 (pgCC) -- recognized by output-parser and cross-check
+ # Ignored by pathcc-2.2.1 -- recognized by cross-check (through grep ignore)
+ #
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we do not want to get ignored attributes warnings
+ HWLOC_ATTRIBUTE_CFLAGS="-wd1292"
+ ;;
+ esac
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([sentinel],
+ [
+ int my_execlp(const char * file, const char *arg, ...) __attribute__ ((__sentinel__));
+ ],
+ [
+ static int usage(int * argument);
+ int my_execlp(const char * file, const char *arg, ...) __attribute__ ((__sentinel__));
+
+ static int usage(int * argument) {
+ void * last_arg_should_be_null = argument;
+ return my_execlp ("lala", "/home/there", last_arg_should_be_null); /* This should produce a warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ ],
+ [$HWLOC_ATTRIBUTE_CFLAGS])
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([unused],
+ [
+ int square(int arg1 __attribute__ ((__unused__)), int arg2);
+ int square(int arg1, int arg2) { return arg2; }
+ ],
+ [],
+ [])
+
+
+ #
+ # Attribute warn_unused_result:
+ # Ignored by the intel-compiler 9.1.045 -- recognized by cross-check
+ # Ignored by pathcc-2.2.1 -- recognized by cross-check (through grep ignore)
+ #
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we do not want to get ignored attributes warnings
+ HWLOC_ATTRIBUTE_CFLAGS="-wd1292"
+ ;;
+ esac
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([warn_unused_result],
+ [
+ int foo(int arg) __attribute__ ((__warn_unused_result__));
+ int foo(int arg) { return arg + 3; }
+ ],
+ [
+ static int usage(int * argument);
+ int foo(int arg) __attribute__ ((__warn_unused_result__));
+
+ int foo(int arg) { return arg + 3; }
+ static int usage(int * argument) {
+ foo (*argument); /* Should produce an unused result warning */
+ return 0;
+ }
+
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ ],
+ [$HWLOC_ATTRIBUTE_CFLAGS])
+
+
+ _HWLOC_CHECK_SPECIFIC_ATTRIBUTE([weak_alias],
+ [
+ int foo(int arg);
+ int foo(int arg) { return arg + 3; }
+ int foo2(int arg) __attribute__ ((__weak__, __alias__("foo")));
+ ],
+ [],
+ [])
+
+ fi
+
+ # Now that all the values are set, define them
+
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_ALIGNED, [$hwloc_cv___attribute__aligned],
+ [Whether your compiler has __attribute__ aligned or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_ALWAYS_INLINE, [$hwloc_cv___attribute__always_inline],
+ [Whether your compiler has __attribute__ always_inline or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_COLD, [$hwloc_cv___attribute__cold],
+ [Whether your compiler has __attribute__ cold or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_CONST, [$hwloc_cv___attribute__const],
+ [Whether your compiler has __attribute__ const or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_DEPRECATED, [$hwloc_cv___attribute__deprecated],
+ [Whether your compiler has __attribute__ deprecated or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_FORMAT, [$hwloc_cv___attribute__format],
+ [Whether your compiler has __attribute__ format or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_HOT, [$hwloc_cv___attribute__hot],
+ [Whether your compiler has __attribute__ hot or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_MALLOC, [$hwloc_cv___attribute__malloc],
+ [Whether your compiler has __attribute__ malloc or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS, [$hwloc_cv___attribute__may_alias],
+ [Whether your compiler has __attribute__ may_alias or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_NO_INSTRUMENT_FUNCTION, [$hwloc_cv___attribute__no_instrument_function],
+ [Whether your compiler has __attribute__ no_instrument_function or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_NONNULL, [$hwloc_cv___attribute__nonnull],
+ [Whether your compiler has __attribute__ nonnull or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_NORETURN, [$hwloc_cv___attribute__noreturn],
+ [Whether your compiler has __attribute__ noreturn or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_PACKED, [$hwloc_cv___attribute__packed],
+ [Whether your compiler has __attribute__ packed or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_PURE, [$hwloc_cv___attribute__pure],
+ [Whether your compiler has __attribute__ pure or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_SENTINEL, [$hwloc_cv___attribute__sentinel],
+ [Whether your compiler has __attribute__ sentinel or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_UNUSED, [$hwloc_cv___attribute__unused],
+ [Whether your compiler has __attribute__ unused or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_WARN_UNUSED_RESULT, [$hwloc_cv___attribute__warn_unused_result],
+ [Whether your compiler has __attribute__ warn unused result or not])
+ AC_DEFINE_UNQUOTED(HWLOC_HAVE_ATTRIBUTE_WEAK_ALIAS, [$hwloc_cv___attribute__weak_alias],
+ [Whether your compiler has __attribute__ weak alias or not])
+])
+
--- /dev/null
+dnl -*- shell-script -*-
+dnl
+dnl Copyright © 2004-2005 The Trustees of Indiana University and Indiana
+dnl University Research and Technology
+dnl Corporation. All rights reserved.
+dnl Copyright © 2004-2005 The University of Tennessee and The University
+dnl of Tennessee Research Foundation. All rights
+dnl reserved.
+dnl Copyright © 2004-2005 High Performance Computing Center Stuttgart,
+dnl University of Stuttgart. All rights reserved.
+dnl Copyright © 2004-2005 The Regents of the University of California.
+dnl All rights reserved.
+dnl Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+dnl $COPYRIGHT$
+dnl
+dnl Additional copyrights may follow
+dnl
+dnl $HEADER$
+dnl
+
+dnl ------------------------------------------------------------------
+dnl This m4 file originally copied from Open MPI
+dnl config/ompi_check_vendor.m4.
+dnl ------------------------------------------------------------------
+
+
+# HWLOC_C_COMPILER_VENDOR(VENDOR_VARIABLE)
+# ---------------------------------------
+# Set shell variable VENDOR_VARIABLE to the name of the compiler
+# vendor for the current C compiler.
+#
+# See comment for _HWLOC_CHECK_COMPILER_VENDOR for a complete
+# list of currently detected compilers.
+AC_DEFUN([_HWLOC_C_COMPILER_VENDOR], [
+ AC_REQUIRE([AC_PROG_CC])
+
+ AC_CACHE_CHECK([for the C compiler vendor],
+ [hwloc_cv_c_compiler_vendor],
+ [AC_LANG_PUSH(C)
+ _HWLOC_CHECK_COMPILER_VENDOR([hwloc_cv_c_compiler_vendor])
+ AC_LANG_POP(C)])
+
+ $1="$hwloc_cv_c_compiler_vendor"
+])
+
+
+# workaround to avoid syntax error with Autoconf < 2.68:
+m4_ifndef([AC_LANG_DEFINES_PROVIDED],
+ [m4_define([AC_LANG_DEFINES_PROVIDED])])
+
+# HWLOC_IFDEF_IFELSE(symbol, [action-if-defined],
+# [action-if-not-defined])
+# ----------------------------------------------
+# Run compiler to determine if preprocessor symbol "symbol" is
+# defined by the compiler.
+AC_DEFUN([HWLOC_IFDEF_IFELSE], [
+ AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED
+#ifndef $1
+#error "symbol $1 not defined"
+choke me
+#endif], [$2], [$3])])
+
+
+# HWLOC_IF_IFELSE(symbol, [action-if-defined],
+# [action-if-not-defined])
+# ----------------------------------------------
+# Run compiler to determine if preprocessor symbol "symbol" is
+# defined by the compiler.
+AC_DEFUN([HWLOC_IF_IFELSE], [
+ AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED
+#if !( $1 )
+#error "condition $1 not met"
+choke me
+#endif], [$2], [$3])])
+
+
+# _HWLOC_CHECK_COMPILER_VENDOR(VENDOR_VARIABLE)
+# --------------------------------------------
+# Set shell variable VENDOR_VARIABLE to the name of the compiler
+# vendor for the compiler for the current language. Language must be
+# one of C, OBJC, or C++.
+#
+# thanks to http://predef.sourceforge.net/precomp.html for the list
+# of defines to check.
+AC_DEFUN([_HWLOC_CHECK_COMPILER_VENDOR], [
+ hwloc_check_compiler_vendor_result="unknown"
+
+ # GNU is probably the most common, so check that one as soon as
+ # possible. Intel and Android pretend to be GNU, so need to
+ # check Intel and Android before checking for GNU.
+
+ # Android
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__ANDROID__],
+ [hwloc_check_compiler_vendor_result="android"])])
+
+ # Intel
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(__INTEL_COMPILER) || defined(__ICC)],
+ [hwloc_check_compiler_vendor_result="intel"])])
+
+ # GNU
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__GNUC__],
+ [hwloc_check_compiler_vendor_result="gnu"])])
+
+ # Borland Turbo C
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__TURBOC__],
+ [hwloc_check_compiler_vendor_result="borland"])])
+
+ # Borland C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__BORLANDC__],
+ [hwloc_check_compiler_vendor_result="borland"])])
+
+ # Comeau C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__COMO__],
+ [hwloc_check_compiler_vendor_result="comeau"])])
+
+ # Compaq C/C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(__DECC) || defined(VAXC) || defined(__VAXC)],
+ [hwloc_check_compiler_vendor_result="compaq"],
+ [HWLOC_IF_IFELSE([defined(__osf__) && defined(__LANGUAGE_C__)],
+ [hwloc_check_compiler_vendor_result="compaq"],
+ [HWLOC_IFDEF_IFELSE([__DECCXX],
+ [hwloc_check_compiler_vendor_result="compaq"])])])])
+
+ # Cray C/C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([_CRAYC],
+ [hwloc_check_compiler_vendor_result="cray"])])
+
+ # Diab C/C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__DCC__],
+ [hwloc_check_compiler_vendor_result="diab"])])
+
+ # Digital Mars
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(__DMC__) || defined(__SC__) || defined(__ZTC__)],
+ [hwloc_check_compiler_vendor_result="digital mars"])])
+
+ # HP ANSI C / aC++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(__HP_cc) || defined(__HP_aCC)],
+ [hwloc_check_compiler_vendor_result="hp"])])
+
+ # IBM XL C/C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__)],
+ [hwloc_check_compiler_vendor_result="ibm"],
+ [HWLOC_IF_IFELSE([defined(_AIX) && !defined(__GNUC__)],
+ [hwloc_check_compiler_vendor_result="ibm"])])])
+
+ # KAI C++ (rest in peace)
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__KCC],
+ [hwloc_check_compiler_vendor_result="kai"])])
+
+ # LCC
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__LCC__],
+ [hwloc_check_compiler_vendor_result="lcc"])])
+
+ # MetaWare High C/C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__HIGHC__],
+ [hwloc_check_compiler_vendor_result="metaware high"])])
+
+ # Metrowerks Codewarrior
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__MWERKS__],
+ [hwloc_check_compiler_vendor_result="metrowerks"])])
+
+ # MIPSpro (SGI)
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(sgi) || defined(__sgi)],
+ [hwloc_check_compiler_vendor_result="sgi"])])
+
+ # MPW C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)],
+ [hwloc_check_compiler_vendor_result="mpw"])])
+
+ # Microsoft
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [# Always use C compiler when checking for Microsoft, as
+ # Visual C++ doesn't recognize .cc as a C++ file.
+ AC_LANG_PUSH(C)
+ HWLOC_IF_IFELSE([defined(_MSC_VER) || defined(__MSC_VER)],
+ [hwloc_check_compiler_vendor_result="microsoft"])
+ AC_LANG_POP(C)])
+
+ # Norcroft C
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__CC_NORCROFT],
+ [hwloc_check_compiler_vendor_result="norcroft"])])
+
+ # Pelles C
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__POCC__],
+ [hwloc_check_compiler_vendor_result="pelles"])])
+
+ # Portland Group
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__PGI],
+ [hwloc_check_compiler_vendor_result="portland group"])])
+
+ # SAS/C
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(SASC) || defined(__SASC) || defined(__SASC__)],
+ [hwloc_check_compiler_vendor_result="sas"])])
+
+ # Sun Workshop C/C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IF_IFELSE([defined(__SUNPRO_C) || defined(__SUNPRO_CC)],
+ [hwloc_check_compiler_vendor_result="sun"])])
+
+ # TenDRA C/C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__TenDRA__],
+ [hwloc_check_compiler_vendor_result="tendra"])])
+
+ # Tiny C
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__TINYC__],
+ [hwloc_check_compiler_vendor_result="tiny"])])
+
+ # USL C
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__USLC__],
+ [hwloc_check_compiler_vendor_result="usl"])])
+
+ # Watcom C++
+ AS_IF([test "$hwloc_check_compiler_vendor_result" = "unknown"],
+ [HWLOC_IFDEF_IFELSE([__WATCOMC__],
+ [hwloc_check_compiler_vendor_result="watcom"])])
+
+ $1="$hwloc_check_compiler_vendor_result"
+ unset hwloc_check_compiler_vendor_result
+])
--- /dev/null
+# This macro set originally copied from Open MPI:
+# Copyright © 2004-2005 The Trustees of Indiana University and Indiana
+# University Research and Technology
+# Corporation. All rights reserved.
+# Copyright © 2004-2005 The University of Tennessee and The University
+# of Tennessee Research Foundation. All rights
+# reserved.
+# Copyright © 2004-2007 High Performance Computing Center Stuttgart,
+# University of Stuttgart. All rights reserved.
+# Copyright © 2004-2005 The Regents of the University of California.
+# All rights reserved.
+# Copyright © 2006-2007 Cisco Systems, Inc. All rights reserved.
+# and renamed/modified for hwloc:
+# Copyright © 2009 Inria. All rights reserved.
+# Copyright © 2009-2010 Université Bordeaux
+# Copyright © 2010-2012 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# - Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# - Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer listed
+# in this license in the documentation and/or other materials
+# provided with the distribution.
+#
+# - Neither the name of the copyright holders nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# The copyright holders provide no reassurances that the source code
+# provided does not infringe any patent, copyright, or any other
+# intellectual property rights of third parties. The copyright holders
+# disclaim any liability to any recipient for claims brought against
+# recipient by any third party for infringement of that parties
+# intellectual property rights.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+# _HWLOC_CHECK_VISIBILITY
+# --------------------------------------------------------
+AC_DEFUN([_HWLOC_CHECK_VISIBILITY],[
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+ m4_ifdef([AC_PROG_GREP],
+ [AC_REQUIRE([AC_PROG_GREP])],
+ [GREP=grep])
+
+ # Check if the compiler has support for visibility, like some
+ # versions of gcc, icc, Sun Studio cc.
+ AC_ARG_ENABLE(visibility,
+ AC_HELP_STRING([--enable-visibility],
+ [enable visibility feature of certain compilers/linkers (default: enabled on platforms that support it)]))
+
+ case ${target} in
+ *-*-aix*|*-*-mingw*|*-*-cygwin*|*-*-hpux*)
+ enable_visibility=no
+ ;;
+ esac
+
+ hwloc_visibility_define=0
+ hwloc_msg="whether to enable symbol visibility"
+ if test "$enable_visibility" = "no"; then
+ AC_MSG_CHECKING([$hwloc_msg])
+ AC_MSG_RESULT([no (disabled)])
+ else
+ CFLAGS_orig=$CFLAGS
+
+ hwloc_add=
+ case "$hwloc_c_vendor" in
+ sun)
+ # Check using Sun Studio -xldscope=hidden flag
+ hwloc_add=-xldscope=hidden
+ CFLAGS="$CFLAGS_orig $hwloc_add -errwarn=%all"
+ ;;
+
+ *)
+ # Check using -fvisibility=hidden
+ hwloc_add=-fvisibility=hidden
+ CFLAGS="$CFLAGS_orig $hwloc_add -Werror"
+ ;;
+ esac
+
+ AC_MSG_CHECKING([if $CC supports $hwloc_add])
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+ #include <stdio.h>
+ __attribute__((visibility("default"))) int foo;
+ ]],[[fprintf(stderr, "Hello, world\n");]])],
+ [AS_IF([test -s conftest.err],
+ [$GREP -iq visibility conftest.err
+ # If we find "visibility" in the stderr, then
+ # assume it doesn't work
+ AS_IF([test "$?" = "0"], [hwloc_add=])])
+ ], [hwloc_add=])
+ AS_IF([test "$hwloc_add" = ""],
+ [AC_MSG_RESULT([no])],
+ [AC_MSG_RESULT([yes])])
+
+ CFLAGS=$CFLAGS_orig
+ HWLOC_VISIBILITY_CFLAGS=$hwloc_add
+
+ if test "$hwloc_add" != "" ; then
+ hwloc_visibility_define=1
+ AC_MSG_CHECKING([$hwloc_msg])
+ AC_MSG_RESULT([yes (via $hwloc_add)])
+ elif test "$enable_visibility" = "yes"; then
+ AC_MSG_ERROR([Symbol visibility support requested but compiler does not seem to support it. Aborting])
+ else
+ AC_MSG_CHECKING([$hwloc_msg])
+ AC_MSG_RESULT([no (unsupported)])
+ fi
+ unset hwloc_add
+ fi
+
+ AC_DEFINE_UNQUOTED([HWLOC_C_HAVE_VISIBILITY], [$hwloc_visibility_define],
+ [Whether C compiler supports symbol visibility or not])
+])
--- /dev/null
+# Copyright © 2012-2018 Inria. All rights reserved.
+# See COPYING in top-level directory.
+
+
+# HWLOC_PREPARE_FILTER_COMPONENTS
+#
+# Given a comma-separated list of names, define hwloc_<name>_component_maybeplugin=1.
+#
+# $1 = command-line given list of components to build as plugins
+#
+AC_DEFUN([HWLOC_PREPARE_FILTER_COMPONENTS], [
+ for name in `echo [$1] | sed -e 's/,/ /g'` ; do
+ str="hwloc_${name}_component_wantplugin=1"
+ eval $str
+ done
+])
+
+
+# HWLOC_FILTER_COMPONENTS
+#
+# For each component in hwloc_components,
+# check if hwloc_<name>_component_wantplugin=1 or enable_plugin=yes,
+# and check if hwloc_<name>_component_maybeplugin=1.
+# Add <name> to hwloc_[static|plugin]_components accordingly.
+# And set hwloc_<name>_component=[static|plugin] accordingly.
+#
+AC_DEFUN([HWLOC_FILTER_COMPONENTS], [
+for name in $hwloc_components ; do
+ str="maybeplugin=\$hwloc_${name}_component_maybeplugin"
+ eval $str
+ str="wantplugin=\$hwloc_${name}_component_wantplugin"
+ eval $str
+ if test x$hwloc_have_plugins = xyes && test x$maybeplugin = x1 && test x$wantplugin = x1 -o x$enable_plugins = xyes; then
+ hwloc_plugin_components="$hwloc_plugin_components $name"
+ str="hwloc_${name}_component=plugin"
+ else
+ hwloc_static_components="$hwloc_static_components $name"
+ str="hwloc_${name}_component=static"
+ fi
+ eval $str
+done
+])
+
+
+# HWLOC_LIST_STATIC_COMPONENTS
+#
+# Append to file $1 an array of components by listing component names in $2.
+#
+# $1 = filename
+# $2 = list of component names
+#
+AC_DEFUN([HWLOC_LIST_STATIC_COMPONENTS], [
+cat <<EOF >>[$1]
+#include <private/internal-components.h>
+static const struct hwloc_component * hwloc_static_components[[]] = {
+EOF
+for comp in [$2]; do
+ echo " &hwloc_${comp}_component," >>[$1]
+done
+cat <<EOF >>[$1]
+ NULL
+};
+EOF
+])
--- /dev/null
+#!/bin/sh
+#
+# Copyright © 2004-2006 The Trustees of Indiana University and Indiana
+# University Research and Technology
+# Corporation. All rights reserved.
+# Copyright © 2004-2005 The University of Tennessee and The University
+# of Tennessee Research Foundation. All rights
+# reserved.
+# Copyright © 2004-2005 High Performance Computing Center Stuttgart,
+# University of Stuttgart. All rights reserved.
+# Copyright © 2004-2005 The Regents of the University of California.
+# All rights reserved.
+# Copyright © 2008-2014 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2014 Inria. All rights reserved.
+# $COPYRIGHT$
+#
+# Additional copyrights may follow
+#
+# $HEADER$
+#
+
+srcfile="$1"
+option="$2"
+
+if test -z "$srcfile"; then
+ option="--help"
+else
+ : ${srcdir=.}
+
+ if test -f "$srcfile"; then
+ ompi_vers=`sed -n "
+ t clear
+ : clear
+ s/^major/HWLOC_MAJOR_VERSION/
+ s/^minor/HWLOC_MINOR_VERSION/
+ s/^release/HWLOC_RELEASE_VERSION/
+ s/^greek/HWLOC_GREEK_VERSION/
+ s/\\\${major}/\\\${HWLOC_MAJOR_VERSION}/
+ s/\\\${minor}/\\\${HWLOC_MINOR_VERSION}/
+ s/\\\${release}/\\\${HWLOC_RELEASE_VERSION}/
+ s/\\\${greek}/\\\${HWLOC_GREEK_VERSION}/
+ s/^date/HWLOC_RELEASE_DATE/
+ s/^snapshot_version/HWLOC_SNAPSHOT_VERSION/
+ s/^snapshot/HWLOC_SNAPSHOT/
+ t print
+ b
+ : print
+ p" < "$srcfile"`
+ eval "$ompi_vers"
+
+ HWLOC_VERSION="$HWLOC_MAJOR_VERSION.$HWLOC_MINOR_VERSION.$HWLOC_RELEASE_VERSION${HWLOC_GREEK_VERSION}"
+
+ # If HWLOC_SNAPSHOT=1, then use HWLOC_SNAPSHOT_VERSION
+ if test "$HWLOC_SNAPSHOT" = "1"; then
+ # First, verify that HWLOC_SNAPSHOT_VERSION isn't empty.
+ if test -z "$HWLOC_SNAPSHOT_VERSION"; then
+ echo "*** ERROR: $1 contains snapshot=1, but an empty value for snapshot_version" 1>&2
+ exit 1
+ fi
+ HWLOC_VERSION=$HWLOC_SNAPSHOT_VERSION
+ fi
+ fi
+
+ if test "$option" = ""; then
+ option="--version"
+ fi
+fi
+
+case "$option" in
+ --version)
+ echo $HWLOC_VERSION
+ ;;
+ --release-date)
+ echo $HWLOC_RELEASE_DATE
+ ;;
+ --snapshot)
+ echo $HWLOC_SNAPSHOT
+ ;;
+ -h|--help)
+ cat <<EOF
+$0 <srcfile> <option>
+
+<srcfile> - Text version file
+<option> - One of:
+ --version - Show version number
+ --release-date - Show the release date
+ --snapshot - Show whether this is a snapshot release or not
+ --help - This message
+EOF
+ ;;
+ *)
+ echo "Unrecognized option $option. Run $0 --help for options"
+ ;;
+esac
+
+# All done
+
+exit 0
--- /dev/null
+dnl -*- Autoconf -*-
+dnl
+dnl Copyright © 2010-2017 Inria. All rights reserved.
+dnl Copyright © 2009, 2011 Université Bordeaux
+dnl Copyright © 2004-2005 The Trustees of Indiana University and Indiana
+dnl University Research and Technology
+dnl Corporation. All rights reserved.
+dnl Copyright © 2004-2005 The Regents of the University of California.
+dnl All rights reserved.
+dnl Copyright © 2004-2008 High Performance Computing Center Stuttgart,
+dnl University of Stuttgart. All rights reserved.
+dnl Copyright © 2006-2014 Cisco Systems, Inc. All rights reserved.
+dnl
+dnl See COPYING in top-level directory.
+
+#-----------------------------------------------------------------------
+
+# Probably only ever invoked by hwloc's configure.ac
+AC_DEFUN([HWLOC_BUILD_STANDALONE],[
+ hwloc_mode=standalone
+])dnl
+
+#-----------------------------------------------------------------------
+
+# Probably only ever invoked by hwloc's configure.ac
+AC_DEFUN([HWLOC_DEFINE_ARGS],[
+ # Embedded mode, or standalone?
+ AC_ARG_ENABLE([embedded-mode],
+ AC_HELP_STRING([--enable-embedded-mode],
+ [Using --enable-embedded-mode puts the HWLOC into "embedded" mode. The default is --disable-embedded-mode, meaning that the HWLOC is in "standalone" mode.]))
+
+ # Change the symbol prefix?
+ AC_ARG_WITH([hwloc-symbol-prefix],
+ AC_HELP_STRING([--with-hwloc-symbol-prefix=STRING],
+ [STRING can be any valid C symbol name. It will be prefixed to all public HWLOC symbols. Default: "hwloc_"]))
+
+ # Debug mode?
+ AC_ARG_ENABLE([debug],
+ AC_HELP_STRING([--enable-debug],
+ [Using --enable-debug enables various hwloc maintainer-level debugging controls. This option is not recomended for end users.]))
+
+ # Doxygen?
+ AC_ARG_ENABLE([doxygen],
+ [AC_HELP_STRING([--enable-doxygen],
+ [enable support for building Doxygen documentation (note that this option is ONLY relevant in developer builds; Doxygen documentation is pre-built for tarball builds and this option is therefore ignored)])])
+
+ # Picky?
+ AC_ARG_ENABLE(picky,
+ AC_HELP_STRING([--disable-picky],
+ [When in developer checkouts of hwloc and compiling with gcc, the default is to enable maximum compiler pickyness. Using --disable-picky or --enable-picky overrides any default setting]))
+
+ # Cairo?
+ AC_ARG_ENABLE([cairo],
+ AS_HELP_STRING([--disable-cairo],
+ [Disable the Cairo back-end of hwloc's lstopo command]))
+
+ # CPUID
+ AC_ARG_ENABLE([cpuid],
+ AS_HELP_STRING([--disable-cpuid],
+ [Disable the cpuid-based architecture specific support (x86 component)]))
+
+ # XML using libxml2?
+ AC_ARG_ENABLE([libxml2],
+ AS_HELP_STRING([--disable-libxml2],
+ [Do not use libxml2 for XML support, use a custom minimalistic support]))
+
+ # PCI?
+ AC_ARG_ENABLE([pci],
+ AS_HELP_STRING([--disable-pci],
+ [Disable the PCI device discovery]))
+
+ # OpenCL?
+ AC_ARG_ENABLE([opencl],
+ AS_HELP_STRING([--disable-opencl],
+ [Disable the OpenCL device discovery]))
+
+ # CUDA?
+ AC_ARG_ENABLE([cuda],
+ AS_HELP_STRING([--disable-cuda],
+ [Disable the CUDA device discovery using libcudart]))
+
+ # NVML?
+ AC_ARG_ENABLE([nvml],
+ AS_HELP_STRING([--disable-nvml],
+ [Disable the NVML device discovery]))
+
+ # GL/Display
+ AC_ARG_ENABLE([gl],
+ AS_HELP_STRING([--disable-gl],
+ [Disable the GL display device discovery]))
+
+ # Linux libnuma
+ AC_ARG_ENABLE([libnuma],
+ AS_HELP_STRING([--disable-libnuma],
+ [Disable the Linux libnuma]))
+
+ # LibUdev
+ AC_ARG_ENABLE([libudev],
+ AS_HELP_STRING([--disable-libudev],
+ [Disable the Linux libudev]))
+
+ # Plugins
+ AC_ARG_ENABLE([plugins],
+ AS_HELP_STRING([--enable-plugins=name,...],
+ [Build the given components as dynamically-loaded plugins]))
+
+])dnl
+
+#-----------------------------------------------------------------------
+
+dnl We only build documentation if this is a developer checkout.
+dnl Distribution tarballs just install pre-built docuemntation that was
+dnl included in the tarball.
+
+# Probably only ever invoked by hwloc's configure.ac
+AC_DEFUN([HWLOC_SETUP_DOCS],[
+ cat <<EOF
+
+###
+### Configuring hwloc documentation
+###
+EOF
+
+ AC_MSG_CHECKING([if this is a developer build])
+ AS_IF([test ! -e "$srcdir/.git"],
+ [AC_MSG_RESULT([no (doxygen generation is optional)])
+ test "x$enable_doxygen" = x && enable_doxygen=no],
+ [AC_MSG_RESULT([yes])
+ test "x$enable_doxygen" = x && enable_doxygen=yes])
+
+ # Generating the doxygen output requires a few tools. If we
+ # don't have all of them, refuse the build the docs.
+ AC_ARG_VAR([DOXYGEN], [Location of the doxygen program (required for building the hwloc doxygen documentation)])
+ AC_PATH_TOOL([DOXYGEN], [doxygen])
+ HWLOC_DOXYGEN_VERSION=`doxygen --version 2> /dev/null`
+
+ AC_ARG_VAR([PDFLATEX], [Location of the pdflatex program (required for building the hwloc doxygen documentation)])
+ AC_PATH_TOOL([PDFLATEX], [pdflatex])
+
+ AC_ARG_VAR([MAKEINDEX], [Location of the makeindex program (required for building the hwloc doxygen documentation)])
+ AC_PATH_TOOL([MAKEINDEX], [makeindex])
+
+ AC_ARG_VAR([FIG2DEV], [Location of the fig2dev program (required for building the hwloc doxygen documentation)])
+ AC_PATH_TOOL([FIG2DEV], [fig2dev])
+
+ AC_ARG_VAR([GS], [Location of the gs program (required for building the hwloc doxygen documentation)])
+ AC_PATH_TOOL([GS], [gs])
+
+ AC_ARG_VAR([EPSTOPDF], [Location of the epstopdf program (required for building the hwloc doxygen documentation)])
+ AC_PATH_TOOL([EPSTOPDF], [epstopdf])
+
+ AC_MSG_CHECKING([if can build doxygen docs])
+ AS_IF([test "x$DOXYGEN" != "x" -a "x$PDFLATEX" != "x" -a "x$MAKEINDEX" != "x" -a "x$FIG2DEV" != "x" -a "x$GS" != "x" -a "x$EPSTOPDF" != "x"],
+ [hwloc_generate_doxs=yes], [hwloc_generate_doxs=no])
+ AC_MSG_RESULT([$hwloc_generate_doxs])
+ AS_IF([test "x$hwloc_generate_doxs" = xyes -a "x$HWLOC_DOXYGEN_VERSION" = x1.6.2],
+ [hwloc_generate_doxs="no"; AC_MSG_WARN([doxygen 1.6.2 has broken short name support, disabling])])
+
+ AC_REQUIRE([AC_PROG_SED])
+
+ # Making the top-level README requires w3m or lynx.
+ AC_ARG_VAR([W3M], [Location of the w3m program (required to building the top-level hwloc README file)])
+ AC_PATH_TOOL([W3M], [w3m])
+ AC_ARG_VAR([LYNX], [Location of the lynx program (required to building the top-level hwloc README file)])
+ AC_PATH_TOOL([LYNX], [lynx])
+
+ AC_MSG_CHECKING([if can build top-level README])
+ AS_IF([test "x$W3M" != "x"],
+ [hwloc_generate_readme=yes
+ HWLOC_W3_GENERATOR=$W3M],
+ [AS_IF([test "x$LYNX" != "x"],
+ [hwloc_generate_readme=yes
+ HWLOC_W3_GENERATOR="$LYNX -dump -nolist"],
+ [hwloc_generate_readme=no])])
+ AC_SUBST(HWLOC_W3_GENERATOR)
+ AC_MSG_RESULT([$hwloc_generate_readme])
+
+ # If any one of the above tools is missing, we will refuse to make dist.
+ AC_MSG_CHECKING([if will build doxygen docs])
+ AS_IF([test "x$hwloc_generate_doxs" = "xyes" -a "x$enable_doxygen" != "xno"],
+ [], [hwloc_generate_doxs=no])
+ AC_MSG_RESULT([$hwloc_generate_doxs])
+
+ # See if we want to install the doxygen docs
+ AC_MSG_CHECKING([if will install doxygen docs])
+ AS_IF([test "x$hwloc_generate_doxs" = "xyes" -o \
+ -f "$srcdir/doc/doxygen-doc/man/man3/hwloc_distrib.3" -a \
+ -f "$srcdir/doc/doxygen-doc/hwloc-a4.pdf" -a \
+ -f "$srcdir/doc/doxygen-doc/hwloc-letter.pdf"],
+ [hwloc_install_doxs=yes],
+ [hwloc_install_doxs=no])
+ AC_MSG_RESULT([$hwloc_install_doxs])
+
+ # For the common developer case, if we're in a developer checkout and
+ # using the GNU compilers, turn on maximum warnings unless
+ # specifically disabled by the user.
+ AC_MSG_CHECKING([whether to enable "picky" compiler mode])
+ hwloc_want_picky=0
+ AS_IF([test "$hwloc_c_vendor" = "gnu"],
+ [AS_IF([test -e "$srcdir/.git"],
+ [hwloc_want_picky=1])])
+ if test "$enable_picky" = "yes"; then
+ if test "$GCC" = "yes"; then
+ AC_MSG_RESULT([yes])
+ hwloc_want_picky=1
+ else
+ AC_MSG_RESULT([no])
+ AC_MSG_WARN([Warning: --enable-picky used, but is currently only defined for the GCC compiler set -- automatically disabled])
+ hwloc_want_picky=0
+ fi
+ elif test "$enable_picky" = "no"; then
+ AC_MSG_RESULT([no])
+ hwloc_want_picky=0
+ else
+ if test "$hwloc_want_picky" = 1; then
+ AC_MSG_RESULT([yes (default)])
+ else
+ AC_MSG_RESULT([no (default)])
+ fi
+ fi
+ if test "$hwloc_want_picky" = 1; then
+ add="-Wall -Wunused-parameter -Wundef -Wno-long-long -Wsign-compare"
+ add="$add -Wmissing-prototypes -Wstrict-prototypes"
+ add="$add -Wcomment -pedantic -Wshadow"
+
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $add"
+ fi
+
+ # Generate some files for the docs
+ AC_CONFIG_FILES(
+ hwloc_config_prefix[doc/Makefile]
+ hwloc_config_prefix[doc/examples/Makefile]
+ hwloc_config_prefix[doc/doxygen-config.cfg])
+])
+
+#-----------------------------------------------------------------------
+
+# Probably only ever invoked by hwloc's configure.ac
+AC_DEFUN([HWLOC_SETUP_UTILS],[
+ cat <<EOF
+
+###
+### Configuring hwloc command line utilities
+###
+EOF
+
+ AC_REQUIRE([AC_PROG_SED])
+
+ # runstatedir only supported in autoconf >= 2.70 and in some backports
+ if test "x${runstatedir}" != "x"; then
+ HWLOC_runstatedir=${runstatedir}
+ else
+ HWLOC_runstatedir='${localstatedir}/run'
+ fi
+ AC_SUBST([HWLOC_runstatedir])
+
+ # Cairo support
+ hwloc_cairo_happy=no
+ if test "x$enable_cairo" != "xno"; then
+ HWLOC_PKG_CHECK_MODULES([CAIRO], [cairo], [cairo_fill], [cairo.h],
+ [hwloc_cairo_happy=yes],
+ [hwloc_cairo_happy=no])
+ fi
+
+ if test "x$hwloc_cairo_happy" = "xyes"; then
+ AC_DEFINE([HWLOC_HAVE_CAIRO], [1], [Define to 1 if you have the `cairo' library.])
+ else
+ AS_IF([test "$enable_cairo" = "yes"],
+ [AC_MSG_WARN([--enable-cairo requested, but Cairo/X11 support was not found])
+ AC_MSG_ERROR([Cannot continue])])
+ fi
+
+ AC_CHECK_TYPES([wchar_t], [
+ AC_CHECK_FUNCS([putwc])
+ ], [], [[#include <wchar.h>]])
+
+ HWLOC_XML_LOCALIZED=1
+ AC_CHECK_HEADERS([locale.h xlocale.h], [
+ AC_CHECK_FUNCS([setlocale])
+ AC_CHECK_FUNCS([uselocale], [HWLOC_XML_LOCALIZED=0])
+ ])
+ AC_SUBST([HWLOC_XML_LOCALIZED])
+ AC_CHECK_HEADERS([langinfo.h], [
+ AC_CHECK_FUNCS([nl_langinfo])
+ ])
+ hwloc_old_LIBS="$LIBS"
+ chosen_curses=""
+ for curses in ncurses curses
+ do
+ for lib in "" -ltermcap -l${curses}w -l$curses
+ do
+ AC_MSG_CHECKING(termcap support using $curses and $lib)
+ LIBS="$hwloc_old_LIBS $lib"
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+#include <$curses.h>
+#include <term.h>
+]], [[tparm(NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0)]])], [
+ AC_MSG_RESULT(yes)
+ AC_SUBST([HWLOC_TERMCAP_LIBS], ["$LIBS"])
+ AC_DEFINE([HWLOC_HAVE_LIBTERMCAP], [1],
+ [Define to 1 if you have a library providing the termcap interface])
+ chosen_curses=$curses
+ ], [
+ AC_MSG_RESULT(no)
+ ])
+ test "x$chosen_curses" != "x" && break
+ done
+ test "x$chosen_curses" != "x" && break
+ done
+ if test "$chosen_curses" = ncurses
+ then
+ AC_DEFINE([HWLOC_USE_NCURSES], [1], [Define to 1 if ncurses works, preferred over curses])
+ fi
+ LIBS="$hwloc_old_LIBS"
+ unset hwloc_old_LIBS
+
+ _HWLOC_CHECK_DIFF_U
+ _HWLOC_CHECK_DIFF_W
+
+ AC_CHECK_HEADERS([time.h], [
+ AC_CHECK_FUNCS([clock_gettime])
+ ])
+
+ # Only generate this if we're building the utilities
+ AC_CONFIG_FILES(
+ hwloc_config_prefix[utils/Makefile]
+ hwloc_config_prefix[utils/hwloc/Makefile]
+ hwloc_config_prefix[utils/lstopo/Makefile]
+ hwloc_config_prefix[hwloc.pc])
+])dnl
+
+#-----------------------------------------------------------------------
+
+# Probably only ever invoked by hwloc's configure.ac
+AC_DEFUN([HWLOC_SETUP_TESTS],[
+ cat <<EOF
+
+###
+### Configuring hwloc tests
+###
+EOF
+
+ AC_CHECK_LIB([pthread], [pthread_self], [hwloc_have_pthread=yes])
+
+ # linux-libnuma.h testing requires libnuma with numa_bitmask_alloc()
+ AC_CHECK_LIB([numa], [numa_available], [
+ AC_CHECK_DECL([numa_bitmask_alloc], [hwloc_have_linux_libnuma=yes], [],
+ [#include <numa.h>])
+ ])
+
+ AC_CHECK_HEADERS([stdlib.h], [
+ AC_CHECK_FUNCS([mkstemp])
+ ])
+
+ AC_CHECK_HEADERS([infiniband/verbs.h], [
+ AC_CHECK_LIB([ibverbs], [ibv_open_device],
+ [AC_DEFINE([HAVE_LIBIBVERBS], 1, [Define to 1 if we have -libverbs])
+ hwloc_have_libibverbs=yes])
+ ])
+
+ AC_CHECK_HEADERS([myriexpress.h], [
+ AC_MSG_CHECKING(if MX_NUMA_NODE exists)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <myriexpress.h>]],
+ [[int a = MX_NUMA_NODE;]])],
+ [AC_MSG_RESULT(yes)
+ AC_CHECK_LIB([myriexpress], [mx_get_info],
+ [AC_DEFINE([HAVE_MYRIEXPRESS], 1, [Define to 1 if we have -lmyriexpress])
+ hwloc_have_myriexpress=yes])],
+ [AC_MSG_RESULT(no)])])
+
+ AC_CHECK_PROGS(XMLLINT, [xmllint])
+
+ AC_CHECK_PROGS(BUNZIPP, bunzip2, false)
+
+ AC_MSG_CHECKING(if CXX works)
+ AC_LANG_PUSH([C++])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <iostream>
+using namespace std;
+int foo(void) {
+ cout << "test" << endl;
+ return 0;
+}
+ ]])], [hwloc_have_cxx=yes], [hwloc_have_cxx=no])
+ AC_LANG_POP([C++])
+ AC_MSG_RESULT([$hwloc_have_cxx])
+
+ _HWLOC_CHECK_DIFF_U
+
+ # Only generate these files if we're making the tests
+ AC_CONFIG_FILES(
+ hwloc_config_prefix[tests/Makefile]
+ hwloc_config_prefix[tests/linux/Makefile]
+ hwloc_config_prefix[tests/linux/allowed/Makefile]
+ hwloc_config_prefix[tests/linux/gather/Makefile]
+ hwloc_config_prefix[tests/xml/Makefile]
+ hwloc_config_prefix[tests/ports/Makefile]
+ hwloc_config_prefix[tests/rename/Makefile]
+ hwloc_config_prefix[tests/linux/allowed/test-topology.sh]
+ hwloc_config_prefix[tests/linux/gather/test-gather-topology.sh]
+ hwloc_config_prefix[tests/linux/test-topology.sh]
+ hwloc_config_prefix[tests/xml/test-topology.sh]
+ hwloc_config_prefix[tests/wrapper.sh]
+ hwloc_config_prefix[utils/hwloc/hwloc-assembler-remote]
+ hwloc_config_prefix[utils/hwloc/hwloc-compress-dir]
+ hwloc_config_prefix[utils/hwloc/hwloc-gather-topology]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-annotate.sh]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-assembler.sh]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-calc.sh]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-compress-dir.sh]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-diffpatch.sh]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-distances.sh]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-distrib.sh]
+ hwloc_config_prefix[utils/hwloc/test-hwloc-info.sh]
+ hwloc_config_prefix[utils/hwloc/test-fake-plugin.sh]
+ hwloc_config_prefix[utils/lstopo/test-hwloc-ls.sh]
+ hwloc_config_prefix[contrib/systemd/Makefile])
+
+ AC_CONFIG_COMMANDS([chmoding-scripts], [chmod +x ]hwloc_config_prefix[tests/linux/test-topology.sh ]hwloc_config_prefix[tests/xml/test-topology.sh ]hwloc_config_prefix[tests/linux/allowed/test-topology.sh ]hwloc_config_prefix[tests/linux/gather/test-gather-topology.sh ]hwloc_config_prefix[tests/wrapper.sh ]hwloc_config_prefix[utils/hwloc/hwloc-assembler-remote ]hwloc_config_prefix[utils/hwloc/hwloc-compress-dir ]hwloc_config_prefix[utils/hwloc/hwloc-gather-topology ]hwloc_config_prefix[utils/hwloc/test-hwloc-annotate.sh ]hwloc_config_prefix[utils/hwloc/test-hwloc-assembler.sh ]hwloc_config_prefix[utils/hwloc/test-hwloc-calc.sh ]hwloc_config_prefix[utils/hwloc/test-hwloc-compress-dir.sh ]hwloc_config_prefix[utils/hwloc/test-hwloc-diffpatch.sh ]hwloc_config_prefix[utils/hwloc/test-hwloc-distances.sh ]hwloc_config_prefix[utils/hwloc/test-hwloc-distrib.sh ]hwloc_config_prefix[utils/hwloc/test-hwloc-info.sh ]hwloc_config_prefix[utils/hwloc/test-fake-plugin.sh ]hwloc_config_prefix[utils/lstopo/test-hwloc-ls.sh])
+
+ # These links are only needed in standalone mode. It would
+ # be nice to m4 foreach this somehow, but whenever I tried
+ # it, I got obscure "invalid tag" errors from
+ # AC_CONFIG_LINKS. :-\ Since these tests are only run when
+ # built in standalone mode, only generate them in
+ # standalone mode.
+ AC_CONFIG_LINKS(
+ hwloc_config_prefix[tests/ports/topology-solaris.c]:hwloc_config_prefix[src/topology-solaris.c]
+ hwloc_config_prefix[tests/ports/topology-solaris-chiptype.c]:hwloc_config_prefix[src/topology-solaris-chiptype.c]
+ hwloc_config_prefix[tests/ports/topology-aix.c]:hwloc_config_prefix[src/topology-aix.c]
+ hwloc_config_prefix[tests/ports/topology-osf.c]:hwloc_config_prefix[src/topology-osf.c]
+ hwloc_config_prefix[tests/ports/topology-windows.c]:hwloc_config_prefix[src/topology-windows.c]
+ hwloc_config_prefix[tests/ports/topology-darwin.c]:hwloc_config_prefix[src/topology-darwin.c]
+ hwloc_config_prefix[tests/ports/topology-freebsd.c]:hwloc_config_prefix[src/topology-freebsd.c]
+ hwloc_config_prefix[tests/ports/topology-netbsd.c]:hwloc_config_prefix[src/topology-netbsd.c]
+ hwloc_config_prefix[tests/ports/topology-hpux.c]:hwloc_config_prefix[src/topology-hpux.c]
+ hwloc_config_prefix[tests/ports/topology-bgq.c]:hwloc_config_prefix[src/topology-bgq.c]
+ hwloc_config_prefix[tests/ports/topology-opencl.c]:hwloc_config_prefix[src/topology-opencl.c]
+ hwloc_config_prefix[tests/ports/topology-cuda.c]:hwloc_config_prefix[src/topology-cuda.c]
+ hwloc_config_prefix[tests/ports/topology-nvml.c]:hwloc_config_prefix[src/topology-nvml.c]
+ hwloc_config_prefix[tests/ports/topology-gl.c]:hwloc_config_prefix[src/topology-gl.c])
+ ])
+])dnl
+
+#-----------------------------------------------------------------------
+
+AC_DEFUN([_HWLOC_CHECK_DIFF_U], [
+ AC_MSG_CHECKING([whether diff accepts -u])
+ if diff -u /dev/null /dev/null 2> /dev/null
+ then
+ AC_MSG_RESULT([yes])
+ HWLOC_DIFF_U="-u"
+ else
+ AC_MSG_RESULT([no])
+ HWLOC_DIFF_U=""
+ fi
+ AC_SUBST([HWLOC_DIFF_U])
+])
+
+AC_DEFUN([_HWLOC_CHECK_DIFF_W], [
+ AC_MSG_CHECKING([whether diff accepts -w])
+ if diff -w /dev/null /dev/null 2> /dev/null
+ then
+ AC_MSG_RESULT([yes])
+ HWLOC_DIFF_W="-w"
+ else
+ AC_MSG_RESULT([no])
+ HWLOC_DIFF_W=""
+ fi
+ AC_SUBST([HWLOC_DIFF_W])
+])
--- /dev/null
+# Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2015 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+# hwloc modification to the following PKG_* macros -- add HWLOC_
+# prefix to make it "safe" to embed these macros in other packages.
+# Originally copied from the pkg-config package; see copyright and
+# license below.
+
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+#
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# HWLOC_PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+# hwloc note: Per https://git.open-mpi.org/trac/hwloc/ticket/55, keep
+# the environment variable $PKG_CONFIG (vs. renaming it
+# $HWLOC_PKG_CONFIG). Short explanation: $PKG_CONFIG is a well-known
+# environment variable that can be set by users to override what these
+# .m4 macros do. There's no reason we should have a different env
+# variable name (e.g., $HWLOC_PKG_CONFIG). So leave it named
+# $PKG_CONFIG both here in this specific macro, and all the other
+# macros that use it.
+AC_DEFUN([HWLOC_PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ HWLOC_pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $HWLOC_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $HWLOC_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+
+fi[]dnl
+])# HWLOC_PKG_PROG_PKG_CONFIG
+
+# HWLOC_PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to HWLOC_PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+#
+# Similar to HWLOC_PKG_CHECK_MODULES, make sure that the first instance of
+# this or HWLOC_PKG_CHECK_MODULES is called, or make sure to call
+# HWLOC_PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([HWLOC_PKG_CHECK_EXISTS],
+[AC_REQUIRE([HWLOC_PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --silence-errors "$1"]); then
+ m4_ifval([$2], [$2], [:])
+ m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+
+# _HWLOC_PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_HWLOC_PKG_CONFIG],
+[if test -n "$PKG_CONFIG"; then
+ if test -n "$$1"; then
+ HWLOC_pkg_cv_[]$1="$$1"
+ else
+ HWLOC_PKG_CHECK_EXISTS([$3],
+ [HWLOC_pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+ [HWLOC_pkg_failed=yes])
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi[]
+])# _HWLOC_PKG_CONFIG
+
+# _HWLOC_PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_HWLOC_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([HWLOC_PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ HWLOC_pkg_short_errors_supported=yes
+else
+ HWLOC_pkg_short_errors_supported=no
+fi[]dnl
+])# _HWLOC_PKG_SHORT_ERRORS_SUPPORTED
+
+
+# HWLOC_PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, FUNCTION, HEADER, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# HWLOC_PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to HWLOC_PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([HWLOC_PKG_CHECK_MODULES],[
+ AC_REQUIRE([HWLOC_PKG_PROG_PKG_CONFIG])dnl
+ AC_ARG_VAR([HWLOC_]$1[_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+ AC_ARG_VAR([HWLOC_]$1[_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+ HWLOC_pkg_failed=no
+ AC_MSG_CHECKING([for $1])
+
+ _HWLOC_PKG_CONFIG([HWLOC_][$1][_CFLAGS], [cflags], [$2])
+ _HWLOC_PKG_CONFIG([HWLOC_][$1][_LIBS], [libs], [$2])
+
+ m4_define([_HWLOC_PKG_TEXT], [Alternatively, you may set the environment variables HWLOC_[]$1[]_CFLAGS
+and HWLOC_[]$1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+ # Check for failure of pkg-config
+ if test $HWLOC_pkg_failed = yes; then
+ _HWLOC_PKG_SHORT_ERRORS_SUPPORTED
+ if test $HWLOC_pkg_short_errors_supported = yes; then
+ HWLOC_[]$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2" 2>&1`
+ else
+ HWLOC_[]$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$HWLOC_[]$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ ifelse([$6], , [AC_MSG_ERROR(dnl
+[Package requirements ($2) were not met:
+
+$HWLOC_$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_HWLOC_PKG_TEXT
+])],
+ [AC_MSG_RESULT([no])
+ $6])
+ elif test $HWLOC_pkg_failed = untried; then
+ ifelse([$6], , [AC_MSG_FAILURE(dnl
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_HWLOC_PKG_TEXT
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
+ [AC_MSG_RESULT([cannot check without pkg-config])
+ $6])
+ else
+ AC_MSG_RESULT([yes])
+
+ # If we got good results from pkg-config, check that they
+ # actually work (i.e., that we can link against the resulting
+ # $LIBS). The canonical example why we do this is if
+ # pkg-config returns 64 bit libraries but ./configure was run
+ # with CFLAGS=-m32 LDFLAGS=-m32. pkg-config gave us valid
+ # results, but we'll fail if we try to link. So detect that
+ # failure now.
+ # There are also cases on Mac where pkg-config returns paths
+ # that do not actually exists until some magic is applied.
+ # http://www.open-mpi.org/community/lists/hwloc-devel/2015/03/4402.php
+ # So check whether we find the header as well.
+ hwloc_cflags_save=$CFLAGS
+ hwloc_cppflags_save=$CPPFLAGS
+ hwloc_libs_save=$LIBS
+ CFLAGS="$CFLAGS $HWLOC_pkg_cv_HWLOC_[]$1[]_CFLAGS"
+ CPPFLAGS="$CPPFLAGS $HWLOC_pkg_cv_HWLOC_[]$1[]_CFLAGS"
+ LIBS="$LIBS $HWLOC_pkg_cv_HWLOC_[]$1[]_LIBS"
+ AC_CHECK_HEADER([$4], [
+ AC_CHECK_FUNC([$3], [hwloc_result=yes], [hwloc_result=no])
+ ], [hwloc_result=no])
+ CFLAGS=$hwloc_cflags_save
+ CPPFLAGS=$hwloc_cppflags_save
+ LIBS=$hwloc_libs_save
+
+ AC_MSG_CHECKING([for final $1 support])
+ AS_IF([test "$hwloc_result" = "yes"],
+ [HWLOC_[]$1[]_CFLAGS=$HWLOC_pkg_cv_HWLOC_[]$1[]_CFLAGS
+ HWLOC_[]$1[]_LIBS=$HWLOC_pkg_cv_HWLOC_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ ifelse([$5], , :, [$5])],
+ [AC_MSG_RESULT([no])
+ ifelse([$6], , :, [$6])])
+ fi[]dnl
+])# HWLOC_PKG_CHECK_MODULES
--- /dev/null
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2013-12-25.23; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# 'make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+
+tab=' '
+nl='
+'
+IFS=" $tab$nl"
+
+# Set DOITPROG to "echo" to test this script.
+
+doit=${DOITPROG-}
+doit_exec=${doit:-exec}
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
+rmcmd="$rmprog -f"
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+is_target_a_directory=possibly
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t)
+ is_target_a_directory=always
+ dst_arg=$2
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) is_target_a_directory=never;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+# We allow the use of options -d and -T together, by making -d
+# take the precedence; this is for compatibility with GNU install.
+
+if test -n "$dir_arg"; then
+ if test -n "$dst_arg"; then
+ echo "$0: target directory not allowed when installing a directory." >&2
+ exit 1
+ fi
+fi
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call 'install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ if test $# -gt 1 || test "$is_target_a_directory" = always; then
+ if test ! -d "$dst_arg"; then
+ echo "$0: $dst_arg: Is not a directory." >&2
+ exit 1
+ fi
+ fi
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for 'test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test "$is_target_a_directory" = never; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ dstdir=`dirname "$dst"`
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
+ esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ oIFS=$IFS
+ IFS=/
+ set -f
+ set fnord $dstdir
+ shift
+ set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+ set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ set +f &&
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+#
+# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
+# Written by Gordon Matzigkeit, 1996
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+m4_define([_LT_COPYING], [dnl
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+])
+
+# serial 58 LT_INIT
+
+
+# LT_PREREQ(VERSION)
+# ------------------
+# Complain and exit if this libtool version is less that VERSION.
+m4_defun([LT_PREREQ],
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
+ [m4_default([$3],
+ [m4_fatal([Libtool version $1 or higher is required],
+ 63)])],
+ [$2])])
+
+
+# _LT_CHECK_BUILDDIR
+# ------------------
+# Complain if the absolute build directory name contains unusual characters
+m4_defun([_LT_CHECK_BUILDDIR],
+[case `pwd` in
+ *\ * | *\ *)
+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
+esac
+])
+
+
+# LT_INIT([OPTIONS])
+# ------------------
+AC_DEFUN([LT_INIT],
+[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+AC_BEFORE([$0], [LT_LANG])dnl
+AC_BEFORE([$0], [LT_OUTPUT])dnl
+AC_BEFORE([$0], [LTDL_INIT])dnl
+m4_require([_LT_CHECK_BUILDDIR])dnl
+
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
+dnl unless we require an AC_DEFUNed macro:
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
+AC_REQUIRE([LTSUGAR_VERSION])dnl
+AC_REQUIRE([LTVERSION_VERSION])dnl
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
+m4_require([_LT_PROG_LTMAIN])dnl
+
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
+dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+AC_SUBST(LIBTOOL)dnl
+
+_LT_SETUP
+
+# Only expand once:
+m4_define([LT_INIT])
+])# LT_INIT
+
+# Old names:
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
+
+
+# _LT_PREPARE_CC_BASENAME
+# -----------------------
+m4_defun([_LT_PREPARE_CC_BASENAME], [
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+func_cc_basename ()
+{
+ for cc_temp in @S|@*""; do
+ case $cc_temp in
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+ done
+ func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+}
+])# _LT_PREPARE_CC_BASENAME
+
+
+# _LT_CC_BASENAME(CC)
+# -------------------
+# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
+# but that macro is also expanded into generated libtool script, which
+# arranges for $SED and $ECHO to be set by different means.
+m4_defun([_LT_CC_BASENAME],
+[m4_require([_LT_PREPARE_CC_BASENAME])dnl
+AC_REQUIRE([_LT_DECL_SED])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+func_cc_basename $1
+cc_basename=$func_cc_basename_result
+])
+
+
+# _LT_FILEUTILS_DEFAULTS
+# ----------------------
+# It is okay to use these file commands and assume they have been set
+# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
+m4_defun([_LT_FILEUTILS_DEFAULTS],
+[: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+])# _LT_FILEUTILS_DEFAULTS
+
+
+# _LT_SETUP
+# ---------
+m4_defun([_LT_SETUP],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+
+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
+dnl
+_LT_DECL([], [host_alias], [0], [The host system])dnl
+_LT_DECL([], [host], [0])dnl
+_LT_DECL([], [host_os], [0])dnl
+dnl
+_LT_DECL([], [build_alias], [0], [The build system])dnl
+_LT_DECL([], [build], [0])dnl
+_LT_DECL([], [build_os], [0])dnl
+dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+dnl
+AC_REQUIRE([AC_PROG_LN_S])dnl
+test -z "$LN_S" && LN_S="ln -s"
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
+dnl
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
+dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
+m4_require([_LT_CMD_RELOAD])dnl
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_WITH_SYSROOT])dnl
+m4_require([_LT_CMD_TRUNCATE])dnl
+
+_LT_CONFIG_LIBTOOL_INIT([
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+])
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+_LT_CHECK_OBJDIR
+
+m4_require([_LT_TAG_COMPILER])dnl
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+old_CC=$CC
+old_CFLAGS=$CFLAGS
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+_LT_CC_BASENAME([$compiler])
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ _LT_PATH_MAGIC
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+LT_SUPPORTED_TAG([CC])
+_LT_LANG_C_CONFIG
+_LT_LANG_DEFAULT_CONFIG
+_LT_CONFIG_COMMANDS
+])# _LT_SETUP
+
+
+# _LT_PREPARE_SED_QUOTE_VARS
+# --------------------------
+# Define a few sed substitution that help us do robust quoting.
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
+[# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+])
+
+# _LT_PROG_LTMAIN
+# ---------------
+# Note that this code is called both from 'configure', and 'config.status'
+# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
+# 'config.status' has no value for ac_aux_dir unless we are using Automake,
+# so we pass a copy along to make sure it has a sensible value anyway.
+m4_defun([_LT_PROG_LTMAIN],
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
+ltmain=$ac_aux_dir/ltmain.sh
+])# _LT_PROG_LTMAIN
+
+
+## ------------------------------------- ##
+## Accumulate code for creating libtool. ##
+## ------------------------------------- ##
+
+# So that we can recreate a full libtool script including additional
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
+# in macros and then make a single call at the end using the 'libtool'
+# label.
+
+
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
+# ----------------------------------------
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
+
+
+# _LT_CONFIG_LIBTOOL([COMMANDS])
+# ------------------------------
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
+
+
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
+# -----------------------------------------------------
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
+[_LT_CONFIG_LIBTOOL([$1])
+_LT_CONFIG_LIBTOOL_INIT([$2])
+])
+
+
+# _LT_FORMAT_COMMENT([COMMENT])
+# -----------------------------
+# Add leading comment marks to the start of each line, and a trailing
+# full-stop to the whole comment if one is not present already.
+m4_define([_LT_FORMAT_COMMENT],
+[m4_ifval([$1], [
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
+)])
+
+
+
+## ------------------------ ##
+## FIXME: Eliminate VARNAME ##
+## ------------------------ ##
+
+
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
+# -------------------------------------------------------------------
+# CONFIGNAME is the name given to the value in the libtool script.
+# VARNAME is the (base) name used in the configure script.
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
+# VARNAME. Any other value will be used directly.
+m4_define([_LT_DECL],
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
+ [m4_ifval([$1], [$1], [$2])])
+ lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
+ m4_ifval([$4],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
+ lt_dict_add_subkey([lt_decl_dict], [$2],
+ [tagged?], [m4_ifval([$5], [yes], [no])])])
+])
+
+
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
+# --------------------------------------------------------
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
+
+
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_tag_varnames],
+[_lt_decl_filter([tagged?], [yes], $@)])
+
+
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
+# ---------------------------------------------------------
+m4_define([_lt_decl_filter],
+[m4_case([$#],
+ [0], [m4_fatal([$0: too few arguments: $#])],
+ [1], [m4_fatal([$0: too few arguments: $#: $1])],
+ [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
+ [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
+ [lt_dict_filter([lt_decl_dict], $@)])[]dnl
+])
+
+
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
+# --------------------------------------------------
+m4_define([lt_decl_quote_varnames],
+[_lt_decl_filter([value], [1], $@)])
+
+
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_dquote_varnames],
+[_lt_decl_filter([value], [2], $@)])
+
+
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_varnames_tagged],
+[m4_assert([$# <= 2])dnl
+_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
+m4_define([_lt_decl_varnames_tagged],
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
+
+
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_all_varnames],
+[_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_if([$2], [],
+ m4_quote(lt_decl_varnames),
+ m4_quote(m4_shift($@))))[]dnl
+])
+m4_define([_lt_decl_all_varnames],
+[lt_join($@, lt_decl_varnames_tagged([$1],
+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
+])
+
+
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
+# ------------------------------------
+# Quote a variable value, and forward it to 'config.status' so that its
+# declaration there will have the same value as in 'configure'. VARNAME
+# must have a single quote delimited value for this to work.
+m4_define([_LT_CONFIG_STATUS_DECLARE],
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
+
+
+# _LT_CONFIG_STATUS_DECLARATIONS
+# ------------------------------
+# We delimit libtool config variables with single quotes, so when
+# we write them to config.status, we have to be sure to quote all
+# embedded single quotes properly. In configure, this macro expands
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
+#
+# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
+ [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAGS
+# ----------------
+# Output comment and list of tags supported by the script
+m4_defun([_LT_LIBTOOL_TAGS],
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
+available_tags='_LT_TAGS'dnl
+])
+
+
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
+# -----------------------------------
+# Extract the dictionary values for VARNAME (optionally with TAG) and
+# expand to a commented shell variable setting:
+#
+# # Some comment about what VAR is for.
+# visible_name=$lt_internal_name
+m4_define([_LT_LIBTOOL_DECLARE],
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
+ [description])))[]dnl
+m4_pushdef([_libtool_name],
+ m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
+ [0], [_libtool_name=[$]$1],
+ [1], [_libtool_name=$lt_[]$1],
+ [2], [_libtool_name=$lt_[]$1],
+ [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
+])
+
+
+# _LT_LIBTOOL_CONFIG_VARS
+# -----------------------
+# Produce commented declarations of non-tagged libtool config variables
+# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
+# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
+[m4_foreach([_lt_var],
+ m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAG_VARS(TAG)
+# -------------------------
+m4_define([_LT_LIBTOOL_TAG_VARS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
+
+
+# _LT_TAGVAR(VARNAME, [TAGNAME])
+# ------------------------------
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
+
+
+# _LT_CONFIG_COMMANDS
+# -------------------
+# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
+# variables for single and double quote escaping we saved from calls
+# to _LT_DECL, we can put quote escaped variables declarations
+# into 'config.status', and then the shell code to quote escape them in
+# for loops in 'config.status'. Finally, any additional code accumulated
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
+m4_defun([_LT_CONFIG_COMMANDS],
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
+ dnl If the libtool generation code has been placed in $CONFIG_LT,
+ dnl instead of duplicating it all over again into config.status,
+ dnl then we will have config.status run $CONFIG_LT later, so it
+ dnl needs to know what name is stored there:
+ [AC_CONFIG_COMMANDS([libtool],
+ [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
+ dnl If the libtool generation code is destined for config.status,
+ dnl expand the accumulated commands and init code now:
+ [AC_CONFIG_COMMANDS([libtool],
+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
+])#_LT_CONFIG_COMMANDS
+
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
+[
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+_LT_CONFIG_STATUS_DECLARATIONS
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$[]1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_quote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_dquote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+_LT_OUTPUT_LIBTOOL_INIT
+])
+
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
+# ------------------------------------
+# Generate a child script FILE with all initialization necessary to
+# reuse the environment learned by the parent script, and make the
+# file executable. If COMMENT is supplied, it is inserted after the
+# '#!' sequence but before initialization text begins. After this
+# macro, additional text can be appended to FILE to form the body of
+# the child script. The macro ends with non-zero status if the
+# file could not be fully written (such as if the disk is full).
+m4_ifdef([AS_INIT_GENERATED],
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
+[m4_defun([_LT_GENERATED_FILE_INIT],
+[m4_require([AS_PREPARE])]dnl
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
+[lt_write_fail=0
+cat >$1 <<_ASEOF || lt_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+$2
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$1 <<\_ASEOF || lt_write_fail=1
+AS_SHELL_SANITIZE
+_AS_PREPARE
+exec AS_MESSAGE_FD>&1
+_ASEOF
+test 0 = "$lt_write_fail" && chmod +x $1[]dnl
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
+
+# LT_OUTPUT
+# ---------
+# This macro allows early generation of the libtool script (before
+# AC_OUTPUT is called), incase it is used in configure for compilation
+# tests.
+AC_DEFUN([LT_OUTPUT],
+[: ${CONFIG_LT=./config.lt}
+AC_MSG_NOTICE([creating $CONFIG_LT])
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+lt_cl_silent=false
+exec AS_MESSAGE_LOG_FD>>config.log
+{
+ echo
+ AS_BOX([Running $as_me.])
+} >&AS_MESSAGE_LOG_FD
+
+lt_cl_help="\
+'$as_me' creates a local libtool stub from the current configuration,
+for use in further configure time tests before the real libtool is
+generated.
+
+Usage: $[0] [[OPTIONS]]
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+
+Report bugs to <bug-libtool@gnu.org>."
+
+lt_cl_version="\
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
+configured by $[0], generated by m4_PACKAGE_STRING.
+
+Copyright (C) 2011 Free Software Foundation, Inc.
+This config.lt script is free software; the Free Software Foundation
+gives unlimited permision to copy, distribute and modify it."
+
+while test 0 != $[#]
+do
+ case $[1] in
+ --version | --v* | -V )
+ echo "$lt_cl_version"; exit 0 ;;
+ --help | --h* | -h )
+ echo "$lt_cl_help"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --quiet | --q* | --silent | --s* | -q )
+ lt_cl_silent=: ;;
+
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
+Try '$[0] --help' for more information.]) ;;
+
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
+Try '$[0] --help' for more information.]) ;;
+ esac
+ shift
+done
+
+if $lt_cl_silent; then
+ exec AS_MESSAGE_FD>/dev/null
+fi
+_LTEOF
+
+cat >>"$CONFIG_LT" <<_LTEOF
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
+_LTEOF
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+AC_MSG_NOTICE([creating $ofile])
+_LT_OUTPUT_LIBTOOL_COMMANDS
+AS_EXIT(0)
+_LTEOF
+chmod +x "$CONFIG_LT"
+
+# configure is writing to config.log, but config.lt does its own redirection,
+# appending to config.log, which fails on DOS, as config.log is still kept
+# open by configure. Here we exec the FD to /dev/null, effectively closing
+# config.log, so it can be properly (re)opened and appended to by config.lt.
+lt_cl_success=:
+test yes = "$silent" &&
+ lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
+])# LT_OUTPUT
+
+
+# _LT_CONFIG(TAG)
+# ---------------
+# If TAG is the built-in tag, create an initial libtool script with a
+# default configuration from the untagged config vars. Otherwise add code
+# to config.status for appending the configuration named by TAG from the
+# matching tagged config vars.
+m4_defun([_LT_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_CONFIG_SAVE_COMMANDS([
+ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
+ m4_if(_LT_TAG, [C], [
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+_LT_COPYING
+_LT_LIBTOOL_TAGS
+
+# Configured defaults for sys_lib_dlsearch_path munging.
+: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
+
+# ### BEGIN LIBTOOL CONFIG
+_LT_LIBTOOL_CONFIG_VARS
+_LT_LIBTOOL_TAG_VARS
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ cat <<'_LT_EOF' >> "$cfgfile"
+
+# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
+
+_LT_PREPARE_MUNGE_PATH_LIST
+_LT_PREPARE_CC_BASENAME
+
+# ### END FUNCTIONS SHARED WITH CONFIGURE
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+ _LT_PROG_LTMAIN
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+],
+[cat <<_LT_EOF >> "$ofile"
+
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
+dnl in a comment (ie after a #).
+# ### BEGIN LIBTOOL TAG CONFIG: $1
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
+# ### END LIBTOOL TAG CONFIG: $1
+_LT_EOF
+])dnl /m4_if
+],
+[m4_if([$1], [], [
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ RM='$RM'
+ ofile='$ofile'], [])
+])dnl /_LT_CONFIG_SAVE_COMMANDS
+])# _LT_CONFIG
+
+
+# LT_SUPPORTED_TAG(TAG)
+# ---------------------
+# Trace this macro to discover what tags are supported by the libtool
+# --tag option, using:
+# autoconf --trace 'LT_SUPPORTED_TAG:$1'
+AC_DEFUN([LT_SUPPORTED_TAG], [])
+
+
+# C support is built-in for now
+m4_define([_LT_LANG_C_enabled], [])
+m4_define([_LT_TAGS], [])
+
+
+# LT_LANG(LANG)
+# -------------
+# Enable libtool support for the given language if not already enabled.
+AC_DEFUN([LT_LANG],
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
+m4_case([$1],
+ [C], [_LT_LANG(C)],
+ [C++], [_LT_LANG(CXX)],
+ [Go], [_LT_LANG(GO)],
+ [Java], [_LT_LANG(GCJ)],
+ [Fortran 77], [_LT_LANG(F77)],
+ [Fortran], [_LT_LANG(FC)],
+ [Windows Resource], [_LT_LANG(RC)],
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
+ [_LT_LANG($1)],
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
+])# LT_LANG
+
+
+# _LT_LANG(LANGNAME)
+# ------------------
+m4_defun([_LT_LANG],
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
+ [LT_SUPPORTED_TAG([$1])dnl
+ m4_append([_LT_TAGS], [$1 ])dnl
+ m4_define([_LT_LANG_]$1[_enabled], [])dnl
+ _LT_LANG_$1_CONFIG($1)])dnl
+])# _LT_LANG
+
+
+m4_ifndef([AC_PROG_GO], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_GO. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+m4_defun([AC_PROG_GO],
+[AC_LANG_PUSH(Go)dnl
+AC_ARG_VAR([GOC], [Go compiler command])dnl
+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
+_AC_ARG_VAR_LDFLAGS()dnl
+AC_CHECK_TOOL(GOC, gccgo)
+if test -z "$GOC"; then
+ if test -n "$ac_tool_prefix"; then
+ AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
+ fi
+fi
+if test -z "$GOC"; then
+ AC_CHECK_PROG(GOC, gccgo, gccgo, false)
+fi
+])#m4_defun
+])#m4_ifndef
+
+
+# _LT_LANG_DEFAULT_CONFIG
+# -----------------------
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [LT_LANG(CXX)],
+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_F77],
+ [LT_LANG(F77)],
+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_FC],
+ [LT_LANG(FC)],
+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
+
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
+dnl pulling things in needlessly.
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [m4_ifdef([AC_PROG_GCJ],
+ [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([A][M_PROG_GCJ],
+ [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([LT_PROG_GCJ],
+ [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
+
+AC_PROVIDE_IFELSE([AC_PROG_GO],
+ [LT_LANG(GO)],
+ [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
+
+AC_PROVIDE_IFELSE([LT_PROG_RC],
+ [LT_LANG(RC)],
+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
+])# _LT_LANG_DEFAULT_CONFIG
+
+# Obsolete macros:
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
+
+
+# _LT_TAG_COMPILER
+# ----------------
+m4_defun([_LT_TAG_COMPILER],
+[AC_REQUIRE([AC_PROG_CC])dnl
+
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+])# _LT_TAG_COMPILER
+
+
+# _LT_COMPILER_BOILERPLATE
+# ------------------------
+# Check for compiler boilerplate output or warnings with
+# the simple compiler test code.
+m4_defun([_LT_COMPILER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+])# _LT_COMPILER_BOILERPLATE
+
+
+# _LT_LINKER_BOILERPLATE
+# ----------------------
+# Check for linker boilerplate output or warnings with
+# the simple link test code.
+m4_defun([_LT_LINKER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+])# _LT_LINKER_BOILERPLATE
+
+# _LT_REQUIRED_DARWIN_CHECKS
+# -------------------------
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
+ case $host_os in
+ rhapsody* | darwin*)
+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
+ AC_CHECK_TOOL([LIPO], [lipo], [:])
+ AC_CHECK_TOOL([OTOOL], [otool], [:])
+ AC_CHECK_TOOL([OTOOL64], [otool64], [:])
+ _LT_DECL([], [DSYMUTIL], [1],
+ [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
+ _LT_DECL([], [NMEDIT], [1],
+ [Tool to change global to local symbols on Mac OS X])
+ _LT_DECL([], [LIPO], [1],
+ [Tool to manipulate fat objects and archives on Mac OS X])
+ _LT_DECL([], [OTOOL], [1],
+ [ldd/readelf like tool for Mach-O binaries on Mac OS X])
+ _LT_DECL([], [OTOOL64], [1],
+ [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
+
+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
+ [lt_cv_apple_cc_single_mod=no
+ if test -z "$LT_MULTI_MODULE"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi])
+
+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
+ [lt_cv_ld_exported_symbols_list],
+ [lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [lt_cv_ld_exported_symbols_list=yes],
+ [lt_cv_ld_exported_symbols_list=no])
+ LDFLAGS=$save_LDFLAGS
+ ])
+
+ AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
+ [lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
+ echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+ $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+ echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
+ $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+ ])
+ case $host_os in
+ rhapsody* | darwin1.[[012]])
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ 10.[[012]][[,.]]*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
+ fi
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+])
+
+
+# _LT_DARWIN_LINKER_FEATURES([TAG])
+# ---------------------------------
+# Checks for linker and compiler features on darwin
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
+[
+ m4_require([_LT_REQUIRED_DARWIN_CHECKS])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+ m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
+ [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+ m4_if([$1], [CXX],
+[ if test yes != "$lt_cv_apple_cc_single_mod"; then
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+ fi
+],[])
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+])
+
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
+# ----------------------------------
+# Links a minimal program and checks the executable
+# for the system default hardcoded library path. In most cases,
+# this is /usr/lib:/lib, but when the MPI compilers are used
+# the location of the communication and MPI libs are included too.
+# If we don't find anything, use the default library path according
+# to the aix ld manual.
+# Store the results from the different compilers for each TAGNAME.
+# Allow to override them for all tags through lt_cv_aix_libpath.
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
+[m4_require([_LT_DECL_SED])dnl
+if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
+ lt_aix_libpath_sed='[
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }]'
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi],[])
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
+ fi
+ ])
+ aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
+fi
+])# _LT_SYS_MODULE_PATH_AIX
+
+
+# _LT_SHELL_INIT(ARG)
+# -------------------
+m4_define([_LT_SHELL_INIT],
+[m4_divert_text([M4SH-INIT], [$1
+])])# _LT_SHELL_INIT
+
+
+
+# _LT_PROG_ECHO_BACKSLASH
+# -----------------------
+# Find how we can fake an echo command that does not interpret backslash.
+# In particular, with Autoconf 2.60 or later we add some code to the start
+# of the generated configure script that will find a shell with a builtin
+# printf (that we can use as an echo command).
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+AC_MSG_CHECKING([how to print strings])
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$[]1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+case $ECHO in
+ printf*) AC_MSG_RESULT([printf]) ;;
+ print*) AC_MSG_RESULT([print -r]) ;;
+ *) AC_MSG_RESULT([cat]) ;;
+esac
+
+m4_ifdef([_AS_DETECT_SUGGESTED],
+[_AS_DETECT_SUGGESTED([
+ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test "X`printf %s $ECHO`" = "X$ECHO" \
+ || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
+
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
+])# _LT_PROG_ECHO_BACKSLASH
+
+
+# _LT_WITH_SYSROOT
+# ----------------
+AC_DEFUN([_LT_WITH_SYSROOT],
+[AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
+ [Search for dependent libraries within DIR (or the compiler's sysroot
+ if not specified).])],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted. We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ AC_MSG_RESULT([$with_sysroot])
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
+ ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and where our libraries should be installed.])])
+
+# _LT_ENABLE_LOCK
+# ---------------
+m4_defun([_LT_ENABLE_LOCK],
+[AC_ARG_ENABLE([libtool-lock],
+ [AS_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test no = "$enable_libtool_lock" || enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out what ABI is being produced by ac_compile, and set mode
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE=32
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE=64
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly. Note that the listed cases only cover the
+ # situations where additional linker options are needed (such as when
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
+ # vice versa); the common cases where no linker options are needed do
+ # not appear in the list.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -belf"
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+ [AC_LANG_PUSH(C)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP])
+ if test yes != "$lt_cv_cc_needs_belf"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS=$SAVE_CFLAGS
+ fi
+ ;;
+*-*solaris*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*|x86_64-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD=${LD-ld}_sol2
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks=$enable_libtool_lock
+])# _LT_ENABLE_LOCK
+
+
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+ [lt_cv_ar_at_file=no
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
+ [echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([lt_ar_try])
+ if test 0 -eq "$ac_status"; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ AC_TRY_EVAL([lt_ar_try])
+ if test 0 -ne "$ac_status"; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+ ])
+ ])
+
+if test no = "$lt_cv_ar_at_file"; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+ [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
+# _LT_CMD_OLD_ARCHIVE
+# -------------------
+m4_defun([_LT_CMD_OLD_ARCHIVE],
+[_LT_PROG_AR
+
+AC_CHECK_TOOL(STRIP, strip, :)
+test -z "$STRIP" && STRIP=:
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
+
+AC_CHECK_TOOL(RANLIB, ranlib, :)
+test -z "$RANLIB" && RANLIB=:
+_LT_DECL([], [RANLIB], [1],
+ [Commands used to install an old-style archive])
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ bitrig* | openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+_LT_DECL([], [old_postinstall_cmds], [2])
+_LT_DECL([], [old_postuninstall_cmds], [2])
+_LT_TAGDECL([], [old_archive_cmds], [2],
+ [Commands used to build an old-style archive])
+_LT_DECL([], [lock_old_archive_extraction], [0],
+ [Whether to use a lock for old archive extraction])
+])# _LT_CMD_OLD_ARCHIVE
+
+
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([_LT_COMPILER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ fi
+ $RM conftest*
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$5], , :, [$5])
+else
+ m4_if([$6], , :, [$6])
+fi
+])# _LT_COMPILER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
+
+
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------
+# Check whether the given linker option works
+AC_DEFUN([_LT_LINKER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $3"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ else
+ $2=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$4], , :, [$4])
+else
+ m4_if([$5], , :, [$5])
+fi
+])# _LT_LINKER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
+
+
+# LT_CMD_MAX_LEN
+#---------------
+AC_DEFUN([LT_CMD_MAX_LEN],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+])
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+_LT_DECL([], [max_cmd_len], [0],
+ [What is the maximum length of a command?])
+])# LT_CMD_MAX_LEN
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
+
+
+# _LT_HEADER_DLFCN
+# ----------------
+m4_defun([_LT_HEADER_DLFCN],
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
+])# _LT_HEADER_DLFCN
+
+
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+# ----------------------------------------------------------------
+m4_defun([_LT_TRY_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test yes = "$cross_compiling"; then :
+ [$4]
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}]
+_LT_EOF
+ if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) $1 ;;
+ x$lt_dlneed_uscore) $2 ;;
+ x$lt_dlunknown|x*) $3 ;;
+ esac
+ else :
+ # compilation failed
+ $3
+ fi
+fi
+rm -fr conftest*
+])# _LT_TRY_DLOPEN_SELF
+
+
+# LT_SYS_DLOPEN_SELF
+# ------------------
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen=shl_load],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen=dlopen],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
+ [Whether dlopen is supported])
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
+ [Whether dlopen of programs is supported])
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
+ [Whether dlopen of statically linked programs is supported])
+])# LT_SYS_DLOPEN_SELF
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
+
+
+# _LT_COMPILER_C_O([TAGNAME])
+# ---------------------------
+# Check to see if options -c and -o are simultaneously supported by compiler.
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
+m4_defun([_LT_COMPILER_C_O],
+[m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ fi
+ fi
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+])
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
+ [Does compiler simultaneously support -c and -o options?])
+])# _LT_COMPILER_C_O
+
+
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
+# ----------------------------------
+# Check to see if we can do hard links to lock some files if needed
+m4_defun([_LT_COMPILER_FILE_LOCKS],
+[m4_require([_LT_ENABLE_LOCK])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_COMPILER_C_O([$1])
+
+hard_links=nottested
+if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ AC_MSG_CHECKING([if we can lock with hard links])
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ AC_MSG_RESULT([$hard_links])
+ if test no = "$hard_links"; then
+ AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
+])# _LT_COMPILER_FILE_LOCKS
+
+
+# _LT_CHECK_OBJDIR
+# ----------------
+m4_defun([_LT_CHECK_OBJDIR],
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+[rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null])
+objdir=$lt_cv_objdir
+_LT_DECL([], [objdir], [0],
+ [The name of the directory that contains temporary libtool files])dnl
+m4_pattern_allow([LT_OBJDIR])dnl
+AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
+ [Define to the sub-directory where libtool stores uninstalled libraries.])
+])# _LT_CHECK_OBJDIR
+
+
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
+# --------------------------------------
+# Check hardcoding attributes.
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
+_LT_TAGVAR(hardcode_action, $1)=
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
+ test -n "$_LT_TAGVAR(runpath_var, $1)" ||
+ test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
+ test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
+ # Linking always hardcodes the temporary library directory.
+ _LT_TAGVAR(hardcode_action, $1)=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ _LT_TAGVAR(hardcode_action, $1)=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ _LT_TAGVAR(hardcode_action, $1)=unsupported
+fi
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
+
+if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
+ test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+_LT_TAGDECL([], [hardcode_action], [0],
+ [How to hardcode a shared library path into an executable])
+])# _LT_LINKER_HARDCODE_LIBPATH
+
+
+# _LT_CMD_STRIPLIB
+# ----------------
+m4_defun([_LT_CMD_STRIPLIB],
+[m4_require([_LT_DECL_EGREP])
+striplib=
+old_striplib=
+AC_MSG_CHECKING([whether stripping libraries is possible])
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ AC_MSG_RESULT([yes])
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ fi
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+fi
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
+_LT_DECL([], [striplib], [1])
+])# _LT_CMD_STRIPLIB
+
+
+# _LT_PREPARE_MUNGE_PATH_LIST
+# ---------------------------
+# Make sure func_munge_path_list() is defined correctly.
+m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
+[[# func_munge_path_list VARIABLE PATH
+# -----------------------------------
+# VARIABLE is name of variable containing _space_ separated list of
+# directories to be munged by the contents of PATH, which is string
+# having a format:
+# "DIR[:DIR]:"
+# string "DIR[ DIR]" will be prepended to VARIABLE
+# ":DIR[:DIR]"
+# string "DIR[ DIR]" will be appended to VARIABLE
+# "DIRP[:DIRP]::[DIRA:]DIRA"
+# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
+# "DIRA[ DIRA]" will be appended to VARIABLE
+# "DIR[:DIR]"
+# VARIABLE will be replaced by "DIR[ DIR]"
+func_munge_path_list ()
+{
+ case x@S|@2 in
+ x)
+ ;;
+ *:)
+ eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
+ ;;
+ x:*)
+ eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
+ ;;
+ *::*)
+ eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
+ eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
+ ;;
+ *)
+ eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
+ ;;
+ esac
+}
+]])# _LT_PREPARE_PATH_LIST
+
+
+# _LT_SYS_DYNAMIC_LINKER([TAG])
+# -----------------------------
+# PORTME Fill in your ld.so characteristics
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_OBJDUMP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
+AC_MSG_CHECKING([dynamic linker characteristics])
+m4_if([$1],
+ [], [
+if test yes = "$GCC"; then
+ case $host_os in
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
+ *) lt_awk_arg='/^libraries:/' ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary...
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ # ...but if some path component already ends with the multilib dir we assume
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
+ lt_multi_os_dir=
+ ;;
+ esac
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
+ elif test -n "$lt_multi_os_dir"; then
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS = " "; FS = "/|\n";} {
+ lt_foo = "";
+ lt_count = 0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo = "/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi])
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
+[User-defined run-time library search path.])
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[[4-9]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a[(]lib.so.V[)]'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[[45]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[[23]].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux32
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux64
+ fi
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[[3-9]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
+ [lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
+ [lt_cv_shlibpath_overrides_runpath=yes])])
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+ ])
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Ideally, we could use ldconfig to report *all* directores which are
+ # searched for libraries, however this is still not possible. Aside from not
+ # being certain /sbin/ldconfig is available, command
+ # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
+ # even though it is searched at run-time. Try to do the best guess by
+ # appending ld.so.conf contents (and includes) to the search path.
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+AC_MSG_RESULT([$dynamic_linker])
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
+configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
+
+# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
+func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
+
+# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
+configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
+
+_LT_DECL([], [variables_saved_for_relink], [1],
+ [Variables whose values should be saved in libtool wrapper scripts and
+ restored at link time])
+_LT_DECL([], [need_lib_prefix], [0],
+ [Do we need the "lib" prefix for modules?])
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
+_LT_DECL([], [version_type], [0], [Library versioning type])
+_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
+ [Is shlibpath searched before the hard-coded library search path?])
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
+_LT_DECL([], [library_names_spec], [1],
+ [[List of archive names. First name is the real one, the rest are links.
+ The last name is the one that the linker finds with -lNAME]])
+_LT_DECL([], [soname_spec], [1],
+ [[The coded name of the library, if different from the real name]])
+_LT_DECL([], [install_override_mode], [1],
+ [Permission mode override for installation of shared libraries])
+_LT_DECL([], [postinstall_cmds], [2],
+ [Command to use after installation of a shared archive])
+_LT_DECL([], [postuninstall_cmds], [2],
+ [Command to use after uninstallation of a shared archive])
+_LT_DECL([], [finish_cmds], [2],
+ [Commands used to finish a libtool library installation in a directory])
+_LT_DECL([], [finish_eval], [1],
+ [[As "finish_cmds", except a single script fragment to be evaled but
+ not shown]])
+_LT_DECL([], [hardcode_into_libs], [0],
+ [Whether we should hardcode library paths into libraries])
+_LT_DECL([], [sys_lib_search_path_spec], [2],
+ [Compile-time system search path for libraries])
+_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
+ [Detected run-time system search path for libraries])
+_LT_DECL([], [configure_time_lt_sys_library_path], [2],
+ [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
+])# _LT_SYS_DYNAMIC_LINKER
+
+
+# _LT_PATH_TOOL_PREFIX(TOOL)
+# --------------------------
+# find a file program that can recognize shared library
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
+[m4_require([_LT_DECL_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$1"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac])
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+_LT_DECL([], [MAGIC_CMD], [0],
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
+])# _LT_PATH_TOOL_PREFIX
+
+# Old name:
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
+
+
+# _LT_PATH_MAGIC
+# --------------
+# find a file program that can recognize a shared library
+m4_defun([_LT_PATH_MAGIC],
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+ else
+ MAGIC_CMD=:
+ fi
+fi
+])# _LT_PATH_MAGIC
+
+
+# LT_PATH_LD
+# ----------
+# find the pathname to the GNU or non-GNU linker
+AC_DEFUN([LT_PATH_LD],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
+
+AC_ARG_WITH([gnu-ld],
+ [AS_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test no = "$withval" || with_gnu_ld=yes],
+ [with_gnu_ld=no])dnl
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi])
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+_LT_PATH_LD_GNU
+AC_SUBST([LD])
+
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
+])# LT_PATH_LD
+
+# Old names:
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_LD], [])
+dnl AC_DEFUN([AC_PROG_LD], [])
+
+
+# _LT_PATH_LD_GNU
+#- --------------
+m4_defun([_LT_PATH_LD_GNU],
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac])
+with_gnu_ld=$lt_cv_prog_gnu_ld
+])# _LT_PATH_LD_GNU
+
+
+# _LT_CMD_RELOAD
+# --------------
+# find reload flag for linker
+# -- PORTME Some linkers may need a different reload flag.
+m4_defun([_LT_CMD_RELOAD],
+[AC_CACHE_CHECK([for $LD option to reload object files],
+ lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test yes != "$GCC"; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test yes = "$GCC"; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
+_LT_TAGDECL([], [reload_cmds], [2])dnl
+])# _LT_CMD_RELOAD
+
+
+# _LT_PATH_DD
+# -----------
+# find a working dd
+m4_defun([_LT_PATH_DD],
+[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
+[printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+: ${lt_DD:=$DD}
+AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
+[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
+fi])
+rm -f conftest.i conftest2.i conftest.out])
+])# _LT_PATH_DD
+
+
+# _LT_CMD_TRUNCATE
+# ----------------
+# find command to truncate a binary pipe
+m4_defun([_LT_CMD_TRUNCATE],
+[m4_require([_LT_PATH_DD])
+AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
+[printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+lt_cv_truncate_bin=
+if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
+fi
+rm -f conftest.i conftest2.i conftest.out
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
+_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
+ [Command to truncate a binary pipe])
+])# _LT_CMD_TRUNCATE
+
+
+# _LT_CHECK_MAGIC_METHOD
+# ----------------------
+# how to check for library dependencies
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_MAGIC_METHOD],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+AC_CACHE_CHECK([how to recognize dependent libraries],
+lt_cv_deplibs_check_method,
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# 'unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# that responds to the $file_magic_cmd with a given extended regex.
+# If you have 'file' or equivalent on your system and you're not sure
+# whether 'pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[[4-9]]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[[45]]*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ if ( file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[[3-9]]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd* | bitrig*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+os2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+])
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+_LT_DECL([], [deplibs_check_method], [1],
+ [Method to check whether dependent libraries are shared objects])
+_LT_DECL([], [file_magic_cmd], [1],
+ [Command to use when deplibs_check_method = "file_magic"])
+_LT_DECL([], [file_magic_glob], [1],
+ [How to find potential files when deplibs_check_method = "file_magic"])
+_LT_DECL([], [want_nocaseglob], [1],
+ [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
+])# _LT_CHECK_MAGIC_METHOD
+
+
+# LT_PATH_NM
+# ----------
+# find the pathname to a BSD- or MS-compatible name lister
+AC_DEFUN([LT_PATH_NM],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi])
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+ AC_SUBST([DUMPBIN])
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+AC_SUBST([NM])
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
+
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
+ [lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
+ cat conftest.out >&AS_MESSAGE_LOG_FD
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*])
+])# LT_PATH_NM
+
+# Old names:
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_NM], [])
+dnl AC_DEFUN([AC_PROG_NM], [])
+
+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+# --------------------------------
+# how to determine the name of the shared library
+# associated with a specific link library.
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+m4_require([_LT_DECL_DLLTOOL])
+AC_CACHE_CHECK([how to associate runtime and link libraries],
+lt_cv_sharedlib_from_linklib_cmd,
+[lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh;
+ # decide which one to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
+ ;;
+esac
+])
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
+ [Command to associate shared and link libraries])
+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+
+
+# _LT_PATH_MANIFEST_TOOL
+# ----------------------
+# locate the manifest tool
+m4_defun([_LT_PATH_MANIFEST_TOOL],
+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
+ [lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*])
+if test yes != "$lt_cv_path_mainfest_tool"; then
+ MANIFEST_TOOL=:
+fi
+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
+])# _LT_PATH_MANIFEST_TOOL
+
+
+# _LT_DLL_DEF_P([FILE])
+# ---------------------
+# True iff FILE is a Windows DLL '.def' file.
+# Keep in sync with func_dll_def_p in the libtool script
+AC_DEFUN([_LT_DLL_DEF_P],
+[dnl
+ test DEF = "`$SED -n dnl
+ -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
+ -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
+ -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
+ -e q dnl Only consider the first "real" line
+ $1`" dnl
+])# _LT_DLL_DEF_P
+
+
+# LT_LIB_M
+# --------
+# check for math library
+AC_DEFUN([LT_LIB_M],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM=-lm)
+ ;;
+esac
+AC_SUBST([LIBM])
+])# LT_LIB_M
+
+# Old name:
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
+
+
+# _LT_COMPILER_NO_RTTI([TAGNAME])
+# -------------------------------
+m4_defun([_LT_COMPILER_NO_RTTI],
+[m4_require([_LT_TAG_COMPILER])dnl
+
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+
+if test yes = "$GCC"; then
+ case $cc_basename in
+ nvcc*)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
+ esac
+
+ _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+ lt_cv_prog_compiler_rtti_exceptions,
+ [-fno-rtti -fno-exceptions], [],
+ [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+fi
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
+ [Compiler flag to turn off builtin functions])
+])# _LT_COMPILER_NO_RTTI
+
+
+# _LT_CMD_GLOBAL_SYMBOLS
+# ----------------------
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+[
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[[BCDEGRST]]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[[BCDT]]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[[ABCDGISTW]]'
+ ;;
+hpux*)
+ if test ia64 = "$host_cpu"; then
+ symcode='[[ABCDEGRST]]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[[BCDEGRST]]'
+ ;;
+osf*)
+ symcode='[[BCDEGQRST]]'
+ ;;
+solaris*)
+ symcode='[[BDRT]]'
+ ;;
+sco3.2v5*)
+ symcode='[[DT]]'
+ ;;
+sysv4.2uw2*)
+ symcode='[[DT]]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[[ABDT]]'
+ ;;
+sysv4)
+ symcode='[[DFNSTU]]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[[ABCDGIRSTW]]' ;;
+esac
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Gets list of data symbols to import.
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
+ # Adjust the below global symbol transforms to fixup imported variables.
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
+ lt_c_name_lib_hook="\
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
+else
+ # Disable hooks by default.
+ lt_cv_sys_global_symbol_to_import=
+ lt_cdecl_hook=
+ lt_c_name_hook=
+ lt_c_name_lib_hook=
+fi
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+$lt_cdecl_hook\
+" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
+$lt_c_name_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
+
+# Transform an extracted symbol line into symbol name with lib prefix and
+# symbol address.
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
+$lt_c_name_lib_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function,
+ # D for any global variable and I for any imported variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK ['"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
+" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
+" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx]"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT@&t@_DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT@&t@_DLSYM_CONST
+#else
+# define LT@&t@_DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT@&t@_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS=conftstm.$ac_objext
+ CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+ if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test yes = "$pipe_works"; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+])
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ AC_MSG_RESULT(failed)
+else
+ AC_MSG_RESULT(ok)
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
+ [Take the output of nm and produce a listing of raw symbols and C names])
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
+ [Transform the output of nm in a proper C declaration])
+_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
+ [Transform the output of nm into a list of symbols to manually relocate])
+_LT_DECL([global_symbol_to_c_name_address],
+ [lt_cv_sys_global_symbol_to_c_name_address], [1],
+ [Transform the output of nm in a C name address pair])
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
+ [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
+ [Transform the output of nm in a C name address pair when lib prefix is needed])
+_LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
+ [The name lister interface])
+_LT_DECL([], [nm_file_list_spec], [1],
+ [Specify filename containing input files for $NM])
+]) # _LT_CMD_GLOBAL_SYMBOLS
+
+
+# _LT_COMPILER_PIC([TAGNAME])
+# ---------------------------
+m4_defun([_LT_COMPILER_PIC],
+[m4_require([_LT_TAG_COMPILER])dnl
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
+
+m4_if([$1], [CXX], [
+ # C++ specific cases for pic, static, wl, etc.
+ if test yes = "$GXX"; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[[4-9]]*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
+ if test ia64 != "$host_cpu"; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ aCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64, which still supported -KPIC.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+],
+[
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
+ if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ case $cc_basename in
+ nagfor*)
+ # NAG Fortran compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+ ;;
+ esac
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC (with -KPIC) is the default.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ # old Intel for x86_64, which still supported -KPIC.
+ ecc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ ccc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All Alpha code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ ;;
+ *Intel*\ [[CF]]*Compiler*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ *Portland\ Group*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All OSF/1 code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ rdos*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ unicos*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+])
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
+ ;;
+esac
+
+AC_CACHE_CHECK([for $compiler option to produce PIC],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
+ [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
+ [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+ esac],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+fi
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
+ [Additional compiler flags for building library objects])
+
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
+ [How to pass a linker flag through the compiler])
+#
+# Check to make sure the static flag actually works.
+#
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
+ _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
+ $lt_tmp_static_flag,
+ [],
+ [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
+ [Compiler flag to prevent dynamic linking])
+])# _LT_COMPILER_PIC
+
+
+# _LT_LINKER_SHLIBS([TAGNAME])
+# ----------------------------
+# See if the linker supports building shared libraries.
+m4_defun([_LT_LINKER_SHLIBS],
+[AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+m4_if([$1], [CXX], [
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ case $host_os in
+ aix[[4-9]]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+ ;;
+ esac
+ ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+], [
+ runpath_var=
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(archive_cmds, $1)=
+ _LT_TAGVAR(archive_expsym_cmds, $1)=
+ _LT_TAGVAR(compiler_needs_object, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(hardcode_automatic, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_TAGVAR(inherit_rpath, $1)=no
+ _LT_TAGVAR(link_all_deplibs, $1)=unknown
+ _LT_TAGVAR(module_cmds, $1)=
+ _LT_TAGVAR(module_expsym_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+ _LT_TAGVAR(thread_safe_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ _LT_TAGVAR(include_expsyms, $1)=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
+ # as well as any symbol that contains 'd'.
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+dnl Note also adjust exclude_expsyms for C++ above.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test yes != "$GCC"; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd* | bitrig*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test yes = "$with_gnu_ld"; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
+ *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test yes = "$lt_use_gnu_ld_interface"; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='$wl'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[[3-9]]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test ia64 != "$host_cpu"; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ shrext_cmds=.dll
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test linux-dietlibc = "$host_os"; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test no = "$tmp_diet"
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ tmp_sharedflag='--shared' ;;
+ nagfor*) # NAGFOR 5.3
+ tmp_sharedflag='-Wl,-shared' ;;
+ xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+
+ if test yes = "$supports_anon_versioning"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ tcc*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
+ ;;
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+
+ if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
+ runpath_var=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # traditional, no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ ;;
+ esac
+
+ if test yes = "$GCC"; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag="$shared_flag "'$wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared libraries.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[[45]]*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ # FIXME: Should let the user specify the lib program.
+ _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ dgux*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ hpux9*)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ ;;
+
+ hpux10*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ m4_if($1, [], [
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ _LT_LINKER_OPTION([if $CC understands -b],
+ _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+ [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
+ ;;
+ esac
+ fi
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
+ [lt_cv_irix_exported_symbol],
+ [save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
+ AC_LINK_IFELSE(
+ [AC_LANG_SOURCE(
+ [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+ [C++], [[int foo (void) { return 0; }]],
+ [Fortran 77], [[
+ subroutine foo
+ end]],
+ [Fortran], [[
+ subroutine foo
+ end]])])],
+ [lt_cv_irix_exported_symbol=yes],
+ [lt_cv_irix_exported_symbol=no])
+ LDFLAGS=$save_LDFLAGS])
+ if test yes = "$lt_cv_irix_exported_symbol"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
+ fi
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ linux*)
+ case $cc_basename in
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ fi
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ shrext_cmds=.dll
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ osf3*)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
+ if test yes = "$GCC"; then
+ wlarc='$wl'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='$wl'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ sunos4*)
+ if test sequent = "$host_vendor"; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ ;;
+ motorola)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4.3*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ if test sni = "$host_vendor"; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+])
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
+
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
+
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
+_LT_DECL([], [extract_expsyms_cmds], [2],
+ [The commands to extract the exported symbol list from a shared archive])
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
+x|xyes)
+ # Assume -lc should be added
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $_LT_TAGVAR(archive_cmds, $1) in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ AC_CACHE_CHECK([whether -lc should be explicitly linked in],
+ [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
+ [$RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
+ then
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ else
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ fi
+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+ ])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
+ [Whether or not to add -lc for building shared libraries])
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
+ [enable_shared_with_static_runtimes], [0],
+ [Whether or not to disallow shared libs when runtime libs are static])
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
+ [Compiler flag to allow reflexive dlopens])
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
+ [Compiler flag to generate shared objects directly from archives])
+_LT_TAGDECL([], [compiler_needs_object], [1],
+ [Whether the compiler copes with passing no objects directly])
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
+ [Create an old-style archive from a shared archive])
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
+ [Create a temporary old-style archive to link instead of a shared archive])
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
+_LT_TAGDECL([], [module_cmds], [2],
+ [Commands used to build a loadable module if different from building
+ a shared archive.])
+_LT_TAGDECL([], [module_expsym_cmds], [2])
+_LT_TAGDECL([], [with_gnu_ld], [1],
+ [Whether we are building with GNU ld or not])
+_LT_TAGDECL([], [allow_undefined_flag], [1],
+ [Flag that allows shared libraries with undefined symbols to be built])
+_LT_TAGDECL([], [no_undefined_flag], [1],
+ [Flag that enforces no undefined symbols])
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
+ [Flag to hardcode $libdir into a binary during linking.
+ This must work even if $libdir does not exist])
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
+ [Whether we need a single "-rpath" flag with a separated argument])
+_LT_TAGDECL([], [hardcode_direct], [0],
+ [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+ DIR into the resulting binary])
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
+ [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+ DIR into the resulting binary and the resulting library dependency is
+ "absolute", i.e impossible to change by setting $shlibpath_var if the
+ library is relocated])
+_LT_TAGDECL([], [hardcode_minus_L], [0],
+ [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
+ [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_automatic], [0],
+ [Set to "yes" if building a shared library automatically hardcodes DIR
+ into the library and all subsequent libraries and executables linked
+ against it])
+_LT_TAGDECL([], [inherit_rpath], [0],
+ [Set to yes if linker adds runtime paths of dependent libraries
+ to runtime path list])
+_LT_TAGDECL([], [link_all_deplibs], [0],
+ [Whether libtool must link a program against all its dependency libraries])
+_LT_TAGDECL([], [always_export_symbols], [0],
+ [Set to "yes" if exported symbols are required])
+_LT_TAGDECL([], [export_symbols_cmds], [2],
+ [The commands to list exported symbols])
+_LT_TAGDECL([], [exclude_expsyms], [1],
+ [Symbols that should not be listed in the preloaded symbols])
+_LT_TAGDECL([], [include_expsyms], [1],
+ [Symbols that must always be exported])
+_LT_TAGDECL([], [prelink_cmds], [2],
+ [Commands necessary for linking programs (against libraries) with templates])
+_LT_TAGDECL([], [postlink_cmds], [2],
+ [Commands necessary for finishing linking programs])
+_LT_TAGDECL([], [file_list_spec], [1],
+ [Specify filename containing input files])
+dnl FIXME: Not yet implemented
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
+dnl [Compiler flag to generate thread safe objects])
+])# _LT_LINKER_SHLIBS
+
+
+# _LT_LANG_C_CONFIG([TAG])
+# ------------------------
+# Ensure that the configuration variables for a C compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_C_CONFIG],
+[m4_require([_LT_DECL_EGREP])dnl
+lt_save_CC=$CC
+AC_LANG_PUSH(C)
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+_LT_TAG_COMPILER
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+ LT_SYS_DLOPEN_SELF
+ _LT_CMD_STRIPLIB
+
+ # Report what library types will actually be built
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_CONFIG($1)
+fi
+AC_LANG_POP
+CC=$lt_save_CC
+])# _LT_LANG_C_CONFIG
+
+
+# _LT_LANG_CXX_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a C++ compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_CXX_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+if test -n "$CXX" && ( test no != "$CXX" &&
+ ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
+ (test g++ != "$CXX"))); then
+ AC_PROG_CXXCPP
+else
+ _lt_caught_CXX_error=yes
+fi
+
+AC_LANG_PUSH(C++)
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(compiler_needs_object, $1)=no
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_caught_CXX_error"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test yes = "$GXX"; then
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+ else
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+ fi
+
+ if test yes = "$GXX"; then
+ # Set up default GNU C++ configuration
+
+ LT_PATH_LD
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test yes = "$with_gnu_ld"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='$wl'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aix[[4-9]]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ ;;
+ esac
+
+ if test yes = "$GXX"; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag=$shared_flag' $wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ # The "-G" linker flag allows undefined symbols.
+ _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared
+ # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ shrext_cmds=.dll
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ freebsd-elf*)
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ hpux9*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+ fi
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+ esac
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
+ _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ ;;
+ *)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
+ $RM $lib.exp'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ case $host in
+ osf3*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require '-G' NOT '-shared' on this
+ # platform.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
+ '"$_LT_TAGVAR(old_archive_cmds, $1)"
+ _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
+ '"$_LT_TAGVAR(reload_cmds, $1)"
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+ test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
+
+ _LT_TAGVAR(GCC, $1)=$GXX
+ _LT_TAGVAR(LD, $1)=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test yes != "$_lt_caught_CXX_error"
+
+AC_LANG_POP
+])# _LT_LANG_CXX_CONFIG
+
+
+# _LT_FUNC_STRIPNAME_CNF
+# ----------------------
+# func_stripname_cnf prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+#
+# This function is identical to the (non-XSI) version of func_stripname,
+# except this one can be used by m4 code that may be executed by configure,
+# rather than the libtool script.
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
+AC_REQUIRE([_LT_DECL_SED])
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
+func_stripname_cnf ()
+{
+ case @S|@2 in
+ .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
+ *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
+ esac
+} # func_stripname_cnf
+])# _LT_FUNC_STRIPNAME_CNF
+
+
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
+# ---------------------------------
+# Figure out "hidden" library dependencies from verbose
+# compiler output when linking a shared library.
+# Parse the compiler output and extract the necessary
+# objects, libraries and library flags.
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
+# Dependencies to place before and after the object being linked:
+_LT_TAGVAR(predep_objects, $1)=
+_LT_TAGVAR(postdep_objects, $1)=
+_LT_TAGVAR(predeps, $1)=
+_LT_TAGVAR(postdeps, $1)=
+_LT_TAGVAR(compiler_lib_search_path, $1)=
+
+dnl we can't use the lt_simple_compile_test_code here,
+dnl because it contains code intended for an executable,
+dnl not a library. It's possible we should let each
+dnl tag define a new lt_????_link_test_code variable,
+dnl but it's only used here...
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
+int a;
+void foo (void) { a = 0; }
+_LT_EOF
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer*4 a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
+public class foo {
+ private int a;
+ public void bar (void) {
+ a = 0;
+ }
+};
+_LT_EOF
+], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
+package foo
+func foo() {
+}
+_LT_EOF
+])
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+dnl Parse the compiler output and extract the necessary
+dnl objects, libraries and library flags.
+if AC_TRY_EVAL(ac_compile); then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test x-L = "$p" ||
+ test x-R = "$p"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test no = "$pre_test_object_deps_done"; then
+ case $prev in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
+ _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
+ else
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$_LT_TAGVAR(postdeps, $1)"; then
+ _LT_TAGVAR(postdeps, $1)=$prev$p
+ else
+ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test no = "$pre_test_object_deps_done"; then
+ if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
+ _LT_TAGVAR(predep_objects, $1)=$p
+ else
+ _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
+ fi
+ else
+ if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
+ _LT_TAGVAR(postdep_objects, $1)=$p
+ else
+ _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling $1 test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+m4_if([$1], [CXX],
+[case $host_os in
+interix[[3-9]]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ _LT_TAGVAR(predep_objects,$1)=
+ _LT_TAGVAR(postdep_objects,$1)=
+ _LT_TAGVAR(postdeps,$1)=
+ ;;
+esac
+])
+
+case " $_LT_TAGVAR(postdeps, $1) " in
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+esac
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
+fi
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
+ [The directories searched by this compiler when creating a shared library])
+_LT_TAGDECL([], [predep_objects], [1],
+ [Dependencies to place before and after the objects being linked to
+ create a shared library])
+_LT_TAGDECL([], [postdep_objects], [1])
+_LT_TAGDECL([], [predeps], [1])
+_LT_TAGDECL([], [postdeps], [1])
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
+ [The library search path used internally by the compiler when linking
+ a shared library])
+])# _LT_SYS_HIDDEN_LIBDEPS
+
+
+# _LT_LANG_F77_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a Fortran 77 compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_F77_CONFIG],
+[AC_LANG_PUSH(Fortran 77)
+if test -z "$F77" || test no = "$F77"; then
+ _lt_disable_F77=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for f77 test sources.
+ac_ext=f
+
+# Object file extension for compiled f77 test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the F77 compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_disable_F77"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${F77-"f77"}
+ CFLAGS=$FFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+ GCC=$G77
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)=$G77
+ _LT_TAGVAR(LD, $1)=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+fi # test yes != "$_lt_disable_F77"
+
+AC_LANG_POP
+])# _LT_LANG_F77_CONFIG
+
+
+# _LT_LANG_FC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for a Fortran compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_FC_CONFIG],
+[AC_LANG_PUSH(Fortran)
+
+if test -z "$FC" || test no = "$FC"; then
+ _lt_disable_FC=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for fc test sources.
+ac_ext=${ac_fc_srcext-f}
+
+# Object file extension for compiled fc test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the FC compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_disable_FC"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${FC-"f95"}
+ CFLAGS=$FCFLAGS
+ compiler=$CC
+ GCC=$ac_cv_fc_compiler_gnu
+
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
+ _LT_TAGVAR(LD, $1)=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+fi # test yes != "$_lt_disable_FC"
+
+AC_LANG_POP
+])# _LT_LANG_FC_CONFIG
+
+
+# _LT_LANG_GCJ_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Java Compiler compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_GCJ_CONFIG],
+[AC_REQUIRE([LT_PROG_GCJ])dnl
+AC_LANG_SAVE
+
+# Source file extension for Java test sources.
+ac_ext=java
+
+# Object file extension for compiled Java test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GCJ-"gcj"}
+CFLAGS=$GCJFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)=$LD
+_LT_CC_BASENAME([$compiler])
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GCJ_CONFIG
+
+
+# _LT_LANG_GO_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Go compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_GO_CONFIG],
+[AC_REQUIRE([LT_PROG_GO])dnl
+AC_LANG_SAVE
+
+# Source file extension for Go test sources.
+ac_ext=go
+
+# Object file extension for compiled Go test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="package main; func main() { }"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='package main; func main() { }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GOC-"gccgo"}
+CFLAGS=$GOFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)=$LD
+_LT_CC_BASENAME([$compiler])
+
+# Go did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GO_CONFIG
+
+
+# _LT_LANG_RC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for the Windows resource compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_RC_CONFIG],
+[AC_REQUIRE([LT_PROG_RC])dnl
+AC_LANG_SAVE
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code=$lt_simple_compile_test_code
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=
+CC=${RC-"windres"}
+CFLAGS=
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_CC_BASENAME([$compiler])
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+
+if test -n "$compiler"; then
+ :
+ _LT_CONFIG($1)
+fi
+
+GCC=$lt_save_GCC
+AC_LANG_RESTORE
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_RC_CONFIG
+
+
+# LT_PROG_GCJ
+# -----------
+AC_DEFUN([LT_PROG_GCJ],
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
+ [AC_CHECK_TOOL(GCJ, gcj,)
+ test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)])])[]dnl
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
+
+
+# LT_PROG_GO
+# ----------
+AC_DEFUN([LT_PROG_GO],
+[AC_CHECK_TOOL(GOC, gccgo,)
+])
+
+
+# LT_PROG_RC
+# ----------
+AC_DEFUN([LT_PROG_RC],
+[AC_CHECK_TOOL(RC, windres,)
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
+
+
+# _LT_DECL_EGREP
+# --------------
+# If we don't have a new enough Autoconf to choose the best grep
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_EGREP],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_REQUIRE([AC_PROG_FGREP])dnl
+test -z "$GREP" && GREP=grep
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
+AC_SUBST([GREP])
+])
+
+
+# _LT_DECL_OBJDUMP
+# --------------
+# If we don't have a new enough Autoconf to choose the best objdump
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_OBJDUMP],
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
+AC_SUBST([OBJDUMP])
+])
+
+# _LT_DECL_DLLTOOL
+# ----------------
+# Ensure DLLTOOL variable is set.
+m4_defun([_LT_DECL_DLLTOOL],
+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
+AC_SUBST([DLLTOOL])
+])
+
+# _LT_DECL_SED
+# ------------
+# Check for a fully-functional sed program, that truncates
+# as few characters as possible. Prefer GNU sed if found.
+m4_defun([_LT_DECL_SED],
+[AC_PROG_SED
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
+ [Sed that helps us avoid accidentally triggering echo(1) options like -n])
+])# _LT_DECL_SED
+
+m4_ifndef([AC_PROG_SED], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_SED. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+
+m4_defun([AC_PROG_SED],
+[AC_MSG_CHECKING([for a sed that does not truncate output])
+AC_CACHE_VAL(lt_cv_path_SED,
+[# Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for lt_ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+IFS=$as_save_IFS
+lt_ac_max=0
+lt_ac_count=0
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+# along with /bin/sed that truncates output.
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+ test ! -f "$lt_ac_sed" && continue
+ cat /dev/null > conftest.in
+ lt_ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+ # Check for GNU sed and select it if it is found.
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+ lt_cv_path_SED=$lt_ac_sed
+ break
+ fi
+ while true; do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo >>conftest.nl
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+ cmp -s conftest.out conftest.nl || break
+ # 10000 chars as input seems more than enough
+ test 10 -lt "$lt_ac_count" && break
+ lt_ac_count=`expr $lt_ac_count + 1`
+ if test "$lt_ac_count" -gt "$lt_ac_max"; then
+ lt_ac_max=$lt_ac_count
+ lt_cv_path_SED=$lt_ac_sed
+ fi
+ done
+done
+])
+SED=$lt_cv_path_SED
+AC_SUBST([SED])
+AC_MSG_RESULT([$SED])
+])#AC_PROG_SED
+])#m4_ifndef
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
+
+
+# _LT_CHECK_SHELL_FEATURES
+# ------------------------
+# Find out whether the shell is Bourne or XSI compatible,
+# or has some other useful features.
+m4_defun([_LT_CHECK_SHELL_FEATURES],
+[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
+])# _LT_CHECK_SHELL_FEATURES
+
+
+# _LT_PATH_CONVERSION_FUNCTIONS
+# -----------------------------
+# Determine what file name conversion functions should be used by
+# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
+# for certain cross-compile configurations and native mingw.
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_MSG_CHECKING([how to convert $build file names to $host format])
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
+[case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+])
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
+ [0], [convert $build file names to $host format])dnl
+
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
+[#assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+])
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
+ [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
--- /dev/null
+#! /bin/sh
+## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
+## by inline-source v2014-01-03.01
+
+# libtool (GNU libtool) 2.4.6
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+
+# Copyright (C) 1996-2015 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+PROGRAM=libtool
+PACKAGE=libtool
+VERSION=2.4.6
+package_revision=2.4.6
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# Run './libtool --help' for help with using this script from the
+# command line.
+
+
+## ------------------------------- ##
+## User overridable command paths. ##
+## ------------------------------- ##
+
+# After configure completes, it has a better idea of some of the
+# shell tools we need than the defaults used by the functions shared
+# with bootstrap, so set those here where they can still be over-
+# ridden by the user, but otherwise take precedence.
+
+: ${AUTOCONF="autoconf"}
+: ${AUTOMAKE="automake"}
+
+
+## -------------------------- ##
+## Source external libraries. ##
+## -------------------------- ##
+
+# Much of our low-level functionality needs to be sourced from external
+# libraries, which are installed to $pkgauxdir.
+
+# Set a version string for this script.
+scriptversion=2015-01-20.17; # UTC
+
+# General shell script boiler plate, and helper functions.
+# Written by Gary V. Vaughan, 2004
+
+# Copyright (C) 2004-2015 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# As a special exception to the GNU General Public License, if you distribute
+# this file as part of a program or library that is built using GNU Libtool,
+# you may include this file under the same distribution terms that you use
+# for the rest of that program.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Please report bugs or propose patches to gary@gnu.org.
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# Evaluate this file near the top of your script to gain access to
+# the functions and variables defined here:
+#
+# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
+#
+# If you need to override any of the default environment variable
+# settings, do that before evaluating this file.
+
+
+## -------------------- ##
+## Shell normalisation. ##
+## -------------------- ##
+
+# Some shells need a little help to be as Bourne compatible as possible.
+# Before doing anything else, make sure all that help has been provided!
+
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
+fi
+
+# NLS nuisances: We save the old values in case they are required later.
+_G_user_locale=
+_G_safe_locale=
+for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+do
+ eval "if test set = \"\${$_G_var+set}\"; then
+ save_$_G_var=\$$_G_var
+ $_G_var=C
+ export $_G_var
+ _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
+ _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
+ fi"
+done
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Make sure IFS has a sensible default
+sp=' '
+nl='
+'
+IFS="$sp $nl"
+
+# There are apparently some retarded systems that use ';' as a PATH separator!
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+
+## ------------------------- ##
+## Locate command utilities. ##
+## ------------------------- ##
+
+
+# func_executable_p FILE
+# ----------------------
+# Check that FILE is an executable regular file.
+func_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+}
+
+
+# func_path_progs PROGS_LIST CHECK_FUNC [PATH]
+# --------------------------------------------
+# Search for either a program that responds to --version with output
+# containing "GNU", or else returned by CHECK_FUNC otherwise, by
+# trying all the directories in PATH with each of the elements of
+# PROGS_LIST.
+#
+# CHECK_FUNC should accept the path to a candidate program, and
+# set $func_check_prog_result if it truncates its output less than
+# $_G_path_prog_max characters.
+func_path_progs ()
+{
+ _G_progs_list=$1
+ _G_check_func=$2
+ _G_PATH=${3-"$PATH"}
+
+ _G_path_prog_max=0
+ _G_path_prog_found=false
+ _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
+ for _G_dir in $_G_PATH; do
+ IFS=$_G_save_IFS
+ test -z "$_G_dir" && _G_dir=.
+ for _G_prog_name in $_G_progs_list; do
+ for _exeext in '' .EXE; do
+ _G_path_prog=$_G_dir/$_G_prog_name$_exeext
+ func_executable_p "$_G_path_prog" || continue
+ case `"$_G_path_prog" --version 2>&1` in
+ *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
+ *) $_G_check_func $_G_path_prog
+ func_path_progs_result=$func_check_prog_result
+ ;;
+ esac
+ $_G_path_prog_found && break 3
+ done
+ done
+ done
+ IFS=$_G_save_IFS
+ test -z "$func_path_progs_result" && {
+ echo "no acceptable sed could be found in \$PATH" >&2
+ exit 1
+ }
+}
+
+
+# We want to be able to use the functions in this file before configure
+# has figured out where the best binaries are kept, which means we have
+# to search for them ourselves - except when the results are already set
+# where we skip the searches.
+
+# Unless the user overrides by setting SED, search the path for either GNU
+# sed, or the sed that truncates its output the least.
+test -z "$SED" && {
+ _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for _G_i in 1 2 3 4 5 6 7; do
+ _G_sed_script=$_G_sed_script$nl$_G_sed_script
+ done
+ echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
+ _G_sed_script=
+
+ func_check_prog_sed ()
+ {
+ _G_path_prog=$1
+
+ _G_count=0
+ printf 0123456789 >conftest.in
+ while :
+ do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo '' >> conftest.nl
+ "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
+ diff conftest.out conftest.nl >/dev/null 2>&1 || break
+ _G_count=`expr $_G_count + 1`
+ if test "$_G_count" -gt "$_G_path_prog_max"; then
+ # Best one so far, save it but keep looking for a better one
+ func_check_prog_result=$_G_path_prog
+ _G_path_prog_max=$_G_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test 10 -lt "$_G_count" && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out
+ }
+
+ func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
+ rm -f conftest.sed
+ SED=$func_path_progs_result
+}
+
+
+# Unless the user overrides by setting GREP, search the path for either GNU
+# grep, or the grep that truncates its output the least.
+test -z "$GREP" && {
+ func_check_prog_grep ()
+ {
+ _G_path_prog=$1
+
+ _G_count=0
+ _G_path_prog_max=0
+ printf 0123456789 >conftest.in
+ while :
+ do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo 'GREP' >> conftest.nl
+ "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
+ diff conftest.out conftest.nl >/dev/null 2>&1 || break
+ _G_count=`expr $_G_count + 1`
+ if test "$_G_count" -gt "$_G_path_prog_max"; then
+ # Best one so far, save it but keep looking for a better one
+ func_check_prog_result=$_G_path_prog
+ _G_path_prog_max=$_G_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test 10 -lt "$_G_count" && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out
+ }
+
+ func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
+ GREP=$func_path_progs_result
+}
+
+
+## ------------------------------- ##
+## User overridable command paths. ##
+## ------------------------------- ##
+
+# All uppercase variable names are used for environment variables. These
+# variables can be overridden by the user before calling a script that
+# uses them if a suitable command of that name is not already available
+# in the command search PATH.
+
+: ${CP="cp -f"}
+: ${ECHO="printf %s\n"}
+: ${EGREP="$GREP -E"}
+: ${FGREP="$GREP -F"}
+: ${LN_S="ln -s"}
+: ${MAKE="make"}
+: ${MKDIR="mkdir"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
+
+
+## -------------------- ##
+## Useful sed snippets. ##
+## -------------------- ##
+
+sed_dirname='s|/[^/]*$||'
+sed_basename='s|^.*/||'
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
+
+# Same as above, but do not quote variable references.
+sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
+
+# Sed substitution that converts a w32 file name or path
+# that contains forward slashes, into one that contains
+# (escaped) backslashes. A very naive implementation.
+sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
+# Re-'\' parameter expansions in output of sed_double_quote_subst that
+# were '\'-ed in input to the same. If an odd number of '\' preceded a
+# '$' in input to sed_double_quote_subst, that '$' was protected from
+# expansion. Since each input '\' is now two '\'s, look for any number
+# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
+_G_bs='\\'
+_G_bs2='\\\\'
+_G_bs4='\\\\\\\\'
+_G_dollar='\$'
+sed_double_backslash="\
+ s/$_G_bs4/&\\
+/g
+ s/^$_G_bs2$_G_dollar/$_G_bs&/
+ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
+ s/\n//g"
+
+
+## ----------------- ##
+## Global variables. ##
+## ----------------- ##
+
+# Except for the global variables explicitly listed below, the following
+# functions in the '^func_' namespace, and the '^require_' namespace
+# variables initialised in the 'Resource management' section, sourcing
+# this file will not pollute your global namespace with anything
+# else. There's no portable way to scope variables in Bourne shell
+# though, so actually running these functions will sometimes place
+# results into a variable named after the function, and often use
+# temporary variables in the '^_G_' namespace. If you are careful to
+# avoid using those namespaces casually in your sourcing script, things
+# should continue to work as you expect. And, of course, you can freely
+# overwrite any of the functions or variables defined here before
+# calling anything to customize them.
+
+EXIT_SUCCESS=0
+EXIT_FAILURE=1
+EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
+EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
+
+# Allow overriding, eg assuming that you follow the convention of
+# putting '$debug_cmd' at the start of all your functions, you can get
+# bash to show function call trace with:
+#
+# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
+debug_cmd=${debug_cmd-":"}
+exit_cmd=:
+
+# By convention, finish your script with:
+#
+# exit $exit_status
+#
+# so that you can set exit_status to non-zero if you want to indicate
+# something went wrong during execution without actually bailing out at
+# the point of failure.
+exit_status=$EXIT_SUCCESS
+
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath=$0
+
+# The name of this program.
+progname=`$ECHO "$progpath" |$SED "$sed_basename"`
+
+# Make sure we have an absolute progpath for reexecution:
+case $progpath in
+ [\\/]*|[A-Za-z]:\\*) ;;
+ *[\\/]*)
+ progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
+ progdir=`cd "$progdir" && pwd`
+ progpath=$progdir/$progname
+ ;;
+ *)
+ _G_IFS=$IFS
+ IFS=${PATH_SEPARATOR-:}
+ for progdir in $PATH; do
+ IFS=$_G_IFS
+ test -x "$progdir/$progname" && break
+ done
+ IFS=$_G_IFS
+ test -n "$progdir" || progdir=`pwd`
+ progpath=$progdir/$progname
+ ;;
+esac
+
+
+## ----------------- ##
+## Standard options. ##
+## ----------------- ##
+
+# The following options affect the operation of the functions defined
+# below, and should be set appropriately depending on run-time para-
+# meters passed on the command line.
+
+opt_dry_run=false
+opt_quiet=false
+opt_verbose=false
+
+# Categories 'all' and 'none' are always available. Append any others
+# you will pass as the first argument to func_warning from your own
+# code.
+warning_categories=
+
+# By default, display warnings according to 'opt_warning_types'. Set
+# 'warning_func' to ':' to elide all warnings, or func_fatal_error to
+# treat the next displayed warning as a fatal error.
+warning_func=func_warn_and_continue
+
+# Set to 'all' to display all warnings, 'none' to suppress all
+# warnings, or a space delimited list of some subset of
+# 'warning_categories' to display only the listed warnings.
+opt_warning_types=all
+
+
+## -------------------- ##
+## Resource management. ##
+## -------------------- ##
+
+# This section contains definitions for functions that each ensure a
+# particular resource (a file, or a non-empty configuration variable for
+# example) is available, and if appropriate to extract default values
+# from pertinent package files. Call them using their associated
+# 'require_*' variable to ensure that they are executed, at most, once.
+#
+# It's entirely deliberate that calling these functions can set
+# variables that don't obey the namespace limitations obeyed by the rest
+# of this file, in order that that they be as useful as possible to
+# callers.
+
+
+# require_term_colors
+# -------------------
+# Allow display of bold text on terminals that support it.
+require_term_colors=func_require_term_colors
+func_require_term_colors ()
+{
+ $debug_cmd
+
+ test -t 1 && {
+ # COLORTERM and USE_ANSI_COLORS environment variables take
+ # precedence, because most terminfo databases neglect to describe
+ # whether color sequences are supported.
+ test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
+
+ if test 1 = "$USE_ANSI_COLORS"; then
+ # Standard ANSI escape sequences
+ tc_reset='\e[0m'
+ tc_bold='\e[1m'; tc_standout='\e[7m'
+ tc_red='\e[31m'; tc_green='\e[32m'
+ tc_blue='\e[34m'; tc_cyan='\e[36m'
+ else
+ # Otherwise trust the terminfo database after all.
+ test -n "`tput sgr0 2>/dev/null`" && {
+ tc_reset=`tput sgr0`
+ test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
+ tc_standout=$tc_bold
+ test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
+ test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
+ test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
+ test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
+ test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
+ }
+ fi
+ }
+
+ require_term_colors=:
+}
+
+
+## ----------------- ##
+## Function library. ##
+## ----------------- ##
+
+# This section contains a variety of useful functions to call in your
+# scripts. Take note of the portable wrappers for features provided by
+# some modern shells, which will fall back to slower equivalents on
+# less featureful shells.
+
+
+# func_append VAR VALUE
+# ---------------------
+# Append VALUE onto the existing contents of VAR.
+
+ # We should try to minimise forks, especially on Windows where they are
+ # unreasonably slow, so skip the feature probes when bash or zsh are
+ # being used:
+ if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
+ : ${_G_HAVE_ARITH_OP="yes"}
+ : ${_G_HAVE_XSI_OPS="yes"}
+ # The += operator was introduced in bash 3.1
+ case $BASH_VERSION in
+ [12].* | 3.0 | 3.0*) ;;
+ *)
+ : ${_G_HAVE_PLUSEQ_OP="yes"}
+ ;;
+ esac
+ fi
+
+ # _G_HAVE_PLUSEQ_OP
+ # Can be empty, in which case the shell is probed, "yes" if += is
+ # useable or anything else if it does not work.
+ test -z "$_G_HAVE_PLUSEQ_OP" \
+ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
+ && _G_HAVE_PLUSEQ_OP=yes
+
+if test yes = "$_G_HAVE_PLUSEQ_OP"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_append ()
+ {
+ $debug_cmd
+
+ eval "$1+=\$2"
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_append ()
+ {
+ $debug_cmd
+
+ eval "$1=\$$1\$2"
+ }
+fi
+
+
+# func_append_quoted VAR VALUE
+# ----------------------------
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
+if test yes = "$_G_HAVE_PLUSEQ_OP"; then
+ eval 'func_append_quoted ()
+ {
+ $debug_cmd
+
+ func_quote_for_eval "$2"
+ eval "$1+=\\ \$func_quote_for_eval_result"
+ }'
+else
+ func_append_quoted ()
+ {
+ $debug_cmd
+
+ func_quote_for_eval "$2"
+ eval "$1=\$$1\\ \$func_quote_for_eval_result"
+ }
+fi
+
+
+# func_append_uniq VAR VALUE
+# --------------------------
+# Append unique VALUE onto the existing contents of VAR, assuming
+# entries are delimited by the first character of VALUE. For example:
+#
+# func_append_uniq options " --another-option option-argument"
+#
+# will only append to $options if " --another-option option-argument "
+# is not already present somewhere in $options already (note spaces at
+# each end implied by leading space in second argument).
+func_append_uniq ()
+{
+ $debug_cmd
+
+ eval _G_current_value='`$ECHO $'$1'`'
+ _G_delim=`expr "$2" : '\(.\)'`
+
+ case $_G_delim$_G_current_value$_G_delim in
+ *"$2$_G_delim"*) ;;
+ *) func_append "$@" ;;
+ esac
+}
+
+
+# func_arith TERM...
+# ------------------
+# Set func_arith_result to the result of evaluating TERMs.
+ test -z "$_G_HAVE_ARITH_OP" \
+ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
+ && _G_HAVE_ARITH_OP=yes
+
+if test yes = "$_G_HAVE_ARITH_OP"; then
+ eval 'func_arith ()
+ {
+ $debug_cmd
+
+ func_arith_result=$(( $* ))
+ }'
+else
+ func_arith ()
+ {
+ $debug_cmd
+
+ func_arith_result=`expr "$@"`
+ }
+fi
+
+
+# func_basename FILE
+# ------------------
+# Set func_basename_result to FILE with everything up to and including
+# the last / stripped.
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ # If this shell supports suffix pattern removal, then use it to avoid
+ # forking. Hide the definitions single quotes in case the shell chokes
+ # on unsupported syntax...
+ _b='func_basename_result=${1##*/}'
+ _d='case $1 in
+ */*) func_dirname_result=${1%/*}$2 ;;
+ * ) func_dirname_result=$3 ;;
+ esac'
+
+else
+ # ...otherwise fall back to using sed.
+ _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
+ _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
+ if test "X$func_dirname_result" = "X$1"; then
+ func_dirname_result=$3
+ else
+ func_append func_dirname_result "$2"
+ fi'
+fi
+
+eval 'func_basename ()
+{
+ $debug_cmd
+
+ '"$_b"'
+}'
+
+
+# func_dirname FILE APPEND NONDIR_REPLACEMENT
+# -------------------------------------------
+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+# otherwise set result to NONDIR_REPLACEMENT.
+eval 'func_dirname ()
+{
+ $debug_cmd
+
+ '"$_d"'
+}'
+
+
+# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
+# --------------------------------------------------------
+# Perform func_basename and func_dirname in a single function
+# call:
+# dirname: Compute the dirname of FILE. If nonempty,
+# add APPEND to the result, otherwise set result
+# to NONDIR_REPLACEMENT.
+# value returned in "$func_dirname_result"
+# basename: Compute filename of FILE.
+# value retuned in "$func_basename_result"
+# For efficiency, we do not delegate to the functions above but instead
+# duplicate the functionality here.
+eval 'func_dirname_and_basename ()
+{
+ $debug_cmd
+
+ '"$_b"'
+ '"$_d"'
+}'
+
+
+# func_echo ARG...
+# ----------------
+# Echo program name prefixed message.
+func_echo ()
+{
+ $debug_cmd
+
+ _G_message=$*
+
+ func_echo_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_IFS
+ $ECHO "$progname: $_G_line"
+ done
+ IFS=$func_echo_IFS
+}
+
+
+# func_echo_all ARG...
+# --------------------
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+
+# func_echo_infix_1 INFIX ARG...
+# ------------------------------
+# Echo program name, followed by INFIX on the first line, with any
+# additional lines not showing INFIX.
+func_echo_infix_1 ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ _G_infix=$1; shift
+ _G_indent=$_G_infix
+ _G_prefix="$progname: $_G_infix: "
+ _G_message=$*
+
+ # Strip color escape sequences before counting printable length
+ for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
+ do
+ test -n "$_G_tc" && {
+ _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
+ _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
+ }
+ done
+ _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
+
+ func_echo_infix_1_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_infix_1_IFS
+ $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
+ _G_prefix=$_G_indent
+ done
+ IFS=$func_echo_infix_1_IFS
+}
+
+
+# func_error ARG...
+# -----------------
+# Echo program name prefixed message to standard error.
+func_error ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
+}
+
+
+# func_fatal_error ARG...
+# -----------------------
+# Echo program name prefixed message to standard error, and exit.
+func_fatal_error ()
+{
+ $debug_cmd
+
+ func_error "$*"
+ exit $EXIT_FAILURE
+}
+
+
+# func_grep EXPRESSION FILENAME
+# -----------------------------
+# Check whether EXPRESSION matches any line of FILENAME, without output.
+func_grep ()
+{
+ $debug_cmd
+
+ $GREP "$1" "$2" >/dev/null 2>&1
+}
+
+
+# func_len STRING
+# ---------------
+# Set func_len_result to the length of STRING. STRING may not
+# start with a hyphen.
+ test -z "$_G_HAVE_XSI_OPS" \
+ && (eval 'x=a/b/c;
+ test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
+ && _G_HAVE_XSI_OPS=yes
+
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_len ()
+ {
+ $debug_cmd
+
+ func_len_result=${#1}
+ }'
+else
+ func_len ()
+ {
+ $debug_cmd
+
+ func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+ }
+fi
+
+
+# func_mkdir_p DIRECTORY-PATH
+# ---------------------------
+# Make sure the entire path to DIRECTORY-PATH is available.
+func_mkdir_p ()
+{
+ $debug_cmd
+
+ _G_directory_path=$1
+ _G_dir_list=
+
+ if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
+
+ # Protect directory names starting with '-'
+ case $_G_directory_path in
+ -*) _G_directory_path=./$_G_directory_path ;;
+ esac
+
+ # While some portion of DIR does not yet exist...
+ while test ! -d "$_G_directory_path"; do
+ # ...make a list in topmost first order. Use a colon delimited
+ # list incase some portion of path contains whitespace.
+ _G_dir_list=$_G_directory_path:$_G_dir_list
+
+ # If the last portion added has no slash in it, the list is done
+ case $_G_directory_path in */*) ;; *) break ;; esac
+
+ # ...otherwise throw away the child directory and loop
+ _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
+ done
+ _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
+
+ func_mkdir_p_IFS=$IFS; IFS=:
+ for _G_dir in $_G_dir_list; do
+ IFS=$func_mkdir_p_IFS
+ # mkdir can fail with a 'File exist' error if two processes
+ # try to create one of the directories concurrently. Don't
+ # stop in that case!
+ $MKDIR "$_G_dir" 2>/dev/null || :
+ done
+ IFS=$func_mkdir_p_IFS
+
+ # Bail out if we (or some other process) failed to create a directory.
+ test -d "$_G_directory_path" || \
+ func_fatal_error "Failed to create '$1'"
+ fi
+}
+
+
+# func_mktempdir [BASENAME]
+# -------------------------
+# Make a temporary directory that won't clash with other running
+# libtool processes, and avoids race conditions if possible. If
+# given, BASENAME is the basename for that directory.
+func_mktempdir ()
+{
+ $debug_cmd
+
+ _G_template=${TMPDIR-/tmp}/${1-$progname}
+
+ if test : = "$opt_dry_run"; then
+ # Return a directory name, but don't create it in dry-run mode
+ _G_tmpdir=$_G_template-$$
+ else
+
+ # If mktemp works, use that first and foremost
+ _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
+
+ if test ! -d "$_G_tmpdir"; then
+ # Failing that, at least try and use $RANDOM to avoid a race
+ _G_tmpdir=$_G_template-${RANDOM-0}$$
+
+ func_mktempdir_umask=`umask`
+ umask 0077
+ $MKDIR "$_G_tmpdir"
+ umask $func_mktempdir_umask
+ fi
+
+ # If we're not in dry-run mode, bomb out on failure
+ test -d "$_G_tmpdir" || \
+ func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
+ fi
+
+ $ECHO "$_G_tmpdir"
+}
+
+
+# func_normal_abspath PATH
+# ------------------------
+# Remove doubled-up and trailing slashes, "." path components,
+# and cancel out any ".." path components in PATH after making
+# it an absolute path.
+func_normal_abspath ()
+{
+ $debug_cmd
+
+ # These SED scripts presuppose an absolute path with a trailing slash.
+ _G_pathcar='s|^/\([^/]*\).*$|\1|'
+ _G_pathcdr='s|^/[^/]*||'
+ _G_removedotparts=':dotsl
+ s|/\./|/|g
+ t dotsl
+ s|/\.$|/|'
+ _G_collapseslashes='s|/\{1,\}|/|g'
+ _G_finalslash='s|/*$|/|'
+
+ # Start from root dir and reassemble the path.
+ func_normal_abspath_result=
+ func_normal_abspath_tpath=$1
+ func_normal_abspath_altnamespace=
+ case $func_normal_abspath_tpath in
+ "")
+ # Empty path, that just means $cwd.
+ func_stripname '' '/' "`pwd`"
+ func_normal_abspath_result=$func_stripname_result
+ return
+ ;;
+ # The next three entries are used to spot a run of precisely
+ # two leading slashes without using negated character classes;
+ # we take advantage of case's first-match behaviour.
+ ///*)
+ # Unusual form of absolute path, do nothing.
+ ;;
+ //*)
+ # Not necessarily an ordinary path; POSIX reserves leading '//'
+ # and for example Cygwin uses it to access remote file shares
+ # over CIFS/SMB, so we conserve a leading double slash if found.
+ func_normal_abspath_altnamespace=/
+ ;;
+ /*)
+ # Absolute path, do nothing.
+ ;;
+ *)
+ # Relative path, prepend $cwd.
+ func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
+ ;;
+ esac
+
+ # Cancel out all the simple stuff to save iterations. We also want
+ # the path to end with a slash for ease of parsing, so make sure
+ # there is one (and only one) here.
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
+ while :; do
+ # Processed it all yet?
+ if test / = "$func_normal_abspath_tpath"; then
+ # If we ascended to the root using ".." the result may be empty now.
+ if test -z "$func_normal_abspath_result"; then
+ func_normal_abspath_result=/
+ fi
+ break
+ fi
+ func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_pathcar"`
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_pathcdr"`
+ # Figure out what to do with it
+ case $func_normal_abspath_tcomponent in
+ "")
+ # Trailing empty path component, ignore it.
+ ;;
+ ..)
+ # Parent dir; strip last assembled component from result.
+ func_dirname "$func_normal_abspath_result"
+ func_normal_abspath_result=$func_dirname_result
+ ;;
+ *)
+ # Actual path component, append it.
+ func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
+ ;;
+ esac
+ done
+ # Restore leading double-slash if one was found on entry.
+ func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
+}
+
+
+# func_notquiet ARG...
+# --------------------
+# Echo program name prefixed message only when not in quiet mode.
+func_notquiet ()
+{
+ $debug_cmd
+
+ $opt_quiet || func_echo ${1+"$@"}
+
+ # A bug in bash halts the script if the last line of a function
+ # fails when set -e is in force, so we need another command to
+ # work around that:
+ :
+}
+
+
+# func_relative_path SRCDIR DSTDIR
+# --------------------------------
+# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
+func_relative_path ()
+{
+ $debug_cmd
+
+ func_relative_path_result=
+ func_normal_abspath "$1"
+ func_relative_path_tlibdir=$func_normal_abspath_result
+ func_normal_abspath "$2"
+ func_relative_path_tbindir=$func_normal_abspath_result
+
+ # Ascend the tree starting from libdir
+ while :; do
+ # check if we have found a prefix of bindir
+ case $func_relative_path_tbindir in
+ $func_relative_path_tlibdir)
+ # found an exact match
+ func_relative_path_tcancelled=
+ break
+ ;;
+ $func_relative_path_tlibdir*)
+ # found a matching prefix
+ func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
+ func_relative_path_tcancelled=$func_stripname_result
+ if test -z "$func_relative_path_result"; then
+ func_relative_path_result=.
+ fi
+ break
+ ;;
+ *)
+ func_dirname $func_relative_path_tlibdir
+ func_relative_path_tlibdir=$func_dirname_result
+ if test -z "$func_relative_path_tlibdir"; then
+ # Have to descend all the way to the root!
+ func_relative_path_result=../$func_relative_path_result
+ func_relative_path_tcancelled=$func_relative_path_tbindir
+ break
+ fi
+ func_relative_path_result=../$func_relative_path_result
+ ;;
+ esac
+ done
+
+ # Now calculate path; take care to avoid doubling-up slashes.
+ func_stripname '' '/' "$func_relative_path_result"
+ func_relative_path_result=$func_stripname_result
+ func_stripname '/' '/' "$func_relative_path_tcancelled"
+ if test -n "$func_stripname_result"; then
+ func_append func_relative_path_result "/$func_stripname_result"
+ fi
+
+ # Normalisation. If bindir is libdir, return '.' else relative path.
+ if test -n "$func_relative_path_result"; then
+ func_stripname './' '' "$func_relative_path_result"
+ func_relative_path_result=$func_stripname_result
+ fi
+
+ test -n "$func_relative_path_result" || func_relative_path_result=.
+
+ :
+}
+
+
+# func_quote_for_eval ARG...
+# --------------------------
+# Aesthetically quote ARGs to be evaled later.
+# This function returns two values:
+# i) func_quote_for_eval_result
+# double-quoted, suitable for a subsequent eval
+# ii) func_quote_for_eval_unquoted_result
+# has all characters that are still active within double
+# quotes backslashified.
+func_quote_for_eval ()
+{
+ $debug_cmd
+
+ func_quote_for_eval_unquoted_result=
+ func_quote_for_eval_result=
+ while test 0 -lt $#; do
+ case $1 in
+ *[\\\`\"\$]*)
+ _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
+ *)
+ _G_unquoted_arg=$1 ;;
+ esac
+ if test -n "$func_quote_for_eval_unquoted_result"; then
+ func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
+ else
+ func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
+ fi
+
+ case $_G_unquoted_arg in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting, command substitution and variable expansion
+ # for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ _G_quoted_arg=\"$_G_unquoted_arg\"
+ ;;
+ *)
+ _G_quoted_arg=$_G_unquoted_arg
+ ;;
+ esac
+
+ if test -n "$func_quote_for_eval_result"; then
+ func_append func_quote_for_eval_result " $_G_quoted_arg"
+ else
+ func_append func_quote_for_eval_result "$_G_quoted_arg"
+ fi
+ shift
+ done
+}
+
+
+# func_quote_for_expand ARG
+# -------------------------
+# Aesthetically quote ARG to be evaled later; same as above,
+# but do not quote variable references.
+func_quote_for_expand ()
+{
+ $debug_cmd
+
+ case $1 in
+ *[\\\`\"]*)
+ _G_arg=`$ECHO "$1" | $SED \
+ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
+ *)
+ _G_arg=$1 ;;
+ esac
+
+ case $_G_arg in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting and command substitution for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ _G_arg=\"$_G_arg\"
+ ;;
+ esac
+
+ func_quote_for_expand_result=$_G_arg
+}
+
+
+# func_stripname PREFIX SUFFIX NAME
+# ---------------------------------
+# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_stripname ()
+ {
+ $debug_cmd
+
+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+ # positional parameters, so assign one to ordinary variable first.
+ func_stripname_result=$3
+ func_stripname_result=${func_stripname_result#"$1"}
+ func_stripname_result=${func_stripname_result%"$2"}
+ }'
+else
+ func_stripname ()
+ {
+ $debug_cmd
+
+ case $2 in
+ .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
+ *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
+ esac
+ }
+fi
+
+
+# func_show_eval CMD [FAIL_EXP]
+# -----------------------------
+# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it.
+func_show_eval ()
+{
+ $debug_cmd
+
+ _G_cmd=$1
+ _G_fail_exp=${2-':'}
+
+ func_quote_for_expand "$_G_cmd"
+ eval "func_notquiet $func_quote_for_expand_result"
+
+ $opt_dry_run || {
+ eval "$_G_cmd"
+ _G_status=$?
+ if test 0 -ne "$_G_status"; then
+ eval "(exit $_G_status); $_G_fail_exp"
+ fi
+ }
+}
+
+
+# func_show_eval_locale CMD [FAIL_EXP]
+# ------------------------------------
+# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it. Use the saved locale for evaluation.
+func_show_eval_locale ()
+{
+ $debug_cmd
+
+ _G_cmd=$1
+ _G_fail_exp=${2-':'}
+
+ $opt_quiet || {
+ func_quote_for_expand "$_G_cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+
+ $opt_dry_run || {
+ eval "$_G_user_locale
+ $_G_cmd"
+ _G_status=$?
+ eval "$_G_safe_locale"
+ if test 0 -ne "$_G_status"; then
+ eval "(exit $_G_status); $_G_fail_exp"
+ fi
+ }
+}
+
+
+# func_tr_sh
+# ----------
+# Turn $1 into a string suitable for a shell variable name.
+# Result is stored in $func_tr_sh_result. All characters
+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
+# if $1 begins with a digit, a '_' is prepended as well.
+func_tr_sh ()
+{
+ $debug_cmd
+
+ case $1 in
+ [0-9]* | *[!a-zA-Z0-9_]*)
+ func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
+ ;;
+ * )
+ func_tr_sh_result=$1
+ ;;
+ esac
+}
+
+
+# func_verbose ARG...
+# -------------------
+# Echo program name prefixed message in verbose mode only.
+func_verbose ()
+{
+ $debug_cmd
+
+ $opt_verbose && func_echo "$*"
+
+ :
+}
+
+
+# func_warn_and_continue ARG...
+# -----------------------------
+# Echo program name prefixed warning message to standard error.
+func_warn_and_continue ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
+}
+
+
+# func_warning CATEGORY ARG...
+# ----------------------------
+# Echo program name prefixed warning message to standard error. Warning
+# messages can be filtered according to CATEGORY, where this function
+# elides messages where CATEGORY is not listed in the global variable
+# 'opt_warning_types'.
+func_warning ()
+{
+ $debug_cmd
+
+ # CATEGORY must be in the warning_categories list!
+ case " $warning_categories " in
+ *" $1 "*) ;;
+ *) func_internal_error "invalid warning category '$1'" ;;
+ esac
+
+ _G_category=$1
+ shift
+
+ case " $opt_warning_types " in
+ *" $_G_category "*) $warning_func ${1+"$@"} ;;
+ esac
+}
+
+
+# func_sort_ver VER1 VER2
+# -----------------------
+# 'sort -V' is not generally available.
+# Note this deviates from the version comparison in automake
+# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
+# but this should suffice as we won't be specifying old
+# version formats or redundant trailing .0 in bootstrap.conf.
+# If we did want full compatibility then we should probably
+# use m4_version_compare from autoconf.
+func_sort_ver ()
+{
+ $debug_cmd
+
+ printf '%s\n%s\n' "$1" "$2" \
+ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
+}
+
+# func_lt_ver PREV CURR
+# ---------------------
+# Return true if PREV and CURR are in the correct order according to
+# func_sort_ver, otherwise false. Use it like this:
+#
+# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
+func_lt_ver ()
+{
+ $debug_cmd
+
+ test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
+}
+
+
+# Local variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
+# time-stamp-time-zone: "UTC"
+# End:
+#! /bin/sh
+
+# Set a version string for this script.
+scriptversion=2014-01-07.03; # UTC
+
+# A portable, pluggable option parser for Bourne shell.
+# Written by Gary V. Vaughan, 2010
+
+# Copyright (C) 2010-2015 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Please report bugs or propose patches to gary@gnu.org.
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# This file is a library for parsing options in your shell scripts along
+# with assorted other useful supporting features that you can make use
+# of too.
+#
+# For the simplest scripts you might need only:
+#
+# #!/bin/sh
+# . relative/path/to/funclib.sh
+# . relative/path/to/options-parser
+# scriptversion=1.0
+# func_options ${1+"$@"}
+# eval set dummy "$func_options_result"; shift
+# ...rest of your script...
+#
+# In order for the '--version' option to work, you will need to have a
+# suitably formatted comment like the one at the top of this file
+# starting with '# Written by ' and ending with '# warranty; '.
+#
+# For '-h' and '--help' to work, you will also need a one line
+# description of your script's purpose in a comment directly above the
+# '# Written by ' line, like the one at the top of this file.
+#
+# The default options also support '--debug', which will turn on shell
+# execution tracing (see the comment above debug_cmd below for another
+# use), and '--verbose' and the func_verbose function to allow your script
+# to display verbose messages only when your user has specified
+# '--verbose'.
+#
+# After sourcing this file, you can plug processing for additional
+# options by amending the variables from the 'Configuration' section
+# below, and following the instructions in the 'Option parsing'
+# section further down.
+
+## -------------- ##
+## Configuration. ##
+## -------------- ##
+
+# You should override these variables in your script after sourcing this
+# file so that they reflect the customisations you have added to the
+# option parser.
+
+# The usage line for option parsing errors and the start of '-h' and
+# '--help' output messages. You can embed shell variables for delayed
+# expansion at the time the message is displayed, but you will need to
+# quote other shell meta-characters carefully to prevent them being
+# expanded when the contents are evaled.
+usage='$progpath [OPTION]...'
+
+# Short help message in response to '-h' and '--help'. Add to this or
+# override it after sourcing this library to reflect the full set of
+# options your script accepts.
+usage_message="\
+ --debug enable verbose shell tracing
+ -W, --warnings=CATEGORY
+ report the warnings falling in CATEGORY [all]
+ -v, --verbose verbosely report processing
+ --version print version information and exit
+ -h, --help print short or long help message and exit
+"
+
+# Additional text appended to 'usage_message' in response to '--help'.
+long_help_message="
+Warning categories include:
+ 'all' show all warnings
+ 'none' turn off all the warnings
+ 'error' warnings are treated as fatal errors"
+
+# Help message printed before fatal option parsing errors.
+fatal_help="Try '\$progname --help' for more information."
+
+
+
+## ------------------------- ##
+## Hook function management. ##
+## ------------------------- ##
+
+# This section contains functions for adding, removing, and running hooks
+# to the main code. A hook is just a named list of of function, that can
+# be run in order later on.
+
+# func_hookable FUNC_NAME
+# -----------------------
+# Declare that FUNC_NAME will run hooks added with
+# 'func_add_hook FUNC_NAME ...'.
+func_hookable ()
+{
+ $debug_cmd
+
+ func_append hookable_fns " $1"
+}
+
+
+# func_add_hook FUNC_NAME HOOK_FUNC
+# ---------------------------------
+# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
+# first have been declared "hookable" by a call to 'func_hookable'.
+func_add_hook ()
+{
+ $debug_cmd
+
+ case " $hookable_fns " in
+ *" $1 "*) ;;
+ *) func_fatal_error "'$1' does not accept hook functions." ;;
+ esac
+
+ eval func_append ${1}_hooks '" $2"'
+}
+
+
+# func_remove_hook FUNC_NAME HOOK_FUNC
+# ------------------------------------
+# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
+func_remove_hook ()
+{
+ $debug_cmd
+
+ eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
+}
+
+
+# func_run_hooks FUNC_NAME [ARG]...
+# ---------------------------------
+# Run all hook functions registered to FUNC_NAME.
+# It is assumed that the list of hook functions contains nothing more
+# than a whitespace-delimited list of legal shell function names, and
+# no effort is wasted trying to catch shell meta-characters or preserve
+# whitespace.
+func_run_hooks ()
+{
+ $debug_cmd
+
+ case " $hookable_fns " in
+ *" $1 "*) ;;
+ *) func_fatal_error "'$1' does not support hook funcions.n" ;;
+ esac
+
+ eval _G_hook_fns=\$$1_hooks; shift
+
+ for _G_hook in $_G_hook_fns; do
+ eval $_G_hook '"$@"'
+
+ # store returned options list back into positional
+ # parameters for next 'cmd' execution.
+ eval _G_hook_result=\$${_G_hook}_result
+ eval set dummy "$_G_hook_result"; shift
+ done
+
+ func_quote_for_eval ${1+"$@"}
+ func_run_hooks_result=$func_quote_for_eval_result
+}
+
+
+
+## --------------- ##
+## Option parsing. ##
+## --------------- ##
+
+# In order to add your own option parsing hooks, you must accept the
+# full positional parameter list in your hook function, remove any
+# options that you action, and then pass back the remaining unprocessed
+# options in '<hooked_function_name>_result', escaped suitably for
+# 'eval'. Like this:
+#
+# my_options_prep ()
+# {
+# $debug_cmd
+#
+# # Extend the existing usage message.
+# usage_message=$usage_message'
+# -s, --silent don'\''t print informational messages
+# '
+#
+# func_quote_for_eval ${1+"$@"}
+# my_options_prep_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_options_prep my_options_prep
+#
+#
+# my_silent_option ()
+# {
+# $debug_cmd
+#
+# # Note that for efficiency, we parse as many options as we can
+# # recognise in a loop before passing the remainder back to the
+# # caller on the first unrecognised argument we encounter.
+# while test $# -gt 0; do
+# opt=$1; shift
+# case $opt in
+# --silent|-s) opt_silent=: ;;
+# # Separate non-argument short options:
+# -s*) func_split_short_opt "$_G_opt"
+# set dummy "$func_split_short_opt_name" \
+# "-$func_split_short_opt_arg" ${1+"$@"}
+# shift
+# ;;
+# *) set dummy "$_G_opt" "$*"; shift; break ;;
+# esac
+# done
+#
+# func_quote_for_eval ${1+"$@"}
+# my_silent_option_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_parse_options my_silent_option
+#
+#
+# my_option_validation ()
+# {
+# $debug_cmd
+#
+# $opt_silent && $opt_verbose && func_fatal_help "\
+# '--silent' and '--verbose' options are mutually exclusive."
+#
+# func_quote_for_eval ${1+"$@"}
+# my_option_validation_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_validate_options my_option_validation
+#
+# You'll alse need to manually amend $usage_message to reflect the extra
+# options you parse. It's preferable to append if you can, so that
+# multiple option parsing hooks can be added safely.
+
+
+# func_options [ARG]...
+# ---------------------
+# All the functions called inside func_options are hookable. See the
+# individual implementations for details.
+func_hookable func_options
+func_options ()
+{
+ $debug_cmd
+
+ func_options_prep ${1+"$@"}
+ eval func_parse_options \
+ ${func_options_prep_result+"$func_options_prep_result"}
+ eval func_validate_options \
+ ${func_parse_options_result+"$func_parse_options_result"}
+
+ eval func_run_hooks func_options \
+ ${func_validate_options_result+"$func_validate_options_result"}
+
+ # save modified positional parameters for caller
+ func_options_result=$func_run_hooks_result
+}
+
+
+# func_options_prep [ARG]...
+# --------------------------
+# All initialisations required before starting the option parse loop.
+# Note that when calling hook functions, we pass through the list of
+# positional parameters. If a hook function modifies that list, and
+# needs to propogate that back to rest of this script, then the complete
+# modified list must be put in 'func_run_hooks_result' before
+# returning.
+func_hookable func_options_prep
+func_options_prep ()
+{
+ $debug_cmd
+
+ # Option defaults:
+ opt_verbose=false
+ opt_warning_types=
+
+ func_run_hooks func_options_prep ${1+"$@"}
+
+ # save modified positional parameters for caller
+ func_options_prep_result=$func_run_hooks_result
+}
+
+
+# func_parse_options [ARG]...
+# ---------------------------
+# The main option parsing loop.
+func_hookable func_parse_options
+func_parse_options ()
+{
+ $debug_cmd
+
+ func_parse_options_result=
+
+ # this just eases exit handling
+ while test $# -gt 0; do
+ # Defer to hook functions for initial option parsing, so they
+ # get priority in the event of reusing an option name.
+ func_run_hooks func_parse_options ${1+"$@"}
+
+ # Adjust func_parse_options positional parameters to match
+ eval set dummy "$func_run_hooks_result"; shift
+
+ # Break out of the loop if we already parsed every option.
+ test $# -gt 0 || break
+
+ _G_opt=$1
+ shift
+ case $_G_opt in
+ --debug|-x) debug_cmd='set -x'
+ func_echo "enabling shell trace mode"
+ $debug_cmd
+ ;;
+
+ --no-warnings|--no-warning|--no-warn)
+ set dummy --warnings none ${1+"$@"}
+ shift
+ ;;
+
+ --warnings|--warning|-W)
+ test $# = 0 && func_missing_arg $_G_opt && break
+ case " $warning_categories $1" in
+ *" $1 "*)
+ # trailing space prevents matching last $1 above
+ func_append_uniq opt_warning_types " $1"
+ ;;
+ *all)
+ opt_warning_types=$warning_categories
+ ;;
+ *none)
+ opt_warning_types=none
+ warning_func=:
+ ;;
+ *error)
+ opt_warning_types=$warning_categories
+ warning_func=func_fatal_error
+ ;;
+ *)
+ func_fatal_error \
+ "unsupported warning category: '$1'"
+ ;;
+ esac
+ shift
+ ;;
+
+ --verbose|-v) opt_verbose=: ;;
+ --version) func_version ;;
+ -\?|-h) func_usage ;;
+ --help) func_help ;;
+
+ # Separate optargs to long options (plugins may need this):
+ --*=*) func_split_equals "$_G_opt"
+ set dummy "$func_split_equals_lhs" \
+ "$func_split_equals_rhs" ${1+"$@"}
+ shift
+ ;;
+
+ # Separate optargs to short options:
+ -W*)
+ func_split_short_opt "$_G_opt"
+ set dummy "$func_split_short_opt_name" \
+ "$func_split_short_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ # Separate non-argument short options:
+ -\?*|-h*|-v*|-x*)
+ func_split_short_opt "$_G_opt"
+ set dummy "$func_split_short_opt_name" \
+ "-$func_split_short_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ --) break ;;
+ -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
+ esac
+ done
+
+ # save modified positional parameters for caller
+ func_quote_for_eval ${1+"$@"}
+ func_parse_options_result=$func_quote_for_eval_result
+}
+
+
+# func_validate_options [ARG]...
+# ------------------------------
+# Perform any sanity checks on option settings and/or unconsumed
+# arguments.
+func_hookable func_validate_options
+func_validate_options ()
+{
+ $debug_cmd
+
+ # Display all warnings if -W was not given.
+ test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
+
+ func_run_hooks func_validate_options ${1+"$@"}
+
+ # Bail if the options were screwed!
+ $exit_cmd $EXIT_FAILURE
+
+ # save modified positional parameters for caller
+ func_validate_options_result=$func_run_hooks_result
+}
+
+
+
+## ----------------- ##
+## Helper functions. ##
+## ----------------- ##
+
+# This section contains the helper functions used by the rest of the
+# hookable option parser framework in ascii-betical order.
+
+
+# func_fatal_help ARG...
+# ----------------------
+# Echo program name prefixed message to standard error, followed by
+# a help hint, and exit.
+func_fatal_help ()
+{
+ $debug_cmd
+
+ eval \$ECHO \""Usage: $usage"\"
+ eval \$ECHO \""$fatal_help"\"
+ func_error ${1+"$@"}
+ exit $EXIT_FAILURE
+}
+
+
+# func_help
+# ---------
+# Echo long help message to standard output and exit.
+func_help ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "$long_help_message"
+ exit 0
+}
+
+
+# func_missing_arg ARGNAME
+# ------------------------
+# Echo program name prefixed message to standard error and set global
+# exit_cmd.
+func_missing_arg ()
+{
+ $debug_cmd
+
+ func_error "Missing argument for '$1'."
+ exit_cmd=exit
+}
+
+
+# func_split_equals STRING
+# ------------------------
+# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
+# splitting STRING at the '=' sign.
+test -z "$_G_HAVE_XSI_OPS" \
+ && (eval 'x=a/b/c;
+ test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
+ && _G_HAVE_XSI_OPS=yes
+
+if test yes = "$_G_HAVE_XSI_OPS"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_split_equals ()
+ {
+ $debug_cmd
+
+ func_split_equals_lhs=${1%%=*}
+ func_split_equals_rhs=${1#*=}
+ test "x$func_split_equals_lhs" = "x$1" \
+ && func_split_equals_rhs=
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_split_equals ()
+ {
+ $debug_cmd
+
+ func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
+ func_split_equals_rhs=
+ test "x$func_split_equals_lhs" = "x$1" \
+ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
+ }
+fi #func_split_equals
+
+
+# func_split_short_opt SHORTOPT
+# -----------------------------
+# Set func_split_short_opt_name and func_split_short_opt_arg shell
+# variables after splitting SHORTOPT after the 2nd character.
+if test yes = "$_G_HAVE_XSI_OPS"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_split_short_opt ()
+ {
+ $debug_cmd
+
+ func_split_short_opt_arg=${1#??}
+ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_split_short_opt ()
+ {
+ $debug_cmd
+
+ func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
+ func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
+ }
+fi #func_split_short_opt
+
+
+# func_usage
+# ----------
+# Echo short help message to standard output and exit.
+func_usage ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
+ exit 0
+}
+
+
+# func_usage_message
+# ------------------
+# Echo short help message to standard output.
+func_usage_message ()
+{
+ $debug_cmd
+
+ eval \$ECHO \""Usage: $usage"\"
+ echo
+ $SED -n 's|^# ||
+ /^Written by/{
+ x;p;x
+ }
+ h
+ /^Written by/q' < "$progpath"
+ echo
+ eval \$ECHO \""$usage_message"\"
+}
+
+
+# func_version
+# ------------
+# Echo version message to standard output and exit.
+func_version ()
+{
+ $debug_cmd
+
+ printf '%s\n' "$progname $scriptversion"
+ $SED -n '
+ /(C)/!b go
+ :more
+ /\./!{
+ N
+ s|\n# | |
+ b more
+ }
+ :go
+ /^# Written by /,/# warranty; / {
+ s|^# ||
+ s|^# *$||
+ s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
+ p
+ }
+ /^# Written by / {
+ s|^# ||
+ p
+ }
+ /^warranty; /q' < "$progpath"
+
+ exit $?
+}
+
+
+# Local variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
+# time-stamp-time-zone: "UTC"
+# End:
+
+# Set a version string.
+scriptversion='(GNU libtool) 2.4.6'
+
+
+# func_echo ARG...
+# ----------------
+# Libtool also displays the current mode in messages, so override
+# funclib.sh func_echo with this custom definition.
+func_echo ()
+{
+ $debug_cmd
+
+ _G_message=$*
+
+ func_echo_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_IFS
+ $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
+ done
+ IFS=$func_echo_IFS
+}
+
+
+# func_warning ARG...
+# -------------------
+# Libtool warnings are not categorized, so override funclib.sh
+# func_warning with this simpler definition.
+func_warning ()
+{
+ $debug_cmd
+
+ $warning_func ${1+"$@"}
+}
+
+
+## ---------------- ##
+## Options parsing. ##
+## ---------------- ##
+
+# Hook in the functions to make sure our own options are parsed during
+# the option parsing loop.
+
+usage='$progpath [OPTION]... [MODE-ARG]...'
+
+# Short help message in response to '-h'.
+usage_message="Options:
+ --config show all configuration variables
+ --debug enable verbose shell tracing
+ -n, --dry-run display commands without modifying any files
+ --features display basic configuration information and exit
+ --mode=MODE use operation mode MODE
+ --no-warnings equivalent to '-Wnone'
+ --preserve-dup-deps don't remove duplicate dependency libraries
+ --quiet, --silent don't print informational messages
+ --tag=TAG use configuration variables from tag TAG
+ -v, --verbose print more informational messages than default
+ --version print version information
+ -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
+ -h, --help, --help-all print short, long, or detailed help message
+"
+
+# Additional text appended to 'usage_message' in response to '--help'.
+func_help ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "$long_help_message
+
+MODE must be one of the following:
+
+ clean remove files from the build directory
+ compile compile a source file into a libtool object
+ execute automatically set library path, then run a program
+ finish complete the installation of libtool libraries
+ install install libraries or executables
+ link create a library or an executable
+ uninstall remove libraries from an installed directory
+
+MODE-ARGS vary depending on the MODE. When passed as first option,
+'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
+Try '$progname --help --mode=MODE' for a more detailed description of MODE.
+
+When reporting a bug, please describe a test case to reproduce it and
+include the following information:
+
+ host-triplet: $host
+ shell: $SHELL
+ compiler: $LTCC
+ compiler flags: $LTCFLAGS
+ linker: $LD (gnu? $with_gnu_ld)
+ version: $progname (GNU libtool) 2.4.6
+ automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
+ autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
+
+Report bugs to <bug-libtool@gnu.org>.
+GNU libtool home page: <http://www.gnu.org/software/libtool/>.
+General help using GNU software: <http://www.gnu.org/gethelp/>."
+ exit 0
+}
+
+
+# func_lo2o OBJECT-NAME
+# ---------------------
+# Transform OBJECT-NAME from a '.lo' suffix to the platform specific
+# object suffix.
+
+lo2o=s/\\.lo\$/.$objext/
+o2lo=s/\\.$objext\$/.lo/
+
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_lo2o ()
+ {
+ case $1 in
+ *.lo) func_lo2o_result=${1%.lo}.$objext ;;
+ * ) func_lo2o_result=$1 ;;
+ esac
+ }'
+
+ # func_xform LIBOBJ-OR-SOURCE
+ # ---------------------------
+ # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
+ # suffix to a '.lo' libtool-object suffix.
+ eval 'func_xform ()
+ {
+ func_xform_result=${1%.*}.lo
+ }'
+else
+ # ...otherwise fall back to using sed.
+ func_lo2o ()
+ {
+ func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
+ }
+
+ func_xform ()
+ {
+ func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
+ }
+fi
+
+
+# func_fatal_configuration ARG...
+# -------------------------------
+# Echo program name prefixed message to standard error, followed by
+# a configuration failure hint, and exit.
+func_fatal_configuration ()
+{
+ func__fatal_error ${1+"$@"} \
+ "See the $PACKAGE documentation for more information." \
+ "Fatal configuration error."
+}
+
+
+# func_config
+# -----------
+# Display the configuration for all the tags in this script.
+func_config ()
+{
+ re_begincf='^# ### BEGIN LIBTOOL'
+ re_endcf='^# ### END LIBTOOL'
+
+ # Default configuration.
+ $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
+
+ # Now print the configurations for the tags.
+ for tagname in $taglist; do
+ $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
+ done
+
+ exit $?
+}
+
+
+# func_features
+# -------------
+# Display the features supported by this script.
+func_features ()
+{
+ echo "host: $host"
+ if test yes = "$build_libtool_libs"; then
+ echo "enable shared libraries"
+ else
+ echo "disable shared libraries"
+ fi
+ if test yes = "$build_old_libs"; then
+ echo "enable static libraries"
+ else
+ echo "disable static libraries"
+ fi
+
+ exit $?
+}
+
+
+# func_enable_tag TAGNAME
+# -----------------------
+# Verify that TAGNAME is valid, and either flag an error and exit, or
+# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
+# variable here.
+func_enable_tag ()
+{
+ # Global variable:
+ tagname=$1
+
+ re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
+ re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
+ sed_extractcf=/$re_begincf/,/$re_endcf/p
+
+ # Validate tagname.
+ case $tagname in
+ *[!-_A-Za-z0-9,/]*)
+ func_fatal_error "invalid tag name: $tagname"
+ ;;
+ esac
+
+ # Don't test for the "default" C tag, as we know it's
+ # there but not specially marked.
+ case $tagname in
+ CC) ;;
+ *)
+ if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
+ taglist="$taglist $tagname"
+
+ # Evaluate the configuration. Be careful to quote the path
+ # and the sed script, to avoid splitting on whitespace, but
+ # also don't use non-portable quotes within backquotes within
+ # quotes we have to do it in 2 steps:
+ extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
+ eval "$extractedcf"
+ else
+ func_error "ignoring unknown tag $tagname"
+ fi
+ ;;
+ esac
+}
+
+
+# func_check_version_match
+# ------------------------
+# Ensure that we are using m4 macros, and libtool script from the same
+# release of libtool.
+func_check_version_match ()
+{
+ if test "$package_revision" != "$macro_revision"; then
+ if test "$VERSION" != "$macro_version"; then
+ if test -z "$macro_version"; then
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from an older release.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ fi
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
+$progname: of $PACKAGE $VERSION and run autoconf again.
+_LT_EOF
+ fi
+
+ exit $EXIT_MISMATCH
+ fi
+}
+
+
+# libtool_options_prep [ARG]...
+# -----------------------------
+# Preparation for options parsed by libtool.
+libtool_options_prep ()
+{
+ $debug_mode
+
+ # Option defaults:
+ opt_config=false
+ opt_dlopen=
+ opt_dry_run=false
+ opt_help=false
+ opt_mode=
+ opt_preserve_dup_deps=false
+ opt_quiet=false
+
+ nonopt=
+ preserve_args=
+
+ # Shorthand for --mode=foo, only valid as the first argument
+ case $1 in
+ clean|clea|cle|cl)
+ shift; set dummy --mode clean ${1+"$@"}; shift
+ ;;
+ compile|compil|compi|comp|com|co|c)
+ shift; set dummy --mode compile ${1+"$@"}; shift
+ ;;
+ execute|execut|execu|exec|exe|ex|e)
+ shift; set dummy --mode execute ${1+"$@"}; shift
+ ;;
+ finish|finis|fini|fin|fi|f)
+ shift; set dummy --mode finish ${1+"$@"}; shift
+ ;;
+ install|instal|insta|inst|ins|in|i)
+ shift; set dummy --mode install ${1+"$@"}; shift
+ ;;
+ link|lin|li|l)
+ shift; set dummy --mode link ${1+"$@"}; shift
+ ;;
+ uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+ shift; set dummy --mode uninstall ${1+"$@"}; shift
+ ;;
+ esac
+
+ # Pass back the list of options.
+ func_quote_for_eval ${1+"$@"}
+ libtool_options_prep_result=$func_quote_for_eval_result
+}
+func_add_hook func_options_prep libtool_options_prep
+
+
+# libtool_parse_options [ARG]...
+# ---------------------------------
+# Provide handling for libtool specific options.
+libtool_parse_options ()
+{
+ $debug_cmd
+
+ # Perform our own loop to consume as many options as possible in
+ # each iteration.
+ while test $# -gt 0; do
+ _G_opt=$1
+ shift
+ case $_G_opt in
+ --dry-run|--dryrun|-n)
+ opt_dry_run=:
+ ;;
+
+ --config) func_config ;;
+
+ --dlopen|-dlopen)
+ opt_dlopen="${opt_dlopen+$opt_dlopen
+}$1"
+ shift
+ ;;
+
+ --preserve-dup-deps)
+ opt_preserve_dup_deps=: ;;
+
+ --features) func_features ;;
+
+ --finish) set dummy --mode finish ${1+"$@"}; shift ;;
+
+ --help) opt_help=: ;;
+
+ --help-all) opt_help=': help-all' ;;
+
+ --mode) test $# = 0 && func_missing_arg $_G_opt && break
+ opt_mode=$1
+ case $1 in
+ # Valid mode arguments:
+ clean|compile|execute|finish|install|link|relink|uninstall) ;;
+
+ # Catch anything else as an error
+ *) func_error "invalid argument for $_G_opt"
+ exit_cmd=exit
+ break
+ ;;
+ esac
+ shift
+ ;;
+
+ --no-silent|--no-quiet)
+ opt_quiet=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --no-warnings|--no-warning|--no-warn)
+ opt_warning=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --no-verbose)
+ opt_verbose=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --silent|--quiet)
+ opt_quiet=:
+ opt_verbose=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --tag) test $# = 0 && func_missing_arg $_G_opt && break
+ opt_tag=$1
+ func_append preserve_args " $_G_opt $1"
+ func_enable_tag "$1"
+ shift
+ ;;
+
+ --verbose|-v) opt_quiet=false
+ opt_verbose=:
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ # An option not handled by this hook function:
+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
+ esac
+ done
+
+
+ # save modified positional parameters for caller
+ func_quote_for_eval ${1+"$@"}
+ libtool_parse_options_result=$func_quote_for_eval_result
+}
+func_add_hook func_parse_options libtool_parse_options
+
+
+
+# libtool_validate_options [ARG]...
+# ---------------------------------
+# Perform any sanity checks on option settings and/or unconsumed
+# arguments.
+libtool_validate_options ()
+{
+ # save first non-option argument
+ if test 0 -lt $#; then
+ nonopt=$1
+ shift
+ fi
+
+ # preserve --debug
+ test : = "$debug_cmd" || func_append preserve_args " --debug"
+
+ case $host in
+ # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
+ # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
+ *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
+ # don't eliminate duplications in $postdeps and $predeps
+ opt_duplicate_compiler_generated_deps=:
+ ;;
+ *)
+ opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
+ ;;
+ esac
+
+ $opt_help || {
+ # Sanity checks first:
+ func_check_version_match
+
+ test yes != "$build_libtool_libs" \
+ && test yes != "$build_old_libs" \
+ && func_fatal_configuration "not configured to build any kind of library"
+
+ # Darwin sucks
+ eval std_shrext=\"$shrext_cmds\"
+
+ # Only execute mode is allowed to have -dlopen flags.
+ if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
+ func_error "unrecognized option '-dlopen'"
+ $ECHO "$help" 1>&2
+ exit $EXIT_FAILURE
+ fi
+
+ # Change the help message to a mode-specific one.
+ generic_help=$help
+ help="Try '$progname --help --mode=$opt_mode' for more information."
+ }
+
+ # Pass back the unparsed argument list
+ func_quote_for_eval ${1+"$@"}
+ libtool_validate_options_result=$func_quote_for_eval_result
+}
+func_add_hook func_validate_options libtool_validate_options
+
+
+# Process options as early as possible so that --help and --version
+# can return quickly.
+func_options ${1+"$@"}
+eval set dummy "$func_options_result"; shift
+
+
+
+## ----------- ##
+## Main. ##
+## ----------- ##
+
+magic='%%%MAGIC variable%%%'
+magic_exe='%%%MAGIC EXE variable%%%'
+
+# Global variables.
+extracted_archives=
+extracted_serial=0
+
+# If this variable is set in any of the actions, the command in it
+# will be execed at the end. This prevents here-documents from being
+# left over by shells.
+exec_cmd=
+
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
+# func_generated_by_libtool
+# True iff stdin has been generated by Libtool. This function is only
+# a basic sanity check; it will hardly flush out determined imposters.
+func_generated_by_libtool_p ()
+{
+ $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
+}
+
+# func_lalib_p file
+# True iff FILE is a libtool '.la' library or '.lo' object file.
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_lalib_p ()
+{
+ test -f "$1" &&
+ $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
+}
+
+# func_lalib_unsafe_p file
+# True iff FILE is a libtool '.la' library or '.lo' object file.
+# This function implements the same check as func_lalib_p without
+# resorting to external programs. To this end, it redirects stdin and
+# closes it afterwards, without saving the original file descriptor.
+# As a safety measure, use it only where a negative result would be
+# fatal anyway. Works if 'file' does not exist.
+func_lalib_unsafe_p ()
+{
+ lalib_p=no
+ if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
+ for lalib_p_l in 1 2 3 4
+ do
+ read lalib_p_line
+ case $lalib_p_line in
+ \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
+ esac
+ done
+ exec 0<&5 5<&-
+ fi
+ test yes = "$lalib_p"
+}
+
+# func_ltwrapper_script_p file
+# True iff FILE is a libtool wrapper script
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_script_p ()
+{
+ test -f "$1" &&
+ $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
+}
+
+# func_ltwrapper_executable_p file
+# True iff FILE is a libtool wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_executable_p ()
+{
+ func_ltwrapper_exec_suffix=
+ case $1 in
+ *.exe) ;;
+ *) func_ltwrapper_exec_suffix=.exe ;;
+ esac
+ $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
+}
+
+# func_ltwrapper_scriptname file
+# Assumes file is an ltwrapper_executable
+# uses $file to determine the appropriate filename for a
+# temporary ltwrapper_script.
+func_ltwrapper_scriptname ()
+{
+ func_dirname_and_basename "$1" "" "."
+ func_stripname '' '.exe' "$func_basename_result"
+ func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
+}
+
+# func_ltwrapper_p file
+# True iff FILE is a libtool wrapper script or wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_p ()
+{
+ func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
+}
+
+
+# func_execute_cmds commands fail_cmd
+# Execute tilde-delimited COMMANDS.
+# If FAIL_CMD is given, eval that upon failure.
+# FAIL_CMD may read-access the current command in variable CMD!
+func_execute_cmds ()
+{
+ $debug_cmd
+
+ save_ifs=$IFS; IFS='~'
+ for cmd in $1; do
+ IFS=$sp$nl
+ eval cmd=\"$cmd\"
+ IFS=$save_ifs
+ func_show_eval "$cmd" "${2-:}"
+ done
+ IFS=$save_ifs
+}
+
+
+# func_source file
+# Source FILE, adding directory component if necessary.
+# Note that it is not necessary on cygwin/mingw to append a dot to
+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
+# behavior happens only for exec(3), not for open(2)! Also, sourcing
+# 'FILE.' does not work on cygwin managed mounts.
+func_source ()
+{
+ $debug_cmd
+
+ case $1 in
+ */* | *\\*) . "$1" ;;
+ *) . "./$1" ;;
+ esac
+}
+
+
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot. Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+ func_resolve_sysroot_result=$1
+ case $func_resolve_sysroot_result in
+ =*)
+ func_stripname '=' '' "$func_resolve_sysroot_result"
+ func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+ ;;
+ esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+ case $lt_sysroot:$1 in
+ ?*:"$lt_sysroot"*)
+ func_stripname "$lt_sysroot" '' "$1"
+ func_replace_sysroot_result='='$func_stripname_result
+ ;;
+ *)
+ # Including no sysroot.
+ func_replace_sysroot_result=$1
+ ;;
+ esac
+}
+
+# func_infer_tag arg
+# Infer tagged configuration to use if any are available and
+# if one wasn't chosen via the "--tag" command line option.
+# Only attempt this if the compiler in the base compile
+# command doesn't match the default compiler.
+# arg is usually of the form 'gcc ...'
+func_infer_tag ()
+{
+ $debug_cmd
+
+ if test -n "$available_tags" && test -z "$tagname"; then
+ CC_quoted=
+ for arg in $CC; do
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case $@ in
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when configure was run.
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
+ # Blanks at the start of $base_compile will cause this to fail
+ # if we don't check for them as well.
+ *)
+ for z in $available_tags; do
+ if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
+ CC_quoted=
+ for arg in $CC; do
+ # Double-quote args containing other shell metacharacters.
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case "$@ " in
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
+ # The compiler in the base compile command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ func_echo "unable to infer tagged configuration"
+ func_fatal_error "specify a tag with '--tag'"
+# else
+# func_verbose "using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+}
+
+
+
+# func_write_libtool_object output_name pic_name nonpic_name
+# Create a libtool object file (analogous to a ".la" file),
+# but don't create it if we're doing a dry run.
+func_write_libtool_object ()
+{
+ write_libobj=$1
+ if test yes = "$build_libtool_libs"; then
+ write_lobj=\'$2\'
+ else
+ write_lobj=none
+ fi
+
+ if test yes = "$build_old_libs"; then
+ write_oldobj=\'$3\'
+ else
+ write_oldobj=none
+ fi
+
+ $opt_dry_run || {
+ cat >${write_libobj}T <<EOF
+# $write_libobj - a libtool object file
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object=$write_lobj
+
+# Name of the non-PIC object
+non_pic_object=$write_oldobj
+
+EOF
+ $MV "${write_libobj}T" "$write_libobj"
+ }
+}
+
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+ $debug_cmd
+
+ func_convert_core_file_wine_to_w32_result=$1
+ if test -n "$1"; then
+ # Unfortunately, winepath does not exit with a non-zero error code, so we
+ # are forced to check the contents of stdout. On the other hand, if the
+ # command is not found, the shell will set an exit code of 127 and print
+ # *an error message* to stdout. So we must check for both error code of
+ # zero AND non-empty stdout, which explains the odd construction:
+ func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+ if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
+ func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+ $SED -e "$sed_naive_backslashify"`
+ else
+ func_convert_core_file_wine_to_w32_result=
+ fi
+ fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+ $debug_cmd
+
+ # unfortunately, winepath doesn't convert paths, only file names
+ func_convert_core_path_wine_to_w32_result=
+ if test -n "$1"; then
+ oldIFS=$IFS
+ IFS=:
+ for func_convert_core_path_wine_to_w32_f in $1; do
+ IFS=$oldIFS
+ func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+ if test -n "$func_convert_core_file_wine_to_w32_result"; then
+ if test -z "$func_convert_core_path_wine_to_w32_result"; then
+ func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
+ else
+ func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+ fi
+ fi
+ done
+ IFS=$oldIFS
+ fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+ $debug_cmd
+
+ if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+ func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+ if test "$?" -ne 0; then
+ # on failure, ensure result is empty
+ func_cygpath_result=
+ fi
+ else
+ func_cygpath_result=
+ func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
+ fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format. Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+ $debug_cmd
+
+ # awkward: cmd appends spaces to result
+ func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+ $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+ $debug_cmd
+
+ if test -z "$2" && test -n "$1"; then
+ func_error "Could not determine host file name corresponding to"
+ func_error " '$1'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback:
+ func_to_host_file_result=$1
+ fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+ $debug_cmd
+
+ if test -z "$4" && test -n "$3"; then
+ func_error "Could not determine the host path corresponding to"
+ func_error " '$3'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback. This is a deliberately simplistic "conversion" and
+ # should not be "improved". See libtool.info.
+ if test "x$1" != "x$2"; then
+ lt_replace_pathsep_chars="s|$1|$2|g"
+ func_to_host_path_result=`echo "$3" |
+ $SED -e "$lt_replace_pathsep_chars"`
+ else
+ func_to_host_path_result=$3
+ fi
+ fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+ $debug_cmd
+
+ case $4 in
+ $1 ) func_to_host_path_result=$3$func_to_host_path_result
+ ;;
+ esac
+ case $4 in
+ $2 ) func_append func_to_host_path_result "$3"
+ ;;
+ esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via '$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+ $debug_cmd
+
+ $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_to_tool_file ARG LAZY
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result. If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
+func_to_tool_file ()
+{
+ $debug_cmd
+
+ case ,$2, in
+ *,"$to_tool_file_cmd",*)
+ func_to_tool_file_result=$1
+ ;;
+ *)
+ $to_tool_file_cmd "$1"
+ func_to_tool_file_result=$func_to_host_file_result
+ ;;
+ esac
+}
+# end func_to_tool_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+ func_to_host_file_result=$1
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_to_host_file_result=$func_convert_core_msys_to_w32_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+ # LT_CYGPATH in this case.
+ func_to_host_file_result=`cygpath -m "$1"`
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format. Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_file_wine_to_w32 "$1"
+ func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_msys_to_w32_result"
+ func_to_host_file_result=$func_cygpath_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set. Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+ func_convert_core_file_wine_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+ func_to_host_file_result=$func_cygpath_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via '$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format. If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+# file name conversion function : func_convert_file_X_to_Y ()
+# path conversion function : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same. If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+ $debug_cmd
+
+ if test -z "$to_host_path_cmd"; then
+ func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+ to_host_path_cmd=func_convert_path_$func_stripname_result
+ fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+ $debug_cmd
+
+ func_init_to_host_path_cmd
+ $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+ func_to_host_path_result=$1
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from ARG. MSYS
+ # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+ # and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result=$func_convert_core_msys_to_w32_result
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format. Requires a wine environment and
+# a working winepath. Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+ func_to_host_path_result=$func_cygpath_result
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set. Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from
+ # ARG. msys behavior is inconsistent here, cygpath turns them
+ # into '.;' and ';.', and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+ func_to_host_path_result=$func_cygpath_result
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
+# func_dll_def_p FILE
+# True iff FILE is a Windows DLL '.def' file.
+# Keep in sync with _LT_DLL_DEF_P in libtool.m4
+func_dll_def_p ()
+{
+ $debug_cmd
+
+ func_dll_def_p_tmp=`$SED -n \
+ -e 's/^[ ]*//' \
+ -e '/^\(;.*\)*$/d' \
+ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
+ -e q \
+ "$1"`
+ test DEF = "$func_dll_def_p_tmp"
+}
+
+
+# func_mode_compile arg...
+func_mode_compile ()
+{
+ $debug_cmd
+
+ # Get the compilation command and the source file.
+ base_compile=
+ srcfile=$nonopt # always keep a non-empty value in "srcfile"
+ suppress_opt=yes
+ suppress_output=
+ arg_mode=normal
+ libobj=
+ later=
+ pie_flag=
+
+ for arg
+ do
+ case $arg_mode in
+ arg )
+ # do not "continue". Instead, add this to base_compile
+ lastarg=$arg
+ arg_mode=normal
+ ;;
+
+ target )
+ libobj=$arg
+ arg_mode=normal
+ continue
+ ;;
+
+ normal )
+ # Accept any command-line options.
+ case $arg in
+ -o)
+ test -n "$libobj" && \
+ func_fatal_error "you cannot specify '-o' more than once"
+ arg_mode=target
+ continue
+ ;;
+
+ -pie | -fpie | -fPIE)
+ func_append pie_flag " $arg"
+ continue
+ ;;
+
+ -shared | -static | -prefer-pic | -prefer-non-pic)
+ func_append later " $arg"
+ continue
+ ;;
+
+ -no-suppress)
+ suppress_opt=no
+ continue
+ ;;
+
+ -Xcompiler)
+ arg_mode=arg # the next one goes into the "base_compile" arg list
+ continue # The current "srcfile" will either be retained or
+ ;; # replaced later. I would guess that would be a bug.
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ lastarg=
+ save_ifs=$IFS; IFS=,
+ for arg in $args; do
+ IFS=$save_ifs
+ func_append_quoted lastarg "$arg"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$lastarg"
+ lastarg=$func_stripname_result
+
+ # Add the arguments to base_compile.
+ func_append base_compile " $lastarg"
+ continue
+ ;;
+
+ *)
+ # Accept the current argument as the source file.
+ # The previous "srcfile" becomes the current argument.
+ #
+ lastarg=$srcfile
+ srcfile=$arg
+ ;;
+ esac # case $arg
+ ;;
+ esac # case $arg_mode
+
+ # Aesthetically quote the previous argument.
+ func_append_quoted base_compile "$lastarg"
+ done # for arg
+
+ case $arg_mode in
+ arg)
+ func_fatal_error "you must specify an argument for -Xcompile"
+ ;;
+ target)
+ func_fatal_error "you must specify a target with '-o'"
+ ;;
+ *)
+ # Get the name of the library object.
+ test -z "$libobj" && {
+ func_basename "$srcfile"
+ libobj=$func_basename_result
+ }
+ ;;
+ esac
+
+ # Recognize several different file suffixes.
+ # If the user specifies -o file.o, it is replaced with file.lo
+ case $libobj in
+ *.[cCFSifmso] | \
+ *.ada | *.adb | *.ads | *.asm | \
+ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
+ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
+ func_xform "$libobj"
+ libobj=$func_xform_result
+ ;;
+ esac
+
+ case $libobj in
+ *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
+ *)
+ func_fatal_error "cannot determine name of library object from '$libobj'"
+ ;;
+ esac
+
+ func_infer_tag $base_compile
+
+ for arg in $later; do
+ case $arg in
+ -shared)
+ test yes = "$build_libtool_libs" \
+ || func_fatal_configuration "cannot build a shared library"
+ build_old_libs=no
+ continue
+ ;;
+
+ -static)
+ build_libtool_libs=no
+ build_old_libs=yes
+ continue
+ ;;
+
+ -prefer-pic)
+ pic_mode=yes
+ continue
+ ;;
+
+ -prefer-non-pic)
+ pic_mode=no
+ continue
+ ;;
+ esac
+ done
+
+ func_quote_for_eval "$libobj"
+ test "X$libobj" != "X$func_quote_for_eval_result" \
+ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
+ && func_warning "libobj name '$libobj' may not contain shell special characters."
+ func_dirname_and_basename "$obj" "/" ""
+ objname=$func_basename_result
+ xdir=$func_dirname_result
+ lobj=$xdir$objdir/$objname
+
+ test -z "$base_compile" && \
+ func_fatal_help "you must specify a compilation command"
+
+ # Delete any leftover library objects.
+ if test yes = "$build_old_libs"; then
+ removelist="$obj $lobj $libobj ${libobj}T"
+ else
+ removelist="$lobj $libobj ${libobj}T"
+ fi
+
+ # On Cygwin there's no "real" PIC flag so we must build both object types
+ case $host_os in
+ cygwin* | mingw* | pw32* | os2* | cegcc*)
+ pic_mode=default
+ ;;
+ esac
+ if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
+ # non-PIC code in shared libraries is not supported
+ pic_mode=default
+ fi
+
+ # Calculate the filename of the output object if compiler does
+ # not support -o with -c
+ if test no = "$compiler_c_o"; then
+ output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
+ lockfile=$output_obj.lock
+ else
+ output_obj=
+ need_locks=no
+ lockfile=
+ fi
+
+ # Lock this critical section if it is needed
+ # We use this script file to make the link, it avoids creating a new file
+ if test yes = "$need_locks"; then
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ elif test warn = "$need_locks"; then
+ if test -f "$lockfile"; then
+ $ECHO "\
+*** ERROR, $lockfile exists and contains:
+`cat $lockfile 2>/dev/null`
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+ func_append removelist " $output_obj"
+ $ECHO "$srcfile" > "$lockfile"
+ fi
+
+ $opt_dry_run || $RM $removelist
+ func_append removelist " $lockfile"
+ trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
+
+ func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
+ srcfile=$func_to_tool_file_result
+ func_quote_for_eval "$srcfile"
+ qsrcfile=$func_quote_for_eval_result
+
+ # Only build a PIC object if we are building libtool libraries.
+ if test yes = "$build_libtool_libs"; then
+ # Without this assignment, base_compile gets emptied.
+ fbsd_hideous_sh_bug=$base_compile
+
+ if test no != "$pic_mode"; then
+ command="$base_compile $qsrcfile $pic_flag"
+ else
+ # Don't build PIC code
+ command="$base_compile $qsrcfile"
+ fi
+
+ func_mkdir_p "$xdir$objdir"
+
+ if test -z "$output_obj"; then
+ # Place PIC objects in $objdir
+ func_append command " -o $lobj"
+ fi
+
+ func_show_eval_locale "$command" \
+ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
+
+ if test warn = "$need_locks" &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed, then go on to compile the next one
+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
+ func_show_eval '$MV "$output_obj" "$lobj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+
+ # Allow error messages only from the first compilation.
+ if test yes = "$suppress_opt"; then
+ suppress_output=' >/dev/null 2>&1'
+ fi
+ fi
+
+ # Only build a position-dependent object if we build old libraries.
+ if test yes = "$build_old_libs"; then
+ if test yes != "$pic_mode"; then
+ # Don't build PIC code
+ command="$base_compile $qsrcfile$pie_flag"
+ else
+ command="$base_compile $qsrcfile $pic_flag"
+ fi
+ if test yes = "$compiler_c_o"; then
+ func_append command " -o $obj"
+ fi
+
+ # Suppress compiler output if we already did a PIC compilation.
+ func_append command "$suppress_output"
+ func_show_eval_locale "$command" \
+ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
+
+ if test warn = "$need_locks" &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed
+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
+ func_show_eval '$MV "$output_obj" "$obj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+ fi
+
+ $opt_dry_run || {
+ func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
+
+ # Unlock the critical section if it was locked
+ if test no != "$need_locks"; then
+ removelist=$lockfile
+ $RM "$lockfile"
+ fi
+ }
+
+ exit $EXIT_SUCCESS
+}
+
+$opt_help || {
+ test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
+}
+
+func_mode_help ()
+{
+ # We need to display help for each of the modes.
+ case $opt_mode in
+ "")
+ # Generic help is extracted from the usage comments
+ # at the start of this file.
+ func_help
+ ;;
+
+ clean)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
+
+Remove files from the build directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
+to RM.
+
+If FILE is a libtool library, object or program, all the files associated
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ compile)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
+
+Compile a source file into a libtool library object.
+
+This mode accepts the following additional options:
+
+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE
+ -no-suppress do not suppress compiler output for multiple passes
+ -prefer-pic try to build PIC objects only
+ -prefer-non-pic try to build non-PIC objects only
+ -shared do not build a '.o' file suitable for static linking
+ -static only build a '.o' file suitable for static linking
+ -Wc,FLAG pass FLAG directly to the compiler
+
+COMPILE-COMMAND is a command to be used in creating a 'standard' object file
+from the given SOURCEFILE.
+
+The output file name is determined by removing the directory component from
+SOURCEFILE, then substituting the C source code suffix '.c' with the
+library object suffix, '.lo'."
+ ;;
+
+ execute)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
+
+Automatically set library path, then run a program.
+
+This mode accepts the following additional options:
+
+ -dlopen FILE add the directory containing FILE to the library path
+
+This mode sets the library path environment variable according to '-dlopen'
+flags.
+
+If any of the ARGS are libtool executable wrappers, then they are translated
+into their corresponding uninstalled binary, and any of their required library
+directories are added to the library path.
+
+Then, COMMAND is executed, with ARGS as arguments."
+ ;;
+
+ finish)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
+
+Complete the installation of libtool libraries.
+
+Each LIBDIR is a directory that contains libtool libraries.
+
+The commands that this mode executes may require superuser privileges. Use
+the '--dry-run' option if you just want to see what would be executed."
+ ;;
+
+ install)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
+
+Install executables or libraries.
+
+INSTALL-COMMAND is the installation command. The first component should be
+either the 'install' or 'cp' program.
+
+The following components of INSTALL-COMMAND are treated specially:
+
+ -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
+
+The rest of the components are interpreted as arguments to that command (only
+BSD-compatible install options are recognized)."
+ ;;
+
+ link)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
+
+Link object files or libraries together to form another library, or to
+create an executable program.
+
+LINK-COMMAND is a command using the C compiler that you would use to create
+a program from several object files.
+
+The following components of LINK-COMMAND are treated specially:
+
+ -all-static do not do any dynamic linking at all
+ -avoid-version do not add a version suffix if possible
+ -bindir BINDIR specify path to binaries directory (for systems where
+ libraries must be found in the PATH setting at runtime)
+ -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
+ -export-symbols SYMFILE
+ try to export only the symbols listed in SYMFILE
+ -export-symbols-regex REGEX
+ try to export only the symbols matching REGEX
+ -LLIBDIR search LIBDIR for required installed libraries
+ -lNAME OUTPUT-FILE requires the installed library libNAME
+ -module build a library that can dlopened
+ -no-fast-install disable the fast-install mode
+ -no-install link a not-installable executable
+ -no-undefined declare that a library does not refer to external symbols
+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
+ -objectlist FILE use a list of object files found in FILE to specify objects
+ -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
+ -precious-files-regex REGEX
+ don't remove output files matching REGEX
+ -release RELEASE specify package release information
+ -rpath LIBDIR the created library will eventually be installed in LIBDIR
+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
+ -shared only do dynamic linking of libtool libraries
+ -shrext SUFFIX override the standard shared library file extension
+ -static do not do any dynamic linking of uninstalled libtool libraries
+ -static-libtool-libs
+ do not do any dynamic linking of libtool libraries
+ -version-info CURRENT[:REVISION[:AGE]]
+ specify library version info [each variable defaults to 0]
+ -weak LIBNAME declare that the target provides the LIBNAME interface
+ -Wc,FLAG
+ -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
+ -Wl,FLAG
+ -Xlinker FLAG pass linker-specific FLAG directly to the linker
+ -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
+
+All other options (arguments beginning with '-') are ignored.
+
+Every other argument is treated as a filename. Files ending in '.la' are
+treated as uninstalled libtool libraries, other files are standard or library
+object files.
+
+If the OUTPUT-FILE ends in '.la', then a libtool library is created,
+only library objects ('.lo' files) may be specified, and '-rpath' is
+required, except when creating a convenience library.
+
+If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
+using 'ar' and 'ranlib', or on Windows using 'lib'.
+
+If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
+is created, otherwise an executable program is created."
+ ;;
+
+ uninstall)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
+
+Remove libraries from an installation directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
+to RM.
+
+If FILE is a libtool library, all the files associated with it are deleted.
+Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ *)
+ func_fatal_help "invalid operation mode '$opt_mode'"
+ ;;
+ esac
+
+ echo
+ $ECHO "Try '$progname --help' for more information about other modes."
+}
+
+# Now that we've collected a possible --mode arg, show help if necessary
+if $opt_help; then
+ if test : = "$opt_help"; then
+ func_mode_help
+ else
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ func_mode_help
+ done
+ } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ echo
+ func_mode_help
+ done
+ } |
+ $SED '1d
+ /^When reporting/,/^Report/{
+ H
+ d
+ }
+ $x
+ /information about other modes/d
+ /more detailed .*MODE/d
+ s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
+ fi
+ exit $?
+fi
+
+
+# func_mode_execute arg...
+func_mode_execute ()
+{
+ $debug_cmd
+
+ # The first argument is the command name.
+ cmd=$nonopt
+ test -z "$cmd" && \
+ func_fatal_help "you must specify a COMMAND"
+
+ # Handle -dlopen flags immediately.
+ for file in $opt_dlopen; do
+ test -f "$file" \
+ || func_fatal_help "'$file' is not a file"
+
+ dir=
+ case $file in
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "'$lib' is not a valid libtool archive"
+
+ # Read the libtool library.
+ dlname=
+ library_names=
+ func_source "$file"
+
+ # Skip this library if it cannot be dlopened.
+ if test -z "$dlname"; then
+ # Warn if it was a shared library.
+ test -n "$library_names" && \
+ func_warning "'$file' was not linked with '-export-dynamic'"
+ continue
+ fi
+
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+
+ if test -f "$dir/$objdir/$dlname"; then
+ func_append dir "/$objdir"
+ else
+ if test ! -f "$dir/$dlname"; then
+ func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
+ fi
+ fi
+ ;;
+
+ *.lo)
+ # Just add the directory containing the .lo file.
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+ ;;
+
+ *)
+ func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
+ continue
+ ;;
+ esac
+
+ # Get the absolute pathname.
+ absdir=`cd "$dir" && pwd`
+ test -n "$absdir" && dir=$absdir
+
+ # Now add the directory to shlibpath_var.
+ if eval "test -z \"\$$shlibpath_var\""; then
+ eval "$shlibpath_var=\"\$dir\""
+ else
+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
+ fi
+ done
+
+ # This variable tells wrapper scripts just to set shlibpath_var
+ # rather than running their programs.
+ libtool_execute_magic=$magic
+
+ # Check if any of the arguments is a wrapper script.
+ args=
+ for file
+ do
+ case $file in
+ -* | *.la | *.lo ) ;;
+ *)
+ # Do a test to see if this is really a libtool program.
+ if func_ltwrapper_script_p "$file"; then
+ func_source "$file"
+ # Transform arg to wrapped name.
+ file=$progdir/$program
+ elif func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ func_source "$func_ltwrapper_scriptname_result"
+ # Transform arg to wrapped name.
+ file=$progdir/$program
+ fi
+ ;;
+ esac
+ # Quote arguments (to preserve shell metacharacters).
+ func_append_quoted args "$file"
+ done
+
+ if $opt_dry_run; then
+ # Display what would be done.
+ if test -n "$shlibpath_var"; then
+ eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
+ echo "export $shlibpath_var"
+ fi
+ $ECHO "$cmd$args"
+ exit $EXIT_SUCCESS
+ else
+ if test -n "$shlibpath_var"; then
+ # Export the shlibpath_var.
+ eval "export $shlibpath_var"
+ fi
+
+ # Restore saved environment variables
+ for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+ do
+ eval "if test \"\${save_$lt_var+set}\" = set; then
+ $lt_var=\$save_$lt_var; export $lt_var
+ else
+ $lt_unset $lt_var
+ fi"
+ done
+
+ # Now prepare to actually exec the command.
+ exec_cmd=\$cmd$args
+ fi
+}
+
+test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
+
+
+# func_mode_finish arg...
+func_mode_finish ()
+{
+ $debug_cmd
+
+ libs=
+ libdirs=
+ admincmds=
+
+ for opt in "$nonopt" ${1+"$@"}
+ do
+ if test -d "$opt"; then
+ func_append libdirs " $opt"
+
+ elif test -f "$opt"; then
+ if func_lalib_unsafe_p "$opt"; then
+ func_append libs " $opt"
+ else
+ func_warning "'$opt' is not a valid libtool archive"
+ fi
+
+ else
+ func_fatal_error "invalid argument '$opt'"
+ fi
+ done
+
+ if test -n "$libs"; then
+ if test -n "$lt_sysroot"; then
+ sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+ sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+ else
+ sysroot_cmd=
+ fi
+
+ # Remove sysroot references
+ if $opt_dry_run; then
+ for lib in $libs; do
+ echo "removing references to $lt_sysroot and '=' prefixes from $lib"
+ done
+ else
+ tmpdir=`func_mktempdir`
+ for lib in $libs; do
+ $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+ > $tmpdir/tmp-la
+ mv -f $tmpdir/tmp-la $lib
+ done
+ ${RM}r "$tmpdir"
+ fi
+ fi
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ for libdir in $libdirs; do
+ if test -n "$finish_cmds"; then
+ # Do each command in the finish commands.
+ func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
+'"$cmd"'"'
+ fi
+ if test -n "$finish_eval"; then
+ # Do the single finish_eval.
+ eval cmds=\"$finish_eval\"
+ $opt_dry_run || eval "$cmds" || func_append admincmds "
+ $cmds"
+ fi
+ done
+ fi
+
+ # Exit here if they wanted silent mode.
+ $opt_quiet && exit $EXIT_SUCCESS
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ echo "----------------------------------------------------------------------"
+ echo "Libraries have been installed in:"
+ for libdir in $libdirs; do
+ $ECHO " $libdir"
+ done
+ echo
+ echo "If you ever happen to want to link against installed libraries"
+ echo "in a given directory, LIBDIR, you must either use libtool, and"
+ echo "specify the full pathname of the library, or use the '-LLIBDIR'"
+ echo "flag during linking and do at least one of the following:"
+ if test -n "$shlibpath_var"; then
+ echo " - add LIBDIR to the '$shlibpath_var' environment variable"
+ echo " during execution"
+ fi
+ if test -n "$runpath_var"; then
+ echo " - add LIBDIR to the '$runpath_var' environment variable"
+ echo " during linking"
+ fi
+ if test -n "$hardcode_libdir_flag_spec"; then
+ libdir=LIBDIR
+ eval flag=\"$hardcode_libdir_flag_spec\"
+
+ $ECHO " - use the '$flag' linker flag"
+ fi
+ if test -n "$admincmds"; then
+ $ECHO " - have your system administrator run these commands:$admincmds"
+ fi
+ if test -f /etc/ld.so.conf; then
+ echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
+ fi
+ echo
+
+ echo "See any operating system documentation about shared libraries for"
+ case $host in
+ solaris2.[6789]|solaris2.1[0-9])
+ echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+ echo "pages."
+ ;;
+ *)
+ echo "more information, such as the ld(1) and ld.so(8) manual pages."
+ ;;
+ esac
+ echo "----------------------------------------------------------------------"
+ fi
+ exit $EXIT_SUCCESS
+}
+
+test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
+
+
+# func_mode_install arg...
+func_mode_install ()
+{
+ $debug_cmd
+
+ # There may be an optional sh(1) argument at the beginning of
+ # install_prog (especially on Windows NT).
+ if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
+ # Allow the use of GNU shtool's install command.
+ case $nonopt in *shtool*) :;; *) false;; esac
+ then
+ # Aesthetically quote it.
+ func_quote_for_eval "$nonopt"
+ install_prog="$func_quote_for_eval_result "
+ arg=$1
+ shift
+ else
+ install_prog=
+ arg=$nonopt
+ fi
+
+ # The real first argument should be the name of the installation program.
+ # Aesthetically quote it.
+ func_quote_for_eval "$arg"
+ func_append install_prog "$func_quote_for_eval_result"
+ install_shared_prog=$install_prog
+ case " $install_prog " in
+ *[\\\ /]cp\ *) install_cp=: ;;
+ *) install_cp=false ;;
+ esac
+
+ # We need to accept at least all the BSD install flags.
+ dest=
+ files=
+ opts=
+ prev=
+ install_type=
+ isdir=false
+ stripme=
+ no_mode=:
+ for arg
+ do
+ arg2=
+ if test -n "$dest"; then
+ func_append files " $dest"
+ dest=$arg
+ continue
+ fi
+
+ case $arg in
+ -d) isdir=: ;;
+ -f)
+ if $install_cp; then :; else
+ prev=$arg
+ fi
+ ;;
+ -g | -m | -o)
+ prev=$arg
+ ;;
+ -s)
+ stripme=" -s"
+ continue
+ ;;
+ -*)
+ ;;
+ *)
+ # If the previous option needed an argument, then skip it.
+ if test -n "$prev"; then
+ if test X-m = "X$prev" && test -n "$install_override_mode"; then
+ arg2=$install_override_mode
+ no_mode=false
+ fi
+ prev=
+ else
+ dest=$arg
+ continue
+ fi
+ ;;
+ esac
+
+ # Aesthetically quote the argument.
+ func_quote_for_eval "$arg"
+ func_append install_prog " $func_quote_for_eval_result"
+ if test -n "$arg2"; then
+ func_quote_for_eval "$arg2"
+ fi
+ func_append install_shared_prog " $func_quote_for_eval_result"
+ done
+
+ test -z "$install_prog" && \
+ func_fatal_help "you must specify an install program"
+
+ test -n "$prev" && \
+ func_fatal_help "the '$prev' option requires an argument"
+
+ if test -n "$install_override_mode" && $no_mode; then
+ if $install_cp; then :; else
+ func_quote_for_eval "$install_override_mode"
+ func_append install_shared_prog " -m $func_quote_for_eval_result"
+ fi
+ fi
+
+ if test -z "$files"; then
+ if test -z "$dest"; then
+ func_fatal_help "no file or destination specified"
+ else
+ func_fatal_help "you must specify a destination"
+ fi
+ fi
+
+ # Strip any trailing slash from the destination.
+ func_stripname '' '/' "$dest"
+ dest=$func_stripname_result
+
+ # Check to see that the destination is a directory.
+ test -d "$dest" && isdir=:
+ if $isdir; then
+ destdir=$dest
+ destname=
+ else
+ func_dirname_and_basename "$dest" "" "."
+ destdir=$func_dirname_result
+ destname=$func_basename_result
+
+ # Not a directory, so check to see that there is only one file specified.
+ set dummy $files; shift
+ test "$#" -gt 1 && \
+ func_fatal_help "'$dest' is not a directory"
+ fi
+ case $destdir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ for file in $files; do
+ case $file in
+ *.lo) ;;
+ *)
+ func_fatal_help "'$destdir' must be an absolute directory name"
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic=$magic
+
+ staticlibs=
+ future_libdirs=
+ current_libdirs=
+ for file in $files; do
+
+ # Do each installation.
+ case $file in
+ *.$libext)
+ # Do the static libraries later.
+ func_append staticlibs " $file"
+ ;;
+
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "'$file' is not a valid libtool archive"
+
+ library_names=
+ old_library=
+ relink_command=
+ func_source "$file"
+
+ # Add the libdir to current_libdirs if it is the destination.
+ if test "X$destdir" = "X$libdir"; then
+ case "$current_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append current_libdirs " $libdir" ;;
+ esac
+ else
+ # Note the libdir as a future libdir.
+ case "$future_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append future_libdirs " $libdir" ;;
+ esac
+ fi
+
+ func_dirname "$file" "/" ""
+ dir=$func_dirname_result
+ func_append dir "$objdir"
+
+ if test -n "$relink_command"; then
+ # Determine the prefix the user has applied to our future dir.
+ inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
+
+ # Don't allow the user to place us outside of our expected
+ # location b/c this prevents finding dependent libraries that
+ # are installed to the same prefix.
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+ test "$inst_prefix_dir" = "$destdir" && \
+ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+ else
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
+ fi
+
+ func_warning "relinking '$file'"
+ func_show_eval "$relink_command" \
+ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
+ fi
+
+ # See the names of the shared library.
+ set dummy $library_names; shift
+ if test -n "$1"; then
+ realname=$1
+ shift
+
+ srcname=$realname
+ test -n "$relink_command" && srcname=${realname}T
+
+ # Install the shared library and build the symlinks.
+ func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
+ 'exit $?'
+ tstripme=$stripme
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $realname in
+ *.dll.a)
+ tstripme=
+ ;;
+ esac
+ ;;
+ os2*)
+ case $realname in
+ *_dll.a)
+ tstripme=
+ ;;
+ esac
+ ;;
+ esac
+ if test -n "$tstripme" && test -n "$striplib"; then
+ func_show_eval "$striplib $destdir/$realname" 'exit $?'
+ fi
+
+ if test "$#" -gt 0; then
+ # Delete the old symlinks, and create new ones.
+ # Try 'ln -sf' first, because the 'ln' binary might depend on
+ # the symlink we replace! Solaris /bin/ln does not understand -f,
+ # so we also need to try rm && ln -s.
+ for linkname
+ do
+ test "$linkname" != "$realname" \
+ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
+ done
+ fi
+
+ # Do each command in the postinstall commands.
+ lib=$destdir/$realname
+ func_execute_cmds "$postinstall_cmds" 'exit $?'
+ fi
+
+ # Install the pseudo-library for information purposes.
+ func_basename "$file"
+ name=$func_basename_result
+ instname=$dir/${name}i
+ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && func_append staticlibs " $dir/$old_library"
+ ;;
+
+ *.lo)
+ # Install (i.e. copy) a libtool object.
+
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile=$destdir/$destname
+ else
+ func_basename "$file"
+ destfile=$func_basename_result
+ destfile=$destdir/$destfile
+ fi
+
+ # Deduce the name of the destination old-style object file.
+ case $destfile in
+ *.lo)
+ func_lo2o "$destfile"
+ staticdest=$func_lo2o_result
+ ;;
+ *.$objext)
+ staticdest=$destfile
+ destfile=
+ ;;
+ *)
+ func_fatal_help "cannot copy a libtool object to '$destfile'"
+ ;;
+ esac
+
+ # Install the libtool object if requested.
+ test -n "$destfile" && \
+ func_show_eval "$install_prog $file $destfile" 'exit $?'
+
+ # Install the old object if enabled.
+ if test yes = "$build_old_libs"; then
+ # Deduce the name of the old-style object file.
+ func_lo2o "$file"
+ staticobj=$func_lo2o_result
+ func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
+ fi
+ exit $EXIT_SUCCESS
+ ;;
+
+ *)
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile=$destdir/$destname
+ else
+ func_basename "$file"
+ destfile=$func_basename_result
+ destfile=$destdir/$destfile
+ fi
+
+ # If the file is missing, and there is a .exe on the end, strip it
+ # because it is most likely a libtool script we actually want to
+ # install
+ stripped_ext=
+ case $file in
+ *.exe)
+ if test ! -f "$file"; then
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ stripped_ext=.exe
+ fi
+ ;;
+ esac
+
+ # Do a test to see if this is really a libtool program.
+ case $host in
+ *cygwin* | *mingw*)
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ wrapper=$func_ltwrapper_scriptname_result
+ else
+ func_stripname '' '.exe' "$file"
+ wrapper=$func_stripname_result
+ fi
+ ;;
+ *)
+ wrapper=$file
+ ;;
+ esac
+ if func_ltwrapper_script_p "$wrapper"; then
+ notinst_deplibs=
+ relink_command=
+
+ func_source "$wrapper"
+
+ # Check the variables that should have been set.
+ test -z "$generated_by_libtool_version" && \
+ func_fatal_error "invalid libtool wrapper script '$wrapper'"
+
+ finalize=:
+ for lib in $notinst_deplibs; do
+ # Check to see that each library is installed.
+ libdir=
+ if test -f "$lib"; then
+ func_source "$lib"
+ fi
+ libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
+ if test -n "$libdir" && test ! -f "$libfile"; then
+ func_warning "'$lib' has not been installed in '$libdir'"
+ finalize=false
+ fi
+ done
+
+ relink_command=
+ func_source "$wrapper"
+
+ outputname=
+ if test no = "$fast_install" && test -n "$relink_command"; then
+ $opt_dry_run || {
+ if $finalize; then
+ tmpdir=`func_mktempdir`
+ func_basename "$file$stripped_ext"
+ file=$func_basename_result
+ outputname=$tmpdir/$file
+ # Replace the output file specification.
+ relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
+
+ $opt_quiet || {
+ func_quote_for_expand "$relink_command"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ if eval "$relink_command"; then :
+ else
+ func_error "error: relink '$file' with the above command before installing it"
+ $opt_dry_run || ${RM}r "$tmpdir"
+ continue
+ fi
+ file=$outputname
+ else
+ func_warning "cannot relink '$file'"
+ fi
+ }
+ else
+ # Install the binary that we compiled earlier.
+ file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
+ fi
+ fi
+
+ # remove .exe since cygwin /usr/bin/install will append another
+ # one anyway
+ case $install_prog,$host in
+ */usr/bin/install*,*cygwin*)
+ case $file:$destfile in
+ *.exe:*.exe)
+ # this is ok
+ ;;
+ *.exe:*)
+ destfile=$destfile.exe
+ ;;
+ *:*.exe)
+ func_stripname '' '.exe' "$destfile"
+ destfile=$func_stripname_result
+ ;;
+ esac
+ ;;
+ esac
+ func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
+ $opt_dry_run || if test -n "$outputname"; then
+ ${RM}r "$tmpdir"
+ fi
+ ;;
+ esac
+ done
+
+ for file in $staticlibs; do
+ func_basename "$file"
+ name=$func_basename_result
+
+ # Set up the ranlib parameters.
+ oldlib=$destdir/$name
+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+ tool_oldlib=$func_to_tool_file_result
+
+ func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
+
+ if test -n "$stripme" && test -n "$old_striplib"; then
+ func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
+ fi
+
+ # Do each command in the postinstall commands.
+ func_execute_cmds "$old_postinstall_cmds" 'exit $?'
+ done
+
+ test -n "$future_libdirs" && \
+ func_warning "remember to run '$progname --finish$future_libdirs'"
+
+ if test -n "$current_libdirs"; then
+ # Maybe just do a dry run.
+ $opt_dry_run && current_libdirs=" -n$current_libdirs"
+ exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
+ else
+ exit $EXIT_SUCCESS
+ fi
+}
+
+test install = "$opt_mode" && func_mode_install ${1+"$@"}
+
+
+# func_generate_dlsyms outputname originator pic_p
+# Extract symbols from dlprefiles and create ${outputname}S.o with
+# a dlpreopen symbol table.
+func_generate_dlsyms ()
+{
+ $debug_cmd
+
+ my_outputname=$1
+ my_originator=$2
+ my_pic_p=${3-false}
+ my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
+ my_dlsyms=
+
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ if test -n "$NM" && test -n "$global_symbol_pipe"; then
+ my_dlsyms=${my_outputname}S.c
+ else
+ func_error "not configured to extract global symbols from dlpreopened files"
+ fi
+ fi
+
+ if test -n "$my_dlsyms"; then
+ case $my_dlsyms in
+ "") ;;
+ *.c)
+ # Discover the nlist of each of the dlfiles.
+ nlist=$output_objdir/$my_outputname.nm
+
+ func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
+
+ # Parse the name list into a source file.
+ func_verbose "creating $output_objdir/$my_dlsyms"
+
+ $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
+/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
+/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
+
+#ifdef __cplusplus
+extern \"C\" {
+#endif
+
+#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT_DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
+#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
+
+/* External symbol declarations for the compiler. */\
+"
+
+ if test yes = "$dlself"; then
+ func_verbose "generating symbol list for '$output'"
+
+ $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
+
+ # Add our own program objects to the symbol list.
+ progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ for progfile in $progfiles; do
+ func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+ func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
+ $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -n "$exclude_expsyms"; then
+ $opt_dry_run || {
+ eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ if test -n "$export_symbols_regex"; then
+ $opt_dry_run || {
+ eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ export_symbols=$output_objdir/$outputname.exp
+ $opt_dry_run || {
+ $RM $export_symbols
+ eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ else
+ $opt_dry_run || {
+ eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
+ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ fi
+ fi
+
+ for dlprefile in $dlprefiles; do
+ func_verbose "extracting global C symbols from '$dlprefile'"
+ func_basename "$dlprefile"
+ name=$func_basename_result
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ # if an import library, we need to obtain dlname
+ if func_win32_import_lib_p "$dlprefile"; then
+ func_tr_sh "$dlprefile"
+ eval "curr_lafile=\$libfile_$func_tr_sh_result"
+ dlprefile_dlbasename=
+ if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
+ # Use subshell, to avoid clobbering current variable values
+ dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
+ if test -n "$dlprefile_dlname"; then
+ func_basename "$dlprefile_dlname"
+ dlprefile_dlbasename=$func_basename_result
+ else
+ # no lafile. user explicitly requested -dlpreopen <import library>.
+ $sharedlib_from_linklib_cmd "$dlprefile"
+ dlprefile_dlbasename=$sharedlib_from_linklib_result
+ fi
+ fi
+ $opt_dry_run || {
+ if test -n "$dlprefile_dlbasename"; then
+ eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
+ else
+ func_warning "Could not compute DLL name from $name"
+ eval '$ECHO ": $name " >> "$nlist"'
+ fi
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
+ $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
+ }
+ else # not an import lib
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ fi
+ ;;
+ *)
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ ;;
+ esac
+ done
+
+ $opt_dry_run || {
+ # Make sure we have at least an empty file.
+ test -f "$nlist" || : > "$nlist"
+
+ if test -n "$exclude_expsyms"; then
+ $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
+ $MV "$nlist"T "$nlist"
+ fi
+
+ # Try sorting and uniquifying the output.
+ if $GREP -v "^: " < "$nlist" |
+ if sort -k 3 </dev/null >/dev/null 2>&1; then
+ sort -k 3
+ else
+ sort +2
+ fi |
+ uniq > "$nlist"S; then
+ :
+ else
+ $GREP -v "^: " < "$nlist" > "$nlist"S
+ fi
+
+ if test -f "$nlist"S; then
+ eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
+ else
+ echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
+ fi
+
+ func_show_eval '$RM "${nlist}I"'
+ if test -n "$global_symbol_to_import"; then
+ eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
+ fi
+
+ echo >> "$output_objdir/$my_dlsyms" "\
+
+/* The mapping between symbol names and symbols. */
+typedef struct {
+ const char *name;
+ void *address;
+} lt_dlsymlist;
+extern LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[];\
+"
+
+ if test -s "$nlist"I; then
+ echo >> "$output_objdir/$my_dlsyms" "\
+static void lt_syminit(void)
+{
+ LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
+ for (; symbol->name; ++symbol)
+ {"
+ $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
+ echo >> "$output_objdir/$my_dlsyms" "\
+ }
+}"
+ fi
+ echo >> "$output_objdir/$my_dlsyms" "\
+LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[] =
+{ {\"$my_originator\", (void *) 0},"
+
+ if test -s "$nlist"I; then
+ echo >> "$output_objdir/$my_dlsyms" "\
+ {\"@INIT@\", (void *) <_syminit},"
+ fi
+
+ case $need_lib_prefix in
+ no)
+ eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ *)
+ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ esac
+ echo >> "$output_objdir/$my_dlsyms" "\
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt_${my_prefix}_LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif\
+"
+ } # !$opt_dry_run
+
+ pic_flag_for_symtable=
+ case "$compile_command " in
+ *" -static "*) ;;
+ *)
+ case $host in
+ # compiling the symbol table file with pic_flag works around
+ # a FreeBSD bug that causes programs to crash when -lm is
+ # linked before any other PIC object. But we must not use
+ # pic_flag when linking with -static. The problem exists in
+ # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
+ *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
+ *-*-hpux*)
+ pic_flag_for_symtable=" $pic_flag" ;;
+ *)
+ $my_pic_p && pic_flag_for_symtable=" $pic_flag"
+ ;;
+ esac
+ ;;
+ esac
+ symtab_cflags=
+ for arg in $LTCFLAGS; do
+ case $arg in
+ -pie | -fpie | -fPIE) ;;
+ *) func_append symtab_cflags " $arg" ;;
+ esac
+ done
+
+ # Now compile the dynamic symbol file.
+ func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
+
+ # Clean up the generated files.
+ func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
+
+ # Transform the symbol file into the correct name.
+ symfileobj=$output_objdir/${my_outputname}S.$objext
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ if test -f "$output_objdir/$my_outputname.def"; then
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ else
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ fi
+ ;;
+ *)
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ ;;
+ esac
+ ;;
+ *)
+ func_fatal_error "unknown suffix for '$my_dlsyms'"
+ ;;
+ esac
+ else
+ # We keep going just in case the user didn't refer to
+ # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
+ # really was required.
+
+ # Nullify the symbol file.
+ compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
+ fi
+}
+
+# func_cygming_gnu_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is a GNU/binutils-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_gnu_implib_p ()
+{
+ $debug_cmd
+
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+ test -n "$func_cygming_gnu_implib_tmp"
+}
+
+# func_cygming_ms_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is an MS-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_ms_implib_p ()
+{
+ $debug_cmd
+
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+ test -n "$func_cygming_ms_implib_tmp"
+}
+
+# func_win32_libid arg
+# return the library type of file 'arg'
+#
+# Need a lot of goo to handle *both* DLLs and import libs
+# Has to be a shell function in order to 'eat' the argument
+# that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
+func_win32_libid ()
+{
+ $debug_cmd
+
+ win32_libid_type=unknown
+ win32_fileres=`file -L $1 2>/dev/null`
+ case $win32_fileres in
+ *ar\ archive\ import\ library*) # definitely import
+ win32_libid_type="x86 archive import"
+ ;;
+ *ar\ archive*) # could be an import, or static
+ # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
+ $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+ case $nm_interface in
+ "MS dumpbin")
+ if func_cygming_ms_implib_p "$1" ||
+ func_cygming_gnu_implib_p "$1"
+ then
+ win32_nmres=import
+ else
+ win32_nmres=
+ fi
+ ;;
+ *)
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
+ $SED -n -e '
+ 1,100{
+ / I /{
+ s|.*|import|
+ p
+ q
+ }
+ }'`
+ ;;
+ esac
+ case $win32_nmres in
+ import*) win32_libid_type="x86 archive import";;
+ *) win32_libid_type="x86 archive static";;
+ esac
+ fi
+ ;;
+ *DLL*)
+ win32_libid_type="x86 DLL"
+ ;;
+ *executable*) # but shell scripts are "executable" too...
+ case $win32_fileres in
+ *MS\ Windows\ PE\ Intel*)
+ win32_libid_type="x86 DLL"
+ ;;
+ esac
+ ;;
+ esac
+ $ECHO "$win32_libid_type"
+}
+
+# func_cygming_dll_for_implib ARG
+#
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib ()
+{
+ $debug_cmd
+
+ sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
+}
+
+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
+#
+# The is the core of a fallback implementation of a
+# platform-specific function to extract the name of the
+# DLL associated with the specified import library LIBNAME.
+#
+# SECTION_NAME is either .idata$6 or .idata$7, depending
+# on the platform and compiler that created the implib.
+#
+# Echos the name of the DLL associated with the
+# specified import library.
+func_cygming_dll_for_implib_fallback_core ()
+{
+ $debug_cmd
+
+ match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
+ $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
+ $SED '/^Contents of section '"$match_literal"':/{
+ # Place marker at beginning of archive member dllname section
+ s/.*/====MARK====/
+ p
+ d
+ }
+ # These lines can sometimes be longer than 43 characters, but
+ # are always uninteresting
+ /:[ ]*file format pe[i]\{,1\}-/d
+ /^In archive [^:]*:/d
+ # Ensure marker is printed
+ /^====MARK====/p
+ # Remove all lines with less than 43 characters
+ /^.\{43\}/!d
+ # From remaining lines, remove first 43 characters
+ s/^.\{43\}//' |
+ $SED -n '
+ # Join marker and all lines until next marker into a single line
+ /^====MARK====/ b para
+ H
+ $ b para
+ b
+ :para
+ x
+ s/\n//g
+ # Remove the marker
+ s/^====MARK====//
+ # Remove trailing dots and whitespace
+ s/[\. \t]*$//
+ # Print
+ /./p' |
+ # we now have a list, one entry per line, of the stringified
+ # contents of the appropriate section of all members of the
+ # archive that possess that section. Heuristic: eliminate
+ # all those that have a first or second character that is
+ # a '.' (that is, objdump's representation of an unprintable
+ # character.) This should work for all archives with less than
+ # 0x302f exports -- but will fail for DLLs whose name actually
+ # begins with a literal '.' or a single character followed by
+ # a '.'.
+ #
+ # Of those that remain, print the first one.
+ $SED -e '/^\./d;/^.\./d;q'
+}
+
+# func_cygming_dll_for_implib_fallback ARG
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+#
+# This fallback implementation is for use when $DLLTOOL
+# does not support the --identify-strict option.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib_fallback ()
+{
+ $debug_cmd
+
+ if func_cygming_gnu_implib_p "$1"; then
+ # binutils import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
+ elif func_cygming_ms_implib_p "$1"; then
+ # ms-generated import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
+ else
+ # unknown
+ sharedlib_from_linklib_result=
+ fi
+}
+
+
+# func_extract_an_archive dir oldlib
+func_extract_an_archive ()
+{
+ $debug_cmd
+
+ f_ex_an_ar_dir=$1; shift
+ f_ex_an_ar_oldlib=$1
+ if test yes = "$lock_old_archive_extraction"; then
+ lockfile=$f_ex_an_ar_oldlib.lock
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ fi
+ func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+ 'stat=$?; rm -f "$lockfile"; exit $stat'
+ if test yes = "$lock_old_archive_extraction"; then
+ $opt_dry_run || rm -f "$lockfile"
+ fi
+ if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
+ fi
+}
+
+
+# func_extract_archives gentop oldlib ...
+func_extract_archives ()
+{
+ $debug_cmd
+
+ my_gentop=$1; shift
+ my_oldlibs=${1+"$@"}
+ my_oldobjs=
+ my_xlib=
+ my_xabs=
+ my_xdir=
+
+ for my_xlib in $my_oldlibs; do
+ # Extract the objects.
+ case $my_xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
+ *) my_xabs=`pwd`"/$my_xlib" ;;
+ esac
+ func_basename "$my_xlib"
+ my_xlib=$func_basename_result
+ my_xlib_u=$my_xlib
+ while :; do
+ case " $extracted_archives " in
+ *" $my_xlib_u "*)
+ func_arith $extracted_serial + 1
+ extracted_serial=$func_arith_result
+ my_xlib_u=lt$extracted_serial-$my_xlib ;;
+ *) break ;;
+ esac
+ done
+ extracted_archives="$extracted_archives $my_xlib_u"
+ my_xdir=$my_gentop/$my_xlib_u
+
+ func_mkdir_p "$my_xdir"
+
+ case $host in
+ *-darwin*)
+ func_verbose "Extracting $my_xabs"
+ # Do not bother doing anything if just a dry run
+ $opt_dry_run || {
+ darwin_orig_dir=`pwd`
+ cd $my_xdir || exit $?
+ darwin_archive=$my_xabs
+ darwin_curdir=`pwd`
+ func_basename "$darwin_archive"
+ darwin_base_archive=$func_basename_result
+ darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
+ if test -n "$darwin_arches"; then
+ darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
+ darwin_arch=
+ func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
+ for darwin_arch in $darwin_arches; do
+ func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
+ $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
+ cd "unfat-$$/$darwin_base_archive-$darwin_arch"
+ func_extract_an_archive "`pwd`" "$darwin_base_archive"
+ cd "$darwin_curdir"
+ $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
+ done # $darwin_arches
+ ## Okay now we've a bunch of thin objects, gotta fatten them up :)
+ darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
+ darwin_file=
+ darwin_files=
+ for darwin_file in $darwin_filelist; do
+ darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
+ $LIPO -create -output "$darwin_file" $darwin_files
+ done # $darwin_filelist
+ $RM -rf unfat-$$
+ cd "$darwin_orig_dir"
+ else
+ cd $darwin_orig_dir
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ fi # $darwin_arches
+ } # !$opt_dry_run
+ ;;
+ *)
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ ;;
+ esac
+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
+ done
+
+ func_extract_archives_result=$my_oldobjs
+}
+
+
+# func_emit_wrapper [arg=no]
+#
+# Emit a libtool wrapper script on stdout.
+# Don't directly open a file because we may want to
+# incorporate the script contents within a cygwin/mingw
+# wrapper executable. Must ONLY be called from within
+# func_mode_link because it depends on a number of variables
+# set therein.
+#
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
+# variable will take. If 'yes', then the emitted script
+# will assume that the directory where it is stored is
+# the $objdir directory. This is a cygwin/mingw-specific
+# behavior.
+func_emit_wrapper ()
+{
+ func_emit_wrapper_arg1=${1-no}
+
+ $ECHO "\
+#! $SHELL
+
+# $output - temporary wrapper script for $objdir/$outputname
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# The $output program cannot be directly executed until all the libtool
+# libraries that it depends on are installed.
+#
+# This wrapper script should never be moved out of the build directory.
+# If it is, it will not operate correctly.
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+sed_quote_subst='$sed_quote_subst'
+
+# Be Bourne compatible
+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
+fi
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+relink_command=\"$relink_command\"
+
+# This environment variable determines our operation mode.
+if test \"\$libtool_install_magic\" = \"$magic\"; then
+ # install mode needs the following variables:
+ generated_by_libtool_version='$macro_version'
+ notinst_deplibs='$notinst_deplibs'
+else
+ # When we are sourced in execute mode, \$file and \$ECHO are already set.
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ file=\"\$0\""
+
+ qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
+ $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+ ECHO=\"$qECHO\"
+ fi
+
+# Very basic option parsing. These options are (a) specific to
+# the libtool wrapper, (b) are identical between the wrapper
+# /script/ and the wrapper /executable/ that is used only on
+# windows platforms, and (c) all begin with the string "--lt-"
+# (application programs are unlikely to have options that match
+# this pattern).
+#
+# There are only two supported options: --lt-debug and
+# --lt-dump-script. There is, deliberately, no --lt-help.
+#
+# The first argument to this parsing function should be the
+# script's $0 value, followed by "$@".
+lt_option_debug=
+func_parse_lt_options ()
+{
+ lt_script_arg0=\$0
+ shift
+ for lt_opt
+ do
+ case \"\$lt_opt\" in
+ --lt-debug) lt_option_debug=1 ;;
+ --lt-dump-script)
+ lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
+ test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
+ lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
+ cat \"\$lt_dump_D/\$lt_dump_F\"
+ exit 0
+ ;;
+ --lt-*)
+ \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+
+ # Print the debug banner immediately:
+ if test -n \"\$lt_option_debug\"; then
+ echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
+ fi
+}
+
+# Used when --lt-debug. Prints its arguments to stdout
+# (redirection is the responsibility of the caller)
+func_lt_dump_args ()
+{
+ lt_dump_args_N=1;
+ for lt_arg
+ do
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
+ lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
+ done
+}
+
+# Core function for launching the target application
+func_exec_program_core ()
+{
+"
+ case $host in
+ # Backslashes separate directories on plain windows
+ *-*-mingw | *-*-os2* | *-cegcc*)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
+"
+ ;;
+
+ *)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir/\$program\" \${1+\"\$@\"}
+"
+ ;;
+ esac
+ $ECHO "\
+ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
+ exit 1
+}
+
+# A function to encapsulate launching the target application
+# Strips options in the --lt-* namespace from \$@ and
+# launches target application with the remaining arguments.
+func_exec_program ()
+{
+ case \" \$* \" in
+ *\\ --lt-*)
+ for lt_wr_arg
+ do
+ case \$lt_wr_arg in
+ --lt-*) ;;
+ *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+ esac
+ shift
+ done ;;
+ esac
+ func_exec_program_core \${1+\"\$@\"}
+}
+
+ # Parse options
+ func_parse_lt_options \"\$0\" \${1+\"\$@\"}
+
+ # Find the directory that this script lives in.
+ thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
+ test \"x\$thisdir\" = \"x\$file\" && thisdir=.
+
+ # Follow symbolic links until we get to the real thisdir.
+ file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
+ while test -n \"\$file\"; do
+ destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
+
+ # If there was a directory component, then change thisdir.
+ if test \"x\$destdir\" != \"x\$file\"; then
+ case \"\$destdir\" in
+ [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
+ *) thisdir=\"\$thisdir/\$destdir\" ;;
+ esac
+ fi
+
+ file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+ file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
+ done
+
+ # Usually 'no', except on cygwin/mingw when embedded into
+ # the cwrapper.
+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
+ if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
+ # special case for '.'
+ if test \"\$thisdir\" = \".\"; then
+ thisdir=\`pwd\`
+ fi
+ # remove .libs from thisdir
+ case \"\$thisdir\" in
+ *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
+ $objdir ) thisdir=. ;;
+ esac
+ fi
+
+ # Try to get the absolute directory name.
+ absdir=\`cd \"\$thisdir\" && pwd\`
+ test -n \"\$absdir\" && thisdir=\"\$absdir\"
+"
+
+ if test yes = "$fast_install"; then
+ $ECHO "\
+ program=lt-'$outputname'$exeext
+ progdir=\"\$thisdir/$objdir\"
+
+ if test ! -f \"\$progdir/\$program\" ||
+ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
+ test \"X\$file\" != \"X\$progdir/\$program\"; }; then
+
+ file=\"\$\$-\$program\"
+
+ if test ! -d \"\$progdir\"; then
+ $MKDIR \"\$progdir\"
+ else
+ $RM \"\$progdir/\$file\"
+ fi"
+
+ $ECHO "\
+
+ # relink executable if necessary
+ if test -n \"\$relink_command\"; then
+ if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+ else
+ \$ECHO \"\$relink_command_output\" >&2
+ $RM \"\$progdir/\$file\"
+ exit 1
+ fi
+ fi
+
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
+ { $RM \"\$progdir/\$program\";
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
+ $RM \"\$progdir/\$file\"
+ fi"
+ else
+ $ECHO "\
+ program='$outputname'
+ progdir=\"\$thisdir/$objdir\"
+"
+ fi
+
+ $ECHO "\
+
+ if test -f \"\$progdir/\$program\"; then"
+
+ # fixup the dll searchpath if we need to.
+ #
+ # Fix the DLL searchpath if we need to. Do this before prepending
+ # to shlibpath, because on Windows, both are PATH and uninstalled
+ # libraries must come first.
+ if test -n "$dllsearchpath"; then
+ $ECHO "\
+ # Add the dll search path components to the executable PATH
+ PATH=$dllsearchpath:\$PATH
+"
+ fi
+
+ # Export our shlibpath_var if we have one.
+ if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ $ECHO "\
+ # Add our own library path to $shlibpath_var
+ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
+
+ # Some systems cannot cope with colon-terminated $shlibpath_var
+ # The second colon is a workaround for a bug in BeOS R4 sed
+ $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
+
+ export $shlibpath_var
+"
+ fi
+
+ $ECHO "\
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ # Run the actual program with our arguments.
+ func_exec_program \${1+\"\$@\"}
+ fi
+ else
+ # The program doesn't exist.
+ \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
+ \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
+ \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+ exit 1
+ fi
+fi\
+"
+}
+
+
+# func_emit_cwrapperexe_src
+# emit the source code for a wrapper executable on stdout
+# Must ONLY be called from within func_mode_link because
+# it depends on a number of variable set therein.
+func_emit_cwrapperexe_src ()
+{
+ cat <<EOF
+
+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
+ Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+
+ The $output program cannot be directly executed until all the libtool
+ libraries that it depends on are installed.
+
+ This wrapper executable should never be moved out of the build directory.
+ If it is, it will not operate correctly.
+*/
+EOF
+ cat <<"EOF"
+#ifdef _MSC_VER
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
+#include <stdio.h>
+#include <stdlib.h>
+#ifdef _MSC_VER
+# include <direct.h>
+# include <process.h>
+# include <io.h>
+#else
+# include <unistd.h>
+# include <stdint.h>
+# ifdef __CYGWIN__
+# include <io.h>
+# endif
+#endif
+#include <malloc.h>
+#include <stdarg.h>
+#include <assert.h>
+#include <string.h>
+#include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <sys/stat.h>
+
+#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
+
+/* declarations of non-ANSI functions */
+#if defined __MINGW32__
+# ifdef __STRICT_ANSI__
+int _putenv (const char *);
+# endif
+#elif defined __CYGWIN__
+# ifdef __STRICT_ANSI__
+char *realpath (const char *, char *);
+int putenv (char *);
+int setenv (const char *, const char *, int);
+# endif
+/* #elif defined other_platform || defined ... */
+#endif
+
+/* portability defines, excluding path handling macros */
+#if defined _MSC_VER
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+# define S_IXUSR _S_IEXEC
+#elif defined __MINGW32__
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+#elif defined __CYGWIN__
+# define HAVE_SETENV
+# define FOPEN_WB "wb"
+/* #elif defined other platforms ... */
+#endif
+
+#if defined PATH_MAX
+# define LT_PATHMAX PATH_MAX
+#elif defined MAXPATHLEN
+# define LT_PATHMAX MAXPATHLEN
+#else
+# define LT_PATHMAX 1024
+#endif
+
+#ifndef S_IXOTH
+# define S_IXOTH 0
+#endif
+#ifndef S_IXGRP
+# define S_IXGRP 0
+#endif
+
+/* path handling portability macros */
+#ifndef DIR_SEPARATOR
+# define DIR_SEPARATOR '/'
+# define PATH_SEPARATOR ':'
+#endif
+
+#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
+ defined __OS2__
+# define HAVE_DOS_BASED_FILE_SYSTEM
+# define FOPEN_WB "wb"
+# ifndef DIR_SEPARATOR_2
+# define DIR_SEPARATOR_2 '\\'
+# endif
+# ifndef PATH_SEPARATOR_2
+# define PATH_SEPARATOR_2 ';'
+# endif
+#endif
+
+#ifndef DIR_SEPARATOR_2
+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
+#else /* DIR_SEPARATOR_2 */
+# define IS_DIR_SEPARATOR(ch) \
+ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
+#endif /* DIR_SEPARATOR_2 */
+
+#ifndef PATH_SEPARATOR_2
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
+#else /* PATH_SEPARATOR_2 */
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
+#endif /* PATH_SEPARATOR_2 */
+
+#ifndef FOPEN_WB
+# define FOPEN_WB "w"
+#endif
+#ifndef _O_BINARY
+# define _O_BINARY 0
+#endif
+
+#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
+#define XFREE(stale) do { \
+ if (stale) { free (stale); stale = 0; } \
+} while (0)
+
+#if defined LT_DEBUGWRAPPER
+static int lt_debug = 1;
+#else
+static int lt_debug = 0;
+#endif
+
+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
+
+void *xmalloc (size_t num);
+char *xstrdup (const char *string);
+const char *base_name (const char *name);
+char *find_executable (const char *wrapper);
+char *chase_symlinks (const char *pathspec);
+int make_executable (const char *path);
+int check_executable (const char *path);
+char *strendzap (char *str, const char *pat);
+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
+void lt_fatal (const char *file, int line, const char *message, ...);
+static const char *nonnull (const char *s);
+static const char *nonempty (const char *s);
+void lt_setenv (const char *name, const char *value);
+char *lt_extend_str (const char *orig_value, const char *add, int to_end);
+void lt_update_exe_path (const char *name, const char *value);
+void lt_update_lib_path (const char *name, const char *value);
+char **prepare_spawn (char **argv);
+void lt_dump_script (FILE *f);
+EOF
+
+ cat <<EOF
+#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
+# define externally_visible volatile
+#else
+# define externally_visible __attribute__((externally_visible)) volatile
+#endif
+externally_visible const char * MAGIC_EXE = "$magic_exe";
+const char * LIB_PATH_VARNAME = "$shlibpath_var";
+EOF
+
+ if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ func_to_host_path "$temp_rpath"
+ cat <<EOF
+const char * LIB_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * LIB_PATH_VALUE = "";
+EOF
+ fi
+
+ if test -n "$dllsearchpath"; then
+ func_to_host_path "$dllsearchpath:"
+ cat <<EOF
+const char * EXE_PATH_VARNAME = "PATH";
+const char * EXE_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * EXE_PATH_VARNAME = "";
+const char * EXE_PATH_VALUE = "";
+EOF
+ fi
+
+ if test yes = "$fast_install"; then
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
+EOF
+ else
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
+EOF
+ fi
+
+
+ cat <<"EOF"
+
+#define LTWRAPPER_OPTION_PREFIX "--lt-"
+
+static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
+static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
+static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
+
+int
+main (int argc, char *argv[])
+{
+ char **newargz;
+ int newargc;
+ char *tmp_pathspec;
+ char *actual_cwrapper_path;
+ char *actual_cwrapper_name;
+ char *target_name;
+ char *lt_argv_zero;
+ int rval = 127;
+
+ int i;
+
+ program_name = (char *) xstrdup (base_name (argv[0]));
+ newargz = XMALLOC (char *, (size_t) argc + 1);
+
+ /* very simple arg parsing; don't want to rely on getopt
+ * also, copy all non cwrapper options to newargz, except
+ * argz[0], which is handled differently
+ */
+ newargc=0;
+ for (i = 1; i < argc; i++)
+ {
+ if (STREQ (argv[i], dumpscript_opt))
+ {
+EOF
+ case $host in
+ *mingw* | *cygwin* )
+ # make stdout use "unix" line endings
+ echo " setmode(1,_O_BINARY);"
+ ;;
+ esac
+
+ cat <<"EOF"
+ lt_dump_script (stdout);
+ return 0;
+ }
+ if (STREQ (argv[i], debug_opt))
+ {
+ lt_debug = 1;
+ continue;
+ }
+ if (STREQ (argv[i], ltwrapper_option_prefix))
+ {
+ /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
+ namespace, but it is not one of the ones we know about and
+ have already dealt with, above (inluding dump-script), then
+ report an error. Otherwise, targets might begin to believe
+ they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
+ namespace. The first time any user complains about this, we'll
+ need to make LTWRAPPER_OPTION_PREFIX a configure-time option
+ or a configure.ac-settable value.
+ */
+ lt_fatal (__FILE__, __LINE__,
+ "unrecognized %s option: '%s'",
+ ltwrapper_option_prefix, argv[i]);
+ }
+ /* otherwise ... */
+ newargz[++newargc] = xstrdup (argv[i]);
+ }
+ newargz[++newargc] = NULL;
+
+EOF
+ cat <<EOF
+ /* The GNU banner must be the first non-error debug message */
+ lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
+EOF
+ cat <<"EOF"
+ lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
+
+ tmp_pathspec = find_executable (argv[0]);
+ if (tmp_pathspec == NULL)
+ lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (before symlink chase) at: %s\n",
+ tmp_pathspec);
+
+ actual_cwrapper_path = chase_symlinks (tmp_pathspec);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (after symlink chase) at: %s\n",
+ actual_cwrapper_path);
+ XFREE (tmp_pathspec);
+
+ actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
+ strendzap (actual_cwrapper_path, actual_cwrapper_name);
+
+ /* wrapper name transforms */
+ strendzap (actual_cwrapper_name, ".exe");
+ tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
+ XFREE (actual_cwrapper_name);
+ actual_cwrapper_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ /* target_name transforms -- use actual target program name; might have lt- prefix */
+ target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
+ strendzap (target_name, ".exe");
+ tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
+ XFREE (target_name);
+ target_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) libtool target name: %s\n",
+ target_name);
+EOF
+
+ cat <<EOF
+ newargz[0] =
+ XMALLOC (char, (strlen (actual_cwrapper_path) +
+ strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
+ strcpy (newargz[0], actual_cwrapper_path);
+ strcat (newargz[0], "$objdir");
+ strcat (newargz[0], "/");
+EOF
+
+ cat <<"EOF"
+ /* stop here, and copy so we don't have to do this twice */
+ tmp_pathspec = xstrdup (newargz[0]);
+
+ /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
+ strcat (newargz[0], actual_cwrapper_name);
+
+ /* DO want the lt- prefix here if it exists, so use target_name */
+ lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
+ XFREE (tmp_pathspec);
+ tmp_pathspec = NULL;
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ {
+ char* p;
+ while ((p = strchr (newargz[0], '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ while ((p = strchr (lt_argv_zero, '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ }
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+ XFREE (target_name);
+ XFREE (actual_cwrapper_path);
+ XFREE (actual_cwrapper_name);
+
+ lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
+ lt_setenv ("DUALCASE", "1"); /* for MSK sh */
+ /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
+ be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+ because on Windows, both *_VARNAMEs are PATH but uninstalled
+ libraries must come first. */
+ lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+ lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+
+ lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
+ nonnull (lt_argv_zero));
+ for (i = 0; i < newargc; i++)
+ {
+ lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
+ i, nonnull (newargz[i]));
+ }
+
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ /* execv doesn't actually work on mingw as expected on unix */
+ newargz = prepare_spawn (newargz);
+ rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
+ if (rval == -1)
+ {
+ /* failed to start process */
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) failed to launch target \"%s\": %s\n",
+ lt_argv_zero, nonnull (strerror (errno)));
+ return 127;
+ }
+ return rval;
+EOF
+ ;;
+ *)
+ cat <<"EOF"
+ execv (lt_argv_zero, newargz);
+ return rval; /* =127, but avoids unused variable warning */
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+}
+
+void *
+xmalloc (size_t num)
+{
+ void *p = (void *) malloc (num);
+ if (!p)
+ lt_fatal (__FILE__, __LINE__, "memory exhausted");
+
+ return p;
+}
+
+char *
+xstrdup (const char *string)
+{
+ return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
+ string) : NULL;
+}
+
+const char *
+base_name (const char *name)
+{
+ const char *base;
+
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ /* Skip over the disk name in MSDOS pathnames. */
+ if (isalpha ((unsigned char) name[0]) && name[1] == ':')
+ name += 2;
+#endif
+
+ for (base = name; *name; name++)
+ if (IS_DIR_SEPARATOR (*name))
+ base = name + 1;
+ return base;
+}
+
+int
+check_executable (const char *path)
+{
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if ((stat (path, &st) >= 0)
+ && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
+ return 1;
+ else
+ return 0;
+}
+
+int
+make_executable (const char *path)
+{
+ int rval = 0;
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if (stat (path, &st) >= 0)
+ {
+ rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
+ }
+ return rval;
+}
+
+/* Searches for the full path of the wrapper. Returns
+ newly allocated full path name if found, NULL otherwise
+ Does not chase symlinks, even on platforms that support them.
+*/
+char *
+find_executable (const char *wrapper)
+{
+ int has_slash = 0;
+ const char *p;
+ const char *p_next;
+ /* static buffer for getcwd */
+ char tmp[LT_PATHMAX + 1];
+ size_t tmp_len;
+ char *concat_name;
+
+ lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
+ nonempty (wrapper));
+
+ if ((wrapper == NULL) || (*wrapper == '\0'))
+ return NULL;
+
+ /* Absolute path? */
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ else
+ {
+#endif
+ if (IS_DIR_SEPARATOR (wrapper[0]))
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ }
+#endif
+
+ for (p = wrapper; *p; p++)
+ if (*p == '/')
+ {
+ has_slash = 1;
+ break;
+ }
+ if (!has_slash)
+ {
+ /* no slashes; search PATH */
+ const char *path = getenv ("PATH");
+ if (path != NULL)
+ {
+ for (p = path; *p; p = p_next)
+ {
+ const char *q;
+ size_t p_len;
+ for (q = p; *q; q++)
+ if (IS_PATH_SEPARATOR (*q))
+ break;
+ p_len = (size_t) (q - p);
+ p_next = (*q == '\0' ? q : q + 1);
+ if (p_len == 0)
+ {
+ /* empty path: current directory */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name =
+ XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+ }
+ else
+ {
+ concat_name =
+ XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, p, p_len);
+ concat_name[p_len] = '/';
+ strcpy (concat_name + p_len + 1, wrapper);
+ }
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ }
+ /* not found in PATH; assume curdir */
+ }
+ /* Relative path | not found in path: prepend cwd */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ return NULL;
+}
+
+char *
+chase_symlinks (const char *pathspec)
+{
+#ifndef S_ISLNK
+ return xstrdup (pathspec);
+#else
+ char buf[LT_PATHMAX];
+ struct stat s;
+ char *tmp_pathspec = xstrdup (pathspec);
+ char *p;
+ int has_symlinks = 0;
+ while (strlen (tmp_pathspec) && !has_symlinks)
+ {
+ lt_debugprintf (__FILE__, __LINE__,
+ "checking path component for symlinks: %s\n",
+ tmp_pathspec);
+ if (lstat (tmp_pathspec, &s) == 0)
+ {
+ if (S_ISLNK (s.st_mode) != 0)
+ {
+ has_symlinks = 1;
+ break;
+ }
+
+ /* search backwards for last DIR_SEPARATOR */
+ p = tmp_pathspec + strlen (tmp_pathspec) - 1;
+ while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ p--;
+ if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ {
+ /* no more DIR_SEPARATORS left */
+ break;
+ }
+ *p = '\0';
+ }
+ else
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "error accessing file \"%s\": %s",
+ tmp_pathspec, nonnull (strerror (errno)));
+ }
+ }
+ XFREE (tmp_pathspec);
+
+ if (!has_symlinks)
+ {
+ return xstrdup (pathspec);
+ }
+
+ tmp_pathspec = realpath (pathspec, buf);
+ if (tmp_pathspec == 0)
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "could not follow symlinks for %s", pathspec);
+ }
+ return xstrdup (tmp_pathspec);
+#endif
+}
+
+char *
+strendzap (char *str, const char *pat)
+{
+ size_t len, patlen;
+
+ assert (str != NULL);
+ assert (pat != NULL);
+
+ len = strlen (str);
+ patlen = strlen (pat);
+
+ if (patlen <= len)
+ {
+ str += len - patlen;
+ if (STREQ (str, pat))
+ *str = '\0';
+ }
+ return str;
+}
+
+void
+lt_debugprintf (const char *file, int line, const char *fmt, ...)
+{
+ va_list args;
+ if (lt_debug)
+ {
+ (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
+ va_start (args, fmt);
+ (void) vfprintf (stderr, fmt, args);
+ va_end (args);
+ }
+}
+
+static void
+lt_error_core (int exit_status, const char *file,
+ int line, const char *mode,
+ const char *message, va_list ap)
+{
+ fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
+ vfprintf (stderr, message, ap);
+ fprintf (stderr, ".\n");
+
+ if (exit_status >= 0)
+ exit (exit_status);
+}
+
+void
+lt_fatal (const char *file, int line, const char *message, ...)
+{
+ va_list ap;
+ va_start (ap, message);
+ lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
+ va_end (ap);
+}
+
+static const char *
+nonnull (const char *s)
+{
+ return s ? s : "(null)";
+}
+
+static const char *
+nonempty (const char *s)
+{
+ return (s && !*s) ? "(empty)" : nonnull (s);
+}
+
+void
+lt_setenv (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_setenv) setting '%s' to '%s'\n",
+ nonnull (name), nonnull (value));
+ {
+#ifdef HAVE_SETENV
+ /* always make a copy, for consistency with !HAVE_SETENV */
+ char *str = xstrdup (value);
+ setenv (name, str, 1);
+#else
+ size_t len = strlen (name) + 1 + strlen (value) + 1;
+ char *str = XMALLOC (char, len);
+ sprintf (str, "%s=%s", name, value);
+ if (putenv (str) != EXIT_SUCCESS)
+ {
+ XFREE (str);
+ }
+#endif
+ }
+}
+
+char *
+lt_extend_str (const char *orig_value, const char *add, int to_end)
+{
+ char *new_value;
+ if (orig_value && *orig_value)
+ {
+ size_t orig_value_len = strlen (orig_value);
+ size_t add_len = strlen (add);
+ new_value = XMALLOC (char, add_len + orig_value_len + 1);
+ if (to_end)
+ {
+ strcpy (new_value, orig_value);
+ strcpy (new_value + orig_value_len, add);
+ }
+ else
+ {
+ strcpy (new_value, add);
+ strcpy (new_value + add_len, orig_value);
+ }
+ }
+ else
+ {
+ new_value = xstrdup (add);
+ }
+ return new_value;
+}
+
+void
+lt_update_exe_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ /* some systems can't cope with a ':'-terminated path #' */
+ size_t len = strlen (new_value);
+ while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
+ {
+ new_value[--len] = '\0';
+ }
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+void
+lt_update_lib_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+EOF
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+ Note that spawn() does not by itself call the command interpreter
+ (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+ ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+ GetVersionEx(&v);
+ v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+ }) ? "cmd.exe" : "command.com").
+ Instead it simply concatenates the arguments, separated by ' ', and calls
+ CreateProcess(). We must quote the arguments since Win32 CreateProcess()
+ interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+ special way:
+ - Space and tab are interpreted as delimiters. They are not treated as
+ delimiters if they are surrounded by double quotes: "...".
+ - Unescaped double quotes are removed from the input. Their only effect is
+ that within double quotes, space and tab are treated like normal
+ characters.
+ - Backslashes not followed by double quotes are not special.
+ - But 2*n+1 backslashes followed by a double quote become
+ n backslashes followed by a double quote (n >= 0):
+ \" -> "
+ \\\" -> \"
+ \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+ size_t argc;
+ char **new_argv;
+ size_t i;
+
+ /* Count number of arguments. */
+ for (argc = 0; argv[argc] != NULL; argc++)
+ ;
+
+ /* Allocate new argument vector. */
+ new_argv = XMALLOC (char *, argc + 1);
+
+ /* Put quoted arguments into the new argument vector. */
+ for (i = 0; i < argc; i++)
+ {
+ const char *string = argv[i];
+
+ if (string[0] == '\0')
+ new_argv[i] = xstrdup ("\"\"");
+ else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+ {
+ int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+ size_t length;
+ unsigned int backslashes;
+ const char *s;
+ char *quoted_string;
+ char *p;
+
+ length = 0;
+ backslashes = 0;
+ if (quote_around)
+ length++;
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ length += backslashes + 1;
+ length++;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ length += backslashes + 1;
+
+ quoted_string = XMALLOC (char, length + 1);
+
+ p = quoted_string;
+ backslashes = 0;
+ if (quote_around)
+ *p++ = '"';
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ {
+ unsigned int j;
+ for (j = backslashes + 1; j > 0; j--)
+ *p++ = '\\';
+ }
+ *p++ = c;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ {
+ unsigned int j;
+ for (j = backslashes; j > 0; j--)
+ *p++ = '\\';
+ *p++ = '"';
+ }
+ *p = '\0';
+
+ new_argv[i] = quoted_string;
+ }
+ else
+ new_argv[i] = (char *) string;
+ }
+ new_argv[argc] = NULL;
+
+ return new_argv;
+}
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+void lt_dump_script (FILE* f)
+{
+EOF
+ func_emit_wrapper yes |
+ $SED -n -e '
+s/^\(.\{79\}\)\(..*\)/\1\
+\2/
+h
+s/\([\\"]\)/\\\1/g
+s/$/\\n/
+s/\([^\n]*\).*/ fputs ("\1", f);/p
+g
+D'
+ cat <<"EOF"
+}
+EOF
+}
+# end: func_emit_cwrapperexe_src
+
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+ $debug_cmd
+
+ case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+ *import*) : ;;
+ *) false ;;
+ esac
+}
+
+# func_suncc_cstd_abi
+# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
+# Several compiler flags select an ABI that is incompatible with the
+# Cstd library. Avoid specifying it if any are in CXXFLAGS.
+func_suncc_cstd_abi ()
+{
+ $debug_cmd
+
+ case " $compile_command " in
+ *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
+ suncc_use_cstd_abi=no
+ ;;
+ *)
+ suncc_use_cstd_abi=yes
+ ;;
+ esac
+}
+
+# func_mode_link arg...
+func_mode_link ()
+{
+ $debug_cmd
+
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ # It is impossible to link a dll without this setting, and
+ # we shouldn't force the makefile maintainer to figure out
+ # what system we are compiling for in order to pass an extra
+ # flag for every libtool invocation.
+ # allow_undefined=no
+
+ # FIXME: Unfortunately, there are problems with the above when trying
+ # to make a dll that has undefined symbols, in which case not
+ # even a static library is built. For now, we need to specify
+ # -no-undefined on the libtool link line when we can be certain
+ # that all symbols are satisfied, otherwise we get a static library.
+ allow_undefined=yes
+ ;;
+ *)
+ allow_undefined=yes
+ ;;
+ esac
+ libtool_args=$nonopt
+ base_compile="$nonopt $@"
+ compile_command=$nonopt
+ finalize_command=$nonopt
+
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
+ lib_search_path=`pwd`
+ inst_prefix_dir=
+ new_inherited_linker_flags=
+
+ avoid_version=no
+ bindir=
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ os2dllname=
+ non_pic_objects=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=false
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ weak_libs=
+ single_module=$wl-single_module
+ func_infer_tag $base_compile
+
+ # We need to know -static, to get the right output filenames.
+ for arg
+ do
+ case $arg in
+ -shared)
+ test yes != "$build_libtool_libs" \
+ && func_fatal_configuration "cannot build a shared library"
+ build_old_libs=no
+ break
+ ;;
+ -all-static | -static | -static-libtool-libs)
+ case $arg in
+ -all-static)
+ if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
+ func_warning "complete static linking is impossible in this configuration"
+ fi
+ if test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ -static)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=built
+ ;;
+ -static-libtool-libs)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ esac
+ build_libtool_libs=no
+ build_old_libs=yes
+ break
+ ;;
+ esac
+ done
+
+ # See if our shared archives depend on static archives.
+ test -n "$old_archive_from_new_cmds" && build_old_libs=yes
+
+ # Go through the arguments, transforming them on the way.
+ while test "$#" -gt 0; do
+ arg=$1
+ shift
+ func_quote_for_eval "$arg"
+ qarg=$func_quote_for_eval_unquoted_result
+ func_append libtool_args " $func_quote_for_eval_result"
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ output)
+ func_append compile_command " @OUTPUT@"
+ func_append finalize_command " @OUTPUT@"
+ ;;
+ esac
+
+ case $prev in
+ bindir)
+ bindir=$arg
+ prev=
+ continue
+ ;;
+ dlfiles|dlprefiles)
+ $preload || {
+ # Add the symbol object into the linking commands.
+ func_append compile_command " @SYMFILE@"
+ func_append finalize_command " @SYMFILE@"
+ preload=:
+ }
+ case $arg in
+ *.la | *.lo) ;; # We handle these cases below.
+ force)
+ if test no = "$dlself"; then
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ self)
+ if test dlprefiles = "$prev"; then
+ dlself=yes
+ elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
+ dlself=yes
+ else
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ *)
+ if test dlfiles = "$prev"; then
+ func_append dlfiles " $arg"
+ else
+ func_append dlprefiles " $arg"
+ fi
+ prev=
+ continue
+ ;;
+ esac
+ ;;
+ expsyms)
+ export_symbols=$arg
+ test -f "$arg" \
+ || func_fatal_error "symbol file '$arg' does not exist"
+ prev=
+ continue
+ ;;
+ expsyms_regex)
+ export_symbols_regex=$arg
+ prev=
+ continue
+ ;;
+ framework)
+ case $host in
+ *-*-darwin*)
+ case "$deplibs " in
+ *" $qarg.ltframework "*) ;;
+ *) func_append deplibs " $qarg.ltframework" # this is fixed later
+ ;;
+ esac
+ ;;
+ esac
+ prev=
+ continue
+ ;;
+ inst_prefix)
+ inst_prefix_dir=$arg
+ prev=
+ continue
+ ;;
+ mllvm)
+ # Clang does not use LLVM to link, so we can simply discard any
+ # '-mllvm $arg' options when doing the link step.
+ prev=
+ continue
+ ;;
+ objectlist)
+ if test -f "$arg"; then
+ save_arg=$arg
+ moreargs=
+ for fil in `cat "$save_arg"`
+ do
+# func_append moreargs " $fil"
+ arg=$fil
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test none = "$pic_object" &&
+ test none = "$non_pic_object"; then
+ func_fatal_error "cannot find name of object for '$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ if test none != "$pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ pic_object=$xdir$pic_object
+
+ if test dlfiles = "$prev"; then
+ if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test dlprefiles = "$prev"; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg=$pic_object
+ fi
+
+ # Non-PIC object.
+ if test none != "$non_pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object=$xdir$non_pic_object
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test none = "$pic_object"; then
+ arg=$non_pic_object
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object=$pic_object
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "'$arg' is not a valid libtool object"
+ fi
+ fi
+ done
+ else
+ func_fatal_error "link input file '$arg' does not exist"
+ fi
+ arg=$save_arg
+ prev=
+ continue
+ ;;
+ os2dllname)
+ os2dllname=$arg
+ prev=
+ continue
+ ;;
+ precious_regex)
+ precious_files_regex=$arg
+ prev=
+ continue
+ ;;
+ release)
+ release=-$arg
+ prev=
+ continue
+ ;;
+ rpath | xrpath)
+ # We need an absolute path.
+ case $arg in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ if test rpath = "$prev"; then
+ case "$rpath " in
+ *" $arg "*) ;;
+ *) func_append rpath " $arg" ;;
+ esac
+ else
+ case "$xrpath " in
+ *" $arg "*) ;;
+ *) func_append xrpath " $arg" ;;
+ esac
+ fi
+ prev=
+ continue
+ ;;
+ shrext)
+ shrext_cmds=$arg
+ prev=
+ continue
+ ;;
+ weak)
+ func_append weak_libs " $arg"
+ prev=
+ continue
+ ;;
+ xcclinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xcompiler)
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xlinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $wl$qarg"
+ prev=
+ func_append compile_command " $wl$qarg"
+ func_append finalize_command " $wl$qarg"
+ continue
+ ;;
+ *)
+ eval "$prev=\"\$arg\""
+ prev=
+ continue
+ ;;
+ esac
+ fi # test -n "$prev"
+
+ prevarg=$arg
+
+ case $arg in
+ -all-static)
+ if test -n "$link_static_flag"; then
+ # See comment for -static flag below, for more details.
+ func_append compile_command " $link_static_flag"
+ func_append finalize_command " $link_static_flag"
+ fi
+ continue
+ ;;
+
+ -allow-undefined)
+ # FIXME: remove this flag sometime in the future.
+ func_fatal_error "'-allow-undefined' must not be used because it is the default"
+ ;;
+
+ -avoid-version)
+ avoid_version=yes
+ continue
+ ;;
+
+ -bindir)
+ prev=bindir
+ continue
+ ;;
+
+ -dlopen)
+ prev=dlfiles
+ continue
+ ;;
+
+ -dlpreopen)
+ prev=dlprefiles
+ continue
+ ;;
+
+ -export-dynamic)
+ export_dynamic=yes
+ continue
+ ;;
+
+ -export-symbols | -export-symbols-regex)
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ func_fatal_error "more than one -exported-symbols argument is not allowed"
+ fi
+ if test X-export-symbols = "X$arg"; then
+ prev=expsyms
+ else
+ prev=expsyms_regex
+ fi
+ continue
+ ;;
+
+ -framework)
+ prev=framework
+ continue
+ ;;
+
+ -inst-prefix-dir)
+ prev=inst_prefix
+ continue
+ ;;
+
+ # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
+ # so, if we see these flags be careful not to treat them like -L
+ -L[A-Z][A-Z]*:*)
+ case $with_gcc/$host in
+ no/*-*-irix* | /*-*-irix*)
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ ;;
+ esac
+ continue
+ ;;
+
+ -L*)
+ func_stripname "-L" '' "$arg"
+ if test -z "$func_stripname_result"; then
+ if test "$#" -gt 0; then
+ func_fatal_error "require no space between '-L' and '$1'"
+ else
+ func_fatal_error "need path for '-L' option"
+ fi
+ fi
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ test -z "$absdir" && \
+ func_fatal_error "cannot determine absolute directory name of '$dir'"
+ dir=$absdir
+ ;;
+ esac
+ case "$deplibs " in
+ *" -L$dir "* | *" $arg "*)
+ # Will only happen for absolute or sysroot arguments
+ ;;
+ *)
+ # Preserve sysroot, but never include relative directories
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
+ *) func_append deplibs " -L$dir" ;;
+ esac
+ func_append lib_search_path " $dir"
+ ;;
+ esac
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$dir:"*) ;;
+ ::) dllsearchpath=$dir;;
+ *) func_append dllsearchpath ":$dir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ continue
+ ;;
+
+ -l*)
+ if test X-lc = "X$arg" || test X-lm = "X$arg"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # These systems don't actually have a C or math library (as such)
+ continue
+ ;;
+ *-*-os2*)
+ # These systems don't actually have a C library (as such)
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
+ # Do not include libc due to us having libc/libc_r.
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C and math libraries are in the System framework
+ func_append deplibs " System.ltframework"
+ continue
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ test X-lc = "X$arg" && continue
+ ;;
+ esac
+ elif test X-lc_r = "X$arg"; then
+ case $host in
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
+ fi
+ func_append deplibs " $arg"
+ continue
+ ;;
+
+ -mllvm)
+ prev=mllvm
+ continue
+ ;;
+
+ -module)
+ module=yes
+ continue
+ ;;
+
+ # Tru64 UNIX uses -model [arg] to determine the layout of C++
+ # classes, name mangling, and exception handling.
+ # Darwin uses the -arch flag to determine output architecture.
+ -model|-arch|-isysroot|--sysroot)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ prev=xcompiler
+ continue
+ ;;
+
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case "$new_inherited_linker_flags " in
+ *" $arg "*) ;;
+ * ) func_append new_inherited_linker_flags " $arg" ;;
+ esac
+ continue
+ ;;
+
+ -multi_module)
+ single_module=$wl-multi_module
+ continue
+ ;;
+
+ -no-fast-install)
+ fast_install=no
+ continue
+ ;;
+
+ -no-install)
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
+ # The PATH hackery in wrapper scripts is required on Windows
+ # and Darwin in order for the loader to find any dlls it needs.
+ func_warning "'-no-install' is ignored for $host"
+ func_warning "assuming '-no-fast-install' instead"
+ fast_install=no
+ ;;
+ *) no_install=yes ;;
+ esac
+ continue
+ ;;
+
+ -no-undefined)
+ allow_undefined=no
+ continue
+ ;;
+
+ -objectlist)
+ prev=objectlist
+ continue
+ ;;
+
+ -os2dllname)
+ prev=os2dllname
+ continue
+ ;;
+
+ -o) prev=output ;;
+
+ -precious-files-regex)
+ prev=precious_regex
+ continue
+ ;;
+
+ -release)
+ prev=release
+ continue
+ ;;
+
+ -rpath)
+ prev=rpath
+ continue
+ ;;
+
+ -R)
+ prev=xrpath
+ continue
+ ;;
+
+ -R*)
+ func_stripname '-R' '' "$arg"
+ dir=$func_stripname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ =*)
+ func_stripname '=' '' "$dir"
+ dir=$lt_sysroot$func_stripname_result
+ ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ continue
+ ;;
+
+ -shared)
+ # The effects of -shared are defined in a previous loop.
+ continue
+ ;;
+
+ -shrext)
+ prev=shrext
+ continue
+ ;;
+
+ -static | -static-libtool-libs)
+ # The effects of -static are defined in a previous loop.
+ # We used to do the same as -all-static on platforms that
+ # didn't have a PIC flag, but the assumption that the effects
+ # would be equivalent was wrong. It would break on at least
+ # Digital Unix and AIX.
+ continue
+ ;;
+
+ -thread-safe)
+ thread_safe=yes
+ continue
+ ;;
+
+ -version-info)
+ prev=vinfo
+ continue
+ ;;
+
+ -version-number)
+ prev=vinfo
+ vinfo_number=yes
+ continue
+ ;;
+
+ -weak)
+ prev=weak
+ continue
+ ;;
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs=$IFS; IFS=,
+ for flag in $args; do
+ IFS=$save_ifs
+ func_quote_for_eval "$flag"
+ func_append arg " $func_quote_for_eval_result"
+ func_append compiler_flags " $func_quote_for_eval_result"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Wl,*)
+ func_stripname '-Wl,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs=$IFS; IFS=,
+ for flag in $args; do
+ IFS=$save_ifs
+ func_quote_for_eval "$flag"
+ func_append arg " $wl$func_quote_for_eval_result"
+ func_append compiler_flags " $wl$func_quote_for_eval_result"
+ func_append linker_flags " $func_quote_for_eval_result"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Xcompiler)
+ prev=xcompiler
+ continue
+ ;;
+
+ -Xlinker)
+ prev=xlinker
+ continue
+ ;;
+
+ -XCClinker)
+ prev=xcclinker
+ continue
+ ;;
+
+ # -msg_* for osf cc
+ -msg_*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+
+ # Flags to be passed through unchanged, with rationale:
+ # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
+ # -r[0-9][0-9]* specify processor for the SGI compiler
+ # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
+ # +DA*, +DD* enable 64-bit mode for the HP compiler
+ # -q* compiler args for the IBM compiler
+ # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
+ # -F/path path to uninstalled frameworks, gcc on darwin
+ # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
+ # -fstack-protector* stack protector flags for GCC
+ # @file GCC response files
+ # -tp=* Portland pgcc target processor selection
+ # --sysroot=* for sysroot support
+ # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ # -stdlib=* select c++ std lib with clang
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ func_append compiler_flags " $arg"
+ continue
+ ;;
+
+ -Z*)
+ if test os2 = "`expr $host : '.*\(os2\)'`"; then
+ # OS/2 uses -Zxxx to specify OS/2-specific options
+ compiler_flags="$compiler_flags $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case $arg in
+ -Zlinker | -Zstack)
+ prev=xcompiler
+ ;;
+ esac
+ continue
+ else
+ # Otherwise treat like 'Some other compiler flag' below
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ fi
+ ;;
+
+ # Some other compiler flag.
+ -* | +*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+
+ *.$objext)
+ # A standard object.
+ func_append objs " $arg"
+ ;;
+
+ *.lo)
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test none = "$pic_object" &&
+ test none = "$non_pic_object"; then
+ func_fatal_error "cannot find name of object for '$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ test none = "$pic_object" || {
+ # Prepend the subdirectory the object is found in.
+ pic_object=$xdir$pic_object
+
+ if test dlfiles = "$prev"; then
+ if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test dlprefiles = "$prev"; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg=$pic_object
+ }
+
+ # Non-PIC object.
+ if test none != "$non_pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object=$xdir$non_pic_object
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test none = "$pic_object"; then
+ arg=$non_pic_object
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object=$pic_object
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "'$arg' is not a valid libtool object"
+ fi
+ fi
+ ;;
+
+ *.$libext)
+ # An archive.
+ func_append deplibs " $arg"
+ func_append old_deplibs " $arg"
+ continue
+ ;;
+
+ *.la)
+ # A libtool-controlled library.
+
+ func_resolve_sysroot "$arg"
+ if test dlfiles = "$prev"; then
+ # This library was specified with -dlopen.
+ func_append dlfiles " $func_resolve_sysroot_result"
+ prev=
+ elif test dlprefiles = "$prev"; then
+ # The library was specified with -dlpreopen.
+ func_append dlprefiles " $func_resolve_sysroot_result"
+ prev=
+ else
+ func_append deplibs " $func_resolve_sysroot_result"
+ fi
+ continue
+ ;;
+
+ # Some other compiler argument.
+ *)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+ esac # arg
+
+ # Now actually substitute the argument into the commands.
+ if test -n "$arg"; then
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+ done # argument parsing loop
+
+ test -n "$prev" && \
+ func_fatal_help "the '$prevarg' option requires an argument"
+
+ if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
+ eval arg=\"$export_dynamic_flag_spec\"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+
+ oldlibs=
+ # calculate the name of the file, without its directory
+ func_basename "$output"
+ outputname=$func_basename_result
+ libobjs_save=$libobjs
+
+ if test -n "$shlibpath_var"; then
+ # get the directories listed in $shlibpath_var
+ eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
+ else
+ shlib_search_path=
+ fi
+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
+
+ # Definition is injected by LT_CONFIG during libtool generation.
+ func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
+
+ func_dirname "$output" "/" ""
+ output_objdir=$func_dirname_result$objdir
+ func_to_tool_file "$output_objdir/"
+ tool_output_objdir=$func_to_tool_file_result
+ # Create the object directory.
+ func_mkdir_p "$output_objdir"
+
+ # Determine the type of output
+ case $output in
+ "")
+ func_fatal_help "you must specify an output file"
+ ;;
+ *.$libext) linkmode=oldlib ;;
+ *.lo | *.$objext) linkmode=obj ;;
+ *.la) linkmode=lib ;;
+ *) linkmode=prog ;; # Anything else should be a program.
+ esac
+
+ specialdeplibs=
+
+ libs=
+ # Find all interdependent deplibs by searching for libraries
+ # that are linked more than once (e.g. -la -lb -la)
+ for deplib in $deplibs; do
+ if $opt_preserve_dup_deps; then
+ case "$libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append libs " $deplib"
+ done
+
+ if test lib = "$linkmode"; then
+ libs="$predeps $libs $compiler_lib_search_path $postdeps"
+
+ # Compute libraries that are listed more than once in $predeps
+ # $postdeps and mark them as special (i.e., whose duplicates are
+ # not to be eliminated).
+ pre_post_deps=
+ if $opt_duplicate_compiler_generated_deps; then
+ for pre_post_dep in $predeps $postdeps; do
+ case "$pre_post_deps " in
+ *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
+ esac
+ func_append pre_post_deps " $pre_post_dep"
+ done
+ fi
+ pre_post_deps=
+ fi
+
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no # whether we're linking any uninstalled libtool libraries
+ notinst_deplibs= # not-installed libtool libraries
+ notinst_path= # paths that contain not-installed libtool libraries
+
+ case $linkmode in
+ lib)
+ passes="conv dlpreopen link"
+ for file in $dlfiles $dlprefiles; do
+ case $file in
+ *.la) ;;
+ *)
+ func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
+ ;;
+ esac
+ done
+ ;;
+ prog)
+ compile_deplibs=
+ finalize_deplibs=
+ alldeplibs=false
+ newdlfiles=
+ newdlprefiles=
+ passes="conv scan dlopen dlpreopen link"
+ ;;
+ *) passes="conv"
+ ;;
+ esac
+
+ for pass in $passes; do
+ # The preopen pass in lib mode reverses $deplibs; put it back here
+ # so that -L comes before libs that need it for instance...
+ if test lib,link = "$linkmode,$pass"; then
+ ## FIXME: Find the place where the list is rebuilt in the wrong
+ ## order, and fix it there properly
+ tmp_deplibs=
+ for deplib in $deplibs; do
+ tmp_deplibs="$deplib $tmp_deplibs"
+ done
+ deplibs=$tmp_deplibs
+ fi
+
+ if test lib,link = "$linkmode,$pass" ||
+ test prog,scan = "$linkmode,$pass"; then
+ libs=$deplibs
+ deplibs=
+ fi
+ if test prog = "$linkmode"; then
+ case $pass in
+ dlopen) libs=$dlfiles ;;
+ dlpreopen) libs=$dlprefiles ;;
+ link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ esac
+ fi
+ if test lib,dlpreopen = "$linkmode,$pass"; then
+ # Collect and forward deplibs of preopened libtool libs
+ for lib in $dlprefiles; do
+ # Ignore non-libtool-libs
+ dependency_libs=
+ func_resolve_sysroot "$lib"
+ case $lib in
+ *.la) func_source "$func_resolve_sysroot_result" ;;
+ esac
+
+ # Collect preopened libtool deplibs, except any this library
+ # has declared as weak libs
+ for deplib in $dependency_libs; do
+ func_basename "$deplib"
+ deplib_base=$func_basename_result
+ case " $weak_libs " in
+ *" $deplib_base "*) ;;
+ *) func_append deplibs " $deplib" ;;
+ esac
+ done
+ done
+ libs=$dlprefiles
+ fi
+ if test dlopen = "$pass"; then
+ # Collect dlpreopened libraries
+ save_deplibs=$deplibs
+ deplibs=
+ fi
+
+ for deplib in $libs; do
+ lib=
+ found=false
+ case $deplib in
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append compiler_flags " $deplib"
+ if test lib = "$linkmode"; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -l*)
+ if test lib != "$linkmode" && test prog != "$linkmode"; then
+ func_warning "'-l' is ignored for archives/objects"
+ continue
+ fi
+ func_stripname '-l' '' "$deplib"
+ name=$func_stripname_result
+ if test lib = "$linkmode"; then
+ searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
+ else
+ searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
+ fi
+ for searchdir in $searchdirs; do
+ for search_ext in .la $std_shrext .so .a; do
+ # Search the libtool library
+ lib=$searchdir/lib$name$search_ext
+ if test -f "$lib"; then
+ if test .la = "$search_ext"; then
+ found=:
+ else
+ found=false
+ fi
+ break 2
+ fi
+ done
+ done
+ if $found; then
+ # deplib is a libtool library
+ # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
+ # We need to do some special things here, and not later.
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $deplib "*)
+ if func_lalib_p "$lib"; then
+ library_names=
+ old_library=
+ func_source "$lib"
+ for l in $old_library $library_names; do
+ ll=$l
+ done
+ if test "X$ll" = "X$old_library"; then # only static version available
+ found=false
+ func_dirname "$lib" "" "."
+ ladir=$func_dirname_result
+ lib=$ladir/$old_library
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ fi
+ ;;
+ *) ;;
+ esac
+ fi
+ else
+ # deplib doesn't seem to be a libtool library
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ ;; # -l
+ *.ltframework)
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ if test lib = "$linkmode"; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -L*)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ test conv = "$pass" && continue
+ newdependency_libs="$deplib $newdependency_libs"
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ prog)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ if test scan = "$pass"; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ *)
+ func_warning "'-L' is ignored for archives/objects"
+ ;;
+ esac # linkmode
+ continue
+ ;; # -L
+ -R*)
+ if test link = "$pass"; then
+ func_stripname '-R' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # Make sure the xrpath contains only unique directories.
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ fi
+ deplibs="$deplib $deplibs"
+ continue
+ ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ lib=$func_resolve_sysroot_result
+ ;;
+ *.$libext)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ case $linkmode in
+ lib)
+ # Linking convenience modules into shared libraries is allowed,
+ # but linking other static libraries is non-portable.
+ case " $dlpreconveniencelibs " in
+ *" $deplib "*) ;;
+ *)
+ valid_a_lib=false
+ case $deplibs_check_method in
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
+ | $EGREP "$match_pattern_regex" > /dev/null; then
+ valid_a_lib=:
+ fi
+ ;;
+ pass_all)
+ valid_a_lib=:
+ ;;
+ esac
+ if $valid_a_lib; then
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the"
+ $ECHO "*** static library $deplib is not portable!"
+ deplibs="$deplib $deplibs"
+ else
+ echo
+ $ECHO "*** Warning: Trying to link with static lib archive $deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because the file extensions .$libext of this argument makes me believe"
+ echo "*** that it is just a static archive that I should not use here."
+ fi
+ ;;
+ esac
+ continue
+ ;;
+ prog)
+ if test link != "$pass"; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ continue
+ ;;
+ esac # linkmode
+ ;; # *.$libext
+ *.lo | *.$objext)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ elif test prog = "$linkmode"; then
+ if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
+ # If there is no dlopen support or we're linking statically,
+ # we need to preload.
+ func_append newdlprefiles " $deplib"
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append newdlfiles " $deplib"
+ fi
+ fi
+ continue
+ ;;
+ %DEPLIBS%)
+ alldeplibs=:
+ continue
+ ;;
+ esac # case $deplib
+
+ $found || test -f "$lib" \
+ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$lib" \
+ || func_fatal_error "'$lib' is not a valid libtool archive"
+
+ func_dirname "$lib" "" "."
+ ladir=$func_dirname_result
+
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ inherited_linker_flags=
+ # If the library was installed with an old release of libtool,
+ # it will not redefine variables installed, or shouldnotlink
+ installed=yes
+ shouldnotlink=no
+ avoidtemprpath=
+
+
+ # Read the .la file
+ func_source "$lib"
+
+ # Convert "-framework foo" to "foo.ltframework"
+ if test -n "$inherited_linker_flags"; then
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
+ for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
+ case " $new_inherited_linker_flags " in
+ *" $tmp_inherited_linker_flag "*) ;;
+ *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
+ esac
+ done
+ fi
+ dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ if test lib,link = "$linkmode,$pass" ||
+ test prog,scan = "$linkmode,$pass" ||
+ { test prog != "$linkmode" && test lib != "$linkmode"; }; then
+ test -n "$dlopen" && func_append dlfiles " $dlopen"
+ test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
+ fi
+
+ if test conv = "$pass"; then
+ # Only check for convenience libraries
+ deplibs="$lib $deplibs"
+ if test -z "$libdir"; then
+ if test -z "$old_library"; then
+ func_fatal_error "cannot find name of link library for '$lib'"
+ fi
+ # It is a libtool convenience library, so add in its objects.
+ func_append convenience " $ladir/$objdir/$old_library"
+ func_append old_convenience " $ladir/$objdir/$old_library"
+ elif test prog != "$linkmode" && test lib != "$linkmode"; then
+ func_fatal_error "'$lib' is not a convenience library"
+ fi
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ deplibs="$deplib $deplibs"
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done
+ continue
+ fi # $pass = conv
+
+
+ # Get the name of the library we link against.
+ linklib=
+ if test -n "$old_library" &&
+ { test yes = "$prefer_static_libs" ||
+ test built,no = "$prefer_static_libs,$installed"; }; then
+ linklib=$old_library
+ else
+ for l in $old_library $library_names; do
+ linklib=$l
+ done
+ fi
+ if test -z "$linklib"; then
+ func_fatal_error "cannot find name of link library for '$lib'"
+ fi
+
+ # This library was specified with -dlopen.
+ if test dlopen = "$pass"; then
+ test -z "$libdir" \
+ && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
+ if test -z "$dlname" ||
+ test yes != "$dlopen_support" ||
+ test no = "$build_libtool_libs"
+ then
+ # If there is no dlname, no dlopen support or we're linking
+ # statically, we need to preload. We also need to preload any
+ # dependent libraries so libltdl's deplib preloader doesn't
+ # bomb out in the load deplibs phase.
+ func_append dlprefiles " $lib $dependency_libs"
+ else
+ func_append newdlfiles " $lib"
+ fi
+ continue
+ fi # $pass = dlopen
+
+ # We need an absolute path.
+ case $ladir in
+ [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
+ *)
+ abs_ladir=`cd "$ladir" && pwd`
+ if test -z "$abs_ladir"; then
+ func_warning "cannot determine absolute directory name of '$ladir'"
+ func_warning "passing it literally to the linker, although it might fail"
+ abs_ladir=$ladir
+ fi
+ ;;
+ esac
+ func_basename "$lib"
+ laname=$func_basename_result
+
+ # Find the relevant object directory and library name.
+ if test yes = "$installed"; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ func_warning "library '$lib' was moved."
+ dir=$ladir
+ absdir=$abs_ladir
+ libdir=$abs_ladir
+ else
+ dir=$lt_sysroot$libdir
+ absdir=$lt_sysroot$libdir
+ fi
+ test yes = "$hardcode_automatic" && avoidtemprpath=yes
+ else
+ if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ dir=$ladir
+ absdir=$abs_ladir
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ else
+ dir=$ladir/$objdir
+ absdir=$abs_ladir/$objdir
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ fi
+ fi # $installed = yes
+ func_stripname 'lib' '.la' "$laname"
+ name=$func_stripname_result
+
+ # This library was specified with -dlpreopen.
+ if test dlpreopen = "$pass"; then
+ if test -z "$libdir" && test prog = "$linkmode"; then
+ func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
+ fi
+ case $host in
+ # special handling for platforms with PE-DLLs.
+ *cygwin* | *mingw* | *cegcc* )
+ # Linker will automatically link against shared library if both
+ # static and shared are present. Therefore, ensure we extract
+ # symbols from the import library if a shared library is present
+ # (otherwise, the dlopen module name will be incorrect). We do
+ # this by putting the import library name into $newdlprefiles.
+ # We recover the dlopen module name by 'saving' the la file
+ # name in a special purpose variable, and (later) extracting the
+ # dlname from the la file.
+ if test -n "$dlname"; then
+ func_tr_sh "$dir/$linklib"
+ eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
+ func_append newdlprefiles " $dir/$linklib"
+ else
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ fi
+ ;;
+ * )
+ # Prefer using a static library (so that no silly _DYNAMIC symbols
+ # are required to link).
+ if test -n "$old_library"; then
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ # Otherwise, use the dlname, so that lt_dlopen finds it.
+ elif test -n "$dlname"; then
+ func_append newdlprefiles " $dir/$dlname"
+ else
+ func_append newdlprefiles " $dir/$linklib"
+ fi
+ ;;
+ esac
+ fi # $pass = dlpreopen
+
+ if test -z "$libdir"; then
+ # Link the convenience library
+ if test lib = "$linkmode"; then
+ deplibs="$dir/$old_library $deplibs"
+ elif test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$dir/$old_library $compile_deplibs"
+ finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ else
+ deplibs="$lib $deplibs" # used for prog,scan pass
+ fi
+ continue
+ fi
+
+
+ if test prog = "$linkmode" && test link != "$pass"; then
+ func_append newlib_search_path " $ladir"
+ deplibs="$lib $deplibs"
+
+ linkalldeplibs=false
+ if test no != "$link_all_deplibs" || test -z "$library_names" ||
+ test no = "$build_libtool_libs"; then
+ linkalldeplibs=:
+ fi
+
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ esac
+ # Need to link against all dependency_libs?
+ if $linkalldeplibs; then
+ deplibs="$deplib $deplibs"
+ else
+ # Need to hardcode shared library paths
+ # or/and link against static libraries
+ newdependency_libs="$deplib $newdependency_libs"
+ fi
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done # for deplib
+ continue
+ fi # $linkmode = prog...
+
+ if test prog,link = "$linkmode,$pass"; then
+ if test -n "$library_names" &&
+ { { test no = "$prefer_static_libs" ||
+ test built,yes = "$prefer_static_libs,$installed"; } ||
+ test -z "$old_library"; }; then
+ # We need to hardcode the library path
+ if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
+ # Make sure the rpath contains only unique directories.
+ case $temp_rpath: in
+ *"$absdir:"*) ;;
+ *) func_append temp_rpath "$absdir:" ;;
+ esac
+ fi
+
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi # $linkmode,$pass = prog,link...
+
+ if $alldeplibs &&
+ { test pass_all = "$deplibs_check_method" ||
+ { test yes = "$build_libtool_libs" &&
+ test -n "$library_names"; }; }; then
+ # We only need to search for static libraries
+ continue
+ fi
+ fi
+
+ link_static=no # Whether the deplib will be linked statically
+ use_static_libs=$prefer_static_libs
+ if test built = "$use_static_libs" && test yes = "$installed"; then
+ use_static_libs=no
+ fi
+ if test -n "$library_names" &&
+ { test no = "$use_static_libs" || test -z "$old_library"; }; then
+ case $host in
+ *cygwin* | *mingw* | *cegcc* | *os2*)
+ # No point in relinking DLLs because paths are not encoded
+ func_append notinst_deplibs " $lib"
+ need_relink=no
+ ;;
+ *)
+ if test no = "$installed"; then
+ func_append notinst_deplibs " $lib"
+ need_relink=yes
+ fi
+ ;;
+ esac
+ # This is a shared library
+
+ # Warn about portability, can't link against -module's on some
+ # systems (darwin). Don't bleat about dlopened modules though!
+ dlopenmodule=
+ for dlpremoduletest in $dlprefiles; do
+ if test "X$dlpremoduletest" = "X$lib"; then
+ dlopenmodule=$dlpremoduletest
+ break
+ fi
+ done
+ if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
+ echo
+ if test prog = "$linkmode"; then
+ $ECHO "*** Warning: Linking the executable $output against the loadable module"
+ else
+ $ECHO "*** Warning: Linking the shared library $output against the loadable module"
+ fi
+ $ECHO "*** $linklib is not portable!"
+ fi
+ if test lib = "$linkmode" &&
+ test yes = "$hardcode_into_libs"; then
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi
+
+ if test -n "$old_archive_from_expsyms_cmds"; then
+ # figure out the soname
+ set dummy $library_names
+ shift
+ realname=$1
+ shift
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ # use dlname if we got it. it's perfectly good, no?
+ if test -n "$dlname"; then
+ soname=$dlname
+ elif test -n "$soname_spec"; then
+ # bleh windows
+ case $host in
+ *cygwin* | mingw* | *cegcc* | *os2*)
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix=-$major
+ ;;
+ esac
+ eval soname=\"$soname_spec\"
+ else
+ soname=$realname
+ fi
+
+ # Make a new name for the extract_expsyms_cmds to use
+ soroot=$soname
+ func_basename "$soroot"
+ soname=$func_basename_result
+ func_stripname 'lib' '.dll' "$soname"
+ newlib=libimp-$func_stripname_result.a
+
+ # If the library has no export list, then create one now
+ if test -f "$output_objdir/$soname-def"; then :
+ else
+ func_verbose "extracting exported symbol list from '$soname'"
+ func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
+ fi
+
+ # Create $newlib
+ if test -f "$output_objdir/$newlib"; then :; else
+ func_verbose "generating import library for '$soname'"
+ func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
+ fi
+ # make sure the library variables are pointing to the new library
+ dir=$output_objdir
+ linklib=$newlib
+ fi # test -n "$old_archive_from_expsyms_cmds"
+
+ if test prog = "$linkmode" || test relink != "$opt_mode"; then
+ add_shlibpath=
+ add_dir=
+ add=
+ lib_linked=yes
+ case $hardcode_action in
+ immediate | unsupported)
+ if test no = "$hardcode_direct"; then
+ add=$dir/$linklib
+ case $host in
+ *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
+ *-*-sysv4*uw2*) add_dir=-L$dir ;;
+ *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
+ *-*-unixware7*) add_dir=-L$dir ;;
+ *-*-darwin* )
+ # if the lib is a (non-dlopened) module then we cannot
+ # link against it, someone is ignoring the earlier warnings
+ if /usr/bin/file -L $add 2> /dev/null |
+ $GREP ": [^:]* bundle" >/dev/null; then
+ if test "X$dlopenmodule" != "X$lib"; then
+ $ECHO "*** Warning: lib $linklib is a module, not a shared library"
+ if test -z "$old_library"; then
+ echo
+ echo "*** And there doesn't seem to be a static archive available"
+ echo "*** The link will probably fail, sorry"
+ else
+ add=$dir/$old_library
+ fi
+ elif test -n "$old_library"; then
+ add=$dir/$old_library
+ fi
+ fi
+ esac
+ elif test no = "$hardcode_minus_L"; then
+ case $host in
+ *-*-sunos*) add_shlibpath=$dir ;;
+ esac
+ add_dir=-L$dir
+ add=-l$name
+ elif test no = "$hardcode_shlibpath_var"; then
+ add_shlibpath=$dir
+ add=-l$name
+ else
+ lib_linked=no
+ fi
+ ;;
+ relink)
+ if test yes = "$hardcode_direct" &&
+ test no = "$hardcode_direct_absolute"; then
+ add=$dir/$linklib
+ elif test yes = "$hardcode_minus_L"; then
+ add_dir=-L$absdir
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add=-l$name
+ elif test yes = "$hardcode_shlibpath_var"; then
+ add_shlibpath=$dir
+ add=-l$name
+ else
+ lib_linked=no
+ fi
+ ;;
+ *) lib_linked=no ;;
+ esac
+
+ if test yes != "$lib_linked"; then
+ func_fatal_configuration "unsupported hardcode properties"
+ fi
+
+ if test -n "$add_shlibpath"; then
+ case :$compile_shlibpath: in
+ *":$add_shlibpath:"*) ;;
+ *) func_append compile_shlibpath "$add_shlibpath:" ;;
+ esac
+ fi
+ if test prog = "$linkmode"; then
+ test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
+ test -n "$add" && compile_deplibs="$add $compile_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ if test yes != "$hardcode_direct" &&
+ test yes != "$hardcode_minus_L" &&
+ test yes = "$hardcode_shlibpath_var"; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ fi
+ fi
+ fi
+
+ if test prog = "$linkmode" || test relink = "$opt_mode"; then
+ add_shlibpath=
+ add_dir=
+ add=
+ # Finalize command for both is simple: just hardcode it.
+ if test yes = "$hardcode_direct" &&
+ test no = "$hardcode_direct_absolute"; then
+ add=$libdir/$linklib
+ elif test yes = "$hardcode_minus_L"; then
+ add_dir=-L$libdir
+ add=-l$name
+ elif test yes = "$hardcode_shlibpath_var"; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ add=-l$name
+ elif test yes = "$hardcode_automatic"; then
+ if test -n "$inst_prefix_dir" &&
+ test -f "$inst_prefix_dir$libdir/$linklib"; then
+ add=$inst_prefix_dir$libdir/$linklib
+ else
+ add=$libdir/$linklib
+ fi
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+ add_dir=-L$libdir
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add=-l$name
+ fi
+
+ if test prog = "$linkmode"; then
+ test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
+ test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ fi
+ fi
+ elif test prog = "$linkmode"; then
+ # Here we assume that one of hardcode_direct or hardcode_minus_L
+ # is not unsupported. This is valid on all known static and
+ # shared platforms.
+ if test unsupported != "$hardcode_direct"; then
+ test -n "$old_library" && linklib=$old_library
+ compile_deplibs="$dir/$linklib $compile_deplibs"
+ finalize_deplibs="$dir/$linklib $finalize_deplibs"
+ else
+ compile_deplibs="-l$name -L$dir $compile_deplibs"
+ finalize_deplibs="-l$name -L$dir $finalize_deplibs"
+ fi
+ elif test yes = "$build_libtool_libs"; then
+ # Not a shared library
+ if test pass_all != "$deplibs_check_method"; then
+ # We're trying link a shared library against a static one
+ # but the system doesn't support it.
+
+ # Just print a warning and add the library to dependency_libs so
+ # that the program can be linked against the static library.
+ echo
+ $ECHO "*** Warning: This system cannot link to static lib archive $lib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have."
+ if test yes = "$module"; then
+ echo "*** But as you try to build a module library, libtool will still create "
+ echo "*** a static module, that should work as long as the dlopening application"
+ echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** 'nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test no = "$build_old_libs"; then
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ else
+ deplibs="$dir/$old_library $deplibs"
+ link_static=yes
+ fi
+ fi # link shared/static library?
+
+ if test lib = "$linkmode"; then
+ if test -n "$dependency_libs" &&
+ { test yes != "$hardcode_into_libs" ||
+ test yes = "$build_old_libs" ||
+ test yes = "$link_static"; }; then
+ # Extract -R from dependency_libs
+ temp_deplibs=
+ for libdir in $dependency_libs; do
+ case $libdir in
+ -R*) func_stripname '-R' '' "$libdir"
+ temp_xrpath=$func_stripname_result
+ case " $xrpath " in
+ *" $temp_xrpath "*) ;;
+ *) func_append xrpath " $temp_xrpath";;
+ esac;;
+ *) func_append temp_deplibs " $libdir";;
+ esac
+ done
+ dependency_libs=$temp_deplibs
+ fi
+
+ func_append newlib_search_path " $absdir"
+ # Link against this library
+ test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
+ # ... and its dependency_libs
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ newdependency_libs="$deplib $newdependency_libs"
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result";;
+ *) func_resolve_sysroot "$deplib" ;;
+ esac
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $func_resolve_sysroot_result "*)
+ func_append specialdeplibs " $func_resolve_sysroot_result" ;;
+ esac
+ fi
+ func_append tmp_libs " $func_resolve_sysroot_result"
+ done
+
+ if test no != "$link_all_deplibs"; then
+ # Add the search paths of all dependency libraries
+ for deplib in $dependency_libs; do
+ path=
+ case $deplib in
+ -L*) path=$deplib ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ deplib=$func_resolve_sysroot_result
+ func_dirname "$deplib" "" "."
+ dir=$func_dirname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ func_warning "cannot determine absolute directory name of '$dir'"
+ absdir=$dir
+ fi
+ ;;
+ esac
+ if $GREP "^installed=no" $deplib > /dev/null; then
+ case $host in
+ *-*-darwin*)
+ depdepl=
+ eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
+ if test -n "$deplibrary_names"; then
+ for tmp in $deplibrary_names; do
+ depdepl=$tmp
+ done
+ if test -f "$absdir/$objdir/$depdepl"; then
+ depdepl=$absdir/$objdir/$depdepl
+ darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ if test -z "$darwin_install_name"; then
+ darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ fi
+ func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
+ func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
+ path=
+ fi
+ fi
+ ;;
+ *)
+ path=-L$absdir/$objdir
+ ;;
+ esac
+ else
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ test -z "$libdir" && \
+ func_fatal_error "'$deplib' is not a valid libtool archive"
+ test "$absdir" != "$libdir" && \
+ func_warning "'$deplib' seems to be moved"
+
+ path=-L$absdir
+ fi
+ ;;
+ esac
+ case " $deplibs " in
+ *" $path "*) ;;
+ *) deplibs="$path $deplibs" ;;
+ esac
+ done
+ fi # link_all_deplibs != no
+ fi # linkmode = lib
+ done # for deplib in $libs
+ if test link = "$pass"; then
+ if test prog = "$linkmode"; then
+ compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
+ finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
+ else
+ compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ fi
+ fi
+ dependency_libs=$newdependency_libs
+ if test dlpreopen = "$pass"; then
+ # Link the dlpreopened libraries before other libraries
+ for deplib in $save_deplibs; do
+ deplibs="$deplib $deplibs"
+ done
+ fi
+ if test dlopen != "$pass"; then
+ test conv = "$pass" || {
+ # Make sure lib_search_path contains only unique directories.
+ lib_search_path=
+ for dir in $newlib_search_path; do
+ case "$lib_search_path " in
+ *" $dir "*) ;;
+ *) func_append lib_search_path " $dir" ;;
+ esac
+ done
+ newlib_search_path=
+ }
+
+ if test prog,link = "$linkmode,$pass"; then
+ vars="compile_deplibs finalize_deplibs"
+ else
+ vars=deplibs
+ fi
+ for var in $vars dependency_libs; do
+ # Add libraries to $var in reverse order
+ eval tmp_libs=\"\$$var\"
+ new_libs=
+ for deplib in $tmp_libs; do
+ # FIXME: Pedantically, this is the right thing to do, so
+ # that some nasty dependency loop isn't accidentally
+ # broken:
+ #new_libs="$deplib $new_libs"
+ # Pragmatically, this seems to cause very few problems in
+ # practice:
+ case $deplib in
+ -L*) new_libs="$deplib $new_libs" ;;
+ -R*) ;;
+ *)
+ # And here is the reason: when a library appears more
+ # than once as an explicit dependence of a library, or
+ # is implicitly linked in more than once by the
+ # compiler, it is considered special, and multiple
+ # occurrences thereof are not removed. Compare this
+ # with having the same library being listed as a
+ # dependency of multiple other libraries: in this case,
+ # we know (pedantically, we assume) the library does not
+ # need to be listed more than once, so we keep only the
+ # last copy. This is not always right, but it is rare
+ # enough that we require users that really mean to play
+ # such unportable linking tricks to link the library
+ # using -Wl,-lname, so that libtool does not consider it
+ # for duplicate removal.
+ case " $specialdeplibs " in
+ *" $deplib "*) new_libs="$deplib $new_libs" ;;
+ *)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) new_libs="$deplib $new_libs" ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+ done
+ tmp_libs=
+ for deplib in $new_libs; do
+ case $deplib in
+ -L*)
+ case " $tmp_libs " in
+ *" $deplib "*) ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ done
+ eval $var=\"$tmp_libs\"
+ done # for var
+ fi
+
+ # Add Sun CC postdeps if required:
+ test CXX = "$tagname" && {
+ case $host_os in
+ linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C++ 5.9
+ func_suncc_cstd_abi
+
+ if test no != "$suncc_use_cstd_abi"; then
+ func_append postdeps ' -library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ func_cc_basename "$CC"
+ case $func_cc_basename_result in
+ CC* | sunCC*)
+ func_suncc_cstd_abi
+
+ if test no != "$suncc_use_cstd_abi"; then
+ func_append postdeps ' -library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ }
+
+ # Last step: remove runtime libs from dependency_libs
+ # (they stay in deplibs)
+ tmp_libs=
+ for i in $dependency_libs; do
+ case " $predeps $postdeps $compiler_lib_search_path " in
+ *" $i "*)
+ i=
+ ;;
+ esac
+ if test -n "$i"; then
+ func_append tmp_libs " $i"
+ fi
+ done
+ dependency_libs=$tmp_libs
+ done # for pass
+ if test prog = "$linkmode"; then
+ dlfiles=$newdlfiles
+ fi
+ if test prog = "$linkmode" || test lib = "$linkmode"; then
+ dlprefiles=$newdlprefiles
+ fi
+
+ case $linkmode in
+ oldlib)
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ func_warning "'-dlopen' is ignored for archives"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "'-l' and '-L' are ignored for archives" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "'-rpath' is ignored for archives"
+
+ test -n "$xrpath" && \
+ func_warning "'-R' is ignored for archives"
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info/-version-number' is ignored for archives"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for archives"
+
+ test -n "$export_symbols$export_symbols_regex" && \
+ func_warning "'-export-symbols' is ignored for archives"
+
+ # Now set the variables for building old libraries.
+ build_libtool_libs=no
+ oldlibs=$output
+ func_append objs "$old_deplibs"
+ ;;
+
+ lib)
+ # Make sure we only generate libraries of the form 'libNAME.la'.
+ case $outputname in
+ lib*)
+ func_stripname 'lib' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ ;;
+ *)
+ test no = "$module" \
+ && func_fatal_help "libtool library '$output' must begin with 'lib'"
+
+ if test no != "$need_lib_prefix"; then
+ # Add the "lib" prefix for modules if required
+ func_stripname '' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ else
+ func_stripname '' '.la' "$outputname"
+ libname=$func_stripname_result
+ fi
+ ;;
+ esac
+
+ if test -n "$objs"; then
+ if test pass_all != "$deplibs_check_method"; then
+ func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
+ else
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
+ $ECHO "*** objects $objs is not portable!"
+ func_append libobjs " $objs"
+ fi
+ fi
+
+ test no = "$dlself" \
+ || func_warning "'-dlopen self' is ignored for libtool libraries"
+
+ set dummy $rpath
+ shift
+ test 1 -lt "$#" \
+ && func_warning "ignoring multiple '-rpath's for a libtool library"
+
+ install_libdir=$1
+
+ oldlibs=
+ if test -z "$rpath"; then
+ if test yes = "$build_libtool_libs"; then
+ # Building a libtool convenience library.
+ # Some compilers have problems with a '.al' extension so
+ # convenience libraries should have the same extension an
+ # archive normally would.
+ oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ build_libtool_libs=convenience
+ build_old_libs=yes
+ fi
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info/-version-number' is ignored for convenience libraries"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for convenience libraries"
+ else
+
+ # Parse the version information argument.
+ save_ifs=$IFS; IFS=:
+ set dummy $vinfo 0 0 0
+ shift
+ IFS=$save_ifs
+
+ test -n "$7" && \
+ func_fatal_help "too many parameters to '-version-info'"
+
+ # convert absolute version numbers to libtool ages
+ # this retains compatibility with .la files and attempts
+ # to make the code below a bit more comprehensible
+
+ case $vinfo_number in
+ yes)
+ number_major=$1
+ number_minor=$2
+ number_revision=$3
+ #
+ # There are really only two kinds -- those that
+ # use the current revision as the major version
+ # and those that subtract age and use age as
+ # a minor version. But, then there is irix
+ # that has an extra 1 added just for fun
+ #
+ case $version_type in
+ # correct linux to gnu/linux during the next big refactor
+ darwin|freebsd-elf|linux|osf|windows|none)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age=$number_minor
+ revision=$number_revision
+ ;;
+ freebsd-aout|qnx|sunos)
+ current=$number_major
+ revision=$number_minor
+ age=0
+ ;;
+ irix|nonstopux)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age=$number_minor
+ revision=$number_minor
+ lt_irix_increment=no
+ ;;
+ esac
+ ;;
+ no)
+ current=$1
+ revision=$2
+ age=$3
+ ;;
+ esac
+
+ # Check that each of the things are valid numbers.
+ case $current in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "CURRENT '$current' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $revision in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "REVISION '$revision' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $age in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "AGE '$age' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ if test "$age" -gt "$current"; then
+ func_error "AGE '$age' is greater than the current interface number '$current'"
+ func_fatal_error "'$vinfo' is not valid version information"
+ fi
+
+ # Calculate the version variables.
+ major=
+ versuffix=
+ verstring=
+ case $version_type in
+ none) ;;
+
+ darwin)
+ # Like Linux, but with the current version available in
+ # verstring for coding it into the library header
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ # Darwin ld doesn't like 0 for these options...
+ func_arith $current + 1
+ minor_current=$func_arith_result
+ xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ # On Darwin other compilers
+ case $CC in
+ nagfor*)
+ verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
+ ;;
+ *)
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ ;;
+ esac
+ ;;
+
+ freebsd-aout)
+ major=.$current
+ versuffix=.$current.$revision
+ ;;
+
+ freebsd-elf)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ ;;
+
+ irix | nonstopux)
+ if test no = "$lt_irix_increment"; then
+ func_arith $current - $age
+ else
+ func_arith $current - $age + 1
+ fi
+ major=$func_arith_result
+
+ case $version_type in
+ nonstopux) verstring_prefix=nonstopux ;;
+ *) verstring_prefix=sgi ;;
+ esac
+ verstring=$verstring_prefix$major.$revision
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$revision
+ while test 0 -ne "$loop"; do
+ func_arith $revision - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring=$verstring_prefix$major.$iface:$verstring
+ done
+
+ # Before this point, $major must not contain '.'.
+ major=.$major
+ versuffix=$major.$revision
+ ;;
+
+ linux) # correct to gnu/linux during the next big refactor
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ ;;
+
+ osf)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=.$current.$age.$revision
+ verstring=$current.$age.$revision
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$age
+ while test 0 -ne "$loop"; do
+ func_arith $current - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring=$verstring:$iface.0
+ done
+
+ # Make executables depend on our current version.
+ func_append verstring ":$current.0"
+ ;;
+
+ qnx)
+ major=.$current
+ versuffix=.$current
+ ;;
+
+ sco)
+ major=.$current
+ versuffix=.$current
+ ;;
+
+ sunos)
+ major=.$current
+ versuffix=.$current.$revision
+ ;;
+
+ windows)
+ # Use '-' rather than '.', since we only want one
+ # extension on DOS 8.3 file systems.
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix=-$major
+ ;;
+
+ *)
+ func_fatal_configuration "unknown library version type '$version_type'"
+ ;;
+ esac
+
+ # Clear the version info if we defaulted, and they specified a release.
+ if test -z "$vinfo" && test -n "$release"; then
+ major=
+ case $version_type in
+ darwin)
+ # we can't check for "0.0" in archive_cmds due to quoting
+ # problems, so we reset it completely
+ verstring=
+ ;;
+ *)
+ verstring=0.0
+ ;;
+ esac
+ if test no = "$need_version"; then
+ versuffix=
+ else
+ versuffix=.0.0
+ fi
+ fi
+
+ # Remove version info from name if versioning should be avoided
+ if test yes,no = "$avoid_version,$need_version"; then
+ major=
+ versuffix=
+ verstring=
+ fi
+
+ # Check to see if the archive will have undefined symbols.
+ if test yes = "$allow_undefined"; then
+ if test unsupported = "$allow_undefined_flag"; then
+ if test yes = "$build_old_libs"; then
+ func_warning "undefined symbols not allowed in $host shared libraries; building static only"
+ build_libtool_libs=no
+ else
+ func_fatal_error "can't build $host shared library unless -no-undefined is specified"
+ fi
+ fi
+ else
+ # Don't allow undefined symbols.
+ allow_undefined_flag=$no_undefined_flag
+ fi
+
+ fi
+
+ func_generate_dlsyms "$libname" "$libname" :
+ func_append libobjs " $symfileobj"
+ test " " = "$libobjs" && libobjs=
+
+ if test relink != "$opt_mode"; then
+ # Remove our outputs, but don't remove object files since they
+ # may have been created when compiling PIC objects.
+ removelist=
+ tempremovelist=`$ECHO "$output_objdir/*"`
+ for p in $tempremovelist; do
+ case $p in
+ *.$objext | *.gcno)
+ ;;
+ $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
+ if test -n "$precious_files_regex"; then
+ if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
+ then
+ continue
+ fi
+ fi
+ func_append removelist " $p"
+ ;;
+ *) ;;
+ esac
+ done
+ test -n "$removelist" && \
+ func_show_eval "${RM}r \$removelist"
+ fi
+
+ # Now set the variables for building old libraries.
+ if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
+ func_append oldlibs " $output_objdir/$libname.$libext"
+
+ # Transform .lo files to .o files.
+ oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
+ fi
+
+ # Eliminate all temporary directories.
+ #for path in $notinst_path; do
+ # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+ # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+ # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
+ #done
+
+ if test -n "$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ temp_xrpath=
+ for libdir in $xrpath; do
+ func_replace_sysroot "$libdir"
+ func_append temp_xrpath " -R$func_replace_sysroot_result"
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
+ dependency_libs="$temp_xrpath $dependency_libs"
+ fi
+ fi
+
+ # Make sure dlfiles contains only unique files that won't be dlpreopened
+ old_dlfiles=$dlfiles
+ dlfiles=
+ for lib in $old_dlfiles; do
+ case " $dlprefiles $dlfiles " in
+ *" $lib "*) ;;
+ *) func_append dlfiles " $lib" ;;
+ esac
+ done
+
+ # Make sure dlprefiles contains only unique files
+ old_dlprefiles=$dlprefiles
+ dlprefiles=
+ for lib in $old_dlprefiles; do
+ case "$dlprefiles " in
+ *" $lib "*) ;;
+ *) func_append dlprefiles " $lib" ;;
+ esac
+ done
+
+ if test yes = "$build_libtool_libs"; then
+ if test -n "$rpath"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # these systems don't actually have a c library (as such)!
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C library is in the System framework
+ func_append deplibs " System.ltframework"
+ ;;
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test yes = "$build_libtool_need_lc"; then
+ func_append deplibs " -lc"
+ fi
+ ;;
+ esac
+ fi
+
+ # Transform deplibs into only deplibs that can be linked in shared.
+ name_save=$name
+ libname_save=$libname
+ release_save=$release
+ versuffix_save=$versuffix
+ major_save=$major
+ # I'm not sure if I'm treating the release correctly. I think
+ # release should show up in the -l (ie -lgmp5) so we don't want to
+ # add it in twice. Is that correct?
+ release=
+ versuffix=
+ major=
+ newdeplibs=
+ droppeddeps=no
+ case $deplibs_check_method in
+ pass_all)
+ # Don't check for shared/static. Everything works.
+ # This might be a little naive. We might want to check
+ # whether the library exists or not. But this is on
+ # osf3 & osf4 and I'm not really sure... Just
+ # implementing what was already the behavior.
+ newdeplibs=$deplibs
+ ;;
+ test_compile)
+ # This code stresses the "libraries are programs" paradigm to its
+ # limits. Maybe even breaks it. We compile a program, linking it
+ # against the deplibs as a proxy for the library. Then we can check
+ # whether they linked in statically or dynamically with ldd.
+ $opt_dry_run || $RM conftest.c
+ cat > conftest.c <<EOF
+ int main() { return 0; }
+EOF
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
+ ldd_output=`ldd conftest`
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=
+ ;;
+ esac
+ fi
+ if test -n "$i"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which I believe you do not have"
+ echo "*** because a test_compile did reveal that the linker did not use it for"
+ echo "*** its dynamic dependency list that programs get resolved with at runtime."
+ fi
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ else
+ # Error occurred in the first compile. Let's try to salvage
+ # the situation: Compile a separate program for each library.
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
+ ldd_output=`ldd conftest`
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=
+ ;;
+ esac
+ fi
+ if test -n "$i"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because a test_compile did reveal that the linker did not use this one"
+ echo "*** as a dynamic dependency that programs can get resolved with at runtime."
+ fi
+ fi
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
+ echo "*** make it link in! You will probably need to install it or some"
+ echo "*** library that it depends on before this library will be fully"
+ echo "*** functional. Installing it before continuing would be even better."
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ fi
+ ;;
+ file_magic*)
+ set dummy $deplibs_check_method; shift
+ file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ if test -n "$file_magic_glob"; then
+ libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
+ else
+ libnameglob=$libname
+ fi
+ test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ if test yes = "$want_nocaseglob"; then
+ shopt -s nocaseglob
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ $nocaseglob
+ else
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ fi
+ for potent_lib in $potential_libs; do
+ # Follow soft links.
+ if ls -lLd "$potent_lib" 2>/dev/null |
+ $GREP " -> " >/dev/null; then
+ continue
+ fi
+ # The statement above tries to avoid entering an
+ # endless loop below, in case of cyclic links.
+ # We might still enter an endless loop, since a link
+ # loop can be closed while we follow links,
+ # but so what?
+ potlib=$potent_lib
+ while test -h "$potlib" 2>/dev/null; do
+ potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
+ case $potliblink in
+ [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
+ *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
+ esac
+ done
+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
+ $SED -e 10q |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib"; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib"; then
+ $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a file magic. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ potlib=$potent_lib # see symlink-check above in file_magic test
+ if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
+ $EGREP "$match_pattern_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib"; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib"; then
+ $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a regex pattern. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ none | unknown | *)
+ newdeplibs=
+ tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ for i in $predeps $postdeps; do
+ # can't use Xsed below, because $i might contain '/'
+ tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
+ done
+ fi
+ case $tmp_deplibs in
+ *[!\ \ ]*)
+ echo
+ if test none = "$deplibs_check_method"; then
+ echo "*** Warning: inter-library dependencies are not supported in this platform."
+ else
+ echo "*** Warning: inter-library dependencies are not known to be supported."
+ fi
+ echo "*** All declared inter-library dependencies are being dropped."
+ droppeddeps=yes
+ ;;
+ esac
+ ;;
+ esac
+ versuffix=$versuffix_save
+ major=$major_save
+ release=$release_save
+ libname=$libname_save
+ name=$name_save
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library with the System framework
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ if test yes = "$droppeddeps"; then
+ if test yes = "$module"; then
+ echo
+ echo "*** Warning: libtool could not satisfy all declared inter-library"
+ $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
+ echo "*** a static module, that should work as long as the dlopening"
+ echo "*** application is linked with the -dlopen flag."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** 'nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test no = "$build_old_libs"; then
+ oldlibs=$output_objdir/$libname.$libext
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ else
+ echo "*** The inter-library dependencies that have been dropped here will be"
+ echo "*** automatically added whenever a program is linked with this library"
+ echo "*** or is declared to -dlopen it."
+
+ if test no = "$allow_undefined"; then
+ echo
+ echo "*** Since this library must not contain undefined symbols,"
+ echo "*** because either the platform does not support them or"
+ echo "*** it was explicitly requested with -no-undefined,"
+ echo "*** libtool will only create a static version of it."
+ if test no = "$build_old_libs"; then
+ oldlibs=$output_objdir/$libname.$libext
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ fi
+ fi
+ # Done checking deplibs!
+ deplibs=$newdeplibs
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ case $host in
+ *-*-darwin*)
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ deplibs=$new_libs
+
+ # All the library-specific variables (install_libdir is set above).
+ library_names=
+ old_library=
+ dlname=
+
+ # Test again, we may have decided not to build it any more
+ if test yes = "$build_libtool_libs"; then
+ # Remove $wl instances when linking with ld.
+ # FIXME: should test the right _cmds variable.
+ case $archive_cmds in
+ *\$LD\ *) wl= ;;
+ esac
+ if test yes = "$hardcode_into_libs"; then
+ # Hardcode the library paths
+ hardcode_libdirs=
+ dep_rpath=
+ rpath=$finalize_rpath
+ test relink = "$opt_mode" || rpath=$compile_rpath$rpath
+ for libdir in $rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ func_replace_sysroot "$libdir"
+ libdir=$func_replace_sysroot_result
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append dep_rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
+ fi
+ if test -n "$runpath_var" && test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
+ fi
+ test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
+ fi
+
+ shlibpath=$finalize_shlibpath
+ test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
+ if test -n "$shlibpath"; then
+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
+ fi
+
+ # Get the real and link names of the library.
+ eval shared_ext=\"$shrext_cmds\"
+ eval library_names=\"$library_names_spec\"
+ set dummy $library_names
+ shift
+ realname=$1
+ shift
+
+ if test -n "$soname_spec"; then
+ eval soname=\"$soname_spec\"
+ else
+ soname=$realname
+ fi
+ if test -z "$dlname"; then
+ dlname=$soname
+ fi
+
+ lib=$output_objdir/$realname
+ linknames=
+ for link
+ do
+ func_append linknames " $link"
+ done
+
+ # Use standard objects if they are pic
+ test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ test "X$libobjs" = "X " && libobjs=
+
+ delfiles=
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
+ export_symbols=$output_objdir/$libname.uexp
+ func_append delfiles " $export_symbols"
+ fi
+
+ orig_export_symbols=
+ case $host_os in
+ cygwin* | mingw* | cegcc*)
+ if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
+ # exporting using user supplied symfile
+ func_dll_def_p "$export_symbols" || {
+ # and it's NOT already a .def file. Must figure out
+ # which of the given symbols are data symbols and tag
+ # them as such. So, trigger use of export_symbols_cmds.
+ # export_symbols gets reassigned inside the "prepare
+ # the list of exported symbols" if statement, so the
+ # include_expsyms logic still works.
+ orig_export_symbols=$export_symbols
+ export_symbols=
+ always_export_symbols=yes
+ }
+ fi
+ ;;
+ esac
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
+ func_verbose "generating symbol list for '$libname.la'"
+ export_symbols=$output_objdir/$libname.exp
+ $opt_dry_run || $RM $export_symbols
+ cmds=$export_symbols_cmds
+ save_ifs=$IFS; IFS='~'
+ for cmd1 in $cmds; do
+ IFS=$save_ifs
+ # Take the normal branch if the nm_file_list_spec branch
+ # doesn't work or if tool conversion is not needed.
+ case $nm_file_list_spec~$to_tool_file_cmd in
+ *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+ try_normal_branch=yes
+ eval cmd=\"$cmd1\"
+ func_len " $cmd"
+ len=$func_len_result
+ ;;
+ *)
+ try_normal_branch=no
+ ;;
+ esac
+ if test yes = "$try_normal_branch" \
+ && { test "$len" -lt "$max_cmd_len" \
+ || test "$max_cmd_len" -le -1; }
+ then
+ func_show_eval "$cmd" 'exit $?'
+ skipped_export=false
+ elif test -n "$nm_file_list_spec"; then
+ func_basename "$output"
+ output_la=$func_basename_result
+ save_libobjs=$libobjs
+ save_output=$output
+ output=$output_objdir/$output_la.nm
+ func_to_tool_file "$output"
+ libobjs=$nm_file_list_spec$func_to_tool_file_result
+ func_append delfiles " $output"
+ func_verbose "creating $NM input file list: $output"
+ for obj in $save_libobjs; do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > "$output"
+ eval cmd=\"$cmd1\"
+ func_show_eval "$cmd" 'exit $?'
+ output=$save_output
+ libobjs=$save_libobjs
+ skipped_export=false
+ else
+ # The command line is too long to execute in one step.
+ func_verbose "using reloadable object file for export list..."
+ skipped_export=:
+ # Break out early, otherwise skipped_export may be
+ # set to false by a later but shorter cmd.
+ break
+ fi
+ done
+ IFS=$save_ifs
+ if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+ fi
+
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols=$export_symbols
+ test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands, which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+
+ tmp_deplibs=
+ for test_deplib in $deplibs; do
+ case " $convenience " in
+ *" $test_deplib "*) ;;
+ *)
+ func_append tmp_deplibs " $test_deplib"
+ ;;
+ esac
+ done
+ deplibs=$tmp_deplibs
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec" &&
+ test yes = "$compiler_needs_object" &&
+ test -z "$libobjs"; then
+ # extract the archives, so we have objects to list.
+ # TODO: could optimize this to just extract one archive.
+ whole_archive_flag_spec=
+ fi
+ if test -n "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ else
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ fi
+
+ if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
+ eval flag=\"$thread_safe_flag_spec\"
+ func_append linker_flags " $flag"
+ fi
+
+ # Make a backup of the uninstalled library when relinking
+ if test relink = "$opt_mode"; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
+ fi
+
+ # Do each of the archive commands.
+ if test yes = "$module" && test -n "$module_cmds"; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ eval test_cmds=\"$module_expsym_cmds\"
+ cmds=$module_expsym_cmds
+ else
+ eval test_cmds=\"$module_cmds\"
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval test_cmds=\"$archive_expsym_cmds\"
+ cmds=$archive_expsym_cmds
+ else
+ eval test_cmds=\"$archive_cmds\"
+ cmds=$archive_cmds
+ fi
+ fi
+
+ if test : != "$skipped_export" &&
+ func_len " $test_cmds" &&
+ len=$func_len_result &&
+ test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # The command line is too long to link in one step, link piecewise
+ # or, if using GNU ld and skipped_export is not :, use a linker
+ # script.
+
+ # Save the value of $output and $libobjs because we want to
+ # use them later. If we have whole_archive_flag_spec, we
+ # want to use save_libobjs as it was before
+ # whole_archive_flag_spec was expanded, because we can't
+ # assume the linker understands whole_archive_flag_spec.
+ # This may have to be revisited, in case too many
+ # convenience libraries get linked in and end up exceeding
+ # the spec.
+ if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ fi
+ save_output=$output
+ func_basename "$output"
+ output_la=$func_basename_result
+
+ # Clear the reloadable object creation command queue and
+ # initialize k to one.
+ test_cmds=
+ concat_cmds=
+ objlist=
+ last_robj=
+ k=1
+
+ if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
+ output=$output_objdir/$output_la.lnkscript
+ func_verbose "creating GNU ld script: $output"
+ echo 'INPUT (' > $output
+ for obj in $save_libobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ echo ')' >> $output
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$func_to_tool_file_result
+ elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
+ output=$output_objdir/$output_la.lnk
+ func_verbose "creating linker input file list: $output"
+ : > $output
+ set x $save_libobjs
+ shift
+ firstobj=
+ if test yes = "$compiler_needs_object"; then
+ firstobj="$1 "
+ shift
+ fi
+ for obj
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
+ else
+ if test -n "$save_libobjs"; then
+ func_verbose "creating reloadable object files..."
+ output=$output_objdir/$output_la-$k.$objext
+ eval test_cmds=\"$reload_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+
+ # Loop over the list of objects to be linked.
+ for obj in $save_libobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ if test -z "$objlist" ||
+ test "$len" -lt "$max_cmd_len"; then
+ func_append objlist " $obj"
+ else
+ # The command $test_cmds is almost too long, add a
+ # command to the queue.
+ if test 1 -eq "$k"; then
+ # The first file doesn't have a previous command to add.
+ reload_objs=$objlist
+ eval concat_cmds=\"$reload_cmds\"
+ else
+ # All subsequent reloadable object files will link in
+ # the last one created.
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
+ fi
+ last_robj=$output_objdir/$output_la-$k.$objext
+ func_arith $k + 1
+ k=$func_arith_result
+ output=$output_objdir/$output_la-$k.$objext
+ objlist=" $obj"
+ func_len " $last_robj"
+ func_arith $len0 + $func_len_result
+ len=$func_arith_result
+ fi
+ done
+ # Handle the remaining objects by creating one last
+ # reloadable object file. All subsequent reloadable object
+ # files will link in the last one created.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\$concat_cmds$reload_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
+ fi
+ func_append delfiles " $output"
+
+ else
+ output=
+ fi
+
+ ${skipped_export-false} && {
+ func_verbose "generating symbol list for '$libname.la'"
+ export_symbols=$output_objdir/$libname.exp
+ $opt_dry_run || $RM $export_symbols
+ libobjs=$output
+ # Append the command to create the export file.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
+ fi
+ }
+
+ test -n "$save_libobjs" &&
+ func_verbose "creating a temporary reloadable object file: $output"
+
+ # Loop through the commands generated above and execute them.
+ save_ifs=$IFS; IFS='~'
+ for cmd in $concat_cmds; do
+ IFS=$save_ifs
+ $opt_quiet || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS=$save_ifs
+
+ if test -n "$export_symbols_regex" && ${skipped_export-false}; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+
+ ${skipped_export-false} && {
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols=$export_symbols
+ test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands, which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+ }
+
+ libobjs=$output
+ # Restore the value of output.
+ output=$save_output
+
+ if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ # Expand the library linking commands again to reset the
+ # value of $libobjs for piecewise linking.
+
+ # Do each of the archive commands.
+ if test yes = "$module" && test -n "$module_cmds"; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ cmds=$module_expsym_cmds
+ else
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ cmds=$archive_expsym_cmds
+ else
+ cmds=$archive_cmds
+ fi
+ fi
+ fi
+
+ if test -n "$delfiles"; then
+ # Append the command to remove temporary files to $cmds.
+ eval cmds=\"\$cmds~\$RM $delfiles\"
+ fi
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+
+ save_ifs=$IFS; IFS='~'
+ for cmd in $cmds; do
+ IFS=$sp$nl
+ eval cmd=\"$cmd\"
+ IFS=$save_ifs
+ $opt_quiet || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS=$save_ifs
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
+
+ if test -n "$convenience"; then
+ if test -z "$whole_archive_flag_spec"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ # Create links to the real library.
+ for linkname in $linknames; do
+ if test "$realname" != "$linkname"; then
+ func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
+ fi
+ done
+
+ # If -module or -export-dynamic was specified, set the dlname.
+ if test yes = "$module" || test yes = "$export_dynamic"; then
+ # On all known operating systems, these are identical.
+ dlname=$soname
+ fi
+ fi
+ ;;
+
+ obj)
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ func_warning "'-dlopen' is ignored for objects"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "'-l' and '-L' are ignored for objects" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "'-rpath' is ignored for objects"
+
+ test -n "$xrpath" && \
+ func_warning "'-R' is ignored for objects"
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info' is ignored for objects"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for objects"
+
+ case $output in
+ *.lo)
+ test -n "$objs$old_deplibs" && \
+ func_fatal_error "cannot build library object '$output' from non-libtool objects"
+
+ libobj=$output
+ func_lo2o "$libobj"
+ obj=$func_lo2o_result
+ ;;
+ *)
+ libobj=
+ obj=$output
+ ;;
+ esac
+
+ # Delete the old objects.
+ $opt_dry_run || $RM $obj $libobj
+
+ # Objects from convenience libraries. This assumes
+ # single-version convenience libraries. Whenever we create
+ # different ones for PIC/non-PIC, this we'll have to duplicate
+ # the extraction.
+ reload_conv_objs=
+ gentop=
+ # if reload_cmds runs $LD directly, get rid of -Wl from
+ # whole_archive_flag_spec and hope we can get by with turning comma
+ # into space.
+ case $reload_cmds in
+ *\$LD[\ \$]*) wl= ;;
+ esac
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
+ test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
+ reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
+ else
+ gentop=$output_objdir/${obj}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ reload_conv_objs="$reload_objs $func_extract_archives_result"
+ fi
+ fi
+
+ # If we're not building shared, we need to use non_pic_objs
+ test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
+
+ # Create the old-style object.
+ reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
+
+ output=$obj
+ func_execute_cmds "$reload_cmds" 'exit $?'
+
+ # Exit if we aren't doing a library object file.
+ if test -z "$libobj"; then
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ test yes = "$build_libtool_libs" || {
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ # Create an invalid libtool object if no PIC, so that we don't
+ # accidentally link it into a program.
+ # $show "echo timestamp > $libobj"
+ # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
+ exit $EXIT_SUCCESS
+ }
+
+ if test -n "$pic_flag" || test default != "$pic_mode"; then
+ # Only do commands if we really have different PIC objects.
+ reload_objs="$libobjs $reload_conv_objs"
+ output=$libobj
+ func_execute_cmds "$reload_cmds" 'exit $?'
+ fi
+
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ ;;
+
+ prog)
+ case $host in
+ *cygwin*) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result.exe;;
+ esac
+ test -n "$vinfo" && \
+ func_warning "'-version-info' is ignored for programs"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for programs"
+
+ $preload \
+ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
+ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ case $host in
+ *-*-darwin*)
+ # Don't allow lazy linking, it breaks C++ global constructors
+ # But is supposedly fixed on 10.4 or later (yay!).
+ if test CXX = "$tagname"; then
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
+ 10.[0123])
+ func_append compile_command " $wl-bind_at_load"
+ func_append finalize_command " $wl-bind_at_load"
+ ;;
+ esac
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $compile_deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $compile_deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ compile_deplibs=$new_libs
+
+
+ func_append compile_command " $compile_deplibs"
+ func_append finalize_command " $finalize_deplibs"
+
+ if test -n "$rpath$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ for libdir in $rpath $xrpath; do
+ # This is the magic to use -rpath.
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ fi
+
+ # Now hardcode the library paths
+ rpath=
+ hardcode_libdirs=
+ for libdir in $compile_rpath $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append perm_rpath " $libdir" ;;
+ esac
+ fi
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$libdir:"*) ;;
+ ::) dllsearchpath=$libdir;;
+ *) func_append dllsearchpath ":$libdir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ compile_rpath=$rpath
+
+ rpath=
+ hardcode_libdirs=
+ for libdir in $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$finalize_perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ finalize_rpath=$rpath
+
+ if test -n "$libobjs" && test yes = "$build_old_libs"; then
+ # Transform all the library objects into standard objects.
+ compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ fi
+
+ func_generate_dlsyms "$outputname" "@PROGRAM@" false
+
+ # template prelinking step
+ if test -n "$prelink_cmds"; then
+ func_execute_cmds "$prelink_cmds" 'exit $?'
+ fi
+
+ wrappers_required=:
+ case $host in
+ *cegcc* | *mingw32ce*)
+ # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+ wrappers_required=false
+ ;;
+ *cygwin* | *mingw* )
+ test yes = "$build_libtool_libs" || wrappers_required=false
+ ;;
+ *)
+ if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
+ wrappers_required=false
+ fi
+ ;;
+ esac
+ $wrappers_required || {
+ # Replace the output file specification.
+ compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ link_command=$compile_command$compile_rpath
+
+ # We have no uninstalled library dependencies, so finalize right now.
+ exit_status=0
+ func_show_eval "$link_command" 'exit_status=$?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Delete the generated files.
+ if test -f "$output_objdir/${outputname}S.$objext"; then
+ func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
+ fi
+
+ exit $exit_status
+ }
+
+ if test -n "$compile_shlibpath$finalize_shlibpath"; then
+ compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
+ fi
+ if test -n "$finalize_shlibpath"; then
+ finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
+ fi
+
+ compile_var=
+ finalize_var=
+ if test -n "$runpath_var"; then
+ if test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ if test -n "$finalize_perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $finalize_perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ fi
+
+ if test yes = "$no_install"; then
+ # We don't need to create a wrapper script.
+ link_command=$compile_var$compile_command$compile_rpath
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ # Delete the old output file.
+ $opt_dry_run || $RM $output
+ # Link the executable and exit
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ case $hardcode_action,$fast_install in
+ relink,*)
+ # Fast installation is not supported
+ link_command=$compile_var$compile_command$compile_rpath
+ relink_command=$finalize_var$finalize_command$finalize_rpath
+
+ func_warning "this platform does not like uninstalled shared libraries"
+ func_warning "'$output' will be relinked during installation"
+ ;;
+ *,yes)
+ link_command=$finalize_var$compile_command$finalize_rpath
+ relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
+ ;;
+ *,no)
+ link_command=$compile_var$compile_command$compile_rpath
+ relink_command=$finalize_var$finalize_command$finalize_rpath
+ ;;
+ *,needless)
+ link_command=$finalize_var$compile_command$finalize_rpath
+ relink_command=
+ ;;
+ esac
+
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+
+ # Delete the old output files.
+ $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
+
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output_objdir/$outputname"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Now create the wrapper script.
+ func_verbose "creating $output"
+
+ # Quote the relink command for shipping.
+ if test -n "$relink_command"; then
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ relink_command="(cd `pwd`; $relink_command)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ fi
+
+ # Only actually do things if not in dry run mode.
+ $opt_dry_run || {
+ # win32 will think the script is a binary if it has
+ # a .exe suffix, so we strip it off here.
+ case $output in
+ *.exe) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result ;;
+ esac
+ # test for cygwin because mv fails w/o .exe extensions
+ case $host in
+ *cygwin*)
+ exeext=.exe
+ func_stripname '' '.exe' "$outputname"
+ outputname=$func_stripname_result ;;
+ *) exeext= ;;
+ esac
+ case $host in
+ *cygwin* | *mingw* )
+ func_dirname_and_basename "$output" "" "."
+ output_name=$func_basename_result
+ output_path=$func_dirname_result
+ cwrappersource=$output_path/$objdir/lt-$output_name.c
+ cwrapper=$output_path/$output_name.exe
+ $RM $cwrappersource $cwrapper
+ trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_cwrapperexe_src > $cwrappersource
+
+ # The wrapper executable is built using the $host compiler,
+ # because it contains $host paths and files. If cross-
+ # compiling, it, like the target executable, must be
+ # executed on the $host or under an emulation environment.
+ $opt_dry_run || {
+ $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
+ $STRIP $cwrapper
+ }
+
+ # Now, create the wrapper script for func_source use:
+ func_ltwrapper_scriptname $cwrapper
+ $RM $func_ltwrapper_scriptname_result
+ trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
+ $opt_dry_run || {
+ # note: this script will not be executed, so do not chmod.
+ if test "x$build" = "x$host"; then
+ $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
+ else
+ func_emit_wrapper no > $func_ltwrapper_scriptname_result
+ fi
+ }
+ ;;
+ * )
+ $RM $output
+ trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_wrapper no > $output
+ chmod +x $output
+ ;;
+ esac
+ }
+ exit $EXIT_SUCCESS
+ ;;
+ esac
+
+ # See if we need to build an old-fashioned archive.
+ for oldlib in $oldlibs; do
+
+ case $build_libtool_libs in
+ convenience)
+ oldobjs="$libobjs_save $symfileobj"
+ addlibs=$convenience
+ build_libtool_libs=no
+ ;;
+ module)
+ oldobjs=$libobjs_save
+ addlibs=$old_convenience
+ build_libtool_libs=no
+ ;;
+ *)
+ oldobjs="$old_deplibs $non_pic_objects"
+ $preload && test -f "$symfileobj" \
+ && func_append oldobjs " $symfileobj"
+ addlibs=$old_convenience
+ ;;
+ esac
+
+ if test -n "$addlibs"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $addlibs
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # Do each command in the archive commands.
+ if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
+ cmds=$old_archive_from_new_cmds
+ else
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # POSIX demands no paths to be encoded in archives. We have
+ # to avoid creating archives with duplicate basenames if we
+ # might have to extract them afterwards, e.g., when creating a
+ # static archive out of a convenience library, or when linking
+ # the entirety of a libtool archive into another (currently
+ # not supported by libtool).
+ if (for obj in $oldobjs
+ do
+ func_basename "$obj"
+ $ECHO "$func_basename_result"
+ done | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ echo "copying selected object files to avoid basename conflicts..."
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+ func_mkdir_p "$gentop"
+ save_oldobjs=$oldobjs
+ oldobjs=
+ counter=1
+ for obj in $save_oldobjs
+ do
+ func_basename "$obj"
+ objbase=$func_basename_result
+ case " $oldobjs " in
+ " ") oldobjs=$obj ;;
+ *[\ /]"$objbase "*)
+ while :; do
+ # Make sure we don't pick an alternate name that also
+ # overlaps.
+ newobj=lt$counter-$objbase
+ func_arith $counter + 1
+ counter=$func_arith_result
+ case " $oldobjs " in
+ *[\ /]"$newobj "*) ;;
+ *) if test ! -f "$gentop/$newobj"; then break; fi ;;
+ esac
+ done
+ func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
+ func_append oldobjs " $gentop/$newobj"
+ ;;
+ *) func_append oldobjs " $obj" ;;
+ esac
+ done
+ fi
+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+ tool_oldlib=$func_to_tool_file_result
+ eval cmds=\"$old_archive_cmds\"
+
+ func_len " $cmds"
+ len=$func_len_result
+ if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ cmds=$old_archive_cmds
+ elif test -n "$archiver_list_spec"; then
+ func_verbose "using command file archive linking..."
+ for obj in $oldobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > $output_objdir/$libname.libcmd
+ func_to_tool_file "$output_objdir/$libname.libcmd"
+ oldobjs=" $archiver_list_spec$func_to_tool_file_result"
+ cmds=$old_archive_cmds
+ else
+ # the command line is too long to link in one step, link in parts
+ func_verbose "using piecewise archive linking..."
+ save_RANLIB=$RANLIB
+ RANLIB=:
+ objlist=
+ concat_cmds=
+ save_oldobjs=$oldobjs
+ oldobjs=
+ # Is there a better way of finding the last object in the list?
+ for obj in $save_oldobjs
+ do
+ last_oldobj=$obj
+ done
+ eval test_cmds=\"$old_archive_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+ for obj in $save_oldobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ func_append objlist " $obj"
+ if test "$len" -lt "$max_cmd_len"; then
+ :
+ else
+ # the above command should be used before it gets too long
+ oldobjs=$objlist
+ if test "$obj" = "$last_oldobj"; then
+ RANLIB=$save_RANLIB
+ fi
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
+ objlist=
+ len=$len0
+ fi
+ done
+ RANLIB=$save_RANLIB
+ oldobjs=$objlist
+ if test -z "$oldobjs"; then
+ eval cmds=\"\$concat_cmds\"
+ else
+ eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
+ fi
+ fi
+ fi
+ func_execute_cmds "$cmds" 'exit $?'
+ done
+
+ test -n "$generated" && \
+ func_show_eval "${RM}r$generated"
+
+ # Now create the libtool archive.
+ case $output in
+ *.la)
+ old_library=
+ test yes = "$build_old_libs" && old_library=$libname.$libext
+ func_verbose "creating $output"
+
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ # Quote the link command for shipping.
+ relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ if test yes = "$hardcode_automatic"; then
+ relink_command=
+ fi
+
+ # Only create the output if not a dry run.
+ $opt_dry_run || {
+ for installed in no yes; do
+ if test yes = "$installed"; then
+ if test -z "$install_libdir"; then
+ break
+ fi
+ output=$output_objdir/${outputname}i
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ *.la)
+ func_basename "$deplib"
+ name=$func_basename_result
+ func_resolve_sysroot "$deplib"
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
+ test -z "$libdir" && \
+ func_fatal_error "'$deplib' is not a valid libtool archive"
+ func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ -L*)
+ func_stripname -L '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -L$func_replace_sysroot_result"
+ ;;
+ -R*)
+ func_stripname -R '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -R$func_replace_sysroot_result"
+ ;;
+ *) func_append newdependency_libs " $deplib" ;;
+ esac
+ done
+ dependency_libs=$newdependency_libs
+ newdlfiles=
+
+ for lib in $dlfiles; do
+ case $lib in
+ *.la)
+ func_basename "$lib"
+ name=$func_basename_result
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "'$lib' is not a valid libtool archive"
+ func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ *) func_append newdlfiles " $lib" ;;
+ esac
+ done
+ dlfiles=$newdlfiles
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ *.la)
+ # Only pass preopened files to the pseudo-archive (for
+ # eventual linking with the app. that links it) if we
+ # didn't already link the preopened objects directly into
+ # the library:
+ func_basename "$lib"
+ name=$func_basename_result
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "'$lib' is not a valid libtool archive"
+ func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ esac
+ done
+ dlprefiles=$newdlprefiles
+ else
+ newdlfiles=
+ for lib in $dlfiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlfiles " $abs"
+ done
+ dlfiles=$newdlfiles
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlprefiles " $abs"
+ done
+ dlprefiles=$newdlprefiles
+ fi
+ $RM $output
+ # place dlname in correct position for cygwin
+ # In fact, it would be nice if we could use this code for all target
+ # systems that can't hard-code library paths into their executables
+ # and that have no shared library path variable independent of PATH,
+ # but it turns out we can't easily determine that from inspecting
+ # libtool variables, so we have to hard-code the OSs to which it
+ # applies here; at the moment, that means platforms that use the PE
+ # object format with DLL files. See the long comment at the top of
+ # tests/bindir.at for full details.
+ tdlname=$dlname
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
+ # If a -bindir argument was supplied, place the dll there.
+ if test -n "$bindir"; then
+ func_relative_path "$install_libdir" "$bindir"
+ tdlname=$func_relative_path_result/$dlname
+ else
+ # Otherwise fall back on heuristic.
+ tdlname=../bin/$dlname
+ fi
+ ;;
+ esac
+ $ECHO > $output "\
+# $outputname - a libtool library file
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='$tdlname'
+
+# Names of this library.
+library_names='$library_names'
+
+# The name of the static archive.
+old_library='$old_library'
+
+# Linker flags that cannot go in dependency_libs.
+inherited_linker_flags='$new_inherited_linker_flags'
+
+# Libraries that this one depends upon.
+dependency_libs='$dependency_libs'
+
+# Names of additional weak libraries provided by this library
+weak_library_names='$weak_libs'
+
+# Version information for $libname.
+current=$current
+age=$age
+revision=$revision
+
+# Is this an already installed library?
+installed=$installed
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=$module
+
+# Files to dlopen/dlpreopen
+dlopen='$dlfiles'
+dlpreopen='$dlprefiles'
+
+# Directory that this library needs to be installed in:
+libdir='$install_libdir'"
+ if test no,yes = "$installed,$need_relink"; then
+ $ECHO >> $output "\
+relink_command=\"$relink_command\""
+ fi
+ done
+ }
+
+ # Do a symbolic link so that the libtool archive can be found in
+ # LD_LIBRARY_PATH before the program is installed.
+ func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
+ ;;
+ esac
+ exit $EXIT_SUCCESS
+}
+
+if test link = "$opt_mode" || test relink = "$opt_mode"; then
+ func_mode_link ${1+"$@"}
+fi
+
+
+# func_mode_uninstall arg...
+func_mode_uninstall ()
+{
+ $debug_cmd
+
+ RM=$nonopt
+ files=
+ rmforce=false
+ exit_status=0
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic=$magic
+
+ for arg
+ do
+ case $arg in
+ -f) func_append RM " $arg"; rmforce=: ;;
+ -*) func_append RM " $arg" ;;
+ *) func_append files " $arg" ;;
+ esac
+ done
+
+ test -z "$RM" && \
+ func_fatal_help "you must specify an RM program"
+
+ rmdirs=
+
+ for file in $files; do
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+ if test . = "$dir"; then
+ odir=$objdir
+ else
+ odir=$dir/$objdir
+ fi
+ func_basename "$file"
+ name=$func_basename_result
+ test uninstall = "$opt_mode" && odir=$dir
+
+ # Remember odir for removal later, being careful to avoid duplicates
+ if test clean = "$opt_mode"; then
+ case " $rmdirs " in
+ *" $odir "*) ;;
+ *) func_append rmdirs " $odir" ;;
+ esac
+ fi
+
+ # Don't error if the file doesn't exist and rm -f was used.
+ if { test -L "$file"; } >/dev/null 2>&1 ||
+ { test -h "$file"; } >/dev/null 2>&1 ||
+ test -f "$file"; then
+ :
+ elif test -d "$file"; then
+ exit_status=1
+ continue
+ elif $rmforce; then
+ continue
+ fi
+
+ rmfiles=$file
+
+ case $name in
+ *.la)
+ # Possibly a libtool archive, so verify it.
+ if func_lalib_p "$file"; then
+ func_source $dir/$name
+
+ # Delete the libtool libraries and symlinks.
+ for n in $library_names; do
+ func_append rmfiles " $odir/$n"
+ done
+ test -n "$old_library" && func_append rmfiles " $odir/$old_library"
+
+ case $opt_mode in
+ clean)
+ case " $library_names " in
+ *" $dlname "*) ;;
+ *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
+ esac
+ test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
+ ;;
+ uninstall)
+ if test -n "$library_names"; then
+ # Do each command in the postuninstall commands.
+ func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
+ fi
+
+ if test -n "$old_library"; then
+ # Do each command in the old_postuninstall commands.
+ func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
+ fi
+ # FIXME: should reinstall the best remaining shared library.
+ ;;
+ esac
+ fi
+ ;;
+
+ *.lo)
+ # Possibly a libtool object, so verify it.
+ if func_lalib_p "$file"; then
+
+ # Read the .lo file
+ func_source $dir/$name
+
+ # Add PIC object to the list of files to remove.
+ if test -n "$pic_object" && test none != "$pic_object"; then
+ func_append rmfiles " $dir/$pic_object"
+ fi
+
+ # Add non-PIC object to the list of files to remove.
+ if test -n "$non_pic_object" && test none != "$non_pic_object"; then
+ func_append rmfiles " $dir/$non_pic_object"
+ fi
+ fi
+ ;;
+
+ *)
+ if test clean = "$opt_mode"; then
+ noexename=$name
+ case $file in
+ *.exe)
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ func_stripname '' '.exe' "$name"
+ noexename=$func_stripname_result
+ # $file with .exe has already been added to rmfiles,
+ # add $file without .exe
+ func_append rmfiles " $file"
+ ;;
+ esac
+ # Do a test to see if this is a libtool program.
+ if func_ltwrapper_p "$file"; then
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ relink_command=
+ func_source $func_ltwrapper_scriptname_result
+ func_append rmfiles " $func_ltwrapper_scriptname_result"
+ else
+ relink_command=
+ func_source $dir/$noexename
+ fi
+
+ # note $name still contains .exe if it was in $file originally
+ # as does the version of $file that was added into $rmfiles
+ func_append rmfiles " $odir/$name $odir/${name}S.$objext"
+ if test yes = "$fast_install" && test -n "$relink_command"; then
+ func_append rmfiles " $odir/lt-$name"
+ fi
+ if test "X$noexename" != "X$name"; then
+ func_append rmfiles " $odir/lt-$noexename.c"
+ fi
+ fi
+ fi
+ ;;
+ esac
+ func_show_eval "$RM $rmfiles" 'exit_status=1'
+ done
+
+ # Try to remove the $objdir's in the directories where we deleted files
+ for dir in $rmdirs; do
+ if test -d "$dir"; then
+ func_show_eval "rmdir $dir >/dev/null 2>&1"
+ fi
+ done
+
+ exit $exit_status
+}
+
+if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
+ func_mode_uninstall ${1+"$@"}
+fi
+
+test -z "$opt_mode" && {
+ help=$generic_help
+ func_fatal_help "you must specify a MODE"
+}
+
+test -z "$exec_cmd" && \
+ func_fatal_help "invalid operation mode '$opt_mode'"
+
+if test -n "$exec_cmd"; then
+ eval exec "$exec_cmd"
+ exit $EXIT_FAILURE
+fi
+
+exit $exit_status
+
+
+# The TAGs below are defined such that we never get into a situation
+# where we disable both kinds of libraries. Given conflicting
+# choices, we go for a static library, that is the most portable,
+# since we can't tell whether shared libraries were disabled because
+# the user asked for that or because the platform doesn't support
+# them. This is particularly important on AIX, because we don't
+# support having both static and shared libraries enabled at the same
+# time on that platform, so we default to a shared-only configuration.
+# If a disable-shared tag is given, we'll fallback to a static-only
+# configuration. But we'll never go from static-only to shared-only.
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
+build_libtool_libs=no
+build_old_libs=yes
+# ### END LIBTOOL TAG CONFIG: disable-shared
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
+# ### END LIBTOOL TAG CONFIG: disable-static
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation:2
+# End:
--- /dev/null
+# Helper functions for option handling. -*- Autoconf -*-
+#
+# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
+# Foundation, Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 8 ltoptions.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+
+
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
+# ------------------------------------------
+m4_define([_LT_MANGLE_OPTION],
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
+
+
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
+# ---------------------------------------
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
+# matching handler defined, dispatch to it. Other OPTION-NAMEs are
+# saved as a flag.
+m4_define([_LT_SET_OPTION],
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
+ _LT_MANGLE_DEFUN([$1], [$2]),
+ [m4_warning([Unknown $1 option '$2'])])[]dnl
+])
+
+
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
+# ------------------------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+m4_define([_LT_IF_OPTION],
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
+
+
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
+# -------------------------------------------------------
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
+# are set.
+m4_define([_LT_UNLESS_OPTIONS],
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
+ [m4_define([$0_found])])])[]dnl
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
+])[]dnl
+])
+
+
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
+# ----------------------------------------
+# OPTION-LIST is a space-separated list of Libtool options associated
+# with MACRO-NAME. If any OPTION has a matching handler declared with
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
+# the unknown option and exit.
+m4_defun([_LT_SET_OPTIONS],
+[# Set options
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [_LT_SET_OPTION([$1], _LT_Option)])
+
+m4_if([$1],[LT_INIT],[
+ dnl
+ dnl Simply set some default values (i.e off) if boolean options were not
+ dnl specified:
+ _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
+ ])
+ _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
+ ])
+ dnl
+ dnl If no reference was made to various pairs of opposing options, then
+ dnl we run the default mode handler for the pair. For example, if neither
+ dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
+ dnl archives by default:
+ _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
+ _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
+ [_LT_ENABLE_FAST_INSTALL])
+ _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
+ [_LT_WITH_AIX_SONAME([aix])])
+ ])
+])# _LT_SET_OPTIONS
+
+
+## --------------------------------- ##
+## Macros to handle LT_INIT options. ##
+## --------------------------------- ##
+
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
+# -----------------------------------------
+m4_define([_LT_MANGLE_DEFUN],
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
+
+
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
+# -----------------------------------------------
+m4_define([LT_OPTION_DEFINE],
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
+])# LT_OPTION_DEFINE
+
+
+# dlopen
+# ------
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
+])
+
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
+[_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'dlopen' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
+
+
+# win32-dll
+# ---------
+# Declare package support for building win32 dll's.
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
+[enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ AC_CHECK_TOOL(AS, as, false)
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
+ ;;
+esac
+
+test -z "$AS" && AS=as
+_LT_DECL([], [AS], [1], [Assembler program])dnl
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
+])# win32-dll
+
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
+
+
+# _LT_ENABLE_SHARED([DEFAULT])
+# ----------------------------
+# implement the --enable-shared flag, and supports the 'shared' and
+# 'disable-shared' LT_INIT options.
+# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
+m4_define([_LT_ENABLE_SHARED],
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([shared],
+ [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+ [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
+
+ _LT_DECL([build_libtool_libs], [enable_shared], [0],
+ [Whether or not to build shared libraries])
+])# _LT_ENABLE_SHARED
+
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
+])
+
+AC_DEFUN([AC_DISABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
+])
+
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
+
+
+
+# _LT_ENABLE_STATIC([DEFAULT])
+# ----------------------------
+# implement the --enable-static flag, and support the 'static' and
+# 'disable-static' LT_INIT options.
+# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
+m4_define([_LT_ENABLE_STATIC],
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([static],
+ [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+ [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
+
+ _LT_DECL([build_old_libs], [enable_static], [0],
+ [Whether or not to build static libraries])
+])# _LT_ENABLE_STATIC
+
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
+])
+
+AC_DEFUN([AC_DISABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], [disable-static])
+])
+
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
+
+
+
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
+# ----------------------------------
+# implement the --enable-fast-install flag, and support the 'fast-install'
+# and 'disable-fast-install' LT_INIT options.
+# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
+m4_define([_LT_ENABLE_FAST_INSTALL],
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([fast-install],
+ [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+ [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
+
+_LT_DECL([fast_install], [enable_fast_install], [0],
+ [Whether or not to optimize for fast installation])dnl
+])# _LT_ENABLE_FAST_INSTALL
+
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
+
+# Old names:
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'fast-install' option into LT_INIT's first parameter.])
+])
+
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'disable-fast-install' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
+
+
+# _LT_WITH_AIX_SONAME([DEFAULT])
+# ----------------------------------
+# implement the --with-aix-soname flag, and support the `aix-soname=aix'
+# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
+# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
+m4_define([_LT_WITH_AIX_SONAME],
+[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
+shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[[5-9]]*,yes)
+ AC_MSG_CHECKING([which variant of shared library versioning to provide])
+ AC_ARG_WITH([aix-soname],
+ [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
+ [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
+ [case $withval in
+ aix|svr4|both)
+ ;;
+ *)
+ AC_MSG_ERROR([Unknown argument to --with-aix-soname])
+ ;;
+ esac
+ lt_cv_with_aix_soname=$with_aix_soname],
+ [AC_CACHE_VAL([lt_cv_with_aix_soname],
+ [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
+ with_aix_soname=$lt_cv_with_aix_soname])
+ AC_MSG_RESULT([$with_aix_soname])
+ if test aix != "$with_aix_soname"; then
+ # For the AIX way of multilib, we name the shared archive member
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
+ if test 64 = "${OBJECT_MODE-32}"; then
+ shared_archive_member_spec=shr_64
+ else
+ shared_archive_member_spec=shr
+ fi
+ fi
+ ;;
+*)
+ with_aix_soname=aix
+ ;;
+esac
+
+_LT_DECL([], [shared_archive_member_spec], [0],
+ [Shared archive member basename, for filename based shared library versioning on AIX])dnl
+])# _LT_WITH_AIX_SONAME
+
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
+
+
+# _LT_WITH_PIC([MODE])
+# --------------------
+# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
+# LT_INIT options.
+# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
+m4_define([_LT_WITH_PIC],
+[AC_ARG_WITH([pic],
+ [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+ [lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for lt_pkg in $withval; do
+ IFS=$lt_save_ifs
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [pic_mode=m4_default([$1], [default])])
+
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
+])# _LT_WITH_PIC
+
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
+
+# Old name:
+AU_DEFUN([AC_LIBTOOL_PICMODE],
+[_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'pic-only' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
+
+## ----------------- ##
+## LTDL_INIT Options ##
+## ----------------- ##
+
+m4_define([_LTDL_MODE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
+ [m4_define([_LTDL_MODE], [nonrecursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
+ [m4_define([_LTDL_MODE], [recursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
+ [m4_define([_LTDL_MODE], [subproject])])
+
+m4_define([_LTDL_TYPE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
+ [m4_define([_LTDL_TYPE], [installable])])
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
+ [m4_define([_LTDL_TYPE], [convenience])])
--- /dev/null
+# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
+#
+# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
+# Foundation, Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 6 ltsugar.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
+
+
+# lt_join(SEP, ARG1, [ARG2...])
+# -----------------------------
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
+# associated separator.
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
+# versions in m4sugar had bugs.
+m4_define([lt_join],
+[m4_if([$#], [1], [],
+ [$#], [2], [[$2]],
+ [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
+m4_define([_lt_join],
+[m4_if([$#$2], [2], [],
+ [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
+
+
+# lt_car(LIST)
+# lt_cdr(LIST)
+# ------------
+# Manipulate m4 lists.
+# These macros are necessary as long as will still need to support
+# Autoconf-2.59, which quotes differently.
+m4_define([lt_car], [[$1]])
+m4_define([lt_cdr],
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
+ [$#], 1, [],
+ [m4_dquote(m4_shift($@))])])
+m4_define([lt_unquote], $1)
+
+
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
+# ------------------------------------------
+# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
+# than defined and empty).
+#
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
+m4_define([lt_append],
+[m4_define([$1],
+ m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
+
+
+
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
+# ----------------------------------------------------------
+# Produce a SEP delimited list of all paired combinations of elements of
+# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
+# has the form PREFIXmINFIXSUFFIXn.
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
+m4_define([lt_combine],
+[m4_if(m4_eval([$# > 3]), [1],
+ [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
+[[m4_foreach([_Lt_prefix], [$2],
+ [m4_foreach([_Lt_suffix],
+ ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
+ [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
+
+
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
+# -----------------------------------------------------------------------
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
+m4_define([lt_if_append_uniq],
+[m4_ifdef([$1],
+ [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
+ [lt_append([$1], [$2], [$3])$4],
+ [$5])],
+ [lt_append([$1], [$2], [$3])$4])])
+
+
+# lt_dict_add(DICT, KEY, VALUE)
+# -----------------------------
+m4_define([lt_dict_add],
+[m4_define([$1($2)], [$3])])
+
+
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
+# --------------------------------------------
+m4_define([lt_dict_add_subkey],
+[m4_define([$1($2:$3)], [$4])])
+
+
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
+# ----------------------------------
+m4_define([lt_dict_fetch],
+[m4_ifval([$3],
+ m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
+ m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
+
+
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
+# -----------------------------------------------------------------
+m4_define([lt_if_dict_fetch],
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
+ [$5],
+ [$6])])
+
+
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
+# --------------------------------------------------------------
+m4_define([lt_dict_filter],
+[m4_if([$5], [], [],
+ [lt_join(m4_quote(m4_default([$4], [[, ]])),
+ lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
+ [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
+])
--- /dev/null
+# ltversion.m4 -- version numbers -*- Autoconf -*-
+#
+# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
+# Written by Scott James Remnant, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# @configure_input@
+
+# serial 4179 ltversion.m4
+# This file is part of GNU Libtool
+
+m4_define([LT_PACKAGE_VERSION], [2.4.6])
+m4_define([LT_PACKAGE_REVISION], [2.4.6])
+
+AC_DEFUN([LTVERSION_VERSION],
+[macro_version='2.4.6'
+macro_revision='2.4.6'
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
+_LT_DECL(, macro_revision, 0)
+])
--- /dev/null
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
+#
+# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
+# Foundation, Inc.
+# Written by Scott James Remnant, 2004.
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 5 lt~obsolete.m4
+
+# These exist entirely to fool aclocal when bootstrapping libtool.
+#
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
+# which have later been changed to m4_define as they aren't part of the
+# exported API, or moved to Autoconf or Automake where they belong.
+#
+# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
+# using a macro with the same name in our local m4/libtool.m4 it'll
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
+# and doesn't know about Autoconf macros at all.)
+#
+# So we provide this file, which has a silly filename so it's always
+# included after everything else. This provides aclocal with the
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
+# because those macros already exist, or will be overwritten later.
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
+#
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
+# Yes, that means every name once taken will need to remain here until
+# we give up compatibility with versions before 1.7, at which point
+# we need to keep only those names which we still refer to.
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
+
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
+m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
+m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
+m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
+m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
+m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
+m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
+m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
+m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
+m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
+m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
+m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
+m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
+m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
+m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
+m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
+m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
+m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
+m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
+m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
+m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
+m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
+m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
+m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
+m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
+m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
+m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
+m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
+m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
+m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
+m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
+m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
--- /dev/null
+#! /bin/sh
+# Common wrapper for a few potentially missing GNU programs.
+
+scriptversion=2013-10-28.13; # UTC
+
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+fi
+
+case $1 in
+
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
+
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+
+Supported PROGRAM values:
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
+
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
+
+Send bug reports to <bug-automake@gnu.org>."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# Run the given program, remember its exit status.
+"$@"; st=$?
+
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
+
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
+
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'autom4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
+ ;;
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+#! /bin/sh
+# test-driver - basic testsuite driver script.
+
+scriptversion=2013-07-13.22; # UTC
+
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+# Make unconditional expansion of undefined variables an error. This
+# helps a lot in preventing typo-related bugs.
+set -u
+
+usage_error ()
+{
+ echo "$0: $*" >&2
+ print_usage >&2
+ exit 2
+}
+
+print_usage ()
+{
+ cat <<END
+Usage:
+ test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
+ [--expect-failure={yes|no}] [--color-tests={yes|no}]
+ [--enable-hard-errors={yes|no}] [--]
+ TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
+The '--test-name', '--log-file' and '--trs-file' options are mandatory.
+END
+}
+
+test_name= # Used for reporting.
+log_file= # Where to save the output of the test script.
+trs_file= # Where to save the metadata of the test run.
+expect_failure=no
+color_tests=no
+enable_hard_errors=yes
+while test $# -gt 0; do
+ case $1 in
+ --help) print_usage; exit $?;;
+ --version) echo "test-driver $scriptversion"; exit $?;;
+ --test-name) test_name=$2; shift;;
+ --log-file) log_file=$2; shift;;
+ --trs-file) trs_file=$2; shift;;
+ --color-tests) color_tests=$2; shift;;
+ --expect-failure) expect_failure=$2; shift;;
+ --enable-hard-errors) enable_hard_errors=$2; shift;;
+ --) shift; break;;
+ -*) usage_error "invalid option: '$1'";;
+ *) break;;
+ esac
+ shift
+done
+
+missing_opts=
+test x"$test_name" = x && missing_opts="$missing_opts --test-name"
+test x"$log_file" = x && missing_opts="$missing_opts --log-file"
+test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
+if test x"$missing_opts" != x; then
+ usage_error "the following mandatory options are missing:$missing_opts"
+fi
+
+if test $# -eq 0; then
+ usage_error "missing argument"
+fi
+
+if test $color_tests = yes; then
+ # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
+ red='\e[0;31m' # Red.
+ grn='\e[0;32m' # Green.
+ lgn='\e[1;32m' # Light green.
+ blu='\e[1;34m' # Blue.
+ mgn='\e[0;35m' # Magenta.
+ std='\e[m' # No color.
+else
+ red= grn= lgn= blu= mgn= std=
+fi
+
+do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
+trap "st=129; $do_exit" 1
+trap "st=130; $do_exit" 2
+trap "st=141; $do_exit" 13
+trap "st=143; $do_exit" 15
+
+# Test script is run here.
+"$@" >$log_file 2>&1
+estatus=$?
+
+if test $enable_hard_errors = no && test $estatus -eq 99; then
+ tweaked_estatus=1
+else
+ tweaked_estatus=$estatus
+fi
+
+case $tweaked_estatus:$expect_failure in
+ 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
+ 0:*) col=$grn res=PASS recheck=no gcopy=no;;
+ 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
+ 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
+ *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
+ *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
+esac
+
+# Report the test outcome and exit status in the logs, so that one can
+# know whether the test passed or failed simply by looking at the '.log'
+# file, without the need of also peaking into the corresponding '.trs'
+# file (automake bug#11814).
+echo "$res $test_name (exit status: $estatus)" >>$log_file
+
+# Report outcome to console.
+echo "${col}${res}${std}: $test_name"
+
+# Register the test result, and other relevant metadata.
+echo ":test-result: $res" > $trs_file
+echo ":global-test-result: $res" >> $trs_file
+echo ":recheck: $recheck" >> $trs_file
+echo ":copy-in-global-log: $gcopy" >> $trs_file
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for hwloc 1.11.13.
+#
+# Report bugs to <http://github.com/open-mpi/hwloc/issues>.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1
+
+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: http://github.com/open-mpi/hwloc/issues about your
+$0: system, including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='hwloc'
+PACKAGE_TARNAME='hwloc'
+PACKAGE_VERSION='1.11.13'
+PACKAGE_STRING='hwloc 1.11.13'
+PACKAGE_BUGREPORT='http://github.com/open-mpi/hwloc/issues'
+PACKAGE_URL=''
+
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIBOBJS
+CXXCPP
+LT_SYS_LIBRARY_PATH
+OTOOL64
+OTOOL
+LIPO
+NMEDIT
+DSYMUTIL
+MANIFEST_TOOL
+RANLIB
+LN_S
+NM
+ac_ct_DUMPBIN
+DUMPBIN
+LD
+FGREP
+LIBTOOL
+OBJDUMP
+DLLTOOL
+AS
+libhwloc_so_version
+CONFIGURE_DEPENDENCIES
+HWLOC_HAVE_CXX_FALSE
+HWLOC_HAVE_CXX_TRUE
+HWLOC_XML_LIBXML_BUILD_STATIC_FALSE
+HWLOC_XML_LIBXML_BUILD_STATIC_TRUE
+HWLOC_GL_BUILD_STATIC_FALSE
+HWLOC_GL_BUILD_STATIC_TRUE
+HWLOC_NVML_BUILD_STATIC_FALSE
+HWLOC_NVML_BUILD_STATIC_TRUE
+HWLOC_CUDA_BUILD_STATIC_FALSE
+HWLOC_CUDA_BUILD_STATIC_TRUE
+HWLOC_OPENCL_BUILD_STATIC_FALSE
+HWLOC_OPENCL_BUILD_STATIC_TRUE
+HWLOC_PCI_BUILD_STATIC_FALSE
+HWLOC_PCI_BUILD_STATIC_TRUE
+HWLOC_HAVE_PLUGINS_FALSE
+HWLOC_HAVE_PLUGINS_TRUE
+HWLOC_HAVE_X86_CPUID_FALSE
+HWLOC_HAVE_X86_CPUID_TRUE
+HWLOC_HAVE_X86_64_FALSE
+HWLOC_HAVE_X86_64_TRUE
+HWLOC_HAVE_X86_32_FALSE
+HWLOC_HAVE_X86_32_TRUE
+HWLOC_HAVE_X86_FALSE
+HWLOC_HAVE_X86_TRUE
+HWLOC_HAVE_MINGW32_FALSE
+HWLOC_HAVE_MINGW32_TRUE
+HWLOC_HAVE_WINDOWS_FALSE
+HWLOC_HAVE_WINDOWS_TRUE
+HWLOC_HAVE_HPUX_FALSE
+HWLOC_HAVE_HPUX_TRUE
+HWLOC_HAVE_OSF_FALSE
+HWLOC_HAVE_OSF_TRUE
+HWLOC_HAVE_AIX_FALSE
+HWLOC_HAVE_AIX_TRUE
+HWLOC_HAVE_SOLARIS_FALSE
+HWLOC_HAVE_SOLARIS_TRUE
+HWLOC_HAVE_NETBSD_FALSE
+HWLOC_HAVE_NETBSD_TRUE
+HWLOC_HAVE_FREEBSD_FALSE
+HWLOC_HAVE_FREEBSD_TRUE
+HWLOC_HAVE_DARWIN_FALSE
+HWLOC_HAVE_DARWIN_TRUE
+HWLOC_HAVE_IRIX_FALSE
+HWLOC_HAVE_IRIX_TRUE
+HWLOC_HAVE_BGQ_FALSE
+HWLOC_HAVE_BGQ_TRUE
+HWLOC_HAVE_LINUX_FALSE
+HWLOC_HAVE_LINUX_TRUE
+HWLOC_INSTALL_DOXYGEN_FALSE
+HWLOC_INSTALL_DOXYGEN_TRUE
+HWLOC_BUILD_README_FALSE
+HWLOC_BUILD_README_TRUE
+HWLOC_BUILD_DOXYGEN_FALSE
+HWLOC_BUILD_DOXYGEN_TRUE
+HWLOC_HAVE_USER32_FALSE
+HWLOC_HAVE_USER32_TRUE
+HWLOC_HAVE_BUNZIPP_FALSE
+HWLOC_HAVE_BUNZIPP_TRUE
+HWLOC_HAVE_MBIND_FALSE
+HWLOC_HAVE_MBIND_TRUE
+HWLOC_HAVE_SET_MEMPOLICY_FALSE
+HWLOC_HAVE_SET_MEMPOLICY_TRUE
+HWLOC_HAVE_NVML_FALSE
+HWLOC_HAVE_NVML_TRUE
+HWLOC_HAVE_OPENCL_FALSE
+HWLOC_HAVE_OPENCL_TRUE
+HWLOC_HAVE_PCI_FALSE
+HWLOC_HAVE_PCI_TRUE
+HWLOC_HAVE_CAIRO_FALSE
+HWLOC_HAVE_CAIRO_TRUE
+HWLOC_HAVE_LIBXML2_FALSE
+HWLOC_HAVE_LIBXML2_TRUE
+HWLOC_HAVE_CUDART_FALSE
+HWLOC_HAVE_CUDART_TRUE
+HWLOC_HAVE_MYRIEXPRESS_FALSE
+HWLOC_HAVE_MYRIEXPRESS_TRUE
+HWLOC_HAVE_GL_FALSE
+HWLOC_HAVE_GL_TRUE
+HWLOC_HAVE_CUDA_FALSE
+HWLOC_HAVE_CUDA_TRUE
+HWLOC_HAVE_LIBIBVERBS_FALSE
+HWLOC_HAVE_LIBIBVERBS_TRUE
+HWLOC_HAVE_PTHREAD_FALSE
+HWLOC_HAVE_PTHREAD_TRUE
+HWLOC_HAVE_SCHED_SETAFFINITY_FALSE
+HWLOC_HAVE_SCHED_SETAFFINITY_TRUE
+HWLOC_HAVE_LINUX_LIBNUMA_FALSE
+HWLOC_HAVE_LINUX_LIBNUMA_TRUE
+HWLOC_HAVE_OPENAT_FALSE
+HWLOC_HAVE_OPENAT_TRUE
+HWLOC_HAVE_MS_LIB_FALSE
+HWLOC_HAVE_MS_LIB_TRUE
+HWLOC_HAVE_GCC_FALSE
+HWLOC_HAVE_GCC_TRUE
+HWLOC_BUILD_STANDALONE_FALSE
+HWLOC_BUILD_STANDALONE_TRUE
+BUNZIPP
+XMLLINT
+HWLOC_DIFF_W
+HWLOC_DIFF_U
+HWLOC_TERMCAP_LIBS
+HWLOC_XML_LOCALIZED
+HWLOC_CAIRO_LIBS
+HWLOC_CAIRO_CFLAGS
+HWLOC_runstatedir
+HWLOC_W3_GENERATOR
+LYNX
+W3M
+SED
+EPSTOPDF
+GS
+FIG2DEV
+MAKEINDEX
+PDFLATEX
+DOXYGEN
+HWLOC_EMBEDDED_LIBS
+HWLOC_EMBEDDED_LDADD
+HWLOC_EMBEDDED_LDFLAGS
+HWLOC_EMBEDDED_CPPFLAGS
+HWLOC_EMBEDDED_CFLAGS
+HWLOC_LIBS_PRIVATE
+HWLOC_LIBS
+HWLOC_LDFLAGS
+HWLOC_CPPFLAGS
+HWLOC_CFLAGS
+HWLOC_REQUIRES
+HWLOC_PLUGINS_DIR
+HWLOC_PLUGINS_PATH
+HWLOC_HAVE_LIBXML2
+HWLOC_LIBXML2_LIBS
+HWLOC_LIBXML2_CFLAGS
+HWLOC_GL_LIBS
+HWLOC_X11_LIBS
+HWLOC_X11_CPPFLAGS
+X_EXTRA_LIBS
+X_LIBS
+X_PRE_LIBS
+X_CFLAGS
+XMKMF
+HWLOC_HAVE_NVML
+HWLOC_NVML_LIBS
+HWLOC_CUDA_LIBS
+HWLOC_HAVE_OPENCL
+HWLOC_OPENCL_LDFLAGS
+HWLOC_OPENCL_LIBS
+HWLOC_OPENCL_CFLAGS
+HWLOC_PCIACCESS_LIBS
+HWLOC_PCIACCESS_CFLAGS
+HWLOC_LINUX_LIBNUMA_LIBS
+BASH
+HWLOC_MS_LIB
+HWLOC_KERRIGHED_LIBS
+HWLOC_KERRIGHED_CFLAGS
+PKG_CONFIG
+HWLOC_MS_LIB_ARCH
+HWLOC_RELEASE_DATE
+HWLOC_VERSION
+HWLOC_top_srcdir
+HWLOC_top_builddir
+CC_FOR_BUILD
+ac_ct_AR
+AR
+am__fastdepCXX_FALSE
+am__fastdepCXX_TRUE
+CXXDEPMODE
+ac_ct_CXX
+CXXFLAGS
+CXX
+EGREP
+GREP
+CPP
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_os
+target_vendor
+target_cpu
+target
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_dependency_tracking
+enable_embedded_mode
+with_hwloc_symbol_prefix
+enable_debug
+enable_doxygen
+enable_picky
+enable_cairo
+enable_cpuid
+enable_libxml2
+enable_pci
+enable_opencl
+enable_cuda
+enable_nvml
+enable_gl
+enable_libnuma
+enable_libudev
+enable_plugins
+enable_visibility
+with_x
+with_hwloc_plugins_path
+enable_shared
+enable_static
+with_pic
+enable_fast_install
+with_aix_soname
+with_gnu_ld
+with_sysroot
+enable_libtool_lock
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CC
+CFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CPP
+CXX
+CXXFLAGS
+CCC
+CC_FOR_BUILD
+PKG_CONFIG
+HWLOC_KERRIGHED_CFLAGS
+HWLOC_KERRIGHED_LIBS
+HWLOC_MS_LIB
+HWLOC_PCIACCESS_CFLAGS
+HWLOC_PCIACCESS_LIBS
+XMKMF
+HWLOC_LIBXML2_CFLAGS
+HWLOC_LIBXML2_LIBS
+DOXYGEN
+PDFLATEX
+MAKEINDEX
+FIG2DEV
+GS
+EPSTOPDF
+W3M
+LYNX
+HWLOC_CAIRO_CFLAGS
+HWLOC_CAIRO_LIBS
+LT_SYS_LIBRARY_PATH
+CXXCPP'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures hwloc 1.11.13 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/hwloc]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+X features:
+ --x-includes=DIR X include files are in DIR
+ --x-libraries=DIR X library files are in DIR
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+ --target=TARGET configure for building compilers for TARGET [HOST]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of hwloc 1.11.13:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
+ --enable-embedded-mode Using --enable-embedded-mode puts the HWLOC into
+ "embedded" mode. The default is
+ --disable-embedded-mode, meaning that the HWLOC is
+ in "standalone" mode.
+ --enable-debug Using --enable-debug enables various hwloc
+ maintainer-level debugging controls. This option is
+ not recomended for end users.
+ --enable-doxygen enable support for building Doxygen documentation
+ (note that this option is ONLY relevant in developer
+ builds; Doxygen documentation is pre-built for
+ tarball builds and this option is therefore ignored)
+ --disable-picky When in developer checkouts of hwloc and compiling
+ with gcc, the default is to enable maximum compiler
+ pickyness. Using --disable-picky or --enable-picky
+ overrides any default setting
+ --disable-cairo Disable the Cairo back-end of hwloc's lstopo command
+ --disable-cpuid Disable the cpuid-based architecture specific
+ support (x86 component)
+ --disable-libxml2 Do not use libxml2 for XML support, use a custom
+ minimalistic support
+ --disable-pci Disable the PCI device discovery
+ --disable-opencl Disable the OpenCL device discovery
+ --disable-cuda Disable the CUDA device discovery using libcudart
+ --disable-nvml Disable the NVML device discovery
+ --disable-gl Disable the GL display device discovery
+ --disable-libnuma Disable the Linux libnuma
+ --disable-libudev Disable the Linux libudev
+ --enable-plugins=name,...
+ Build the given components as dynamically-loaded
+ plugins
+ --enable-visibility enable visibility feature of certain
+ compilers/linkers (default: enabled on platforms
+ that support it)
+ --enable-shared[=PKGS] build shared libraries [default=yes]
+ --enable-static[=PKGS] build static libraries [default=no]
+ --enable-fast-install[=PKGS]
+ optimize for fast installation [default=yes]
+ --disable-libtool-lock avoid locking (might break parallel builds)
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-hwloc-symbol-prefix=STRING
+ STRING can be any valid C symbol name. It will be
+ prefixed to all public HWLOC symbols. Default:
+ "hwloc_"
+ --with-x use the X Window System
+ --with-hwloc-plugins-path=dir:...
+ Colon-separated list of plugin directories. Default:
+ "$prefix/lib/hwloc". Plugins will be installed in
+ the first directory. They will be loaded from all of
+ them, in order.
+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
+ both]
+ --with-aix-soname=aix|svr4|both
+ shared library versioning (aka "SONAME") variant to
+ provide on AIX, [default=aix].
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+ --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
+ compiler's sysroot if not specified).
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ CC_FOR_BUILD
+ build system C compiler
+ PKG_CONFIG path to pkg-config utility
+ HWLOC_KERRIGHED_CFLAGS
+ C compiler flags for KERRIGHED, overriding pkg-config
+ HWLOC_KERRIGHED_LIBS
+ linker flags for KERRIGHED, overriding pkg-config
+ HWLOC_MS_LIB
+ Path to Microsoft's Visual Studio `lib' tool
+ HWLOC_PCIACCESS_CFLAGS
+ C compiler flags for PCIACCESS, overriding pkg-config
+ HWLOC_PCIACCESS_LIBS
+ linker flags for PCIACCESS, overriding pkg-config
+ XMKMF Path to xmkmf, Makefile generator for X Window System
+ HWLOC_LIBXML2_CFLAGS
+ C compiler flags for LIBXML2, overriding pkg-config
+ HWLOC_LIBXML2_LIBS
+ linker flags for LIBXML2, overriding pkg-config
+ DOXYGEN Location of the doxygen program (required for building the hwloc
+ doxygen documentation)
+ PDFLATEX Location of the pdflatex program (required for building the
+ hwloc doxygen documentation)
+ MAKEINDEX Location of the makeindex program (required for building the
+ hwloc doxygen documentation)
+ FIG2DEV Location of the fig2dev program (required for building the hwloc
+ doxygen documentation)
+ GS Location of the gs program (required for building the hwloc
+ doxygen documentation)
+ EPSTOPDF Location of the epstopdf program (required for building the
+ hwloc doxygen documentation)
+ W3M Location of the w3m program (required to building the top-level
+ hwloc README file)
+ LYNX Location of the lynx program (required to building the top-level
+ hwloc README file)
+ HWLOC_CAIRO_CFLAGS
+ C compiler flags for CAIRO, overriding pkg-config
+ HWLOC_CAIRO_LIBS
+ linker flags for CAIRO, overriding pkg-config
+ LT_SYS_LIBRARY_PATH
+ User-defined run-time library search path.
+ CXXCPP C++ preprocessor
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <http://github.com/open-mpi/hwloc/issues>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+hwloc configure 1.11.13
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_compile
+
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_cpp
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## ------------------------------------------------------ ##
+## Report this to http://github.com/open-mpi/hwloc/issues ##
+## ------------------------------------------------------ ##"
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_mongrel
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_compile
+
+# ac_fn_cxx_try_compile LINENO
+# ----------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_compile
+
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
+# --------------------------------------------
+# Tries to find the compile-time value of EXPR in a program that includes
+# INCLUDES, setting VAR accordingly. Returns whether the value could be
+# computed
+ac_fn_c_compute_int ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) >= 0)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_hi=$ac_mid; break
+else
+ as_fn_arith $ac_mid + 1 && ac_lo=$as_val
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) < 0)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) >= $ac_mid)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_lo=$ac_mid; break
+else
+ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ ac_lo= ac_hi=
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_hi=$ac_mid
+else
+ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in #((
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
+'') ac_retval=1 ;;
+esac
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+static long int longval () { return $2; }
+static unsigned long int ulongval () { return $2; }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (($2) < 0)
+ {
+ long int i = longval ();
+ if (i != ($2))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ($2))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ echo >>conftest.val; read $3 <conftest.val; ac_retval=0
+else
+ ac_retval=1
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f conftest.val
+
+ fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_compute_int
+
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
+# ac_fn_c_check_func LINENO FUNC VAR
+# ----------------------------------
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_func
+
+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
+# ---------------------------------------------
+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
+# accordingly.
+ac_fn_c_check_decl ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ as_decl_name=`echo $2|sed 's/ *(.*//'`
+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+#ifndef $as_decl_name
+#ifdef __cplusplus
+ (void) $as_decl_use;
+#else
+ (void) $as_decl_name;
+#endif
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_decl
+
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+# -------------------------------------------
+# Tests whether TYPE exists after having included INCLUDES, setting cache
+# variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_type
+
+# ac_fn_cxx_try_cpp LINENO
+# ------------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_cpp
+
+# ac_fn_cxx_try_link LINENO
+# -------------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_link
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by hwloc $as_me 1.11.13, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ac_aux_dir=
+for ac_dir in ./config "$srcdir"/./config; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./config \"$srcdir\"/./config" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+# Note that this directory must *exactly* match what was specified via
+# -I in ACLOCAL_AMFLAGS in the top-level Makefile.am.
+
+
+cat <<EOF
+
+###
+### Configuring hwloc distribution tarball
+### Startup tests
+###
+EOF
+
+# This must be before AM_INIT_AUTOMAKE
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
+$as_echo_n "checking target system type... " >&6; }
+if ${ac_cv_target+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$target_alias" = x; then
+ ac_cv_target=$ac_cv_host
+else
+ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
+$as_echo "$ac_cv_target" >&6; }
+case $ac_cv_target in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
+esac
+target=$ac_cv_target
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_target
+shift
+target_cpu=$1
+target_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+target_os=$*
+IFS=$ac_save_IFS
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
+
+
+# The aliases save the names the user supplied, while $host etc.
+# will get canonicalized.
+test -n "$target_alias" &&
+ test "$program_prefix$program_suffix$program_transform_name" = \
+ NONENONEs,x,x, &&
+ program_prefix=${target_alias}-
+
+# Init automake
+am__api_version='1.15'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='hwloc'
+ VERSION='1.11.13'
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target (and possibly the TAP driver). The
+# system "awk" is bad on some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar plaintar pax cpio none'
+
+# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
+$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
+ if test $am_uid -le $am_max_uid; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ _am_tools=none
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
+$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
+ if test $am_gid -le $am_max_gid; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ _am_tools=none
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
+$as_echo_n "checking how to create a ustar tar archive... " >&6; }
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ { echo "$as_me:$LINENO: $_am_tar --version" >&5
+ ($_am_tar --version) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && break
+ done
+ am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x ustar -w "$$tardir"'
+ am__tar_='pax -L -x ustar -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
+ am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
+ am__untar='cpio -i -H ustar -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_ustar}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
+ (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
+ ($am__untar <conftest.tar) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
+ (cat conftest.dir/file) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ if ${am_cv_prog_tar_ustar+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ am_cv_prog_tar_ustar=$_am_tool
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
+$as_echo "$am_cv_prog_tar_ustar" >&6; }
+
+
+
+
+
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=0;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+
+# We want new Libtool. None of that old stuff. Pfft.
+
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
+if test "x$ac_cv_header_minix_config_h" = xyes; then :
+ MINIX=yes
+else
+ MINIX=
+fi
+
+
+ if test "$MINIX" = yes; then
+
+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
+
+
+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
+
+
+$as_echo "#define _MINIX 1" >>confdefs.h
+
+ fi
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
+if ${ac_cv_safe_to_define___extensions__+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+# define __EXTENSIONS__ 1
+ $ac_includes_default
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_safe_to_define___extensions__=yes
+else
+ ac_cv_safe_to_define___extensions__=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
+ test $ac_cv_safe_to_define___extensions__ = yes &&
+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
+
+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
+
+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
+
+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
+
+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
+
+
+
+####################################################################
+# Setup the configure-results header file
+####################################################################
+
+
+
+
+####################################################################
+# Setup C compiler
+####################################################################
+
+CFLAGS_save="$CFLAGS"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CXX" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+
+CFLAGS="$CFLAGS_save"
+# This did not exist pre AM 1.11.x (where x is somewhere >0 and <3),
+# but it is necessary in AM 1.12.x.
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar lib "link -lib"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar lib "link -lib"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
+$as_echo_n "checking the archiver ($AR) interface... " >&6; }
+if ${am_cv_ar_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ am_cv_ar_interface=ar
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int some_variable = 0;
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
+ (eval $am_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=ar
+ else
+ am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
+ (eval $am_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test "$ac_status" -eq 0; then
+ am_cv_ar_interface=lib
+ else
+ am_cv_ar_interface=unknown
+ fi
+ fi
+ rm -f conftest.lib libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
+$as_echo "$am_cv_ar_interface" >&6; }
+
+case $am_cv_ar_interface in
+ar)
+ ;;
+lib)
+ # Microsoft lib, so override with the ar-lib wrapper script.
+ # FIXME: It is wrong to rewrite AR.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__AR in this case,
+ # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
+ # similar.
+ AR="$am_aux_dir/ar-lib $AR"
+ ;;
+unknown)
+ as_fn_error $? "could not determine $AR interface" "$LINENO" 5
+ ;;
+esac
+
+
+
+if test -z "$CC_FOR_BUILD"; then :
+
+ CC_FOR_BUILD=$CC
+
+
+fi
+
+####################################################################
+# CLI arguments
+####################################################################
+
+# Define hwloc's configure arguments
+
+ # Embedded mode, or standalone?
+ # Check whether --enable-embedded-mode was given.
+if test "${enable_embedded_mode+set}" = set; then :
+ enableval=$enable_embedded_mode;
+fi
+
+
+ # Change the symbol prefix?
+
+# Check whether --with-hwloc-symbol-prefix was given.
+if test "${with_hwloc_symbol_prefix+set}" = set; then :
+ withval=$with_hwloc_symbol_prefix;
+fi
+
+
+ # Debug mode?
+ # Check whether --enable-debug was given.
+if test "${enable_debug+set}" = set; then :
+ enableval=$enable_debug;
+fi
+
+
+ # Doxygen?
+ # Check whether --enable-doxygen was given.
+if test "${enable_doxygen+set}" = set; then :
+ enableval=$enable_doxygen;
+fi
+
+
+ # Picky?
+ # Check whether --enable-picky was given.
+if test "${enable_picky+set}" = set; then :
+ enableval=$enable_picky;
+fi
+
+
+ # Cairo?
+ # Check whether --enable-cairo was given.
+if test "${enable_cairo+set}" = set; then :
+ enableval=$enable_cairo;
+fi
+
+
+ # CPUID
+ # Check whether --enable-cpuid was given.
+if test "${enable_cpuid+set}" = set; then :
+ enableval=$enable_cpuid;
+fi
+
+
+ # XML using libxml2?
+ # Check whether --enable-libxml2 was given.
+if test "${enable_libxml2+set}" = set; then :
+ enableval=$enable_libxml2;
+fi
+
+
+ # PCI?
+ # Check whether --enable-pci was given.
+if test "${enable_pci+set}" = set; then :
+ enableval=$enable_pci;
+fi
+
+
+ # OpenCL?
+ # Check whether --enable-opencl was given.
+if test "${enable_opencl+set}" = set; then :
+ enableval=$enable_opencl;
+fi
+
+
+ # CUDA?
+ # Check whether --enable-cuda was given.
+if test "${enable_cuda+set}" = set; then :
+ enableval=$enable_cuda;
+fi
+
+
+ # NVML?
+ # Check whether --enable-nvml was given.
+if test "${enable_nvml+set}" = set; then :
+ enableval=$enable_nvml;
+fi
+
+
+ # GL/Display
+ # Check whether --enable-gl was given.
+if test "${enable_gl+set}" = set; then :
+ enableval=$enable_gl;
+fi
+
+
+ # Linux libnuma
+ # Check whether --enable-libnuma was given.
+if test "${enable_libnuma+set}" = set; then :
+ enableval=$enable_libnuma;
+fi
+
+
+ # LibUdev
+ # Check whether --enable-libudev was given.
+if test "${enable_libudev+set}" = set; then :
+ enableval=$enable_libudev;
+fi
+
+
+ # Plugins
+ # Check whether --enable-plugins was given.
+if test "${enable_plugins+set}" = set; then :
+ enableval=$enable_plugins;
+fi
+
+
+
+
+# If debug mode, add -g
+if test "$hwloc_debug" = "1"; then :
+ CFLAGS="$CFLAGS -g"
+fi
+
+# If the user didn't specifically ask for embedding mode, default to
+# standalone mode
+if test "$enable_embedded_mode" != "yes"; then :
+ if test ! -d "$srcdir/doc"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The hwloc source tree looks incomplete for a standalone" >&5
+$as_echo "$as_me: WARNING: The hwloc source tree looks incomplete for a standalone" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: build. Perhaps this hwloc tree is intended for an embedded" >&5
+$as_echo "$as_me: WARNING: build. Perhaps this hwloc tree is intended for an embedded" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: build? Try using the --enable-embedded-mode switch." >&5
+$as_echo "$as_me: WARNING: build? Try using the --enable-embedded-mode switch." >&2;}
+ as_fn_error $? "Cannot build standalone hwloc" "$LINENO" 5
+else
+
+ hwloc_mode=standalone
+
+fi
+fi
+
+####################################################################
+# Setup for the hwloc API
+####################################################################
+
+# Setup the hwloc core
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ HWLOC_pkg_min_version=0.9.0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $HWLOC_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $HWLOC_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $HWLOC_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
+$as_echo_n "checking for X... " >&6; }
+
+
+# Check whether --with-x was given.
+if test "${with_x+set}" = set; then :
+ withval=$with_x;
+fi
+
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+if test "x$with_x" = xno; then
+ # The user explicitly disabled X.
+ have_x=disabled
+else
+ case $x_includes,$x_libraries in #(
+ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
+ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # One or both of the vars are not set, and there is no cached value.
+ac_x_includes=no ac_x_libraries=no
+rm -f -r conftest.dir
+if mkdir conftest.dir; then
+ cd conftest.dir
+ cat >Imakefile <<'_ACEOF'
+incroot:
+ @echo incroot='${INCROOT}'
+usrlibdir:
+ @echo usrlibdir='${USRLIBDIR}'
+libdir:
+ @echo libdir='${LIBDIR}'
+_ACEOF
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
+ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+ for ac_var in incroot usrlibdir libdir; do
+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
+ done
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
+ for ac_extension in a so sl dylib la dll; do
+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
+ test -f "$ac_im_libdir/libX11.$ac_extension"; then
+ ac_im_usrlibdir=$ac_im_libdir; break
+ fi
+ done
+ # Screen out bogus values from the imake configuration. They are
+ # bogus both because they are the default anyway, and because
+ # using them would break gcc on systems where it needs fixed includes.
+ case $ac_im_incroot in
+ /usr/include) ac_x_includes= ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
+ esac
+ case $ac_im_usrlibdir in
+ /usr/lib | /usr/lib64 | /lib | /lib64) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
+ esac
+ fi
+ cd ..
+ rm -f -r conftest.dir
+fi
+
+# Standard set of common directories for X headers.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ac_x_header_dirs='
+/usr/X11/include
+/usr/X11R7/include
+/usr/X11R6/include
+/usr/X11R5/include
+/usr/X11R4/include
+
+/usr/include/X11
+/usr/include/X11R7
+/usr/include/X11R6
+/usr/include/X11R5
+/usr/include/X11R4
+
+/usr/local/X11/include
+/usr/local/X11R7/include
+/usr/local/X11R6/include
+/usr/local/X11R5/include
+/usr/local/X11R4/include
+
+/usr/local/include/X11
+/usr/local/include/X11R7
+/usr/local/include/X11R6
+/usr/local/include/X11R5
+/usr/local/include/X11R4
+
+/usr/X386/include
+/usr/x386/include
+/usr/XFree86/include/X11
+
+/usr/include
+/usr/local/include
+/usr/unsupported/include
+/usr/athena/include
+/usr/local/x11r5/include
+/usr/lpp/Xamples/include
+
+/usr/openwin/include
+/usr/openwin/share/include'
+
+if test "$ac_x_includes" = no; then
+ # Guess where to find include files, by looking for Xlib.h.
+ # First, try using that file with no special directory specified.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <X11/Xlib.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # We can compile using X headers with no special include directory.
+ac_x_includes=
+else
+ for ac_dir in $ac_x_header_dirs; do
+ if test -r "$ac_dir/X11/Xlib.h"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+done
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+fi # $ac_x_includes = no
+
+if test "$ac_x_libraries" = no; then
+ # Check for the libraries.
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS=$LIBS
+ LIBS="-lX11 $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <X11/Xlib.h>
+int
+main ()
+{
+XrmInitialize ()
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ LIBS=$ac_save_LIBS
+# We can link X programs with no special library path.
+ac_x_libraries=
+else
+ LIBS=$ac_save_LIBS
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+do
+ # Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl dylib la dll; do
+ if test -r "$ac_dir/libX11.$ac_extension"; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi # $ac_x_libraries = no
+
+case $ac_x_includes,$ac_x_libraries in #(
+ no,* | *,no | *\'*)
+ # Didn't find X, or a directory has "'" in its name.
+ ac_cv_have_x="have_x=no";; #(
+ *)
+ # Record where we found X for the cache.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$ac_x_includes'\
+ ac_x_libraries='$ac_x_libraries'"
+esac
+fi
+;; #(
+ *) have_x=yes;;
+ esac
+ eval "$ac_cv_have_x"
+fi # $with_x != no
+
+if test "$have_x" != yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
+$as_echo "$have_x" >&6; }
+ no_x=yes
+else
+ # If each of the values was on the command line, it overrides each guess.
+ test "x$x_includes" = xNONE && x_includes=$ac_x_includes
+ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
+ # Update the cache value to reflect the command line values.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$x_includes'\
+ ac_x_libraries='$x_libraries'"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
+fi
+
+
+
+
+
+
+ if test "x1" != "x"; then :
+ cat <<EOF
+
+###
+### Configuring hwloc core
+###
+EOF
+fi
+
+ # If no prefix was defined, set a good value
+
+
+ # Unless previously set to "standalone" mode, default to embedded
+ # mode
+ if test "$hwloc_mode" = ""; then :
+ hwloc_mode=embedded
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking hwloc building mode" >&5
+$as_echo_n "checking hwloc building mode... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_mode" >&5
+$as_echo "$hwloc_mode" >&6; }
+
+ # Get hwloc's absolute top builddir (which may not be the same as
+ # the real $top_builddir, because we may be building in embedded
+ # mode).
+ HWLOC_startdir=`pwd`
+ if test x"" != "x" -a ! -d ""; then
+ mkdir -p ""
+ fi
+ if test x"" != "x"; then
+ cd ""
+ fi
+ HWLOC_top_builddir=`pwd`
+
+
+ # Get hwloc's absolute top srcdir (which may not be the same as
+ # the real $top_srcdir, because we may be building in embedded
+ # mode). First, go back to the startdir incase the $srcdir is
+ # relative.
+
+ cd "$HWLOC_startdir"
+ cd "$srcdir"/
+ HWLOC_top_srcdir="`pwd`"
+
+
+ # Go back to where we started
+ cd "$HWLOC_startdir"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: hwloc builddir: $HWLOC_top_builddir" >&5
+$as_echo "$as_me: hwloc builddir: $HWLOC_top_builddir" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: hwloc srcdir: $HWLOC_top_srcdir" >&5
+$as_echo "$as_me: hwloc srcdir: $HWLOC_top_srcdir" >&6;}
+ if test "$HWLOC_top_builddir" != "$HWLOC_top_srcdir"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Detected VPATH build" >&5
+$as_echo "$as_me: Detected VPATH build" >&6;}
+ fi
+
+ # Get the version of hwloc that we are installing
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hwloc version" >&5
+$as_echo_n "checking for hwloc version... " >&6; }
+ HWLOC_VERSION="`$HWLOC_top_srcdir/config/hwloc_get_version.sh $HWLOC_top_srcdir/VERSION`"
+ if test "$?" != "0"; then
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+ fi
+ HWLOC_RELEASE_DATE="`$HWLOC_top_srcdir/config/hwloc_get_version.sh $HWLOC_top_srcdir/VERSION --release-date`"
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_VERSION "$HWLOC_VERSION"
+_ACEOF
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HWLOC_VERSION" >&5
+$as_echo "$HWLOC_VERSION" >&6; }
+
+ # Debug mode?
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if want hwloc maintainer support" >&5
+$as_echo_n "checking if want hwloc maintainer support... " >&6; }
+ hwloc_debug=
+
+ # Unconditionally disable debug mode in embedded mode; if someone
+ # asks, we can add a configure-time option for it. Disable it
+ # now, however, because --enable-debug is not even added as an
+ # option when configuring in embedded mode, and we wouldn't want
+ # to hijack the enclosing application's --enable-debug configure
+ # switch.
+ if test "$hwloc_mode" = "embedded"; then :
+ hwloc_debug=0
+ hwloc_debug_msg="disabled (embedded mode)"
+fi
+ if test "$hwloc_debug" = "" -a "$enable_debug" = "yes"; then :
+ hwloc_debug=1
+ hwloc_debug_msg="enabled"
+fi
+ if test "$hwloc_debug" = ""; then :
+ hwloc_debug=0
+ hwloc_debug_msg="disabled"
+fi
+ # Grr; we use #ifndef for HWLOC_DEBUG! :-(
+
+ if test "$hwloc_debug" = "1"; then :
+ $as_echo "#define HWLOC_DEBUG 1" >>confdefs.h
+
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_debug_msg" >&5
+$as_echo "$hwloc_debug_msg" >&6; }
+
+ # We need to set a path for header, etc files depending on whether
+ # we're standalone or embedded. this is taken care of by HWLOC_EMBEDDED.
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hwloc directory prefix" >&5
+$as_echo_n "checking for hwloc directory prefix... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
+$as_echo "(none)" >&6; }
+
+ # Note that private/config.h *MUST* be listed first so that it
+ # becomes the "main" config header file. Any AC-CONFIG-HEADERS
+ # after that (hwloc/config.h) will only have selective #defines
+ # replaced, not the entire file.
+ ac_config_headers="$ac_config_headers include/private/autogen/config.h"
+
+ ac_config_headers="$ac_config_headers include/hwloc/autogen/config.h"
+
+
+ # What prefix are we using?
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hwloc symbol prefix" >&5
+$as_echo_n "checking for hwloc symbol prefix... " >&6; }
+ if test "$hwloc_symbol_prefix_value" = ""; then :
+ if test "$with_hwloc_symbol_prefix" = ""; then :
+ hwloc_symbol_prefix_value=hwloc_
+else
+ hwloc_symbol_prefix_value=$with_hwloc_symbol_prefix
+fi
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_SYM_PREFIX $hwloc_symbol_prefix_value
+_ACEOF
+
+ # Ensure to [] escape the whole next line so that we can get the
+ # proper tr tokens
+ hwloc_symbol_prefix_value_caps="`echo $hwloc_symbol_prefix_value | tr '[:lower:]' '[:upper:]'`"
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_SYM_PREFIX_CAPS $hwloc_symbol_prefix_value_caps
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_symbol_prefix_value" >&5
+$as_echo "$hwloc_symbol_prefix_value" >&6; }
+
+ # Give an easy #define to know if we need to transform all the
+ # hwloc names
+
+ if test "$hwloc_symbol_prefix_value" = "hwloc_"; then :
+ $as_echo "#define HWLOC_SYM_TRANSFORM 0" >>confdefs.h
+
+else
+ $as_echo "#define HWLOC_SYM_TRANSFORM 1" >>confdefs.h
+
+fi
+
+ # GCC specifics.
+ if test "x$GCC" = "xyes"; then
+ HWLOC_GCC_CFLAGS="-Wall -Wmissing-prototypes -Wundef"
+ HWLOC_GCC_CFLAGS="$HWLOC_GCC_CFLAGS -Wpointer-arith -Wcast-align"
+ fi
+
+ # Enample system extensions for O_DIRECTORY, fdopen, fssl, etc.
+
+
+$as_echo "#define _HPUX_SOURCE 1" >>confdefs.h
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ # Check to see if we're producing a 32 or 64 bit executable by
+ # checking the sizeof void*. Note that AC CHECK_SIZEOF even works
+ # when cross compiling (!), according to the AC 2.64 docs. This
+ # check is needed because on some systems, you can instruct the
+ # compiler to specifically build 32 or 64 bit executables -- even
+ # though the $target may indicate something different.
+ # The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
+$as_echo_n "checking size of void *... " >&6; }
+if ${ac_cv_sizeof_void_p+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
+
+else
+ if test "$ac_cv_type_void_p" = yes; then
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute sizeof (void *)
+See \`config.log' for more details" "$LINENO" 5; }
+ else
+ ac_cv_sizeof_void_p=0
+ fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
+$as_echo "$ac_cv_sizeof_void_p" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
+_ACEOF
+
+
+
+ #
+ # List of components to be built, either statically or dynamically.
+ # To be enlarged below.
+ #
+ hwloc_components="noos xml synthetic custom xml_nolibxml"
+
+ #
+ # Check OS support
+ #
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which OS support to include" >&5
+$as_echo_n "checking which OS support to include... " >&6; }
+ case ${target} in
+ powerpc64-bgq-linux*) # must be before Linux
+
+$as_echo "#define HWLOC_BGQ_SYS 1" >>confdefs.h
+
+ hwloc_bgq=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: bgq" >&5
+$as_echo "bgq" >&6; }
+ hwloc_components="$hwloc_components bgq"
+ ;;
+ *-*-linux*)
+
+$as_echo "#define HWLOC_LINUX_SYS 1" >>confdefs.h
+
+ hwloc_linux=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
+$as_echo "Linux" >&6; }
+ hwloc_components="$hwloc_components linux"
+ if test x$enable_pci != xno; then
+ hwloc_components="$hwloc_components linuxpci"
+
+$as_echo "#define HWLOC_HAVE_LINUXPCI 1" >>confdefs.h
+
+ hwloc_linuxpci_happy=yes
+ fi
+ ;;
+ *-*-irix*)
+
+$as_echo "#define HWLOC_IRIX_SYS 1" >>confdefs.h
+
+ hwloc_irix=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: IRIX" >&5
+$as_echo "IRIX" >&6; }
+ # no irix component yet
+ ;;
+ *-*-darwin*)
+
+$as_echo "#define HWLOC_DARWIN_SYS 1" >>confdefs.h
+
+ hwloc_darwin=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
+$as_echo "Darwin" >&6; }
+ hwloc_components="$hwloc_components darwin"
+ ;;
+ *-*-solaris*)
+
+$as_echo "#define HWLOC_SOLARIS_SYS 1" >>confdefs.h
+
+ hwloc_solaris=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5
+$as_echo "Solaris" >&6; }
+ hwloc_components="$hwloc_components solaris"
+ ;;
+ *-*-aix*)
+
+$as_echo "#define HWLOC_AIX_SYS 1" >>confdefs.h
+
+ hwloc_aix=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: AIX" >&5
+$as_echo "AIX" >&6; }
+ hwloc_components="$hwloc_components aix"
+ ;;
+ *-*-osf*)
+
+$as_echo "#define HWLOC_OSF_SYS 1" >>confdefs.h
+
+ hwloc_osf=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: OSF" >&5
+$as_echo "OSF" >&6; }
+ hwloc_components="$hwloc_components osf"
+ ;;
+ *-*-hpux*)
+
+$as_echo "#define HWLOC_HPUX_SYS 1" >>confdefs.h
+
+ hwloc_hpux=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP-UX" >&5
+$as_echo "HP-UX" >&6; }
+ hwloc_components="$hwloc_components hpux"
+ ;;
+ *-*-mingw*|*-*-cygwin*)
+
+$as_echo "#define HWLOC_WIN_SYS 1" >>confdefs.h
+
+ hwloc_windows=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Windows" >&5
+$as_echo "Windows" >&6; }
+ hwloc_components="$hwloc_components windows"
+ ;;
+ *-*-*freebsd*)
+
+$as_echo "#define HWLOC_FREEBSD_SYS 1" >>confdefs.h
+
+ hwloc_freebsd=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: FreeBSD" >&5
+$as_echo "FreeBSD" >&6; }
+ hwloc_components="$hwloc_components freebsd"
+ ;;
+ *-*-*netbsd*)
+
+$as_echo "#define HWLOC_NETBSD_SYS 1" >>confdefs.h
+
+ hwloc_netbsd=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: NetBSD" >&5
+$as_echo "NetBSD" >&6; }
+ hwloc_components="$hwloc_components netbsd"
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unsupported! ($target)" >&5
+$as_echo "Unsupported! ($target)" >&6; }
+
+$as_echo "#define HWLOC_UNSUPPORTED_SYS 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***********************************************************" >&5
+$as_echo "$as_me: WARNING: ***********************************************************" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** hwloc does not support this system." >&5
+$as_echo "$as_me: WARNING: *** hwloc does not support this system." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** hwloc will *attempt* to build (but it may not work)." >&5
+$as_echo "$as_me: WARNING: *** hwloc will *attempt* to build (but it may not work)." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** hwloc run-time results may be reduced to showing just one processor," >&5
+$as_echo "$as_me: WARNING: *** hwloc run-time results may be reduced to showing just one processor," >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** and binding will likely not be supported." >&5
+$as_echo "$as_me: WARNING: *** and binding will likely not be supported." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You have been warned." >&5
+$as_echo "$as_me: WARNING: *** You have been warned." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Pausing to give you time to read this message..." >&5
+$as_echo "$as_me: WARNING: *** Pausing to give you time to read this message..." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***********************************************************" >&5
+$as_echo "$as_me: WARNING: ***********************************************************" >&2;}
+ sleep 10
+ ;;
+ esac
+
+ #
+ # Check CPU support
+ #
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which CPU support to include" >&5
+$as_echo_n "checking which CPU support to include... " >&6; }
+ case ${target} in
+ i*86-*-*|x86_64-*-*|amd64-*-*)
+ case ${ac_cv_sizeof_void_p} in
+ 4)
+
+$as_echo "#define HWLOC_X86_32_ARCH 1" >>confdefs.h
+
+ hwloc_x86_32=yes
+ HWLOC_MS_LIB_ARCH=X86
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86_32" >&5
+$as_echo "x86_32" >&6; }
+ ;;
+ 8)
+
+$as_echo "#define HWLOC_X86_64_ARCH 1" >>confdefs.h
+
+ hwloc_x86_64=yes
+ HWLOC_MS_LIB_ARCH=X64
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86_64" >&5
+$as_echo "x86_64" >&6; }
+ ;;
+ *)
+
+$as_echo "#define HWLOC_X86_64_ARCH 1" >>confdefs.h
+
+ hwloc_x86_64=yes
+ HWLOC_MS_LIB_ARCH=X64
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown -- assuming x86_64" >&5
+$as_echo "unknown -- assuming x86_64" >&6; }
+ ;;
+ esac
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
+$as_echo "unknown" >&6; }
+ ;;
+ esac
+
+
+ # The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
+$as_echo_n "checking size of unsigned long... " >&6; }
+if ${ac_cv_sizeof_unsigned_long+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
+
+else
+ if test "$ac_cv_type_unsigned_long" = yes; then
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute sizeof (unsigned long)
+See \`config.log' for more details" "$LINENO" 5; }
+ else
+ ac_cv_sizeof_unsigned_long=0
+ fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
+$as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
+_ACEOF
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
+_ACEOF
+
+ # The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
+$as_echo_n "checking size of unsigned int... " >&6; }
+if ${ac_cv_sizeof_unsigned_int+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
+
+else
+ if test "$ac_cv_type_unsigned_int" = yes; then
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute sizeof (unsigned int)
+See \`config.log' for more details" "$LINENO" 5; }
+ else
+ ac_cv_sizeof_unsigned_int=0
+ fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
+$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
+_ACEOF
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
+_ACEOF
+
+
+ #
+ # Check for compiler attributes and visibility
+ #
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the C compiler vendor" >&5
+$as_echo_n "checking for the C compiler vendor... " >&6; }
+if ${hwloc_cv_c_compiler_vendor+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ hwloc_check_compiler_vendor_result="unknown"
+
+ # GNU is probably the most common, so check that one as soon as
+ # possible. Intel and Android pretend to be GNU, so need to
+ # check Intel and Android before checking for GNU.
+
+ # Android
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __ANDROID__
+#error "symbol __ANDROID__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="android"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Intel
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__INTEL_COMPILER) || defined(__ICC) )
+#error "condition defined(__INTEL_COMPILER) || defined(__ICC) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="intel"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # GNU
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __GNUC__
+#error "symbol __GNUC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="gnu"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Borland Turbo C
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __TURBOC__
+#error "symbol __TURBOC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="borland"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Borland C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __BORLANDC__
+#error "symbol __BORLANDC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="borland"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Comeau C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __COMO__
+#error "symbol __COMO__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="comeau"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Compaq C/C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__DECC) || defined(VAXC) || defined(__VAXC) )
+#error "condition defined(__DECC) || defined(VAXC) || defined(__VAXC) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="compaq"
+else
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__osf__) && defined(__LANGUAGE_C__) )
+#error "condition defined(__osf__) && defined(__LANGUAGE_C__) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="compaq"
+else
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __DECCXX
+#error "symbol __DECCXX not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="compaq"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Cray C/C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef _CRAYC
+#error "symbol _CRAYC not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="cray"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Diab C/C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __DCC__
+#error "symbol __DCC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="diab"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Digital Mars
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__DMC__) || defined(__SC__) || defined(__ZTC__) )
+#error "condition defined(__DMC__) || defined(__SC__) || defined(__ZTC__) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="digital mars"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # HP ANSI C / aC++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__HP_cc) || defined(__HP_aCC) )
+#error "condition defined(__HP_cc) || defined(__HP_aCC) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="hp"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # IBM XL C/C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__) )
+#error "condition defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="ibm"
+else
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(_AIX) && !defined(__GNUC__) )
+#error "condition defined(_AIX) && !defined(__GNUC__) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="ibm"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # KAI C++ (rest in peace)
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __KCC
+#error "symbol __KCC not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="kai"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # LCC
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __LCC__
+#error "symbol __LCC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="lcc"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # MetaWare High C/C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __HIGHC__
+#error "symbol __HIGHC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="metaware high"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Metrowerks Codewarrior
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __MWERKS__
+#error "symbol __MWERKS__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="metrowerks"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # MIPSpro (SGI)
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(sgi) || defined(__sgi) )
+#error "condition defined(sgi) || defined(__sgi) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="sgi"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # MPW C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS) )
+#error "condition defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="mpw"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Microsoft
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+ # Always use C compiler when checking for Microsoft, as
+ # Visual C++ doesn't recognize .cc as a C++ file.
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(_MSC_VER) || defined(__MSC_VER) )
+#error "condition defined(_MSC_VER) || defined(__MSC_VER) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="microsoft"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+
+ # Norcroft C
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __CC_NORCROFT
+#error "symbol __CC_NORCROFT not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="norcroft"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Pelles C
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __POCC__
+#error "symbol __POCC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="pelles"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Portland Group
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __PGI
+#error "symbol __PGI not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="portland group"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # SAS/C
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(SASC) || defined(__SASC) || defined(__SASC__) )
+#error "condition defined(SASC) || defined(__SASC) || defined(__SASC__) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="sas"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Sun Workshop C/C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#if !( defined(__SUNPRO_C) || defined(__SUNPRO_CC) )
+#error "condition defined(__SUNPRO_C) || defined(__SUNPRO_CC) not met"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="sun"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # TenDRA C/C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __TenDRA__
+#error "symbol __TenDRA__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="tendra"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Tiny C
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __TINYC__
+#error "symbol __TINYC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="tiny"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # USL C
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __USLC__
+#error "symbol __USLC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="usl"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ # Watcom C++
+ if test "$hwloc_check_compiler_vendor_result" = "unknown"; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __WATCOMC__
+#error "symbol __WATCOMC__ not defined"
+choke me
+#endif
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_check_compiler_vendor_result="watcom"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+ hwloc_cv_c_compiler_vendor="$hwloc_check_compiler_vendor_result"
+ unset hwloc_check_compiler_vendor_result
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_cv_c_compiler_vendor" >&5
+$as_echo "$hwloc_cv_c_compiler_vendor" >&6; }
+
+ hwloc_c_vendor="$hwloc_cv_c_compiler_vendor"
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
+$as_echo_n "checking for __attribute__... " >&6; }
+
+ if ${hwloc_cv___attribute__+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+ /* Check for the longest available __attribute__ (since gcc-2.3) */
+ struct foo {
+ char a;
+ int x[2] __attribute__ ((__packed__));
+ };
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__=1
+else
+ hwloc_cv___attribute__=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ if test "$hwloc_cv___attribute__" = "1" ; then
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+ /* Check for the longest available __attribute__ (since gcc-2.3) */
+ struct foo {
+ char a;
+ int x[2] __attribute__ ((__packed__));
+ };
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__=1
+else
+ hwloc_cv___attribute__=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+
+fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE $hwloc_cv___attribute__
+_ACEOF
+
+
+#
+# Now that we know the compiler support __attribute__ let's check which kind of
+# attributed are supported.
+#
+ if test "$hwloc_cv___attribute__" = "0" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_cv___attribute__aligned=0
+ hwloc_cv___attribute__always_inline=0
+ hwloc_cv___attribute__cold=0
+ hwloc_cv___attribute__const=0
+ hwloc_cv___attribute__deprecated=0
+ hwloc_cv___attribute__format=0
+ hwloc_cv___attribute__hot=0
+ hwloc_cv___attribute__malloc=0
+ hwloc_cv___attribute__may_alias=0
+ hwloc_cv___attribute__no_instrument_function=0
+ hwloc_cv___attribute__nonnull=0
+ hwloc_cv___attribute__noreturn=0
+ hwloc_cv___attribute__packed=0
+ hwloc_cv___attribute__pure=0
+ hwloc_cv___attribute__sentinel=0
+ hwloc_cv___attribute__unused=0
+ hwloc_cv___attribute__warn_unused_result=0
+ hwloc_cv___attribute__weak_alias=0
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(aligned)" >&5
+$as_echo_n "checking for __attribute__(aligned)... " >&6; }
+ if ${hwloc_cv___attribute__aligned+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+struct foo { char text[4]; } __attribute__ ((__aligned__(8)));
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__aligned=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__aligned=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__aligned=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__aligned" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__aligned=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__aligned=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__aligned=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__aligned" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+ #
+ # Ignored by PGI-6.2.5; -- recognized by output-parser
+ #
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(always_inline)" >&5
+$as_echo_n "checking for __attribute__(always_inline)... " >&6; }
+ if ${hwloc_cv___attribute__always_inline+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo (int arg) __attribute__ ((__always_inline__));
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__always_inline=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__always_inline=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__always_inline=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__always_inline" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__always_inline=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__always_inline=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__always_inline=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__always_inline" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(cold)" >&5
+$as_echo_n "checking for __attribute__(cold)... " >&6; }
+ if ${hwloc_cv___attribute__cold+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int foo(int arg1, int arg2) __attribute__ ((__cold__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__cold=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__cold=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__cold=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__cold" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__cold=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__cold=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__cold=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__cold" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(const)" >&5
+$as_echo_n "checking for __attribute__(const)... " >&6; }
+ if ${hwloc_cv___attribute__const+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int foo(int arg1, int arg2) __attribute__ ((__const__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__const=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__const=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__const=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__const" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__const=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__const=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__const=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__const" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(deprecated)" >&5
+$as_echo_n "checking for __attribute__(deprecated)... " >&6; }
+ if ${hwloc_cv___attribute__deprecated+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int foo(int arg1, int arg2) __attribute__ ((__deprecated__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__deprecated=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__deprecated=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__deprecated=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__deprecated" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__deprecated=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__deprecated=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__deprecated=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__deprecated" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we want specifically the warning on format string conversion
+ HWLOC_ATTRIBUTE_CFLAGS="-we181"
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(format)" >&5
+$as_echo_n "checking for __attribute__(format)... " >&6; }
+ if ${hwloc_cv___attribute__format+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int this_printf (void *my_object, const char *my_format, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__format=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__format=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__format=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__format" = "1" -a "
+ static int usage (int * argument);
+ extern int this_printf (int arg1, const char *my_format, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
+
+ static int usage (int * argument) {
+ return this_printf (*argument, "%d", argument); /* This should produce a format warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ " != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS $HWLOC_ATTRIBUTE_CFLAGS"
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ static int usage (int * argument);
+ extern int this_printf (int arg1, const char *my_format, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
+
+ static int usage (int * argument) {
+ return this_printf (*argument, "%d", argument); /* This should produce a format warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__format=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__format=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__format=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__format" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(hot)" >&5
+$as_echo_n "checking for __attribute__(hot)... " >&6; }
+ if ${hwloc_cv___attribute__hot+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int foo(int arg1, int arg2) __attribute__ ((__hot__));
+ int foo(int arg1, int arg2) { return arg1 * arg2 + arg1; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__hot=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__hot=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__hot=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__hot" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__hot=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__hot=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__hot=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__hot" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(malloc)" >&5
+$as_echo_n "checking for __attribute__(malloc)... " >&6; }
+ if ${hwloc_cv___attribute__malloc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+ int * foo(int arg1) __attribute__ ((__malloc__));
+ int * foo(int arg1) { return (int*) malloc(arg1); }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__malloc=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__malloc=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__malloc=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__malloc" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__malloc=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__malloc=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__malloc=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__malloc" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ #
+ # Attribute may_alias: No suitable cross-check available, that works for non-supporting compilers
+ # Ignored by intel-9.1.045 -- turn off with -wd1292
+ # Ignored by PGI-6.2.5; ignore not detected due to missing cross-check
+ # The test case is chosen to match our only use in topology-xml-*.c, and reproduces an xlc-13.1.0 bug.
+ #
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(may_alias)" >&5
+$as_echo_n "checking for __attribute__(may_alias)... " >&6; }
+ if ${hwloc_cv___attribute__may_alias+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+struct { int i; } __attribute__ ((__may_alias__)) * p_value;
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__may_alias=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__may_alias=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__may_alias=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__may_alias" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__may_alias=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__may_alias=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__may_alias=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__may_alias" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(no_instrument_function)" >&5
+$as_echo_n "checking for __attribute__(no_instrument_function)... " >&6; }
+ if ${hwloc_cv___attribute__no_instrument_function+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int * foo(int arg1) __attribute__ ((__no_instrument_function__));
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__no_instrument_function=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__no_instrument_function=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__no_instrument_function=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__no_instrument_function" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__no_instrument_function=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__no_instrument_function=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__no_instrument_function=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__no_instrument_function" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ #
+ # Attribute nonnull:
+ # Ignored by intel-compiler 9.1.045 -- recognized by cross-check
+ # Ignored by PGI-6.2.5 (pgCC) -- recognized by cross-check
+ #
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we do not want to get ignored attributes warnings, but rather real warnings
+ HWLOC_ATTRIBUTE_CFLAGS="-wd1292"
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(nonnull)" >&5
+$as_echo_n "checking for __attribute__(nonnull)... " >&6; }
+ if ${hwloc_cv___attribute__nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int square(int *arg) __attribute__ ((__nonnull__));
+ int square(int *arg) { return *arg; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__nonnull=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__nonnull=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__nonnull=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__nonnull" = "1" -a "
+ static int usage(int * argument);
+ int square(int * argument) __attribute__ ((__nonnull__));
+ int square(int * argument) { return (*argument) * (*argument); }
+
+ static int usage(int * argument) {
+ return square( ((void*)0) ); /* This should produce an argument must be nonnull warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ " != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS $HWLOC_ATTRIBUTE_CFLAGS"
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ static int usage(int * argument);
+ int square(int * argument) __attribute__ ((__nonnull__));
+ int square(int * argument) { return (*argument) * (*argument); }
+
+ static int usage(int * argument) {
+ return square( ((void*)0) ); /* This should produce an argument must be nonnull warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__nonnull=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__nonnull=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__nonnull=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__nonnull" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(noreturn)" >&5
+$as_echo_n "checking for __attribute__(noreturn)... " >&6; }
+ if ${hwloc_cv___attribute__noreturn+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+ void fatal(int arg1) __attribute__ ((__noreturn__));
+ void fatal(int arg1) { exit(arg1); }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__noreturn=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__noreturn=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__noreturn=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__noreturn" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__noreturn=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__noreturn=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__noreturn=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__noreturn" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(packed)" >&5
+$as_echo_n "checking for __attribute__(packed)... " >&6; }
+ if ${hwloc_cv___attribute__packed+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ struct foo {
+ char a;
+ int x[2] __attribute__ ((__packed__));
+ };
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__packed=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__packed=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__packed=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__packed" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__packed=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__packed=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__packed=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__packed" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(pure)" >&5
+$as_echo_n "checking for __attribute__(pure)... " >&6; }
+ if ${hwloc_cv___attribute__pure+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int square(int arg) __attribute__ ((__pure__));
+ int square(int arg) { return arg * arg; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__pure=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__pure=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__pure=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__pure" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__pure=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__pure=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__pure=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__pure" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+ #
+ # Attribute sentinel:
+ # Ignored by the intel-9.1.045 -- recognized by cross-check
+ # intel-10.0beta works fine
+ # Ignored by PGI-6.2.5 (pgCC) -- recognized by output-parser and cross-check
+ # Ignored by pathcc-2.2.1 -- recognized by cross-check (through grep ignore)
+ #
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we do not want to get ignored attributes warnings
+ HWLOC_ATTRIBUTE_CFLAGS="-wd1292"
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(sentinel)" >&5
+$as_echo_n "checking for __attribute__(sentinel)... " >&6; }
+ if ${hwloc_cv___attribute__sentinel+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int my_execlp(const char * file, const char *arg, ...) __attribute__ ((__sentinel__));
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__sentinel=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__sentinel=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__sentinel=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__sentinel" = "1" -a "
+ static int usage(int * argument);
+ int my_execlp(const char * file, const char *arg, ...) __attribute__ ((__sentinel__));
+
+ static int usage(int * argument) {
+ void * last_arg_should_be_null = argument;
+ return my_execlp ("lala", "/home/there", last_arg_should_be_null); /* This should produce a warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ " != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS $HWLOC_ATTRIBUTE_CFLAGS"
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ static int usage(int * argument);
+ int my_execlp(const char * file, const char *arg, ...) __attribute__ ((__sentinel__));
+
+ static int usage(int * argument) {
+ void * last_arg_should_be_null = argument;
+ return my_execlp ("lala", "/home/there", last_arg_should_be_null); /* This should produce a warning */
+ }
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__sentinel=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__sentinel=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__sentinel=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__sentinel" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(unused)" >&5
+$as_echo_n "checking for __attribute__(unused)... " >&6; }
+ if ${hwloc_cv___attribute__unused+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int square(int arg1 __attribute__ ((__unused__)), int arg2);
+ int square(int arg1, int arg2) { return arg2; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__unused=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__unused=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__unused=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__unused" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__unused=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__unused=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__unused=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__unused" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+ #
+ # Attribute warn_unused_result:
+ # Ignored by the intel-compiler 9.1.045 -- recognized by cross-check
+ # Ignored by pathcc-2.2.1 -- recognized by cross-check (through grep ignore)
+ #
+ HWLOC_ATTRIBUTE_CFLAGS=
+ case "$hwloc_c_vendor" in
+ gnu)
+ HWLOC_ATTRIBUTE_CFLAGS="-Wall"
+ ;;
+ intel)
+ # we do not want to get ignored attributes warnings
+ HWLOC_ATTRIBUTE_CFLAGS="-wd1292"
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(warn_unused_result)" >&5
+$as_echo_n "checking for __attribute__(warn_unused_result)... " >&6; }
+ if ${hwloc_cv___attribute__warn_unused_result+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int foo(int arg) __attribute__ ((__warn_unused_result__));
+ int foo(int arg) { return arg + 3; }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__warn_unused_result=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__warn_unused_result=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__warn_unused_result=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__warn_unused_result" = "1" -a "
+ static int usage(int * argument);
+ int foo(int arg) __attribute__ ((__warn_unused_result__));
+
+ int foo(int arg) { return arg + 3; }
+ static int usage(int * argument) {
+ foo (*argument); /* Should produce an unused result warning */
+ return 0;
+ }
+
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+ " != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS $HWLOC_ATTRIBUTE_CFLAGS"
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ static int usage(int * argument);
+ int foo(int arg) __attribute__ ((__warn_unused_result__));
+
+ int foo(int arg) { return arg + 3; }
+ static int usage(int * argument) {
+ foo (*argument); /* Should produce an unused result warning */
+ return 0;
+ }
+
+ /* The autoconf-generated main-function is int main(), which produces a warning by itself */
+ int main(void);
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__warn_unused_result=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__warn_unused_result=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__warn_unused_result=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__warn_unused_result" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__(weak_alias)" >&5
+$as_echo_n "checking for __attribute__(weak_alias)... " >&6; }
+ if ${hwloc_cv___attribute__weak_alias+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ #
+ # Try to compile using the C compiler
+ #
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ int foo(int arg);
+ int foo(int arg) { return arg + 3; }
+ int foo2(int arg) __attribute__ ((__weak__, __alias__("foo")));
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ #
+ # In case we did succeed: Fine, but was this due to the
+ # attribute being ignored/skipped? Grep for IgNoRe/skip in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__weak_alias=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__weak_alias=0
+ break;
+ fi
+ done
+ fi
+
+
+else
+ hwloc_cv___attribute__weak_alias=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ #
+ # If the attribute is supported by both compilers,
+ # try to recompile a *cross-check*, IFF defined.
+ #
+ if test '(' "$hwloc_cv___attribute__weak_alias" = "1" -a "" != "" ')' ; then
+ ac_c_werror_flag_safe=$ac_c_werror_flag
+ ac_c_werror_flag="yes"
+ CFLAGS_safe=$CFLAGS
+ CFLAGS="$CFLAGS "
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ int i=4711;
+ i=usage(&i);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ hwloc_cv___attribute__weak_alias=0
+else
+
+ #
+ # In case we did NOT succeed: Fine, but was this due to the
+ # attribute being ignored? Grep for IgNoRe in conftest.err
+ # and if found, reset the hwloc_cv__attribute__var=0
+ #
+ hwloc_cv___attribute__weak_alias=1
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ if test -s conftest.err ; then
+ for i in ignore skip ; do
+ $GREP -iq $i conftest.err
+ if test "$?" = "0" ; then
+ hwloc_cv___attribute__weak_alias=0
+ break;
+ fi
+ done
+ fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ ac_c_werror_flag=$ac_c_werror_flag_safe
+ CFLAGS=$CFLAGS_safe
+ fi
+
+fi
+
+
+ if test "$hwloc_cv___attribute__weak_alias" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+
+
+ fi
+
+ # Now that all the values are set, define them
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_ALIGNED $hwloc_cv___attribute__aligned
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_ALWAYS_INLINE $hwloc_cv___attribute__always_inline
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_COLD $hwloc_cv___attribute__cold
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_CONST $hwloc_cv___attribute__const
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_DEPRECATED $hwloc_cv___attribute__deprecated
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_FORMAT $hwloc_cv___attribute__format
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_HOT $hwloc_cv___attribute__hot
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_MALLOC $hwloc_cv___attribute__malloc
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS $hwloc_cv___attribute__may_alias
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_NO_INSTRUMENT_FUNCTION $hwloc_cv___attribute__no_instrument_function
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_NONNULL $hwloc_cv___attribute__nonnull
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_NORETURN $hwloc_cv___attribute__noreturn
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_PACKED $hwloc_cv___attribute__packed
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_PURE $hwloc_cv___attribute__pure
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_SENTINEL $hwloc_cv___attribute__sentinel
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_UNUSED $hwloc_cv___attribute__unused
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_WARN_UNUSED_RESULT $hwloc_cv___attribute__warn_unused_result
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_HAVE_ATTRIBUTE_WEAK_ALIAS $hwloc_cv___attribute__weak_alias
+_ACEOF
+
+
+
+ # Be safe for systems that have ancient Autoconf's (e.g., RHEL5)
+
+
+ # Check if the compiler has support for visibility, like some
+ # versions of gcc, icc, Sun Studio cc.
+ # Check whether --enable-visibility was given.
+if test "${enable_visibility+set}" = set; then :
+ enableval=$enable_visibility;
+fi
+
+
+ case ${target} in
+ *-*-aix*|*-*-mingw*|*-*-cygwin*|*-*-hpux*)
+ enable_visibility=no
+ ;;
+ esac
+
+ hwloc_visibility_define=0
+ hwloc_msg="whether to enable symbol visibility"
+ if test "$enable_visibility" = "no"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking $hwloc_msg" >&5
+$as_echo_n "checking $hwloc_msg... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (disabled)" >&5
+$as_echo "no (disabled)" >&6; }
+ else
+ CFLAGS_orig=$CFLAGS
+
+ hwloc_add=
+ case "$hwloc_c_vendor" in
+ sun)
+ # Check using Sun Studio -xldscope=hidden flag
+ hwloc_add=-xldscope=hidden
+ CFLAGS="$CFLAGS_orig $hwloc_add -errwarn=%all"
+ ;;
+
+ *)
+ # Check using -fvisibility=hidden
+ hwloc_add=-fvisibility=hidden
+ CFLAGS="$CFLAGS_orig $hwloc_add -Werror"
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $hwloc_add" >&5
+$as_echo_n "checking if $CC supports $hwloc_add... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <stdio.h>
+ __attribute__((visibility("default"))) int foo;
+
+int
+main ()
+{
+fprintf(stderr, "Hello, world\n");
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ if test -s conftest.err; then :
+ $GREP -iq visibility conftest.err
+ # If we find "visibility" in the stderr, then
+ # assume it doesn't work
+ if test "$?" = "0"; then :
+ hwloc_add=
+fi
+fi
+
+else
+ hwloc_add=
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test "$hwloc_add" = ""; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+
+ CFLAGS=$CFLAGS_orig
+ HWLOC_VISIBILITY_CFLAGS=$hwloc_add
+
+ if test "$hwloc_add" != "" ; then
+ hwloc_visibility_define=1
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking $hwloc_msg" >&5
+$as_echo_n "checking $hwloc_msg... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (via $hwloc_add)" >&5
+$as_echo "yes (via $hwloc_add)" >&6; }
+ elif test "$enable_visibility" = "yes"; then
+ as_fn_error $? "Symbol visibility support requested but compiler does not seem to support it. Aborting" "$LINENO" 5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking $hwloc_msg" >&5
+$as_echo_n "checking $hwloc_msg... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (unsupported)" >&5
+$as_echo "no (unsupported)" >&6; }
+ fi
+ unset hwloc_add
+ fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define HWLOC_C_HAVE_VISIBILITY $hwloc_visibility_define
+_ACEOF
+
+
+ HWLOC_CFLAGS="$HWLOC_FLAGS $HWLOC_VISIBILITY_CFLAGS"
+ if test "$HWLOC_VISIBILITY_CFLAGS" != ""; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$HWLOC_VISIBILITY_CFLAGS\" has been added to the hwloc CFLAGS" >&5
+$as_echo "$as_me: WARNING: \"$HWLOC_VISIBILITY_CFLAGS\" has been added to the hwloc CFLAGS" >&2;}
+fi
+
+ # Make sure the compiler returns an error code when function arg
+ # count is wrong, otherwise sched_setaffinity checks may fail.
+ HWLOC_STRICT_ARGS_CFLAGS=
+ hwloc_args_check=0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler rejects function calls with too many arguments" >&5
+$as_echo_n "checking whether the C compiler rejects function calls with too many arguments... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ extern int one_arg(int x);
+ int foo(void) { return one_arg(1, 2); }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+else
+ hwloc_args_check=1
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler rejects function calls with too few arguments" >&5
+$as_echo_n "checking whether the C compiler rejects function calls with too few arguments... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ extern int two_arg(int x, int y);
+ int foo(void) { return two_arg(3); }
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+else
+ hwloc_args_check=`expr $hwloc_args_check + 1`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test "$hwloc_args_check" != "2"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your C compiler does not consider incorrect argument counts to be a fatal error." >&5
+$as_echo "$as_me: WARNING: Your C compiler does not consider incorrect argument counts to be a fatal error." >&2;}
+ case "$hwloc_c_vendor" in
+ ibm)
+ HWLOC_STRICT_ARGS_CFLAGS="-qhalt=e"
+ ;;
+ intel)
+ HWLOC_STRICT_ARGS_CFLAGS="-we140"
+ ;;
+ *)
+ HWLOC_STRICT_ARGS_CFLAGS=FAIL
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please report this warning and configure using a different C compiler if possible." >&5
+$as_echo "$as_me: WARNING: Please report this warning and configure using a different C compiler if possible." >&2;}
+ ;;
+ esac
+ if test "$HWLOC_STRICT_ARGS_CFLAGS" != "FAIL"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Configure will append '$HWLOC_STRICT_ARGS_CFLAGS' to the value of CFLAGS when needed." >&5
+$as_echo "$as_me: WARNING: Configure will append '$HWLOC_STRICT_ARGS_CFLAGS' to the value of CFLAGS when needed." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Alternatively you may configure with a different compiler." >&5
+$as_echo "$as_me: WARNING: Alternatively you may configure with a different compiler." >&2;}
+
+fi
+
+fi
+
+ #
+ # Now detect support
+ #
+
+ for ac_header in unistd.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
+if test "x$ac_cv_header_unistd_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_UNISTD_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_header in dirent.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
+if test "x$ac_cv_header_dirent_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DIRENT_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_header in strings.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
+if test "x$ac_cv_header_strings_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STRINGS_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_header in ctype.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
+if test "x$ac_cv_header_ctype_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CTYPE_H 1
+_ACEOF
+
+fi
+
+done
+
+
+ for ac_func in strcasecmp
+do :
+ ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
+if test "x$ac_cv_func_strcasecmp" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STRCASECMP 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" "$ac_includes_default"
+if test "x$ac_cv_have_decl_strcasecmp" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function strcasecmp has a complete prototype" >&5
+$as_echo_n "checking whether function strcasecmp has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+strcasecmp(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_STRCASECMP 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+fi
+done
+
+ for ac_func in strncasecmp
+do :
+ ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
+if test "x$ac_cv_func_strncasecmp" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STRNCASECMP 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default"
+if test "x$ac_cv_have_decl_strncasecmp" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function strncasecmp has a complete prototype" >&5
+$as_echo_n "checking whether function strncasecmp has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+strncasecmp(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_STRNCASECMP 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+fi
+done
+
+
+ for ac_func in strftime
+do :
+ ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
+if test "x$ac_cv_func_strftime" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STRFTIME 1
+_ACEOF
+
+fi
+done
+
+ for ac_func in setlocale
+do :
+ ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
+if test "x$ac_cv_func_setlocale" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SETLOCALE 1
+_ACEOF
+
+fi
+done
+
+
+ ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdint_h" = xyes; then :
+
+
+$as_echo "#define HWLOC_HAVE_STDINT_H 1" >>confdefs.h
+
+
+fi
+
+
+ for ac_header in sys/mman.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_mman_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_MMAN_H 1
+_ACEOF
+
+fi
+
+done
+
+
+ old_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0601"
+ ac_fn_c_check_type "$LINENO" "KAFFINITY" "ac_cv_type_KAFFINITY" "#include <windows.h>
+"
+if test "x$ac_cv_type_KAFFINITY" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_KAFFINITY 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "PROCESSOR_CACHE_TYPE" "ac_cv_type_PROCESSOR_CACHE_TYPE" "#include <windows.h>
+"
+if test "x$ac_cv_type_PROCESSOR_CACHE_TYPE" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PROCESSOR_CACHE_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "CACHE_DESCRIPTOR" "ac_cv_type_CACHE_DESCRIPTOR" "#include <windows.h>
+"
+if test "x$ac_cv_type_CACHE_DESCRIPTOR" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_CACHE_DESCRIPTOR 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "LOGICAL_PROCESSOR_RELATIONSHIP" "ac_cv_type_LOGICAL_PROCESSOR_RELATIONSHIP" "#include <windows.h>
+"
+if test "x$ac_cv_type_LOGICAL_PROCESSOR_RELATIONSHIP" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_LOGICAL_PROCESSOR_RELATIONSHIP 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "RelationProcessorPackage" "ac_cv_type_RelationProcessorPackage" "#include <windows.h>
+"
+if test "x$ac_cv_type_RelationProcessorPackage" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_RELATIONPROCESSORPACKAGE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "SYSTEM_LOGICAL_PROCESSOR_INFORMATION" "ac_cv_type_SYSTEM_LOGICAL_PROCESSOR_INFORMATION" "#include <windows.h>
+"
+if test "x$ac_cv_type_SYSTEM_LOGICAL_PROCESSOR_INFORMATION" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "GROUP_AFFINITY" "ac_cv_type_GROUP_AFFINITY" "#include <windows.h>
+"
+if test "x$ac_cv_type_GROUP_AFFINITY" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_GROUP_AFFINITY 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "PROCESSOR_RELATIONSHIP" "ac_cv_type_PROCESSOR_RELATIONSHIP" "#include <windows.h>
+"
+if test "x$ac_cv_type_PROCESSOR_RELATIONSHIP" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PROCESSOR_RELATIONSHIP 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "NUMA_NODE_RELATIONSHIP" "ac_cv_type_NUMA_NODE_RELATIONSHIP" "#include <windows.h>
+"
+if test "x$ac_cv_type_NUMA_NODE_RELATIONSHIP" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_NUMA_NODE_RELATIONSHIP 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "CACHE_RELATIONSHIP" "ac_cv_type_CACHE_RELATIONSHIP" "#include <windows.h>
+"
+if test "x$ac_cv_type_CACHE_RELATIONSHIP" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_CACHE_RELATIONSHIP 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "PROCESSOR_GROUP_INFO" "ac_cv_type_PROCESSOR_GROUP_INFO" "#include <windows.h>
+"
+if test "x$ac_cv_type_PROCESSOR_GROUP_INFO" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PROCESSOR_GROUP_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "GROUP_RELATIONSHIP" "ac_cv_type_GROUP_RELATIONSHIP" "#include <windows.h>
+"
+if test "x$ac_cv_type_GROUP_RELATIONSHIP" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_GROUP_RELATIONSHIP 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX" "ac_cv_type_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX" "#include <windows.h>
+"
+if test "x$ac_cv_type_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "PSAPI_WORKING_SET_EX_BLOCK" "ac_cv_type_PSAPI_WORKING_SET_EX_BLOCK" "#include <windows.h>
+"
+if test "x$ac_cv_type_PSAPI_WORKING_SET_EX_BLOCK" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PSAPI_WORKING_SET_EX_BLOCK 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "PSAPI_WORKING_SET_EX_INFORMATION" "ac_cv_type_PSAPI_WORKING_SET_EX_INFORMATION" "#include <windows.h>
+"
+if test "x$ac_cv_type_PSAPI_WORKING_SET_EX_INFORMATION" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PSAPI_WORKING_SET_EX_INFORMATION 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "PROCESSOR_NUMBER" "ac_cv_type_PROCESSOR_NUMBER" "#include <windows.h>
+"
+if test "x$ac_cv_type_PROCESSOR_NUMBER" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PROCESSOR_NUMBER 1
+_ACEOF
+
+
+fi
+
+ CPPFLAGS="$old_CPPFLAGS"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgdi32" >&5
+$as_echo_n "checking for main in -lgdi32... " >&6; }
+if ${ac_cv_lib_gdi32_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lgdi32 $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_gdi32_main=yes
+else
+ ac_cv_lib_gdi32_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdi32_main" >&5
+$as_echo "$ac_cv_lib_gdi32_main" >&6; }
+if test "x$ac_cv_lib_gdi32_main" = xyes; then :
+ HWLOC_LIBS="-lgdi32 $HWLOC_LIBS"
+
+$as_echo "#define HAVE_LIBGDI32 1" >>confdefs.h
+
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostQuitMessage in -luser32" >&5
+$as_echo_n "checking for PostQuitMessage in -luser32... " >&6; }
+if ${ac_cv_lib_user32_PostQuitMessage+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-luser32 $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char PostQuitMessage ();
+int
+main ()
+{
+return PostQuitMessage ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_user32_PostQuitMessage=yes
+else
+ ac_cv_lib_user32_PostQuitMessage=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_user32_PostQuitMessage" >&5
+$as_echo "$ac_cv_lib_user32_PostQuitMessage" >&6; }
+if test "x$ac_cv_lib_user32_PostQuitMessage" = xyes; then :
+ hwloc_have_user32="yes"
+fi
+
+
+ ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
+if test "x$ac_cv_header_windows_h" = xyes; then :
+
+
+$as_echo "#define HWLOC_HAVE_WINDOWS_H 1" >>confdefs.h
+
+
+fi
+
+
+
+ for ac_header in sys/lgrp_user.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/lgrp_user.h" "ac_cv_header_sys_lgrp_user_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_lgrp_user_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_LGRP_USER_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgrp_init in -llgrp" >&5
+$as_echo_n "checking for lgrp_init in -llgrp... " >&6; }
+if ${ac_cv_lib_lgrp_lgrp_init+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-llgrp $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char lgrp_init ();
+int
+main ()
+{
+return lgrp_init ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_lgrp_lgrp_init=yes
+else
+ ac_cv_lib_lgrp_lgrp_init=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lgrp_lgrp_init" >&5
+$as_echo "$ac_cv_lib_lgrp_lgrp_init" >&6; }
+if test "x$ac_cv_lib_lgrp_lgrp_init" = xyes; then :
+ HWLOC_LIBS="-llgrp $HWLOC_LIBS"
+
+$as_echo "#define HAVE_LIBLGRP 1" >>confdefs.h
+
+ ac_fn_c_check_decl "$LINENO" "lgrp_latency_cookie" "ac_cv_have_decl_lgrp_latency_cookie" "#include <sys/lgrp_user.h>
+"
+if test "x$ac_cv_have_decl_lgrp_latency_cookie" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_LGRP_LATENCY_COOKIE $ac_have_decl
+_ACEOF
+
+
+fi
+
+
+fi
+
+done
+
+ for ac_header in kstat.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "kstat.h" "ac_cv_header_kstat_h" "$ac_includes_default"
+if test "x$ac_cv_header_kstat_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_KSTAT_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkstat" >&5
+$as_echo_n "checking for main in -lkstat... " >&6; }
+if ${ac_cv_lib_kstat_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lkstat $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_kstat_main=yes
+else
+ ac_cv_lib_kstat_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_main" >&5
+$as_echo "$ac_cv_lib_kstat_main" >&6; }
+if test "x$ac_cv_lib_kstat_main" = xyes; then :
+ HWLOC_LIBS="-lkstat $HWLOC_LIBS"
+
+$as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
+
+fi
+
+
+fi
+
+done
+
+
+ ac_fn_c_check_decl "$LINENO" "fabsf" "ac_cv_have_decl_fabsf" "#include <math.h>
+"
+if test "x$ac_cv_have_decl_fabsf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_FABSF $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
+$as_echo_n "checking for fabsf in -lm... " >&6; }
+if ${ac_cv_lib_m_fabsf+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char fabsf ();
+int
+main ()
+{
+return fabsf ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_fabsf=yes
+else
+ ac_cv_lib_m_fabsf=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
+$as_echo "$ac_cv_lib_m_fabsf" >&6; }
+if test "x$ac_cv_lib_m_fabsf" = xyes; then :
+ need_libm=yes
+fi
+
+
+fi
+
+ ac_fn_c_check_decl "$LINENO" "modff" "ac_cv_have_decl_modff" "#include <math.h>
+"
+if test "x$ac_cv_have_decl_modff" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_MODFF $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff in -lm" >&5
+$as_echo_n "checking for modff in -lm... " >&6; }
+if ${ac_cv_lib_m_modff+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char modff ();
+int
+main ()
+{
+return modff ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_modff=yes
+else
+ ac_cv_lib_m_modff=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_modff" >&5
+$as_echo "$ac_cv_lib_m_modff" >&6; }
+if test "x$ac_cv_lib_m_modff" = xyes; then :
+ need_libm=yes
+fi
+
+
+fi
+
+ if test x$need_libm = xyes; then
+ HWLOC_LIBS="-lm $HWLOC_LIBS"
+ fi
+
+ for ac_header in picl.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "picl.h" "ac_cv_header_picl_h" "$ac_includes_default"
+if test "x$ac_cv_header_picl_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_PICL_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for picl_initialize in -lpicl" >&5
+$as_echo_n "checking for picl_initialize in -lpicl... " >&6; }
+if ${ac_cv_lib_picl_picl_initialize+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpicl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char picl_initialize ();
+int
+main ()
+{
+return picl_initialize ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_picl_picl_initialize=yes
+else
+ ac_cv_lib_picl_picl_initialize=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_picl_picl_initialize" >&5
+$as_echo "$ac_cv_lib_picl_picl_initialize" >&6; }
+if test "x$ac_cv_lib_picl_picl_initialize" = xyes; then :
+ HWLOC_LIBS="-lpicl $HWLOC_LIBS"
+fi
+
+fi
+
+done
+
+
+ ac_fn_c_check_decl "$LINENO" "_SC_NPROCESSORS_ONLN" "ac_cv_have_decl__SC_NPROCESSORS_ONLN" "#include <unistd.h>
+"
+if test "x$ac_cv_have_decl__SC_NPROCESSORS_ONLN" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SC_NPROCESSORS_ONLN $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+ac_fn_c_check_decl "$LINENO" "_SC_NPROCESSORS_CONF" "ac_cv_have_decl__SC_NPROCESSORS_CONF" "#include <unistd.h>
+"
+if test "x$ac_cv_have_decl__SC_NPROCESSORS_CONF" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SC_NPROCESSORS_CONF $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+ac_fn_c_check_decl "$LINENO" "_SC_NPROC_ONLN" "ac_cv_have_decl__SC_NPROC_ONLN" "#include <unistd.h>
+"
+if test "x$ac_cv_have_decl__SC_NPROC_ONLN" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SC_NPROC_ONLN $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+ac_fn_c_check_decl "$LINENO" "_SC_NPROC_CONF" "ac_cv_have_decl__SC_NPROC_CONF" "#include <unistd.h>
+"
+if test "x$ac_cv_have_decl__SC_NPROC_CONF" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SC_NPROC_CONF $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+ac_fn_c_check_decl "$LINENO" "_SC_PAGESIZE" "ac_cv_have_decl__SC_PAGESIZE" "#include <unistd.h>
+"
+if test "x$ac_cv_have_decl__SC_PAGESIZE" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SC_PAGESIZE $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+ac_fn_c_check_decl "$LINENO" "_SC_PAGE_SIZE" "ac_cv_have_decl__SC_PAGE_SIZE" "#include <unistd.h>
+"
+if test "x$ac_cv_have_decl__SC_PAGE_SIZE" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SC_PAGE_SIZE $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+ac_fn_c_check_decl "$LINENO" "_SC_LARGE_PAGESIZE" "ac_cv_have_decl__SC_LARGE_PAGESIZE" "#include <unistd.h>
+"
+if test "x$ac_cv_have_decl__SC_LARGE_PAGESIZE" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SC_LARGE_PAGESIZE $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+
+
+ for ac_header in mach/mach_host.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "mach/mach_host.h" "ac_cv_header_mach_mach_host_h" "$ac_includes_default"
+if test "x$ac_cv_header_mach_mach_host_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MACH_MACH_HOST_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_header in mach/mach_init.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "mach/mach_init.h" "ac_cv_header_mach_mach_init_h" "$ac_includes_default"
+if test "x$ac_cv_header_mach_mach_init_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MACH_MACH_INIT_H 1
+_ACEOF
+
+ for ac_func in host_info
+do :
+ ac_fn_c_check_func "$LINENO" "host_info" "ac_cv_func_host_info"
+if test "x$ac_cv_func_host_info" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_HOST_INFO 1
+_ACEOF
+
+fi
+done
+
+
+fi
+
+done
+
+
+ for ac_header in sys/param.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_param_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_PARAM_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_header in sys/sysctl.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "
+ $ac_includes_default
+ #if HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+
+"
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_SYSCTL_H 1
+_ACEOF
+
+ ac_fn_c_check_decl "$LINENO" "CTL_HW" "ac_cv_have_decl_CTL_HW" "
+ #if HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+ #include <sys/sysctl.h>
+
+"
+if test "x$ac_cv_have_decl_CTL_HW" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_CTL_HW $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "HW_NCPU" "ac_cv_have_decl_HW_NCPU" "
+ #if HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+ #include <sys/sysctl.h>
+
+"
+if test "x$ac_cv_have_decl_HW_NCPU" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_HW_NCPU $ac_have_decl
+_ACEOF
+
+
+fi
+
+done
+
+
+ ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default
+"
+if test "x$ac_cv_have_decl_strtoull" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRTOULL $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ for ac_func in strtoull
+do :
+ ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull"
+if test "x$ac_cv_func_strtoull" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STRTOULL 1
+_ACEOF
+
+fi
+done
+
+fi
+
+
+ # Needed for Windows in private/misc.h
+ ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
+if test "x$ac_cv_type_ssize_t" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SSIZE_T 1
+_ACEOF
+
+
+fi
+
+ ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default
+"
+if test "x$ac_cv_have_decl_snprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_SNPRINTF $ac_have_decl
+_ACEOF
+
+ # strdup and putenv are declared in windows headers but marked deprecated
+ ac_fn_c_check_decl "$LINENO" "_strdup" "ac_cv_have_decl__strdup" "$ac_includes_default
+"
+if test "x$ac_cv_have_decl__strdup" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__STRDUP $ac_have_decl
+_ACEOF
+
+ ac_fn_c_check_decl "$LINENO" "_putenv" "ac_cv_have_decl__putenv" "$ac_includes_default
+"
+if test "x$ac_cv_have_decl__putenv" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__PUTENV $ac_have_decl
+_ACEOF
+
+ # Could add mkdir and access for hwloc-gather-cpuid.c on Windows
+
+ if test "x$hwloc_linux" != "xyes" ; then
+ # Don't detect sysctl* on Linux because its sysctl() syscall is
+ # long deprecated and unneeded. Some libc still expose the symbol
+ # and raise a big warning at link time.
+
+ # Do a full link test instead of just using AC_CHECK_FUNCS, which
+ # just checks to see if the symbol exists or not. For example,
+ # the prototype of sysctl uses u_int, which on some platforms
+ # (such as FreeBSD) is only defined under __BSD_VISIBLE, __USE_BSD
+ # or other similar definitions. So while the symbols "sysctl" and
+ # "sysctlbyname" might still be available in libc (which autoconf
+ # checks for), they might not be actually usable.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysctl" >&5
+$as_echo_n "checking for sysctl... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+
+int
+main ()
+{
+return sysctl(NULL,0,NULL,NULL,NULL,0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HAVE_SYSCTL 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysctlbyname" >&5
+$as_echo_n "checking for sysctlbyname... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+
+int
+main ()
+{
+return sysctlbyname(NULL,NULL,NULL,NULL,0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HAVE_SYSCTLBYNAME 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ fi
+
+ ac_fn_c_check_decl "$LINENO" "getprogname" "ac_cv_have_decl_getprogname" "$ac_includes_default
+"
+if test "x$ac_cv_have_decl_getprogname" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_GETPROGNAME $ac_have_decl
+_ACEOF
+
+ ac_fn_c_check_decl "$LINENO" "getexecname" "ac_cv_have_decl_getexecname" "$ac_includes_default
+"
+if test "x$ac_cv_have_decl_getexecname" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_GETEXECNAME $ac_have_decl
+_ACEOF
+
+ ac_fn_c_check_decl "$LINENO" "GetModuleFileName" "ac_cv_have_decl_GetModuleFileName" "#include <windows.h>
+"
+if test "x$ac_cv_have_decl_GetModuleFileName" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_GETMODULEFILENAME $ac_have_decl
+_ACEOF
+
+ # program_invocation_name and __progname may be available but not exported in headers
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_name" >&5
+$as_echo_n "checking for program_invocation_name... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #ifndef _GNU_SOURCE
+ # define _GNU_SOURCE
+ #endif
+ #include <errno.h>
+ #include <stdio.h>
+ extern char *program_invocation_name;
+
+int
+main ()
+{
+
+ return printf("%s\n", program_invocation_name);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __progname" >&5
+$as_echo_n "checking for __progname... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <stdio.h>
+ extern char *__progname;
+
+int
+main ()
+{
+
+ return printf("%s\n", __progname);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+ case ${target} in
+ *-*-mingw*|*-*-cygwin*)
+ hwloc_pid_t=HANDLE
+ hwloc_thread_t=HANDLE
+ ;;
+ *)
+ hwloc_pid_t=pid_t
+ ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "#include <pthread.h>
+"
+if test "x$ac_cv_type_pthread_t" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PTHREAD_T 1
+_ACEOF
+
+hwloc_thread_t=pthread_t
+else
+ :
+fi
+
+ ;;
+ esac
+
+cat >>confdefs.h <<_ACEOF
+#define hwloc_pid_t $hwloc_pid_t
+_ACEOF
+
+ if test "x$hwloc_thread_t" != "x" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define hwloc_thread_t $hwloc_thread_t
+_ACEOF
+
+ fi
+
+ ac_fn_c_check_decl "$LINENO" "sched_getcpu" "ac_cv_have_decl_sched_getcpu" "
+ #ifndef _GNU_SOURCE
+ # define _GNU_SOURCE
+ #endif
+ #include <sched.h>
+
+"
+if test "x$ac_cv_have_decl_sched_getcpu" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_SCHED_GETCPU $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+
+
+
+ ac_fn_c_check_decl "$LINENO" "sched_setaffinity" "ac_cv_have_decl_sched_setaffinity" "
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+#include <sched.h>
+
+
+"
+if test "x$ac_cv_have_decl_sched_setaffinity" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function sched_setaffinity has a complete prototype" >&5
+$as_echo_n "checking whether function sched_setaffinity has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+#include <sched.h>
+
+
+int
+main ()
+{
+sched_setaffinity(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
+
+ if test "$HWLOC_STRICT_ARGS_CFLAGS" = "FAIL"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Support for sched_setaffinity() requires a C compiler which" >&5
+$as_echo "$as_me: WARNING: Support for sched_setaffinity() requires a C compiler which" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: considers incorrect argument counts to be a fatal error." >&5
+$as_echo "$as_me: WARNING: considers incorrect argument counts to be a fatal error." >&2;}
+ as_fn_error $? "Cannot continue." "$LINENO" 5
+
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old prototype of sched_setaffinity" >&5
+$as_echo_n "checking for old prototype of sched_setaffinity... " >&6; }
+ hwloc_save_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS $HWLOC_STRICT_ARGS_CFLAGS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+ #ifndef _GNU_SOURCE
+ # define _GNU_SOURCE
+ #endif
+ #include <sched.h>
+ static unsigned long mask;
+
+int
+main ()
+{
+ sched_setaffinity(0, (void*) &mask);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+$as_echo "#define HWLOC_HAVE_OLD_SCHED_SETAFFINITY 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS=$hwloc_save_CFLAGS
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working CPU_SET" >&5
+$as_echo_n "checking for working CPU_SET... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+ #include <sched.h>
+ cpu_set_t set;
+
+int
+main ()
+{
+ CPU_ZERO(&set); CPU_SET(0, &set);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HWLOC_HAVE_CPU_SET 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working CPU_SET_S" >&5
+$as_echo_n "checking for working CPU_SET_S... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+ #include <sched.h>
+ cpu_set_t *set;
+
+int
+main ()
+{
+
+ set = CPU_ALLOC(1024);
+ CPU_ZERO_S(CPU_ALLOC_SIZE(1024), set);
+ CPU_SET_S(CPU_ALLOC_SIZE(1024), 0, set);
+ CPU_FREE(set);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HWLOC_HAVE_CPU_SET_S 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working syscall" >&5
+$as_echo_n "checking for working syscall... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+ #include <unistd.h>
+ #include <sys/syscall.h>
+
+int
+main ()
+{
+syscall(1, 2, 3);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HWLOC_HAVE_SYSCALL 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+ # Check for kerrighed, but don't abort if not found. It's illegal
+ # to pass in an empty 3rd argument, but we trust the output of
+ # pkg-config, so just give it a value that will always work:
+ # printf.
+
+
+ HWLOC_pkg_failed=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERRIGHED" >&5
+$as_echo_n "checking for KERRIGHED... " >&6; }
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_KERRIGHED_CFLAGS"; then
+ HWLOC_pkg_cv_HWLOC_KERRIGHED_CFLAGS="$HWLOC_KERRIGHED_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"kerrighed >= 2.0\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "kerrighed >= 2.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_KERRIGHED_CFLAGS=`$PKG_CONFIG --cflags "kerrighed >= 2.0" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_KERRIGHED_LIBS"; then
+ HWLOC_pkg_cv_HWLOC_KERRIGHED_LIBS="$HWLOC_KERRIGHED_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"kerrighed >= 2.0\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "kerrighed >= 2.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_KERRIGHED_LIBS=`$PKG_CONFIG --libs "kerrighed >= 2.0" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+
+
+
+ # Check for failure of pkg-config
+ if test $HWLOC_pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ HWLOC_pkg_short_errors_supported=yes
+else
+ HWLOC_pkg_short_errors_supported=no
+fi
+ if test $HWLOC_pkg_short_errors_supported = yes; then
+ HWLOC_KERRIGHED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "kerrighed >= 2.0" 2>&1`
+ else
+ HWLOC_KERRIGHED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "kerrighed >= 2.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$HWLOC_KERRIGHED_PKG_ERRORS" >&5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ :
+ elif test $HWLOC_pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot check without pkg-config" >&5
+$as_echo "cannot check without pkg-config" >&6; }
+ :
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+ # If we got good results from pkg-config, check that they
+ # actually work (i.e., that we can link against the resulting
+ # $LIBS). The canonical example why we do this is if
+ # pkg-config returns 64 bit libraries but ./configure was run
+ # with CFLAGS=-m32 LDFLAGS=-m32. pkg-config gave us valid
+ # results, but we'll fail if we try to link. So detect that
+ # failure now.
+ # There are also cases on Mac where pkg-config returns paths
+ # that do not actually exists until some magic is applied.
+ # http://www.open-mpi.org/community/lists/hwloc-devel/2015/03/4402.php
+ # So check whether we find the header as well.
+ hwloc_cflags_save=$CFLAGS
+ hwloc_cppflags_save=$CPPFLAGS
+ hwloc_libs_save=$LIBS
+ CFLAGS="$CFLAGS $HWLOC_pkg_cv_HWLOC_KERRIGHED_CFLAGS"
+ CPPFLAGS="$CPPFLAGS $HWLOC_pkg_cv_HWLOC_KERRIGHED_CFLAGS"
+ LIBS="$LIBS $HWLOC_pkg_cv_HWLOC_KERRIGHED_LIBS"
+ ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdio_h" = xyes; then :
+
+ ac_fn_c_check_func "$LINENO" "printf" "ac_cv_func_printf"
+if test "x$ac_cv_func_printf" = xyes; then :
+ hwloc_result=yes
+else
+ hwloc_result=no
+fi
+
+
+else
+ hwloc_result=no
+fi
+
+
+ CFLAGS=$hwloc_cflags_save
+ CPPFLAGS=$hwloc_cppflags_save
+ LIBS=$hwloc_libs_save
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for final KERRIGHED support" >&5
+$as_echo_n "checking for final KERRIGHED support... " >&6; }
+ if test "$hwloc_result" = "yes"; then :
+ HWLOC_KERRIGHED_CFLAGS=$HWLOC_pkg_cv_HWLOC_KERRIGHED_CFLAGS
+ HWLOC_KERRIGHED_LIBS=$HWLOC_pkg_cv_HWLOC_KERRIGHED_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ :
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ :
+fi
+ fi
+
+ for ac_prog in lib
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_HWLOC_MS_LIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $HWLOC_MS_LIB in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_HWLOC_MS_LIB="$HWLOC_MS_LIB" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_HWLOC_MS_LIB="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+HWLOC_MS_LIB=$ac_cv_path_HWLOC_MS_LIB
+if test -n "$HWLOC_MS_LIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HWLOC_MS_LIB" >&5
+$as_echo "$HWLOC_MS_LIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$HWLOC_MS_LIB" && break
+done
+
+
+
+ # Extract the first word of "bash", so it can be a program name with args.
+set dummy bash; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_BASH+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $BASH in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+BASH=$ac_cv_path_BASH
+if test -n "$BASH"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
+$as_echo "$BASH" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+ for ac_func in ffs
+do :
+ ac_fn_c_check_func "$LINENO" "ffs" "ac_cv_func_ffs"
+if test "x$ac_cv_func_ffs" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_FFS 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
+if test "x$ac_cv_have_decl_ffs" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function ffs has a complete prototype" >&5
+$as_echo_n "checking whether function ffs has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+ffs(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_FFS 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+$as_echo "#define HWLOC_HAVE_FFS 1" >>confdefs.h
+
+ if ( $CC --version | grep gccfss ) >/dev/null 2>&1 ; then
+
+$as_echo "#define HWLOC_HAVE_BROKEN_FFS 1" >>confdefs.h
+
+ fi
+
+fi
+done
+
+ for ac_func in ffsl
+do :
+ ac_fn_c_check_func "$LINENO" "ffsl" "ac_cv_func_ffsl"
+if test "x$ac_cv_func_ffsl" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_FFSL 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "ffsl" "ac_cv_have_decl_ffsl" "$ac_includes_default"
+if test "x$ac_cv_have_decl_ffsl" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function ffsl has a complete prototype" >&5
+$as_echo_n "checking whether function ffsl has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+ffsl(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_FFSL 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+$as_echo "#define HWLOC_HAVE_FFSL 1" >>confdefs.h
+
+
+fi
+done
+
+
+ for ac_func in fls
+do :
+ ac_fn_c_check_func "$LINENO" "fls" "ac_cv_func_fls"
+if test "x$ac_cv_func_fls" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_FLS 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "fls" "ac_cv_have_decl_fls" "$ac_includes_default"
+if test "x$ac_cv_have_decl_fls" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function fls has a complete prototype" >&5
+$as_echo_n "checking whether function fls has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+fls(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_FLS 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+$as_echo "#define HWLOC_HAVE_FLS 1" >>confdefs.h
+
+
+fi
+done
+
+ for ac_func in flsl
+do :
+ ac_fn_c_check_func "$LINENO" "flsl" "ac_cv_func_flsl"
+if test "x$ac_cv_func_flsl" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_FLSL 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "flsl" "ac_cv_have_decl_flsl" "$ac_includes_default"
+if test "x$ac_cv_have_decl_flsl" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function flsl has a complete prototype" >&5
+$as_echo_n "checking whether function flsl has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+flsl(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_FLSL 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+$as_echo "#define HWLOC_HAVE_FLSL 1" >>confdefs.h
+
+
+fi
+done
+
+
+ for ac_func in clz
+do :
+ ac_fn_c_check_func "$LINENO" "clz" "ac_cv_func_clz"
+if test "x$ac_cv_func_clz" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CLZ 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "clz" "ac_cv_have_decl_clz" "$ac_includes_default"
+if test "x$ac_cv_have_decl_clz" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function clz has a complete prototype" >&5
+$as_echo_n "checking whether function clz has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+clz(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_CLZ 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+$as_echo "#define HWLOC_HAVE_CLZ 1" >>confdefs.h
+
+
+fi
+done
+
+ for ac_func in clzl
+do :
+ ac_fn_c_check_func "$LINENO" "clzl" "ac_cv_func_clzl"
+if test "x$ac_cv_func_clzl" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CLZL 1
+_ACEOF
+
+
+ ac_fn_c_check_decl "$LINENO" "clzl" "ac_cv_have_decl_clzl" "$ac_includes_default"
+if test "x$ac_cv_have_decl_clzl" = xyes; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether function clzl has a complete prototype" >&5
+$as_echo_n "checking whether function clzl has a complete prototype... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+clzl(1,2,3,4,5,6,7,8,9,10);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+
+$as_echo "#define HWLOC_HAVE_DECL_CLZL 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+$as_echo "#define HWLOC_HAVE_CLZL 1" >>confdefs.h
+
+
+fi
+done
+
+
+ if test "$hwloc_c_vendor" != "android"; then :
+ for ac_func in openat
+do :
+ ac_fn_c_check_func "$LINENO" "openat" "ac_cv_func_openat"
+if test "x$ac_cv_func_openat" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_OPENAT 1
+_ACEOF
+ hwloc_have_openat=yes
+fi
+done
+
+fi
+
+
+ for ac_header in malloc.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
+if test "x$ac_cv_header_malloc_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MALLOC_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_func in getpagesize memalign posix_memalign
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ for ac_header in sys/utsname.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_UTSNAME_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_func in uname
+do :
+ ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
+if test "x$ac_cv_func_uname" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_UNAME 1
+_ACEOF
+
+fi
+done
+
+
+ if test "$hwloc_mode" != "embedded"; then :
+ for ac_header in valgrind/valgrind.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
+if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_VALGRIND_VALGRIND_H 1
+_ACEOF
+
+fi
+
+done
+
+ ac_fn_c_check_decl "$LINENO" "RUNNING_ON_VALGRIND" "ac_cv_have_decl_RUNNING_ON_VALGRIND" "#include <valgrind/valgrind.h>
+"
+if test "x$ac_cv_have_decl_RUNNING_ON_VALGRIND" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_RUNNING_ON_VALGRIND $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+
+
+else
+
+
+$as_echo "#define HAVE_DECL_RUNNING_ON_VALGRIND 0" >>confdefs.h
+
+
+fi
+
+ for ac_header in pthread_np.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "$ac_includes_default"
+if test "x$ac_cv_header_pthread_np_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_PTHREAD_NP_H 1
+_ACEOF
+
+fi
+
+done
+
+ ac_fn_c_check_decl "$LINENO" "pthread_setaffinity_np" "ac_cv_have_decl_pthread_setaffinity_np" "
+ #include <pthread.h>
+ #ifdef HAVE_PTHREAD_NP_H
+ # include <pthread_np.h>
+ #endif
+
+"
+if test "x$ac_cv_have_decl_pthread_setaffinity_np" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_PTHREAD_SETAFFINITY_NP $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+
+ ac_fn_c_check_decl "$LINENO" "pthread_getaffinity_np" "ac_cv_have_decl_pthread_getaffinity_np" "
+ #include <pthread.h>
+ #ifdef HAVE_PTHREAD_NP_H
+ # include <pthread_np.h>
+ #endif
+
+"
+if test "x$ac_cv_have_decl_pthread_getaffinity_np" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_PTHREAD_GETAFFINITY_NP $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+
+ ac_fn_c_check_func "$LINENO" "sched_setaffinity" "ac_cv_func_sched_setaffinity"
+if test "x$ac_cv_func_sched_setaffinity" = xyes; then :
+ hwloc_have_sched_setaffinity=yes
+fi
+
+ for ac_header in sys/cpuset.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "#include <sys/param.h>
+"
+if test "x$ac_cv_header_sys_cpuset_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_CPUSET_H 1
+_ACEOF
+
+fi
+
+done
+
+ for ac_func in cpuset_setaffinity
+do :
+ ac_fn_c_check_func "$LINENO" "cpuset_setaffinity" "ac_cv_func_cpuset_setaffinity"
+if test "x$ac_cv_func_cpuset_setaffinity" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CPUSET_SETAFFINITY 1
+_ACEOF
+
+fi
+done
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_getthrds_np" >&5
+$as_echo_n "checking for library containing pthread_getthrds_np... " >&6; }
+if ${ac_cv_search_pthread_getthrds_np+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_getthrds_np ();
+int
+main ()
+{
+return pthread_getthrds_np ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' pthread; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_pthread_getthrds_np=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search_pthread_getthrds_np+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search_pthread_getthrds_np+:} false; then :
+
+else
+ ac_cv_search_pthread_getthrds_np=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_getthrds_np" >&5
+$as_echo "$ac_cv_search_pthread_getthrds_np" >&6; }
+ac_res=$ac_cv_search_pthread_getthrds_np
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+$as_echo "#define HWLOC_HAVE_PTHREAD_GETTHRDS_NP 1" >>confdefs.h
+
+
+fi
+
+ for ac_func in cpuset_setid
+do :
+ ac_fn_c_check_func "$LINENO" "cpuset_setid" "ac_cv_func_cpuset_setid"
+if test "x$ac_cv_func_cpuset_setid" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CPUSET_SETID 1
+_ACEOF
+
+fi
+done
+
+
+ # Linux libnuma support
+ hwloc_linux_libnuma_happy=no
+ if test "x$enable_libnuma" != "xno"; then
+ hwloc_linux_libnuma_happy=yes
+ for ac_header in numaif.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "numaif.h" "ac_cv_header_numaif_h" "$ac_includes_default"
+if test "x$ac_cv_header_numaif_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_NUMAIF_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5
+$as_echo_n "checking for numa_available in -lnuma... " >&6; }
+if ${ac_cv_lib_numa_numa_available+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnuma $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char numa_available ();
+int
+main ()
+{
+return numa_available ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_numa_numa_available=yes
+else
+ ac_cv_lib_numa_numa_available=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5
+$as_echo "$ac_cv_lib_numa_numa_available" >&6; }
+if test "x$ac_cv_lib_numa_numa_available" = xyes; then :
+ HWLOC_LINUX_LIBNUMA_LIBS="-lnuma"
+else
+ hwloc_linux_libnuma_happy=no
+fi
+
+
+else
+ hwloc_linux_libnuma_happy=no
+fi
+
+done
+
+ fi
+
+ # If we asked for Linux libnuma support but couldn't deliver, fail
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_LINUX_LIBNUMA_LIBS"
+ if test "$enable_libnuma" = "yes" -a "$hwloc_linux_libnuma_happy" = "no"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified --enable-libnuma switch, but could not" >&5
+$as_echo "$as_me: WARNING: Specified --enable-libnuma switch, but could not" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: find appropriate support" >&5
+$as_echo "$as_me: WARNING: find appropriate support" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+ if test "x$hwloc_linux_libnuma_happy" = "xyes"; then
+ tmp_save_LIBS="$LIBS"
+ LIBS="$LIBS $HWLOC_LINUX_LIBNUMA_LIBS"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_mempolicy in -lnuma" >&5
+$as_echo_n "checking for set_mempolicy in -lnuma... " >&6; }
+if ${ac_cv_lib_numa_set_mempolicy+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnuma $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char set_mempolicy ();
+int
+main ()
+{
+return set_mempolicy ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_numa_set_mempolicy=yes
+else
+ ac_cv_lib_numa_set_mempolicy=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_set_mempolicy" >&5
+$as_echo "$ac_cv_lib_numa_set_mempolicy" >&6; }
+if test "x$ac_cv_lib_numa_set_mempolicy" = xyes; then :
+
+ enable_set_mempolicy=yes
+
+$as_echo "#define HWLOC_HAVE_SET_MEMPOLICY 1" >>confdefs.h
+
+
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbind in -lnuma" >&5
+$as_echo_n "checking for mbind in -lnuma... " >&6; }
+if ${ac_cv_lib_numa_mbind+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnuma $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char mbind ();
+int
+main ()
+{
+return mbind ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_numa_mbind=yes
+else
+ ac_cv_lib_numa_mbind=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_mbind" >&5
+$as_echo "$ac_cv_lib_numa_mbind" >&6; }
+if test "x$ac_cv_lib_numa_mbind" = xyes; then :
+
+ enable_mbind=yes
+
+$as_echo "#define HWLOC_HAVE_MBIND 1" >>confdefs.h
+
+
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for migrate_pages in -lnuma" >&5
+$as_echo_n "checking for migrate_pages in -lnuma... " >&6; }
+if ${ac_cv_lib_numa_migrate_pages+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnuma $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char migrate_pages ();
+int
+main ()
+{
+return migrate_pages ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_numa_migrate_pages=yes
+else
+ ac_cv_lib_numa_migrate_pages=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_migrate_pages" >&5
+$as_echo "$ac_cv_lib_numa_migrate_pages" >&6; }
+if test "x$ac_cv_lib_numa_migrate_pages" = xyes; then :
+
+ enable_migrate_pages=yes
+
+$as_echo "#define HWLOC_HAVE_MIGRATE_PAGES 1" >>confdefs.h
+
+
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for move_pages in -lnuma" >&5
+$as_echo_n "checking for move_pages in -lnuma... " >&6; }
+if ${ac_cv_lib_numa_move_pages+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnuma $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char move_pages ();
+int
+main ()
+{
+return move_pages ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_numa_move_pages=yes
+else
+ ac_cv_lib_numa_move_pages=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_move_pages" >&5
+$as_echo "$ac_cv_lib_numa_move_pages" >&6; }
+if test "x$ac_cv_lib_numa_move_pages" = xyes; then :
+
+
+$as_echo "#define HWLOC_HAVE_MOVE_PAGES 1" >>confdefs.h
+
+
+fi
+
+
+ LIBS="$tmp_save_LIBS"
+ fi
+
+ # Linux libudev support
+ if test "x$enable_libudev" != xno; then
+ for ac_header in libudev.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
+if test "x$ac_cv_header_libudev_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBUDEV_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_device_new_from_subsystem_sysname in -ludev" >&5
+$as_echo_n "checking for udev_device_new_from_subsystem_sysname in -ludev... " >&6; }
+if ${ac_cv_lib_udev_udev_device_new_from_subsystem_sysname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ludev $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char udev_device_new_from_subsystem_sysname ();
+int
+main ()
+{
+return udev_device_new_from_subsystem_sysname ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_udev_udev_device_new_from_subsystem_sysname=yes
+else
+ ac_cv_lib_udev_udev_device_new_from_subsystem_sysname=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_device_new_from_subsystem_sysname" >&5
+$as_echo "$ac_cv_lib_udev_udev_device_new_from_subsystem_sysname" >&6; }
+if test "x$ac_cv_lib_udev_udev_device_new_from_subsystem_sysname" = xyes; then :
+
+ HWLOC_LIBS="$HWLOC_LIBS -ludev"
+
+$as_echo "#define HWLOC_HAVE_LIBUDEV 1" >>confdefs.h
+
+
+fi
+
+
+fi
+
+done
+
+ fi
+
+ # PCI support via libpciaccess. NOTE: we do not support
+ # libpci/pciutils because that library is GPL and is incompatible
+ # with our BSD license.
+ hwloc_pci_happy=no
+ if test "x$enable_pci" != xno; then
+ hwloc_pci_happy=yes
+
+
+ HWLOC_pkg_failed=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
+$as_echo_n "checking for PCIACCESS... " >&6; }
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_PCIACCESS_CFLAGS"; then
+ HWLOC_pkg_cv_HWLOC_PCIACCESS_CFLAGS="$HWLOC_PCIACCESS_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"pciaccess\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "pciaccess") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_PCIACCESS_LIBS"; then
+ HWLOC_pkg_cv_HWLOC_PCIACCESS_LIBS="$HWLOC_PCIACCESS_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"pciaccess\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "pciaccess") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+
+
+
+ # Check for failure of pkg-config
+ if test $HWLOC_pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ HWLOC_pkg_short_errors_supported=yes
+else
+ HWLOC_pkg_short_errors_supported=no
+fi
+ if test $HWLOC_pkg_short_errors_supported = yes; then
+ HWLOC_PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess" 2>&1`
+ else
+ HWLOC_PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$HWLOC_PCIACCESS_PKG_ERRORS" >&5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_pci_happy=no
+ elif test $HWLOC_pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot check without pkg-config" >&5
+$as_echo "cannot check without pkg-config" >&6; }
+ hwloc_pci_happy=no
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+ # If we got good results from pkg-config, check that they
+ # actually work (i.e., that we can link against the resulting
+ # $LIBS). The canonical example why we do this is if
+ # pkg-config returns 64 bit libraries but ./configure was run
+ # with CFLAGS=-m32 LDFLAGS=-m32. pkg-config gave us valid
+ # results, but we'll fail if we try to link. So detect that
+ # failure now.
+ # There are also cases on Mac where pkg-config returns paths
+ # that do not actually exists until some magic is applied.
+ # http://www.open-mpi.org/community/lists/hwloc-devel/2015/03/4402.php
+ # So check whether we find the header as well.
+ hwloc_cflags_save=$CFLAGS
+ hwloc_cppflags_save=$CPPFLAGS
+ hwloc_libs_save=$LIBS
+ CFLAGS="$CFLAGS $HWLOC_pkg_cv_HWLOC_PCIACCESS_CFLAGS"
+ CPPFLAGS="$CPPFLAGS $HWLOC_pkg_cv_HWLOC_PCIACCESS_CFLAGS"
+ LIBS="$LIBS $HWLOC_pkg_cv_HWLOC_PCIACCESS_LIBS"
+ ac_fn_c_check_header_mongrel "$LINENO" "pciaccess.h" "ac_cv_header_pciaccess_h" "$ac_includes_default"
+if test "x$ac_cv_header_pciaccess_h" = xyes; then :
+
+ ac_fn_c_check_func "$LINENO" "pci_slot_match_iterator_create" "ac_cv_func_pci_slot_match_iterator_create"
+if test "x$ac_cv_func_pci_slot_match_iterator_create" = xyes; then :
+ hwloc_result=yes
+else
+ hwloc_result=no
+fi
+
+
+else
+ hwloc_result=no
+fi
+
+
+ CFLAGS=$hwloc_cflags_save
+ CPPFLAGS=$hwloc_cppflags_save
+ LIBS=$hwloc_libs_save
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for final PCIACCESS support" >&5
+$as_echo_n "checking for final PCIACCESS support... " >&6; }
+ if test "$hwloc_result" = "yes"; then :
+ HWLOC_PCIACCESS_CFLAGS=$HWLOC_pkg_cv_HWLOC_PCIACCESS_CFLAGS
+ HWLOC_PCIACCESS_LIBS=$HWLOC_pkg_cv_HWLOC_PCIACCESS_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ :
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_pci_happy=no
+fi
+ fi
+
+ # Only add the REQUIRES if we got pciaccess through pkg-config.
+ # Otherwise we don't know if pciaccess.pc is installed
+ if test "$hwloc_pci_happy" = "yes"; then :
+ HWLOC_PCIACCESS_REQUIRES=pciaccess
+fi
+
+ # Just for giggles, if we didn't find a pciaccess pkg-config,
+ # just try looking for its header file and library.
+ if test "$hwloc_pci_happy" != "yes"; then :
+ ac_fn_c_check_header_mongrel "$LINENO" "pciaccess.h" "ac_cv_header_pciaccess_h" "$ac_includes_default"
+if test "x$ac_cv_header_pciaccess_h" = xyes; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pci_slot_match_iterator_create in -lpciaccess" >&5
+$as_echo_n "checking for pci_slot_match_iterator_create in -lpciaccess... " >&6; }
+if ${ac_cv_lib_pciaccess_pci_slot_match_iterator_create+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpciaccess $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pci_slot_match_iterator_create ();
+int
+main ()
+{
+return pci_slot_match_iterator_create ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_pciaccess_pci_slot_match_iterator_create=yes
+else
+ ac_cv_lib_pciaccess_pci_slot_match_iterator_create=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pciaccess_pci_slot_match_iterator_create" >&5
+$as_echo "$ac_cv_lib_pciaccess_pci_slot_match_iterator_create" >&6; }
+if test "x$ac_cv_lib_pciaccess_pci_slot_match_iterator_create" = xyes; then :
+ hwloc_pci_happy=yes
+ HWLOC_PCIACCESS_LIBS="-lpciaccess"
+fi
+
+
+fi
+
+
+
+fi
+
+ if test "$hwloc_pci_happy" = "yes"; then :
+ hwloc_pci_lib=pciaccess
+ hwloc_components="$hwloc_components pci"
+ hwloc_pci_component_maybeplugin=1
+fi
+ fi
+ # If we asked for pci support but couldn't deliver, fail
+ if test "$enable_pci" = "yes" -a "$hwloc_pci_happy" = "no"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified --enable-pci switch, but could not" >&5
+$as_echo "$as_me: WARNING: Specified --enable-pci switch, but could not" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: find appropriate support" >&5
+$as_echo "$as_me: WARNING: find appropriate support" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # OpenCL support
+ hwloc_opencl_happy=no
+ if test "x$enable_opencl" != "xno"; then
+ hwloc_opencl_happy=yes
+ case ${target} in
+ *-*-darwin*)
+ # On Darwin, only use the OpenCL framework
+ for ac_header in OpenCL/cl_ext.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "OpenCL/cl_ext.h" "ac_cv_header_OpenCL_cl_ext_h" "$ac_includes_default"
+if test "x$ac_cv_header_OpenCL_cl_ext_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_OPENCL_CL_EXT_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the OpenCL framework" >&5
+$as_echo_n "checking for the OpenCL framework... " >&6; }
+ tmp_save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -framework OpenCL"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+#include <OpenCL/opencl.h>
+
+int
+main ()
+{
+
+return clGetDeviceIDs(0, 0, 0, NULL, NULL);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ HWLOC_OPENCL_LDFLAGS="-framework OpenCL"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_opencl_happy=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS="$tmp_save_LDFLAGS"
+
+else
+ hwloc_opencl_happy=no
+fi
+
+done
+
+ ;;
+ *)
+ # On Others, look for OpenCL at normal locations
+ for ac_header in CL/cl_ext.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "CL/cl_ext.h" "ac_cv_header_CL_cl_ext_h" "$ac_includes_default"
+if test "x$ac_cv_header_CL_cl_ext_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CL_CL_EXT_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetDeviceIDs in -lOpenCL" >&5
+$as_echo_n "checking for clGetDeviceIDs in -lOpenCL... " >&6; }
+if ${ac_cv_lib_OpenCL_clGetDeviceIDs+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lOpenCL $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char clGetDeviceIDs ();
+int
+main ()
+{
+return clGetDeviceIDs ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_OpenCL_clGetDeviceIDs=yes
+else
+ ac_cv_lib_OpenCL_clGetDeviceIDs=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetDeviceIDs" >&5
+$as_echo "$ac_cv_lib_OpenCL_clGetDeviceIDs" >&6; }
+if test "x$ac_cv_lib_OpenCL_clGetDeviceIDs" = xyes; then :
+ HWLOC_OPENCL_LIBS="-lOpenCL"
+else
+ hwloc_opencl_happy=no
+fi
+
+
+else
+ hwloc_opencl_happy=no
+fi
+
+done
+
+ ;;
+ esac
+ fi
+
+
+
+ # Check if required extensions are available
+ if test "x$hwloc_opencl_happy" = "xyes"; then
+ tmp_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $HWLOC_OPENCL_CFLAGS"
+ tmp_save_LIBS="$LIBS"
+ LIBS="$LIBS $HWLOC_OPENCL_LIBS"
+ ac_fn_c_check_decl "$LINENO" "CL_DEVICE_TOPOLOGY_AMD" "ac_cv_have_decl_CL_DEVICE_TOPOLOGY_AMD" "#include <CL/cl_ext.h>
+"
+if test "x$ac_cv_have_decl_CL_DEVICE_TOPOLOGY_AMD" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_CL_DEVICE_TOPOLOGY_AMD $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+ hwloc_opencl_amd_happy=yes
+else
+ :
+fi
+
+ CFLAGS="$tmp_save_CFLAGS"
+ LIBS="$tmp_save_LIBS"
+ # We can't do anything without CL_DEVICE_TOPOLOGY_AMD so far, so disable OpenCL entirely if not found
+ test "x$hwloc_opencl_amd_happy" != "xyes" && hwloc_opencl_happy=no
+ fi
+ # If we asked for opencl support but couldn't deliver, fail
+ if test "$enable_opencl" = "yes" -a "$hwloc_opencl_happy" = "no"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified --enable-opencl switch, but could not" >&5
+$as_echo "$as_me: WARNING: Specified --enable-opencl switch, but could not" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: find appropriate support" >&5
+$as_echo "$as_me: WARNING: find appropriate support" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+ if test "x$hwloc_opencl_happy" = "xyes"; then
+
+$as_echo "#define HWLOC_HAVE_OPENCL 1" >>confdefs.h
+
+ HWLOC_HAVE_OPENCL=1
+
+ hwloc_components="$hwloc_components opencl"
+ hwloc_opencl_component_maybeplugin=1
+ else
+ HWLOC_HAVE_OPENCL=0
+
+ fi
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # CUDA support
+ hwloc_have_cuda=no
+ hwloc_have_cudart=no
+ if test "x$enable_cuda" != "xno"; then
+ for ac_header in cuda.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "cuda.h" "ac_cv_header_cuda_h" "$ac_includes_default"
+if test "x$ac_cv_header_cuda_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CUDA_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CUDA_VERSION >= 3020" >&5
+$as_echo_n "checking if CUDA_VERSION >= 3020... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <cuda.h>
+#ifndef CUDA_VERSION
+#error CUDA_VERSION undefined
+#elif CUDA_VERSION < 3020
+#error CUDA_VERSION too old
+#endif
+int
+main ()
+{
+int i = 3;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cuInit in -lcuda" >&5
+$as_echo_n "checking for cuInit in -lcuda... " >&6; }
+if ${ac_cv_lib_cuda_cuInit+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcuda $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char cuInit ();
+int
+main ()
+{
+return cuInit ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_cuda_cuInit=yes
+else
+ ac_cv_lib_cuda_cuInit=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cuda_cuInit" >&5
+$as_echo "$ac_cv_lib_cuda_cuInit" >&6; }
+if test "x$ac_cv_lib_cuda_cuInit" = xyes; then :
+
+$as_echo "#define HAVE_CUDA 1" >>confdefs.h
+
+ hwloc_have_cuda=yes
+fi
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+done
+
+
+ for ac_header in cuda_runtime_api.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "cuda_runtime_api.h" "ac_cv_header_cuda_runtime_api_h" "$ac_includes_default"
+if test "x$ac_cv_header_cuda_runtime_api_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CUDA_RUNTIME_API_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CUDART_VERSION >= 3020" >&5
+$as_echo_n "checking if CUDART_VERSION >= 3020... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <cuda_runtime_api.h>
+#ifndef CUDART_VERSION
+#error CUDART_VERSION undefined
+#elif CUDART_VERSION < 3020
+#error CUDART_VERSION too old
+#endif
+int
+main ()
+{
+int i = 3;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cudaGetDeviceProperties in -lcudart" >&5
+$as_echo_n "checking for cudaGetDeviceProperties in -lcudart... " >&6; }
+if ${ac_cv_lib_cudart_cudaGetDeviceProperties+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcudart $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char cudaGetDeviceProperties ();
+int
+main ()
+{
+return cudaGetDeviceProperties ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_cudart_cudaGetDeviceProperties=yes
+else
+ ac_cv_lib_cudart_cudaGetDeviceProperties=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cudart_cudaGetDeviceProperties" >&5
+$as_echo "$ac_cv_lib_cudart_cudaGetDeviceProperties" >&6; }
+if test "x$ac_cv_lib_cudart_cudaGetDeviceProperties" = xyes; then :
+
+ HWLOC_CUDA_LIBS="-lcudart"
+
+ hwloc_have_cudart=yes
+
+$as_echo "#define HWLOC_HAVE_CUDART 1" >>confdefs.h
+
+
+fi
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+
+done
+
+
+ if test "$enable_cuda" = "yes" -a "$hwloc_have_cudart" = "no"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified --enable-cuda switch, but could not" >&5
+$as_echo "$as_me: WARNING: Specified --enable-cuda switch, but could not" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: find appropriate support" >&5
+$as_echo "$as_me: WARNING: find appropriate support" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+
+ if test "x$hwloc_have_cudart" = "xyes"; then
+ hwloc_components="$hwloc_components cuda"
+ hwloc_cuda_component_maybeplugin=1
+ fi
+ fi
+ # don't add LIBS/CFLAGS yet, depends on plugins
+
+ # NVML support
+ hwloc_nvml_happy=no
+ if test "x$enable_nvml" != "xno"; then
+ hwloc_nvml_happy=yes
+ for ac_header in nvml.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "nvml.h" "ac_cv_header_nvml_h" "$ac_includes_default"
+if test "x$ac_cv_header_nvml_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_NVML_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nvmlInit in -lnvidia-ml" >&5
+$as_echo_n "checking for nvmlInit in -lnvidia-ml... " >&6; }
+if ${ac_cv_lib_nvidia_ml_nvmlInit+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnvidia-ml $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char nvmlInit ();
+int
+main ()
+{
+return nvmlInit ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_nvidia_ml_nvmlInit=yes
+else
+ ac_cv_lib_nvidia_ml_nvmlInit=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nvidia_ml_nvmlInit" >&5
+$as_echo "$ac_cv_lib_nvidia_ml_nvmlInit" >&6; }
+if test "x$ac_cv_lib_nvidia_ml_nvmlInit" = xyes; then :
+ HWLOC_NVML_LIBS="-lnvidia-ml"
+else
+ hwloc_nvml_happy=no
+fi
+
+
+else
+ hwloc_nvml_happy=no
+fi
+
+done
+
+ fi
+ if test "x$hwloc_nvml_happy" = "xyes"; then
+ tmp_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $HWLOC_NVML_CFLAGS"
+ tmp_save_LIBS="$LIBS"
+ LIBS="$LIBS $HWLOC_NVML_LIBS"
+ ac_fn_c_check_decl "$LINENO" "nvmlDeviceGetMaxPcieLinkGeneration" "ac_cv_have_decl_nvmlDeviceGetMaxPcieLinkGeneration" "#include <nvml.h>
+"
+if test "x$ac_cv_have_decl_nvmlDeviceGetMaxPcieLinkGeneration" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NVMLDEVICEGETMAXPCIELINKGENERATION $ac_have_decl
+_ACEOF
+if test $ac_have_decl = 1; then :
+
+else
+ :
+fi
+
+ CFLAGS="$tmp_save_CFLAGS"
+ LIBS="$tmp_save_LIBS"
+ fi
+
+ # If we asked for nvml support but couldn't deliver, fail
+ if test "$enable_nvml" = "yes" -a "$hwloc_nvml_happy" = "no"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified --enable-nvml switch, but could not" >&5
+$as_echo "$as_me: WARNING: Specified --enable-nvml switch, but could not" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: find appropriate support" >&5
+$as_echo "$as_me: WARNING: find appropriate support" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+ if test "x$hwloc_nvml_happy" = "xyes"; then
+
+$as_echo "#define HWLOC_HAVE_NVML 1" >>confdefs.h
+
+ HWLOC_HAVE_NVML=1
+
+ hwloc_components="$hwloc_components nvml"
+ hwloc_nvml_component_maybeplugin=1
+ else
+ HWLOC_HAVE_NVML=0
+
+ fi
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # X11 support
+ if test "$no_x" = yes; then
+ # Not all programs may use this symbol, but it does not hurt to define it.
+
+$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
+
+ X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
+else
+ if test -n "$x_includes"; then
+ X_CFLAGS="$X_CFLAGS -I$x_includes"
+ fi
+
+ # It would also be nice to do this for all -L options, not just this one.
+ if test -n "$x_libraries"; then
+ X_LIBS="$X_LIBS -L$x_libraries"
+ # For Solaris; some versions of Sun CC require a space after -R and
+ # others require no space. Words are not sufficient . . . .
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
+$as_echo_n "checking whether -R must be followed by a space... " >&6; }
+ ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
+ ac_xsave_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ X_LIBS="$X_LIBS -R$x_libraries"
+else
+ LIBS="$ac_xsave_LIBS -R $x_libraries"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ X_LIBS="$X_LIBS -R $x_libraries"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
+$as_echo "neither works" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_c_werror_flag=$ac_xsave_c_werror_flag
+ LIBS=$ac_xsave_LIBS
+ fi
+
+ # Check for system-dependent libraries X programs must link with.
+ # Do this before checking for the system-independent R6 libraries
+ # (-lICE), since we may need -lsocket or whatever for X linking.
+
+ if test "$ISC" = yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
+ else
+ # Martyn Johnson says this is needed for Ultrix, if the X
+ # libraries were built with DECnet support. And Karl Berry says
+ # the Alpha needs dnet_stub (dnet does not exist).
+ ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char XOpenDisplay ();
+int
+main ()
+{
+return XOpenDisplay ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
+$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
+if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldnet $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dnet_ntoa ();
+int
+main ()
+{
+return dnet_ntoa ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dnet_dnet_ntoa=yes
+else
+ ac_cv_lib_dnet_dnet_ntoa=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
+if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+fi
+
+ if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
+$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
+if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldnet_stub $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dnet_ntoa ();
+int
+main ()
+{
+return dnet_ntoa ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dnet_stub_dnet_ntoa=yes
+else
+ ac_cv_lib_dnet_stub_dnet_ntoa=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
+if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+fi
+
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS="$ac_xsave_LIBS"
+
+ # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
+ # to get the SysV transport functions.
+ # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
+ # needs -lnsl.
+ # The nsl library prevents programs from opening the X display
+ # on Irix 5.2, according to T.E. Dickey.
+ # The functions gethostbyname, getservbyname, and inet_addr are
+ # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
+ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
+
+fi
+
+ if test $ac_cv_func_gethostbyname = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
+if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnsl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char gethostbyname ();
+int
+main ()
+{
+return gethostbyname ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_nsl_gethostbyname=yes
+else
+ ac_cv_lib_nsl_gethostbyname=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
+if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+fi
+
+ if test $ac_cv_lib_nsl_gethostbyname = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
+$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
+if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lbsd $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char gethostbyname ();
+int
+main ()
+{
+return gethostbyname ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_bsd_gethostbyname=yes
+else
+ ac_cv_lib_bsd_gethostbyname=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
+$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
+if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
+fi
+
+ fi
+ fi
+
+ # lieder@skyler.mavd.honeywell.com says without -lsocket,
+ # socket/setsockopt and other routines are undefined under SCO ODT
+ # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
+ # on later versions), says Simon Leinen: it contains gethostby*
+ # variants that don't use the name server (or something). -lsocket
+ # must be given before -lnsl if both are needed. We assume that
+ # if connect needs -lnsl, so does gethostbyname.
+ ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
+if test "x$ac_cv_func_connect" = xyes; then :
+
+fi
+
+ if test $ac_cv_func_connect = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
+$as_echo_n "checking for connect in -lsocket... " >&6; }
+if ${ac_cv_lib_socket_connect+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char connect ();
+int
+main ()
+{
+return connect ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_socket_connect=yes
+else
+ ac_cv_lib_socket_connect=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
+$as_echo "$ac_cv_lib_socket_connect" >&6; }
+if test "x$ac_cv_lib_socket_connect" = xyes; then :
+ X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+fi
+
+ fi
+
+ # Guillermo Gomez says -lposix is necessary on A/UX.
+ ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
+if test "x$ac_cv_func_remove" = xyes; then :
+
+fi
+
+ if test $ac_cv_func_remove = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
+$as_echo_n "checking for remove in -lposix... " >&6; }
+if ${ac_cv_lib_posix_remove+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lposix $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char remove ();
+int
+main ()
+{
+return remove ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_posix_remove=yes
+else
+ ac_cv_lib_posix_remove=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
+$as_echo "$ac_cv_lib_posix_remove" >&6; }
+if test "x$ac_cv_lib_posix_remove" = xyes; then :
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+fi
+
+ fi
+
+ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+ ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
+if test "x$ac_cv_func_shmat" = xyes; then :
+
+fi
+
+ if test $ac_cv_func_shmat = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
+$as_echo_n "checking for shmat in -lipc... " >&6; }
+if ${ac_cv_lib_ipc_shmat+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lipc $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shmat ();
+int
+main ()
+{
+return shmat ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_ipc_shmat=yes
+else
+ ac_cv_lib_ipc_shmat=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
+$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
+if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+fi
+
+ fi
+ fi
+
+ # Check for libraries that X11R6 Xt/Xaw programs need.
+ ac_save_LDFLAGS=$LDFLAGS
+ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
+ # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+ # check for ICE first), but we must link in the order -lSM -lICE or
+ # we get undefined symbols. So assume we have SM if we have ICE.
+ # These have to be linked with before -lX11, unlike the other
+ # libraries we check for below, so use a different variable.
+ # John Interrante, Karl Berry
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
+$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
+if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char IceConnectionNumber ();
+int
+main ()
+{
+return IceConnectionNumber ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_ICE_IceConnectionNumber=yes
+else
+ ac_cv_lib_ICE_IceConnectionNumber=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
+if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
+ X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
+fi
+
+ LDFLAGS=$ac_save_LDFLAGS
+
+fi
+
+
+ CPPFLAGS_save=$CPPFLAGS
+ LIBS_save=$LIBS
+
+ CPPFLAGS="$CPPFLAGS $X_CFLAGS"
+ LIBS="$LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS"
+ for ac_header in X11/Xlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_X11_XLIB_H 1
+_ACEOF
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
+$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
+if ${ac_cv_lib_X11_XOpenDisplay+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lX11 $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char XOpenDisplay ();
+int
+main ()
+{
+return XOpenDisplay ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_X11_XOpenDisplay=yes
+else
+ ac_cv_lib_X11_XOpenDisplay=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
+$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
+if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then :
+
+ # the GL backend just needs XOpenDisplay
+ hwloc_enable_X11=yes
+ # lstopo needs more
+ for ac_header in X11/Xutil.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#include <X11/Xlib.h>
+"
+if test "x$ac_cv_header_X11_Xutil_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_X11_XUTIL_H 1
+_ACEOF
+ for ac_header in X11/keysym.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "X11/keysym.h" "ac_cv_header_X11_keysym_h" "$ac_includes_default"
+if test "x$ac_cv_header_X11_keysym_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_X11_KEYSYM_H 1
+_ACEOF
+
+$as_echo "#define HWLOC_HAVE_X11_KEYSYM 1" >>confdefs.h
+
+ HWLOC_X11_CPPFLAGS="$X_CFLAGS"
+
+ HWLOC_X11_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
+
+fi
+
+done
+
+
+fi
+
+done
+
+
+fi
+
+
+fi
+
+done
+
+ CPPFLAGS=$CPPFLAGS_save
+ LIBS=$LIBS_save
+
+ # GL Support
+ hwloc_gl_happy=no
+ if test "x$enable_gl" != "xno"; then
+ hwloc_gl_happy=yes
+
+ if test "$hwloc_enable_X11" != "yes"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X11 not found; GL disabled" >&5
+$as_echo "$as_me: WARNING: X11 not found; GL disabled" >&2;}
+ hwloc_gl_happy=no
+fi
+
+ for ac_header in NVCtrl/NVCtrl.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "NVCtrl/NVCtrl.h" "ac_cv_header_NVCtrl_NVCtrl_h" "$ac_includes_default"
+if test "x$ac_cv_header_NVCtrl_NVCtrl_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_NVCTRL_NVCTRL_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryTargetAttribute in -lXNVCtrl" >&5
+$as_echo_n "checking for XNVCTRLQueryTargetAttribute in -lXNVCtrl... " >&6; }
+if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryTargetAttribute+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lXNVCtrl -lXext $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char XNVCTRLQueryTargetAttribute ();
+int
+main ()
+{
+return XNVCTRLQueryTargetAttribute ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_XNVCtrl_XNVCTRLQueryTargetAttribute=yes
+else
+ ac_cv_lib_XNVCtrl_XNVCTRLQueryTargetAttribute=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryTargetAttribute" >&5
+$as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryTargetAttribute" >&6; }
+if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryTargetAttribute" = xyes; then :
+ :
+else
+ hwloc_gl_happy=no
+fi
+
+
+else
+ hwloc_gl_happy=no
+fi
+
+done
+
+
+ if test "x$hwloc_gl_happy" = "xyes"; then
+
+$as_echo "#define HWLOC_HAVE_GL 1" >>confdefs.h
+
+ HWLOC_GL_LIBS="-lXNVCtrl -lXext -lX11"
+
+ # FIXME we actually don't know if xext.pc and x11.pc are installed
+ # since we didn't look for Xext and X11 using pkg-config
+ HWLOC_GL_REQUIRES="xext x11"
+ hwloc_have_gl=yes
+ hwloc_components="$hwloc_components gl"
+ hwloc_gl_component_maybeplugin=1
+ else
+ if test "$enable_gl" = "yes"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specified --enable-gl switch, but could not" >&5
+$as_echo "$as_me: WARNING: Specified --enable-gl switch, but could not" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: find appropriate support" >&5
+$as_echo "$as_me: WARNING: find appropriate support" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+
+fi
+ fi
+ fi
+ # don't add LIBS/CFLAGS yet, depends on plugins
+
+ # libxml2 support
+ hwloc_libxml2_happy=
+ if test "x$enable_libxml2" != "xno"; then
+
+
+ HWLOC_pkg_failed=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
+$as_echo_n "checking for LIBXML2... " >&6; }
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_LIBXML2_CFLAGS"; then
+ HWLOC_pkg_cv_HWLOC_LIBXML2_CFLAGS="$HWLOC_LIBXML2_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"libxml-2.0\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "libxml-2.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_LIBXML2_LIBS"; then
+ HWLOC_pkg_cv_HWLOC_LIBXML2_LIBS="$HWLOC_LIBXML2_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"libxml-2.0\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "libxml-2.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+
+
+
+ # Check for failure of pkg-config
+ if test $HWLOC_pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ HWLOC_pkg_short_errors_supported=yes
+else
+ HWLOC_pkg_short_errors_supported=no
+fi
+ if test $HWLOC_pkg_short_errors_supported = yes; then
+ HWLOC_LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0" 2>&1`
+ else
+ HWLOC_LIBXML2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$HWLOC_LIBXML2_PKG_ERRORS" >&5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_libxml2_happy=no
+ elif test $HWLOC_pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot check without pkg-config" >&5
+$as_echo "cannot check without pkg-config" >&6; }
+ hwloc_libxml2_happy=no
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+ # If we got good results from pkg-config, check that they
+ # actually work (i.e., that we can link against the resulting
+ # $LIBS). The canonical example why we do this is if
+ # pkg-config returns 64 bit libraries but ./configure was run
+ # with CFLAGS=-m32 LDFLAGS=-m32. pkg-config gave us valid
+ # results, but we'll fail if we try to link. So detect that
+ # failure now.
+ # There are also cases on Mac where pkg-config returns paths
+ # that do not actually exists until some magic is applied.
+ # http://www.open-mpi.org/community/lists/hwloc-devel/2015/03/4402.php
+ # So check whether we find the header as well.
+ hwloc_cflags_save=$CFLAGS
+ hwloc_cppflags_save=$CPPFLAGS
+ hwloc_libs_save=$LIBS
+ CFLAGS="$CFLAGS $HWLOC_pkg_cv_HWLOC_LIBXML2_CFLAGS"
+ CPPFLAGS="$CPPFLAGS $HWLOC_pkg_cv_HWLOC_LIBXML2_CFLAGS"
+ LIBS="$LIBS $HWLOC_pkg_cv_HWLOC_LIBXML2_LIBS"
+ ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
+if test "x$ac_cv_header_libxml_parser_h" = xyes; then :
+
+ ac_fn_c_check_func "$LINENO" "xmlNewDoc" "ac_cv_func_xmlNewDoc"
+if test "x$ac_cv_func_xmlNewDoc" = xyes; then :
+ hwloc_result=yes
+else
+ hwloc_result=no
+fi
+
+
+else
+ hwloc_result=no
+fi
+
+
+ CFLAGS=$hwloc_cflags_save
+ CPPFLAGS=$hwloc_cppflags_save
+ LIBS=$hwloc_libs_save
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for final LIBXML2 support" >&5
+$as_echo_n "checking for final LIBXML2 support... " >&6; }
+ if test "$hwloc_result" = "yes"; then :
+ HWLOC_LIBXML2_CFLAGS=$HWLOC_pkg_cv_HWLOC_LIBXML2_CFLAGS
+ HWLOC_LIBXML2_LIBS=$HWLOC_pkg_cv_HWLOC_LIBXML2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ hwloc_libxml2_happy=yes
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_libxml2_happy=no
+fi
+ fi
+ fi
+ if test "x$hwloc_libxml2_happy" = "xyes"; then
+ HWLOC_LIBXML2_REQUIRES="libxml-2.0"
+
+$as_echo "#define HWLOC_HAVE_LIBXML2 1" >>confdefs.h
+
+ HWLOC_HAVE_LIBXML2=1
+
+
+ hwloc_components="$hwloc_components xml_libxml"
+ hwloc_xml_libxml_component_maybeplugin=1
+ else
+ HWLOC_HAVE_LIBXML2=0
+
+ if test "$enable_libxml2" = "yes"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-libxml2 requested, but libxml2 was not found" >&5
+$as_echo "$as_me: WARNING: --enable-libxml2 requested, but libxml2 was not found" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+ fi
+ # don't add LIBS/CFLAGS/REQUIRES yet, depends on plugins
+
+ # Try to compile the x86 cpuid inlines
+ if test "x$enable_cpuid" != "xno"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid" >&5
+$as_echo_n "checking for x86 cpuid... " >&6; }
+ old_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -I$HWLOC_top_srcdir/include"
+ # We need hwloc_uint64_t but we can't use hwloc/autogen/config.h before configure ends.
+ # So pass #include/#define manually here for now.
+ CPUID_CHECK_HEADERS=
+ CPUID_CHECK_DEFINE=
+ if test "x$hwloc_windows" = xyes; then
+ X86_CPUID_CHECK_HEADERS="#include <windows.h>"
+ X86_CPUID_CHECK_DEFINE="#define hwloc_uint64_t DWORDLONG"
+ else
+ X86_CPUID_CHECK_DEFINE="#define hwloc_uint64_t uint64_t"
+ if test "x$ac_cv_header_stdint_h" = xyes; then
+ X86_CPUID_CHECK_HEADERS="#include <stdint.h>"
+ fi
+ fi
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <stdio.h>
+ $X86_CPUID_CHECK_HEADERS
+ $X86_CPUID_CHECK_DEFINE
+ #define __hwloc_inline
+ #include <private/cpuid-x86.h>
+
+int
+main ()
+{
+
+ if (hwloc_have_x86_cpuid()) {
+ unsigned eax = 0, ebx, ecx = 0, edx;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ printf("highest x86 cpuid %x\n", eax);
+ return 0;
+ }
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+$as_echo "#define HWLOC_HAVE_X86_CPUID 1" >>confdefs.h
+
+ hwloc_have_x86_cpuid=yes
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test "x$hwloc_have_x86_cpuid" = xyes; then
+ hwloc_components="$hwloc_components x86"
+ fi
+ CPPFLAGS="$old_CPPFLAGS"
+ fi
+
+ # Components require pthread_mutex, see if it needs -lpthread
+ hwloc_pthread_mutex_happy=no
+ # Try without explicit -lpthread first
+ ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"
+if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then :
+ hwloc_pthread_mutex_happy=yes
+ HWLOC_LIBS_PRIVATE="$HWLOC_LIBS_PRIVATE -lpthread"
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock with -lpthread" >&5
+$as_echo_n "checking for pthread_mutex_lock with -lpthread... " >&6; }
+ # Try again with explicit -lpthread, but don't use AC_CHECK_FUNC to avoid the cache
+ tmp_save_LIBS=$LIBS
+ LIBS="$LIBS -lpthread"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_mutex_lock ();
+int
+main ()
+{
+return pthread_mutex_lock ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ hwloc_pthread_mutex_happy=yes
+ HWLOC_LIBS="$HWLOC_LIBS -lpthread"
+
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_pthread_mutex_happy" >&5
+$as_echo "$hwloc_pthread_mutex_happy" >&6; }
+ LIBS="$tmp_save_LIBS"
+
+fi
+
+ if test "x$hwloc_pthread_mutex_happy" = "xyes"; then :
+
+$as_echo "#define HWLOC_HAVE_PTHREAD_MUTEX 1" >>confdefs.h
+
+fi
+
+ if test "x$hwloc_pthread_mutex_happy" != xyes -a "x$hwloc_windows" != xyes; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread_mutex_lock not available, required for thread-safe initialization on non-Windows platforms." >&5
+$as_echo "$as_me: WARNING: pthread_mutex_lock not available, required for thread-safe initialization on non-Windows platforms." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please report this to the hwloc-devel mailing list." >&5
+$as_echo "$as_me: WARNING: Please report this to the hwloc-devel mailing list." >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+
+ #
+ # Now enable registration of listed components
+ #
+
+ # Plugin support
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if plugin support is enabled" >&5
+$as_echo_n "checking if plugin support is enabled... " >&6; }
+ # Plugins (even core support) are totally disabled by default
+ if test "x$enable_plugins" = "x"; then :
+ enable_plugins=no
+fi
+ if test "x$enable_plugins" != "xno"; then :
+ hwloc_have_plugins=yes
+else
+ hwloc_have_plugins=no
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_have_plugins" >&5
+$as_echo "$hwloc_have_plugins" >&6; }
+ if test "x$hwloc_have_plugins" = "xyes"; then :
+
+$as_echo "#define HWLOC_HAVE_PLUGINS 1" >>confdefs.h
+
+fi
+
+ # Some sanity checks about plugins
+ # libltdl doesn't work on AIX as of 2.4.2
+ if test "x$enable_plugins" = "xyes" -a "x$hwloc_aix" = "xyes"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libltdl does not work on AIX, plugins support cannot be enabled." >&5
+$as_echo "$as_me: WARNING: libltdl does not work on AIX, plugins support cannot be enabled." >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+ # posix linkers don't work well with plugins and windows dll constraints
+ if test "x$enable_plugins" = "xyes" -a "x$hwloc_windows" = "xyes"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugins not supported on non-native Windows build, plugins support cannot be enabled." >&5
+$as_echo "$as_me: WARNING: Plugins not supported on non-native Windows build, plugins support cannot be enabled." >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+
+ # If we want plugins, look for ltdl.h and libltdl
+ if test "x$hwloc_have_plugins" = xyes; then
+ ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
+if test "x$ac_cv_header_ltdl_h" = xyes; then :
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugin support requested, but could not find ltdl.h" >&5
+$as_echo "$as_me: WARNING: Plugin support requested, but could not find ltdl.h" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopenext in -lltdl" >&5
+$as_echo_n "checking for lt_dlopenext in -lltdl... " >&6; }
+if ${ac_cv_lib_ltdl_lt_dlopenext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lltdl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char lt_dlopenext ();
+int
+main ()
+{
+return lt_dlopenext ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_ltdl_lt_dlopenext=yes
+else
+ ac_cv_lib_ltdl_lt_dlopenext=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopenext" >&5
+$as_echo "$ac_cv_lib_ltdl_lt_dlopenext" >&6; }
+if test "x$ac_cv_lib_ltdl_lt_dlopenext" = xyes; then :
+ HWLOC_LIBS="$HWLOC_LIBS -lltdl"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugin support requested, but could not find libltdl" >&5
+$as_echo "$as_me: WARNING: Plugin support requested, but could not find libltdl" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+
+ # Add libltdl static-build dependencies to hwloc.pc
+
+ # save variables that we'll modify below
+ save_lt_cv_dlopen="$lt_cv_dlopen"
+ save_lt_cv_dlopen_libs="$lt_cv_dlopen_libs"
+ save_lt_cv_dlopen_self="$lt_cv_dlopen_self"
+ ###########################################################
+ # code stolen from LT_SYS_DLOPEN_SELF in libtool.m4
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ *)
+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
+if test "x$ac_cv_func_shl_load" = xyes; then :
+ lt_cv_dlopen="shl_load"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if ${ac_cv_lib_dld_shl_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_shl_load=yes
+else
+ ac_cv_lib_dld_shl_load=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
+else
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if ${ac_cv_lib_svld_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_svld_dlopen=yes
+else
+ ac_cv_lib_svld_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if ${ac_cv_lib_dld_dld_link+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_dld_link=yes
+else
+ ac_cv_lib_dld_dld_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+ # end of code stolen from LT_SYS_DLOPEN_SELF in libtool.m4
+ ###########################################################
+
+ HWLOC_LIBS_PRIVATE="$HWLOC_LIBS_PRIVATE $lt_cv_dlopen_libs"
+
+ # restore modified variable in case the actual libtool code uses them
+ lt_cv_dlopen="$save_lt_cv_dlopen"
+ lt_cv_dlopen_libs="$save_lt_cv_dlopen_libs"
+ lt_cv_dlopen_self="$save_lt_cv_dlopen_self"
+
+ fi
+
+
+# Check whether --with-hwloc-plugins-path was given.
+if test "${with_hwloc_plugins_path+set}" = set; then :
+ withval=$with_hwloc_plugins_path; HWLOC_PLUGINS_PATH="$with_hwloc_plugins_path"
+else
+ HWLOC_PLUGINS_PATH="\$(libdir)/hwloc"
+fi
+
+
+ HWLOC_PLUGINS_DIR=`echo "$HWLOC_PLUGINS_PATH" | cut -d: -f1`
+
+
+ # Static components output file
+ hwloc_static_components_dir=${HWLOC_top_builddir}/src
+ mkdir -p ${hwloc_static_components_dir}
+ hwloc_static_components_file=${hwloc_static_components_dir}/static-components.h
+ rm -f ${hwloc_static_components_file}
+
+ # Make $enable_plugins easier to use (it contains either "yes" (all) or a list of <name>)
+
+ for name in `echo $enable_plugins | sed -e 's/,/ /g'` ; do
+ str="hwloc_${name}_component_wantplugin=1"
+ eval $str
+ done
+
+ # Now we have some hwloc_<name>_component_wantplugin=1
+
+ # See which core components want plugin and support it
+
+for name in $hwloc_components ; do
+ str="maybeplugin=\$hwloc_${name}_component_maybeplugin"
+ eval $str
+ str="wantplugin=\$hwloc_${name}_component_wantplugin"
+ eval $str
+ if test x$hwloc_have_plugins = xyes && test x$maybeplugin = x1 && test x$wantplugin = x1 -o x$enable_plugins = xyes; then
+ hwloc_plugin_components="$hwloc_plugin_components $name"
+ str="hwloc_${name}_component=plugin"
+ else
+ hwloc_static_components="$hwloc_static_components $name"
+ str="hwloc_${name}_component=static"
+ fi
+ eval $str
+done
+
+ # Now we have some hwloc_<name>_component=plugin/static
+ # and hwloc_static/plugin_components
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking components to build statically" >&5
+$as_echo_n "checking components to build statically... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_static_components" >&5
+$as_echo "$hwloc_static_components" >&6; }
+
+cat <<EOF >>$hwloc_static_components_file
+#include <private/internal-components.h>
+static const struct hwloc_component * hwloc_static_components[] = {
+EOF
+for comp in $hwloc_static_components; do
+ echo " &hwloc_${comp}_component," >>$hwloc_static_components_file
+done
+cat <<EOF >>$hwloc_static_components_file
+ NULL
+};
+EOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking components to build as plugins" >&5
+$as_echo_n "checking components to build as plugins... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_plugin_components" >&5
+$as_echo "$hwloc_plugin_components" >&6; }
+
+ if test "$hwloc_pci_component" = "static"; then :
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_PCIACCESS_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_PCIACCESS_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_PCIACCESS_REQUIRES $HWLOC_REQUIRES"
+fi
+ if test "$hwloc_opencl_component" = "static"; then :
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_OPENCL_LIBS"
+ HWLOC_LDFLAGS="$HWLOC_LDFLAGS $HWLOC_OPENCL_LDFLAGS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_OPENCL_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_OPENCL_REQUIRES $HWLOC_REQUIRES"
+fi
+ if test "$hwloc_cuda_component" = "static"; then :
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_CUDA_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_CUDA_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_CUDA_REQUIRES $HWLOC_REQUIRES"
+fi
+ if test "$hwloc_nvml_component" = "static"; then :
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_NVML_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_NVML_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_NVML_REQUIRES $HWLOC_REQUIRES"
+fi
+ if test "$hwloc_gl_component" = "static"; then :
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_GL_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_GL_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_GL_REQUIRES $HWLOC_REQUIRES"
+fi
+ if test "$hwloc_xml_libxml_component" = "static"; then :
+ HWLOC_LIBS="$HWLOC_LIBS $HWLOC_LIBXML2_LIBS"
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $HWLOC_LIBXML2_CFLAGS"
+ HWLOC_REQUIRES="$HWLOC_LIBXML2_REQUIRES $HWLOC_REQUIRES"
+fi
+
+ #
+ # Setup HWLOC's C, CPP, and LD flags, and LIBS
+ #
+
+
+ HWLOC_CPPFLAGS='-I$(HWLOC_top_builddir)/include -I$(HWLOC_top_srcdir)/include'
+
+
+
+
+
+ # Set these values explicitly for embedded builds. Exporting
+ # these values through *_EMBEDDED_* values gives us the freedom to
+ # do something different someday if we ever need to. There's no
+ # need to fill these values in unless we're in embedded mode.
+ # Indeed, if we're building in embedded mode, we want HWLOC_LIBS
+ # to be empty so that nothing is linked into libhwloc_embedded.la
+ # itself -- only the upper-layer will link in anything required.
+
+ if test "$hwloc_mode" = "embedded"; then :
+ HWLOC_EMBEDDED_CFLAGS=$HWLOC_CFLAGS
+ HWLOC_EMBEDDED_CPPFLAGS=$HWLOC_CPPFLAGS
+ HWLOC_EMBEDDED_LDFLAGS=$HWLOC_LDFLAGS
+ HWLOC_EMBEDDED_LDADD='$(HWLOC_top_builddir)/src/libhwloc_embedded.la'
+ HWLOC_EMBEDDED_LIBS=$HWLOC_LIBS
+ HWLOC_LIBS=
+fi
+
+
+
+
+
+
+ # Always generate these files
+ ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile"
+
+
+ # Cleanup
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ # Success
+
+
+
+# Setup hwloc's docs, utils, and tests
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+
+if test "$hwloc_mode" = "standalone"; then :
+
+ cat <<EOF
+
+###
+### Configuring hwloc documentation
+###
+EOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a developer build" >&5
+$as_echo_n "checking if this is a developer build... " >&6; }
+ if test ! -e "$srcdir/.git"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (doxygen generation is optional)" >&5
+$as_echo "no (doxygen generation is optional)" >&6; }
+ test "x$enable_doxygen" = x && enable_doxygen=no
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ test "x$enable_doxygen" = x && enable_doxygen=yes
+fi
+
+ # Generating the doxygen output requires a few tools. If we
+ # don't have all of them, refuse the build the docs.
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
+set dummy ${ac_tool_prefix}doxygen; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_DOXYGEN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DOXYGEN in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DOXYGEN=$ac_cv_path_DOXYGEN
+if test -n "$DOXYGEN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
+$as_echo "$DOXYGEN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DOXYGEN"; then
+ ac_pt_DOXYGEN=$DOXYGEN
+ # Extract the first word of "doxygen", so it can be a program name with args.
+set dummy doxygen; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_DOXYGEN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DOXYGEN in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DOXYGEN="$ac_pt_DOXYGEN" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DOXYGEN=$ac_cv_path_ac_pt_DOXYGEN
+if test -n "$ac_pt_DOXYGEN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DOXYGEN" >&5
+$as_echo "$ac_pt_DOXYGEN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DOXYGEN" = x; then
+ DOXYGEN=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DOXYGEN=$ac_pt_DOXYGEN
+ fi
+else
+ DOXYGEN="$ac_cv_path_DOXYGEN"
+fi
+
+ HWLOC_DOXYGEN_VERSION=`doxygen --version 2> /dev/null`
+
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PDFLATEX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PDFLATEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PDFLATEX="$PDFLATEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PDFLATEX=$ac_cv_path_PDFLATEX
+if test -n "$PDFLATEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
+$as_echo "$PDFLATEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PDFLATEX"; then
+ ac_pt_PDFLATEX=$PDFLATEX
+ # Extract the first word of "pdflatex", so it can be a program name with args.
+set dummy pdflatex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PDFLATEX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PDFLATEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PDFLATEX="$ac_pt_PDFLATEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PDFLATEX=$ac_cv_path_ac_pt_PDFLATEX
+if test -n "$ac_pt_PDFLATEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PDFLATEX" >&5
+$as_echo "$ac_pt_PDFLATEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PDFLATEX" = x; then
+ PDFLATEX=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PDFLATEX=$ac_pt_PDFLATEX
+ fi
+else
+ PDFLATEX="$ac_cv_path_PDFLATEX"
+fi
+
+
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
+set dummy ${ac_tool_prefix}makeindex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_MAKEINDEX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAKEINDEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_MAKEINDEX="$MAKEINDEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+MAKEINDEX=$ac_cv_path_MAKEINDEX
+if test -n "$MAKEINDEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINDEX" >&5
+$as_echo "$MAKEINDEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_MAKEINDEX"; then
+ ac_pt_MAKEINDEX=$MAKEINDEX
+ # Extract the first word of "makeindex", so it can be a program name with args.
+set dummy makeindex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_MAKEINDEX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_MAKEINDEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_MAKEINDEX="$ac_pt_MAKEINDEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_MAKEINDEX=$ac_cv_path_ac_pt_MAKEINDEX
+if test -n "$ac_pt_MAKEINDEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MAKEINDEX" >&5
+$as_echo "$ac_pt_MAKEINDEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_MAKEINDEX" = x; then
+ MAKEINDEX=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ MAKEINDEX=$ac_pt_MAKEINDEX
+ fi
+else
+ MAKEINDEX="$ac_cv_path_MAKEINDEX"
+fi
+
+
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}fig2dev", so it can be a program name with args.
+set dummy ${ac_tool_prefix}fig2dev; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_FIG2DEV+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $FIG2DEV in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_FIG2DEV="$FIG2DEV" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_FIG2DEV="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+FIG2DEV=$ac_cv_path_FIG2DEV
+if test -n "$FIG2DEV"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIG2DEV" >&5
+$as_echo "$FIG2DEV" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_FIG2DEV"; then
+ ac_pt_FIG2DEV=$FIG2DEV
+ # Extract the first word of "fig2dev", so it can be a program name with args.
+set dummy fig2dev; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_FIG2DEV+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_FIG2DEV in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_FIG2DEV="$ac_pt_FIG2DEV" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_FIG2DEV="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_FIG2DEV=$ac_cv_path_ac_pt_FIG2DEV
+if test -n "$ac_pt_FIG2DEV"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_FIG2DEV" >&5
+$as_echo "$ac_pt_FIG2DEV" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_FIG2DEV" = x; then
+ FIG2DEV=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ FIG2DEV=$ac_pt_FIG2DEV
+ fi
+else
+ FIG2DEV="$ac_cv_path_FIG2DEV"
+fi
+
+
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gs", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gs; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_GS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $GS in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_GS="$GS" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_GS="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+GS=$ac_cv_path_GS
+if test -n "$GS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
+$as_echo "$GS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_GS"; then
+ ac_pt_GS=$GS
+ # Extract the first word of "gs", so it can be a program name with args.
+set dummy gs; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_GS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_GS in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_GS="$ac_pt_GS" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_GS="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_GS=$ac_cv_path_ac_pt_GS
+if test -n "$ac_pt_GS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_GS" >&5
+$as_echo "$ac_pt_GS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_GS" = x; then
+ GS=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ GS=$ac_pt_GS
+ fi
+else
+ GS="$ac_cv_path_GS"
+fi
+
+
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}epstopdf", so it can be a program name with args.
+set dummy ${ac_tool_prefix}epstopdf; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_EPSTOPDF+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $EPSTOPDF in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_EPSTOPDF="$EPSTOPDF" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_EPSTOPDF="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+EPSTOPDF=$ac_cv_path_EPSTOPDF
+if test -n "$EPSTOPDF"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPSTOPDF" >&5
+$as_echo "$EPSTOPDF" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_EPSTOPDF"; then
+ ac_pt_EPSTOPDF=$EPSTOPDF
+ # Extract the first word of "epstopdf", so it can be a program name with args.
+set dummy epstopdf; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_EPSTOPDF+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_EPSTOPDF in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_EPSTOPDF="$ac_pt_EPSTOPDF" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_EPSTOPDF="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_EPSTOPDF=$ac_cv_path_ac_pt_EPSTOPDF
+if test -n "$ac_pt_EPSTOPDF"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_EPSTOPDF" >&5
+$as_echo "$ac_pt_EPSTOPDF" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_EPSTOPDF" = x; then
+ EPSTOPDF=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ EPSTOPDF=$ac_pt_EPSTOPDF
+ fi
+else
+ EPSTOPDF="$ac_cv_path_EPSTOPDF"
+fi
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if can build doxygen docs" >&5
+$as_echo_n "checking if can build doxygen docs... " >&6; }
+ if test "x$DOXYGEN" != "x" -a "x$PDFLATEX" != "x" -a "x$MAKEINDEX" != "x" -a "x$FIG2DEV" != "x" -a "x$GS" != "x" -a "x$EPSTOPDF" != "x"; then :
+ hwloc_generate_doxs=yes
+else
+ hwloc_generate_doxs=no
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_generate_doxs" >&5
+$as_echo "$hwloc_generate_doxs" >&6; }
+ if test "x$hwloc_generate_doxs" = xyes -a "x$HWLOC_DOXYGEN_VERSION" = x1.6.2; then :
+ hwloc_generate_doxs="no"; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen 1.6.2 has broken short name support, disabling" >&5
+$as_echo "$as_me: WARNING: doxygen 1.6.2 has broken short name support, disabling" >&2;}
+fi
+
+
+
+ # Making the top-level README requires w3m or lynx.
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}w3m", so it can be a program name with args.
+set dummy ${ac_tool_prefix}w3m; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_W3M+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $W3M in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_W3M="$W3M" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_W3M="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+W3M=$ac_cv_path_W3M
+if test -n "$W3M"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $W3M" >&5
+$as_echo "$W3M" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_W3M"; then
+ ac_pt_W3M=$W3M
+ # Extract the first word of "w3m", so it can be a program name with args.
+set dummy w3m; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_W3M+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_W3M in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_W3M="$ac_pt_W3M" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_W3M="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_W3M=$ac_cv_path_ac_pt_W3M
+if test -n "$ac_pt_W3M"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_W3M" >&5
+$as_echo "$ac_pt_W3M" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_W3M" = x; then
+ W3M=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ W3M=$ac_pt_W3M
+ fi
+else
+ W3M="$ac_cv_path_W3M"
+fi
+
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}lynx", so it can be a program name with args.
+set dummy ${ac_tool_prefix}lynx; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_LYNX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $LYNX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_LYNX="$LYNX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_LYNX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+LYNX=$ac_cv_path_LYNX
+if test -n "$LYNX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LYNX" >&5
+$as_echo "$LYNX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_LYNX"; then
+ ac_pt_LYNX=$LYNX
+ # Extract the first word of "lynx", so it can be a program name with args.
+set dummy lynx; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_LYNX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_LYNX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_LYNX="$ac_pt_LYNX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_LYNX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_LYNX=$ac_cv_path_ac_pt_LYNX
+if test -n "$ac_pt_LYNX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LYNX" >&5
+$as_echo "$ac_pt_LYNX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_LYNX" = x; then
+ LYNX=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ LYNX=$ac_pt_LYNX
+ fi
+else
+ LYNX="$ac_cv_path_LYNX"
+fi
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if can build top-level README" >&5
+$as_echo_n "checking if can build top-level README... " >&6; }
+ if test "x$W3M" != "x"; then :
+ hwloc_generate_readme=yes
+ HWLOC_W3_GENERATOR=$W3M
+else
+ if test "x$LYNX" != "x"; then :
+ hwloc_generate_readme=yes
+ HWLOC_W3_GENERATOR="$LYNX -dump -nolist"
+else
+ hwloc_generate_readme=no
+fi
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_generate_readme" >&5
+$as_echo "$hwloc_generate_readme" >&6; }
+
+ # If any one of the above tools is missing, we will refuse to make dist.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if will build doxygen docs" >&5
+$as_echo_n "checking if will build doxygen docs... " >&6; }
+ if test "x$hwloc_generate_doxs" = "xyes" -a "x$enable_doxygen" != "xno"; then :
+
+else
+ hwloc_generate_doxs=no
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_generate_doxs" >&5
+$as_echo "$hwloc_generate_doxs" >&6; }
+
+ # See if we want to install the doxygen docs
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if will install doxygen docs" >&5
+$as_echo_n "checking if will install doxygen docs... " >&6; }
+ if test "x$hwloc_generate_doxs" = "xyes" -o \
+ -f "$srcdir/doc/doxygen-doc/man/man3/hwloc_distrib.3" -a \
+ -f "$srcdir/doc/doxygen-doc/hwloc-a4.pdf" -a \
+ -f "$srcdir/doc/doxygen-doc/hwloc-letter.pdf"; then :
+ hwloc_install_doxs=yes
+else
+ hwloc_install_doxs=no
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_install_doxs" >&5
+$as_echo "$hwloc_install_doxs" >&6; }
+
+ # For the common developer case, if we're in a developer checkout and
+ # using the GNU compilers, turn on maximum warnings unless
+ # specifically disabled by the user.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable \"picky\" compiler mode" >&5
+$as_echo_n "checking whether to enable \"picky\" compiler mode... " >&6; }
+ hwloc_want_picky=0
+ if test "$hwloc_c_vendor" = "gnu"; then :
+ if test -e "$srcdir/.git"; then :
+ hwloc_want_picky=1
+fi
+fi
+ if test "$enable_picky" = "yes"; then
+ if test "$GCC" = "yes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ hwloc_want_picky=1
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: --enable-picky used, but is currently only defined for the GCC compiler set -- automatically disabled" >&5
+$as_echo "$as_me: WARNING: Warning: --enable-picky used, but is currently only defined for the GCC compiler set -- automatically disabled" >&2;}
+ hwloc_want_picky=0
+ fi
+ elif test "$enable_picky" = "no"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_want_picky=0
+ else
+ if test "$hwloc_want_picky" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
+$as_echo "yes (default)" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5
+$as_echo "no (default)" >&6; }
+ fi
+ fi
+ if test "$hwloc_want_picky" = 1; then
+ add="-Wall -Wunused-parameter -Wundef -Wno-long-long -Wsign-compare"
+ add="$add -Wmissing-prototypes -Wstrict-prototypes"
+ add="$add -Wcomment -pedantic -Wshadow"
+
+ HWLOC_CFLAGS="$HWLOC_CFLAGS $add"
+ fi
+
+ # Generate some files for the docs
+ ac_config_files="$ac_config_files doc/Makefile doc/examples/Makefile doc/doxygen-config.cfg"
+
+
+
+ cat <<EOF
+
+###
+### Configuring hwloc command line utilities
+###
+EOF
+
+
+
+ # runstatedir only supported in autoconf >= 2.70 and in some backports
+ if test "x${runstatedir}" != "x"; then
+ HWLOC_runstatedir=${runstatedir}
+ else
+ HWLOC_runstatedir='${localstatedir}/run'
+ fi
+
+
+ # Cairo support
+ hwloc_cairo_happy=no
+ if test "x$enable_cairo" != "xno"; then
+
+
+ HWLOC_pkg_failed=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
+$as_echo_n "checking for CAIRO... " >&6; }
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_CAIRO_CFLAGS"; then
+ HWLOC_pkg_cv_HWLOC_CAIRO_CFLAGS="$HWLOC_CAIRO_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"cairo\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "cairo") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$HWLOC_CAIRO_LIBS"; then
+ HWLOC_pkg_cv_HWLOC_CAIRO_LIBS="$HWLOC_CAIRO_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --silence-errors \"cairo\""; } >&5
+ ($PKG_CONFIG --exists --silence-errors "cairo") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ HWLOC_pkg_cv_HWLOC_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
+ else
+ HWLOC_pkg_failed=yes
+fi
+ fi
+else
+ HWLOC_pkg_failed=untried
+fi
+
+
+
+
+ # Check for failure of pkg-config
+ if test $HWLOC_pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ HWLOC_pkg_short_errors_supported=yes
+else
+ HWLOC_pkg_short_errors_supported=no
+fi
+ if test $HWLOC_pkg_short_errors_supported = yes; then
+ HWLOC_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo" 2>&1`
+ else
+ HWLOC_CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$HWLOC_CAIRO_PKG_ERRORS" >&5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_cairo_happy=no
+ elif test $HWLOC_pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot check without pkg-config" >&5
+$as_echo "cannot check without pkg-config" >&6; }
+ hwloc_cairo_happy=no
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+ # If we got good results from pkg-config, check that they
+ # actually work (i.e., that we can link against the resulting
+ # $LIBS). The canonical example why we do this is if
+ # pkg-config returns 64 bit libraries but ./configure was run
+ # with CFLAGS=-m32 LDFLAGS=-m32. pkg-config gave us valid
+ # results, but we'll fail if we try to link. So detect that
+ # failure now.
+ # There are also cases on Mac where pkg-config returns paths
+ # that do not actually exists until some magic is applied.
+ # http://www.open-mpi.org/community/lists/hwloc-devel/2015/03/4402.php
+ # So check whether we find the header as well.
+ hwloc_cflags_save=$CFLAGS
+ hwloc_cppflags_save=$CPPFLAGS
+ hwloc_libs_save=$LIBS
+ CFLAGS="$CFLAGS $HWLOC_pkg_cv_HWLOC_CAIRO_CFLAGS"
+ CPPFLAGS="$CPPFLAGS $HWLOC_pkg_cv_HWLOC_CAIRO_CFLAGS"
+ LIBS="$LIBS $HWLOC_pkg_cv_HWLOC_CAIRO_LIBS"
+ ac_fn_c_check_header_mongrel "$LINENO" "cairo.h" "ac_cv_header_cairo_h" "$ac_includes_default"
+if test "x$ac_cv_header_cairo_h" = xyes; then :
+
+ ac_fn_c_check_func "$LINENO" "cairo_fill" "ac_cv_func_cairo_fill"
+if test "x$ac_cv_func_cairo_fill" = xyes; then :
+ hwloc_result=yes
+else
+ hwloc_result=no
+fi
+
+
+else
+ hwloc_result=no
+fi
+
+
+ CFLAGS=$hwloc_cflags_save
+ CPPFLAGS=$hwloc_cppflags_save
+ LIBS=$hwloc_libs_save
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for final CAIRO support" >&5
+$as_echo_n "checking for final CAIRO support... " >&6; }
+ if test "$hwloc_result" = "yes"; then :
+ HWLOC_CAIRO_CFLAGS=$HWLOC_pkg_cv_HWLOC_CAIRO_CFLAGS
+ HWLOC_CAIRO_LIBS=$HWLOC_pkg_cv_HWLOC_CAIRO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ hwloc_cairo_happy=yes
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ hwloc_cairo_happy=no
+fi
+ fi
+ fi
+
+ if test "x$hwloc_cairo_happy" = "xyes"; then
+
+$as_echo "#define HWLOC_HAVE_CAIRO 1" >>confdefs.h
+
+ else
+ if test "$enable_cairo" = "yes"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-cairo requested, but Cairo/X11 support was not found" >&5
+$as_echo "$as_me: WARNING: --enable-cairo requested, but Cairo/X11 support was not found" >&2;}
+ as_fn_error $? "Cannot continue" "$LINENO" 5
+fi
+ fi
+
+ ac_fn_c_check_type "$LINENO" "wchar_t" "ac_cv_type_wchar_t" "#include <wchar.h>
+"
+if test "x$ac_cv_type_wchar_t" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_WCHAR_T 1
+_ACEOF
+
+
+ for ac_func in putwc
+do :
+ ac_fn_c_check_func "$LINENO" "putwc" "ac_cv_func_putwc"
+if test "x$ac_cv_func_putwc" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_PUTWC 1
+_ACEOF
+
+fi
+done
+
+
+fi
+
+
+ HWLOC_XML_LOCALIZED=1
+ for ac_header in locale.h xlocale.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+ for ac_func in setlocale
+do :
+ ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
+if test "x$ac_cv_func_setlocale" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SETLOCALE 1
+_ACEOF
+
+fi
+done
+
+ for ac_func in uselocale
+do :
+ ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
+if test "x$ac_cv_func_uselocale" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_USELOCALE 1
+_ACEOF
+ HWLOC_XML_LOCALIZED=0
+fi
+done
+
+
+fi
+
+done
+
+
+ for ac_header in langinfo.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
+if test "x$ac_cv_header_langinfo_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LANGINFO_H 1
+_ACEOF
+
+ for ac_func in nl_langinfo
+do :
+ ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
+if test "x$ac_cv_func_nl_langinfo" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_NL_LANGINFO 1
+_ACEOF
+
+fi
+done
+
+
+fi
+
+done
+
+ hwloc_old_LIBS="$LIBS"
+ chosen_curses=""
+ for curses in ncurses curses
+ do
+ for lib in "" -ltermcap -l${curses}w -l$curses
+ do
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking termcap support using $curses and $lib" >&5
+$as_echo_n "checking termcap support using $curses and $lib... " >&6; }
+ LIBS="$hwloc_old_LIBS $lib"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <$curses.h>
+#include <term.h>
+
+int
+main ()
+{
+tparm(NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0)
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ HWLOC_TERMCAP_LIBS="$LIBS"
+
+
+$as_echo "#define HWLOC_HAVE_LIBTERMCAP 1" >>confdefs.h
+
+ chosen_curses=$curses
+
+else
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ test "x$chosen_curses" != "x" && break
+ done
+ test "x$chosen_curses" != "x" && break
+ done
+ if test "$chosen_curses" = ncurses
+ then
+
+$as_echo "#define HWLOC_USE_NCURSES 1" >>confdefs.h
+
+ fi
+ LIBS="$hwloc_old_LIBS"
+ unset hwloc_old_LIBS
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether diff accepts -u" >&5
+$as_echo_n "checking whether diff accepts -u... " >&6; }
+ if diff -u /dev/null /dev/null 2> /dev/null
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ HWLOC_DIFF_U="-u"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ HWLOC_DIFF_U=""
+ fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether diff accepts -w" >&5
+$as_echo_n "checking whether diff accepts -w... " >&6; }
+ if diff -w /dev/null /dev/null 2> /dev/null
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ HWLOC_DIFF_W="-w"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ HWLOC_DIFF_W=""
+ fi
+
+
+
+ for ac_header in time.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
+if test "x$ac_cv_header_time_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_TIME_H 1
+_ACEOF
+
+ for ac_func in clock_gettime
+do :
+ ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
+if test "x$ac_cv_func_clock_gettime" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_CLOCK_GETTIME 1
+_ACEOF
+
+fi
+done
+
+
+fi
+
+done
+
+
+ # Only generate this if we're building the utilities
+ ac_config_files="$ac_config_files utils/Makefile utils/hwloc/Makefile utils/lstopo/Makefile hwloc.pc"
+
+
+
+ cat <<EOF
+
+###
+### Configuring hwloc tests
+###
+EOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
+$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
+if ${ac_cv_lib_pthread_pthread_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_self ();
+int
+main ()
+{
+return pthread_self ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_pthread_pthread_self=yes
+else
+ ac_cv_lib_pthread_pthread_self=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
+$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
+if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
+ hwloc_have_pthread=yes
+fi
+
+
+ # linux-libnuma.h testing requires libnuma with numa_bitmask_alloc()
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for numa_available in -lnuma" >&5
+$as_echo_n "checking for numa_available in -lnuma... " >&6; }
+if ${ac_cv_lib_numa_numa_available+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnuma $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char numa_available ();
+int
+main ()
+{
+return numa_available ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_numa_numa_available=yes
+else
+ ac_cv_lib_numa_numa_available=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_numa_numa_available" >&5
+$as_echo "$ac_cv_lib_numa_numa_available" >&6; }
+if test "x$ac_cv_lib_numa_numa_available" = xyes; then :
+
+ ac_fn_c_check_decl "$LINENO" "numa_bitmask_alloc" "ac_cv_have_decl_numa_bitmask_alloc" "#include <numa.h>
+"
+if test "x$ac_cv_have_decl_numa_bitmask_alloc" = xyes; then :
+ hwloc_have_linux_libnuma=yes
+fi
+
+
+fi
+
+
+ for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STDLIB_H 1
+_ACEOF
+
+ for ac_func in mkstemp
+do :
+ ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
+if test "x$ac_cv_func_mkstemp" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MKSTEMP 1
+_ACEOF
+
+fi
+done
+
+
+fi
+
+done
+
+
+ for ac_header in infiniband/verbs.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "infiniband/verbs.h" "ac_cv_header_infiniband_verbs_h" "$ac_includes_default"
+if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_INFINIBAND_VERBS_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ibv_open_device in -libverbs" >&5
+$as_echo_n "checking for ibv_open_device in -libverbs... " >&6; }
+if ${ac_cv_lib_ibverbs_ibv_open_device+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-libverbs $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ibv_open_device ();
+int
+main ()
+{
+return ibv_open_device ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_ibverbs_ibv_open_device=yes
+else
+ ac_cv_lib_ibverbs_ibv_open_device=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibverbs_ibv_open_device" >&5
+$as_echo "$ac_cv_lib_ibverbs_ibv_open_device" >&6; }
+if test "x$ac_cv_lib_ibverbs_ibv_open_device" = xyes; then :
+
+$as_echo "#define HAVE_LIBIBVERBS 1" >>confdefs.h
+
+ hwloc_have_libibverbs=yes
+fi
+
+
+fi
+
+done
+
+
+ for ac_header in myriexpress.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "myriexpress.h" "ac_cv_header_myriexpress_h" "$ac_includes_default"
+if test "x$ac_cv_header_myriexpress_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MYRIEXPRESS_H 1
+_ACEOF
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MX_NUMA_NODE exists" >&5
+$as_echo_n "checking if MX_NUMA_NODE exists... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <myriexpress.h>
+int
+main ()
+{
+int a = MX_NUMA_NODE;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mx_get_info in -lmyriexpress" >&5
+$as_echo_n "checking for mx_get_info in -lmyriexpress... " >&6; }
+if ${ac_cv_lib_myriexpress_mx_get_info+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmyriexpress $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char mx_get_info ();
+int
+main ()
+{
+return mx_get_info ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_myriexpress_mx_get_info=yes
+else
+ ac_cv_lib_myriexpress_mx_get_info=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_myriexpress_mx_get_info" >&5
+$as_echo "$ac_cv_lib_myriexpress_mx_get_info" >&6; }
+if test "x$ac_cv_lib_myriexpress_mx_get_info" = xyes; then :
+
+$as_echo "#define HAVE_MYRIEXPRESS 1" >>confdefs.h
+
+ hwloc_have_myriexpress=yes
+fi
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+done
+
+
+ for ac_prog in xmllint
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_XMLLINT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$XMLLINT"; then
+ ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_XMLLINT="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+XMLLINT=$ac_cv_prog_XMLLINT
+if test -n "$XMLLINT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
+$as_echo "$XMLLINT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$XMLLINT" && break
+done
+
+
+ for ac_prog in bunzip2
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_BUNZIPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$BUNZIPP"; then
+ ac_cv_prog_BUNZIPP="$BUNZIPP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_BUNZIPP="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+BUNZIPP=$ac_cv_prog_BUNZIPP
+if test -n "$BUNZIPP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUNZIPP" >&5
+$as_echo "$BUNZIPP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$BUNZIPP" && break
+done
+test -n "$BUNZIPP" || BUNZIPP="false"
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CXX works" >&5
+$as_echo_n "checking if CXX works... " >&6; }
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <iostream>
+using namespace std;
+int foo(void) {
+ cout << "test" << endl;
+ return 0;
+}
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ hwloc_have_cxx=yes
+else
+ hwloc_have_cxx=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hwloc_have_cxx" >&5
+$as_echo "$hwloc_have_cxx" >&6; }
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether diff accepts -u" >&5
+$as_echo_n "checking whether diff accepts -u... " >&6; }
+ if diff -u /dev/null /dev/null 2> /dev/null
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ HWLOC_DIFF_U="-u"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ HWLOC_DIFF_U=""
+ fi
+
+
+
+ # Only generate these files if we're making the tests
+ ac_config_files="$ac_config_files tests/Makefile tests/linux/Makefile tests/linux/allowed/Makefile tests/linux/gather/Makefile tests/xml/Makefile tests/ports/Makefile tests/rename/Makefile tests/linux/allowed/test-topology.sh tests/linux/gather/test-gather-topology.sh tests/linux/test-topology.sh tests/xml/test-topology.sh tests/wrapper.sh utils/hwloc/hwloc-assembler-remote utils/hwloc/hwloc-compress-dir utils/hwloc/hwloc-gather-topology utils/hwloc/test-hwloc-annotate.sh utils/hwloc/test-hwloc-assembler.sh utils/hwloc/test-hwloc-calc.sh utils/hwloc/test-hwloc-compress-dir.sh utils/hwloc/test-hwloc-diffpatch.sh utils/hwloc/test-hwloc-distances.sh utils/hwloc/test-hwloc-distrib.sh utils/hwloc/test-hwloc-info.sh utils/hwloc/test-fake-plugin.sh utils/lstopo/test-hwloc-ls.sh contrib/systemd/Makefile"
+
+
+ ac_config_commands="$ac_config_commands chmoding-scripts"
+
+
+ # These links are only needed in standalone mode. It would
+ # be nice to m4 foreach this somehow, but whenever I tried
+ # it, I got obscure "invalid tag" errors from
+ # AC_CONFIG_LINKS. :-\ Since these tests are only run when
+ # built in standalone mode, only generate them in
+ # standalone mode.
+ ac_config_links="$ac_config_links tests/ports/topology-solaris.c:src/topology-solaris.c tests/ports/topology-solaris-chiptype.c:src/topology-solaris-chiptype.c tests/ports/topology-aix.c:src/topology-aix.c tests/ports/topology-osf.c:src/topology-osf.c tests/ports/topology-windows.c:src/topology-windows.c tests/ports/topology-darwin.c:src/topology-darwin.c tests/ports/topology-freebsd.c:src/topology-freebsd.c tests/ports/topology-netbsd.c:src/topology-netbsd.c tests/ports/topology-hpux.c:src/topology-hpux.c tests/ports/topology-bgq.c:src/topology-bgq.c tests/ports/topology-opencl.c:src/topology-opencl.c tests/ports/topology-cuda.c:src/topology-cuda.c tests/ports/topology-nvml.c:src/topology-nvml.c tests/ports/topology-gl.c:src/topology-gl.c"
+
+
+fi
+
+cat <<EOF
+
+###
+### Performing final hwloc configuration
+###
+EOF
+
+# Run the AM_CONDITIONALs
+
+ if test "$hwloc_did_am_conditionals" != "yes"; then :
+
+ if test "$hwloc_mode" = "standalone"; then
+ HWLOC_BUILD_STANDALONE_TRUE=
+ HWLOC_BUILD_STANDALONE_FALSE='#'
+else
+ HWLOC_BUILD_STANDALONE_TRUE='#'
+ HWLOC_BUILD_STANDALONE_FALSE=
+fi
+
+
+ if test "x$GCC" = "xyes"; then
+ HWLOC_HAVE_GCC_TRUE=
+ HWLOC_HAVE_GCC_FALSE='#'
+else
+ HWLOC_HAVE_GCC_TRUE='#'
+ HWLOC_HAVE_GCC_FALSE=
+fi
+
+ if test "x$HWLOC_MS_LIB" != "x"; then
+ HWLOC_HAVE_MS_LIB_TRUE=
+ HWLOC_HAVE_MS_LIB_FALSE='#'
+else
+ HWLOC_HAVE_MS_LIB_TRUE='#'
+ HWLOC_HAVE_MS_LIB_FALSE=
+fi
+
+ if test "x$hwloc_have_openat" = "xyes"; then
+ HWLOC_HAVE_OPENAT_TRUE=
+ HWLOC_HAVE_OPENAT_FALSE='#'
+else
+ HWLOC_HAVE_OPENAT_TRUE='#'
+ HWLOC_HAVE_OPENAT_FALSE=
+fi
+
+ if test "x$hwloc_have_linux_libnuma" = "xyes"; then
+ HWLOC_HAVE_LINUX_LIBNUMA_TRUE=
+ HWLOC_HAVE_LINUX_LIBNUMA_FALSE='#'
+else
+ HWLOC_HAVE_LINUX_LIBNUMA_TRUE='#'
+ HWLOC_HAVE_LINUX_LIBNUMA_FALSE=
+fi
+
+ if test "x$hwloc_have_sched_setaffinity" = "xyes"; then
+ HWLOC_HAVE_SCHED_SETAFFINITY_TRUE=
+ HWLOC_HAVE_SCHED_SETAFFINITY_FALSE='#'
+else
+ HWLOC_HAVE_SCHED_SETAFFINITY_TRUE='#'
+ HWLOC_HAVE_SCHED_SETAFFINITY_FALSE=
+fi
+
+ if test "x$hwloc_have_pthread" = "xyes"; then
+ HWLOC_HAVE_PTHREAD_TRUE=
+ HWLOC_HAVE_PTHREAD_FALSE='#'
+else
+ HWLOC_HAVE_PTHREAD_TRUE='#'
+ HWLOC_HAVE_PTHREAD_FALSE=
+fi
+
+ if test "x$hwloc_have_libibverbs" = "xyes"; then
+ HWLOC_HAVE_LIBIBVERBS_TRUE=
+ HWLOC_HAVE_LIBIBVERBS_FALSE='#'
+else
+ HWLOC_HAVE_LIBIBVERBS_TRUE='#'
+ HWLOC_HAVE_LIBIBVERBS_FALSE=
+fi
+
+ if test "x$hwloc_have_cuda" = "xyes"; then
+ HWLOC_HAVE_CUDA_TRUE=
+ HWLOC_HAVE_CUDA_FALSE='#'
+else
+ HWLOC_HAVE_CUDA_TRUE='#'
+ HWLOC_HAVE_CUDA_FALSE=
+fi
+
+ if test "x$hwloc_have_gl" = "xyes"; then
+ HWLOC_HAVE_GL_TRUE=
+ HWLOC_HAVE_GL_FALSE='#'
+else
+ HWLOC_HAVE_GL_TRUE='#'
+ HWLOC_HAVE_GL_FALSE=
+fi
+
+ if test "x$hwloc_have_myriexpress" = "xyes"; then
+ HWLOC_HAVE_MYRIEXPRESS_TRUE=
+ HWLOC_HAVE_MYRIEXPRESS_FALSE='#'
+else
+ HWLOC_HAVE_MYRIEXPRESS_TRUE='#'
+ HWLOC_HAVE_MYRIEXPRESS_FALSE=
+fi
+
+ if test "x$hwloc_have_cudart" = "xyes"; then
+ HWLOC_HAVE_CUDART_TRUE=
+ HWLOC_HAVE_CUDART_FALSE='#'
+else
+ HWLOC_HAVE_CUDART_TRUE='#'
+ HWLOC_HAVE_CUDART_FALSE=
+fi
+
+ if test "$hwloc_libxml2_happy" = "yes"; then
+ HWLOC_HAVE_LIBXML2_TRUE=
+ HWLOC_HAVE_LIBXML2_FALSE='#'
+else
+ HWLOC_HAVE_LIBXML2_TRUE='#'
+ HWLOC_HAVE_LIBXML2_FALSE=
+fi
+
+ if test "$hwloc_cairo_happy" = "yes"; then
+ HWLOC_HAVE_CAIRO_TRUE=
+ HWLOC_HAVE_CAIRO_FALSE='#'
+else
+ HWLOC_HAVE_CAIRO_TRUE='#'
+ HWLOC_HAVE_CAIRO_FALSE=
+fi
+
+ if test "$hwloc_pci_happy" = "yes"; then
+ HWLOC_HAVE_PCI_TRUE=
+ HWLOC_HAVE_PCI_FALSE='#'
+else
+ HWLOC_HAVE_PCI_TRUE='#'
+ HWLOC_HAVE_PCI_FALSE=
+fi
+
+ if test "$hwloc_opencl_happy" = "yes"; then
+ HWLOC_HAVE_OPENCL_TRUE=
+ HWLOC_HAVE_OPENCL_FALSE='#'
+else
+ HWLOC_HAVE_OPENCL_TRUE='#'
+ HWLOC_HAVE_OPENCL_FALSE=
+fi
+
+ if test "$hwloc_nvml_happy" = "yes"; then
+ HWLOC_HAVE_NVML_TRUE=
+ HWLOC_HAVE_NVML_FALSE='#'
+else
+ HWLOC_HAVE_NVML_TRUE='#'
+ HWLOC_HAVE_NVML_FALSE=
+fi
+
+ if test "x$enable_set_mempolicy" != "xno"; then
+ HWLOC_HAVE_SET_MEMPOLICY_TRUE=
+ HWLOC_HAVE_SET_MEMPOLICY_FALSE='#'
+else
+ HWLOC_HAVE_SET_MEMPOLICY_TRUE='#'
+ HWLOC_HAVE_SET_MEMPOLICY_FALSE=
+fi
+
+ if test "x$enable_mbind" != "xno"; then
+ HWLOC_HAVE_MBIND_TRUE=
+ HWLOC_HAVE_MBIND_FALSE='#'
+else
+ HWLOC_HAVE_MBIND_TRUE='#'
+ HWLOC_HAVE_MBIND_FALSE=
+fi
+
+ if test "x$BUNZIPP" != "xfalse"; then
+ HWLOC_HAVE_BUNZIPP_TRUE=
+ HWLOC_HAVE_BUNZIPP_FALSE='#'
+else
+ HWLOC_HAVE_BUNZIPP_TRUE='#'
+ HWLOC_HAVE_BUNZIPP_FALSE=
+fi
+
+ if test "x$hwloc_have_user32" = "xyes"; then
+ HWLOC_HAVE_USER32_TRUE=
+ HWLOC_HAVE_USER32_FALSE='#'
+else
+ HWLOC_HAVE_USER32_TRUE='#'
+ HWLOC_HAVE_USER32_FALSE=
+fi
+
+
+ if test "x$hwloc_generate_doxs" = "xyes"; then
+ HWLOC_BUILD_DOXYGEN_TRUE=
+ HWLOC_BUILD_DOXYGEN_FALSE='#'
+else
+ HWLOC_BUILD_DOXYGEN_TRUE='#'
+ HWLOC_BUILD_DOXYGEN_FALSE=
+fi
+
+ if test "x$hwloc_generate_readme" = "xyes" -a \( "x$hwloc_install_doxs" = "xyes" -o "x$hwloc_generate_doxs" = "xyes" \) ; then
+ HWLOC_BUILD_README_TRUE=
+ HWLOC_BUILD_README_FALSE='#'
+else
+ HWLOC_BUILD_README_TRUE='#'
+ HWLOC_BUILD_README_FALSE=
+fi
+
+ if test "x$hwloc_install_doxs" = "xyes"; then
+ HWLOC_INSTALL_DOXYGEN_TRUE=
+ HWLOC_INSTALL_DOXYGEN_FALSE='#'
+else
+ HWLOC_INSTALL_DOXYGEN_TRUE='#'
+ HWLOC_INSTALL_DOXYGEN_FALSE=
+fi
+
+
+ if test "x$hwloc_linux" = "xyes"; then
+ HWLOC_HAVE_LINUX_TRUE=
+ HWLOC_HAVE_LINUX_FALSE='#'
+else
+ HWLOC_HAVE_LINUX_TRUE='#'
+ HWLOC_HAVE_LINUX_FALSE=
+fi
+
+ if test "x$hwloc_bgq" = "xyes"; then
+ HWLOC_HAVE_BGQ_TRUE=
+ HWLOC_HAVE_BGQ_FALSE='#'
+else
+ HWLOC_HAVE_BGQ_TRUE='#'
+ HWLOC_HAVE_BGQ_FALSE=
+fi
+
+ if test "x$hwloc_irix" = "xyes"; then
+ HWLOC_HAVE_IRIX_TRUE=
+ HWLOC_HAVE_IRIX_FALSE='#'
+else
+ HWLOC_HAVE_IRIX_TRUE='#'
+ HWLOC_HAVE_IRIX_FALSE=
+fi
+
+ if test "x$hwloc_darwin" = "xyes"; then
+ HWLOC_HAVE_DARWIN_TRUE=
+ HWLOC_HAVE_DARWIN_FALSE='#'
+else
+ HWLOC_HAVE_DARWIN_TRUE='#'
+ HWLOC_HAVE_DARWIN_FALSE=
+fi
+
+ if test "x$hwloc_freebsd" = "xyes"; then
+ HWLOC_HAVE_FREEBSD_TRUE=
+ HWLOC_HAVE_FREEBSD_FALSE='#'
+else
+ HWLOC_HAVE_FREEBSD_TRUE='#'
+ HWLOC_HAVE_FREEBSD_FALSE=
+fi
+
+ if test "x$hwloc_netbsd" = "xyes"; then
+ HWLOC_HAVE_NETBSD_TRUE=
+ HWLOC_HAVE_NETBSD_FALSE='#'
+else
+ HWLOC_HAVE_NETBSD_TRUE='#'
+ HWLOC_HAVE_NETBSD_FALSE=
+fi
+
+ if test "x$hwloc_solaris" = "xyes"; then
+ HWLOC_HAVE_SOLARIS_TRUE=
+ HWLOC_HAVE_SOLARIS_FALSE='#'
+else
+ HWLOC_HAVE_SOLARIS_TRUE='#'
+ HWLOC_HAVE_SOLARIS_FALSE=
+fi
+
+ if test "x$hwloc_aix" = "xyes"; then
+ HWLOC_HAVE_AIX_TRUE=
+ HWLOC_HAVE_AIX_FALSE='#'
+else
+ HWLOC_HAVE_AIX_TRUE='#'
+ HWLOC_HAVE_AIX_FALSE=
+fi
+
+ if test "x$hwloc_osf" = "xyes"; then
+ HWLOC_HAVE_OSF_TRUE=
+ HWLOC_HAVE_OSF_FALSE='#'
+else
+ HWLOC_HAVE_OSF_TRUE='#'
+ HWLOC_HAVE_OSF_FALSE=
+fi
+
+ if test "x$hwloc_hpux" = "xyes"; then
+ HWLOC_HAVE_HPUX_TRUE=
+ HWLOC_HAVE_HPUX_FALSE='#'
+else
+ HWLOC_HAVE_HPUX_TRUE='#'
+ HWLOC_HAVE_HPUX_FALSE=
+fi
+
+ if test "x$hwloc_windows" = "xyes"; then
+ HWLOC_HAVE_WINDOWS_TRUE=
+ HWLOC_HAVE_WINDOWS_FALSE='#'
+else
+ HWLOC_HAVE_WINDOWS_TRUE='#'
+ HWLOC_HAVE_WINDOWS_FALSE=
+fi
+
+ if test "x$target_os" = "xmingw32"; then
+ HWLOC_HAVE_MINGW32_TRUE=
+ HWLOC_HAVE_MINGW32_FALSE='#'
+else
+ HWLOC_HAVE_MINGW32_TRUE='#'
+ HWLOC_HAVE_MINGW32_FALSE=
+fi
+
+
+ if test "x$hwloc_x86_32" = "xyes" -o "x$hwloc_x86_64" = "xyes"; then
+ HWLOC_HAVE_X86_TRUE=
+ HWLOC_HAVE_X86_FALSE='#'
+else
+ HWLOC_HAVE_X86_TRUE='#'
+ HWLOC_HAVE_X86_FALSE=
+fi
+
+ if test "x$hwloc_x86_32" = "xyes"; then
+ HWLOC_HAVE_X86_32_TRUE=
+ HWLOC_HAVE_X86_32_FALSE='#'
+else
+ HWLOC_HAVE_X86_32_TRUE='#'
+ HWLOC_HAVE_X86_32_FALSE=
+fi
+
+ if test "x$hwloc_x86_64" = "xyes"; then
+ HWLOC_HAVE_X86_64_TRUE=
+ HWLOC_HAVE_X86_64_FALSE='#'
+else
+ HWLOC_HAVE_X86_64_TRUE='#'
+ HWLOC_HAVE_X86_64_FALSE=
+fi
+
+ if test "x$hwloc_have_x86_cpuid" = "xyes"; then
+ HWLOC_HAVE_X86_CPUID_TRUE=
+ HWLOC_HAVE_X86_CPUID_FALSE='#'
+else
+ HWLOC_HAVE_X86_CPUID_TRUE='#'
+ HWLOC_HAVE_X86_CPUID_FALSE=
+fi
+
+
+ if test "x$hwloc_have_plugins" = "xyes"; then
+ HWLOC_HAVE_PLUGINS_TRUE=
+ HWLOC_HAVE_PLUGINS_FALSE='#'
+else
+ HWLOC_HAVE_PLUGINS_TRUE='#'
+ HWLOC_HAVE_PLUGINS_FALSE=
+fi
+
+ if test "x$hwloc_pci_component" = "xstatic"; then
+ HWLOC_PCI_BUILD_STATIC_TRUE=
+ HWLOC_PCI_BUILD_STATIC_FALSE='#'
+else
+ HWLOC_PCI_BUILD_STATIC_TRUE='#'
+ HWLOC_PCI_BUILD_STATIC_FALSE=
+fi
+
+ if test "x$hwloc_opencl_component" = "xstatic"; then
+ HWLOC_OPENCL_BUILD_STATIC_TRUE=
+ HWLOC_OPENCL_BUILD_STATIC_FALSE='#'
+else
+ HWLOC_OPENCL_BUILD_STATIC_TRUE='#'
+ HWLOC_OPENCL_BUILD_STATIC_FALSE=
+fi
+
+ if test "x$hwloc_cuda_component" = "xstatic"; then
+ HWLOC_CUDA_BUILD_STATIC_TRUE=
+ HWLOC_CUDA_BUILD_STATIC_FALSE='#'
+else
+ HWLOC_CUDA_BUILD_STATIC_TRUE='#'
+ HWLOC_CUDA_BUILD_STATIC_FALSE=
+fi
+
+ if test "x$hwloc_nvml_component" = "xstatic"; then
+ HWLOC_NVML_BUILD_STATIC_TRUE=
+ HWLOC_NVML_BUILD_STATIC_FALSE='#'
+else
+ HWLOC_NVML_BUILD_STATIC_TRUE='#'
+ HWLOC_NVML_BUILD_STATIC_FALSE=
+fi
+
+ if test "x$hwloc_gl_component" = "xstatic"; then
+ HWLOC_GL_BUILD_STATIC_TRUE=
+ HWLOC_GL_BUILD_STATIC_FALSE='#'
+else
+ HWLOC_GL_BUILD_STATIC_TRUE='#'
+ HWLOC_GL_BUILD_STATIC_FALSE=
+fi
+
+ if test "x$hwloc_xml_libxml_component" = "xstatic"; then
+ HWLOC_XML_LIBXML_BUILD_STATIC_TRUE=
+ HWLOC_XML_LIBXML_BUILD_STATIC_FALSE='#'
+else
+ HWLOC_XML_LIBXML_BUILD_STATIC_TRUE='#'
+ HWLOC_XML_LIBXML_BUILD_STATIC_FALSE=
+fi
+
+
+ if test "x$hwloc_have_cxx" = "xyes"; then
+ HWLOC_HAVE_CXX_TRUE=
+ HWLOC_HAVE_CXX_FALSE='#'
+else
+ HWLOC_HAVE_CXX_TRUE='#'
+ HWLOC_HAVE_CXX_FALSE=
+fi
+
+
+fi
+ hwloc_did_am_conditionals=yes
+
+
+####################################################################
+# Version information
+####################################################################
+
+# HWLOC_VERSION was setup by HWLOC_SETUP_CORE above.
+
+# Make configure depend on the VERSION file, since it's used in AC_INIT
+CONFIGURE_DEPENDENCIES='$(top_srcdir)/VERSION'
+
+
+# Override/fixup the version numbers set by AC_INIT, since on
+# developer builds, there's no good way to know what the version is
+# before running configure :(. We only use the base version number
+# for the version set in AC_INIT. This will always match reality
+# because we add the VERSION file (the only way to change the
+# major.minor.release{greek}) into the configure dependencies.
+
+PACKAGE_VERSION="$HWLOC_VERSION"
+PACKAGE_STRING="${PACKAGE_NAME} ${PACKAGE_VERSION}"
+VERSION="${PACKAGE_VERSION}"
+
+# For standalone configurations, we also include a .so version number.
+
+. $srcdir/VERSION
+
+
+####################################################################
+# Final output
+####################################################################
+
+# Set the final flags
+CFLAGS="$HWLOC_EMBEDDED_CFLAGS $CFLAGS"
+CPPFLAGS="$HWLOC_EMBEDDED_CPPFLAGS $CPPFLAGS"
+LIBS="$HWLOC_EMBEDDED_LIBS $LIBS"
+
+# Setup libtool, but disable C++, F77, Java and Windows Resource
+# Compiler support -- we don't need that stuff.
+# Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then :
+ enableval=$enable_shared; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_shared=yes
+fi
+
+
+
+
+
+
+
+
+
+# Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_static=no
+fi
+
+
+
+
+
+
+
+
+
+case `pwd` in
+ *\ * | *\ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
+esac
+
+
+
+macro_version='2.4.6'
+macro_revision='2.4.6'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO ""
+}
+
+case $ECHO in
+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
+$as_echo_n "checking for fgrep... " >&6; }
+if ${ac_cv_path_FGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
+ then ac_cv_path_FGREP="$GREP -F"
+ else
+ if test -z "$FGREP"; then
+ ac_path_FGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in fgrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_FGREP" || continue
+# Check for GNU ac_path_FGREP and select it if it is found.
+ # Check for GNU $ac_path_FGREP
+case `"$ac_path_FGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'FGREP' >> "conftest.nl"
+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_FGREP="$ac_path_FGREP"
+ ac_path_FGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_FGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_FGREP"; then
+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_FGREP=$FGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
+$as_echo "$ac_cv_path_FGREP" >&6; }
+ FGREP="$ac_cv_path_FGREP"
+
+
+test -z "$GREP" && GREP=grep
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
+if ${lt_cv_path_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
+$as_echo "$lt_cv_path_NM" >&6; }
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in dumpbin "link -dump"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DUMPBIN"; then
+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DUMPBIN=$ac_cv_prog_DUMPBIN
+if test -n "$DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
+$as_echo "$DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$DUMPBIN" && break
+ done
+fi
+if test -z "$DUMPBIN"; then
+ ac_ct_DUMPBIN=$DUMPBIN
+ for ac_prog in dumpbin "link -dump"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DUMPBIN"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
+if test -n "$ac_ct_DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
+$as_echo "$ac_ct_DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_DUMPBIN" && break
+done
+
+ if test "x$ac_ct_DUMPBIN" = x; then
+ DUMPBIN=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DUMPBIN=$ac_ct_DUMPBIN
+ fi
+fi
+
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
+if ${lt_cv_nm_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: output\"" >&5)
+ cat conftest.out >&5
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
+$as_echo "$lt_cv_nm_interface" >&6; }
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+# find the maximum length of command line arguments
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
+if ${lt_cv_sys_max_cmd_len+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+
+fi
+
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+$as_echo "none" >&6; }
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+
+
+
+
+
+: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+
+
+
+
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
+if ${lt_cv_ld_reload_flag+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test yes != "$GCC"; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test yes = "$GCC"; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
+if ${lt_cv_deplibs_check_method+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# 'unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# that responds to the $file_magic_cmd with a given extended regex.
+# If you have 'file' or equivalent on your system and you're not sure
+# whether 'pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[4-9]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[45]*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ if ( file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[3-9]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd* | bitrig*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+os2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh;
+ # decide which one to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ar_at_file=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -eq "$ac_status"; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -ne "$ac_status"; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test no = "$lt_cv_ar_at_file"; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+test -z "$STRIP" && STRIP=:
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+test -z "$RANLIB" && RANLIB=:
+
+
+
+
+
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ bitrig* | openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[BCDEGRST]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[BCDT]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[ABCDGISTW]'
+ ;;
+hpux*)
+ if test ia64 = "$host_cpu"; then
+ symcode='[ABCDEGRST]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[BCDEGRST]'
+ ;;
+osf*)
+ symcode='[BCDEGQRST]'
+ ;;
+solaris*)
+ symcode='[BDRT]'
+ ;;
+sco3.2v5*)
+ symcode='[DT]'
+ ;;
+sysv4.2uw2*)
+ symcode='[DT]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[ABDT]'
+ ;;
+sysv4)
+ symcode='[DFNSTU]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[ABCDGIRSTW]' ;;
+esac
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Gets list of data symbols to import.
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
+ # Adjust the below global symbol transforms to fixup imported variables.
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
+ lt_c_name_lib_hook="\
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
+else
+ # Disable hooks by default.
+ lt_cv_sys_global_symbol_to_import=
+ lt_cdecl_hook=
+ lt_c_name_hook=
+ lt_c_name_lib_hook=
+fi
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+$lt_cdecl_hook\
+" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
+$lt_c_name_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
+
+# Transform an extracted symbol line into symbol name with lib prefix and
+# symbol address.
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
+$lt_c_name_lib_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function,
+ # D for any global variable and I for any imported variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK '"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
+" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
+" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT_DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS=conftstm.$ac_objext
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest$ac_exeext; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&5
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+ fi
+ else
+ echo "$progname: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test yes = "$pipe_works"; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+
+fi
+
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
+$as_echo "failed" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+# Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+ withval=$with_sysroot;
+else
+ with_sysroot=no
+fi
+
+
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
+$as_echo "$with_sysroot" >&6; }
+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+ ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
+$as_echo_n "checking for a working dd... " >&6; }
+if ${ac_cv_path_lt_DD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+: ${lt_DD:=$DD}
+if test -z "$lt_DD"; then
+ ac_path_lt_DD_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in dd; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_lt_DD" || continue
+if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
+fi
+ $ac_path_lt_DD_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_lt_DD"; then
+ :
+ fi
+else
+ ac_cv_path_lt_DD=$lt_DD
+fi
+
+rm -f conftest.i conftest2.i conftest.out
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
+$as_echo "$ac_cv_path_lt_DD" >&6; }
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
+$as_echo_n "checking how to truncate binary pipes... " >&6; }
+if ${lt_cv_truncate_bin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+lt_cv_truncate_bin=
+if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
+fi
+rm -f conftest.i conftest2.i conftest.out
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
+$as_echo "$lt_cv_truncate_bin" >&6; }
+
+
+
+
+
+
+
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+func_cc_basename ()
+{
+ for cc_temp in $*""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+ done
+ func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+}
+
+# Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then :
+ enableval=$enable_libtool_lock;
+fi
+
+test no = "$enable_libtool_lock" || enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out what ABI is being produced by ac_compile, and set mode
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE=32
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE=64
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly. Note that the listed cases only cover the
+ # situations where additional linker options are needed (such as when
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
+ # vice versa); the common cases where no linker options are needed do
+ # not appear in the list.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -belf"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
+if ${lt_cv_cc_needs_belf+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_cc_needs_belf=yes
+else
+ lt_cv_cc_needs_belf=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
+ if test yes != "$lt_cv_cc_needs_belf"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS=$SAVE_CFLAGS
+ fi
+ ;;
+*-*solaris*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*|x86_64-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD=${LD-ld}_sol2
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks=$enable_libtool_lock
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$MANIFEST_TOOL"; then
+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+ # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_MANIFEST_TOOL"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
+ MANIFEST_TOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+ fi
+else
+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&5
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test yes != "$lt_cv_path_mainfest_tool"; then
+ MANIFEST_TOOL=:
+fi
+
+
+
+
+
+
+ case $host_os in
+ rhapsody* | darwin*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DSYMUTIL"; then
+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
+if test -n "$DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
+$as_echo "$DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DSYMUTIL"; then
+ ac_ct_DSYMUTIL=$DSYMUTIL
+ # Extract the first word of "dsymutil", so it can be a program name with args.
+set dummy dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DSYMUTIL"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
+if test -n "$ac_ct_DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DSYMUTIL" = x; then
+ DSYMUTIL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DSYMUTIL=$ac_ct_DSYMUTIL
+ fi
+else
+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NMEDIT"; then
+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+NMEDIT=$ac_cv_prog_NMEDIT
+if test -n "$NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
+$as_echo "$NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_NMEDIT"; then
+ ac_ct_NMEDIT=$NMEDIT
+ # Extract the first word of "nmedit", so it can be a program name with args.
+set dummy nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_NMEDIT"; then
+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
+if test -n "$ac_ct_NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
+$as_echo "$ac_ct_NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_NMEDIT" = x; then
+ NMEDIT=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ NMEDIT=$ac_ct_NMEDIT
+ fi
+else
+ NMEDIT="$ac_cv_prog_NMEDIT"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LIPO"; then
+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LIPO=$ac_cv_prog_LIPO
+if test -n "$LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
+$as_echo "$LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_LIPO"; then
+ ac_ct_LIPO=$LIPO
+ # Extract the first word of "lipo", so it can be a program name with args.
+set dummy lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_LIPO"; then
+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_LIPO="lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
+if test -n "$ac_ct_LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
+$as_echo "$ac_ct_LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_LIPO" = x; then
+ LIPO=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ LIPO=$ac_ct_LIPO
+ fi
+else
+ LIPO="$ac_cv_prog_LIPO"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL"; then
+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL=$ac_cv_prog_OTOOL
+if test -n "$OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
+$as_echo "$OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL"; then
+ ac_ct_OTOOL=$OTOOL
+ # Extract the first word of "otool", so it can be a program name with args.
+set dummy otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL"; then
+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL="otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
+if test -n "$ac_ct_OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
+$as_echo "$ac_ct_OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL" = x; then
+ OTOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL=$ac_ct_OTOOL
+ fi
+else
+ OTOOL="$ac_cv_prog_OTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL64"; then
+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL64=$ac_cv_prog_OTOOL64
+if test -n "$OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
+$as_echo "$OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL64"; then
+ ac_ct_OTOOL64=$OTOOL64
+ # Extract the first word of "otool64", so it can be a program name with args.
+set dummy otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL64"; then
+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL64="otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
+if test -n "$ac_ct_OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
+$as_echo "$ac_ct_OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL64" = x; then
+ OTOOL64=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL64=$ac_ct_OTOOL64
+ fi
+else
+ OTOOL64="$ac_cv_prog_OTOOL64"
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
+$as_echo_n "checking for -single_module linker flag... " >&6; }
+if ${lt_cv_apple_cc_single_mod+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_apple_cc_single_mod=no
+ if test -z "$LT_MULTI_MODULE"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&5
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_ld_exported_symbols_list=yes
+else
+ lt_cv_ld_exported_symbols_list=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
+ echo "$RANLIB libconftest.a" >&5
+ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&5
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
+ case $host_os in
+ rhapsody* | darwin1.[012])
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ 10.[012][,.]*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
+ fi
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+
+# func_munge_path_list VARIABLE PATH
+# -----------------------------------
+# VARIABLE is name of variable containing _space_ separated list of
+# directories to be munged by the contents of PATH, which is string
+# having a format:
+# "DIR[:DIR]:"
+# string "DIR[ DIR]" will be prepended to VARIABLE
+# ":DIR[:DIR]"
+# string "DIR[ DIR]" will be appended to VARIABLE
+# "DIRP[:DIRP]::[DIRA:]DIRA"
+# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
+# "DIRA[ DIRA]" will be appended to VARIABLE
+# "DIR[:DIR]"
+# VARIABLE will be replaced by "DIR[ DIR]"
+func_munge_path_list ()
+{
+ case x$2 in
+ x)
+ ;;
+ *:)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
+ ;;
+ x:*)
+ eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ *::*)
+ eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
+ eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
+ ;;
+ *)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ esac
+}
+
+for ac_header in dlfcn.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
+"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DLFCN_H 1
+_ACEOF
+
+fi
+
+done
+
+
+
+func_stripname_cnf ()
+{
+ case $2 in
+ .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
+ *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
+ esac
+} # func_stripname_cnf
+
+
+
+
+
+# Set options
+enable_dlopen=yes
+enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
+set dummy ${ac_tool_prefix}as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AS"; then
+ ac_cv_prog_AS="$AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AS="${ac_tool_prefix}as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AS=$ac_cv_prog_AS
+if test -n "$AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
+$as_echo "$AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AS"; then
+ ac_ct_AS=$AS
+ # Extract the first word of "as", so it can be a program name with args.
+set dummy as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AS"; then
+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AS="as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
+if test -n "$ac_ct_AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
+$as_echo "$ac_ct_AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_AS" = x; then
+ AS="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AS=$ac_ct_AS
+ fi
+else
+ AS="$ac_cv_prog_AS"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+ ;;
+esac
+
+test -z "$AS" && AS=as
+
+
+
+
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+
+
+
+
+
+
+# Check whether --with-pic was given.
+if test "${with_pic+set}" = set; then :
+ withval=$with_pic; lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for lt_pkg in $withval; do
+ IFS=$lt_save_ifs
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ pic_mode=default
+fi
+
+
+
+
+
+
+
+
+ # Check whether --enable-fast-install was given.
+if test "${enable_fast_install+set}" = set; then :
+ enableval=$enable_fast_install; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_fast_install=yes
+fi
+
+
+
+
+
+
+
+
+ shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[5-9]*,yes)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
+$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
+
+# Check whether --with-aix-soname was given.
+if test "${with_aix_soname+set}" = set; then :
+ withval=$with_aix_soname; case $withval in
+ aix|svr4|both)
+ ;;
+ *)
+ as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
+ ;;
+ esac
+ lt_cv_with_aix_soname=$with_aix_soname
+else
+ if ${lt_cv_with_aix_soname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_with_aix_soname=aix
+fi
+
+ with_aix_soname=$lt_cv_with_aix_soname
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
+$as_echo "$with_aix_soname" >&6; }
+ if test aix != "$with_aix_soname"; then
+ # For the AIX way of multilib, we name the shared archive member
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
+ if test 64 = "${OBJECT_MODE-32}"; then
+ shared_archive_member_spec=shr_64
+ else
+ shared_archive_member_spec=shr
+ fi
+ fi
+ ;;
+*)
+ with_aix_soname=aix
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+test -z "$LN_S" && LN_S="ln -s"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+$as_echo_n "checking for objdir... " >&6; }
+if ${lt_cv_objdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
+$as_echo "$lt_cv_objdir" >&6; }
+objdir=$lt_cv_objdir
+
+
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define LT_OBJDIR "$lt_cv_objdir/"
+_ACEOF
+
+
+
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+old_CC=$CC
+old_CFLAGS=$CFLAGS
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+func_cc_basename $compiler
+cc_basename=$func_cc_basename_result
+
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/${ac_tool_prefix}file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+
+
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
+$as_echo_n "checking for file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ else
+ MAGIC_CMD=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+
+lt_save_CC=$CC
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+objext=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+
+lt_prog_compiler_no_builtin_flag=
+
+if test yes = "$GCC"; then
+ case $cc_basename in
+ nvcc*)
+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+ *)
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+
+
+
+
+
+ lt_prog_compiler_wl=
+lt_prog_compiler_pic=
+lt_prog_compiler_static=
+
+
+ if test yes = "$GCC"; then
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_static='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ lt_prog_compiler_wl='-Xlinker '
+ if test -n "$lt_prog_compiler_pic"; then
+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl='-Wl,'
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ else
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ case $cc_basename in
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static='$wl-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ # old Intel for x86_64, which still supported -KPIC.
+ ecc*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-qpic'
+ lt_prog_compiler_static='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Wl,'
+ ;;
+ *Intel*\ [CF]*Compiler*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ *Portland\ Group*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ rdos*)
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl='-Qoption ld '
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic='-Kconform_pic'
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ unicos*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_can_build_shared=no
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic='-pic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic=
+ ;;
+ *)
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works"; then
+ case $lt_prog_compiler_pic in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
+ esac
+else
+ lt_prog_compiler_pic=
+ lt_prog_compiler_can_build_shared=no
+fi
+
+fi
+
+
+
+
+
+
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works"; then
+ :
+else
+ lt_prog_compiler_static=
+fi
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ runpath_var=
+ allow_undefined_flag=
+ always_export_symbols=no
+ archive_cmds=
+ archive_expsym_cmds=
+ compiler_needs_object=no
+ enable_shared_with_static_runtimes=no
+ export_dynamic_flag_spec=
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ hardcode_automatic=no
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_separator=
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=unsupported
+ inherit_rpath=no
+ link_all_deplibs=unknown
+ module_cmds=
+ module_expsym_cmds=
+ old_archive_from_new_cmds=
+ old_archive_from_expsyms_cmds=
+ thread_safe_flag_spec=
+ whole_archive_flag_spec=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
+ # as well as any symbol that contains 'd'.
+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test yes != "$GCC"; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd* | bitrig*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test yes = "$with_gnu_ld"; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+ *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test yes = "$lt_use_gnu_ld_interface"; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='$wl'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec='$wl--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[3-9]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test ia64 != "$host_cpu"; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ export_dynamic_flag_spec='$wl--export-all-symbols'
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ haiku*)
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs=yes
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test linux-dietlibc = "$host_os"; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test no = "$tmp_diet"
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ whole_archive_flag_spec=
+ tmp_sharedflag='--shared' ;;
+ nagfor*) # NAGFOR 5.3
+ tmp_sharedflag='-Wl,-shared' ;;
+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ tcc*)
+ export_dynamic_flag_spec='-rdynamic'
+ ;;
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+
+ if test no = "$ld_shlibs"; then
+ runpath_var=
+ hardcode_libdir_flag_spec=
+ export_dynamic_flag_spec=
+ whole_archive_flag_spec=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds=''
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ file_list_spec='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # traditional, no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ ;;
+ esac
+
+ if test yes = "$GCC"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag="$shared_flag "'$wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ always_export_symbols=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag=' $wl-bernotok'
+ allow_undefined_flag=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec='$convenience'
+ fi
+ archive_cmds_need_lc=yes
+ archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared libraries.
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[45]*)
+ export_dynamic_flag_spec=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ file_list_spec='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+ enable_shared_with_static_runtimes=yes
+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ old_postinstall_cmds='chmod 644 $oldlib'
+ postlink_cmds='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_from_new_cmds='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ enable_shared_with_static_runtimes=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc=no
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec=''
+ fi
+ link_all_deplibs=yes
+ allow_undefined_flag=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+
+ else
+ ld_shlibs=no
+ fi
+
+ ;;
+
+ dgux*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ hpux9*)
+ if test yes = "$GCC"; then
+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ export_dynamic_flag_spec='$wl-E'
+ ;;
+
+ hpux10*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler__b=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -b"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler__b=yes
+ fi
+ else
+ lt_cv_prog_compiler__b=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test yes = "$lt_cv_prog_compiler__b"; then
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
+ ;;
+ esac
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ ;;
+ *)
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo (void) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_irix_exported_symbol=yes
+else
+ lt_cv_irix_exported_symbol=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+ if test yes = "$lt_cv_irix_exported_symbol"; then
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
+ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ inherit_rpath=yes
+ link_all_deplibs=yes
+ ;;
+
+ linux*)
+ case $cc_basename in
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ ld_shlibs=yes
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ newsos6)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_shlibpath_var=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ hardcode_direct_absolute=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ else
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ osf3*)
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_separator=:
+ ;;
+
+ solaris*)
+ no_undefined_flag=' -z defs'
+ if test yes = "$GCC"; then
+ wlarc='$wl'
+ archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='$wl'
+ archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_shlibpath_var=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test yes = "$GCC"; then
+ whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ else
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ link_all_deplibs=yes
+ ;;
+
+ sunos4*)
+ if test sequent = "$host_vendor"; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds='$CC -r -o $output$reload_objs'
+ hardcode_direct=no
+ ;;
+ motorola)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag='$wl-z,text'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag='$wl-z,text'
+ allow_undefined_flag='$wl-z,nodefs'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-R,$libdir'
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ export_dynamic_flag_spec='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+
+ if test sni = "$host_vendor"; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ export_dynamic_flag_spec='$wl-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
+$as_echo "$ld_shlibs" >&6; }
+test no = "$ld_shlibs" && can_build_shared=no
+
+with_gnu_ld=$with_gnu_ld
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ pic_flag=$lt_prog_compiler_pic
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc=no
+ else
+ lt_cv_archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+if test yes = "$GCC"; then
+ case $host_os in
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
+ *) lt_awk_arg='/^libraries:/' ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary...
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ # ...but if some path component already ends with the multilib dir we assume
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
+ lt_multi_os_dir=
+ ;;
+ esac
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
+ elif test -n "$lt_multi_os_dir"; then
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS = " "; FS = "/|\n";} {
+ lt_foo = "";
+ lt_count = 0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo = "/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[lt_foo]++; }
+ if (lt_freq[lt_foo] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux32
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux64
+ fi
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Ideally, we could use ldconfig to report *all* directores which are
+ # searched for libraries, however this is still not possible. Aside from not
+ # being certain /sbin/ldconfig is available, command
+ # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
+ # even though it is searched at run-time. Try to do the best guess by
+ # appending ld.so.conf contents (and includes) to the search path.
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
+configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
+
+# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
+func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
+
+# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
+configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" ||
+ test -n "$runpath_var" ||
+ test yes = "$hardcode_automatic"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
+ test no != "$hardcode_minus_L"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
+$as_echo "$hardcode_action" >&6; }
+
+if test relink = "$hardcode_action" ||
+ test yes = "$inherit_rpath"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+ if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
+if test "x$ac_cv_func_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if ${ac_cv_lib_dld_shl_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_shl_load=yes
+else
+ ac_cv_lib_dld_shl_load=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
+else
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if ${ac_cv_lib_svld_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_svld_dlopen=yes
+else
+ ac_cv_lib_svld_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if ${ac_cv_lib_dld_dld_link+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_dld_link=yes
+else
+ ac_cv_lib_dld_dld_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+ lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
+$as_echo "$lt_cv_dlopen_self" >&6; }
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self_static+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+striplib=
+old_striplib=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+ # Report what library types will actually be built
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
+$as_echo "$can_build_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+$as_echo_n "checking whether to build shared libraries... " >&6; }
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
+$as_echo "$enable_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
+$as_echo_n "checking whether to build static libraries... " >&6; }
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
+$as_echo "$enable_static" >&6; }
+
+
+
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC=$lt_save_CC
+
+ if test -n "$CXX" && ( test no != "$CXX" &&
+ ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
+ (test g++ != "$CXX"))); then
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
+if test -z "$CXXCPP"; then
+ if ${ac_cv_prog_CXXCPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CXXCPP needs to be expanded
+ for CXXCPP in "$CXX -E" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CXXCPP=$CXXCPP
+
+fi
+ CXXCPP=$ac_cv_prog_CXXCPP
+else
+ ac_cv_prog_CXXCPP=$CXXCPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
+$as_echo "$CXXCPP" >&6; }
+ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+else
+ _lt_caught_CXX_error=yes
+fi
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+archive_cmds_need_lc_CXX=no
+allow_undefined_flag_CXX=
+always_export_symbols_CXX=no
+archive_expsym_cmds_CXX=
+compiler_needs_object_CXX=no
+export_dynamic_flag_spec_CXX=
+hardcode_direct_CXX=no
+hardcode_direct_absolute_CXX=no
+hardcode_libdir_flag_spec_CXX=
+hardcode_libdir_separator_CXX=
+hardcode_minus_L_CXX=no
+hardcode_shlibpath_var_CXX=unsupported
+hardcode_automatic_CXX=no
+inherit_rpath_CXX=no
+module_cmds_CXX=
+module_expsym_cmds_CXX=
+link_all_deplibs_CXX=unknown
+old_archive_cmds_CXX=$old_archive_cmds
+reload_flag_CXX=$reload_flag
+reload_cmds_CXX=$reload_cmds
+no_undefined_flag_CXX=
+whole_archive_flag_spec_CXX=
+enable_shared_with_static_runtimes_CXX=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+objext_CXX=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_caught_CXX_error"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+ # save warnings/boilerplate of simple test code
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ compiler_CXX=$CC
+ func_cc_basename $compiler
+cc_basename=$func_cc_basename_result
+
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test yes = "$GXX"; then
+ lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
+ else
+ lt_prog_compiler_no_builtin_flag_CXX=
+ fi
+
+ if test yes = "$GXX"; then
+ # Set up default GNU C++ configuration
+
+
+
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test yes = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='$wl'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec_CXX=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+ ld_shlibs_CXX=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_CXX=''
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ file_list_spec_CXX='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct_CXX=no
+ hardcode_direct_absolute_CXX=no
+ ;;
+ esac
+
+ if test yes = "$GXX"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct_CXX=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_CXX=yes
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_libdir_separator_CXX=
+ fi
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag=$shared_flag' $wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec_CXX='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ always_export_symbols_CXX=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ # The "-G" linker flag allows undefined symbols.
+ no_undefined_flag_CXX='-bernotok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+
+ archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_CXX="-z nodefs"
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_CXX=' $wl-bernotok'
+ allow_undefined_flag_CXX=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_CXX='$convenience'
+ fi
+ archive_cmds_need_lc_CXX=yes
+ archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared
+ # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag_CXX=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX=' '
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=yes
+ file_list_spec_CXX='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
+ enable_shared_with_static_runtimes_CXX=yes
+ # Don't use ranlib
+ old_postinstall_cmds_CXX='chmod 644 $oldlib'
+ postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=no
+ enable_shared_with_static_runtimes_CXX=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc_CXX=no
+ hardcode_direct_CXX=no
+ hardcode_automatic_CXX=yes
+ hardcode_shlibpath_var_CXX=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec_CXX=''
+ fi
+ link_all_deplibs_CXX=yes
+ allow_undefined_flag_CXX=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+ if test yes != "$lt_cv_apple_cc_single_mod"; then
+ archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+ fi
+
+ else
+ ld_shlibs_CXX=no
+ fi
+
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_minus_L_CXX=yes
+ allow_undefined_flag_CXX=unsupported
+ shrext_cmds=.dll
+ archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes_CXX=yes
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ ld_shlibs_CXX=no
+ ;;
+
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+ ;;
+
+ haiku*)
+ archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs_CXX=yes
+ ;;
+
+ hpux9*)
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ export_dynamic_flag_spec_CXX='$wl-E'
+ hardcode_direct_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ export_dynamic_flag_spec_CXX='$wl-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ ;;
+ *)
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+ ;;
+ esac
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ inherit_rpath_CXX=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ archive_cmds_need_lc_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
+ prelink_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ old_archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object_CXX=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ ld_shlibs_CXX=yes
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ hardcode_direct_absolute_CXX=yes
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ ;;
+ *)
+ allow_undefined_flag_CXX=' -expect_unresolved \*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
+ $RM $lib.exp'
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ ;;
+ esac
+
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ case $host in
+ osf3*)
+ archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ archive_cmds_need_lc_CXX=yes
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_shlibpath_var_CXX=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ link_all_deplibs_CXX=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ no_undefined_flag_CXX=' $wl-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require '-G' NOT '-shared' on this
+ # platform.
+ archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag_CXX='$wl-z,text'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag_CXX='$wl-z,text'
+ allow_undefined_flag_CXX='$wl-z,nodefs'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ export_dynamic_flag_spec_CXX='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
+ '"$old_archive_cmds_CXX"
+ reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
+ '"$reload_cmds_CXX"
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+ test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+ GCC_CXX=$GXX
+ LD_CXX=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ # Dependencies to place before and after the object being linked:
+predep_objects_CXX=
+postdep_objects_CXX=
+predeps_CXX=
+postdeps_CXX=
+compiler_lib_search_path_CXX=
+
+cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test x-L = "$p" ||
+ test x-R = "$p"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test no = "$pre_test_object_deps_done"; then
+ case $prev in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$compiler_lib_search_path_CXX"; then
+ compiler_lib_search_path_CXX=$prev$p
+ else
+ compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$postdeps_CXX"; then
+ postdeps_CXX=$prev$p
+ else
+ postdeps_CXX="${postdeps_CXX} $prev$p"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test no = "$pre_test_object_deps_done"; then
+ if test -z "$predep_objects_CXX"; then
+ predep_objects_CXX=$p
+ else
+ predep_objects_CXX="$predep_objects_CXX $p"
+ fi
+ else
+ if test -z "$postdep_objects_CXX"; then
+ postdep_objects_CXX=$p
+ else
+ postdep_objects_CXX="$postdep_objects_CXX $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling CXX test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+case $host_os in
+interix[3-9]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ predep_objects_CXX=
+ postdep_objects_CXX=
+ postdeps_CXX=
+ ;;
+esac
+
+
+case " $postdeps_CXX " in
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
+esac
+ compiler_lib_search_dirs_CXX=
+if test -n "${compiler_lib_search_path_CXX}"; then
+ compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ lt_prog_compiler_wl_CXX=
+lt_prog_compiler_pic_CXX=
+lt_prog_compiler_static_CXX=
+
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test yes = "$GXX"; then
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ fi
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static_CXX='$wl-static'
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_CXX='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ lt_prog_compiler_pic_CXX=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static_CXX=
+ ;;
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_CXX=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[4-9]*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ else
+ lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ if test ia64 != "$host_cpu"; then
+ lt_prog_compiler_pic_CXX='+Z'
+ fi
+ ;;
+ aCC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64, which still supported -KPIC.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fpic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-qpic'
+ lt_prog_compiler_static_CXX='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ lt_prog_compiler_pic_CXX='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ lt_prog_compiler_wl_CXX='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ lt_prog_compiler_pic_CXX='-pic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ lt_prog_compiler_can_build_shared_CXX=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_CXX=
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
+lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works_CXX=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works_CXX=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
+ case $lt_prog_compiler_pic_CXX in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
+ esac
+else
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_can_build_shared_CXX=no
+fi
+
+fi
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works_CXX=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
+ :
+else
+ lt_prog_compiler_static_CXX=
+fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ case $host_os in
+ aix[4-9]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX=$ltdll_cmds
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+ ;;
+ esac
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+with_gnu_ld_CXX=$with_gnu_ld
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_CXX" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_CXX=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds_CXX in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_CXX
+ pic_flag=$lt_prog_compiler_pic_CXX
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+ allow_undefined_flag_CXX=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc_CXX=no
+ else
+ lt_cv_archive_cmds_need_lc_CXX=yes
+ fi
+ allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
+ archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux32
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ sys_lib_dlsearch_path_spec=/usr/lib/hpux64
+ fi
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Ideally, we could use ldconfig to report *all* directores which are
+ # searched for libraries, however this is still not possible. Aside from not
+ # being certain /sbin/ldconfig is available, command
+ # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
+ # even though it is searched at run-time. Try to do the best guess by
+ # appending ld.so.conf contents (and includes) to the search path.
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
+configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
+
+# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
+func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
+
+# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
+configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action_CXX=
+if test -n "$hardcode_libdir_flag_spec_CXX" ||
+ test -n "$runpath_var_CXX" ||
+ test yes = "$hardcode_automatic_CXX"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct_CXX" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
+ test no != "$hardcode_minus_L_CXX"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_CXX=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_CXX=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_CXX=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
+$as_echo "$hardcode_action_CXX" >&6; }
+
+if test relink = "$hardcode_action_CXX" ||
+ test yes = "$inherit_rpath_CXX"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test yes != "$_lt_caught_CXX_error"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
+
+
+
+
+# Party on
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_BUILD_STANDALONE_TRUE}" && test -z "${HWLOC_BUILD_STANDALONE_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_BUILD_STANDALONE\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_GCC_TRUE}" && test -z "${HWLOC_HAVE_GCC_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_GCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_MS_LIB_TRUE}" && test -z "${HWLOC_HAVE_MS_LIB_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_MS_LIB\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_OPENAT_TRUE}" && test -z "${HWLOC_HAVE_OPENAT_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_OPENAT\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_LINUX_LIBNUMA_TRUE}" && test -z "${HWLOC_HAVE_LINUX_LIBNUMA_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_LINUX_LIBNUMA\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_SCHED_SETAFFINITY_TRUE}" && test -z "${HWLOC_HAVE_SCHED_SETAFFINITY_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_SCHED_SETAFFINITY\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_PTHREAD_TRUE}" && test -z "${HWLOC_HAVE_PTHREAD_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_PTHREAD\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_LIBIBVERBS_TRUE}" && test -z "${HWLOC_HAVE_LIBIBVERBS_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_LIBIBVERBS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_CUDA_TRUE}" && test -z "${HWLOC_HAVE_CUDA_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_CUDA\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_GL_TRUE}" && test -z "${HWLOC_HAVE_GL_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_GL\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_MYRIEXPRESS_TRUE}" && test -z "${HWLOC_HAVE_MYRIEXPRESS_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_MYRIEXPRESS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_CUDART_TRUE}" && test -z "${HWLOC_HAVE_CUDART_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_CUDART\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_LIBXML2_TRUE}" && test -z "${HWLOC_HAVE_LIBXML2_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_LIBXML2\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_CAIRO_TRUE}" && test -z "${HWLOC_HAVE_CAIRO_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_CAIRO\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_PCI_TRUE}" && test -z "${HWLOC_HAVE_PCI_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_PCI\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_OPENCL_TRUE}" && test -z "${HWLOC_HAVE_OPENCL_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_OPENCL\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_NVML_TRUE}" && test -z "${HWLOC_HAVE_NVML_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_NVML\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_SET_MEMPOLICY_TRUE}" && test -z "${HWLOC_HAVE_SET_MEMPOLICY_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_SET_MEMPOLICY\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_MBIND_TRUE}" && test -z "${HWLOC_HAVE_MBIND_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_MBIND\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_BUNZIPP_TRUE}" && test -z "${HWLOC_HAVE_BUNZIPP_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_BUNZIPP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_USER32_TRUE}" && test -z "${HWLOC_HAVE_USER32_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_USER32\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_BUILD_DOXYGEN_TRUE}" && test -z "${HWLOC_BUILD_DOXYGEN_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_BUILD_DOXYGEN\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_BUILD_README_TRUE}" && test -z "${HWLOC_BUILD_README_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_BUILD_README\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_INSTALL_DOXYGEN_TRUE}" && test -z "${HWLOC_INSTALL_DOXYGEN_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_INSTALL_DOXYGEN\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_LINUX_TRUE}" && test -z "${HWLOC_HAVE_LINUX_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_LINUX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_BGQ_TRUE}" && test -z "${HWLOC_HAVE_BGQ_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_BGQ\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_IRIX_TRUE}" && test -z "${HWLOC_HAVE_IRIX_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_IRIX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_DARWIN_TRUE}" && test -z "${HWLOC_HAVE_DARWIN_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_DARWIN\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_FREEBSD_TRUE}" && test -z "${HWLOC_HAVE_FREEBSD_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_FREEBSD\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_NETBSD_TRUE}" && test -z "${HWLOC_HAVE_NETBSD_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_NETBSD\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_SOLARIS_TRUE}" && test -z "${HWLOC_HAVE_SOLARIS_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_SOLARIS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_AIX_TRUE}" && test -z "${HWLOC_HAVE_AIX_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_AIX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_OSF_TRUE}" && test -z "${HWLOC_HAVE_OSF_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_OSF\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_HPUX_TRUE}" && test -z "${HWLOC_HAVE_HPUX_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_HPUX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_WINDOWS_TRUE}" && test -z "${HWLOC_HAVE_WINDOWS_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_WINDOWS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_MINGW32_TRUE}" && test -z "${HWLOC_HAVE_MINGW32_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_MINGW32\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_X86_TRUE}" && test -z "${HWLOC_HAVE_X86_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_X86\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_X86_32_TRUE}" && test -z "${HWLOC_HAVE_X86_32_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_X86_32\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_X86_64_TRUE}" && test -z "${HWLOC_HAVE_X86_64_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_X86_64\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_X86_CPUID_TRUE}" && test -z "${HWLOC_HAVE_X86_CPUID_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_X86_CPUID\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_PLUGINS_TRUE}" && test -z "${HWLOC_HAVE_PLUGINS_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_PLUGINS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_PCI_BUILD_STATIC_TRUE}" && test -z "${HWLOC_PCI_BUILD_STATIC_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_PCI_BUILD_STATIC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_OPENCL_BUILD_STATIC_TRUE}" && test -z "${HWLOC_OPENCL_BUILD_STATIC_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_OPENCL_BUILD_STATIC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_CUDA_BUILD_STATIC_TRUE}" && test -z "${HWLOC_CUDA_BUILD_STATIC_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_CUDA_BUILD_STATIC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_NVML_BUILD_STATIC_TRUE}" && test -z "${HWLOC_NVML_BUILD_STATIC_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_NVML_BUILD_STATIC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_GL_BUILD_STATIC_TRUE}" && test -z "${HWLOC_GL_BUILD_STATIC_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_GL_BUILD_STATIC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_XML_LIBXML_BUILD_STATIC_TRUE}" && test -z "${HWLOC_XML_LIBXML_BUILD_STATIC_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_XML_LIBXML_BUILD_STATIC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HWLOC_HAVE_CXX_TRUE}" && test -z "${HWLOC_HAVE_CXX_FALSE}"; then
+ as_fn_error $? "conditional \"HWLOC_HAVE_CXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by hwloc $as_me 1.11.13, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_links="$ac_config_links"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration links:
+$config_links
+
+Configuration commands:
+$config_commands
+
+Report bugs to <http://github.com/open-mpi/hwloc/issues>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+hwloc config.status 1.11.13
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
+configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
+predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
+postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
+predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
+postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
+LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
+reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
+reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
+postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
+
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in AS \
+DLLTOOL \
+OBJDUMP \
+SHELL \
+ECHO \
+PATH_SEPARATOR \
+SED \
+GREP \
+EGREP \
+FGREP \
+LD \
+NM \
+LN_S \
+lt_SP2NL \
+lt_NL2SP \
+reload_flag \
+deplibs_check_method \
+file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+sharedlib_from_linklib_cmd \
+AR \
+AR_FLAGS \
+archiver_list_spec \
+STRIP \
+RANLIB \
+CC \
+CFLAGS \
+compiler \
+lt_cv_sys_global_symbol_pipe \
+lt_cv_sys_global_symbol_to_cdecl \
+lt_cv_sys_global_symbol_to_import \
+lt_cv_sys_global_symbol_to_c_name_address \
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
+lt_cv_nm_interface \
+nm_file_list_spec \
+lt_cv_truncate_bin \
+lt_prog_compiler_no_builtin_flag \
+lt_prog_compiler_pic \
+lt_prog_compiler_wl \
+lt_prog_compiler_static \
+lt_cv_prog_compiler_c_o \
+need_locks \
+MANIFEST_TOOL \
+DSYMUTIL \
+NMEDIT \
+LIPO \
+OTOOL \
+OTOOL64 \
+shrext_cmds \
+export_dynamic_flag_spec \
+whole_archive_flag_spec \
+compiler_needs_object \
+with_gnu_ld \
+allow_undefined_flag \
+no_undefined_flag \
+hardcode_libdir_flag_spec \
+hardcode_libdir_separator \
+exclude_expsyms \
+include_expsyms \
+file_list_spec \
+variables_saved_for_relink \
+libname_spec \
+library_names_spec \
+soname_spec \
+install_override_mode \
+finish_eval \
+old_striplib \
+striplib \
+compiler_lib_search_dirs \
+predep_objects \
+postdep_objects \
+predeps \
+postdeps \
+compiler_lib_search_path \
+LD_CXX \
+reload_flag_CXX \
+compiler_CXX \
+lt_prog_compiler_no_builtin_flag_CXX \
+lt_prog_compiler_pic_CXX \
+lt_prog_compiler_wl_CXX \
+lt_prog_compiler_static_CXX \
+lt_cv_prog_compiler_c_o_CXX \
+export_dynamic_flag_spec_CXX \
+whole_archive_flag_spec_CXX \
+compiler_needs_object_CXX \
+with_gnu_ld_CXX \
+allow_undefined_flag_CXX \
+no_undefined_flag_CXX \
+hardcode_libdir_flag_spec_CXX \
+hardcode_libdir_separator_CXX \
+exclude_expsyms_CXX \
+include_expsyms_CXX \
+file_list_spec_CXX \
+compiler_lib_search_dirs_CXX \
+predep_objects_CXX \
+postdep_objects_CXX \
+predeps_CXX \
+postdeps_CXX \
+compiler_lib_search_path_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in reload_cmds \
+old_postinstall_cmds \
+old_postuninstall_cmds \
+old_archive_cmds \
+extract_expsyms_cmds \
+old_archive_from_new_cmds \
+old_archive_from_expsyms_cmds \
+archive_cmds \
+archive_expsym_cmds \
+module_cmds \
+module_expsym_cmds \
+export_symbols_cmds \
+prelink_cmds \
+postlink_cmds \
+postinstall_cmds \
+postuninstall_cmds \
+finish_cmds \
+sys_lib_search_path_spec \
+configure_time_dlsearch_path \
+configure_time_lt_sys_library_path \
+reload_cmds_CXX \
+old_archive_cmds_CXX \
+old_archive_from_new_cmds_CXX \
+old_archive_from_expsyms_cmds_CXX \
+archive_cmds_CXX \
+archive_expsym_cmds_CXX \
+module_cmds_CXX \
+module_expsym_cmds_CXX \
+export_symbols_cmds_CXX \
+prelink_cmds_CXX \
+postlink_cmds_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+ac_aux_dir='$ac_aux_dir'
+
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ RM='$RM'
+ ofile='$ofile'
+
+
+
+
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "include/private/autogen/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/private/autogen/config.h" ;;
+ "include/hwloc/autogen/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/hwloc/autogen/config.h" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
+ "doc/doxygen-config.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen-config.cfg" ;;
+ "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
+ "utils/hwloc/Makefile") CONFIG_FILES="$CONFIG_FILES utils/hwloc/Makefile" ;;
+ "utils/lstopo/Makefile") CONFIG_FILES="$CONFIG_FILES utils/lstopo/Makefile" ;;
+ "hwloc.pc") CONFIG_FILES="$CONFIG_FILES hwloc.pc" ;;
+ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
+ "tests/linux/Makefile") CONFIG_FILES="$CONFIG_FILES tests/linux/Makefile" ;;
+ "tests/linux/allowed/Makefile") CONFIG_FILES="$CONFIG_FILES tests/linux/allowed/Makefile" ;;
+ "tests/linux/gather/Makefile") CONFIG_FILES="$CONFIG_FILES tests/linux/gather/Makefile" ;;
+ "tests/xml/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xml/Makefile" ;;
+ "tests/ports/Makefile") CONFIG_FILES="$CONFIG_FILES tests/ports/Makefile" ;;
+ "tests/rename/Makefile") CONFIG_FILES="$CONFIG_FILES tests/rename/Makefile" ;;
+ "tests/linux/allowed/test-topology.sh") CONFIG_FILES="$CONFIG_FILES tests/linux/allowed/test-topology.sh" ;;
+ "tests/linux/gather/test-gather-topology.sh") CONFIG_FILES="$CONFIG_FILES tests/linux/gather/test-gather-topology.sh" ;;
+ "tests/linux/test-topology.sh") CONFIG_FILES="$CONFIG_FILES tests/linux/test-topology.sh" ;;
+ "tests/xml/test-topology.sh") CONFIG_FILES="$CONFIG_FILES tests/xml/test-topology.sh" ;;
+ "tests/wrapper.sh") CONFIG_FILES="$CONFIG_FILES tests/wrapper.sh" ;;
+ "utils/hwloc/hwloc-assembler-remote") CONFIG_FILES="$CONFIG_FILES utils/hwloc/hwloc-assembler-remote" ;;
+ "utils/hwloc/hwloc-compress-dir") CONFIG_FILES="$CONFIG_FILES utils/hwloc/hwloc-compress-dir" ;;
+ "utils/hwloc/hwloc-gather-topology") CONFIG_FILES="$CONFIG_FILES utils/hwloc/hwloc-gather-topology" ;;
+ "utils/hwloc/test-hwloc-annotate.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-annotate.sh" ;;
+ "utils/hwloc/test-hwloc-assembler.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-assembler.sh" ;;
+ "utils/hwloc/test-hwloc-calc.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-calc.sh" ;;
+ "utils/hwloc/test-hwloc-compress-dir.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-compress-dir.sh" ;;
+ "utils/hwloc/test-hwloc-diffpatch.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-diffpatch.sh" ;;
+ "utils/hwloc/test-hwloc-distances.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-distances.sh" ;;
+ "utils/hwloc/test-hwloc-distrib.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-distrib.sh" ;;
+ "utils/hwloc/test-hwloc-info.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-hwloc-info.sh" ;;
+ "utils/hwloc/test-fake-plugin.sh") CONFIG_FILES="$CONFIG_FILES utils/hwloc/test-fake-plugin.sh" ;;
+ "utils/lstopo/test-hwloc-ls.sh") CONFIG_FILES="$CONFIG_FILES utils/lstopo/test-hwloc-ls.sh" ;;
+ "contrib/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/systemd/Makefile" ;;
+ "chmoding-scripts") CONFIG_COMMANDS="$CONFIG_COMMANDS chmoding-scripts" ;;
+ "tests/ports/topology-solaris.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-solaris.c:src/topology-solaris.c" ;;
+ "tests/ports/topology-solaris-chiptype.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-solaris-chiptype.c:src/topology-solaris-chiptype.c" ;;
+ "tests/ports/topology-aix.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-aix.c:src/topology-aix.c" ;;
+ "tests/ports/topology-osf.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-osf.c:src/topology-osf.c" ;;
+ "tests/ports/topology-windows.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-windows.c:src/topology-windows.c" ;;
+ "tests/ports/topology-darwin.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-darwin.c:src/topology-darwin.c" ;;
+ "tests/ports/topology-freebsd.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-freebsd.c:src/topology-freebsd.c" ;;
+ "tests/ports/topology-netbsd.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-netbsd.c:src/topology-netbsd.c" ;;
+ "tests/ports/topology-hpux.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-hpux.c:src/topology-hpux.c" ;;
+ "tests/ports/topology-bgq.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-bgq.c:src/topology-bgq.c" ;;
+ "tests/ports/topology-opencl.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-opencl.c:src/topology-opencl.c" ;;
+ "tests/ports/topology-cuda.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-cuda.c:src/topology-cuda.c" ;;
+ "tests/ports/topology-nvml.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-nvml.c:src/topology-nvml.c" ;;
+ "tests/ports/topology-gl.c") CONFIG_LINKS="$CONFIG_LINKS tests/ports/topology-gl.c:src/topology-gl.c" ;;
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = "\a"
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = "\a"
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+ :L)
+ #
+ # CONFIG_LINK
+ #
+
+ if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
+ :
+ else
+ # Prefer the file from the source tree if names are identical.
+ if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
+ ac_source=$srcdir/$ac_source
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
+$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
+
+ if test ! -r "$ac_source"; then
+ as_fn_error $? "$ac_source: file not found" "$LINENO" 5
+ fi
+ rm -f "$ac_file"
+
+ # Try a relative symlink, then a hard link, then a copy.
+ case $ac_source in
+ [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
+ *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
+ esac
+ ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
+ ln "$ac_source" "$ac_file" 2>/dev/null ||
+ cp -p "$ac_source" "$ac_file" ||
+ as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
+ fi
+ ;;
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "chmoding-scripts":C) chmod +x tests/linux/test-topology.sh tests/xml/test-topology.sh tests/linux/allowed/test-topology.sh tests/linux/gather/test-gather-topology.sh tests/wrapper.sh utils/hwloc/hwloc-assembler-remote utils/hwloc/hwloc-compress-dir utils/hwloc/hwloc-gather-topology utils/hwloc/test-hwloc-annotate.sh utils/hwloc/test-hwloc-assembler.sh utils/hwloc/test-hwloc-calc.sh utils/hwloc/test-hwloc-compress-dir.sh utils/hwloc/test-hwloc-diffpatch.sh utils/hwloc/test-hwloc-distances.sh utils/hwloc/test-hwloc-distrib.sh utils/hwloc/test-hwloc-info.sh utils/hwloc/test-fake-plugin.sh utils/lstopo/test-hwloc-ls.sh ;;
+ "libtool":C)
+
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags='CXX '
+
+# Configured defaults for sys_lib_dlsearch_path munging.
+: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Which release of libtool.m4 was used?
+macro_version=$macro_version
+macro_revision=$macro_revision
+
+# Assembler program.
+AS=$lt_AS
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Object dumper program.
+OBJDUMP=$lt_OBJDUMP
+
+# What type of objects to build.
+pic_mode=$pic_mode
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
+# The host system.
+host_alias=$host_alias
+host=$host
+host_os=$host_os
+
+# The build system.
+build_alias=$build_alias
+build=$build
+build_os=$build_os
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="\$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP=$lt_GREP
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# A literal string matcher.
+FGREP=$lt_FGREP
+
+# A BSD- or MS-compatible name lister.
+NM=$lt_NM
+
+# Whether we need soft or hard links.
+LN_S=$lt_LN_S
+
+# What is the maximum length of a command?
+max_cmd_len=$max_cmd_len
+
+# Object file suffix (normally "o").
+objext=$ac_objext
+
+# Executable file suffix (normally "").
+exeext=$exeext
+
+# whether the shell understands "unset".
+lt_unset=$lt_unset
+
+# turn spaces into newlines.
+SP2NL=$lt_lt_SP2NL
+
+# turn newlines into spaces.
+NL2SP=$lt_lt_NL2SP
+
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd=$lt_file_magic_cmd
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
+# The archiver.
+AR=$lt_AR
+
+# Flags to create an archive.
+AR_FLAGS=$lt_AR_FLAGS
+
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
+# A symbol stripping program.
+STRIP=$lt_STRIP
+
+# Commands used to install an old-style archive.
+RANLIB=$lt_RANLIB
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
+# A C compiler.
+LTCC=$lt_CC
+
+# LTCC compiler flags.
+LTCFLAGS=$lt_CFLAGS
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm into a list of symbols to manually relocate.
+global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
+# The name lister interface.
+nm_interface=$lt_lt_cv_nm_interface
+
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
+
+# The root where to search for dependent libraries,and where our libraries should be installed.
+lt_sysroot=$lt_sysroot
+
+# Command to truncate a binary pipe.
+lt_truncate_bin=$lt_lt_cv_truncate_bin
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=$MAGIC_CMD
+
+# Must we lock files when doing compilation?
+need_locks=$lt_need_locks
+
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=$lt_DSYMUTIL
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=$lt_NMEDIT
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=$lt_LIPO
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=$lt_OTOOL
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=$lt_OTOOL64
+
+# Old archive suffix (normally "a").
+libext=$libext
+
+# Shared library suffix (normally ".so").
+shrext_cmds=$lt_shrext_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink=$lt_variables_saved_for_relink
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Library versioning type.
+version_type=$version_type
+
+# Shared library runtime path variable.
+runpath_var=$runpath_var
+
+# Shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=$lt_postinstall_cmds
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=$lt_finish_eval
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Detected run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
+
+# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
+configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds
+
+# A language specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects
+postdep_objects=$lt_postdep_objects
+predeps=$lt_predeps
+postdeps=$lt_postdeps
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path
+
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ cat <<'_LT_EOF' >> "$cfgfile"
+
+# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
+
+# func_munge_path_list VARIABLE PATH
+# -----------------------------------
+# VARIABLE is name of variable containing _space_ separated list of
+# directories to be munged by the contents of PATH, which is string
+# having a format:
+# "DIR[:DIR]:"
+# string "DIR[ DIR]" will be prepended to VARIABLE
+# ":DIR[:DIR]"
+# string "DIR[ DIR]" will be appended to VARIABLE
+# "DIRP[:DIRP]::[DIRA:]DIRA"
+# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
+# "DIRA[ DIRA]" will be appended to VARIABLE
+# "DIR[:DIR]"
+# VARIABLE will be replaced by "DIR[ DIR]"
+func_munge_path_list ()
+{
+ case x$2 in
+ x)
+ ;;
+ *:)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
+ ;;
+ x:*)
+ eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ *::*)
+ eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
+ eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
+ ;;
+ *)
+ eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
+ ;;
+ esac
+}
+
+
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+func_cc_basename ()
+{
+ for cc_temp in $*""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+ done
+ func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+}
+
+
+# ### END FUNCTIONS SHARED WITH CONFIGURE
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+
+ cat <<_LT_EOF >> "$ofile"
+
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+# The linker used to build libraries.
+LD=$lt_LD_CXX
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds_CXX
+
+# A language specific compiler.
+CC=$lt_compiler_CXX
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC_CXX
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_CXX
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object_CXX
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds_CXX
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds_CXX
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld_CXX
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_CXX
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L_CXX
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic_CXX
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath_CXX
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_CXX
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols_CXX
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_CXX
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_CXX
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds_CXX
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec_CXX
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_CXX
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects_CXX
+postdep_objects=$lt_postdep_objects_CXX
+predeps=$lt_predeps_CXX
+postdeps=$lt_postdeps_CXX
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+
+# ### END LIBTOOL TAG CONFIG: CXX
+_LT_EOF
+
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
+# Warn if we didn't have pkg-config
+if test "x$PKG_CONFIG" = x; then
+ cat << EOF
+
+************************************************************************
+Could not detect/enable some features such as libxml2 and Cairo support
+because pkg-config isn't available.
+************************************************************************
+EOF
+fi
+
+# Show which optional support we'll be building
+hwloc_xml_status=basic
+if test "$hwloc_libxml2_happy" = "yes"; then :
+ hwloc_xml_status=full
+fi
+hwloc_cairo_status=$hwloc_cairo_happy
+if test "$enable_embedded_mode" = "yes"; then :
+ hwloc_cairo_status="no (disabled in embedded mode)"
+fi
+
+# Prepare the I/O summary
+hwloc_probeio_list=
+if test "x$hwloc_pci_happy" = "xyes" -o "x$hwloc_linuxpci_happy" = "xyes"; then
+ test "x$hwloc_pci_happy" = "xyes" && hwloc_probepci_list="$hwloc_pci_lib"
+ test "x$hwloc_pci_happy$hwloc_linuxpci_happy" = "xyesyes" && hwloc_probepci_list="${hwloc_probepci_list}+"
+ test "x$hwloc_linuxpci_happy" = "xyes" && hwloc_probepci_list="${hwloc_probepci_list}linux"
+ hwloc_probeio_list="$hwloc_probeio_list PCI($hwloc_probepci_list)"
+fi
+test "x$hwloc_opencl_happy" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list OpenCL"
+test "x$hwloc_have_cudart" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list CUDA"
+test "x$hwloc_nvml_happy" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list NVML"
+test "x$hwloc_gl_happy" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list GL"
+# if anything but PCI, that anything will be useless
+test "x$hwloc_pci_happy" != "xyes" && test "x$hwloc_linuxpci_happy" != "xyes" \
+ && test "x$hwloc_probeio_list" != "x" && hwloc_probeio_list="$hwloc_probeio_list (cannot work without PCI)"
+# if nothing, say "no"
+test "x$hwloc_probeio_list" = "x" && hwloc_probeio_list=" no"
+
+# Beginning of generic support
+cat <<EOF
+
+-----------------------------------------------------------------------------
+Hwloc optional build support status (more details can be found above):
+
+Probe / display I/O devices:$hwloc_probeio_list
+Graphical output (Cairo): $hwloc_cairo_status
+XML input / output: $hwloc_xml_status
+EOF
+
+# Linux specific support
+if test "$hwloc_linux" = "yes"; then :
+ cat <<EOF
+libnuma memory support: $hwloc_linux_libnuma_happy
+EOF
+fi
+
+# Plugin support
+hwloc_plugin_summary=$hwloc_have_plugins
+test "x$hwloc_plugin_components" != "x" && hwloc_plugin_summary="yes ("`echo $hwloc_plugin_components`")" # echo removes the starting space
+cat <<EOF
+Plugin support: $hwloc_plugin_summary
+EOF
+
+# End of generic support
+cat <<EOF
+-----------------------------------------------------------------------------
+
+EOF
--- /dev/null
+# -*- shell-script -*-
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009, 2011-2012 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+#
+# See COPYING in top-level directory.
+#
+# Additional copyrights may follow
+#
+# $HEADER$
+#
+
+####################################################################
+# Autoconf, Automake, and Libtool bootstrapping
+####################################################################
+
+AC_INIT([hwloc],
+ [m4_normalize(esyscmd([config/hwloc_get_version.sh VERSION --version]))],
+ [http://github.com/open-mpi/hwloc/issues], [hwloc])
+AC_PREREQ(2.63)
+AC_CONFIG_AUX_DIR(./config)
+# Note that this directory must *exactly* match what was specified via
+# -I in ACLOCAL_AMFLAGS in the top-level Makefile.am.
+AC_CONFIG_MACRO_DIR(./config)
+
+cat <<EOF
+
+###
+### Configuring hwloc distribution tarball
+### Startup tests
+###
+EOF
+
+# This must be before AM_INIT_AUTOMAKE
+AC_CANONICAL_TARGET
+
+# Init automake
+AM_INIT_AUTOMAKE([1.11 dist-bzip2 subdir-objects foreign tar-ustar parallel-tests -Wall -Werror])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+# We want new Libtool. None of that old stuff. Pfft.
+m4_ifdef([LT_PREREQ], [],
+ [m4_fatal([libtool version 2.2.6 or higher is required], [63])])
+LT_PREREQ([2.2.6])
+
+AC_LANG([C])
+AC_USE_SYSTEM_EXTENSIONS
+
+####################################################################
+# Setup the configure-results header file
+####################################################################
+
+AH_TOP([/* -*- c -*-
+ *
+ * Copyright © 2009, 2011, 2012 CNRS, inria., Université Bordeaux All rights reserved.
+ * Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+ * $COPYRIGHT$
+ *
+ * Additional copyrights may follow
+ *
+ * $HEADER$
+ *
+ * This file is automatically generated by configure. Edits will be lost
+ * the next time you run configure!
+ */
+
+#ifndef HWLOC_CONFIGURE_H
+#define HWLOC_CONFIGURE_H
+])
+AH_BOTTOM([
+#endif /* HWLOC_CONFIGURE_H */
+])
+
+####################################################################
+# Setup C compiler
+####################################################################
+
+CFLAGS_save="$CFLAGS"
+AC_PROG_CC
+AC_PROG_CXX
+AM_PROG_CC_C_O
+CFLAGS="$CFLAGS_save"
+# This did not exist pre AM 1.11.x (where x is somewhere >0 and <3),
+# but it is necessary in AM 1.12.x.
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+
+AC_ARG_VAR(CC_FOR_BUILD,[build system C compiler])
+AS_IF([test -z "$CC_FOR_BUILD"],[
+ AC_SUBST([CC_FOR_BUILD], [$CC])
+])
+
+####################################################################
+# CLI arguments
+####################################################################
+
+# Define hwloc's configure arguments
+HWLOC_DEFINE_ARGS
+
+# If debug mode, add -g
+AS_IF([test "$hwloc_debug" = "1"],
+ [CFLAGS="$CFLAGS -g"])
+
+# If the user didn't specifically ask for embedding mode, default to
+# standalone mode
+AS_IF([test "$enable_embedded_mode" != "yes"],
+ [AS_IF([test ! -d "$srcdir/doc"],
+ [AC_MSG_WARN([The hwloc source tree looks incomplete for a standalone])
+ AC_MSG_WARN([build. Perhaps this hwloc tree is intended for an embedded])
+ AC_MSG_WARN([build? Try using the --enable-embedded-mode switch.])
+ AC_MSG_ERROR([Cannot build standalone hwloc])],
+ [HWLOC_BUILD_STANDALONE])])
+
+####################################################################
+# Setup for the hwloc API
+####################################################################
+
+# Setup the hwloc core
+HWLOC_SETUP_CORE([], [], [AC_MSG_ERROR([Cannot build hwloc core])], [1])
+
+# Setup hwloc's docs, utils, and tests
+AS_IF([test "$hwloc_mode" = "standalone"],
+ [HWLOC_SETUP_DOCS
+ HWLOC_SETUP_UTILS
+ HWLOC_SETUP_TESTS])
+
+cat <<EOF
+
+###
+### Performing final hwloc configuration
+###
+EOF
+
+# Run the AM_CONDITIONALs
+HWLOC_DO_AM_CONDITIONALS
+
+####################################################################
+# Version information
+####################################################################
+
+# HWLOC_VERSION was setup by HWLOC_SETUP_CORE above.
+
+# Make configure depend on the VERSION file, since it's used in AC_INIT
+AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/VERSION'])
+
+# Override/fixup the version numbers set by AC_INIT, since on
+# developer builds, there's no good way to know what the version is
+# before running configure :(. We only use the base version number
+# for the version set in AC_INIT. This will always match reality
+# because we add the VERSION file (the only way to change the
+# major.minor.release{greek}) into the configure dependencies.
+
+PACKAGE_VERSION="$HWLOC_VERSION"
+PACKAGE_STRING="${PACKAGE_NAME} ${PACKAGE_VERSION}"
+VERSION="${PACKAGE_VERSION}"
+
+# For standalone configurations, we also include a .so version number.
+
+. $srcdir/VERSION
+AC_SUBST([libhwloc_so_version])
+
+####################################################################
+# Final output
+####################################################################
+
+# Set the final flags
+CFLAGS="$HWLOC_EMBEDDED_CFLAGS $CFLAGS"
+CPPFLAGS="$HWLOC_EMBEDDED_CPPFLAGS $CPPFLAGS"
+LIBS="$HWLOC_EMBEDDED_LIBS $LIBS"
+
+# Setup libtool, but disable C++, F77, Java and Windows Resource
+# Compiler support -- we don't need that stuff.
+AM_ENABLE_SHARED
+AM_DISABLE_STATIC
+AM_PROG_LIBTOOL([dlopen win32-dll])
+LT_LANG([C])
+
+# Party on
+AC_OUTPUT
+
+# Warn if we didn't have pkg-config
+if test "x$PKG_CONFIG" = x; then
+ cat << EOF
+
+************************************************************************
+Could not detect/enable some features such as libxml2 and Cairo support
+because pkg-config isn't available.
+************************************************************************
+EOF
+fi
+
+# Show which optional support we'll be building
+hwloc_xml_status=basic
+AS_IF([test "$hwloc_libxml2_happy" = "yes"], [hwloc_xml_status=full])
+hwloc_cairo_status=$hwloc_cairo_happy
+AS_IF([test "$enable_embedded_mode" = "yes"], [hwloc_cairo_status="no (disabled in embedded mode)"])
+
+# Prepare the I/O summary
+hwloc_probeio_list=
+if test "x$hwloc_pci_happy" = "xyes" -o "x$hwloc_linuxpci_happy" = "xyes"; then
+ test "x$hwloc_pci_happy" = "xyes" && hwloc_probepci_list="$hwloc_pci_lib"
+ test "x$hwloc_pci_happy$hwloc_linuxpci_happy" = "xyesyes" && hwloc_probepci_list="${hwloc_probepci_list}+"
+ test "x$hwloc_linuxpci_happy" = "xyes" && hwloc_probepci_list="${hwloc_probepci_list}linux"
+ hwloc_probeio_list="$hwloc_probeio_list PCI($hwloc_probepci_list)"
+fi
+test "x$hwloc_opencl_happy" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list OpenCL"
+test "x$hwloc_have_cudart" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list CUDA"
+test "x$hwloc_nvml_happy" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list NVML"
+test "x$hwloc_gl_happy" = "xyes" && hwloc_probeio_list="$hwloc_probeio_list GL"
+# if anything but PCI, that anything will be useless
+test "x$hwloc_pci_happy" != "xyes" && test "x$hwloc_linuxpci_happy" != "xyes" \
+ && test "x$hwloc_probeio_list" != "x" && hwloc_probeio_list="$hwloc_probeio_list (cannot work without PCI)"
+# if nothing, say "no"
+test "x$hwloc_probeio_list" = "x" && hwloc_probeio_list=" no"
+
+# Beginning of generic support
+cat <<EOF
+
+-----------------------------------------------------------------------------
+Hwloc optional build support status (more details can be found above):
+
+Probe / display I/O devices:$hwloc_probeio_list
+Graphical output (Cairo): $hwloc_cairo_status
+XML input / output: $hwloc_xml_status
+EOF
+
+# Linux specific support
+AS_IF([test "$hwloc_linux" = "yes"], [cat <<EOF
+libnuma memory support: $hwloc_linux_libnuma_happy
+EOF])
+
+# Plugin support
+hwloc_plugin_summary=$hwloc_have_plugins
+test "x$hwloc_plugin_components" != "x" && hwloc_plugin_summary="yes ("`echo $hwloc_plugin_components`")" # echo removes the starting space
+cat <<EOF
+Plugin support: $hwloc_plugin_summary
+EOF
+
+# End of generic support
+cat <<EOF
+-----------------------------------------------------------------------------
+
+EOF
--- /dev/null
+# Copyright © 2012-2018 Inria. All rights reserved.
+# See COPYING in top-level directory.
+
+# suppressions file to be passed to valgrind with
+# --suppressions=/path/to/hwloc-valgrind.supp
+
+# zlib (brought by libpci or libxml2) doesn't cleanup its global state
+{
+ inflate_init
+ Memcheck:Cond
+ fun:inflateReset2
+ fun:inflateInit2_
+}
+
+# hwloc cannot free the global parser (with xmlCleanupParser()) because other threads may be using it
+{
+ xml_init_parser
+ Memcheck:Leak
+ ...
+ fun:xmlInitParser
+}
+
+# hwloc cannot free the global xml dict RMutex because it cannot call xmlCleanupParser() as explained above
+{
+ xml_dict_create_new_rmutex
+ Memcheck:Leak
+ fun:malloc
+ fun:xmlNewRMutex
+ ...
+ fun:xmlDictCreate
+}
+
+# ltdl dlopen global state?
+{
+ ltdl_dlopen_doit_leak
+ Memcheck:Leak
+ ...
+ fun:dl_open_worker
+ fun:_dl_catch_error
+ fun:_dl_open
+ fun:dlopen_doit
+}
+
+# ltdl_dlclose_leak
+{
+ ltdl_dlclose_leak
+ Memcheck:Leak
+ ...
+ fun:_dl_close_worker
+ fun:_dl_close
+ ...
+ fun:dlclose
+}
+
+# lt_dlforeachfile abusing paths
+{
+ lt_dlforeachfile_addr8
+ Memcheck:Addr8
+ fun:_wordcopy_fwd_dest_aligned
+ fun:__GI_memmove
+ fun:argz_insert
+ ...
+ fun:lt_dlforeachfile
+}
+
+# cuda
+{
+ cuda_leak
+ Memcheck:Leak
+ ...
+ obj:*libcuda*
+}
+
+# nvml
+{
+ nvmlInit_cond
+ Memcheck:Cond
+ ...
+ obj:*nvidia-ml*
+ ...
+ fun:nvmlInit
+}
+
+# amd opencl
+{
+ atical_leak
+ Memcheck:Leak
+ ...
+ obj:*libatical*
+}
+{
+ atical_cond
+ Memcheck:Cond
+ ...
+ obj:*libatical*
+}
+{
+ amdocl_leak
+ Memcheck:Leak
+ ...
+ obj:*libamdocl*
+}
+{
+ amdocl_param
+ Memcheck:Param
+ write(buf)
+ fun:*write*
+ obj:*libamdocl*
+}
+{
+ opencl_leak
+ Memcheck:Leak
+ ...
+ obj:*libOpenCL*
+ ...
+ fun:clGetPlatformIDs
+}
+{
+ libatiadl_xcb_leak
+ Memcheck:Leak
+ ...
+ obj:*libxcb*
+ ...
+ fun:XOpenDisplay
+ ...
+ obj:*libatiadl*
+}
+
+# libpciaccess global state leak
+{
+ libpciaccess_device_name_leak
+ Memcheck:Leak
+ ...
+ fun:pci_device_get_device_name
+ fun:hwloc_look_pci*
+}
+{
+ libpciaccess_leak
+ Memcheck:Leak
+ ...
+ obj:*libpciaccess*
+ ...
+ fun:hwloc_look_pci*
+}
+
+# libudev global hashes
+{
+ libudev_hashmap_property
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:udev_device_get_property_value
+}
+{
+ libudev_hashmap_sysname
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:udev_device_new_from_subsystem_sysname
+}
+
--- /dev/null
+# Copyright © 2016 Inria. All rights reserved.
+# Copyright © 2016 Université Bordeaux
+# See COPYING in top-level directory.
+
+# We can't use autoconf because we don't want $sbindir to be replaced with ${exec_prefix}/sbin
+# Also don't install since , let the packagers do it.
+
+EXTRA_DIST = hwloc-dump-hwdata.service.in
+
+if HWLOC_HAVE_LINUX
+nodist_pkgdata_DATA = hwloc-dump-hwdata.service
+# depend on Makefile in case we rerun configure with different directory arguments
+hwloc-dump-hwdata.service: hwloc-dump-hwdata.service.in Makefile
+ @echo Creating $@...
+ @ $(SED) \
+ -e 's/#SBINDIR#/$(subst /,\/,$(sbindir))/g' \
+ -e 's/#RUNSTATEDIR#/$(subst /,\/,$(HWLOC_runstatedir))/g' \
+ > $@ < $<
+
+distclean-local:
+ rm -f hwloc-dump-hwdata.service
+endif
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2016 Inria. All rights reserved.
+# Copyright © 2016 Université Bordeaux
+# See COPYING in top-level directory.
+
+# We can't use autoconf because we don't want $sbindir to be replaced with ${exec_prefix}/sbin
+# Also don't install since , let the packagers do it.
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = contrib/systemd
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(pkgdatadir)"
+DATA = $(nodist_pkgdata_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__DIST_COMMON = $(srcdir)/Makefile.in
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+EXTRA_DIST = hwloc-dump-hwdata.service.in
+@HWLOC_HAVE_LINUX_TRUE@nodist_pkgdata_DATA = hwloc-dump-hwdata.service
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign contrib/systemd/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign contrib/systemd/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-nodist_pkgdataDATA: $(nodist_pkgdata_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(nodist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
+ done
+
+uninstall-nodist_pkgdataDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(nodist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(pkgdatadir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+@HWLOC_HAVE_LINUX_FALSE@distclean-local:
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-local
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-nodist_pkgdataDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-nodist_pkgdataDATA
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distclean-local distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-nodist_pkgdataDATA \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am uninstall-nodist_pkgdataDATA
+
+.PRECIOUS: Makefile
+
+# depend on Makefile in case we rerun configure with different directory arguments
+@HWLOC_HAVE_LINUX_TRUE@hwloc-dump-hwdata.service: hwloc-dump-hwdata.service.in Makefile
+@HWLOC_HAVE_LINUX_TRUE@ @echo Creating $@...
+@HWLOC_HAVE_LINUX_TRUE@ @ $(SED) \
+@HWLOC_HAVE_LINUX_TRUE@ -e 's/#SBINDIR#/$(subst /,\/,$(sbindir))/g' \
+@HWLOC_HAVE_LINUX_TRUE@ -e 's/#RUNSTATEDIR#/$(subst /,\/,$(HWLOC_runstatedir))/g' \
+@HWLOC_HAVE_LINUX_TRUE@ > $@ < $<
+
+@HWLOC_HAVE_LINUX_TRUE@distclean-local:
+@HWLOC_HAVE_LINUX_TRUE@ rm -f hwloc-dump-hwdata.service
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+#
+# Copyright © 2015-2016 Intel, Inc. All rights reserved.
+# Copyright © 2016 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+# #RUNSTATEDIR#/hwloc was specified at configure time.
+# It may be changed by passing configure options such as --runstatedir,
+# --localstatedir or --prefix.
+# It may also be manually changed before installing this file in systemd directories.
+#
+
+[Unit]
+Description=Dump hardware topology and locality information to #RUNSTATEDIR#/hwloc
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=#SBINDIR#/hwloc-dump-hwdata -o #RUNSTATEDIR#/hwloc
+
+[Install]
+WantedBy=multi-user.target
--- /dev/null
+This Visual Studio support is experimental.
+Thanks to Eloi Gaudry for contributing the first draft of files.
+
+
+No PlatformToolset is specified, so that the default target is always
+used during build.
+That means your build may not be compatible with older systems.
+Enforce a specific toolset before building if needed.
+
+
+hwloc-assembler-remote is not built because it requires a hardwired
+path to hwloc-assembler and it uses ssh.
+
+hwloc-compress-dir not built because needs work.
+
+hwloc-gather-topology is Linux specific.
+
+hwloc-ps is not built because it does nothing on Windows anyway.
+Possible code proposed by Eloi Gaudry:
+ // Get the process list snapshot
+ HANDLE hProcessSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0);
+ // Initialize the process entry structure
+ PROCESSENTRY32 ProcessEntry = { 0 } ;
+ ProcessEntry.dwSize = sizeof(ProcessEntry);
+ // Get the first process info
+ if (Process32First( hProcessSnapShot, &ProcessEntry)) {
+ do {
+ HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, ProcessEntry.th32ProcessID) ;
+ if (hProcess) {
+ std::cerr << ProcessEntry.th32ProcessID << "(" << ProcessEntry.szExeFile << ")" << std::endl ;
+ }
+ // check the PROCESSENTRY32 for other members.
+ } while (Process32Next(hProcessSnapShot, &ProcessEntry));
+ // Close the handle
+ CloseHandle( hProcessSnapShot ) ;
+ }
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB8F}</ProjectGuid>
+ <RootNamespace>hwloc-bind</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-annotate.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-annotate.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB9A}</ProjectGuid>
+ <RootNamespace>hwloc-bind</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-assembler.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\cpuid.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-assembler.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\cpuid.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB91}</ProjectGuid>
+ <RootNamespace>hwloc-bind</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-bind.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ <ClInclude Include="..\..\utils\hwloc\hwloc-calc.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-bind.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\hwloc-calc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB92}</ProjectGuid>
+ <RootNamespace>hwloc-calc</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-calc.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ <ClInclude Include="..\..\utils\hwloc\hwloc-calc.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-calc.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\hwloc-calc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB93}</ProjectGuid>
+ <RootNamespace>hwloc-bind</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-diff.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-diff.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB94}</ProjectGuid>
+ <RootNamespace>hwloc-bind</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-distances.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-distances.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB95}</ProjectGuid>
+ <RootNamespace>hwloc-bind</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-distrib.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-distrib.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB96}</ProjectGuid>
+ <RootNamespace>hwloc-info</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-info.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ <ClInclude Include="..\..\utils\hwloc\hwloc-calc.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-info.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\hwloc-calc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB97}</ProjectGuid>
+ <RootNamespace>hwloc-bind</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-patch.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\hwloc\hwloc-patch.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2012 for Windows Desktop
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libhwloc", "libhwloc.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB8D}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lstopo-no-graphics", "lstopo-no-graphics.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB8E}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-annotate", "hwloc-annotate.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB8F}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-assembler", "hwloc-assembler.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB90}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-bind", "hwloc-bind.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB91}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-calc", "hwloc-calc.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB92}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-diff", "hwloc-diff.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB93}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-distances", "hwloc-distances.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB94}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-distrib", "hwloc-distrib.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB95}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-info", "hwloc-info.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB96}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwloc-patch", "hwloc-patch.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB97}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lstopo", "lstopo.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB98}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lstopo-win", "lstopo-win.vcxproj", "{9DE76C6D-4773-4766-9F93-69C56166CB99}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D} = {9DE76C6D-4773-4766-9F93-69C56166CB8D}
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Release|x64 = Release|x64
+ ReleaseStatic|x64 = ReleaseStatic|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D}.ReleaseStatic|x64.ActiveCfg = ReleaseStatic|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8D}.ReleaseStatic|x64.Build.0 = ReleaseStatic|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8E}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8E}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8E}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8F}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8F}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB8F}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB90}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB90}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB90}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB91}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB91}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB91}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB92}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB92}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB92}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB93}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB93}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB93}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB94}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB94}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB94}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB95}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB95}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB95}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB96}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB96}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB96}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB97}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB97}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB97}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB98}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB98}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB98}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB99}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB99}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB99}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB99}.ReleaseStatic|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB9A}.Release|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB9A}.Release|x64.Build.0 = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB9A}.ReleaseStatic|x64.ActiveCfg = Release|x64
+ {9DE76C6D-4773-4766-9F93-69C56166CB9A}.ReleaseStatic|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* The configuration file */
+
+#ifndef HWLOC_CONFIG_H
+#define HWLOC_CONFIG_H
+
+#define __hwloc_restrict
+#define __hwloc_inline __inline
+
+#define __hwloc_attribute_unused
+#define __hwloc_attribute_malloc
+#define __hwloc_attribute_const
+#define __hwloc_attribute_pure
+#define __hwloc_attribute_deprecated
+#define __hwloc_attribute_may_alias
+
+/* Defined to 1 if you have the `windows.h' header. */
+#define HWLOC_HAVE_WINDOWS_H 1
+#define hwloc_pid_t HANDLE
+#define hwloc_thread_t HANDLE
+
+#include <windows.h>
+#include <BaseTsd.h>
+typedef DWORDLONG hwloc_uint64_t;
+
+#if defined( _USRDLL ) /* dynamic linkage */
+#if defined( DECLSPEC_EXPORTS )
+#define HWLOC_DECLSPEC __declspec(dllexport)
+#else
+#define HWLOC_DECLSPEC __declspec(dllimport)
+#endif
+#else /* static linkage */
+#define HWLOC_DECLSPEC
+#endif
+
+/* Whether we need to re-define all the hwloc public symbols or not */
+#define HWLOC_SYM_TRANSFORM 0
+
+/* The hwloc symbol prefix */
+#define HWLOC_SYM_PREFIX hwloc_
+
+/* The hwloc symbol prefix in all caps */
+#define HWLOC_SYM_PREFIX_CAPS HWLOC_
+
+#endif /* HWLOC_CONFIG_H */
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB8D}</ProjectGuid>
+ <RootNamespace>libhwloc</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="DebugStatic|x64">
+ <Configuration>DebugStatic</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="DebugDll|x64">
+ <Configuration>DebugDll</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="ReleaseStatic|x64">
+ <Configuration>ReleaseStatic</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugStatic|x64'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|x64'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugStatic|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugStatic|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDll|x64'">
+ <PreBuildEvent>
+ <Command>copy /V /Y private_config.h ..\..\include\private\autogen\config.h && copy /V /Y hwloc_config.h ..\..\include\hwloc\autogen\config.h && copy /V /Y static-components.h ..\..\src\static-components.h</Command>
+ </PreBuildEvent>
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugStatic|x64'">
+ <PreBuildEvent>
+ <Command>copy /V /Y private_config.h ..\..\include\private\autogen\config.h && copy /V /Y hwloc_config.h ..\..\include\hwloc\autogen\config.h && copy /V /Y static-components.h ..\..\src\static-components.h</Command>
+ </PreBuildEvent>
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <PreBuildEvent>
+ <Command>copy /V /Y private_config.h ..\..\include\private\autogen\config.h && copy /V /Y hwloc_config.h ..\..\include\hwloc\autogen\config.h && copy /V /Y static-components.h ..\..\src\static-components.h</Command>
+ </PreBuildEvent>
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\src</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <ImportLibrary>$(OutDir)$(ProjectName).lib</ImportLibrary>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).dll</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|x64'">
+ <PreBuildEvent>
+ <Command>copy /V /Y private_config.h ..\..\include\private\autogen\config.h && copy /V /Y hwloc_config.h ..\..\include\hwloc\autogen\config.h && copy /V /Y static-components.h ..\..\src\static-components.h</Command>
+ </PreBuildEvent>
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\src</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <ImportLibrary>$(OutDir)$(ProjectName).lib</ImportLibrary>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).dll</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\src\base64.c" />
+ <ClCompile Include="..\..\src\bind.c" />
+ <ClCompile Include="..\..\src\bitmap.c" />
+ <ClCompile Include="..\..\src\components.c" />
+ <ClCompile Include="..\..\src\distances.c" />
+ <ClCompile Include="..\..\src\diff.c" />
+ <ClCompile Include="..\..\src\misc.c" />
+ <ClCompile Include="..\..\src\pci-common.c" />
+ <ClCompile Include="..\..\src\topology-custom.c" />
+ <ClCompile Include="..\..\src\topology-noos.c" />
+ <ClCompile Include="..\..\src\topology-synthetic.c" />
+ <ClCompile Include="..\..\src\topology-windows.c" />
+ <ClCompile Include="..\..\src\topology-x86.c" />
+ <ClCompile Include="..\..\src\topology-xml-nolibxml.c" />
+ <ClCompile Include="..\..\src\topology-xml.c" />
+ <ClCompile Include="..\..\src\topology.c" />
+ <ClCompile Include="..\..\src\traversal.c" />
+ <ClCompile Include="..\..\src\dolib.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\diff.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\cpuid-x86.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\src\base64.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\bind.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\bitmap.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\components.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\distances.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\diff.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\misc.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\pci-common.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology-custom.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology-noos.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology-synthetic.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology-windows.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology-x86.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology-xml-nolibxml.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology-xml.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\topology.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\traversal.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\dolib.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\diff.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\cpuid-x86.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB8E}</ProjectGuid>
+ <RootNamespace>lstopo-no-graphics</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc;..\..\utils\lstopo</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\lstopo\lstopo.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-ascii.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-color.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-draw.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-fig.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-text.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-xml.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ <ClInclude Include="..\..\utils\lstopo\lstopo.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\lstopo\lstopo.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-ascii.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-color.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-draw.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-fig.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-text.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-xml.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\lstopo\lstopo.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB99}</ProjectGuid>
+ <RootNamespace>lstopo-no-graphics</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>LSTOPO_HAVE_GRAPHICS=1;PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc;..\..\utils\lstopo</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Windows</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\lstopo\lstopo.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-ascii.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-color.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-draw.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-fig.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-text.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-xml.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-windows.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ <ClInclude Include="..\..\utils\lstopo\lstopo.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\lstopo\lstopo.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-ascii.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-color.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-draw.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-fig.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-text.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-xml.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-windows.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\lstopo\lstopo.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{9DE76C6D-4773-4766-9F93-69C56166CB98}</ProjectGuid>
+ <RootNamespace>lstopo-no-graphics</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ <PlatformToolset>v110</PlatformToolset>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ <EmbedManifest>true</EmbedManifest>
+ <TargetName>$(ProjectName)-5</TargetName>
+ <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <RuntimeTypeInfo>true</RuntimeTypeInfo>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>LSTOPO_HAVE_GRAPHICS=1;PSAPI_VERSION=1;WIN32;NDEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;..\..\utils\hwloc;..\..\utils\lstopo</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <ManifestFile>$(IntDir)$(TargetFileName).intermediate.manifest</ManifestFile>
+ <EnableCOMDATFolding>false</EnableCOMDATFolding>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <GenerateMapFile>false</GenerateMapFile>
+ <IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <OptimizeReferences>true</OptimizeReferences>
+ <OutputFile>$(OutDir)$(TargetName).exe</OutputFile>
+ <ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
+ <ShowProgress>LinkVerboseLib</ShowProgress>
+ <SubSystem>Console</SubSystem>
+ <SuppressStartupBanner>true</SuppressStartupBanner>
+ <TargetMachine>MachineX64</TargetMachine>
+ <LinkErrorReporting>NoErrorReport</LinkErrorReporting>
+ <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\Release;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libhwloc.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\lstopo\lstopo.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-ascii.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-color.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-draw.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-fig.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-text.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-xml.c" />
+ <ClCompile Include="..\..\utils\lstopo\lstopo-windows.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h" />
+ <ClInclude Include="..\..\include\private\autogen\config.h" />
+ <ClInclude Include="..\..\include\hwloc.h" />
+ <ClInclude Include="..\..\include\hwloc\bitmap.h" />
+ <ClInclude Include="..\..\include\hwloc\helper.h" />
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h" />
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h" />
+ <ClInclude Include="..\..\include\hwloc\plugins.h" />
+ <ClInclude Include="..\..\include\hwloc\rename.h" />
+ <ClInclude Include="..\..\include\private\components.h" />
+ <ClInclude Include="..\..\include\private\debug.h" />
+ <ClInclude Include="..\..\include\private\misc.h" />
+ <ClInclude Include="..\..\include\private\private.h" />
+ <ClInclude Include="..\..\include\private\xml.h" />
+ <ClInclude Include="..\..\utils\hwloc\misc.h" />
+ <ClInclude Include="..\..\utils\lstopo\lstopo.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\utils\lstopo\lstopo.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-ascii.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-color.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-draw.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-fig.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-text.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-xml.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\utils\lstopo\lstopo-windows.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\include\hwloc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\bitmap.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\helper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\myriexpress.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\openfabrics-verbs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\plugins.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\rename.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\components.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\debug.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\private.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\xml.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\private\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\include\hwloc\autogen\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\hwloc\misc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\utils\lstopo\lstopo.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
--- /dev/null
+/*
+ * Copyright © 2009, 2011, 2012 CNRS. All rights reserved.
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009, 2011, 2012, 2015 Université Bordeaux. All rights reserved.
+ * Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+ * $COPYRIGHT$
+ *
+ * Additional copyrights may follow
+ *
+ * $HEADER$
+ */
+
+#ifndef HWLOC_CONFIGURE_H
+#define HWLOC_CONFIGURE_H
+
+#define DECLSPEC_EXPORTS
+
+#define HWLOC_HAVE_MSVC_CPUIDEX 1
+
+/* Define to 1 if the system has the type `CACHE_DESCRIPTOR'. */
+#define HAVE_CACHE_DESCRIPTOR 0
+
+/* Define to 1 if the system has the type `CACHE_RELATIONSHIP'. */
+#define HAVE_CACHE_RELATIONSHIP 0
+
+/* Define to 1 if you have the `clz' function. */
+/* #undef HAVE_CLZ */
+
+/* Define to 1 if you have the `clzl' function. */
+/* #undef HAVE_CLZL */
+
+/* Define to 1 if you have the <CL/cl_ext.h> header file. */
+/* #undef HAVE_CL_CL_EXT_H */
+
+/* Define to 1 if you have the `cpuset_setaffinity' function. */
+/* #undef HAVE_CPUSET_SETAFFINITY */
+
+/* Define to 1 if you have the `cpuset_setid' function. */
+/* #undef HAVE_CPUSET_SETID */
+
+/* Define to 1 if we have -lcuda */
+/* #undef HAVE_CUDA */
+
+/* Define to 1 if you have the <cuda.h> header file. */
+/* #undef HAVE_CUDA_H */
+
+/* Define to 1 if you have the <cuda_runtime_api.h> header file. */
+/* #undef HAVE_CUDA_RUNTIME_API_H */
+
+/* Define to 1 if you have the declaration of `CL_DEVICE_TOPOLOGY_AMD', and to
+ 0 if you don't. */
+/* #undef HAVE_DECL_CL_DEVICE_TOPOLOGY_AMD */
+
+/* Define to 1 if you have the declaration of `CTL_HW', and to 0 if you don't.
+ */
+/* #undef HAVE_DECL_CTL_HW */
+
+/* Define to 1 if you have the declaration of `fabsf', and to 0 if you don't.
+ */
+#define HAVE_DECL_FABSF 1
+
+/* Define to 1 if you have the declaration of `modff', and to 0 if you don't.
+ */
+#define HAVE_DECL_MODFF 1
+
+/* Define to 1 if you have the declaration of `HW_NCPU', and to 0 if you
+ don't. */
+/* #undef HAVE_DECL_HW_NCPU */
+
+/* Define to 1 if you have the declaration of
+ `nvmlDeviceGetMaxPcieLinkGeneration', and to 0 if you don't. */
+/* #undef HAVE_DECL_NVMLDEVICEGETMAXPCIELINKGENERATION */
+
+/* Define to 1 if you have the declaration of `pthread_getaffinity_np', and to
+ 0 if you don't. */
+#define HAVE_DECL_PTHREAD_GETAFFINITY_NP 0
+
+/* Define to 1 if you have the declaration of `pthread_setaffinity_np', and to
+ 0 if you don't. */
+#define HAVE_DECL_PTHREAD_SETAFFINITY_NP 0
+
+/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRTOULL 0
+
+/* Define to 1 if you have the declaration of `strcasecmp', and to 0 if you
+ don't. */
+/* #undef HWLOC_HAVE_DECL_STRCASECMP */
+
+/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
+ don't. */
+#define HAVE_DECL_SNPRINTF 0
+
+/* Define to 1 if you have the declaration of `_strdup', and to 0 if you
+ don't. */
+#define HAVE_DECL__STRDUP 1
+
+/* Define to 1 if you have the declaration of `_putenv', and to 0 if you
+ don't. */
+#define HAVE_DECL__PUTENV 1
+
+/* Define to 1 if you have the declaration of `_SC_LARGE_PAGESIZE', and to 0
+ if you don't. */
+#define HAVE_DECL__SC_LARGE_PAGESIZE 0
+
+/* Define to 1 if you have the declaration of `_SC_NPROCESSORS_CONF', and to 0
+ if you don't. */
+#define HAVE_DECL__SC_NPROCESSORS_CONF 0
+
+/* Define to 1 if you have the declaration of `_SC_NPROCESSORS_ONLN', and to 0
+ if you don't. */
+#define HAVE_DECL__SC_NPROCESSORS_ONLN 0
+
+/* Define to 1 if you have the declaration of `_SC_NPROC_CONF', and to 0 if
+ you don't. */
+#define HAVE_DECL__SC_NPROC_CONF 0
+
+/* Define to 1 if you have the declaration of `_SC_NPROC_ONLN', and to 0 if
+ you don't. */
+#define HAVE_DECL__SC_NPROC_ONLN 0
+
+/* Define to 1 if you have the declaration of `_SC_PAGESIZE', and to 0 if you
+ don't. */
+#define HAVE_DECL__SC_PAGESIZE 0
+
+/* Define to 1 if you have the declaration of `_SC_PAGE_SIZE', and to 0 if you
+ don't. */
+#define HAVE_DECL__SC_PAGE_SIZE 0
+
+/* Define to 1 if you have the <dirent.h> header file. */
+/* #define HAVE_DIRENT_H 1 */
+#undef HAVE_DIRENT_H
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+/* #undef HAVE_DLFCN_H */
+
+/* Define to 1 if you have the `ffs' function. */
+/* #undef HAVE_FFS */
+
+/* Define to 1 if you have the `ffsl' function. */
+/* #undef HAVE_FFSL */
+
+/* Define to 1 if you have the `fls' function. */
+/* #undef HAVE_FLS */
+
+/* Define to 1 if you have the `flsl' function. */
+/* #undef HAVE_FLSL */
+
+/* Define to 1 if you have the `getpagesize' function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define to 1 if the system has the type `GROUP_AFFINITY'. */
+#define HAVE_GROUP_AFFINITY 1
+
+/* Define to 1 if the system has the type `GROUP_RELATIONSHIP'. */
+#define HAVE_GROUP_RELATIONSHIP 1
+
+/* Define to 1 if you have the `host_info' function. */
+/* #undef HAVE_HOST_INFO */
+
+/* Define to 1 if you have the <infiniband/verbs.h> header file. */
+/* #undef HAVE_INFINIBAND_VERBS_H */
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if the system has the type `KAFFINITY'. */
+#define HAVE_KAFFINITY 1
+
+/* Define to 1 if you have the <kstat.h> header file. */
+/* #undef HAVE_KSTAT_H */
+
+/* Define to 1 if you have the <langinfo.h> header file. */
+/* #undef HAVE_LANGINFO_H */
+
+/* Define to 1 if we have -lgdi32 */
+#define HAVE_LIBGDI32 1
+
+/* Define to 1 if we have -libverbs */
+/* #undef HAVE_LIBIBVERBS */
+
+/* Define to 1 if we have -lkstat */
+/* #undef HAVE_LIBKSTAT */
+
+/* Define to 1 if we have -llgrp */
+/* #undef HAVE_LIBLGRP */
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define to 1 if the system has the type `LOGICAL_PROCESSOR_RELATIONSHIP'. */
+#define HAVE_LOGICAL_PROCESSOR_RELATIONSHIP 1
+
+/* Define to 1 if you have the <mach/mach_host.h> header file. */
+/* #undef HAVE_MACH_MACH_HOST_H */
+
+/* Define to 1 if you have the <mach/mach_init.h> header file. */
+/* #undef HAVE_MACH_MACH_INIT_H */
+
+/* Define to 1 if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define to 1 if you have the `memalign' function. */
+/* #undef HAVE_MEMALIGN */
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if we have -lmyriexpress */
+/* #undef HAVE_MYRIEXPRESS */
+
+/* Define to 1 if you have the <myriexpress.h> header file. */
+/* #undef HAVE_MYRIEXPRESS_H */
+
+/* Define to 1 if you have the `nl_langinfo' function. */
+/* #undef HAVE_NL_LANGINFO */
+
+/* Define to 1 if you have the <numaif.h> header file. */
+/* #undef HAVE_NUMAIF_H */
+
+/* Define to 1 if the system has the type `NUMA_NODE_RELATIONSHIP'. */
+#define HAVE_NUMA_NODE_RELATIONSHIP 1
+
+/* Define to 1 if you have the <NVCtrl/NVCtrl.h> header file. */
+/* #undef HAVE_NVCTRL_NVCTRL_H */
+
+/* Define to 1 if you have the <nvml.h> header file. */
+/* #undef HAVE_NVML_H */
+
+/* Define to 1 if you have the `openat' function. */
+/* #undef HAVE_OPENAT */
+
+/* Define to 1 if you have the <picl.h> header file. */
+/* #undef HAVE_PICL_H */
+
+/* Define to 1 if you have the `posix_memalign' function. */
+/* #undef HAVE_POSIX_MEMALIGN */
+
+/* Define to 1 if the system has the type `PROCESSOR_CACHE_TYPE'. */
+#define HAVE_PROCESSOR_CACHE_TYPE 1
+
+/* Define to 1 if the system has the type `PROCESSOR_GROUP_INFO'. */
+#define HAVE_PROCESSOR_GROUP_INFO 1
+
+/* Define to 1 if the system has the type `PROCESSOR_RELATIONSHIP'. */
+#define HAVE_PROCESSOR_RELATIONSHIP 1
+
+/* Define to 1 if the system has the type `PSAPI_WORKING_SET_EX_BLOCK'. */
+/* #undef HAVE_PSAPI_WORKING_SET_EX_BLOCK */
+
+/* Define to 1 if the system has the type `PSAPI_WORKING_SET_EX_INFORMATION'.
+ */
+/* #undef HAVE_PSAPI_WORKING_SET_EX_INFORMATION */
+
+/* Define to 1 if the system has the type `PROCESSOR_NUMBER'. */
+#define HAVE_PROCESSOR_NUMBER 1
+
+/* Define to 1 if you have the <pthread_np.h> header file. */
+/* #undef HAVE_PTHREAD_NP_H */
+
+/* Define to 1 if the system has the type `pthread_t'. */
+/* #undef HAVE_PTHREAD_T */
+#undef HAVE_PTHREAD_T
+
+/* Define to 1 if you have the `putwc' function. */
+#define HAVE_PUTWC 1
+
+/* Define to 1 if the system has the type `RelationProcessorPackage'. */
+/* #undef HAVE_RELATIONPROCESSORPACKAGE */
+
+/* Define to 1 if you have the `setlocale' function. */
+#define HAVE_SETLOCALE 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the `strftime' function. */
+#define HAVE_STRFTIME 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+/* #define HAVE_STRINGS_H 1*/
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strncasecmp' function. */
+#define HAVE_STRNCASECMP 1
+
+/* Define to '1' if sysctl is present and usable */
+/* #undef HAVE_SYSCTL */
+
+/* Define to '1' if sysctlbyname is present and usable */
+/* #undef HAVE_SYSCTLBYNAME */
+
+/* Define to 1 if the system has the type
+ `SYSTEM_LOGICAL_PROCESSOR_INFORMATION'. */
+#define HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION 1
+
+/* Define to 1 if the system has the type
+ `SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX'. */
+#define HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX 1
+
+/* Define to 1 if you have the <sys/cpuset.h> header file. */
+/* #undef HAVE_SYS_CPUSET_H */
+
+/* Define to 1 if you have the <sys/lgrp_user.h> header file. */
+/* #undef HAVE_SYS_LGRP_USER_H */
+
+/* Define to 1 if you have the <sys/mman.h> header file. */
+/* #undef HAVE_SYS_MMAN_H */
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+/* #define HAVE_SYS_PARAM_H 1 */
+#undef HAVE_SYS_PARAM_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+/* #undef HAVE_SYS_SYSCTL_H */
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <sys/utsname.h> header file. */
+/* #undef HAVE_SYS_UTSNAME_H */
+
+/* Define to 1 if you have the `uname' function. */
+/* #undef HAVE_UNAME */
+
+/* Define to 1 if you have the <unistd.h> header file. */
+/* #define HAVE_UNISTD_H 1 */
+#undef HAVE_UNISTD_H
+
+/* Define to 1 if you have the `uselocale' function. */
+/* #undef HAVE_USELOCALE */
+
+/* Define to 1 if the system has the type `wchar_t'. */
+#define HAVE_WCHAR_T 1
+
+/* Define to 1 if you have the <X11/keysym.h> header file. */
+/* #undef HAVE_X11_KEYSYM_H */
+
+/* Define to 1 if you have the <X11/Xlib.h> header file. */
+/* #undef HAVE_X11_XLIB_H */
+
+/* Define to 1 if you have the <X11/Xutil.h> header file. */
+/* #undef HAVE_X11_XUTIL_H */
+
+/* Define to 1 if you have the <xlocale.h> header file. */
+/* #undef HAVE_XLOCALE_H */
+
+/* Define to 1 on AIX */
+/* #undef HWLOC_AIX_SYS */
+
+/* Define to 1 on BlueGene/Q */
+/* #undef HWLOC_BGQ_SYS */
+
+/* Whether C compiler supports symbol visibility or not */
+#define HWLOC_C_HAVE_VISIBILITY 0
+
+/* Define to 1 on Darwin */
+/* #undef HWLOC_DARWIN_SYS */
+
+/* Whether we are in debugging mode or not */
+/* #undef HWLOC_DEBUG */
+
+/* Define to 1 on *FREEBSD */
+/* #undef HWLOC_FREEBSD_SYS */
+
+/* Whether your compiler has __attribute__ or not */
+/* #define HWLOC_HAVE_ATTRIBUTE 1 */
+#undef HWLOC_HAVE_ATTRIBUTE
+
+/* Whether your compiler has __attribute__ aligned or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_ALIGNED 1 */
+
+/* Whether your compiler has __attribute__ always_inline or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_ALWAYS_INLINE 1 */
+
+/* Whether your compiler has __attribute__ cold or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_COLD 1 */
+
+/* Whether your compiler has __attribute__ const or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_CONST 1 */
+
+/* Whether your compiler has __attribute__ deprecated or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_DEPRECATED 1 */
+
+/* Whether your compiler has __attribute__ format or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_FORMAT 1 */
+
+/* Whether your compiler has __attribute__ hot or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_HOT 1 */
+
+/* Whether your compiler has __attribute__ malloc or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_MALLOC 1 */
+
+/* Whether your compiler has __attribute__ may_alias or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS 1 */
+
+/* Whether your compiler has __attribute__ nonnull or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_NONNULL 1 */
+
+/* Whether your compiler has __attribute__ noreturn or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_NORETURN 1 */
+
+/* Whether your compiler has __attribute__ no_instrument_function or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_NO_INSTRUMENT_FUNCTION 1 */
+
+/* Whether your compiler has __attribute__ packed or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_PACKED 1 */
+
+/* Whether your compiler has __attribute__ pure or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_PURE 1 */
+
+/* Whether your compiler has __attribute__ sentinel or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_SENTINEL 1 */
+
+/* Whether your compiler has __attribute__ unused or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_UNUSED 1 */
+
+/* Whether your compiler has __attribute__ warn unused result or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_WARN_UNUSED_RESULT 1 */
+
+/* Whether your compiler has __attribute__ weak alias or not */
+/* #define HWLOC_HAVE_ATTRIBUTE_WEAK_ALIAS 1 */
+
+/* Define to 1 if your `ffs' function is known to be broken. */
+/* #undef HWLOC_HAVE_BROKEN_FFS */
+
+/* Define to 1 if you have the `cairo' library. */
+/* #undef HWLOC_HAVE_CAIRO */
+
+/* Define to 1 if you have the `clz' function. */
+/* #undef HWLOC_HAVE_CLZ */
+
+/* Define to 1 if you have the `clzl' function. */
+/* #undef HWLOC_HAVE_CLZL */
+
+/* Define to 1 if you have cpuid */
+/* #undef HWLOC_HAVE_CPUID */
+
+/* Define to 1 if the CPU_SET macro works */
+/* #undef HWLOC_HAVE_CPU_SET */
+
+/* Define to 1 if the CPU_SET_S macro works */
+/* #undef HWLOC_HAVE_CPU_SET_S */
+
+/* Define to 1 if you have the `cudart' SDK. */
+/* #undef HWLOC_HAVE_CUDART */
+
+/* Define to 1 if function `clz' is declared by system headers */
+/* #undef HWLOC_HAVE_DECL_CLZ */
+
+/* Define to 1 if function `clzl' is declared by system headers */
+/* #undef HWLOC_HAVE_DECL_CLZL */
+
+/* Define to 1 if function `ffs' is declared by system headers */
+/* #undef HWLOC_HAVE_DECL_FFS */
+
+/* Define to 1 if function `ffsl' is declared by system headers */
+/* #undef HWLOC_HAVE_DECL_FFSL */
+
+/* Define to 1 if function `fls' is declared by system headers */
+/* #undef HWLOC_HAVE_DECL_FLS */
+
+/* Define to 1 if function `flsl' is declared by system headers */
+/* #undef HWLOC_HAVE_DECL_FLSL */
+
+/* Define to 1 if you have the `ffs' function. */
+/* #undef HWLOC_HAVE_FFS */
+
+/* Define to 1 if you have the `ffsl' function. */
+/* #undef HWLOC_HAVE_FFSL */
+
+/* Define to 1 if you have the `fls' function. */
+/* #undef HWLOC_HAVE_FLS */
+
+/* Define to 1 if you have the `flsl' function. */
+/* #undef HWLOC_HAVE_FLSL */
+
+/* Define to 1 if you have the GL module components. */
+/* #undef HWLOC_HAVE_GL */
+
+/* Define to 1 if you have a library providing the termcap interface */
+/* #undef HWLOC_HAVE_LIBTERMCAP */
+
+/* Define to 1 if you have the `libxml2' library. */
+/* #undef HWLOC_HAVE_LIBXML2 */
+
+/* Define to 1 if building the Linux PCI component */
+/* #undef HWLOC_HAVE_LINUXPCI */
+
+/* Define to 1 if mbind is available. */
+/* #undef HWLOC_HAVE_MBIND */
+
+/* Define to 1 if migrate_pages is available. */
+/* #undef HWLOC_HAVE_MIGRATE_PAGES */
+
+/* Define to 1 if you have the `NVML' library. */
+/* #undef HWLOC_HAVE_NVML */
+
+/* Define to 1 if glibc provides the old prototype (without length) of
+ sched_setaffinity() */
+/* #undef HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+
+/* Define to 1 if you have the `OpenCL' library. */
+/* #undef HWLOC_HAVE_OPENCL */
+
+/* Define to 1 if the hwloc library should support dynamically-loaded plugins
+ */
+/* #undef HWLOC_HAVE_PLUGINS */
+
+/* `Define to 1 if you have pthread_getthrds_np' */
+/* #undef HWLOC_HAVE_PTHREAD_GETTHRDS_NP */
+
+/* Define to 1 if pthread mutexes are available */
+/* #undef HWLOC_HAVE_PTHREAD_MUTEX */
+
+/* Define to 1 if glibc provides a prototype of sched_setaffinity() */
+#define HWLOC_HAVE_SCHED_SETAFFINITY 1
+
+/* Define to 1 if set_mempolicy is available. */
+/* #undef HWLOC_HAVE_SET_MEMPOLICY */
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HWLOC_HAVE_STDINT_H 1
+
+/* Define to 1 if you have the `windows.h' header. */
+#define HWLOC_HAVE_WINDOWS_H 1
+
+/* Define to 1 if X11 headers including Xutil.h and keysym.h are available. */
+/* #undef HWLOC_HAVE_X11_KEYSYM */
+
+/* Define to 1 if function `syscall' is available */
+/* #undef HWLOC_HAVE_SYSCALL */
+
+/* Define to 1 on HP-UX */
+/* #undef HWLOC_HPUX_SYS */
+
+/* Define to 1 on Irix */
+/* #undef HWLOC_IRIX_SYS */
+
+/* Define to 1 on Linux */
+/* #undef HWLOC_LINUX_SYS */
+
+/* Define to 1 on *NETBSD */
+/* #undef HWLOC_NETBSD_SYS */
+
+/* Define to 1 on OSF */
+/* #undef HWLOC_OSF_SYS */
+
+/* The size of `unsigned int', as computed by sizeof */
+#define HWLOC_SIZEOF_UNSIGNED_INT 4
+
+/* The size of `unsigned long', as computed by sizeof */
+#define HWLOC_SIZEOF_UNSIGNED_LONG 4
+
+/* Define to 1 on Solaris */
+/* #undef HWLOC_SOLARIS_SYS */
+
+/* The hwloc symbol prefix */
+#define HWLOC_SYM_PREFIX hwloc_
+
+/* The hwloc symbol prefix in all caps */
+#define HWLOC_SYM_PREFIX_CAPS HWLOC_
+
+/* Whether we need to re-define all the hwloc public symbols or not */
+#define HWLOC_SYM_TRANSFORM 0
+
+/* Define to 1 on unsupported systems */
+/* #undef HWLOC_UNSUPPORTED_SYS */
+
+/* Define to 1 if ncurses works, preferred over curses */
+/* #undef HWLOC_USE_NCURSES */
+
+/* Define to 1 on WINDOWS */
+#define HWLOC_WIN_SYS 1
+
+/* Define to 1 on x86_32 */
+/* #undef HWLOC_X86_32_ARCH */
+
+/* Define to 1 on x86_64 */
+#define HWLOC_X86_64_ARCH 1
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "hwloc"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "http://www.open-mpi.org/projects/hwloc/"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "hwloc"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "hwloc"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "hwloc"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION HWLOC_VERSION
+
+/* The size of `unsigned int', as computed by sizeof. */
+#define SIZEOF_UNSIGNED_INT 4
+
+/* The size of `unsigned long', as computed by sizeof. */
+#define SIZEOF_UNSIGNED_LONG 4
+
+/* The size of `void *', as computed by sizeof. */
+#define SIZEOF_VOID_P 8
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Enable extensions on HP-UX. */
+#ifndef _HPUX_SOURCE
+# define _HPUX_SOURCE 1
+#endif
+
+
+/* Enable extensions on AIX 3, Interix. */
+/*
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
+*/
+
+/* Enable GNU extensions on systems that have them. */
+/*
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+*/
+/* Enable threading extensions on Solaris. */
+/*
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+*/
+/* Enable extensions on HP NonStop. */
+/*
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+*/
+/* Enable general extensions on Solaris. */
+/*
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
+#endif
+*/
+
+
+/* Version number of package */
+#define HWLOC_VERSION "1.11.13"
+#define VERSION HWLOC_VERSION
+
+/* Define to 1 if the X Window System is missing or not being used. */
+#define X_DISPLAY_MISSING 1
+
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+ this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define this to the process ID type */
+#define hwloc_pid_t HANDLE
+
+/* Define this to either strncasecmp or strncmp */
+#define hwloc_strncasecmp strncasecmp
+
+/* Define this to the thread ID type */
+#define hwloc_thread_t HANDLE
+
+
+#endif /* HWLOC_CONFIGURE_H */
--- /dev/null
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_noos_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_xml_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_synthetic_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_custom_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_xml_nolibxml_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_windows_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_x86_component;
+static const struct hwloc_component * hwloc_static_components[] = {
+ &hwloc_noos_component,
+ &hwloc_xml_component,
+ &hwloc_synthetic_component,
+ &hwloc_custom_component,
+ &hwloc_xml_nolibxml_component,
+ &hwloc_windows_component,
+ &hwloc_x86_component,
+ NULL
+};
--- /dev/null
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009-2013 Université Bordeaux
+# Copyright © 2009-2016 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+
+DOCDIR = $(HWLOC_top_builddir)/doc
+DOX_CONFIG = $(HWLOC_top_srcdir)/doc/doxygen.cfg
+
+DOX_DIR = doxygen-doc
+DOX_HTML_DIR = $(DOX_DIR)/html
+DOX_MAN_DIR = $(DOX_DIR)/man
+DOX_LATEX_DIR = $(DOX_DIR)/latex
+DOX_A4PDF = doxygen-doc/$(PACKAGE)-a4.pdf
+DOX_LETTERPDF = doxygen-doc/$(PACKAGE)-letter.pdf
+DOX_HTML_README = $(DOX_HTML_DIR)/readme.tmp.html
+DOX_TAG = $(DOX_DIR)/$(PACKAGE).tag
+
+#
+# The goal is that Doxygen output (i.e., the documentation) is
+# included in release tarballs; there is no need to build anything
+# from tarballs. Developers will need to build the docs the first
+# time they build after a checkout (or if something in the docs
+# changes, etc.).
+#
+
+# images already available in repository
+PREBUILT_IMAGES = images/dudley.png images/emmett.png images/hagrid.png \
+ images/ppc64-with-smt.png images/ppc64-without-smt.png images/ppc64-full-with-smt.png \
+ images/devel09-pci.png
+# images built from repository before inclusion in make dist
+BUILT_IMAGES = images/diagram.png images/diagram.eps
+
+EXTRA_DIST = \
+ hwloc.doxy \
+ README.sed \
+ doxygen.css \
+ doxygen.cfg \
+ images/diagram.fig \
+ www.open-mpi.org.cfg \
+ www.open-mpi.org-css.inc \
+ www.open-mpi.org-footer.inc \
+ www.open-mpi.org-header.inc \
+ $(PREBUILT_IMAGES) \
+ $(BUILT_IMAGES)
+
+
+
+if HWLOC_BUILD_DOXYGEN
+
+#
+# Files where the doxygen inputs live (i.e., dependencies). Make the
+# generated tagfile depend on these files, which will force them to be
+# regenerated (i.e., re-run doxygen) whenever any of these files
+# change.
+#
+
+dox_inputs = $(DOX_CONFIG) \
+ $(srcdir)/hwloc.doxy \
+ $(HWLOC_top_srcdir)/include/hwloc.h \
+ $(HWLOC_top_srcdir)/include/hwloc/helper.h \
+ $(HWLOC_top_srcdir)/include/hwloc/bitmap.h \
+ $(HWLOC_top_srcdir)/include/hwloc/diff.h \
+ $(HWLOC_top_srcdir)/include/hwloc/plugins.h \
+ $(HWLOC_top_srcdir)/include/hwloc/glibc-sched.h \
+ $(HWLOC_top_srcdir)/include/hwloc/linux.h \
+ $(HWLOC_top_srcdir)/include/hwloc/linux-libnuma.h \
+ $(HWLOC_top_srcdir)/include/hwloc/opencl.h \
+ $(HWLOC_top_srcdir)/include/hwloc/cuda.h \
+ $(HWLOC_top_srcdir)/include/hwloc/cudart.h \
+ $(HWLOC_top_srcdir)/include/hwloc/nvml.h \
+ $(HWLOC_top_srcdir)/include/hwloc/gl.h \
+ $(HWLOC_top_srcdir)/include/hwloc/intel-mic.h \
+ $(HWLOC_top_srcdir)/include/hwloc/openfabrics-verbs.h \
+ $(HWLOC_top_srcdir)/include/hwloc/myriexpress.h
+
+#
+# Create the images that we need for the PDF output and the HTML
+# output. There is not an easy way to check if the output of
+# AC_PATH_PROG found something in configure.ac (!), so we have to put
+# a run-time check here to see if fig2dev was found. :-(
+#
+# Note that BUILD_DOXYGEN will automatically be false if we're not
+# building standalone.
+#
+
+BUILT_SOURCES = $(BUILT_IMAGES)
+
+images/diagram.png: $(srcdir)/images/diagram.fig
+ $(MKDIR_P) images
+ @if test "x$(FIG2DEV)" = "x"; then \
+ echo "ERROR: Cannot find the 'fig2dev' executable -- cannot make $@"; \
+ exit 1; \
+ fi
+ $(FIG2DEV) -m 1.5 -L png $< $@
+
+images/diagram.eps: $(srcdir)/images/diagram.fig
+ $(MKDIR_P) images
+ @if test "x$(FIG2DEV)" = "x"; then \
+ echo "ERROR: Cannot find the 'fig2dev' executable -- cannot make $@"; \
+ exit 1; \
+ fi
+ $(FIG2DEV) -L eps $< $@
+
+#
+# Rules for running doxygen. It depends on the built images and the
+# dox_inputs.
+# Remove useless manpages, they have too long filenames anyway because
+# of nested structurre/union declarations.
+#
+
+#
+# Note that we want to use our own doxygen.css file; not the one that
+# doxygen installs in the HTML directory. So manually copy it over.
+# Be a little clever: only copy the doxygen.css file over if it exists
+# in DOX_HTML_DIR (which is in the build tree). If the html tree
+# doesn't exist in the build tree, then we're using an html tree in
+# the source tree, and we don't need to copy over the doxygen.css
+# because we didn't build the html tree (e.g., the html tree came
+# pre-bundled in a tarball).
+#
+
+$(DOX_TAG): $(BUILT_SOURCES) $(dox_inputs) $(PREBUILT_IMAGES)
+ rm -fr $(DOX_DIR)
+ $(DOXYGEN) $(DOX_CONFIG)
+ sed -i -e 's@\\hyperlink{a[[:digit:]][[:digit:]]*_source}{@\\textbf{@g' $(DOX_DIR)/latex/*.tex
+ @echo "Work-around spurious leading _ in doxygen filenames..."
+ -(cd $(DOX_DIR)/man/man3 ; \
+ for i in _hwloc* ; do \
+ [ ! -f $$i ] || mv $$i $${i#_} ; \
+ done)
+ @echo "Removing useless manpages..."
+ @mkdir $(DOX_DIR)/man.tmp
+ @mv $(DOX_MAN_DIR)/man3/hwloc* $(DOX_MAN_DIR)/man3/HWLOC* $(DOX_DIR)/man.tmp/
+ @rm -rf $(DOX_MAN_DIR)/man3
+ @mv $(DOX_DIR)/man.tmp $(DOX_MAN_DIR)/man3
+ @echo "Copying custom doxygen.css..."
+ if test -d $(DOX_HTML_DIR) -a -f $(DOX_HTML_DIR)/doxygen.css; then \
+ cp -f $(srcdir)/doxygen.css $(DOX_HTML_DIR); \
+ fi
+
+#
+# Rules for building the PDF
+#
+
+# The Doxygen config is set to generate a4 latex -- no transformation
+# is necessary.
+$(DOX_A4PDF): $(DOX_TAG)
+ cd $(DOX_LATEX_DIR); \
+ rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
+ cp refman.tex a4-refman.tex; \
+ $(PDFLATEX) a4-refman.tex; \
+ $(MAKEINDEX) a4-refman.idx; \
+ $(PDFLATEX) a4-refman.tex; \
+ done=0; repeat=5; \
+ while test $$done = 0 -a $$repeat -gt 0; do \
+ if $(EGREP) 'Rerun (LaTeX|to get cross-references right)' a4-refman.log > /dev/null 2>&1; then \
+ $(PDFLATEX) a4-refman.tex; \
+ repeat=`expr $$repeat - 1`; \
+ else \
+ done=1; \
+ fi; \
+ done; \
+ mv a4-refman.pdf $(DOCDIR)/$(DOX_A4PDF)
+
+# The Doxygen config is set to generate a4 latex -- slightly transform
+# to make suitable for US letter.
+$(DOX_LETTERPDF): $(DOX_TAG)
+ cd $(DOX_LATEX_DIR); \
+ rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
+ $(SED) -e 's/a4paper/letterpaper/g' -e 's/\\usepackage{a4wide}//' refman.tex > letter-refman.tex; \
+ $(PDFLATEX) letter-refman.tex; \
+ $(MAKEINDEX) letter-refman.idx; \
+ $(PDFLATEX) letter-refman.tex; \
+ done=0; repeat=5; \
+ while test $$done = 0 -a $$repeat -gt 0; do \
+ if $(EGREP) 'Rerun (LaTeX|to get cross-references right)' letter-refman.log > /dev/null 2>&1; then \
+ $(PDFLATEX) letter-refman.tex; \
+ repeat=`expr $$repeat - 1`; \
+ else \
+ done=1; \
+ fi; \
+ done; \
+ mv letter-refman.pdf $(DOCDIR)/$(DOX_LETTERPDF)
+
+doc: $(DOX_TAG) $(DOX_LETTERPDF) $(DOX_A4PDF)
+
+else !HWLOC_BUILD_DOXYGEN
+
+# When we don't have doxygen, nothing to do for a normal build
+doc:
+
+if !HWLOC_INSTALL_DOXYGEN
+# But if the user tries to "make dist" and doesn't have all the right
+# tools, and prebuilt doc aren't available, fail with a helpful error
+$(BUILT_IMAGES) $(DOX_A4PDF) $(DOX_LETTERPDF):
+ @echo " "
+ @echo "*** ERROR: You do not have all the documentation generation tools"
+ @echo "*** that hwloc needs. Check the output from when you ran 'configure'"
+ @echo "*** (in section \"Configuring hwloc documentation\") to see what tools"
+ @echo "*** you are missing."
+ @echo "***"
+ @echo "*** 'make' will now abort with an error."
+ @echo " "
+ @exit 1
+endif !HWLOC_INSTALL_DOXYGEN
+
+endif !HWLOC_BUILD_DOXYGEN
+# there are also a bunch of doxygen-build-dependencies later in this file
+
+
+
+if HWLOC_INSTALL_DOXYGEN
+
+#
+# Un/install the generated PDF and man pages (just like BUILD_DOXYGEN,
+# INSTALL_DOXYGEN will automatically be false if we're not building in
+# standalone mode).
+#
+
+pdf_DATA = $(DOX_A4PDF) $(DOX_LETTERPDF)
+
+#
+# Install the HWLOC_* and hwloc_* man pages. It would be great to
+# figure out how to not have to list every installable man page here
+# in the Makefile.am... :-(
+#
+
+# We have so many man pages that if we put them all in man3_MANS, we
+# exceed the maximum command line length on some systems (during "make
+# install"). :-( So we have to split them up so that the total
+# command line length will be shorter. It seemed logical to split
+# them by small-ish groups. Put at least one group in man3_MANS so
+# that the proper $mandir/man/man3 is created, and then put the rest
+# in _DATA suffix names, because AM won't allow us to do things like
+# man3_extra_MANS = ...group...
+
+# When adding a new _DATA line below, remember to add it to the
+# list of dependencies too.
+
+man3_MANS = \
+ $(DOX_MAN_DIR)/man3/hwlocality_api_version.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_API_VERSION.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_api_version.3
+
+man3_object_setsdir = $(man3dir)
+man3_object_sets_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_object_sets.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_const_bitmap_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_const_cpuset_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nodeset_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_const_nodeset_t.3
+
+man3_object_typesdir = $(man3dir)
+man3_object_types_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_object_types.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_BRIDGE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CORE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_GROUP.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_MACHINE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_MISC.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_NUMANODE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OS_DEVICE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_PU.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_PCI_DEVICE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_PACKAGE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_SYSTEM.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_type_t.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE_UNIFIED.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE_DATA.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE_INSTRUCTION.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_cache_type_e.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_cache_type_t.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_BRIDGE_HOST.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_BRIDGE_PCI.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_bridge_type_e.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_bridge_type_t.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_BLOCK.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_DMA.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_GPU.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_NETWORK.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_OPENFABRICS.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_COPROC.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_osdev_type_e.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_osdev_type_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_compare_types.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_compare_types_e.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_UNORDERED.3
+
+man3_objectsdir = $(man3dir)
+man3_objects_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_objects.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_memory_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_memory_s_hwloc_obj_memory_page_type_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_bridge_attr_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_cache_attr_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_group_attr_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_osdev_attr_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_pcidev_attr_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_distances_s.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_info_s.3
+
+man3_creationdir = $(man3dir)
+man3_creation_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_creation.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_init.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_load.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_destroy.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_dup.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_check.3
+
+man3_configurationdir = $(man3dir)
+man3_configuration_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_configuration.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_ignore_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_ignore_type_keep_structure.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_ignore_all_keep_structure.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_IO_BRIDGES.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_IO_DEVICES.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_WHOLE_IO.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_ICACHES.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_flags_e.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_flags.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_flags.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_pid.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_fsroot.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_synthetic.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_xml.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_xmlbuffer.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_custom.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_distance_matrix.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_is_thissystem.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_discovery_support.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_cpubind_support.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_membind_support.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_support.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_userdata.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_userdata.3
+
+man3_levelsdir = $(man3dir)
+man3_levels_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_levels.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_type_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_type_depth_e.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_MULTIPLE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_UNKNOWN.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_BRIDGE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_PCI_DEVICE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_OS_DEVICE.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_type_or_above_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_type_or_below_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_depth_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_root_obj.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_by_type.3
+
+man3_object_stringsdir = $(man3dir)
+man3_object_strings_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_object_strings.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_type_string.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_type_snprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_snprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_cpuset_snprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_type_sscanf.3
+
+man3_object_info_attrsdir = $(man3dir)
+man3_object_info_attrs_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_info_attr.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_get_info_by_name.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_add_info.3
+
+man3_cpubindingdir = $(man3dir)
+man3_cpubinding_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_cpubinding.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_NOMEMBIND.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_PROCESS.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_STRICT.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_THREAD.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpubind_flags_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_proc_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_proc_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_thread_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_thread_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_proc_last_cpu_location.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_last_cpu_location.3
+
+man3_membindingdir = $(man3dir)
+man3_membinding_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_membinding.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_BIND.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_DEFAULT.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_FIRSTTOUCH.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_INTERLEAVE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_MIGRATE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_MIXED.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_NEXTTOUCH.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_NOCPUBIND.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_BYNODESET.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_PROCESS.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_REPLICATE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_STRICT.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_THREAD.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_membind_flags_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_membind_policy_t.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_membind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_membind_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_membind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_membind_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_proc_membind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_proc_membind_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_proc_membind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_proc_membind_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_area_membind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_set_area_membind_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_area_membind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_area_membind_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_area_memlocation.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_alloc.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind_policy.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind_policy_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_free.3
+
+man3_tinkerdir = $(man3dir)
+man3_tinker_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_tinker.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_insert_misc_object_by_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_insert_misc_object_by_parent.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_RESTRICT_FLAG_ADAPT_IO.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_RESTRICT_FLAG_ADAPT_MISC.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_restrict_flags_e.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_restrict.3
+
+man3_customdir = $(man3dir)
+man3_custom_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_custom.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_custom_insert_topology.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_custom_insert_group_object_by_parent.3
+
+man3_xmlexportdir = $(man3dir)
+man3_xmlexport_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_xmlexport.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_export_xml.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_export_xmlbuffer.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_free_xmlbuffer.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_userdata_export_callback.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_export_obj_userdata.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_export_obj_userdata_base64.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_set_userdata_import_callback.3
+
+man3_syntheticexportdir = $(man3dir)
+man3_syntheticexport_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_syntheticexport.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_export_synthetic.3
+
+man3_bitmapdir = $(man3dir)
+man3_bitmap_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_bitmap.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_allbut.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_alloc.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_alloc_full.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_and.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_andnot.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_asprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_clr.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_clr_range.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_compare.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_compare_first.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_copy.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_dup.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_fill.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_first.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_foreach_begin.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_foreach_end.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_free.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_from_ith_ulong.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_from_ulong.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_intersects.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isequal.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isfull.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isincluded.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_iszero.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_last.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_list_asprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_list_snprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_list_sscanf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_next.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_not.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_only.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_or.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_set.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_set_ith_ulong.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_set_range.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_singlify.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_snprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_sscanf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_taskset_asprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_taskset_snprintf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_taskset_sscanf.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_to_ith_ulong.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_to_ulong.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_weight.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_xor.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bitmap_zero.3
+
+man3_helper_find_insidedir = $(man3dir)
+man3_helper_find_inside_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_inside.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_first_largest_obj_inside_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_largest_objs_inside_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_inside_cpuset_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_inside_cpuset_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_inside_cpuset_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_inside_cpuset_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_inside_cpuset_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_inside_cpuset_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_index_inside_cpuset.3
+
+man3_helper_find_coveringdir = $(man3dir)
+man3_helper_find_covering_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_covering.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_child_covering_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_covering_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_covering_cpuset_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_covering_cpuset_by_type.3
+
+man3_helper_ancestorsdir = $(man3dir)
+man3_helper_ancestors_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_ancestors.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_ancestor_obj_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_ancestor_obj_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_common_ancestor_obj.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_obj_is_in_subtree.3
+
+man3_helper_find_cachedir = $(man3dir)
+man3_helper_find_cache_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_cache.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_cache_type_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_cache_covering_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_shared_cache_covering_obj.3
+
+man3_helper_find_miscdir = $(man3dir)
+man3_helper_find_misc_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_misc.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_pu_obj_by_os_index.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_child.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_closest_objs.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_below_array_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_obj_below_by_type.3
+
+man3_helper_distributedir = $(man3dir)
+man3_helper_distribute_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_distribute.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_distrib_flags_e.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_DISTRIB_FLAG_REVERSE.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_distrib.3
+
+man3_helper_topology_setsdir = $(man3dir)
+man3_helper_topology_sets_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_topology_sets.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_allowed_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_complete_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_online_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_topology_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_allowed_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_complete_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_get_topology_nodeset.3
+
+man3_helper_nodeset_convertdir = $(man3dir)
+man3_helper_nodeset_convert_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_helper_nodeset_convert.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_nodeset_strict.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_nodeset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_nodeset_strict.3
+
+man3_helper_distancesdir = $(man3dir)
+man3_helper_distances_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_distances.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_whole_distance_matrix_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_whole_distance_matrix_by_type.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_distance_matrix_covering_obj_by_depth.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_latency.3
+
+man3_helper_advanced_iodir = $(man3dir)
+man3_helper_advanced_io_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_advanced_io.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_non_io_ancestor_obj.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_pcidev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_pcidev_by_busid.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_pcidev_by_busidstring.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_osdev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_next_bridge.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_bridge_covers_pcibus.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_get_hostbridge_by_pcibus.3
+
+man3_diffdir = $(man3dir)
+man3_diff_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_diff.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_obj_attr_type_e.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_obj_attr_u.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_type_e.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_u.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_build.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_apply_flags_e.3 \
+ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_apply.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_destroy.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_load_xml.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_export_xml.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_load_xmlbuffer.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_export_xmlbuffer.3
+
+man3_cudadir = $(man3dir)
+man3_cuda_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_opencl.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_opencl_get_device_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_opencl_get_device_osdev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_opencl_get_device_osdev_by_index.3 \
+ $(DOX_MAN_DIR)/man3/hwlocality_cuda.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_pci_ids.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_pcidev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_osdev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_osdev_by_index.3 \
+ $(DOX_MAN_DIR)/man3/hwlocality_cudart.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_pci_ids.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_pcidev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_osdev_by_index.3 \
+ $(DOX_MAN_DIR)/man3/hwlocality_nvml.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nvml_get_device_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nvml_get_device_osdev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nvml_get_device_osdev_by_index.3 \
+ $(DOX_MAN_DIR)/man3/hwlocality_gl.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_gl_get_display_osdev_by_port_device.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_gl_get_display_osdev_by_name.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_gl_get_display_by_osdev.3 \
+ $(DOX_MAN_DIR)/man3/hwlocality_intel_mic.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_intel_mic_get_device_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_intel_mic_get_device_osdev_by_index.3
+
+man3_glibc_scheddir = $(man3dir)
+man3_glibc_sched_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_glibc_sched.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_glibc_sched_affinity.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_glibc_sched_affinity.3
+
+man3_linuxdir = $(man3dir)
+man3_linux_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_linux.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_linux_parse_cpumap_file.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_linux_set_tid_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_linux_get_tid_cpubind.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_linux_get_tid_last_cpu_location.3
+
+man3_linux_libnumadir = $(man3dir)
+man3_linux_libnuma_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_linux_libnuma_bitmask.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_linux_libnuma_bitmask.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nodeset_from_linux_libnuma_bitmask.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_linux_libnuma_bitmask.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nodeset_to_linux_libnuma_bitmask.3 \
+ $(DOX_MAN_DIR)/man3/hwlocality_linux_libnuma_ulongs.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_linux_libnuma_ulongs.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nodeset_from_linux_libnuma_ulongs.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_linux_libnuma_ulongs.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_nodeset_to_linux_libnuma_ulongs.3
+
+man3_myriexpressdir = $(man3dir)
+man3_myriexpress_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_myriexpress.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_mx_board_get_device_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_mx_endpoint_get_device_cpuset.3
+
+man3_openfabricsdir = $(man3dir)
+man3_openfabrics_DATA = \
+ $(DOX_MAN_DIR)/man3/hwlocality_openfabrics.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_ibv_get_device_cpuset.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_ibv_get_device_osdev.3 \
+ $(DOX_MAN_DIR)/man3/hwloc_ibv_get_device_osdev_by_name.3
+
+# end of manpages(3) if HWLOC_BUILD_DOXYGEN
+
+endif HWLOC_INSTALL_DOXYGEN
+
+
+
+if HWLOC_BUILD_DOXYGEN
+
+# Put in these rules to force the generation of the man pages and get
+# all the dependencies right. Additionally, this forces a
+# serialization during parallel builds (e.g., "make -j X") to ensure
+# that we don't get partial target errors (i.e., doxygen must be run
+# *first* before we can try to process/install man pages, the HTML,
+# run pdflatex, .etc.).
+
+# The list below should match the list of _DATA lines above
+
+$(man3_MANS): $(DOX_TAG)
+$(man3_object_sets_DATA): $(DOX_TAG)
+$(man3_object_types_DATA): $(DOX_TAG)
+$(man3_objects_DATA): $(DOX_TAG)
+$(man3_creation_DATA): $(DOX_TAG)
+$(man3_configuration_DATA): $(DOX_TAG)
+$(man3_levels_DATA): $(DOX_TAG)
+$(man3_object_strings_DATA): $(DOX_TAG)
+$(man3_object_info_attrs_DATA): $(DOX_TAG)
+$(man3_cpubinding_DATA): $(DOX_TAG)
+$(man3_membinding_DATA): $(DOX_TAG)
+$(man3_tinker_DATA): $(DOX_TAG)
+$(man3_custom_DATA): $(DOX_TAG)
+$(man3_xmlexport_DATA): $(DOX_TAG)
+$(man3_syntheticexport_DATA): $(DOX_TAG)
+$(man3_bitmap_DATA): $(DOX_TAG)
+$(man3_helper_find_inside_DATA): $(DOX_TAG)
+$(man3_helper_find_covering_DATA): $(DOX_TAG)
+$(man3_helper_ancestors_DATA): $(DOX_TAG)
+$(man3_helper_find_cache_DATA): $(DOX_TAG)
+$(man3_helper_find_misc_DATA): $(DOX_TAG)
+$(man3_helper_distribute_DATA): $(DOX_TAG)
+$(man3_helper_topology_sets_DATA): $(DOX_TAG)
+$(man3_helper_nodeset_convert_DATA): $(DOX_TAG)
+$(man3_helper_distances_DATA): $(DOX_TAG)
+$(man3_helper_advanced_io_DATA): $(DOX_TAG)
+$(man3_diff_DATA): $(DOX_TAG)
+$(man3_cuda_DATA): $(DOX_TAG)
+$(man3_glibc_sched_DATA): $(DOX_TAG)
+$(man3_linux_DATA): $(DOX_TAG)
+$(man3_linux_libnuma_DATA): $(DOX_TAG)
+$(man3_myriexpress_DATA): $(DOX_TAG)
+$(man3_openfabrics_DATA): $(DOX_TAG)
+
+$(DOX_LETTERPDF): $(DOX_TAG)
+$(DOX_HTML_DIR): $(DOX_TAG)
+$(DOX_LATEX_DIR): $(DOX_TAG)
+$(DOX_MAN_DIR): $(DOX_TAG)
+
+# Additionally, we have to ensure that the A4 and Letter PDFs aren't
+# built at the same time during a parallel build (e.g., "make -j X").
+# So arbitrarily make the A4 PDF dependent upon the Letter PDF.
+$(DOX_A4PDF): $(DOX_TAG) $(DOX_LETTERPDF)
+
+endif HWLOC_BUILD_DOXYGEN
+
+
+
+#
+# Only remove the actual generated documentation files for maintainers
+#
+
+MAINTAINERCLEANFILES = $(DOX_TAG) \
+ -r \
+ $(DOX_HTML_DIR) \
+ $(DOX_MAN_DIR) \
+ $(DOX_LATEX_DIR) \
+ $(DOX_A4PDF) \
+ $(DOX_LETTERPDF) \
+ $(DOX_HTML_README)
+
+if HWLOC_BUILD_README
+
+#
+# Rules for creating the top-level README file. There does not appear
+# to be an easy way to know if AC_PATH_PROG found something in
+# configure.ac (!), so put a run-time check here to see if we have
+# w3c.
+#
+# Just like BUILD_DOXYGEN, BUILD_README will automatically be false if
+# we're not building standalone.
+#
+readme: $(HWLOC_top_srcdir)/README
+$(HWLOC_top_srcdir)/README: $(DOX_TAG)
+ sed -n -f $(srcdir)/README.sed $(DOX_HTML_DIR)/index.html > $(DOX_HTML_README)
+ LC_ALL=C $(HWLOC_W3_GENERATOR) $(DOX_HTML_README) \
+ | $(SED) -n -e 's/^ //' -e '/^Introduction$$/,$$p' \
+ | $(SED) -e '/^Installation$$/,$$ d' \
+ > $@
+ echo >> $@
+ echo >> $@
+ echo "See https://www.open-mpi.org/projects/hwloc/doc/ for more hwloc documentation." >> $@
+ rm -f $(DOX_HTML_README)
+
+else
+
+# When we don't have what's needed to build the README, nothing to do
+readme: doc
+
+endif
+
+all-local: doc readme
+
+SUBDIRS = examples
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009-2013 Université Bordeaux
+# Copyright © 2009-2016 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = doc
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = doxygen-config.cfg
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+man3dir = $(mandir)/man3
+am__installdirs = "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man3_bitmapdir)" \
+ "$(DESTDIR)$(man3_configurationdir)" \
+ "$(DESTDIR)$(man3_cpubindingdir)" \
+ "$(DESTDIR)$(man3_creationdir)" "$(DESTDIR)$(man3_cudadir)" \
+ "$(DESTDIR)$(man3_customdir)" "$(DESTDIR)$(man3_diffdir)" \
+ "$(DESTDIR)$(man3_glibc_scheddir)" \
+ "$(DESTDIR)$(man3_helper_advanced_iodir)" \
+ "$(DESTDIR)$(man3_helper_ancestorsdir)" \
+ "$(DESTDIR)$(man3_helper_distancesdir)" \
+ "$(DESTDIR)$(man3_helper_distributedir)" \
+ "$(DESTDIR)$(man3_helper_find_cachedir)" \
+ "$(DESTDIR)$(man3_helper_find_coveringdir)" \
+ "$(DESTDIR)$(man3_helper_find_insidedir)" \
+ "$(DESTDIR)$(man3_helper_find_miscdir)" \
+ "$(DESTDIR)$(man3_helper_nodeset_convertdir)" \
+ "$(DESTDIR)$(man3_helper_topology_setsdir)" \
+ "$(DESTDIR)$(man3_levelsdir)" "$(DESTDIR)$(man3_linuxdir)" \
+ "$(DESTDIR)$(man3_linux_libnumadir)" \
+ "$(DESTDIR)$(man3_membindingdir)" \
+ "$(DESTDIR)$(man3_myriexpressdir)" \
+ "$(DESTDIR)$(man3_object_info_attrsdir)" \
+ "$(DESTDIR)$(man3_object_setsdir)" \
+ "$(DESTDIR)$(man3_object_stringsdir)" \
+ "$(DESTDIR)$(man3_object_typesdir)" \
+ "$(DESTDIR)$(man3_objectsdir)" \
+ "$(DESTDIR)$(man3_openfabricsdir)" \
+ "$(DESTDIR)$(man3_syntheticexportdir)" \
+ "$(DESTDIR)$(man3_tinkerdir)" "$(DESTDIR)$(man3_xmlexportdir)" \
+ "$(DESTDIR)$(pdfdir)"
+NROFF = nroff
+MANS = $(man3_MANS)
+DATA = $(man3_bitmap_DATA) $(man3_configuration_DATA) \
+ $(man3_cpubinding_DATA) $(man3_creation_DATA) \
+ $(man3_cuda_DATA) $(man3_custom_DATA) $(man3_diff_DATA) \
+ $(man3_glibc_sched_DATA) $(man3_helper_advanced_io_DATA) \
+ $(man3_helper_ancestors_DATA) $(man3_helper_distances_DATA) \
+ $(man3_helper_distribute_DATA) $(man3_helper_find_cache_DATA) \
+ $(man3_helper_find_covering_DATA) \
+ $(man3_helper_find_inside_DATA) $(man3_helper_find_misc_DATA) \
+ $(man3_helper_nodeset_convert_DATA) \
+ $(man3_helper_topology_sets_DATA) $(man3_levels_DATA) \
+ $(man3_linux_DATA) $(man3_linux_libnuma_DATA) \
+ $(man3_membinding_DATA) $(man3_myriexpress_DATA) \
+ $(man3_object_info_attrs_DATA) $(man3_object_sets_DATA) \
+ $(man3_object_strings_DATA) $(man3_object_types_DATA) \
+ $(man3_objects_DATA) $(man3_openfabrics_DATA) \
+ $(man3_syntheticexport_DATA) $(man3_tinker_DATA) \
+ $(man3_xmlexport_DATA) $(pdf_DATA)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+am__DIST_COMMON = $(srcdir)/Makefile.in \
+ $(srcdir)/doxygen-config.cfg.in
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+DOCDIR = $(HWLOC_top_builddir)/doc
+DOX_CONFIG = $(HWLOC_top_srcdir)/doc/doxygen.cfg
+DOX_DIR = doxygen-doc
+DOX_HTML_DIR = $(DOX_DIR)/html
+DOX_MAN_DIR = $(DOX_DIR)/man
+DOX_LATEX_DIR = $(DOX_DIR)/latex
+DOX_A4PDF = doxygen-doc/$(PACKAGE)-a4.pdf
+DOX_LETTERPDF = doxygen-doc/$(PACKAGE)-letter.pdf
+DOX_HTML_README = $(DOX_HTML_DIR)/readme.tmp.html
+DOX_TAG = $(DOX_DIR)/$(PACKAGE).tag
+
+#
+# The goal is that Doxygen output (i.e., the documentation) is
+# included in release tarballs; there is no need to build anything
+# from tarballs. Developers will need to build the docs the first
+# time they build after a checkout (or if something in the docs
+# changes, etc.).
+#
+
+# images already available in repository
+PREBUILT_IMAGES = images/dudley.png images/emmett.png images/hagrid.png \
+ images/ppc64-with-smt.png images/ppc64-without-smt.png images/ppc64-full-with-smt.png \
+ images/devel09-pci.png
+
+# images built from repository before inclusion in make dist
+BUILT_IMAGES = images/diagram.png images/diagram.eps
+EXTRA_DIST = \
+ hwloc.doxy \
+ README.sed \
+ doxygen.css \
+ doxygen.cfg \
+ images/diagram.fig \
+ www.open-mpi.org.cfg \
+ www.open-mpi.org-css.inc \
+ www.open-mpi.org-footer.inc \
+ www.open-mpi.org-header.inc \
+ $(PREBUILT_IMAGES) \
+ $(BUILT_IMAGES)
+
+
+#
+# Files where the doxygen inputs live (i.e., dependencies). Make the
+# generated tagfile depend on these files, which will force them to be
+# regenerated (i.e., re-run doxygen) whenever any of these files
+# change.
+#
+@HWLOC_BUILD_DOXYGEN_TRUE@dox_inputs = $(DOX_CONFIG) \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(srcdir)/hwloc.doxy \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/helper.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/bitmap.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/diff.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/plugins.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/glibc-sched.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/linux.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/linux-libnuma.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/opencl.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/cuda.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/cudart.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/nvml.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/gl.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/intel-mic.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/openfabrics-verbs.h \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(HWLOC_top_srcdir)/include/hwloc/myriexpress.h
+
+
+#
+# Create the images that we need for the PDF output and the HTML
+# output. There is not an easy way to check if the output of
+# AC_PATH_PROG found something in configure.ac (!), so we have to put
+# a run-time check here to see if fig2dev was found. :-(
+#
+# Note that BUILD_DOXYGEN will automatically be false if we're not
+# building standalone.
+#
+@HWLOC_BUILD_DOXYGEN_TRUE@BUILT_SOURCES = $(BUILT_IMAGES)
+
+# there are also a bunch of doxygen-build-dependencies later in this file
+
+#
+# Un/install the generated PDF and man pages (just like BUILD_DOXYGEN,
+# INSTALL_DOXYGEN will automatically be false if we're not building in
+# standalone mode).
+#
+@HWLOC_INSTALL_DOXYGEN_TRUE@pdf_DATA = $(DOX_A4PDF) $(DOX_LETTERPDF)
+
+#
+# Install the HWLOC_* and hwloc_* man pages. It would be great to
+# figure out how to not have to list every installable man page here
+# in the Makefile.am... :-(
+#
+
+# We have so many man pages that if we put them all in man3_MANS, we
+# exceed the maximum command line length on some systems (during "make
+# install"). :-( So we have to split them up so that the total
+# command line length will be shorter. It seemed logical to split
+# them by small-ish groups. Put at least one group in man3_MANS so
+# that the proper $mandir/man/man3 is created, and then put the rest
+# in _DATA suffix names, because AM won't allow us to do things like
+# man3_extra_MANS = ...group...
+
+# When adding a new _DATA line below, remember to add it to the
+# list of dependencies too.
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_MANS = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_api_version.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_API_VERSION.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_api_version.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_setsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_sets_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_object_sets.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_const_bitmap_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_const_cpuset_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nodeset_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_const_nodeset_t.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_typesdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_types_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_object_types.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_BRIDGE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CORE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_GROUP.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_MACHINE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_MISC.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_NUMANODE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OS_DEVICE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_PU.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_PCI_DEVICE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_PACKAGE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_SYSTEM.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_type_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE_UNIFIED.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE_DATA.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_CACHE_INSTRUCTION.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_cache_type_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_cache_type_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_BRIDGE_HOST.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_BRIDGE_PCI.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_bridge_type_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_bridge_type_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_BLOCK.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_DMA.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_GPU.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_NETWORK.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_OPENFABRICS.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_OBJ_OSDEV_COPROC.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_osdev_type_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_osdev_type_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_compare_types.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_compare_types_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_UNORDERED.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_objectsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_objects_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_objects.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_memory_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_memory_s_hwloc_obj_memory_page_type_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_bridge_attr_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_cache_attr_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_group_attr_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_osdev_attr_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_u_hwloc_pcidev_attr_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_distances_s.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_info_s.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_creationdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_creation_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_creation.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_init.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_load.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_destroy.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_dup.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_check.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_configurationdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_configuration_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_configuration.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_ignore_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_ignore_type_keep_structure.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_ignore_all_keep_structure.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_IO_BRIDGES.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_IO_DEVICES.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_WHOLE_IO.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_FLAG_ICACHES.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_flags_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_flags.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_flags.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_pid.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_fsroot.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_synthetic.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_xml.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_xmlbuffer.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_custom.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_distance_matrix.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_is_thissystem.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_discovery_support.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_cpubind_support.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_membind_support.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_support.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_userdata.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_userdata.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_levelsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_levels_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_levels.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_type_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_type_depth_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_MULTIPLE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_UNKNOWN.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_BRIDGE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_PCI_DEVICE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TYPE_DEPTH_OS_DEVICE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_type_or_above_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_type_or_below_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_depth_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_root_obj.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_by_type.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_stringsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_strings_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_object_strings.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_type_string.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_type_snprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_attr_snprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_cpuset_snprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_type_sscanf.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_info_attrsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_object_info_attrs_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_info_attr.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_get_info_by_name.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_add_info.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_cpubindingdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_cpubinding_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_cpubinding.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_NOMEMBIND.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_PROCESS.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_STRICT.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_CPUBIND_THREAD.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpubind_flags_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_proc_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_proc_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_thread_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_thread_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_proc_last_cpu_location.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_last_cpu_location.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_membindingdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_membinding_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_membinding.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_BIND.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_DEFAULT.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_FIRSTTOUCH.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_INTERLEAVE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_MIGRATE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_MIXED.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_NEXTTOUCH.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_NOCPUBIND.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_BYNODESET.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_PROCESS.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_REPLICATE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_STRICT.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_MEMBIND_THREAD.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_membind_flags_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_membind_policy_t.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_membind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_membind_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_membind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_membind_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_proc_membind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_proc_membind_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_proc_membind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_proc_membind_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_area_membind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_set_area_membind_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_area_membind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_area_membind_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_area_memlocation.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_alloc.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind_policy.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_alloc_membind_policy_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_free.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_tinkerdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_tinker_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_tinker.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_insert_misc_object_by_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_insert_misc_object_by_parent.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_RESTRICT_FLAG_ADAPT_IO.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_RESTRICT_FLAG_ADAPT_MISC.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_restrict_flags_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_restrict.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_customdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_custom_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_custom.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_custom_insert_topology.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_custom_insert_group_object_by_parent.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_xmlexportdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_xmlexport_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_xmlexport.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_export_xml.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_export_xmlbuffer.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_free_xmlbuffer.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_userdata_export_callback.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_export_obj_userdata.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_export_obj_userdata_base64.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_set_userdata_import_callback.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_syntheticexportdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_syntheticexport_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_syntheticexport.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_export_synthetic.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_bitmapdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_bitmap_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_bitmap.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_allbut.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_alloc.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_alloc_full.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_and.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_andnot.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_asprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_clr.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_clr_range.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_compare.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_compare_first.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_copy.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_dup.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_fill.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_first.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_foreach_begin.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_foreach_end.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_free.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_from_ith_ulong.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_from_ulong.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_intersects.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isequal.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isfull.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isincluded.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_isset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_iszero.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_last.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_list_asprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_list_snprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_list_sscanf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_next.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_not.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_only.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_or.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_set.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_set_ith_ulong.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_set_range.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_singlify.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_snprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_sscanf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_taskset_asprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_taskset_snprintf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_taskset_sscanf.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_to_ith_ulong.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_to_ulong.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_weight.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_xor.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bitmap_zero.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_insidedir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_inside_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_inside.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_first_largest_obj_inside_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_largest_objs_inside_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_inside_cpuset_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_inside_cpuset_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_inside_cpuset_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_inside_cpuset_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_inside_cpuset_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_nbobjs_inside_cpuset_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_index_inside_cpuset.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_coveringdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_covering_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_covering.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_child_covering_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_covering_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_covering_cpuset_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_obj_covering_cpuset_by_type.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_ancestorsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_ancestors_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_ancestors.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_ancestor_obj_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_ancestor_obj_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_common_ancestor_obj.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_obj_is_in_subtree.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_cachedir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_cache_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_cache.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_cache_type_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_cache_covering_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_shared_cache_covering_obj.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_miscdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_find_misc_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_find_misc.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_pu_obj_by_os_index.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_child.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_closest_objs.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_below_array_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_obj_below_by_type.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_distributedir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_distribute_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_distribute.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_distrib_flags_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_DISTRIB_FLAG_REVERSE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_distrib.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_topology_setsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_topology_sets_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_topology_sets.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_allowed_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_complete_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_online_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_topology_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_allowed_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_complete_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_get_topology_nodeset.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_nodeset_convertdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_nodeset_convert_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_helper_nodeset_convert.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_nodeset_strict.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_nodeset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_nodeset_strict.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_distancesdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_distances_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_distances.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_whole_distance_matrix_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_whole_distance_matrix_by_type.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_distance_matrix_covering_obj_by_depth.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_latency.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_advanced_iodir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_helper_advanced_io_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_advanced_io.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_non_io_ancestor_obj.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_pcidev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_pcidev_by_busid.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_pcidev_by_busidstring.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_osdev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_next_bridge.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_bridge_covers_pcibus.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_get_hostbridge_by_pcibus.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_diffdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_diff_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_diff.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_obj_attr_type_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_obj_attr_u.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_type_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_OBJ_ATTR.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_u.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_build.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_apply_flags_e.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_apply.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_destroy.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_load_xml.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_export_xml.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_load_xmlbuffer.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_topology_diff_export_xmlbuffer.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_cudadir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_cuda_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_opencl.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_opencl_get_device_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_opencl_get_device_osdev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_opencl_get_device_osdev_by_index.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_cuda.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_pci_ids.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_pcidev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_osdev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cuda_get_device_osdev_by_index.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_cudart.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_pci_ids.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_pcidev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cudart_get_device_osdev_by_index.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_nvml.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nvml_get_device_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nvml_get_device_osdev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nvml_get_device_osdev_by_index.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_gl.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_gl_get_display_osdev_by_port_device.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_gl_get_display_osdev_by_name.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_gl_get_display_by_osdev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_intel_mic.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_intel_mic_get_device_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_intel_mic_get_device_osdev_by_index.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_glibc_scheddir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_glibc_sched_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_glibc_sched.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_glibc_sched_affinity.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_glibc_sched_affinity.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_linuxdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_linux_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_linux.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_linux_parse_cpumap_file.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_linux_set_tid_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_linux_get_tid_cpubind.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_linux_get_tid_last_cpu_location.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_linux_libnumadir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_linux_libnuma_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_linux_libnuma_bitmask.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_linux_libnuma_bitmask.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nodeset_from_linux_libnuma_bitmask.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_linux_libnuma_bitmask.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nodeset_to_linux_libnuma_bitmask.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_linux_libnuma_ulongs.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_from_linux_libnuma_ulongs.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nodeset_from_linux_libnuma_ulongs.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_cpuset_to_linux_libnuma_ulongs.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_nodeset_to_linux_libnuma_ulongs.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_myriexpressdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_myriexpress_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_myriexpress.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_mx_board_get_device_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_mx_endpoint_get_device_cpuset.3
+
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_openfabricsdir = $(man3dir)
+@HWLOC_INSTALL_DOXYGEN_TRUE@man3_openfabrics_DATA = \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwlocality_openfabrics.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_ibv_get_device_cpuset.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_ibv_get_device_osdev.3 \
+@HWLOC_INSTALL_DOXYGEN_TRUE@ $(DOX_MAN_DIR)/man3/hwloc_ibv_get_device_osdev_by_name.3
+
+
+#
+# Only remove the actual generated documentation files for maintainers
+#
+MAINTAINERCLEANFILES = $(DOX_TAG) \
+ -r \
+ $(DOX_HTML_DIR) \
+ $(DOX_MAN_DIR) \
+ $(DOX_LATEX_DIR) \
+ $(DOX_A4PDF) \
+ $(DOX_LETTERPDF) \
+ $(DOX_HTML_README)
+
+SUBDIRS = examples
+all: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign doc/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+doxygen-config.cfg: $(top_builddir)/config.status $(srcdir)/doxygen-config.cfg.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-man3: $(man3_MANS)
+ @$(NORMAL_INSTALL)
+ @list1='$(man3_MANS)'; \
+ list2=''; \
+ test -n "$(man3dir)" \
+ && test -n "`echo $$list1$$list2`" \
+ || exit 0; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
+ { for i in $$list1; do echo "$$i"; done; \
+ if test -n "$$list2"; then \
+ for i in $$list2; do echo "$$i"; done \
+ | sed -n '/\.3[a-z]*$$/p'; \
+ fi; \
+ } | while read p; do \
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; echo "$$p"; \
+ done | \
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+ sed 'N;N;s,\n, ,g' | { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
+ fi; \
+ done; \
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+ while read files; do \
+ test -z "$$files" || { \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
+ done; }
+
+uninstall-man3:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_MANS)'; test -n "$(man3dir)" || exit 0; \
+ files=`{ for i in $$list; do echo "$$i"; done; \
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
+ dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
+install-man3_bitmapDATA: $(man3_bitmap_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_bitmap_DATA)'; test -n "$(man3_bitmapdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_bitmapdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_bitmapdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_bitmapdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_bitmapdir)" || exit $$?; \
+ done
+
+uninstall-man3_bitmapDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_bitmap_DATA)'; test -n "$(man3_bitmapdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_bitmapdir)'; $(am__uninstall_files_from_dir)
+install-man3_configurationDATA: $(man3_configuration_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_configuration_DATA)'; test -n "$(man3_configurationdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_configurationdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_configurationdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_configurationdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_configurationdir)" || exit $$?; \
+ done
+
+uninstall-man3_configurationDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_configuration_DATA)'; test -n "$(man3_configurationdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_configurationdir)'; $(am__uninstall_files_from_dir)
+install-man3_cpubindingDATA: $(man3_cpubinding_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_cpubinding_DATA)'; test -n "$(man3_cpubindingdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_cpubindingdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_cpubindingdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_cpubindingdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_cpubindingdir)" || exit $$?; \
+ done
+
+uninstall-man3_cpubindingDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_cpubinding_DATA)'; test -n "$(man3_cpubindingdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_cpubindingdir)'; $(am__uninstall_files_from_dir)
+install-man3_creationDATA: $(man3_creation_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_creation_DATA)'; test -n "$(man3_creationdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_creationdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_creationdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_creationdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_creationdir)" || exit $$?; \
+ done
+
+uninstall-man3_creationDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_creation_DATA)'; test -n "$(man3_creationdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_creationdir)'; $(am__uninstall_files_from_dir)
+install-man3_cudaDATA: $(man3_cuda_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_cuda_DATA)'; test -n "$(man3_cudadir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_cudadir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_cudadir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_cudadir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_cudadir)" || exit $$?; \
+ done
+
+uninstall-man3_cudaDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_cuda_DATA)'; test -n "$(man3_cudadir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_cudadir)'; $(am__uninstall_files_from_dir)
+install-man3_customDATA: $(man3_custom_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_custom_DATA)'; test -n "$(man3_customdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_customdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_customdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_customdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_customdir)" || exit $$?; \
+ done
+
+uninstall-man3_customDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_custom_DATA)'; test -n "$(man3_customdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_customdir)'; $(am__uninstall_files_from_dir)
+install-man3_diffDATA: $(man3_diff_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_diff_DATA)'; test -n "$(man3_diffdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_diffdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_diffdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_diffdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_diffdir)" || exit $$?; \
+ done
+
+uninstall-man3_diffDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_diff_DATA)'; test -n "$(man3_diffdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_diffdir)'; $(am__uninstall_files_from_dir)
+install-man3_glibc_schedDATA: $(man3_glibc_sched_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_glibc_sched_DATA)'; test -n "$(man3_glibc_scheddir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_glibc_scheddir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_glibc_scheddir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_glibc_scheddir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_glibc_scheddir)" || exit $$?; \
+ done
+
+uninstall-man3_glibc_schedDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_glibc_sched_DATA)'; test -n "$(man3_glibc_scheddir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_glibc_scheddir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_advanced_ioDATA: $(man3_helper_advanced_io_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_advanced_io_DATA)'; test -n "$(man3_helper_advanced_iodir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_advanced_iodir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_advanced_iodir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_advanced_iodir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_advanced_iodir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_advanced_ioDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_advanced_io_DATA)'; test -n "$(man3_helper_advanced_iodir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_advanced_iodir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_ancestorsDATA: $(man3_helper_ancestors_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_ancestors_DATA)'; test -n "$(man3_helper_ancestorsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_ancestorsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_ancestorsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_ancestorsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_ancestorsdir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_ancestorsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_ancestors_DATA)'; test -n "$(man3_helper_ancestorsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_ancestorsdir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_distancesDATA: $(man3_helper_distances_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_distances_DATA)'; test -n "$(man3_helper_distancesdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_distancesdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_distancesdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_distancesdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_distancesdir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_distancesDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_distances_DATA)'; test -n "$(man3_helper_distancesdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_distancesdir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_distributeDATA: $(man3_helper_distribute_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_distribute_DATA)'; test -n "$(man3_helper_distributedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_distributedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_distributedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_distributedir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_distributedir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_distributeDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_distribute_DATA)'; test -n "$(man3_helper_distributedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_distributedir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_find_cacheDATA: $(man3_helper_find_cache_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_find_cache_DATA)'; test -n "$(man3_helper_find_cachedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_find_cachedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_find_cachedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_find_cachedir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_find_cachedir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_find_cacheDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_find_cache_DATA)'; test -n "$(man3_helper_find_cachedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_find_cachedir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_find_coveringDATA: $(man3_helper_find_covering_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_find_covering_DATA)'; test -n "$(man3_helper_find_coveringdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_find_coveringdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_find_coveringdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_find_coveringdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_find_coveringdir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_find_coveringDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_find_covering_DATA)'; test -n "$(man3_helper_find_coveringdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_find_coveringdir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_find_insideDATA: $(man3_helper_find_inside_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_find_inside_DATA)'; test -n "$(man3_helper_find_insidedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_find_insidedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_find_insidedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_find_insidedir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_find_insidedir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_find_insideDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_find_inside_DATA)'; test -n "$(man3_helper_find_insidedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_find_insidedir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_find_miscDATA: $(man3_helper_find_misc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_find_misc_DATA)'; test -n "$(man3_helper_find_miscdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_find_miscdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_find_miscdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_find_miscdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_find_miscdir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_find_miscDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_find_misc_DATA)'; test -n "$(man3_helper_find_miscdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_find_miscdir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_nodeset_convertDATA: $(man3_helper_nodeset_convert_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_nodeset_convert_DATA)'; test -n "$(man3_helper_nodeset_convertdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_nodeset_convertdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_nodeset_convertdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_nodeset_convertdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_nodeset_convertdir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_nodeset_convertDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_nodeset_convert_DATA)'; test -n "$(man3_helper_nodeset_convertdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_nodeset_convertdir)'; $(am__uninstall_files_from_dir)
+install-man3_helper_topology_setsDATA: $(man3_helper_topology_sets_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_helper_topology_sets_DATA)'; test -n "$(man3_helper_topology_setsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_helper_topology_setsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_helper_topology_setsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_helper_topology_setsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_helper_topology_setsdir)" || exit $$?; \
+ done
+
+uninstall-man3_helper_topology_setsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_helper_topology_sets_DATA)'; test -n "$(man3_helper_topology_setsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_helper_topology_setsdir)'; $(am__uninstall_files_from_dir)
+install-man3_levelsDATA: $(man3_levels_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_levels_DATA)'; test -n "$(man3_levelsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_levelsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_levelsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_levelsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_levelsdir)" || exit $$?; \
+ done
+
+uninstall-man3_levelsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_levels_DATA)'; test -n "$(man3_levelsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_levelsdir)'; $(am__uninstall_files_from_dir)
+install-man3_linuxDATA: $(man3_linux_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_linux_DATA)'; test -n "$(man3_linuxdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_linuxdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_linuxdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_linuxdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_linuxdir)" || exit $$?; \
+ done
+
+uninstall-man3_linuxDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_linux_DATA)'; test -n "$(man3_linuxdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_linuxdir)'; $(am__uninstall_files_from_dir)
+install-man3_linux_libnumaDATA: $(man3_linux_libnuma_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_linux_libnuma_DATA)'; test -n "$(man3_linux_libnumadir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_linux_libnumadir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_linux_libnumadir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_linux_libnumadir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_linux_libnumadir)" || exit $$?; \
+ done
+
+uninstall-man3_linux_libnumaDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_linux_libnuma_DATA)'; test -n "$(man3_linux_libnumadir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_linux_libnumadir)'; $(am__uninstall_files_from_dir)
+install-man3_membindingDATA: $(man3_membinding_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_membinding_DATA)'; test -n "$(man3_membindingdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_membindingdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_membindingdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_membindingdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_membindingdir)" || exit $$?; \
+ done
+
+uninstall-man3_membindingDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_membinding_DATA)'; test -n "$(man3_membindingdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_membindingdir)'; $(am__uninstall_files_from_dir)
+install-man3_myriexpressDATA: $(man3_myriexpress_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_myriexpress_DATA)'; test -n "$(man3_myriexpressdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_myriexpressdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_myriexpressdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_myriexpressdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_myriexpressdir)" || exit $$?; \
+ done
+
+uninstall-man3_myriexpressDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_myriexpress_DATA)'; test -n "$(man3_myriexpressdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_myriexpressdir)'; $(am__uninstall_files_from_dir)
+install-man3_object_info_attrsDATA: $(man3_object_info_attrs_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_object_info_attrs_DATA)'; test -n "$(man3_object_info_attrsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_object_info_attrsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_object_info_attrsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_object_info_attrsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_object_info_attrsdir)" || exit $$?; \
+ done
+
+uninstall-man3_object_info_attrsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_object_info_attrs_DATA)'; test -n "$(man3_object_info_attrsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_object_info_attrsdir)'; $(am__uninstall_files_from_dir)
+install-man3_object_setsDATA: $(man3_object_sets_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_object_sets_DATA)'; test -n "$(man3_object_setsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_object_setsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_object_setsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_object_setsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_object_setsdir)" || exit $$?; \
+ done
+
+uninstall-man3_object_setsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_object_sets_DATA)'; test -n "$(man3_object_setsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_object_setsdir)'; $(am__uninstall_files_from_dir)
+install-man3_object_stringsDATA: $(man3_object_strings_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_object_strings_DATA)'; test -n "$(man3_object_stringsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_object_stringsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_object_stringsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_object_stringsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_object_stringsdir)" || exit $$?; \
+ done
+
+uninstall-man3_object_stringsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_object_strings_DATA)'; test -n "$(man3_object_stringsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_object_stringsdir)'; $(am__uninstall_files_from_dir)
+install-man3_object_typesDATA: $(man3_object_types_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_object_types_DATA)'; test -n "$(man3_object_typesdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_object_typesdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_object_typesdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_object_typesdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_object_typesdir)" || exit $$?; \
+ done
+
+uninstall-man3_object_typesDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_object_types_DATA)'; test -n "$(man3_object_typesdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_object_typesdir)'; $(am__uninstall_files_from_dir)
+install-man3_objectsDATA: $(man3_objects_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_objects_DATA)'; test -n "$(man3_objectsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_objectsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_objectsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_objectsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_objectsdir)" || exit $$?; \
+ done
+
+uninstall-man3_objectsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_objects_DATA)'; test -n "$(man3_objectsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_objectsdir)'; $(am__uninstall_files_from_dir)
+install-man3_openfabricsDATA: $(man3_openfabrics_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_openfabrics_DATA)'; test -n "$(man3_openfabricsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_openfabricsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_openfabricsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_openfabricsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_openfabricsdir)" || exit $$?; \
+ done
+
+uninstall-man3_openfabricsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_openfabrics_DATA)'; test -n "$(man3_openfabricsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_openfabricsdir)'; $(am__uninstall_files_from_dir)
+install-man3_syntheticexportDATA: $(man3_syntheticexport_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_syntheticexport_DATA)'; test -n "$(man3_syntheticexportdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_syntheticexportdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_syntheticexportdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_syntheticexportdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_syntheticexportdir)" || exit $$?; \
+ done
+
+uninstall-man3_syntheticexportDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_syntheticexport_DATA)'; test -n "$(man3_syntheticexportdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_syntheticexportdir)'; $(am__uninstall_files_from_dir)
+install-man3_tinkerDATA: $(man3_tinker_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_tinker_DATA)'; test -n "$(man3_tinkerdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_tinkerdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_tinkerdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_tinkerdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_tinkerdir)" || exit $$?; \
+ done
+
+uninstall-man3_tinkerDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_tinker_DATA)'; test -n "$(man3_tinkerdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_tinkerdir)'; $(am__uninstall_files_from_dir)
+install-man3_xmlexportDATA: $(man3_xmlexport_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(man3_xmlexport_DATA)'; test -n "$(man3_xmlexportdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man3_xmlexportdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man3_xmlexportdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3_xmlexportdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3_xmlexportdir)" || exit $$?; \
+ done
+
+uninstall-man3_xmlexportDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man3_xmlexport_DATA)'; test -n "$(man3_xmlexportdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(man3_xmlexportdir)'; $(am__uninstall_files_from_dir)
+install-pdfDATA: $(pdf_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(pdf_DATA)'; test -n "$(pdfdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pdfdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; \
+ done
+
+uninstall-pdfDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pdf_DATA)'; test -n "$(pdfdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(pdfdir)'; $(am__uninstall_files_from_dir)
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) check-recursive
+all-am: Makefile $(MANS) $(DATA) all-local
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man3_bitmapdir)" "$(DESTDIR)$(man3_configurationdir)" "$(DESTDIR)$(man3_cpubindingdir)" "$(DESTDIR)$(man3_creationdir)" "$(DESTDIR)$(man3_cudadir)" "$(DESTDIR)$(man3_customdir)" "$(DESTDIR)$(man3_diffdir)" "$(DESTDIR)$(man3_glibc_scheddir)" "$(DESTDIR)$(man3_helper_advanced_iodir)" "$(DESTDIR)$(man3_helper_ancestorsdir)" "$(DESTDIR)$(man3_helper_distancesdir)" "$(DESTDIR)$(man3_helper_distributedir)" "$(DESTDIR)$(man3_helper_find_cachedir)" "$(DESTDIR)$(man3_helper_find_coveringdir)" "$(DESTDIR)$(man3_helper_find_insidedir)" "$(DESTDIR)$(man3_helper_find_miscdir)" "$(DESTDIR)$(man3_helper_nodeset_convertdir)" "$(DESTDIR)$(man3_helper_topology_setsdir)" "$(DESTDIR)$(man3_levelsdir)" "$(DESTDIR)$(man3_linuxdir)" "$(DESTDIR)$(man3_linux_libnumadir)" "$(DESTDIR)$(man3_membindingdir)" "$(DESTDIR)$(man3_myriexpressdir)" "$(DESTDIR)$(man3_object_info_attrsdir)" "$(DESTDIR)$(man3_object_setsdir)" "$(DESTDIR)$(man3_object_stringsdir)" "$(DESTDIR)$(man3_object_typesdir)" "$(DESTDIR)$(man3_objectsdir)" "$(DESTDIR)$(man3_openfabricsdir)" "$(DESTDIR)$(man3_syntheticexportdir)" "$(DESTDIR)$(man3_tinkerdir)" "$(DESTDIR)$(man3_xmlexportdir)" "$(DESTDIR)$(pdfdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-man install-man3_bitmapDATA \
+ install-man3_configurationDATA install-man3_cpubindingDATA \
+ install-man3_creationDATA install-man3_cudaDATA \
+ install-man3_customDATA install-man3_diffDATA \
+ install-man3_glibc_schedDATA \
+ install-man3_helper_advanced_ioDATA \
+ install-man3_helper_ancestorsDATA \
+ install-man3_helper_distancesDATA \
+ install-man3_helper_distributeDATA \
+ install-man3_helper_find_cacheDATA \
+ install-man3_helper_find_coveringDATA \
+ install-man3_helper_find_insideDATA \
+ install-man3_helper_find_miscDATA \
+ install-man3_helper_nodeset_convertDATA \
+ install-man3_helper_topology_setsDATA install-man3_levelsDATA \
+ install-man3_linuxDATA install-man3_linux_libnumaDATA \
+ install-man3_membindingDATA install-man3_myriexpressDATA \
+ install-man3_object_info_attrsDATA \
+ install-man3_object_setsDATA install-man3_object_stringsDATA \
+ install-man3_object_typesDATA install-man3_objectsDATA \
+ install-man3_openfabricsDATA install-man3_syntheticexportDATA \
+ install-man3_tinkerDATA install-man3_xmlexportDATA \
+ install-pdfDATA
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man: install-man3
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-man uninstall-man3_bitmapDATA \
+ uninstall-man3_configurationDATA uninstall-man3_cpubindingDATA \
+ uninstall-man3_creationDATA uninstall-man3_cudaDATA \
+ uninstall-man3_customDATA uninstall-man3_diffDATA \
+ uninstall-man3_glibc_schedDATA \
+ uninstall-man3_helper_advanced_ioDATA \
+ uninstall-man3_helper_ancestorsDATA \
+ uninstall-man3_helper_distancesDATA \
+ uninstall-man3_helper_distributeDATA \
+ uninstall-man3_helper_find_cacheDATA \
+ uninstall-man3_helper_find_coveringDATA \
+ uninstall-man3_helper_find_insideDATA \
+ uninstall-man3_helper_find_miscDATA \
+ uninstall-man3_helper_nodeset_convertDATA \
+ uninstall-man3_helper_topology_setsDATA \
+ uninstall-man3_levelsDATA uninstall-man3_linuxDATA \
+ uninstall-man3_linux_libnumaDATA uninstall-man3_membindingDATA \
+ uninstall-man3_myriexpressDATA \
+ uninstall-man3_object_info_attrsDATA \
+ uninstall-man3_object_setsDATA \
+ uninstall-man3_object_stringsDATA \
+ uninstall-man3_object_typesDATA uninstall-man3_objectsDATA \
+ uninstall-man3_openfabricsDATA \
+ uninstall-man3_syntheticexportDATA uninstall-man3_tinkerDATA \
+ uninstall-man3_xmlexportDATA uninstall-pdfDATA
+
+uninstall-man: uninstall-man3
+
+.MAKE: $(am__recursive_targets) all check install install-am \
+ install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
+ check check-am clean clean-generic clean-libtool cscopelist-am \
+ ctags ctags-am distclean distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-man3 install-man3_bitmapDATA \
+ install-man3_configurationDATA install-man3_cpubindingDATA \
+ install-man3_creationDATA install-man3_cudaDATA \
+ install-man3_customDATA install-man3_diffDATA \
+ install-man3_glibc_schedDATA \
+ install-man3_helper_advanced_ioDATA \
+ install-man3_helper_ancestorsDATA \
+ install-man3_helper_distancesDATA \
+ install-man3_helper_distributeDATA \
+ install-man3_helper_find_cacheDATA \
+ install-man3_helper_find_coveringDATA \
+ install-man3_helper_find_insideDATA \
+ install-man3_helper_find_miscDATA \
+ install-man3_helper_nodeset_convertDATA \
+ install-man3_helper_topology_setsDATA install-man3_levelsDATA \
+ install-man3_linuxDATA install-man3_linux_libnumaDATA \
+ install-man3_membindingDATA install-man3_myriexpressDATA \
+ install-man3_object_info_attrsDATA \
+ install-man3_object_setsDATA install-man3_object_stringsDATA \
+ install-man3_object_typesDATA install-man3_objectsDATA \
+ install-man3_openfabricsDATA install-man3_syntheticexportDATA \
+ install-man3_tinkerDATA install-man3_xmlexportDATA install-pdf \
+ install-pdf-am install-pdfDATA install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+ ps ps-am tags tags-am uninstall uninstall-am uninstall-man \
+ uninstall-man3 uninstall-man3_bitmapDATA \
+ uninstall-man3_configurationDATA uninstall-man3_cpubindingDATA \
+ uninstall-man3_creationDATA uninstall-man3_cudaDATA \
+ uninstall-man3_customDATA uninstall-man3_diffDATA \
+ uninstall-man3_glibc_schedDATA \
+ uninstall-man3_helper_advanced_ioDATA \
+ uninstall-man3_helper_ancestorsDATA \
+ uninstall-man3_helper_distancesDATA \
+ uninstall-man3_helper_distributeDATA \
+ uninstall-man3_helper_find_cacheDATA \
+ uninstall-man3_helper_find_coveringDATA \
+ uninstall-man3_helper_find_insideDATA \
+ uninstall-man3_helper_find_miscDATA \
+ uninstall-man3_helper_nodeset_convertDATA \
+ uninstall-man3_helper_topology_setsDATA \
+ uninstall-man3_levelsDATA uninstall-man3_linuxDATA \
+ uninstall-man3_linux_libnumaDATA uninstall-man3_membindingDATA \
+ uninstall-man3_myriexpressDATA \
+ uninstall-man3_object_info_attrsDATA \
+ uninstall-man3_object_setsDATA \
+ uninstall-man3_object_stringsDATA \
+ uninstall-man3_object_typesDATA uninstall-man3_objectsDATA \
+ uninstall-man3_openfabricsDATA \
+ uninstall-man3_syntheticexportDATA uninstall-man3_tinkerDATA \
+ uninstall-man3_xmlexportDATA uninstall-pdfDATA
+
+.PRECIOUS: Makefile
+
+
+@HWLOC_BUILD_DOXYGEN_TRUE@images/diagram.png: $(srcdir)/images/diagram.fig
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(MKDIR_P) images
+@HWLOC_BUILD_DOXYGEN_TRUE@ @if test "x$(FIG2DEV)" = "x"; then \
+@HWLOC_BUILD_DOXYGEN_TRUE@ echo "ERROR: Cannot find the 'fig2dev' executable -- cannot make $@"; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ exit 1; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ fi
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(FIG2DEV) -m 1.5 -L png $< $@
+
+@HWLOC_BUILD_DOXYGEN_TRUE@images/diagram.eps: $(srcdir)/images/diagram.fig
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(MKDIR_P) images
+@HWLOC_BUILD_DOXYGEN_TRUE@ @if test "x$(FIG2DEV)" = "x"; then \
+@HWLOC_BUILD_DOXYGEN_TRUE@ echo "ERROR: Cannot find the 'fig2dev' executable -- cannot make $@"; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ exit 1; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ fi
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(FIG2DEV) -L eps $< $@
+
+#
+# Rules for running doxygen. It depends on the built images and the
+# dox_inputs.
+# Remove useless manpages, they have too long filenames anyway because
+# of nested structurre/union declarations.
+#
+
+#
+# Note that we want to use our own doxygen.css file; not the one that
+# doxygen installs in the HTML directory. So manually copy it over.
+# Be a little clever: only copy the doxygen.css file over if it exists
+# in DOX_HTML_DIR (which is in the build tree). If the html tree
+# doesn't exist in the build tree, then we're using an html tree in
+# the source tree, and we don't need to copy over the doxygen.css
+# because we didn't build the html tree (e.g., the html tree came
+# pre-bundled in a tarball).
+#
+
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_TAG): $(BUILT_SOURCES) $(dox_inputs) $(PREBUILT_IMAGES)
+@HWLOC_BUILD_DOXYGEN_TRUE@ rm -fr $(DOX_DIR)
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(DOXYGEN) $(DOX_CONFIG)
+@HWLOC_BUILD_DOXYGEN_TRUE@ sed -i -e 's@\\hyperlink{a[[:digit:]][[:digit:]]*_source}{@\\textbf{@g' $(DOX_DIR)/latex/*.tex
+@HWLOC_BUILD_DOXYGEN_TRUE@ @echo "Work-around spurious leading _ in doxygen filenames..."
+@HWLOC_BUILD_DOXYGEN_TRUE@ -(cd $(DOX_DIR)/man/man3 ; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ for i in _hwloc* ; do \
+@HWLOC_BUILD_DOXYGEN_TRUE@ [ ! -f $$i ] || mv $$i $${i#_} ; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ done)
+@HWLOC_BUILD_DOXYGEN_TRUE@ @echo "Removing useless manpages..."
+@HWLOC_BUILD_DOXYGEN_TRUE@ @mkdir $(DOX_DIR)/man.tmp
+@HWLOC_BUILD_DOXYGEN_TRUE@ @mv $(DOX_MAN_DIR)/man3/hwloc* $(DOX_MAN_DIR)/man3/HWLOC* $(DOX_DIR)/man.tmp/
+@HWLOC_BUILD_DOXYGEN_TRUE@ @rm -rf $(DOX_MAN_DIR)/man3
+@HWLOC_BUILD_DOXYGEN_TRUE@ @mv $(DOX_DIR)/man.tmp $(DOX_MAN_DIR)/man3
+@HWLOC_BUILD_DOXYGEN_TRUE@ @echo "Copying custom doxygen.css..."
+@HWLOC_BUILD_DOXYGEN_TRUE@ if test -d $(DOX_HTML_DIR) -a -f $(DOX_HTML_DIR)/doxygen.css; then \
+@HWLOC_BUILD_DOXYGEN_TRUE@ cp -f $(srcdir)/doxygen.css $(DOX_HTML_DIR); \
+@HWLOC_BUILD_DOXYGEN_TRUE@ fi
+
+#
+# Rules for building the PDF
+#
+
+# The Doxygen config is set to generate a4 latex -- no transformation
+# is necessary.
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_A4PDF): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@ cd $(DOX_LATEX_DIR); \
+@HWLOC_BUILD_DOXYGEN_TRUE@ rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ cp refman.tex a4-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(PDFLATEX) a4-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(MAKEINDEX) a4-refman.idx; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(PDFLATEX) a4-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ done=0; repeat=5; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ while test $$done = 0 -a $$repeat -gt 0; do \
+@HWLOC_BUILD_DOXYGEN_TRUE@ if $(EGREP) 'Rerun (LaTeX|to get cross-references right)' a4-refman.log > /dev/null 2>&1; then \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(PDFLATEX) a4-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ repeat=`expr $$repeat - 1`; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ else \
+@HWLOC_BUILD_DOXYGEN_TRUE@ done=1; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ fi; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ done; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ mv a4-refman.pdf $(DOCDIR)/$(DOX_A4PDF)
+
+# The Doxygen config is set to generate a4 latex -- slightly transform
+# to make suitable for US letter.
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_LETTERPDF): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@ cd $(DOX_LATEX_DIR); \
+@HWLOC_BUILD_DOXYGEN_TRUE@ rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(SED) -e 's/a4paper/letterpaper/g' -e 's/\\usepackage{a4wide}//' refman.tex > letter-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(PDFLATEX) letter-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(MAKEINDEX) letter-refman.idx; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(PDFLATEX) letter-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ done=0; repeat=5; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ while test $$done = 0 -a $$repeat -gt 0; do \
+@HWLOC_BUILD_DOXYGEN_TRUE@ if $(EGREP) 'Rerun (LaTeX|to get cross-references right)' letter-refman.log > /dev/null 2>&1; then \
+@HWLOC_BUILD_DOXYGEN_TRUE@ $(PDFLATEX) letter-refman.tex; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ repeat=`expr $$repeat - 1`; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ else \
+@HWLOC_BUILD_DOXYGEN_TRUE@ done=1; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ fi; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ done; \
+@HWLOC_BUILD_DOXYGEN_TRUE@ mv letter-refman.pdf $(DOCDIR)/$(DOX_LETTERPDF)
+
+@HWLOC_BUILD_DOXYGEN_TRUE@doc: $(DOX_TAG) $(DOX_LETTERPDF) $(DOX_A4PDF)
+
+# When we don't have doxygen, nothing to do for a normal build
+@HWLOC_BUILD_DOXYGEN_FALSE@doc:
+
+# But if the user tries to "make dist" and doesn't have all the right
+# tools, and prebuilt doc aren't available, fail with a helpful error
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@$(BUILT_IMAGES) $(DOX_A4PDF) $(DOX_LETTERPDF):
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo " "
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo "*** ERROR: You do not have all the documentation generation tools"
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo "*** that hwloc needs. Check the output from when you ran 'configure'"
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo "*** (in section \"Configuring hwloc documentation\") to see what tools"
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo "*** you are missing."
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo "***"
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo "*** 'make' will now abort with an error."
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @echo " "
+@HWLOC_BUILD_DOXYGEN_FALSE@@HWLOC_INSTALL_DOXYGEN_FALSE@ @exit 1
+
+# end of manpages(3) if HWLOC_BUILD_DOXYGEN
+
+# Put in these rules to force the generation of the man pages and get
+# all the dependencies right. Additionally, this forces a
+# serialization during parallel builds (e.g., "make -j X") to ensure
+# that we don't get partial target errors (i.e., doxygen must be run
+# *first* before we can try to process/install man pages, the HTML,
+# run pdflatex, .etc.).
+
+# The list below should match the list of _DATA lines above
+
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_MANS): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_object_sets_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_object_types_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_objects_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_creation_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_configuration_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_levels_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_object_strings_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_object_info_attrs_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_cpubinding_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_membinding_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_tinker_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_custom_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_xmlexport_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_syntheticexport_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_bitmap_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_find_inside_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_find_covering_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_ancestors_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_find_cache_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_find_misc_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_distribute_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_topology_sets_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_nodeset_convert_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_distances_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_helper_advanced_io_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_diff_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_cuda_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_glibc_sched_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_linux_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_linux_libnuma_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_myriexpress_DATA): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(man3_openfabrics_DATA): $(DOX_TAG)
+
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_LETTERPDF): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_HTML_DIR): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_LATEX_DIR): $(DOX_TAG)
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_MAN_DIR): $(DOX_TAG)
+
+# Additionally, we have to ensure that the A4 and Letter PDFs aren't
+# built at the same time during a parallel build (e.g., "make -j X").
+# So arbitrarily make the A4 PDF dependent upon the Letter PDF.
+@HWLOC_BUILD_DOXYGEN_TRUE@$(DOX_A4PDF): $(DOX_TAG) $(DOX_LETTERPDF)
+
+#
+# Rules for creating the top-level README file. There does not appear
+# to be an easy way to know if AC_PATH_PROG found something in
+# configure.ac (!), so put a run-time check here to see if we have
+# w3c.
+#
+# Just like BUILD_DOXYGEN, BUILD_README will automatically be false if
+# we're not building standalone.
+#
+@HWLOC_BUILD_README_TRUE@readme: $(HWLOC_top_srcdir)/README
+@HWLOC_BUILD_README_TRUE@$(HWLOC_top_srcdir)/README: $(DOX_TAG)
+@HWLOC_BUILD_README_TRUE@ sed -n -f $(srcdir)/README.sed $(DOX_HTML_DIR)/index.html > $(DOX_HTML_README)
+@HWLOC_BUILD_README_TRUE@ LC_ALL=C $(HWLOC_W3_GENERATOR) $(DOX_HTML_README) \
+@HWLOC_BUILD_README_TRUE@ | $(SED) -n -e 's/^ //' -e '/^Introduction$$/,$$p' \
+@HWLOC_BUILD_README_TRUE@ | $(SED) -e '/^Installation$$/,$$ d' \
+@HWLOC_BUILD_README_TRUE@ > $@
+@HWLOC_BUILD_README_TRUE@ echo >> $@
+@HWLOC_BUILD_README_TRUE@ echo >> $@
+@HWLOC_BUILD_README_TRUE@ echo "See https://www.open-mpi.org/projects/hwloc/doc/ for more hwloc documentation." >> $@
+@HWLOC_BUILD_README_TRUE@ rm -f $(DOX_HTML_README)
+
+# When we don't have what's needed to build the README, nothing to do
+@HWLOC_BUILD_README_FALSE@readme: doc
+
+all-local: doc readme
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+s/\–/--/g
+s/©/(c)/g
+s/é/é/g
+p
--- /dev/null
+# Copyright © 2010-2013 Inria. All rights reserved.
+# Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+# See big comments in doxygen.cfg about the purpose of this file.
+
+PROJECT_NUMBER = @PACKAGE_VERSION@
+
+INPUT = \
+ @top_srcdir@/doc/hwloc.doxy \
+ @top_srcdir@/include/hwloc.h \
+ @top_srcdir@/include/hwloc/helper.h \
+ @top_srcdir@/include/hwloc/bitmap.h \
+ @top_srcdir@/include/hwloc/linux.h \
+ @top_srcdir@/include/hwloc/linux-libnuma.h \
+ @top_srcdir@/include/hwloc/glibc-sched.h \
+ @top_srcdir@/include/hwloc/opencl.h \
+ @top_srcdir@/include/hwloc/cuda.h \
+ @top_srcdir@/include/hwloc/cudart.h \
+ @top_srcdir@/include/hwloc/nvml.h \
+ @top_srcdir@/include/hwloc/gl.h \
+ @top_srcdir@/include/hwloc/intel-mic.h \
+ @top_srcdir@/include/hwloc/openfabrics-verbs.h \
+ @top_srcdir@/include/hwloc/myriexpress.h \
+ @top_srcdir@/include/hwloc/diff.h \
+ @top_srcdir@/include/hwloc/plugins.h
+
+EXAMPLE_PATH = @top_srcdir@/doc
+
+IMAGE_PATH = @top_srcdir@/doc/images images
+
+INCLUDE_PATH = @top_srcdir@/doc
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">hwloc.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2019 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2012 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">/*=====================================================================</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * PLEASE GO READ THE DOCUMENTATION!</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * ------------------------------------------------</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * $tarball_directory/doc/doxygen-doc/</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * or</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * http://www.open-mpi.org/projects/hwloc/doc/</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *=====================================================================</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * FAIR WARNING: Do NOT expect to be able to figure out all the</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * subtleties of hwloc by simply reading function prototypes and</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * constant descrptions here in this file.</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> *</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * Hwloc has wonderful documentation in both PDF and HTML formats for</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * your reading pleasure. The formal documentation explains a LOT of</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * hwloc-specific concepts, provides definitions, and discusses the</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * "big picture" for many of the things that you'll find here in this</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * header file.</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> *</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * The PDF/HTML documentation was generated via Doxygen; much of what</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * you'll see in there is also here in this file. BUT THERE IS A LOT</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * THAT IS IN THE PDF/HTML THAT IS ***NOT*** IN hwloc.h!</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> *</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> * There are entire paragraph-length descriptions, discussions, and</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> * pretty prictures to explain subtle corner cases, provide concrete</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * examples, etc.</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> *</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> * Please, go read the documentation. :-)</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> *</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> * Moreover there are several examples of hwloc use under doc/examples</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> * in the source tree.</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> *</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> *=====================================================================*/</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#ifndef HWLOC_H</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#define HWLOC_H</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#include <sys/types.h></span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#include <string.h></span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#include <limits.h></span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">/*</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"> * Symbol transforms</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> */</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#include <hwloc/rename.h></span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment">/*</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment"> * Bitmap definitions</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> */</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor">#include <hwloc/bitmap.h></span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="a00149.html#ga8f4dfb8eef138af55dd1a0fa802e5476"> 88</a></span> <span class="preprocessor">#define HWLOC_API_VERSION 0x00010b06</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <a class="code" href="a00149.html#ga9c0b50c98add1adf57ed1ce85bb5190d">hwloc_get_api_version</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="a00149.html#gaac5bc1f46f55e10ef0141a68ce70e21f"> 97</a></span> <span class="preprocessor">#define HWLOC_COMPONENT_ABI 4</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801"> 132</a></span> <span class="keyword">typedef</span> <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a>;</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25"> 134</a></span> <span class="keyword">typedef</span> <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a>;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508"> 151</a></span> <span class="keyword">typedef</span> <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <a class="code" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a>;</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c"> 154</a></span> <span class="keyword">typedef</span> <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a>;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55"> 170</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="comment">/* ***************************************************************</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="comment"> WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"></span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"> If new enum values are added here, you MUST also go update the</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> obj_type_order[] and obj_order_type[] arrays in src/topology.c.</span></div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"></span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> *************************************************************** */</span></div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec"> 180</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec">HWLOC_OBJ_SYSTEM</a>, </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80"> 185</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80">HWLOC_OBJ_MACHINE</a>, </div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a"> 190</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>, </div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129"> 199</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129">HWLOC_OBJ_PACKAGE</a>, </div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc"> 204</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a>, </div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f"> 207</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f">HWLOC_OBJ_CORE</a>, </div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661"> 211</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661">HWLOC_OBJ_PU</a>, </div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56"> 220</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56">HWLOC_OBJ_GROUP</a>, </div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d"> 233</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d">HWLOC_OBJ_MISC</a>, </div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0"> 239</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0">HWLOC_OBJ_BRIDGE</a>, </div><div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"> 246</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a>, </div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075"> 251</a></span>  <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075">HWLOC_OBJ_OS_DEVICE</a>, </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  HWLOC_OBJ_TYPE_MAX </div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="comment">/* ***************************************************************</span></div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="comment"> WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING</span></div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="comment"></span></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="comment"> If new enum values are added here, you MUST also go update the</span></div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="comment"> obj_type_order[] and obj_order_type[] arrays in src/topology.c.</span></div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment"></span></div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="comment"> WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment"> *************************************************************** */</span></div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> } <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a>;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="a00151.html#ga791c9875c8fe20f3e1e5871e0657e59b"> 270</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="a00151.html#ga791c9875c8fe20f3e1e5871e0657e59b">hwloc_obj_cache_type_e</a> {</div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a"> 271</a></span>  <a class="code" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a">HWLOC_OBJ_CACHE_UNIFIED</a>, </div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488"> 272</a></span>  <a class="code" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488">HWLOC_OBJ_CACHE_DATA</a>, </div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658"> 273</a></span>  <a class="code" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658">HWLOC_OBJ_CACHE_INSTRUCTION</a> </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> } <a class="code" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a>;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div><div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="a00151.html#ga48a4803c72574191d7ead1c62aaf9860"> 278</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="a00151.html#ga48a4803c72574191d7ead1c62aaf9860">hwloc_obj_bridge_type_e</a> {</div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574"> 279</a></span>  <a class="code" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574">HWLOC_OBJ_BRIDGE_HOST</a>, </div><div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60"> 280</a></span>  <a class="code" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60">HWLOC_OBJ_BRIDGE_PCI</a> </div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> } <a class="code" href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a>;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> </div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="a00151.html#ga64f5d539df299c97ae80ce53fc4b56c0"> 284</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="a00151.html#ga64f5d539df299c97ae80ce53fc4b56c0">hwloc_obj_osdev_type_e</a> {</div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871"> 285</a></span>  <a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871">HWLOC_OBJ_OSDEV_BLOCK</a>, </div><div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90"> 287</a></span>  <a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a>, </div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b"> 290</a></span>  <a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b">HWLOC_OBJ_OSDEV_NETWORK</a>, </div><div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6"> 292</a></span>  <a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6">HWLOC_OBJ_OSDEV_OPENFABRICS</a>, </div><div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791"> 295</a></span>  <a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791">HWLOC_OBJ_OSDEV_DMA</a>, </div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83"> 297</a></span>  <a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a> </div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> } <a class="code" href="a00151.html#ga90c1e82a60ba5871d07645169e636987">hwloc_obj_osdev_type_t</a>;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00151.html#ga1820ea0dfd8e9dca28f9ea7624df5ae2">hwloc_compare_types</a> (hwloc_obj_type_t type1, hwloc_obj_type_t type2) __hwloc_attribute_const;</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div><div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="a00151.html#ga46323568968005137c32f6a1cd405b74"> 322</a></span> <span class="keyword">enum</span> <a class="code" href="a00151.html#ga46323568968005137c32f6a1cd405b74">hwloc_compare_types_e</a> {</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="a00151.html#gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb"> 323</a></span>  <a class="code" href="a00151.html#gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb">HWLOC_TYPE_UNORDERED</a> = INT_MAX </div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> };</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="keyword">union </span><a class="code" href="a00208.html">hwloc_obj_attr_u</a>;</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="a00196.html"> 337</a></span> <span class="keyword">struct </span><a class="code" href="a00196.html">hwloc_obj_memory_s</a> {</div><div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="a00196.html#a8befd0b3f4f8b695cafed04b31f36a44"> 338</a></span>  hwloc_uint64_t <a class="code" href="a00196.html#a8befd0b3f4f8b695cafed04b31f36a44">total_memory</a>; </div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a"> 339</a></span>  hwloc_uint64_t <a class="code" href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">local_memory</a>; </div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="a00196.html#a208c27f4491077d7fb9ba5db8b29cb57"> 342</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00196.html#a208c27f4491077d7fb9ba5db8b29cb57">page_types_len</a>;</div><div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="a00200.html"> 348</a></span>  <span class="keyword">struct </span><a class="code" href="a00200.html">hwloc_obj_memory_page_type_s</a> {</div><div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="a00200.html#a3f1d261766352288791512974665ce01"> 349</a></span>  hwloc_uint64_t <a class="code" href="a00200.html#a3f1d261766352288791512974665ce01">size</a>; </div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="a00200.html#aa5b9fa36f1dc47ff3c345fe4dd06b260"> 350</a></span>  hwloc_uint64_t <a class="code" href="a00200.html#aa5b9fa36f1dc47ff3c345fe4dd06b260">count</a>; </div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  } * <a class="code" href="a00196.html#a865eba7b12b986d72dbe7a2cfd97c50d">page_types</a>;</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span> };</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div><div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="a00204.html"> 358</a></span> <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> {</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="comment">/* physical information */</span></div><div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="a00204.html#acc4f0803f244867e68fe0036800be5de"> 360</a></span>  hwloc_obj_type_t <a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a>; </div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9"> 362</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>; </div><div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d"> 366</a></span>  <span class="keywordtype">char</span> *<a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>; </div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="a00204.html#a1dc830816716213b5f797e4052487864"> 371</a></span>  <span class="keyword">struct </span><a class="code" href="a00196.html">hwloc_obj_memory_s</a> memory; </div><div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8"> 373</a></span>  <span class="keyword">union </span><a class="code" href="a00208.html">hwloc_obj_attr_u</a> *<a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>; </div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="comment">/* global position */</span></div><div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5"> 377</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>; </div><div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9"> 392</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">logical_index</a>; </div><div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde"> 396</a></span>  <span class="keywordtype">signed</span> <a class="code" href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde">os_level</a>; </div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="comment">/* cousins are all objects of the same type (and depth) across the entire topology */</span></div><div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="a00204.html#a85a788017457129589318b6c39451acf"> 399</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00204.html#a85a788017457129589318b6c39451acf">next_cousin</a>; </div><div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0"> 400</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0">prev_cousin</a>; </div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="comment">/* children of the same parent are siblings, even if they may have different type and depth */</span></div><div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="a00204.html#adc494f6aed939992be1c55cca5822900"> 403</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>; </div><div class="line"><a name="l00404"></a><span class="lineno"><a class="line" href="a00204.html#aaa6043eee6f55869933c1d974efd9acd"> 404</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#aaa6043eee6f55869933c1d974efd9acd">sibling_rank</a>; </div><div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40"> 405</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">next_sibling</a>; </div><div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="a00204.html#a7b89e8c189876c0158a9282aaaf17f50"> 406</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00204.html#a7b89e8c189876c0158a9282aaaf17f50">prev_sibling</a>; </div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="comment">/* children array below this object */</span></div><div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1"> 409</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">arity</a>; </div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f"> 410</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> **<a class="code" href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">children</a>; </div><div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc"> 411</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">first_child</a>; </div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="a00204.html#a84bd65634dbc55f4158b74443a9bd04f"> 412</a></span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00204.html#a84bd65634dbc55f4158b74443a9bd04f">last_child</a>; </div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="comment">/* misc */</span></div><div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="a00204.html#a76fd3ac94401cf32dfccc3a3a8de68a5"> 415</a></span>  <span class="keywordtype">void</span> *<a class="code" href="a00204.html#a76fd3ac94401cf32dfccc3a3a8de68a5">userdata</a>; </div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="comment">/* cpusets and nodesets */</span></div><div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f"> 421</a></span>  hwloc_cpuset_t <a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>; </div><div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="a00204.html#a91788a9da687beb7224cc1fd7b75208c"> 434</a></span>  hwloc_cpuset_t <a class="code" href="a00204.html#a91788a9da687beb7224cc1fd7b75208c">complete_cpuset</a>; </div><div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="a00204.html#a8842d56c2975380f327ea401c5f53564"> 445</a></span>  hwloc_cpuset_t <a class="code" href="a00204.html#a8842d56c2975380f327ea401c5f53564">online_cpuset</a>; </div><div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34"> 453</a></span>  hwloc_cpuset_t <a class="code" href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34">allowed_cpuset</a>; </div><div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3"> 464</a></span>  hwloc_nodeset_t <a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>; </div><div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="a00204.html#ac38c4012127525ef74c5615c526f4c2e"> 481</a></span>  hwloc_nodeset_t <a class="code" href="a00204.html#ac38c4012127525ef74c5615c526f4c2e">complete_nodeset</a>; </div><div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531"> 495</a></span>  hwloc_nodeset_t <a class="code" href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531">allowed_nodeset</a>; </div><div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6"> 508</a></span>  <span class="keyword">struct </span><a class="code" href="a00244.html">hwloc_distances_s</a> **<a class="code" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">distances</a>; </div><div class="line"><a name="l00509"></a><span class="lineno"><a class="line" href="a00204.html#a8be6f63eca4da91000c832280db927b7"> 509</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#a8be6f63eca4da91000c832280db927b7">distances_count</a>;</div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span> </div><div class="line"><a name="l00511"></a><span class="lineno"><a class="line" href="a00204.html#ad59bcd73a10260a0e239be5c4b5888bb"> 511</a></span>  <span class="keyword">struct </span><a class="code" href="a00248.html">hwloc_obj_info_s</a> *<a class="code" href="a00204.html#ad59bcd73a10260a0e239be5c4b5888bb">infos</a>; </div><div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="a00204.html#a9843acc28cfbba903b63ea14b137ff70"> 512</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#a9843acc28cfbba903b63ea14b137ff70">infos_count</a>; </div><div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="a00204.html#a0f41a1d67dc6b661906f2217563637f3"> 514</a></span>  <span class="keywordtype">int</span> <a class="code" href="a00204.html#a0f41a1d67dc6b661906f2217563637f3">symmetric_subtree</a>; </div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span> };</div><div class="line"><a name="l00523"></a><span class="lineno"><a class="line" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d"> 523</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> * <a class="code" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a>;</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span> </div><div class="line"><a name="l00526"></a><span class="lineno"><a class="line" href="a00208.html"> 526</a></span> <span class="keyword">union </span><a class="code" href="a00208.html">hwloc_obj_attr_u</a> {</div><div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="a00212.html"> 528</a></span>  <span class="keyword">struct </span><a class="code" href="a00212.html">hwloc_cache_attr_s</a> {</div><div class="line"><a name="l00529"></a><span class="lineno"><a class="line" href="a00212.html#abe5e788943ed04302976740c829674c0"> 529</a></span>  hwloc_uint64_t <a class="code" href="a00212.html#abe5e788943ed04302976740c829674c0">size</a>; </div><div class="line"><a name="l00530"></a><span class="lineno"><a class="line" href="a00212.html#a5c8f7f39193736c2187ed626940835d5"> 530</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00212.html#a5c8f7f39193736c2187ed626940835d5">depth</a>; </div><div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="a00212.html#a801e8a668e28caf06c8b88e9ae5c10db"> 531</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00212.html#a801e8a668e28caf06c8b88e9ae5c10db">linesize</a>; </div><div class="line"><a name="l00532"></a><span class="lineno"><a class="line" href="a00212.html#ad06525e474d1e2d1423ed71bb998592d"> 532</a></span>  <span class="keywordtype">int</span> <a class="code" href="a00212.html#ad06525e474d1e2d1423ed71bb998592d">associativity</a>; </div><div class="line"><a name="l00534"></a><span class="lineno"><a class="line" href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4"> 534</a></span>  hwloc_obj_cache_type_t <a class="code" href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">type</a>; </div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  } cache;</div><div class="line"><a name="l00537"></a><span class="lineno"><a class="line" href="a00216.html"> 537</a></span>  <span class="keyword">struct </span><a class="code" href="a00216.html">hwloc_group_attr_s</a> {</div><div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="a00216.html#ad914eac61c77481e1b7037877bcc5579"> 538</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00216.html#ad914eac61c77481e1b7037877bcc5579">depth</a>; </div><div class="line"><a name="l00539"></a><span class="lineno"><a class="line" href="a00216.html#afa253d4b70f92e940c226d61f192054f"> 539</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00216.html#afa253d4b70f92e940c226d61f192054f">dont_merge</a>; </div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  } group;</div><div class="line"><a name="l00542"></a><span class="lineno"><a class="line" href="a00220.html"> 542</a></span>  <span class="keyword">struct </span><a class="code" href="a00220.html">hwloc_pcidev_attr_s</a> {</div><div class="line"><a name="l00543"></a><span class="lineno"><a class="line" href="a00220.html#a8fba44988deb98613c1505a4019a34dc"> 543</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">domain</a>;</div><div class="line"><a name="l00544"></a><span class="lineno"><a class="line" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f"> 544</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bus, dev, <a class="code" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">func</a>;</div><div class="line"><a name="l00545"></a><span class="lineno"><a class="line" href="a00220.html#aee735352d9f1686fd290fc6d6397c334"> 545</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="a00220.html#aee735352d9f1686fd290fc6d6397c334">class_id</a>;</div><div class="line"><a name="l00546"></a><span class="lineno"><a class="line" href="a00220.html#aad970ad19b62eb2d5df30e4802da4f4c"> 546</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="a00220.html#aad970ad19b62eb2d5df30e4802da4f4c">vendor_id</a>, device_id, subvendor_id, subdevice_id;</div><div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="a00220.html#a13ad54c93d08d8ac808e4de9674c5ee7"> 547</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00220.html#a13ad54c93d08d8ac808e4de9674c5ee7">revision</a>;</div><div class="line"><a name="l00548"></a><span class="lineno"><a class="line" href="a00220.html#a59b2fce35f7cbde86c4fd305d0ccda5f"> 548</a></span>  <span class="keywordtype">float</span> <a class="code" href="a00220.html#a59b2fce35f7cbde86c4fd305d0ccda5f">linkspeed</a>; <span class="comment">/* in GB/s */</span></div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  } pcidev;</div><div class="line"><a name="l00551"></a><span class="lineno"><a class="line" href="a00224.html"> 551</a></span>  <span class="keyword">struct </span><a class="code" href="a00224.html">hwloc_bridge_attr_s</a> {</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  <span class="keyword">union </span>{</div><div class="line"><a name="l00553"></a><span class="lineno"><a class="line" href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e"> 553</a></span>  <span class="keyword">struct </span><a class="code" href="a00220.html">hwloc_pcidev_attr_s</a> pci;</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span>  } upstream;</div><div class="line"><a name="l00555"></a><span class="lineno"><a class="line" href="a00224.html#a265dd2164aa2df4972e25a029da72125"> 555</a></span>  hwloc_obj_bridge_type_t <a class="code" href="a00224.html#a265dd2164aa2df4972e25a029da72125">upstream_type</a>;</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <span class="keyword">union </span>{</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  <span class="keyword">struct </span>{</div><div class="line"><a name="l00558"></a><span class="lineno"><a class="line" href="a00224.html#a2c31e565a5f0d23d0a0a3dd3ec8f4b17"> 558</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="a00224.html#a2c31e565a5f0d23d0a0a3dd3ec8f4b17">domain</a>;</div><div class="line"><a name="l00559"></a><span class="lineno"><a class="line" href="a00224.html#af3f3f7d76bf03e8d2afa721c2b8d6771"> 559</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> secondary_bus, <a class="code" href="a00224.html#af3f3f7d76bf03e8d2afa721c2b8d6771">subordinate_bus</a>;</div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  } pci;</div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  } downstream;</div><div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="a00224.html#ac6a169b672d0e9f75756fd5665828b93"> 562</a></span>  hwloc_obj_bridge_type_t <a class="code" href="a00224.html#ac6a169b672d0e9f75756fd5665828b93">downstream_type</a>;</div><div class="line"><a name="l00563"></a><span class="lineno"><a class="line" href="a00224.html#a336c8b22893d5d734d8c9dfca4066b46"> 563</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00224.html#a336c8b22893d5d734d8c9dfca4066b46">depth</a>;</div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  } bridge;</div><div class="line"><a name="l00566"></a><span class="lineno"><a class="line" href="a00240.html"> 566</a></span>  <span class="keyword">struct </span><a class="code" href="a00240.html">hwloc_osdev_attr_s</a> {</div><div class="line"><a name="l00567"></a><span class="lineno"><a class="line" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9"> 567</a></span>  hwloc_obj_osdev_type_t <a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a>;</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  } osdev;</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span> };</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="a00244.html"> 584</a></span> <span class="keyword">struct </span><a class="code" href="a00244.html">hwloc_distances_s</a> {</div><div class="line"><a name="l00585"></a><span class="lineno"><a class="line" href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7"> 585</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">relative_depth</a>; </div><div class="line"><a name="l00587"></a><span class="lineno"><a class="line" href="a00244.html#a4ca2af858cebbce7324ec49903d09474"> 587</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00244.html#a4ca2af858cebbce7324ec49903d09474">nbobjs</a>; </div><div class="line"><a name="l00592"></a><span class="lineno"><a class="line" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9"> 592</a></span>  <span class="keywordtype">float</span> *<a class="code" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">latency</a>; </div><div class="line"><a name="l00604"></a><span class="lineno"><a class="line" href="a00244.html#aab61bd1d1ae2e121bfe793c973ec829e"> 604</a></span>  <span class="keywordtype">float</span> <a class="code" href="a00244.html#aab61bd1d1ae2e121bfe793c973ec829e">latency_max</a>; </div><div class="line"><a name="l00605"></a><span class="lineno"><a class="line" href="a00244.html#a204416418049a272bfb51602fc676342"> 605</a></span>  <span class="keywordtype">float</span> <a class="code" href="a00244.html#a204416418049a272bfb51602fc676342">latency_base</a>; </div><div class="line"><a name="l00609"></a><span class="lineno"> 609</span> };</div><div class="line"><a name="l00610"></a><span class="lineno"> 610</span> </div><div class="line"><a name="l00615"></a><span class="lineno"><a class="line" href="a00248.html"> 615</a></span> <span class="keyword">struct </span><a class="code" href="a00248.html">hwloc_obj_info_s</a> {</div><div class="line"><a name="l00616"></a><span class="lineno"><a class="line" href="a00248.html#a115dde58f40338a2d3276d59c099857d"> 616</a></span>  <span class="keywordtype">char</span> *<a class="code" href="a00248.html#a115dde58f40338a2d3276d59c099857d">name</a>; </div><div class="line"><a name="l00617"></a><span class="lineno"><a class="line" href="a00248.html#a522efd7f5262a4493a73fa3476a041ce"> 617</a></span>  <span class="keywordtype">char</span> *<a class="code" href="a00248.html#a522efd7f5262a4493a73fa3476a041ce">value</a>; </div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span> };</div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span> </div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span> <span class="keyword">struct </span>hwloc_topology;</div><div class="line"><a name="l00633"></a><span class="lineno"><a class="line" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38"> 633</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>hwloc_topology * <a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a>;</div><div class="line"><a name="l00634"></a><span class="lineno"> 634</span> </div><div class="line"><a name="l00641"></a><span class="lineno"> 641</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa">hwloc_topology_init</a> (hwloc_topology_t *topologyp);</div><div class="line"><a name="l00642"></a><span class="lineno"> 642</span> </div><div class="line"><a name="l00663"></a><span class="lineno"> 663</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826">hwloc_topology_load</a>(hwloc_topology_t topology);</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span> </div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00153.html#ga9f34a640b6fd28d23699d4d084667b15">hwloc_topology_destroy</a> (hwloc_topology_t topology);</div><div class="line"><a name="l00670"></a><span class="lineno"> 670</span> </div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00153.html#ga62a161fc5e6f120344dc69a7bee4e587">hwloc_topology_dup</a>(hwloc_topology_t *newtopology, hwloc_topology_t oldtopology);</div><div class="line"><a name="l00682"></a><span class="lineno"> 682</span> </div><div class="line"><a name="l00694"></a><span class="lineno"> 694</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00153.html#gaf6746bc3a558ef1ac8348b4491d091b5">hwloc_topology_check</a>(hwloc_topology_t topology);</div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span> </div><div class="line"><a name="l00732"></a><span class="lineno"> 732</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#gafcf30842e8cb47b4c3dcaebecea31e17">hwloc_topology_ignore_type</a>(hwloc_topology_t topology, hwloc_obj_type_t type);</div><div class="line"><a name="l00733"></a><span class="lineno"> 733</span> </div><div class="line"><a name="l00742"></a><span class="lineno"> 742</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga1f987bca941d6949faf7b1554dd7bc12">hwloc_topology_ignore_type_keep_structure</a>(hwloc_topology_t topology, hwloc_obj_type_t type);</div><div class="line"><a name="l00743"></a><span class="lineno"> 743</span> </div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga7c9cf147442d65d755c664ccde3bb3ef">hwloc_topology_ignore_all_keep_structure</a>(hwloc_topology_t topology);</div><div class="line"><a name="l00751"></a><span class="lineno"> 751</span> </div><div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="a00154.html#gada025d3ec20b4b420f8038d23d6e7bde"> 757</a></span> <span class="keyword">enum</span> <a class="code" href="a00154.html#gada025d3ec20b4b420f8038d23d6e7bde">hwloc_topology_flags_e</a> {</div><div class="line"><a name="l00773"></a><span class="lineno"><a class="line" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8"> 773</a></span>  <a class="code" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8">HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</a> = (1UL<<0),</div><div class="line"><a name="l00774"></a><span class="lineno"> 774</span> </div><div class="line"><a name="l00793"></a><span class="lineno"><a class="line" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b"> 793</a></span>  <a class="code" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> = (1UL<<1),</div><div class="line"><a name="l00794"></a><span class="lineno"> 794</span> </div><div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41"> 806</a></span>  <a class="code" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41">HWLOC_TOPOLOGY_FLAG_IO_DEVICES</a> = (1UL<<2),</div><div class="line"><a name="l00807"></a><span class="lineno"> 807</span> </div><div class="line"><a name="l00815"></a><span class="lineno"><a class="line" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea426b18c349f15d7046bb391d96fa947c"> 815</a></span>  <a class="code" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea426b18c349f15d7046bb391d96fa947c">HWLOC_TOPOLOGY_FLAG_IO_BRIDGES</a> = (1UL<<3),</div><div class="line"><a name="l00816"></a><span class="lineno"> 816</span> </div><div class="line"><a name="l00825"></a><span class="lineno"><a class="line" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9"> 825</a></span>  <a class="code" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9">HWLOC_TOPOLOGY_FLAG_WHOLE_IO</a> = (1UL<<4),</div><div class="line"><a name="l00826"></a><span class="lineno"> 826</span> </div><div class="line"><a name="l00833"></a><span class="lineno"><a class="line" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d"> 833</a></span>  <a class="code" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d">HWLOC_TOPOLOGY_FLAG_ICACHES</a> = (1UL<<5),</div><div class="line"><a name="l00834"></a><span class="lineno"> 834</span> </div><div class="line"><a name="l00854"></a><span class="lineno"><a class="line" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89"> 854</a></span>  <a class="code" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89">HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES</a> = (1UL<<6)</div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span> };</div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span> </div><div class="line"><a name="l00866"></a><span class="lineno"> 866</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b">hwloc_topology_set_flags</a> (hwloc_topology_t topology, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div><div class="line"><a name="l00867"></a><span class="lineno"> 867</span> </div><div class="line"><a name="l00874"></a><span class="lineno"> 874</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00154.html#ga09318f81c1d4713be907d64748a6f93c">hwloc_topology_get_flags</a> (hwloc_topology_t topology);</div><div class="line"><a name="l00875"></a><span class="lineno"> 875</span> </div><div class="line"><a name="l00890"></a><span class="lineno"> 890</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga341fc17b5867a4715570baab131f68cd">hwloc_topology_set_pid</a>(hwloc_topology_t __hwloc_restrict topology, hwloc_pid_t pid);</div><div class="line"><a name="l00891"></a><span class="lineno"> 891</span> </div><div class="line"><a name="l00918"></a><span class="lineno"> 918</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#gac0ea95d5f2ad78408bc267a0441c7c97">hwloc_topology_set_fsroot</a>(hwloc_topology_t __hwloc_restrict topology, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict fsroot_path);</div><div class="line"><a name="l00919"></a><span class="lineno"> 919</span> </div><div class="line"><a name="l00947"></a><span class="lineno"> 947</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga4fab186bb6181a00bcf585825fddd38d">hwloc_topology_set_synthetic</a>(hwloc_topology_t __hwloc_restrict topology, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict description);</div><div class="line"><a name="l00948"></a><span class="lineno"> 948</span> </div><div class="line"><a name="l00975"></a><span class="lineno"> 975</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e">hwloc_topology_set_xml</a>(hwloc_topology_t __hwloc_restrict topology, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict xmlpath);</div><div class="line"><a name="l00976"></a><span class="lineno"> 976</span> </div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga2745616b65595e1c1e579ecc7e461fa8">hwloc_topology_set_xmlbuffer</a>(hwloc_topology_t __hwloc_restrict topology, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict buffer, <span class="keywordtype">int</span> <a class="code" href="a00200.html#a3f1d261766352288791512974665ce01">size</a>);</div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> </div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f">hwloc_topology_set_custom</a>(hwloc_topology_t topology);</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span> </div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga90ed5733946b2e9aba90d2e2c1fbfbd7">hwloc_topology_set_distance_matrix</a>(hwloc_topology_t __hwloc_restrict topology,</div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>  hwloc_obj_type_t type, <span class="keywordtype">unsigned</span> nbobjs,</div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>  <span class="keywordtype">unsigned</span> *os_index, <span class="keywordtype">float</span> *distances);</div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span> </div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure;</div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span> </div><div class="line"><a name="l01058"></a><span class="lineno"><a class="line" href="a00252.html"> 1058</a></span> <span class="keyword">struct </span><a class="code" href="a00252.html">hwloc_topology_discovery_support</a> {</div><div class="line"><a name="l01060"></a><span class="lineno"><a class="line" href="a00252.html#ad7bb4ecf7a82f5a04fc632e9592ad3ab"> 1060</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00252.html#ad7bb4ecf7a82f5a04fc632e9592ad3ab">pu</a>;</div><div class="line"><a name="l01061"></a><span class="lineno"> 1061</span> };</div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span> </div><div class="line"><a name="l01068"></a><span class="lineno"><a class="line" href="a00256.html"> 1068</a></span> <span class="keyword">struct </span><a class="code" href="a00256.html">hwloc_topology_cpubind_support</a> {</div><div class="line"><a name="l01070"></a><span class="lineno"><a class="line" href="a00256.html#a9403d51657a4d546b3ea9553a2973a27"> 1070</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a9403d51657a4d546b3ea9553a2973a27">set_thisproc_cpubind</a>;</div><div class="line"><a name="l01072"></a><span class="lineno"><a class="line" href="a00256.html#a77a09ddd78ee3e9ff5f532a6ac74f7eb"> 1072</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a77a09ddd78ee3e9ff5f532a6ac74f7eb">get_thisproc_cpubind</a>;</div><div class="line"><a name="l01074"></a><span class="lineno"><a class="line" href="a00256.html#aa166223d1c2a6de7256ab2d8b675a87e"> 1074</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#aa166223d1c2a6de7256ab2d8b675a87e">set_proc_cpubind</a>;</div><div class="line"><a name="l01076"></a><span class="lineno"><a class="line" href="a00256.html#aae705bc447adc163ead377362c4dfe9f"> 1076</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#aae705bc447adc163ead377362c4dfe9f">get_proc_cpubind</a>;</div><div class="line"><a name="l01078"></a><span class="lineno"><a class="line" href="a00256.html#a57a89a4b5f1f74fa6cfe176f1e8b0798"> 1078</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a57a89a4b5f1f74fa6cfe176f1e8b0798">set_thisthread_cpubind</a>;</div><div class="line"><a name="l01080"></a><span class="lineno"><a class="line" href="a00256.html#a80d762e532d677dff262d83cc7bb1c60"> 1080</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a80d762e532d677dff262d83cc7bb1c60">get_thisthread_cpubind</a>;</div><div class="line"><a name="l01082"></a><span class="lineno"><a class="line" href="a00256.html#a46fba33e307909ce256624687799dd6d"> 1082</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a46fba33e307909ce256624687799dd6d">set_thread_cpubind</a>;</div><div class="line"><a name="l01084"></a><span class="lineno"><a class="line" href="a00256.html#a8dd4d8531ed2eebdce1507e7d104154e"> 1084</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a8dd4d8531ed2eebdce1507e7d104154e">get_thread_cpubind</a>;</div><div class="line"><a name="l01086"></a><span class="lineno"><a class="line" href="a00256.html#ad2d5c94b738d92b7d2ede87e4e96321d"> 1086</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#ad2d5c94b738d92b7d2ede87e4e96321d">get_thisproc_last_cpu_location</a>;</div><div class="line"><a name="l01088"></a><span class="lineno"><a class="line" href="a00256.html#a2554620148b7992a5093f338f5ae254f"> 1088</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a2554620148b7992a5093f338f5ae254f">get_proc_last_cpu_location</a>;</div><div class="line"><a name="l01090"></a><span class="lineno"><a class="line" href="a00256.html#a6be1f042fdce6bf41b4ea39f6f193808"> 1090</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00256.html#a6be1f042fdce6bf41b4ea39f6f193808">get_thisthread_last_cpu_location</a>;</div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> };</div><div class="line"><a name="l01092"></a><span class="lineno"> 1092</span> </div><div class="line"><a name="l01098"></a><span class="lineno"><a class="line" href="a00260.html"> 1098</a></span> <span class="keyword">struct </span><a class="code" href="a00260.html">hwloc_topology_membind_support</a> {</div><div class="line"><a name="l01100"></a><span class="lineno"><a class="line" href="a00260.html#a36b3e388df9c6a249427cab7e3724749"> 1100</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a36b3e388df9c6a249427cab7e3724749">set_thisproc_membind</a>;</div><div class="line"><a name="l01102"></a><span class="lineno"><a class="line" href="a00260.html#a3fd51e6fa5f0dd800322301b46b08559"> 1102</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a3fd51e6fa5f0dd800322301b46b08559">get_thisproc_membind</a>;</div><div class="line"><a name="l01104"></a><span class="lineno"><a class="line" href="a00260.html#a756f44912894b176bf979a1b65f12aac"> 1104</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a756f44912894b176bf979a1b65f12aac">set_proc_membind</a>;</div><div class="line"><a name="l01106"></a><span class="lineno"><a class="line" href="a00260.html#a9880cd2d605e316fc020167c49ca69ad"> 1106</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a9880cd2d605e316fc020167c49ca69ad">get_proc_membind</a>;</div><div class="line"><a name="l01108"></a><span class="lineno"><a class="line" href="a00260.html#a0697af2e41f2e82b8ce71e3cc13f7eac"> 1108</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a0697af2e41f2e82b8ce71e3cc13f7eac">set_thisthread_membind</a>;</div><div class="line"><a name="l01110"></a><span class="lineno"><a class="line" href="a00260.html#a63b0b2e26157b472f5717ee93cc7c535"> 1110</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a63b0b2e26157b472f5717ee93cc7c535">get_thisthread_membind</a>;</div><div class="line"><a name="l01112"></a><span class="lineno"><a class="line" href="a00260.html#a476c06f96b65c08b287cf2369966123b"> 1112</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a476c06f96b65c08b287cf2369966123b">set_area_membind</a>;</div><div class="line"><a name="l01114"></a><span class="lineno"><a class="line" href="a00260.html#a0a84e24a06f2fa487fe8c9605c6f68b3"> 1114</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a0a84e24a06f2fa487fe8c9605c6f68b3">get_area_membind</a>;</div><div class="line"><a name="l01116"></a><span class="lineno"><a class="line" href="a00260.html#ae551abb27d2aa9ce008583488b845b98"> 1116</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#ae551abb27d2aa9ce008583488b845b98">alloc_membind</a>;</div><div class="line"><a name="l01118"></a><span class="lineno"><a class="line" href="a00260.html#a221098c339dbfab27bd2c9f5d32f123b"> 1118</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a221098c339dbfab27bd2c9f5d32f123b">firsttouch_membind</a>;</div><div class="line"><a name="l01120"></a><span class="lineno"><a class="line" href="a00260.html#ae7cdb1f1b5f0242a69f85b5a5538c764"> 1120</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#ae7cdb1f1b5f0242a69f85b5a5538c764">bind_membind</a>;</div><div class="line"><a name="l01122"></a><span class="lineno"><a class="line" href="a00260.html#a3c44c6012860bbeba8a0f4c19710858d"> 1122</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a3c44c6012860bbeba8a0f4c19710858d">interleave_membind</a>;</div><div class="line"><a name="l01124"></a><span class="lineno"><a class="line" href="a00260.html#afe608fb85eb2aa9706221ccb5fc4d415"> 1124</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#afe608fb85eb2aa9706221ccb5fc4d415">replicate_membind</a>;</div><div class="line"><a name="l01126"></a><span class="lineno"><a class="line" href="a00260.html#ab0921af6e0cd6975812a80b8e5c7435c"> 1126</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#ab0921af6e0cd6975812a80b8e5c7435c">nexttouch_membind</a>;</div><div class="line"><a name="l01128"></a><span class="lineno"><a class="line" href="a00260.html#aafa7683871a6a760246f9b35209caec5"> 1128</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#aafa7683871a6a760246f9b35209caec5">migrate_membind</a>;</div><div class="line"><a name="l01130"></a><span class="lineno"><a class="line" href="a00260.html#a30173553a68e0a4dd1672d26f8e892b1"> 1130</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="a00260.html#a30173553a68e0a4dd1672d26f8e892b1">get_area_memlocation</a>;</div><div class="line"><a name="l01131"></a><span class="lineno"> 1131</span> };</div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span> </div><div class="line"><a name="l01139"></a><span class="lineno"><a class="line" href="a00264.html"> 1139</a></span> <span class="keyword">struct </span><a class="code" href="a00264.html">hwloc_topology_support</a> {</div><div class="line"><a name="l01140"></a><span class="lineno"><a class="line" href="a00264.html#aea3fbd7653d987d81f848636c420504d"> 1140</a></span>  <span class="keyword">struct </span><a class="code" href="a00252.html">hwloc_topology_discovery_support</a> *<a class="code" href="a00264.html#aea3fbd7653d987d81f848636c420504d">discovery</a>;</div><div class="line"><a name="l01141"></a><span class="lineno"><a class="line" href="a00264.html#adef2bb91f74c3e70a2a071393caf5f56"> 1141</a></span>  <span class="keyword">struct </span><a class="code" href="a00256.html">hwloc_topology_cpubind_support</a> *<a class="code" href="a00264.html#adef2bb91f74c3e70a2a071393caf5f56">cpubind</a>;</div><div class="line"><a name="l01142"></a><span class="lineno"><a class="line" href="a00264.html#ac6eb62ae8bc0a68dce679a7107a36194"> 1142</a></span>  <span class="keyword">struct </span><a class="code" href="a00260.html">hwloc_topology_membind_support</a> *<a class="code" href="a00264.html#ac6eb62ae8bc0a68dce679a7107a36194">membind</a>;</div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span> };</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span> </div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span> HWLOC_DECLSPEC <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="a00264.html">hwloc_topology_support</a> *<a class="code" href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6">hwloc_topology_get_support</a>(hwloc_topology_t __hwloc_restrict topology);</div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span> </div><div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00154.html#ga2cc7b7b155cba58dda203e54f1637b9c">hwloc_topology_set_userdata</a>(hwloc_topology_t topology, <span class="keyword">const</span> <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l01167"></a><span class="lineno"> 1167</span> </div><div class="line"><a name="l01173"></a><span class="lineno"> 1173</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> * <a class="code" href="a00154.html#ga91f992f8d6c4905b2d3c4f43e509c2a3">hwloc_topology_get_userdata</a>(hwloc_topology_t topology);</div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span> </div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <a class="code" href="a00155.html#gafa4f8dbc4c2e74c0da8019446353eed1">hwloc_topology_get_depth</a>(hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure;</div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> </div><div class="line"><a name="l01221"></a><span class="lineno"> 1221</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a> (hwloc_topology_t topology, hwloc_obj_type_t type);</div><div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> </div><div class="line"><a name="l01223"></a><span class="lineno"><a class="line" href="a00155.html#gaf4e663cf42bbe20756b849c6293ef575"> 1223</a></span> <span class="keyword">enum</span> <a class="code" href="a00155.html#gaf4e663cf42bbe20756b849c6293ef575">hwloc_get_type_depth_e</a> {</div><div class="line"><a name="l01224"></a><span class="lineno"><a class="line" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad"> 1224</a></span>  <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a> = -1, </div><div class="line"><a name="l01225"></a><span class="lineno"><a class="line" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c"> 1225</a></span>  <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a> = -2, </div><div class="line"><a name="l01226"></a><span class="lineno"><a class="line" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90"> 1226</a></span>  <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90">HWLOC_TYPE_DEPTH_BRIDGE</a> = -3, </div><div class="line"><a name="l01227"></a><span class="lineno"><a class="line" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c"> 1227</a></span>  <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c">HWLOC_TYPE_DEPTH_PCI_DEVICE</a> = -4, </div><div class="line"><a name="l01228"></a><span class="lineno"><a class="line" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46"> 1228</a></span>  <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46">HWLOC_TYPE_DEPTH_OS_DEVICE</a> = -5 </div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span> };</div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span> </div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l01246"></a><span class="lineno"> 1246</span> <a class="code" href="a00155.html#ga8125328e69eba709c33ea8055c12589b">hwloc_get_type_or_below_depth</a> (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure;</div><div class="line"><a name="l01247"></a><span class="lineno"> 1247</span> </div><div class="line"><a name="l01262"></a><span class="lineno"> 1262</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> <a class="code" href="a00155.html#ga8a9ee573b7d2190272095d10712a7cca">hwloc_get_type_or_above_depth</a> (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure;</div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span> </div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span> HWLOC_DECLSPEC hwloc_obj_type_t <a class="code" href="a00155.html#ga8cc04ad9eb03b0b74d420adf8cc11ad2">hwloc_get_depth_type</a> (hwloc_topology_t topology, <span class="keywordtype">unsigned</span> depth) __hwloc_attribute_pure;</div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span> </div><div class="line"><a name="l01275"></a><span class="lineno"> 1275</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <a class="code" href="a00155.html#gab17065e3d53455973844568d9f21c72c">hwloc_get_nbobjs_by_depth</a> (hwloc_topology_t topology, <span class="keywordtype">unsigned</span> depth) __hwloc_attribute_pure;</div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span> </div><div class="line"><a name="l01282"></a><span class="lineno"> 1282</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> <a class="code" href="a00155.html#ga789a3f65aedff644be64a18526a03065">hwloc_get_nbobjs_by_type</a> (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure;</div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span> </div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span> <span class="keyword">static</span> __hwloc_inline hwloc_obj_t</div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a> (hwloc_topology_t topology) __hwloc_attribute_pure;</div><div class="line"><a name="l01292"></a><span class="lineno"> 1292</span> </div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span> HWLOC_DECLSPEC hwloc_obj_t <a class="code" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a> (hwloc_topology_t topology, <span class="keywordtype">unsigned</span> depth, <span class="keywordtype">unsigned</span> idx) __hwloc_attribute_pure;</div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span> </div><div class="line"><a name="l01302"></a><span class="lineno"> 1302</span> <span class="keyword">static</span> __hwloc_inline hwloc_obj_t</div><div class="line"><a name="l01303"></a><span class="lineno"> 1303</span> <a class="code" href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2">hwloc_get_obj_by_type</a> (hwloc_topology_t topology, hwloc_obj_type_t type, <span class="keywordtype">unsigned</span> idx) __hwloc_attribute_pure;</div><div class="line"><a name="l01304"></a><span class="lineno"> 1304</span> </div><div class="line"><a name="l01309"></a><span class="lineno"> 1309</span> <span class="keyword">static</span> __hwloc_inline hwloc_obj_t</div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span> <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a> (hwloc_topology_t topology, <span class="keywordtype">unsigned</span> depth, hwloc_obj_t prev);</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> </div><div class="line"><a name="l01318"></a><span class="lineno"> 1318</span> <span class="keyword">static</span> __hwloc_inline hwloc_obj_t</div><div class="line"><a name="l01319"></a><span class="lineno"> 1319</span> <a class="code" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a> (hwloc_topology_t topology, hwloc_obj_type_t type,</div><div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>  hwloc_obj_t prev);</div><div class="line"><a name="l01321"></a><span class="lineno"> 1321</span> </div><div class="line"><a name="l01337"></a><span class="lineno"> 1337</span> HWLOC_DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="a00156.html#ga5ca0bf94bbbb080d0eff17a57bd90422">hwloc_obj_type_string</a> (hwloc_obj_type_t type) __hwloc_attribute_const;</div><div class="line"><a name="l01338"></a><span class="lineno"> 1338</span> </div><div class="line"><a name="l01352"></a><span class="lineno"> 1352</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00156.html#gadb8765c260edea80c52cd06a76639ba4">hwloc_obj_type_snprintf</a>(<span class="keywordtype">char</span> * __hwloc_restrict <span class="keywordtype">string</span>, <span class="keywordtype">size_t</span> <a class="code" href="a00200.html#a3f1d261766352288791512974665ce01">size</a>, hwloc_obj_t obj,</div><div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>  <span class="keywordtype">int</span> verbose);</div><div class="line"><a name="l01354"></a><span class="lineno"> 1354</span> </div><div class="line"><a name="l01366"></a><span class="lineno"> 1366</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00156.html#ga870e876931c282a1c7aee2f031912ce3">hwloc_obj_attr_snprintf</a>(<span class="keywordtype">char</span> * __hwloc_restrict <span class="keywordtype">string</span>, <span class="keywordtype">size_t</span> <a class="code" href="a00200.html#a3f1d261766352288791512974665ce01">size</a>, hwloc_obj_t obj, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict separator,</div><div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>  <span class="keywordtype">int</span> verbose);</div><div class="line"><a name="l01368"></a><span class="lineno"> 1368</span> </div><div class="line"><a name="l01376"></a><span class="lineno"> 1376</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00156.html#ga8e0472dfa655c68c0c9072e1ee3a1e03">hwloc_obj_cpuset_snprintf</a>(<span class="keywordtype">char</span> * __hwloc_restrict str, <span class="keywordtype">size_t</span> <a class="code" href="a00200.html#a3f1d261766352288791512974665ce01">size</a>, <span class="keywordtype">size_t</span> nobj, <span class="keyword">const</span> hwloc_obj_t * __hwloc_restrict objs);</div><div class="line"><a name="l01377"></a><span class="lineno"> 1377</span> </div><div class="line"><a name="l01407"></a><span class="lineno"> 1407</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00156.html#ga8f8452fa8e707cad59b8a73a6fa06059">hwloc_obj_type_sscanf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>,</div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>  hwloc_obj_type_t *typep,</div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>  <span class="keywordtype">int</span> *depthattrp,</div><div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>  <span class="keywordtype">void</span> *typeattrp, <span class="keywordtype">size_t</span> typeattrsize);</div><div class="line"><a name="l01411"></a><span class="lineno"> 1411</span> </div><div class="line"><a name="l01427"></a><span class="lineno"> 1427</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">const</span> <span class="keywordtype">char</span> *</div><div class="line"><a name="l01428"></a><span class="lineno"> 1428</span> <a class="code" href="a00157.html#gab358661a92bb27d8542b255cc9f6f25e">hwloc_obj_get_info_by_name</a>(hwloc_obj_t obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name) __hwloc_attribute_pure;</div><div class="line"><a name="l01429"></a><span class="lineno"> 1429</span> </div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00157.html#ga7e90c5398a9d77df31d7d45faf0f316b">hwloc_obj_add_info</a>(hwloc_obj_t obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span> </div><div class="line"><a name="l01517"></a><span class="lineno"><a class="line" href="a00158.html#ga217dc8d373f8958cc93c154ebce1c71c"> 1517</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l01520"></a><span class="lineno"><a class="line" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc"> 1520</a></span>  <a class="code" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc">HWLOC_CPUBIND_PROCESS</a> = (1<<0),</div><div class="line"><a name="l01521"></a><span class="lineno"> 1521</span> </div><div class="line"><a name="l01524"></a><span class="lineno"><a class="line" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421"> 1524</a></span>  <a class="code" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421">HWLOC_CPUBIND_THREAD</a> = (1<<1),</div><div class="line"><a name="l01525"></a><span class="lineno"> 1525</span> </div><div class="line"><a name="l01549"></a><span class="lineno"><a class="line" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa"> 1549</a></span>  <a class="code" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa">HWLOC_CPUBIND_STRICT</a> = (1<<2),</div><div class="line"><a name="l01550"></a><span class="lineno"> 1550</span> </div><div class="line"><a name="l01566"></a><span class="lineno"><a class="line" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6"> 1566</a></span>  <a class="code" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6">HWLOC_CPUBIND_NOMEMBIND</a> = (1<<3)</div><div class="line"><a name="l01567"></a><span class="lineno"> 1567</span> } <a class="code" href="a00158.html#ga217dc8d373f8958cc93c154ebce1c71c">hwloc_cpubind_flags_t</a>;</div><div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> </div><div class="line"><a name="l01574"></a><span class="lineno"> 1574</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48">hwloc_set_cpubind</a>(hwloc_topology_t topology, hwloc_const_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01575"></a><span class="lineno"> 1575</span> </div><div class="line"><a name="l01581"></a><span class="lineno"> 1581</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#gacba7ecb979baf824d5240fa2cb2a8be6">hwloc_get_cpubind</a>(hwloc_topology_t topology, hwloc_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01582"></a><span class="lineno"> 1582</span> </div><div class="line"><a name="l01594"></a><span class="lineno"> 1594</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#ga296db8a3c6d49b51fb83d6f3e45c02a6">hwloc_set_proc_cpubind</a>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01595"></a><span class="lineno"> 1595</span> </div><div class="line"><a name="l01607"></a><span class="lineno"> 1607</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#gac82de91f788fa82dacf99c6e0d4b7158">hwloc_get_proc_cpubind</a>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01608"></a><span class="lineno"> 1608</span> </div><div class="line"><a name="l01609"></a><span class="lineno"> 1609</span> <span class="preprocessor">#ifdef hwloc_thread_t</span></div><div class="line"><a name="l01610"></a><span class="lineno"> 1610</span> </div><div class="line"><a name="l01617"></a><span class="lineno"> 1617</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#gae42c01b2addcfbf6048b9a516dd7a906">hwloc_set_thread_cpubind</a>(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_const_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01618"></a><span class="lineno"> 1618</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01619"></a><span class="lineno"> 1619</span> </div><div class="line"><a name="l01620"></a><span class="lineno"> 1620</span> <span class="preprocessor">#ifdef hwloc_thread_t</span></div><div class="line"><a name="l01621"></a><span class="lineno"> 1621</span> </div><div class="line"><a name="l01628"></a><span class="lineno"> 1628</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#gaf13f765642b5d0d9a9813e6bb043671b">hwloc_get_thread_cpubind</a>(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01629"></a><span class="lineno"> 1629</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01630"></a><span class="lineno"> 1630</span> </div><div class="line"><a name="l01644"></a><span class="lineno"> 1644</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#gafdb374627358bf09203b5a4215b13032">hwloc_get_last_cpu_location</a>(hwloc_topology_t topology, hwloc_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01645"></a><span class="lineno"> 1645</span> </div><div class="line"><a name="l01662"></a><span class="lineno"> 1662</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00158.html#ga910a05c2d47f68a3155bf176b50fa555">hwloc_get_proc_last_cpu_location</a>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01663"></a><span class="lineno"> 1663</span> </div><div class="line"><a name="l01745"></a><span class="lineno"><a class="line" href="a00159.html#gac9764f79505775d06407b40f5e4661e8"> 1745</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l01755"></a><span class="lineno"><a class="line" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a18675bb80ebc1bce5b652e9de8f3998c"> 1755</a></span>  <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a18675bb80ebc1bce5b652e9de8f3998c">HWLOC_MEMBIND_DEFAULT</a> = 0,</div><div class="line"><a name="l01756"></a><span class="lineno"> 1756</span> </div><div class="line"><a name="l01765"></a><span class="lineno"><a class="line" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0"> 1765</a></span>  <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0">HWLOC_MEMBIND_FIRSTTOUCH</a> = 1,</div><div class="line"><a name="l01766"></a><span class="lineno"> 1766</span> </div><div class="line"><a name="l01769"></a><span class="lineno"><a class="line" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c"> 1769</a></span>  <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c">HWLOC_MEMBIND_BIND</a> = 2,</div><div class="line"><a name="l01770"></a><span class="lineno"> 1770</span> </div><div class="line"><a name="l01778"></a><span class="lineno"><a class="line" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ae370075e5af016d42310f87ea5af236b"> 1778</a></span>  <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ae370075e5af016d42310f87ea5af236b">HWLOC_MEMBIND_INTERLEAVE</a> = 3,</div><div class="line"><a name="l01779"></a><span class="lineno"> 1779</span> </div><div class="line"><a name="l01791"></a><span class="lineno"><a class="line" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8afb37480fe5f4236eb7dd4aef26f691e9"> 1791</a></span>  <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8afb37480fe5f4236eb7dd4aef26f691e9">HWLOC_MEMBIND_REPLICATE</a> = 4,</div><div class="line"><a name="l01792"></a><span class="lineno"> 1792</span> </div><div class="line"><a name="l01798"></a><span class="lineno"><a class="line" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8aecdd4164d647708fbb51a00d98dbb138"> 1798</a></span>  <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8aecdd4164d647708fbb51a00d98dbb138">HWLOC_MEMBIND_NEXTTOUCH</a> = 5,</div><div class="line"><a name="l01799"></a><span class="lineno"> 1799</span> </div><div class="line"><a name="l01804"></a><span class="lineno"><a class="line" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402"> 1804</a></span>  <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402">HWLOC_MEMBIND_MIXED</a> = -1</div><div class="line"><a name="l01805"></a><span class="lineno"> 1805</span> } <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a>;</div><div class="line"><a name="l01806"></a><span class="lineno"> 1806</span> </div><div class="line"><a name="l01820"></a><span class="lineno"><a class="line" href="a00159.html#gab00475fd98815bf4fb9aaf752030e7d2"> 1820</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l01825"></a><span class="lineno"><a class="line" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4"> 1825</a></span>  <a class="code" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4">HWLOC_MEMBIND_PROCESS</a> = (1<<0),</div><div class="line"><a name="l01826"></a><span class="lineno"> 1826</span> </div><div class="line"><a name="l01830"></a><span class="lineno"><a class="line" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298"> 1830</a></span>  <a class="code" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298">HWLOC_MEMBIND_THREAD</a> = (1<<1),</div><div class="line"><a name="l01831"></a><span class="lineno"> 1831</span> </div><div class="line"><a name="l01838"></a><span class="lineno"><a class="line" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6"> 1838</a></span>  <a class="code" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> = (1<<2),</div><div class="line"><a name="l01839"></a><span class="lineno"> 1839</span> </div><div class="line"><a name="l01844"></a><span class="lineno"><a class="line" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aa6e49e54f52827cb143cc869cfd748af"> 1844</a></span>  <a class="code" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aa6e49e54f52827cb143cc869cfd748af">HWLOC_MEMBIND_MIGRATE</a> = (1<<3),</div><div class="line"><a name="l01845"></a><span class="lineno"> 1845</span> </div><div class="line"><a name="l01857"></a><span class="lineno"><a class="line" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997"> 1857</a></span>  <a class="code" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997">HWLOC_MEMBIND_NOCPUBIND</a> = (1<<4),</div><div class="line"><a name="l01858"></a><span class="lineno"> 1858</span> </div><div class="line"><a name="l01869"></a><span class="lineno"><a class="line" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256"> 1869</a></span>  <a class="code" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256">HWLOC_MEMBIND_BYNODESET</a> = (1<<5)</div><div class="line"><a name="l01870"></a><span class="lineno"> 1870</span> } <a class="code" href="a00159.html#gab00475fd98815bf4fb9aaf752030e7d2">hwloc_membind_flags_t</a>;</div><div class="line"><a name="l01871"></a><span class="lineno"> 1871</span> </div><div class="line"><a name="l01884"></a><span class="lineno"> 1884</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga5cac0bcbe770b43fc63a6b00ea4a7a9d">hwloc_set_membind_nodeset</a>(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01885"></a><span class="lineno"> 1885</span> </div><div class="line"><a name="l01901"></a><span class="lineno"> 1901</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga020951efa0ce3862bd4faec295501a7f">hwloc_set_membind</a>(hwloc_topology_t topology, <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01902"></a><span class="lineno"> 1902</span> </div><div class="line"><a name="l01944"></a><span class="lineno"> 1944</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga84ee275e84286d17a5853c52272a6a95">hwloc_get_membind_nodeset</a>(hwloc_topology_t topology, hwloc_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01945"></a><span class="lineno"> 1945</span> </div><div class="line"><a name="l01990"></a><span class="lineno"> 1990</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#gae21f0a1a884929c784bebf070252aa56">hwloc_get_membind</a>(hwloc_topology_t topology, <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l01991"></a><span class="lineno"> 1991</span> </div><div class="line"><a name="l02001"></a><span class="lineno"> 2001</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga21b042d94266a26a9c82b98c4bb30d01">hwloc_set_proc_membind_nodeset</a>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02002"></a><span class="lineno"> 2002</span> </div><div class="line"><a name="l02015"></a><span class="lineno"> 2015</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#gabc91ff16f7e41047924e3a4ae6d9da7e">hwloc_set_proc_membind</a>(hwloc_topology_t topology, hwloc_pid_t pid, <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02016"></a><span class="lineno"> 2016</span> </div><div class="line"><a name="l02053"></a><span class="lineno"> 2053</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#gac5075b7a2bf55f48f4622351817addad">hwloc_get_proc_membind_nodeset</a>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02054"></a><span class="lineno"> 2054</span> </div><div class="line"><a name="l02094"></a><span class="lineno"> 2094</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga1730ceb18ec6ee3b7bd3d0db81f07dc8">hwloc_get_proc_membind</a>(hwloc_topology_t topology, hwloc_pid_t pid, <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02095"></a><span class="lineno"> 2095</span> </div><div class="line"><a name="l02103"></a><span class="lineno"> 2103</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga7f11bd709ac0cb93af613e2dd84165ad">hwloc_set_area_membind_nodeset</a>(hwloc_topology_t topology, <span class="keyword">const</span> <span class="keywordtype">void</span> *addr, <span class="keywordtype">size_t</span> len, hwloc_const_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02104"></a><span class="lineno"> 2104</span> </div><div class="line"><a name="l02115"></a><span class="lineno"> 2115</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#gaf881faefe20701229f07dd7dbd0125ed">hwloc_set_area_membind</a>(hwloc_topology_t topology, <span class="keyword">const</span> <span class="keywordtype">void</span> *addr, <span class="keywordtype">size_t</span> len, <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02116"></a><span class="lineno"> 2116</span> </div><div class="line"><a name="l02141"></a><span class="lineno"> 2141</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga5b674a9e043814bfd1c927fd0137fb19">hwloc_get_area_membind_nodeset</a>(hwloc_topology_t topology, <span class="keyword">const</span> <span class="keywordtype">void</span> *addr, <span class="keywordtype">size_t</span> len, hwloc_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02142"></a><span class="lineno"> 2142</span> </div><div class="line"><a name="l02170"></a><span class="lineno"> 2170</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#gaa87e0a6946ff145914fdf0b1c60567f8">hwloc_get_area_membind</a>(hwloc_topology_t topology, <span class="keyword">const</span> <span class="keywordtype">void</span> *addr, <span class="keywordtype">size_t</span> len, <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * policy, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02171"></a><span class="lineno"> 2171</span> </div><div class="line"><a name="l02191"></a><span class="lineno"> 2191</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga537c7508a4e2d1db05673ec5be6e805c">hwloc_get_area_memlocation</a>(hwloc_topology_t topology, <span class="keyword">const</span> <span class="keywordtype">void</span> *addr, <span class="keywordtype">size_t</span> len, <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <span class="keyword">set</span>, <span class="keywordtype">int</span> flags);</div><div class="line"><a name="l02192"></a><span class="lineno"> 2192</span> </div><div class="line"><a name="l02200"></a><span class="lineno"> 2200</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> *<a class="code" href="a00159.html#ga972b335a86a7d5e7b34bce2b243c41bc">hwloc_alloc</a>(hwloc_topology_t topology, <span class="keywordtype">size_t</span> len);</div><div class="line"><a name="l02201"></a><span class="lineno"> 2201</span> </div><div class="line"><a name="l02213"></a><span class="lineno"> 2213</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> *<a class="code" href="a00159.html#ga0ff3076f7f3633637699b809bcceceb1">hwloc_alloc_membind_nodeset</a>(hwloc_topology_t topology, <span class="keywordtype">size_t</span> len, hwloc_const_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags) __hwloc_attribute_malloc;</div><div class="line"><a name="l02214"></a><span class="lineno"> 2214</span> </div><div class="line"><a name="l02229"></a><span class="lineno"> 2229</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> *<a class="code" href="a00159.html#ga04736461780fadcf193af218c0122273">hwloc_alloc_membind</a>(hwloc_topology_t topology, <span class="keywordtype">size_t</span> len, <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags) __hwloc_attribute_malloc;</div><div class="line"><a name="l02230"></a><span class="lineno"> 2230</span> </div><div class="line"><a name="l02237"></a><span class="lineno"> 2237</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">void</span> *</div><div class="line"><a name="l02238"></a><span class="lineno"> 2238</span> <a class="code" href="a00159.html#ga7d473e80f11d774421688e36e9926136">hwloc_alloc_membind_policy_nodeset</a>(hwloc_topology_t topology, <span class="keywordtype">size_t</span> len, hwloc_const_nodeset_t nodeset, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags) __hwloc_attribute_malloc;</div><div class="line"><a name="l02239"></a><span class="lineno"> 2239</span> </div><div class="line"><a name="l02249"></a><span class="lineno"> 2249</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">void</span> *</div><div class="line"><a name="l02250"></a><span class="lineno"> 2250</span> <a class="code" href="a00159.html#gab1b77b8408bacaf03c7e8878f7577922">hwloc_alloc_membind_policy</a>(hwloc_topology_t topology, <span class="keywordtype">size_t</span> len, <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <span class="keyword">set</span>, <a class="code" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, <span class="keywordtype">int</span> flags) __hwloc_attribute_malloc;</div><div class="line"><a name="l02251"></a><span class="lineno"> 2251</span> </div><div class="line"><a name="l02255"></a><span class="lineno"> 2255</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00159.html#ga32dbd4f54e9e4a7179f2dde37ffe6ad7">hwloc_free</a>(hwloc_topology_t topology, <span class="keywordtype">void</span> *addr, <span class="keywordtype">size_t</span> len);</div><div class="line"><a name="l02256"></a><span class="lineno"> 2256</span> </div><div class="line"><a name="l02279"></a><span class="lineno"> 2279</span> HWLOC_DECLSPEC hwloc_obj_t <a class="code" href="a00160.html#ga77c753751f3b90fac14117523fe604df">hwloc_topology_insert_misc_object_by_cpuset</a>(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l02280"></a><span class="lineno"> 2280</span> </div><div class="line"><a name="l02296"></a><span class="lineno"> 2296</span> HWLOC_DECLSPEC hwloc_obj_t <a class="code" href="a00160.html#ga1472cdf93327dfff4b5b2aedfde29cf3">hwloc_topology_insert_misc_object_by_parent</a>(hwloc_topology_t topology, hwloc_obj_t parent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l02297"></a><span class="lineno"> 2297</span> </div><div class="line"><a name="l02299"></a><span class="lineno"><a class="line" href="a00160.html#ga9d80f08eb25b7ac22f1b998dc8bf521f"> 2299</a></span> <span class="keyword">enum</span> <a class="code" href="a00160.html#ga9d80f08eb25b7ac22f1b998dc8bf521f">hwloc_restrict_flags_e</a> {</div><div class="line"><a name="l02304"></a><span class="lineno"><a class="line" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa4d18407f5520793b50b9e892f5bb55d1"> 2304</a></span>  <a class="code" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa4d18407f5520793b50b9e892f5bb55d1">HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES</a> = (1UL<<0),</div><div class="line"><a name="l02305"></a><span class="lineno"> 2305</span> </div><div class="line"><a name="l02310"></a><span class="lineno"><a class="line" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa699969227a09bbc1a7de51dc9fb7be4b"> 2310</a></span>  <a class="code" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa699969227a09bbc1a7de51dc9fb7be4b">HWLOC_RESTRICT_FLAG_ADAPT_MISC</a> = (1UL<<1),</div><div class="line"><a name="l02311"></a><span class="lineno"> 2311</span> </div><div class="line"><a name="l02316"></a><span class="lineno"><a class="line" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521faa95d6985e36ec1e55f68b210297a85cb"> 2316</a></span>  <a class="code" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521faa95d6985e36ec1e55f68b210297a85cb">HWLOC_RESTRICT_FLAG_ADAPT_IO</a> = (1UL<<2)</div><div class="line"><a name="l02317"></a><span class="lineno"> 2317</span> };</div><div class="line"><a name="l02318"></a><span class="lineno"> 2318</span> </div><div class="line"><a name="l02340"></a><span class="lineno"> 2340</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00160.html#gaffdb5403e5178b0d29852dd3319de3fc">hwloc_topology_restrict</a>(hwloc_topology_t __hwloc_restrict topology, hwloc_const_cpuset_t cpuset, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div><div class="line"><a name="l02341"></a><span class="lineno"> 2341</span> </div><div class="line"><a name="l02375"></a><span class="lineno"> 2375</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00161.html#ga58220f648a972140865d11940bccec81">hwloc_custom_insert_topology</a>(hwloc_topology_t newtopology, hwloc_obj_t newparent, hwloc_topology_t oldtopology, hwloc_obj_t oldroot);</div><div class="line"><a name="l02376"></a><span class="lineno"> 2376</span> </div><div class="line"><a name="l02398"></a><span class="lineno"> 2398</span> HWLOC_DECLSPEC hwloc_obj_t <a class="code" href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73">hwloc_custom_insert_group_object_by_parent</a>(hwloc_topology_t topology, hwloc_obj_t parent, <span class="keywordtype">int</span> groupdepth);</div><div class="line"><a name="l02399"></a><span class="lineno"> 2399</span> </div><div class="line"><a name="l02425"></a><span class="lineno"> 2425</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00162.html#ga2bf166eda4d3605362ac86f77684002a">hwloc_topology_export_xml</a>(hwloc_topology_t topology, <span class="keyword">const</span> <span class="keywordtype">char</span> *xmlpath);</div><div class="line"><a name="l02426"></a><span class="lineno"> 2426</span> </div><div class="line"><a name="l02448"></a><span class="lineno"> 2448</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00162.html#ga7cbf8a2d8579d192911007650366fc8a">hwloc_topology_export_xmlbuffer</a>(hwloc_topology_t topology, <span class="keywordtype">char</span> **xmlbuffer, <span class="keywordtype">int</span> *buflen);</div><div class="line"><a name="l02449"></a><span class="lineno"> 2449</span> </div><div class="line"><a name="l02451"></a><span class="lineno"> 2451</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00162.html#ga293e4a6489f15fd16ad22a5734561cf1">hwloc_free_xmlbuffer</a>(hwloc_topology_t topology, <span class="keywordtype">char</span> *xmlbuffer);</div><div class="line"><a name="l02452"></a><span class="lineno"> 2452</span> </div><div class="line"><a name="l02471"></a><span class="lineno"> 2471</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc">hwloc_topology_set_userdata_export_callback</a>(hwloc_topology_t topology,</div><div class="line"><a name="l02472"></a><span class="lineno"> 2472</span>  <span class="keywordtype">void</span> (*export_cb)(<span class="keywordtype">void</span> *reserved, hwloc_topology_t topology, hwloc_obj_t obj));</div><div class="line"><a name="l02473"></a><span class="lineno"> 2473</span> </div><div class="line"><a name="l02499"></a><span class="lineno"> 2499</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00162.html#gaa541bdd628416dbbe97d0df69d3de958">hwloc_export_obj_userdata</a>(<span class="keywordtype">void</span> *reserved, hwloc_topology_t topology, hwloc_obj_t obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">size_t</span> length);</div><div class="line"><a name="l02500"></a><span class="lineno"> 2500</span> </div><div class="line"><a name="l02514"></a><span class="lineno"> 2514</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00162.html#ga1b7358137cec27bd073f58a606ecbaba">hwloc_export_obj_userdata_base64</a>(<span class="keywordtype">void</span> *reserved, hwloc_topology_t topology, hwloc_obj_t obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">size_t</span> length);</div><div class="line"><a name="l02515"></a><span class="lineno"> 2515</span> </div><div class="line"><a name="l02538"></a><span class="lineno"> 2538</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00162.html#ga5ac6917ea7289955fb1ffda4353af9b0">hwloc_topology_set_userdata_import_callback</a>(hwloc_topology_t topology,</div><div class="line"><a name="l02539"></a><span class="lineno"> 2539</span>  <span class="keywordtype">void</span> (*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">size_t</span> length));</div><div class="line"><a name="l02540"></a><span class="lineno"> 2540</span> </div><div class="line"><a name="l02552"></a><span class="lineno"><a class="line" href="a00163.html#ga7ac6f97cc40bd50c40285084f869ba63"> 2552</a></span> <span class="keyword">enum</span> <a class="code" href="a00163.html#ga7ac6f97cc40bd50c40285084f869ba63">hwloc_topology_export_synthetic_flags_e</a> {</div><div class="line"><a name="l02558"></a><span class="lineno"><a class="line" href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9"> 2558</a></span>  <a class="code" href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES</a> = (1UL<<0),</div><div class="line"><a name="l02559"></a><span class="lineno"> 2559</span> </div><div class="line"><a name="l02566"></a><span class="lineno"><a class="line" href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4"> 2566</a></span>  <a class="code" href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS</a> = (1UL<<1)</div><div class="line"><a name="l02567"></a><span class="lineno"> 2567</span> };</div><div class="line"><a name="l02568"></a><span class="lineno"> 2568</span> </div><div class="line"><a name="l02587"></a><span class="lineno"> 2587</span>  HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00163.html#ga24b7864a1c588309c4749f621f03b4c7">hwloc_topology_export_synthetic</a>(hwloc_topology_t topology, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> buflen, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div><div class="line"><a name="l02588"></a><span class="lineno"> 2588</span> </div><div class="line"><a name="l02593"></a><span class="lineno"> 2593</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l02594"></a><span class="lineno"> 2594</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l02595"></a><span class="lineno"> 2595</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l02596"></a><span class="lineno"> 2596</span> </div><div class="line"><a name="l02597"></a><span class="lineno"> 2597</span> </div><div class="line"><a name="l02598"></a><span class="lineno"> 2598</span> <span class="comment">/* high-level helpers */</span></div><div class="line"><a name="l02599"></a><span class="lineno"> 2599</span> <span class="preprocessor">#include <hwloc/helper.h></span></div><div class="line"><a name="l02600"></a><span class="lineno"> 2600</span> </div><div class="line"><a name="l02601"></a><span class="lineno"> 2601</span> <span class="comment">/* inline code of some functions above */</span></div><div class="line"><a name="l02602"></a><span class="lineno"> 2602</span> <span class="preprocessor">#include <hwloc/inlines.h></span></div><div class="line"><a name="l02603"></a><span class="lineno"> 2603</span> </div><div class="line"><a name="l02604"></a><span class="lineno"> 2604</span> <span class="comment">/* topology diffs */</span></div><div class="line"><a name="l02605"></a><span class="lineno"> 2605</span> <span class="preprocessor">#include <hwloc/diff.h></span></div><div class="line"><a name="l02606"></a><span class="lineno"> 2606</span> </div><div class="line"><a name="l02607"></a><span class="lineno"> 2607</span> <span class="comment">/* deprecated headers */</span></div><div class="line"><a name="l02608"></a><span class="lineno"> 2608</span> <span class="preprocessor">#include <hwloc/deprecated.h></span></div><div class="line"><a name="l02609"></a><span class="lineno"> 2609</span> </div><div class="line"><a name="l02610"></a><span class="lineno"> 2610</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00162_html_ga1b7358137cec27bd073f58a606ecbaba"><div class="ttname"><a href="a00162.html#ga1b7358137cec27bd073f58a606ecbaba">hwloc_export_obj_userdata_base64</a></div><div class="ttdeci">int hwloc_export_obj_userdata_base64(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)</div><div class="ttdoc">Encode and export some object userdata to XML. </div></div>
+<div class="ttc" id="a00159_html_ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6"><div class="ttname"><a href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a></div><div class="ttdef"><b>Definition:</b> hwloc.h:1838</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075">HWLOC_OBJ_OS_DEVICE</a></div><div class="ttdoc">Operating system device. These objects have neither CPU sets nor node sets. They are not added to the...</div><div class="ttdef"><b>Definition:</b> hwloc.h:251</div></div>
+<div class="ttc" id="a00151_html_ga0a947e8c5adcc729b126bd09c01a0153"><div class="ttname"><a href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a></div><div class="ttdeci">enum hwloc_obj_bridge_type_e hwloc_obj_bridge_type_t</div><div class="ttdoc">Type of one side (upstream or downstream) of an I/O bridge. </div></div>
+<div class="ttc" id="a00159_html_ga972b335a86a7d5e7b34bce2b243c41bc"><div class="ttname"><a href="a00159.html#ga972b335a86a7d5e7b34bce2b243c41bc">hwloc_alloc</a></div><div class="ttdeci">void * hwloc_alloc(hwloc_topology_t topology, size_t len)</div><div class="ttdoc">Allocate some memory. </div></div>
+<div class="ttc" id="a00224_html"><div class="ttname"><a href="a00224.html">hwloc_obj_attr_u::hwloc_bridge_attr_s</a></div><div class="ttdoc">Bridge specific Object Attribues. </div><div class="ttdef"><b>Definition:</b> hwloc.h:551</div></div>
+<div class="ttc" id="a00154_html_ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41"><div class="ttname"><a href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41">HWLOC_TOPOLOGY_FLAG_IO_DEVICES</a></div><div class="ttdoc">Detect PCI devices. </div><div class="ttdef"><b>Definition:</b> hwloc.h:806</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661">HWLOC_OBJ_PU</a></div><div class="ttdoc">Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:211</div></div>
+<div class="ttc" id="a00159_html_gabc91ff16f7e41047924e3a4ae6d9da7e"><div class="ttname"><a href="a00159.html#gabc91ff16f7e41047924e3a4ae6d9da7e">hwloc_set_proc_membind</a></div><div class="ttdeci">int hwloc_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Set the default memory binding policy of the specified process to prefer the NUMA node(s) specified b...</div></div>
+<div class="ttc" id="a00212_html_a801e8a668e28caf06c8b88e9ae5c10db"><div class="ttname"><a href="a00212.html#a801e8a668e28caf06c8b88e9ae5c10db">hwloc_obj_attr_u::hwloc_cache_attr_s::linesize</a></div><div class="ttdeci">unsigned linesize</div><div class="ttdoc">Cache-line size in bytes. 0 if unknown. </div><div class="ttdef"><b>Definition:</b> hwloc.h:531</div></div>
+<div class="ttc" id="a00158_html_gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6"><div class="ttname"><a href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6">HWLOC_CPUBIND_NOMEMBIND</a></div><div class="ttdoc">Avoid any effect on memory binding. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1566</div></div>
+<div class="ttc" id="a00154_html_gada025d3ec20b4b420f8038d23d6e7bde"><div class="ttname"><a href="a00154.html#gada025d3ec20b4b420f8038d23d6e7bde">hwloc_topology_flags_e</a></div><div class="ttdeci">hwloc_topology_flags_e</div><div class="ttdoc">Flags to be set onto a topology context before load. </div><div class="ttdef"><b>Definition:</b> hwloc.h:757</div></div>
+<div class="ttc" id="a00163_html_gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9"><div class="ttname"><a href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES</a></div><div class="ttdoc">Export extended types such as L2dcache as basic types such as Cache. </div><div class="ttdef"><b>Definition:</b> hwloc.h:2558</div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90">HWLOC_TYPE_DEPTH_BRIDGE</a></div><div class="ttdoc">Virtual depth for bridge object level. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1226</div></div>
+<div class="ttc" id="a00155_html_ga6f414dd80a2b943967a0ac92da3181a2"><div class="ttname"><a href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2">hwloc_get_obj_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_obj_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx)</div><div class="ttdoc">Returns the topology object at logical index idx with type type. </div></div>
+<div class="ttc" id="a00256_html_a57a89a4b5f1f74fa6cfe176f1e8b0798"><div class="ttname"><a href="a00256.html#a57a89a4b5f1f74fa6cfe176f1e8b0798">hwloc_topology_cpubind_support::set_thisthread_cpubind</a></div><div class="ttdeci">unsigned char set_thisthread_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1078</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d">HWLOC_OBJ_MISC</a></div><div class="ttdoc">Miscellaneous objects. Objects without particular meaning, that can e.g. be added by the application ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:233</div></div>
+<div class="ttc" id="a00154_html_gab8c76173c4a8ce1a9a9366012b1388e6"><div class="ttname"><a href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6">hwloc_topology_get_support</a></div><div class="ttdeci">const struct hwloc_topology_support * hwloc_topology_get_support(hwloc_topology_t restrict topology)</div><div class="ttdoc">Retrieve the topology support. </div></div>
+<div class="ttc" id="a00159_html_ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4"><div class="ttname"><a href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4">HWLOC_MEMBIND_PROCESS</a></div><div class="ttdoc">Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1825</div></div>
+<div class="ttc" id="a00157_html_ga7e90c5398a9d77df31d7d45faf0f316b"><div class="ttname"><a href="a00157.html#ga7e90c5398a9d77df31d7d45faf0f316b">hwloc_obj_add_info</a></div><div class="ttdeci">void hwloc_obj_add_info(hwloc_obj_t obj, const char *name, const char *value)</div><div class="ttdoc">Add the given info name and value pair to the given object. </div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a></div><div class="ttdoc">Objects of given type exist at different depth in the topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1225</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56">HWLOC_OBJ_GROUP</a></div><div class="ttdoc">Group objects. Objects which do not fit in the above but are detected by hwloc and are useful to take...</div><div class="ttdef"><b>Definition:</b> hwloc.h:220</div></div>
+<div class="ttc" id="a00204_html_adc494f6aed939992be1c55cca5822900"><div class="ttname"><a href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj::parent</a></div><div class="ttdeci">struct hwloc_obj * parent</div><div class="ttdoc">Parent, NULL if root (system object) </div><div class="ttdef"><b>Definition:</b> hwloc.h:403</div></div>
+<div class="ttc" id="a00155_html_ga759e88eaf5a230ad283e9d4c42486735"><div class="ttname"><a href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t prev)</div><div class="ttdoc">Returns the next object of type type. </div></div>
+<div class="ttc" id="a00204_html_a9d82690370275d42d652eccdea5d3ee5"><div class="ttname"><a href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">hwloc_obj::depth</a></div><div class="ttdeci">unsigned depth</div><div class="ttdoc">Vertical index in the hierarchy. </div><div class="ttdef"><b>Definition:</b> hwloc.h:377</div></div>
+<div class="ttc" id="a00256_html"><div class="ttname"><a href="a00256.html">hwloc_topology_cpubind_support</a></div><div class="ttdoc">Flags describing actual PU binding support for this topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1068</div></div>
+<div class="ttc" id="a00151_html_ga791c9875c8fe20f3e1e5871e0657e59b"><div class="ttname"><a href="a00151.html#ga791c9875c8fe20f3e1e5871e0657e59b">hwloc_obj_cache_type_e</a></div><div class="ttdeci">hwloc_obj_cache_type_e</div><div class="ttdoc">Cache type. </div><div class="ttdef"><b>Definition:</b> hwloc.h:270</div></div>
+<div class="ttc" id="a00151_html_gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488"><div class="ttname"><a href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488">HWLOC_OBJ_CACHE_DATA</a></div><div class="ttdoc">Data cache. </div><div class="ttdef"><b>Definition:</b> hwloc.h:272</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="ttdoc">PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unl...</div><div class="ttdef"><b>Definition:</b> hwloc.h:246</div></div>
+<div class="ttc" id="a00154_html_ga4fab186bb6181a00bcf585825fddd38d"><div class="ttname"><a href="a00154.html#ga4fab186bb6181a00bcf585825fddd38d">hwloc_topology_set_synthetic</a></div><div class="ttdeci">int hwloc_topology_set_synthetic(hwloc_topology_t restrict topology, const char *restrict description)</div><div class="ttdoc">Enable synthetic topology. </div></div>
+<div class="ttc" id="a00244_html"><div class="ttname"><a href="a00244.html">hwloc_distances_s</a></div><div class="ttdoc">Distances between objects. </div><div class="ttdef"><b>Definition:</b> hwloc.h:584</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0">HWLOC_OBJ_BRIDGE</a></div><div class="ttdoc">Bridge. Any bridge that connects the host or an I/O bus, to another I/O bus. Bridge objects have neit...</div><div class="ttdef"><b>Definition:</b> hwloc.h:239</div></div>
+<div class="ttc" id="a00244_html_a204416418049a272bfb51602fc676342"><div class="ttname"><a href="a00244.html#a204416418049a272bfb51602fc676342">hwloc_distances_s::latency_base</a></div><div class="ttdeci">float latency_base</div><div class="ttdoc">The multiplier that should be applied to latency matrix to retrieve the original OS-provided latencie...</div><div class="ttdef"><b>Definition:</b> hwloc.h:605</div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a></div><div class="ttdoc">No object of given type exists in the topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1224</div></div>
+<div class="ttc" id="a00162_html_gaa541bdd628416dbbe97d0df69d3de958"><div class="ttname"><a href="a00162.html#gaa541bdd628416dbbe97d0df69d3de958">hwloc_export_obj_userdata</a></div><div class="ttdeci">int hwloc_export_obj_userdata(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)</div><div class="ttdoc">Export some object userdata to XML. </div></div>
+<div class="ttc" id="a00154_html_ga09318f81c1d4713be907d64748a6f93c"><div class="ttname"><a href="a00154.html#ga09318f81c1d4713be907d64748a6f93c">hwloc_topology_get_flags</a></div><div class="ttdeci">unsigned long hwloc_topology_get_flags(hwloc_topology_t topology)</div><div class="ttdoc">Get OR&#39;ed flags of a topology. </div></div>
+<div class="ttc" id="a00158_html_ga910a05c2d47f68a3155bf176b50fa555"><div class="ttname"><a href="a00158.html#ga910a05c2d47f68a3155bf176b50fa555">hwloc_get_proc_last_cpu_location</a></div><div class="ttdeci">int hwloc_get_proc_last_cpu_location(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags)</div><div class="ttdoc">Get the last physical CPU where a process ran. </div></div>
+<div class="ttc" id="a00159_html_gae21f0a1a884929c784bebf070252aa56"><div class="ttname"><a href="a00159.html#gae21f0a1a884929c784bebf070252aa56">hwloc_get_membind</a></div><div class="ttdeci">int hwloc_get_membind(hwloc_topology_t topology, hwloc_bitmap_t set, hwloc_membind_policy_t *policy, int flags)</div><div class="ttdoc">Query the default memory binding policy and physical locality of the current process or thread...</div></div>
+<div class="ttc" id="a00151_html_gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574"><div class="ttname"><a href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574">HWLOC_OBJ_BRIDGE_HOST</a></div><div class="ttdoc">Host-side of a bridge, only possible upstream. </div><div class="ttdef"><b>Definition:</b> hwloc.h:279</div></div>
+<div class="ttc" id="a00264_html_aea3fbd7653d987d81f848636c420504d"><div class="ttname"><a href="a00264.html#aea3fbd7653d987d81f848636c420504d">hwloc_topology_support::discovery</a></div><div class="ttdeci">struct hwloc_topology_discovery_support * discovery</div><div class="ttdef"><b>Definition:</b> hwloc.h:1140</div></div>
+<div class="ttc" id="a00159_html_ggac9764f79505775d06407b40f5e4661e8ae370075e5af016d42310f87ea5af236b"><div class="ttname"><a href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ae370075e5af016d42310f87ea5af236b">HWLOC_MEMBIND_INTERLEAVE</a></div><div class="ttdoc">Allocate memory on the given nodes in an interleaved / round-robin manner. The precise layout of the ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1778</div></div>
+<div class="ttc" id="a00158_html_ga217dc8d373f8958cc93c154ebce1c71c"><div class="ttname"><a href="a00158.html#ga217dc8d373f8958cc93c154ebce1c71c">hwloc_cpubind_flags_t</a></div><div class="ttdeci">hwloc_cpubind_flags_t</div><div class="ttdoc">Process/Thread binding flags. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1517</div></div>
+<div class="ttc" id="a00151_html_gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a"><div class="ttname"><a href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a">HWLOC_OBJ_CACHE_UNIFIED</a></div><div class="ttdoc">Unified cache. </div><div class="ttdef"><b>Definition:</b> hwloc.h:271</div></div>
+<div class="ttc" id="a00155_html_ga8125328e69eba709c33ea8055c12589b"><div class="ttname"><a href="a00155.html#ga8125328e69eba709c33ea8055c12589b">hwloc_get_type_or_below_depth</a></div><div class="ttdeci">static int hwloc_get_type_or_below_depth(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Returns the depth of objects of type type or below. </div></div>
+<div class="ttc" id="a00224_html_af3f3f7d76bf03e8d2afa721c2b8d6771"><div class="ttname"><a href="a00224.html#af3f3f7d76bf03e8d2afa721c2b8d6771">hwloc_obj_attr_u::hwloc_bridge_attr_s::subordinate_bus</a></div><div class="ttdeci">unsigned char subordinate_bus</div><div class="ttdef"><b>Definition:</b> hwloc.h:559</div></div>
+<div class="ttc" id="a00156_html_ga8f8452fa8e707cad59b8a73a6fa06059"><div class="ttname"><a href="a00156.html#ga8f8452fa8e707cad59b8a73a6fa06059">hwloc_obj_type_sscanf</a></div><div class="ttdeci">int hwloc_obj_type_sscanf(const char *string, hwloc_obj_type_t *typep, int *depthattrp, void *typeattrp, size_t typeattrsize)</div><div class="ttdoc">Return an object type and attributes from a type string. </div></div>
+<div class="ttc" id="a00204_html_a85a788017457129589318b6c39451acf"><div class="ttname"><a href="a00204.html#a85a788017457129589318b6c39451acf">hwloc_obj::next_cousin</a></div><div class="ttdeci">struct hwloc_obj * next_cousin</div><div class="ttdoc">Next object of same type and depth. </div><div class="ttdef"><b>Definition:</b> hwloc.h:399</div></div>
+<div class="ttc" id="a00159_html_ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c"><div class="ttname"><a href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c">HWLOC_MEMBIND_BIND</a></div><div class="ttdoc">Allocate memory on the specified nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1769</div></div>
+<div class="ttc" id="a00204_html_a19e3d0a5951a7510fc4fc4722a9bf531"><div class="ttname"><a href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531">hwloc_obj::allowed_nodeset</a></div><div class="ttdeci">hwloc_nodeset_t allowed_nodeset</div><div class="ttdoc">The set of allowed NUMA memory nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:495</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00204_html_a9a5dd75596edc48fe834f81988cdc0d6"><div class="ttname"><a href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">hwloc_obj::distances</a></div><div class="ttdeci">struct hwloc_distances_s ** distances</div><div class="ttdoc">Distances between all objects at same depth below this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:508</div></div>
+<div class="ttc" id="a00264_html"><div class="ttname"><a href="a00264.html">hwloc_topology_support</a></div><div class="ttdoc">Set of flags describing actual support for this topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1139</div></div>
+<div class="ttc" id="a00154_html_ga90ed5733946b2e9aba90d2e2c1fbfbd7"><div class="ttname"><a href="a00154.html#ga90ed5733946b2e9aba90d2e2c1fbfbd7">hwloc_topology_set_distance_matrix</a></div><div class="ttdeci">int hwloc_topology_set_distance_matrix(hwloc_topology_t restrict topology, hwloc_obj_type_t type, unsigned nbobjs, unsigned *os_index, float *distances)</div><div class="ttdoc">Provide a distance matrix. </div></div>
+<div class="ttc" id="a00155_html_ga8a9ee573b7d2190272095d10712a7cca"><div class="ttname"><a href="a00155.html#ga8a9ee573b7d2190272095d10712a7cca">hwloc_get_type_or_above_depth</a></div><div class="ttdeci">static int hwloc_get_type_or_above_depth(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Returns the depth of objects of type type or above. </div></div>
+<div class="ttc" id="a00160_html_ga77c753751f3b90fac14117523fe604df"><div class="ttname"><a href="a00160.html#ga77c753751f3b90fac14117523fe604df">hwloc_topology_insert_misc_object_by_cpuset</a></div><div class="ttdeci">hwloc_obj_t hwloc_topology_insert_misc_object_by_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, const char *name)</div><div class="ttdoc">Add a MISC object to the topology. </div></div>
+<div class="ttc" id="a00160_html_ga1472cdf93327dfff4b5b2aedfde29cf3"><div class="ttname"><a href="a00160.html#ga1472cdf93327dfff4b5b2aedfde29cf3">hwloc_topology_insert_misc_object_by_parent</a></div><div class="ttdeci">hwloc_obj_t hwloc_topology_insert_misc_object_by_parent(hwloc_topology_t topology, hwloc_obj_t parent, const char *name)</div><div class="ttdoc">Add a MISC object as a leaf of the topology. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871">HWLOC_OBJ_OSDEV_BLOCK</a></div><div class="ttdoc">Operating system block device. For instance "sda" on Linux. </div><div class="ttdef"><b>Definition:</b> hwloc.h:285</div></div>
+<div class="ttc" id="a00204_html_a0d07fb7b8935e137c94d75a3eb492ae9"><div class="ttname"><a href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">hwloc_obj::logical_index</a></div><div class="ttdeci">unsigned logical_index</div><div class="ttdoc">Horizontal index in the whole list of similar objects, hence guaranteed unique across the entire mach...</div><div class="ttdef"><b>Definition:</b> hwloc.h:392</div></div>
+<div class="ttc" id="a00154_html_ggada025d3ec20b4b420f8038d23d6e7bdea426b18c349f15d7046bb391d96fa947c"><div class="ttname"><a href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea426b18c349f15d7046bb391d96fa947c">HWLOC_TOPOLOGY_FLAG_IO_BRIDGES</a></div><div class="ttdoc">Detect PCI bridges. </div><div class="ttdef"><b>Definition:</b> hwloc.h:815</div></div>
+<div class="ttc" id="a00204_html_ac715989f55ff5a0eb6be2969ee477ec0"><div class="ttname"><a href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0">hwloc_obj::prev_cousin</a></div><div class="ttdeci">struct hwloc_obj * prev_cousin</div><div class="ttdoc">Previous object of same type and depth. </div><div class="ttdef"><b>Definition:</b> hwloc.h:400</div></div>
+<div class="ttc" id="a00260_html_a476c06f96b65c08b287cf2369966123b"><div class="ttname"><a href="a00260.html#a476c06f96b65c08b287cf2369966123b">hwloc_topology_membind_support::set_area_membind</a></div><div class="ttdeci">unsigned char set_area_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1112</div></div>
+<div class="ttc" id="a00158_html_gae42c01b2addcfbf6048b9a516dd7a906"><div class="ttname"><a href="a00158.html#gae42c01b2addcfbf6048b9a516dd7a906">hwloc_set_thread_cpubind</a></div><div class="ttdeci">int hwloc_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_const_cpuset_t set, int flags)</div><div class="ttdoc">Bind a thread thread on cpus given in physical bitmap set. </div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46">HWLOC_TYPE_DEPTH_OS_DEVICE</a></div><div class="ttdoc">Virtual depth for software device object level. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1228</div></div>
+<div class="ttc" id="a00159_html_ga5cac0bcbe770b43fc63a6b00ea4a7a9d"><div class="ttname"><a href="a00159.html#ga5cac0bcbe770b43fc63a6b00ea4a7a9d">hwloc_set_membind_nodeset</a></div><div class="ttdeci">int hwloc_set_membind_nodeset(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Set the default memory binding policy of the current process or thread to prefer the NUMA node(s) spe...</div></div>
+<div class="ttc" id="a00150_html_ga1f784433e9b606261f62d1134f6a3b25"><div class="ttname"><a href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_cpuset_t</div><div class="ttdoc">A non-modifiable hwloc_cpuset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:134</div></div>
+<div class="ttc" id="a00154_html_ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d"><div class="ttname"><a href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d">HWLOC_TOPOLOGY_FLAG_ICACHES</a></div><div class="ttdoc">Detect instruction caches. </div><div class="ttdef"><b>Definition:</b> hwloc.h:833</div></div>
+<div class="ttc" id="a00244_html_aab61bd1d1ae2e121bfe793c973ec829e"><div class="ttname"><a href="a00244.html#aab61bd1d1ae2e121bfe793c973ec829e">hwloc_distances_s::latency_max</a></div><div class="ttdeci">float latency_max</div><div class="ttdoc">The maximal value in the latency matrix. </div><div class="ttdef"><b>Definition:</b> hwloc.h:604</div></div>
+<div class="ttc" id="a00212_html_abe5e788943ed04302976740c829674c0"><div class="ttname"><a href="a00212.html#abe5e788943ed04302976740c829674c0">hwloc_obj_attr_u::hwloc_cache_attr_s::size</a></div><div class="ttdeci">hwloc_uint64_t size</div><div class="ttdoc">Size of cache in bytes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:529</div></div>
+<div class="ttc" id="a00159_html_gab00475fd98815bf4fb9aaf752030e7d2"><div class="ttname"><a href="a00159.html#gab00475fd98815bf4fb9aaf752030e7d2">hwloc_membind_flags_t</a></div><div class="ttdeci">hwloc_membind_flags_t</div><div class="ttdoc">Memory binding flags. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1820</div></div>
+<div class="ttc" id="a00162_html_ga5ac6917ea7289955fb1ffda4353af9b0"><div class="ttname"><a href="a00162.html#ga5ac6917ea7289955fb1ffda4353af9b0">hwloc_topology_set_userdata_import_callback</a></div><div class="ttdeci">void hwloc_topology_set_userdata_import_callback(hwloc_topology_t topology, void(*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length))</div><div class="ttdoc">Set the application-specific callback for importing userdata. </div></div>
+<div class="ttc" id="a00159_html_ga020951efa0ce3862bd4faec295501a7f"><div class="ttname"><a href="a00159.html#ga020951efa0ce3862bd4faec295501a7f">hwloc_set_membind</a></div><div class="ttdeci">int hwloc_set_membind(hwloc_topology_t topology, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Set the default memory binding policy of the current process or thread to prefer the NUMA node(s) spe...</div></div>
+<div class="ttc" id="a00204_html_a68766f0b1c4d61b5bad87e3b81dacfde"><div class="ttname"><a href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde">hwloc_obj::os_level</a></div><div class="ttdeci">signed os_level</div><div class="ttdoc">OS-provided physical level, -1 if unknown or meaningless. </div><div class="ttdef"><b>Definition:</b> hwloc.h:396</div></div>
+<div class="ttc" id="a00159_html_ggac9764f79505775d06407b40f5e4661e8afb37480fe5f4236eb7dd4aef26f691e9"><div class="ttname"><a href="a00159.html#ggac9764f79505775d06407b40f5e4661e8afb37480fe5f4236eb7dd4aef26f691e9">HWLOC_MEMBIND_REPLICATE</a></div><div class="ttdoc">Replicate memory on the given nodes; reads from this memory will attempt to be serviced from the NUMA...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1791</div></div>
+<div class="ttc" id="a00260_html_a221098c339dbfab27bd2c9f5d32f123b"><div class="ttname"><a href="a00260.html#a221098c339dbfab27bd2c9f5d32f123b">hwloc_topology_membind_support::firsttouch_membind</a></div><div class="ttdeci">unsigned char firsttouch_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1118</div></div>
+<div class="ttc" id="a00154_html_gafcf30842e8cb47b4c3dcaebecea31e17"><div class="ttname"><a href="a00154.html#gafcf30842e8cb47b4c3dcaebecea31e17">hwloc_topology_ignore_type</a></div><div class="ttdeci">int hwloc_topology_ignore_type(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Ignore an object type. </div></div>
+<div class="ttc" id="a00196_html"><div class="ttname"><a href="a00196.html">hwloc_obj_memory_s</a></div><div class="ttdoc">Object memory. </div><div class="ttdef"><b>Definition:</b> hwloc.h:337</div></div>
+<div class="ttc" id="a00160_html_gga9d80f08eb25b7ac22f1b998dc8bf521fa699969227a09bbc1a7de51dc9fb7be4b"><div class="ttname"><a href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa699969227a09bbc1a7de51dc9fb7be4b">HWLOC_RESTRICT_FLAG_ADAPT_MISC</a></div><div class="ttdoc">Move Misc objects to ancestors if their parents are removed during restriction. If this flag is not s...</div><div class="ttdef"><b>Definition:</b> hwloc.h:2310</div></div>
+<div class="ttc" id="a00244_html_a4ca2af858cebbce7324ec49903d09474"><div class="ttname"><a href="a00244.html#a4ca2af858cebbce7324ec49903d09474">hwloc_distances_s::nbobjs</a></div><div class="ttdeci">unsigned nbobjs</div><div class="ttdoc">Number of objects considered in the matrix. It is the number of descendant objects at relative_depth ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:587</div></div>
+<div class="ttc" id="a00196_html_aace044c7f3fd9dffe50202296bf1dc5a"><div class="ttname"><a href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">hwloc_obj_memory_s::local_memory</a></div><div class="ttdeci">hwloc_uint64_t local_memory</div><div class="ttdoc">Local memory (in bytes) </div><div class="ttdef"><b>Definition:</b> hwloc.h:339</div></div>
+<div class="ttc" id="a00204_html_aac3f6da35c9b57599909a44ce2b716c1"><div class="ttname"><a href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">hwloc_obj::arity</a></div><div class="ttdeci">unsigned arity</div><div class="ttdoc">Number of children. </div><div class="ttdef"><b>Definition:</b> hwloc.h:409</div></div>
+<div class="ttc" id="a00158_html_gafdb374627358bf09203b5a4215b13032"><div class="ttname"><a href="a00158.html#gafdb374627358bf09203b5a4215b13032">hwloc_get_last_cpu_location</a></div><div class="ttdeci">int hwloc_get_last_cpu_location(hwloc_topology_t topology, hwloc_cpuset_t set, int flags)</div><div class="ttdoc">Get the last physical CPU where the current process or thread ran. </div></div>
+<div class="ttc" id="a00160_html_gaffdb5403e5178b0d29852dd3319de3fc"><div class="ttname"><a href="a00160.html#gaffdb5403e5178b0d29852dd3319de3fc">hwloc_topology_restrict</a></div><div class="ttdeci">int hwloc_topology_restrict(hwloc_topology_t restrict topology, hwloc_const_cpuset_t cpuset, unsigned long flags)</div><div class="ttdoc">Restrict the topology to the given CPU set. </div></div>
+<div class="ttc" id="a00155_html_ga8cf03328ed09901a03664d9498177126"><div class="ttname"><a href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_by_depth(hwloc_topology_t topology, unsigned depth, hwloc_obj_t prev)</div><div class="ttdoc">Returns the next object at depth depth. </div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00157_html_gab358661a92bb27d8542b255cc9f6f25e"><div class="ttname"><a href="a00157.html#gab358661a92bb27d8542b255cc9f6f25e">hwloc_obj_get_info_by_name</a></div><div class="ttdeci">static const char * hwloc_obj_get_info_by_name(hwloc_obj_t obj, const char *name)</div><div class="ttdoc">Search the given key name in object infos and return the corresponding value. </div></div>
+<div class="ttc" id="a00158_html_gaf13f765642b5d0d9a9813e6bb043671b"><div class="ttname"><a href="a00158.html#gaf13f765642b5d0d9a9813e6bb043671b">hwloc_get_thread_cpubind</a></div><div class="ttdeci">int hwloc_get_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_cpuset_t set, int flags)</div><div class="ttdoc">Get the current physical binding of thread tid. </div></div>
+<div class="ttc" id="a00155_html_gaf4e663cf42bbe20756b849c6293ef575"><div class="ttname"><a href="a00155.html#gaf4e663cf42bbe20756b849c6293ef575">hwloc_get_type_depth_e</a></div><div class="ttdeci">hwloc_get_type_depth_e</div><div class="ttdef"><b>Definition:</b> hwloc.h:1223</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00159_html_ga0ff3076f7f3633637699b809bcceceb1"><div class="ttname"><a href="a00159.html#ga0ff3076f7f3633637699b809bcceceb1">hwloc_alloc_membind_nodeset</a></div><div class="ttdeci">void * hwloc_alloc_membind_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Allocate some memory on NUMA memory nodes specified by nodeset. </div></div>
+<div class="ttc" id="a00216_html_afa253d4b70f92e940c226d61f192054f"><div class="ttname"><a href="a00216.html#afa253d4b70f92e940c226d61f192054f">hwloc_obj_attr_u::hwloc_group_attr_s::dont_merge</a></div><div class="ttdeci">unsigned char dont_merge</div><div class="ttdoc">Flag preventing groups from being automatically merged with identical parent or children. </div><div class="ttdef"><b>Definition:</b> hwloc.h:539</div></div>
+<div class="ttc" id="a00220_html_a695f32df53f4ef728670bfcf31b74e0f"><div class="ttname"><a href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">hwloc_obj_attr_u::hwloc_pcidev_attr_s::func</a></div><div class="ttdeci">unsigned char func</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00159_html_ga7f11bd709ac0cb93af613e2dd84165ad"><div class="ttname"><a href="a00159.html#ga7f11bd709ac0cb93af613e2dd84165ad">hwloc_set_area_membind_nodeset</a></div><div class="ttdeci">int hwloc_set_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Bind the already-allocated memory identified by (addr, len) to the NUMA node(s) specified by nodeset...</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00224_html_a336c8b22893d5d734d8c9dfca4066b46"><div class="ttname"><a href="a00224.html#a336c8b22893d5d734d8c9dfca4066b46">hwloc_obj_attr_u::hwloc_bridge_attr_s::depth</a></div><div class="ttdeci">unsigned depth</div><div class="ttdef"><b>Definition:</b> hwloc.h:563</div></div>
+<div class="ttc" id="a00216_html_ad914eac61c77481e1b7037877bcc5579"><div class="ttname"><a href="a00216.html#ad914eac61c77481e1b7037877bcc5579">hwloc_obj_attr_u::hwloc_group_attr_s::depth</a></div><div class="ttdeci">unsigned depth</div><div class="ttdoc">Depth of group object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:538</div></div>
+<div class="ttc" id="a00151_html_gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658"><div class="ttname"><a href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658">HWLOC_OBJ_CACHE_INSTRUCTION</a></div><div class="ttdoc">Instruction cache. Only used when the HWLOC_TOPOLOGY_FLAG_ICACHES topology flag is set...</div><div class="ttdef"><b>Definition:</b> hwloc.h:273</div></div>
+<div class="ttc" id="a00196_html_a865eba7b12b986d72dbe7a2cfd97c50d"><div class="ttname"><a href="a00196.html#a865eba7b12b986d72dbe7a2cfd97c50d">hwloc_obj_memory_s::page_types</a></div><div class="ttdeci">struct hwloc_obj_memory_s::hwloc_obj_memory_page_type_s * page_types</div></div>
+<div class="ttc" id="a00212_html_ad8edc8ded2b7a70d6abbc874801930f4"><div class="ttname"><a href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">hwloc_obj_attr_u::hwloc_cache_attr_s::type</a></div><div class="ttdeci">hwloc_obj_cache_type_t type</div><div class="ttdoc">Cache type. </div><div class="ttdef"><b>Definition:</b> hwloc.h:534</div></div>
+<div class="ttc" id="a00256_html_a46fba33e307909ce256624687799dd6d"><div class="ttname"><a href="a00256.html#a46fba33e307909ce256624687799dd6d">hwloc_topology_cpubind_support::set_thread_cpubind</a></div><div class="ttdeci">unsigned char set_thread_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1082</div></div>
+<div class="ttc" id="a00260_html_a9880cd2d605e316fc020167c49ca69ad"><div class="ttname"><a href="a00260.html#a9880cd2d605e316fc020167c49ca69ad">hwloc_topology_membind_support::get_proc_membind</a></div><div class="ttdeci">unsigned char get_proc_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1106</div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791">HWLOC_OBJ_OSDEV_DMA</a></div><div class="ttdoc">Operating system dma engine device. For instance the "dma0chan0" DMA channel on Linux. </div><div class="ttdef"><b>Definition:</b> hwloc.h:295</div></div>
+<div class="ttc" id="a00159_html_ga1730ceb18ec6ee3b7bd3d0db81f07dc8"><div class="ttname"><a href="a00159.html#ga1730ceb18ec6ee3b7bd3d0db81f07dc8">hwloc_get_proc_membind</a></div><div class="ttdeci">int hwloc_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, hwloc_membind_policy_t *policy, int flags)</div><div class="ttdoc">Query the default memory binding policy and physical locality of the specified process. </div></div>
+<div class="ttc" id="a00256_html_a8dd4d8531ed2eebdce1507e7d104154e"><div class="ttname"><a href="a00256.html#a8dd4d8531ed2eebdce1507e7d104154e">hwloc_topology_cpubind_support::get_thread_cpubind</a></div><div class="ttdeci">unsigned char get_thread_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1084</div></div>
+<div class="ttc" id="a00158_html_gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc"><div class="ttname"><a href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc">HWLOC_CPUBIND_PROCESS</a></div><div class="ttdoc">Bind all threads of the current (possibly) multithreaded process. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1520</div></div>
+<div class="ttc" id="a00204_html_a8be6f63eca4da91000c832280db927b7"><div class="ttname"><a href="a00204.html#a8be6f63eca4da91000c832280db927b7">hwloc_obj::distances_count</a></div><div class="ttdeci">unsigned distances_count</div><div class="ttdef"><b>Definition:</b> hwloc.h:509</div></div>
+<div class="ttc" id="a00162_html_ga2bf166eda4d3605362ac86f77684002a"><div class="ttname"><a href="a00162.html#ga2bf166eda4d3605362ac86f77684002a">hwloc_topology_export_xml</a></div><div class="ttdeci">int hwloc_topology_export_xml(hwloc_topology_t topology, const char *xmlpath)</div><div class="ttdoc">Export the topology into an XML file. </div></div>
+<div class="ttc" id="a00220_html_a8fba44988deb98613c1505a4019a34dc"><div class="ttname"><a href="a00220.html#a8fba44988deb98613c1505a4019a34dc">hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain</a></div><div class="ttdeci">unsigned short domain</div><div class="ttdef"><b>Definition:</b> hwloc.h:543</div></div>
+<div class="ttc" id="a00155_html_ga2d4b12fc187dfc53b35f2fa21d21044d"><div class="ttname"><a href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_root_obj(hwloc_topology_t topology)</div><div class="ttdoc">Returns the top-object of the topology-tree. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a></div><div class="ttdoc">Operating system GPU device. For instance ":0.0" for a GL display, "card0" for a Linux DRM device...</div><div class="ttdef"><b>Definition:</b> hwloc.h:287</div></div>
+<div class="ttc" id="a00154_html_ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9"><div class="ttname"><a href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9">HWLOC_TOPOLOGY_FLAG_WHOLE_IO</a></div><div class="ttdoc">Detect the whole PCI hierarchy. </div><div class="ttdef"><b>Definition:</b> hwloc.h:825</div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b">HWLOC_OBJ_OSDEV_NETWORK</a></div><div class="ttdoc">Operating system network device. For instance the "eth0" interface on Linux. </div><div class="ttdef"><b>Definition:</b> hwloc.h:290</div></div>
+<div class="ttc" id="a00159_html_ggac9764f79505775d06407b40f5e4661e8a18675bb80ebc1bce5b652e9de8f3998c"><div class="ttname"><a href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a18675bb80ebc1bce5b652e9de8f3998c">HWLOC_MEMBIND_DEFAULT</a></div><div class="ttdoc">Reset the memory allocation policy to the system default. Depending on the operating system...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1755</div></div>
+<div class="ttc" id="a00149_html_ga9c0b50c98add1adf57ed1ce85bb5190d"><div class="ttname"><a href="a00149.html#ga9c0b50c98add1adf57ed1ce85bb5190d">hwloc_get_api_version</a></div><div class="ttdeci">unsigned hwloc_get_api_version(void)</div><div class="ttdoc">Indicate at runtime which hwloc API version was used at build time. </div></div>
+<div class="ttc" id="a00200_html_aa5b9fa36f1dc47ff3c345fe4dd06b260"><div class="ttname"><a href="a00200.html#aa5b9fa36f1dc47ff3c345fe4dd06b260">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s::count</a></div><div class="ttdeci">hwloc_uint64_t count</div><div class="ttdoc">Number of pages of this size. </div><div class="ttdef"><b>Definition:</b> hwloc.h:350</div></div>
+<div class="ttc" id="a00158_html_gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa"><div class="ttname"><a href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa">HWLOC_CPUBIND_STRICT</a></div><div class="ttdoc">Request for strict binding from the OS. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1549</div></div>
+<div class="ttc" id="a00204_html_a67925e0f2c47f50408fbdb9bddd0790f"><div class="ttname"><a href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">hwloc_obj::cpuset</a></div><div class="ttdeci">hwloc_cpuset_t cpuset</div><div class="ttdoc">CPUs covered by this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:421</div></div>
+<div class="ttc" id="a00204_html_afa3c59a6dd3da8ffa48710780a1bfb34"><div class="ttname"><a href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34">hwloc_obj::allowed_cpuset</a></div><div class="ttdeci">hwloc_cpuset_t allowed_cpuset</div><div class="ttdoc">The CPU set of allowed logical processors. </div><div class="ttdef"><b>Definition:</b> hwloc.h:453</div></div>
+<div class="ttc" id="a00264_html_ac6eb62ae8bc0a68dce679a7107a36194"><div class="ttname"><a href="a00264.html#ac6eb62ae8bc0a68dce679a7107a36194">hwloc_topology_support::membind</a></div><div class="ttdeci">struct hwloc_topology_membind_support * membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1142</div></div>
+<div class="ttc" id="a00204_html_a91788a9da687beb7224cc1fd7b75208c"><div class="ttname"><a href="a00204.html#a91788a9da687beb7224cc1fd7b75208c">hwloc_obj::complete_cpuset</a></div><div class="ttdeci">hwloc_cpuset_t complete_cpuset</div><div class="ttdoc">The complete CPU set of logical processors of this object,. </div><div class="ttdef"><b>Definition:</b> hwloc.h:434</div></div>
+<div class="ttc" id="a00204_html_ad59bcd73a10260a0e239be5c4b5888bb"><div class="ttname"><a href="a00204.html#ad59bcd73a10260a0e239be5c4b5888bb">hwloc_obj::infos</a></div><div class="ttdeci">struct hwloc_obj_info_s * infos</div><div class="ttdoc">Array of stringified info type=name. </div><div class="ttdef"><b>Definition:</b> hwloc.h:511</div></div>
+<div class="ttc" id="a00248_html_a115dde58f40338a2d3276d59c099857d"><div class="ttname"><a href="a00248.html#a115dde58f40338a2d3276d59c099857d">hwloc_obj_info_s::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Info name. </div><div class="ttdef"><b>Definition:</b> hwloc.h:616</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f">HWLOC_OBJ_CORE</a></div><div class="ttdoc">Core. A computation unit (may be shared by several logical processors). </div><div class="ttdef"><b>Definition:</b> hwloc.h:207</div></div>
+<div class="ttc" id="a00154_html_gaaeed4df656979e5f16befea9d29b814b"><div class="ttname"><a href="a00154.html#gaaeed4df656979e5f16befea9d29b814b">hwloc_topology_set_flags</a></div><div class="ttdeci">int hwloc_topology_set_flags(hwloc_topology_t topology, unsigned long flags)</div><div class="ttdoc">Set OR&#39;ed flags to non-yet-loaded topology. </div></div>
+<div class="ttc" id="a00204_html_aaa6043eee6f55869933c1d974efd9acd"><div class="ttname"><a href="a00204.html#aaa6043eee6f55869933c1d974efd9acd">hwloc_obj::sibling_rank</a></div><div class="ttdeci">unsigned sibling_rank</div><div class="ttdoc">Index in parent&#39;s children[] array. </div><div class="ttdef"><b>Definition:</b> hwloc.h:404</div></div>
+<div class="ttc" id="a00260_html_a756f44912894b176bf979a1b65f12aac"><div class="ttname"><a href="a00260.html#a756f44912894b176bf979a1b65f12aac">hwloc_topology_membind_support::set_proc_membind</a></div><div class="ttdeci">unsigned char set_proc_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1104</div></div>
+<div class="ttc" id="a00204_html_a84bd65634dbc55f4158b74443a9bd04f"><div class="ttname"><a href="a00204.html#a84bd65634dbc55f4158b74443a9bd04f">hwloc_obj::last_child</a></div><div class="ttdeci">struct hwloc_obj * last_child</div><div class="ttdoc">Last child. </div><div class="ttdef"><b>Definition:</b> hwloc.h:412</div></div>
+<div class="ttc" id="a00156_html_ga870e876931c282a1c7aee2f031912ce3"><div class="ttname"><a href="a00156.html#ga870e876931c282a1c7aee2f031912ce3">hwloc_obj_attr_snprintf</a></div><div class="ttdeci">int hwloc_obj_attr_snprintf(char *restrict string, size_t size, hwloc_obj_t obj, const char *restrict separator, int verbose)</div><div class="ttdoc">Stringify the attributes of a given topology object into a human-readable form. </div></div>
+<div class="ttc" id="a00204_html_a61a7a80a68eaccbaaa28269e678c81a9"><div class="ttname"><a href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">hwloc_obj::os_index</a></div><div class="ttdeci">unsigned os_index</div><div class="ttdoc">OS-provided physical index number. It is not guaranteed unique across the entire machine, except for PUs and NUMA nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:362</div></div>
+<div class="ttc" id="a00159_html_ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402"><div class="ttname"><a href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402">HWLOC_MEMBIND_MIXED</a></div><div class="ttdoc">Returned by get_membind() functions when multiple threads or parts of a memory area have differing me...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1804</div></div>
+<div class="ttc" id="a00212_html"><div class="ttname"><a href="a00212.html">hwloc_obj_attr_u::hwloc_cache_attr_s</a></div><div class="ttdoc">Cache-specific Object Attributes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:528</div></div>
+<div class="ttc" id="a00159_html_ga84ee275e84286d17a5853c52272a6a95"><div class="ttname"><a href="a00159.html#ga84ee275e84286d17a5853c52272a6a95">hwloc_get_membind_nodeset</a></div><div class="ttdeci">int hwloc_get_membind_nodeset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)</div><div class="ttdoc">Query the default memory binding policy and physical locality of the current process or thread...</div></div>
+<div class="ttc" id="a00151_html_gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb"><div class="ttname"><a href="a00151.html#gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb">HWLOC_TYPE_UNORDERED</a></div><div class="ttdoc">Value returned by hwloc_compare_types() when types can not be compared. </div><div class="ttdef"><b>Definition:</b> hwloc.h:323</div></div>
+<div class="ttc" id="a00256_html_ad2d5c94b738d92b7d2ede87e4e96321d"><div class="ttname"><a href="a00256.html#ad2d5c94b738d92b7d2ede87e4e96321d">hwloc_topology_cpubind_support::get_thisproc_last_cpu_location</a></div><div class="ttdeci">unsigned char get_thisproc_last_cpu_location</div><div class="ttdef"><b>Definition:</b> hwloc.h:1086</div></div>
+<div class="ttc" id="a00200_html"><div class="ttname"><a href="a00200.html">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a></div><div class="ttdoc">Array of local memory page types, NULL if no local memory and page_types is 0. </div><div class="ttdef"><b>Definition:</b> hwloc.h:348</div></div>
+<div class="ttc" id="a00224_html_a265dd2164aa2df4972e25a029da72125"><div class="ttname"><a href="a00224.html#a265dd2164aa2df4972e25a029da72125">hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream_type</a></div><div class="ttdeci">hwloc_obj_bridge_type_t upstream_type</div><div class="ttdef"><b>Definition:</b> hwloc.h:555</div></div>
+<div class="ttc" id="a00159_html_ga5b674a9e043814bfd1c927fd0137fb19"><div class="ttname"><a href="a00159.html#ga5b674a9e043814bfd1c927fd0137fb19">hwloc_get_area_membind_nodeset</a></div><div class="ttdeci">int hwloc_get_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)</div><div class="ttdoc">Query the physical NUMA node(s) and binding policy of the memory identified by (addr, len ). </div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a></div><div class="ttdoc">Cache. Can be L1i, L1d, L2, L3, ... </div><div class="ttdef"><b>Definition:</b> hwloc.h:204</div></div>
+<div class="ttc" id="a00153_html_ga9f34a640b6fd28d23699d4d084667b15"><div class="ttname"><a href="a00153.html#ga9f34a640b6fd28d23699d4d084667b15">hwloc_topology_destroy</a></div><div class="ttdeci">void hwloc_topology_destroy(hwloc_topology_t topology)</div><div class="ttdoc">Terminate and free a topology context. </div></div>
+<div class="ttc" id="a00204_html_ac38c4012127525ef74c5615c526f4c2e"><div class="ttname"><a href="a00204.html#ac38c4012127525ef74c5615c526f4c2e">hwloc_obj::complete_nodeset</a></div><div class="ttdeci">hwloc_nodeset_t complete_nodeset</div><div class="ttdoc">The complete NUMA node set of this object,. </div><div class="ttdef"><b>Definition:</b> hwloc.h:481</div></div>
+<div class="ttc" id="a00151_html_gacd37bb612667dc437d66bfb175a8dc55"><div class="ttname"><a href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a></div><div class="ttdeci">hwloc_obj_type_t</div><div class="ttdoc">Type of topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:170</div></div>
+<div class="ttc" id="a00159_html_ggab00475fd98815bf4fb9aaf752030e7d2aa6e49e54f52827cb143cc869cfd748af"><div class="ttname"><a href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aa6e49e54f52827cb143cc869cfd748af">HWLOC_MEMBIND_MIGRATE</a></div><div class="ttdoc">Migrate existing allocated memory. If the memory cannot be migrated and the HWLOC_MEMBIND_STRICT flag...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1844</div></div>
+<div class="ttc" id="a00159_html_gac5075b7a2bf55f48f4622351817addad"><div class="ttname"><a href="a00159.html#gac5075b7a2bf55f48f4622351817addad">hwloc_get_proc_membind_nodeset</a></div><div class="ttdeci">int hwloc_get_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)</div><div class="ttdoc">Query the default memory binding policy and physical locality of the specified process. </div></div>
+<div class="ttc" id="a00260_html_a3fd51e6fa5f0dd800322301b46b08559"><div class="ttname"><a href="a00260.html#a3fd51e6fa5f0dd800322301b46b08559">hwloc_topology_membind_support::get_thisproc_membind</a></div><div class="ttdeci">unsigned char get_thisproc_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1102</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129">HWLOC_OBJ_PACKAGE</a></div><div class="ttdoc">Physical package. The physical package that usually gets inserted into a socket on the motherboard...</div><div class="ttdef"><b>Definition:</b> hwloc.h:199</div></div>
+<div class="ttc" id="a00150_html_ga2f5276235841ad66a79bedad16a5a10c"><div class="ttname"><a href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_nodeset_t</div><div class="ttdoc">A non-modifiable hwloc_nodeset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:154</div></div>
+<div class="ttc" id="a00224_html_ac6a169b672d0e9f75756fd5665828b93"><div class="ttname"><a href="a00224.html#ac6a169b672d0e9f75756fd5665828b93">hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream_type</a></div><div class="ttdeci">hwloc_obj_bridge_type_t downstream_type</div><div class="ttdef"><b>Definition:</b> hwloc.h:562</div></div>
+<div class="ttc" id="a00256_html_aae705bc447adc163ead377362c4dfe9f"><div class="ttname"><a href="a00256.html#aae705bc447adc163ead377362c4dfe9f">hwloc_topology_cpubind_support::get_proc_cpubind</a></div><div class="ttdeci">unsigned char get_proc_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1076</div></div>
+<div class="ttc" id="a00155_html_gab17065e3d53455973844568d9f21c72c"><div class="ttname"><a href="a00155.html#gab17065e3d53455973844568d9f21c72c">hwloc_get_nbobjs_by_depth</a></div><div class="ttdeci">unsigned hwloc_get_nbobjs_by_depth(hwloc_topology_t topology, unsigned depth)</div><div class="ttdoc">Returns the width of level at depth depth. </div></div>
+<div class="ttc" id="a00248_html_a522efd7f5262a4493a73fa3476a041ce"><div class="ttname"><a href="a00248.html#a522efd7f5262a4493a73fa3476a041ce">hwloc_obj_info_s::value</a></div><div class="ttdeci">char * value</div><div class="ttdoc">Info value. </div><div class="ttdef"><b>Definition:</b> hwloc.h:617</div></div>
+<div class="ttc" id="a00260_html_aafa7683871a6a760246f9b35209caec5"><div class="ttname"><a href="a00260.html#aafa7683871a6a760246f9b35209caec5">hwloc_topology_membind_support::migrate_membind</a></div><div class="ttdeci">unsigned char migrate_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1128</div></div>
+<div class="ttc" id="a00154_html_ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89"><div class="ttname"><a href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89">HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES</a></div><div class="ttdoc">Get the set of allowed resources from the local operating system even if the topology was loaded from...</div><div class="ttdef"><b>Definition:</b> hwloc.h:854</div></div>
+<div class="ttc" id="a00163_html_ga7ac6f97cc40bd50c40285084f869ba63"><div class="ttname"><a href="a00163.html#ga7ac6f97cc40bd50c40285084f869ba63">hwloc_topology_export_synthetic_flags_e</a></div><div class="ttdeci">hwloc_topology_export_synthetic_flags_e</div><div class="ttdoc">Flags for exporting synthetic topologies. </div><div class="ttdef"><b>Definition:</b> hwloc.h:2552</div></div>
+<div class="ttc" id="a00155_html_ga8bec782e21be313750da70cf7428b374"><div class="ttname"><a href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a></div><div class="ttdeci">int hwloc_get_type_depth(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Returns the depth of objects of type type. </div></div>
+<div class="ttc" id="a00256_html_a80d762e532d677dff262d83cc7bb1c60"><div class="ttname"><a href="a00256.html#a80d762e532d677dff262d83cc7bb1c60">hwloc_topology_cpubind_support::get_thisthread_cpubind</a></div><div class="ttdeci">unsigned char get_thisthread_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1080</div></div>
+<div class="ttc" id="a00220_html"><div class="ttname"><a href="a00220.html">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a></div><div class="ttdoc">PCI Device specific Object Attributes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:542</div></div>
+<div class="ttc" id="a00160_html_ga9d80f08eb25b7ac22f1b998dc8bf521f"><div class="ttname"><a href="a00160.html#ga9d80f08eb25b7ac22f1b998dc8bf521f">hwloc_restrict_flags_e</a></div><div class="ttdeci">hwloc_restrict_flags_e</div><div class="ttdoc">Flags to be given to hwloc_topology_restrict(). </div><div class="ttdef"><b>Definition:</b> hwloc.h:2299</div></div>
+<div class="ttc" id="a00158_html_gacba7ecb979baf824d5240fa2cb2a8be6"><div class="ttname"><a href="a00158.html#gacba7ecb979baf824d5240fa2cb2a8be6">hwloc_get_cpubind</a></div><div class="ttdeci">int hwloc_get_cpubind(hwloc_topology_t topology, hwloc_cpuset_t set, int flags)</div><div class="ttdoc">Get current process or thread binding. </div></div>
+<div class="ttc" id="a00256_html_a2554620148b7992a5093f338f5ae254f"><div class="ttname"><a href="a00256.html#a2554620148b7992a5093f338f5ae254f">hwloc_topology_cpubind_support::get_proc_last_cpu_location</a></div><div class="ttdeci">unsigned char get_proc_last_cpu_location</div><div class="ttdef"><b>Definition:</b> hwloc.h:1088</div></div>
+<div class="ttc" id="a00220_html_aee735352d9f1686fd290fc6d6397c334"><div class="ttname"><a href="a00220.html#aee735352d9f1686fd290fc6d6397c334">hwloc_obj_attr_u::hwloc_pcidev_attr_s::class_id</a></div><div class="ttdeci">unsigned short class_id</div><div class="ttdef"><b>Definition:</b> hwloc.h:545</div></div>
+<div class="ttc" id="a00256_html_a6be1f042fdce6bf41b4ea39f6f193808"><div class="ttname"><a href="a00256.html#a6be1f042fdce6bf41b4ea39f6f193808">hwloc_topology_cpubind_support::get_thisthread_last_cpu_location</a></div><div class="ttdeci">unsigned char get_thisthread_last_cpu_location</div><div class="ttdef"><b>Definition:</b> hwloc.h:1090</div></div>
+<div class="ttc" id="a00162_html_ga7cbf8a2d8579d192911007650366fc8a"><div class="ttname"><a href="a00162.html#ga7cbf8a2d8579d192911007650366fc8a">hwloc_topology_export_xmlbuffer</a></div><div class="ttdeci">int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen)</div><div class="ttdoc">Export the topology into a newly-allocated XML memory buffer. </div></div>
+<div class="ttc" id="a00196_html_a8befd0b3f4f8b695cafed04b31f36a44"><div class="ttname"><a href="a00196.html#a8befd0b3f4f8b695cafed04b31f36a44">hwloc_obj_memory_s::total_memory</a></div><div class="ttdeci">hwloc_uint64_t total_memory</div><div class="ttdoc">Total memory (in bytes) in this object and its children. </div><div class="ttdef"><b>Definition:</b> hwloc.h:338</div></div>
+<div class="ttc" id="a00154_html_ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8"><div class="ttname"><a href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8">HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</a></div><div class="ttdoc">Detect the whole system, ignore reservations and offline settings. </div><div class="ttdef"><b>Definition:</b> hwloc.h:773</div></div>
+<div class="ttc" id="a00154_html_ga2745616b65595e1c1e579ecc7e461fa8"><div class="ttname"><a href="a00154.html#ga2745616b65595e1c1e579ecc7e461fa8">hwloc_topology_set_xmlbuffer</a></div><div class="ttdeci">int hwloc_topology_set_xmlbuffer(hwloc_topology_t restrict topology, const char *restrict buffer, int size)</div><div class="ttdoc">Enable XML based topology using a memory buffer (instead of a file, as with hwloc_topology_set_xml())...</div></div>
+<div class="ttc" id="a00252_html_ad7bb4ecf7a82f5a04fc632e9592ad3ab"><div class="ttname"><a href="a00252.html#ad7bb4ecf7a82f5a04fc632e9592ad3ab">hwloc_topology_discovery_support::pu</a></div><div class="ttdeci">unsigned char pu</div><div class="ttdoc">Detecting the number of PU objects is supported. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1060</div></div>
+<div class="ttc" id="a00159_html_ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256"><div class="ttname"><a href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256">HWLOC_MEMBIND_BYNODESET</a></div><div class="ttdoc">Consider the bitmap argument as a nodeset. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1869</div></div>
+<div class="ttc" id="a00204_html_a8842d56c2975380f327ea401c5f53564"><div class="ttname"><a href="a00204.html#a8842d56c2975380f327ea401c5f53564">hwloc_obj::online_cpuset</a></div><div class="ttdeci">hwloc_cpuset_t online_cpuset</div><div class="ttdoc">The CPU set of online logical processors. </div><div class="ttdef"><b>Definition:</b> hwloc.h:445</div></div>
+<div class="ttc" id="a00159_html_ga537c7508a4e2d1db05673ec5be6e805c"><div class="ttname"><a href="a00159.html#ga537c7508a4e2d1db05673ec5be6e805c">hwloc_get_area_memlocation</a></div><div class="ttdeci">int hwloc_get_area_memlocation(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, int flags)</div><div class="ttdoc">Get the NUMA nodes where memory identified by (addr, len ) is physically allocated. </div></div>
+<div class="ttc" id="a00159_html_gab1b77b8408bacaf03c7e8878f7577922"><div class="ttname"><a href="a00159.html#gab1b77b8408bacaf03c7e8878f7577922">hwloc_alloc_membind_policy</a></div><div class="ttdeci">static void * hwloc_alloc_membind_policy(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Allocate some memory on NUMA memory nodes specified by set. </div></div>
+<div class="ttc" id="a00159_html_ga04736461780fadcf193af218c0122273"><div class="ttname"><a href="a00159.html#ga04736461780fadcf193af218c0122273">hwloc_alloc_membind</a></div><div class="ttdeci">void * hwloc_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Allocate some memory on NUMA memory nodes specified by set. </div></div>
+<div class="ttc" id="a00154_html_ga2cc7b7b155cba58dda203e54f1637b9c"><div class="ttname"><a href="a00154.html#ga2cc7b7b155cba58dda203e54f1637b9c">hwloc_topology_set_userdata</a></div><div class="ttdeci">void hwloc_topology_set_userdata(hwloc_topology_t topology, const void *userdata)</div><div class="ttdoc">Set the topology-specific userdata pointer. </div></div>
+<div class="ttc" id="a00204_html_a9843acc28cfbba903b63ea14b137ff70"><div class="ttname"><a href="a00204.html#a9843acc28cfbba903b63ea14b137ff70">hwloc_obj::infos_count</a></div><div class="ttdeci">unsigned infos_count</div><div class="ttdoc">Size of infos array. </div><div class="ttdef"><b>Definition:</b> hwloc.h:512</div></div>
+<div class="ttc" id="a00252_html"><div class="ttname"><a href="a00252.html">hwloc_topology_discovery_support</a></div><div class="ttdoc">Flags describing actual discovery support for this topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1058</div></div>
+<div class="ttc" id="a00152_html_ga79b8ab56877ef99ac59b833203391c7d"><div class="ttname"><a href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></div><div class="ttdeci">struct hwloc_obj * hwloc_obj_t</div><div class="ttdoc">Convenience typedef; a pointer to a struct hwloc_obj. </div><div class="ttdef"><b>Definition:</b> hwloc.h:523</div></div>
+<div class="ttc" id="a00244_html_a0f70f48d1bfb18e5e2008825da2967c9"><div class="ttname"><a href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">hwloc_distances_s::latency</a></div><div class="ttdeci">float * latency</div><div class="ttdoc">Matrix of latencies between objects, stored as a one-dimension array. May be NULL if the distances co...</div><div class="ttdef"><b>Definition:</b> hwloc.h:592</div></div>
+<div class="ttc" id="a00163_html_gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4"><div class="ttname"><a href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS</a></div><div class="ttdoc">Do not export level attributes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:2566</div></div>
+<div class="ttc" id="a00240_html"><div class="ttname"><a href="a00240.html">hwloc_obj_attr_u::hwloc_osdev_attr_s</a></div><div class="ttdoc">OS Device specific Object Attributes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:566</div></div>
+<div class="ttc" id="a00162_html_ga293e4a6489f15fd16ad22a5734561cf1"><div class="ttname"><a href="a00162.html#ga293e4a6489f15fd16ad22a5734561cf1">hwloc_free_xmlbuffer</a></div><div class="ttdeci">void hwloc_free_xmlbuffer(hwloc_topology_t topology, char *xmlbuffer)</div><div class="ttdoc">Free a buffer allocated by hwloc_topology_export_xmlbuffer() </div></div>
+<div class="ttc" id="a00155_html_ga789a3f65aedff644be64a18526a03065"><div class="ttname"><a href="a00155.html#ga789a3f65aedff644be64a18526a03065">hwloc_get_nbobjs_by_type</a></div><div class="ttdeci">static int hwloc_get_nbobjs_by_type(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Returns the width of level type type. </div></div>
+<div class="ttc" id="a00196_html_a208c27f4491077d7fb9ba5db8b29cb57"><div class="ttname"><a href="a00196.html#a208c27f4491077d7fb9ba5db8b29cb57">hwloc_obj_memory_s::page_types_len</a></div><div class="ttdeci">unsigned page_types_len</div><div class="ttdoc">Size of array page_types. </div><div class="ttdef"><b>Definition:</b> hwloc.h:342</div></div>
+<div class="ttc" id="a00158_html_ga80bc07473a8edf840cae17bd7ec21d48"><div class="ttname"><a href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48">hwloc_set_cpubind</a></div><div class="ttdeci">int hwloc_set_cpubind(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags)</div><div class="ttdoc">Bind current process or thread on cpus given in physical bitmap set. </div></div>
+<div class="ttc" id="a00151_html_gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60"><div class="ttname"><a href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60">HWLOC_OBJ_BRIDGE_PCI</a></div><div class="ttdoc">PCI-side of a bridge. </div><div class="ttdef"><b>Definition:</b> hwloc.h:280</div></div>
+<div class="ttc" id="a00161_html_ga58220f648a972140865d11940bccec81"><div class="ttname"><a href="a00161.html#ga58220f648a972140865d11940bccec81">hwloc_custom_insert_topology</a></div><div class="ttdeci">int hwloc_custom_insert_topology(hwloc_topology_t newtopology, hwloc_obj_t newparent, hwloc_topology_t oldtopology, hwloc_obj_t oldroot)</div><div class="ttdoc">Insert an existing topology inside a custom topology. </div></div>
+<div class="ttc" id="a00204_html_a7f2343ed476fe4942e6fffd4cade1b40"><div class="ttname"><a href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">hwloc_obj::next_sibling</a></div><div class="ttdeci">struct hwloc_obj * next_sibling</div><div class="ttdoc">Next object below the same parent. </div><div class="ttdef"><b>Definition:</b> hwloc.h:405</div></div>
+<div class="ttc" id="a00155_html_gabf8a98ad085460a4982cc7b74c344b71"><div class="ttname"><a href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a></div><div class="ttdeci">hwloc_obj_t hwloc_get_obj_by_depth(hwloc_topology_t topology, unsigned depth, unsigned idx)</div><div class="ttdoc">Returns the topology object at logical index idx from depth depth. </div></div>
+<div class="ttc" id="a00204_html_a0f41a1d67dc6b661906f2217563637f3"><div class="ttname"><a href="a00204.html#a0f41a1d67dc6b661906f2217563637f3">hwloc_obj::symmetric_subtree</a></div><div class="ttdeci">int symmetric_subtree</div><div class="ttdoc">Set if the subtree of objects below this object is symmetric, which means all children and their chil...</div><div class="ttdef"><b>Definition:</b> hwloc.h:514</div></div>
+<div class="ttc" id="a00154_html_ga7c9cf147442d65d755c664ccde3bb3ef"><div class="ttname"><a href="a00154.html#ga7c9cf147442d65d755c664ccde3bb3ef">hwloc_topology_ignore_all_keep_structure</a></div><div class="ttdeci">int hwloc_topology_ignore_all_keep_structure(hwloc_topology_t topology)</div><div class="ttdoc">Ignore all objects that do not bring any structure. </div></div>
+<div class="ttc" id="a00174_html_gae991a108af01d408be2776c5b2c467b2"><div class="ttname"><a href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a></div><div class="ttdeci">const struct hwloc_bitmap_s * hwloc_const_bitmap_t</div><div class="ttdoc">a non-modifiable hwloc_bitmap_t </div><div class="ttdef"><b>Definition:</b> bitmap.h:65</div></div>
+<div class="ttc" id="a00256_html_a9403d51657a4d546b3ea9553a2973a27"><div class="ttname"><a href="a00256.html#a9403d51657a4d546b3ea9553a2973a27">hwloc_topology_cpubind_support::set_thisproc_cpubind</a></div><div class="ttdeci">unsigned char set_thisproc_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1070</div></div>
+<div class="ttc" id="a00151_html_ga64f5d539df299c97ae80ce53fc4b56c0"><div class="ttname"><a href="a00151.html#ga64f5d539df299c97ae80ce53fc4b56c0">hwloc_obj_osdev_type_e</a></div><div class="ttdeci">hwloc_obj_osdev_type_e</div><div class="ttdoc">Type of a OS device. </div><div class="ttdef"><b>Definition:</b> hwloc.h:284</div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a></div><div class="ttdoc">Operating system co-processor device. For instance "mic0" for a Xeon Phi (MIC) on Linux...</div><div class="ttdef"><b>Definition:</b> hwloc.h:297</div></div>
+<div class="ttc" id="a00220_html_a59b2fce35f7cbde86c4fd305d0ccda5f"><div class="ttname"><a href="a00220.html#a59b2fce35f7cbde86c4fd305d0ccda5f">hwloc_obj_attr_u::hwloc_pcidev_attr_s::linkspeed</a></div><div class="ttdeci">float linkspeed</div><div class="ttdef"><b>Definition:</b> hwloc.h:548</div></div>
+<div class="ttc" id="a00204_html_a76fd3ac94401cf32dfccc3a3a8de68a5"><div class="ttname"><a href="a00204.html#a76fd3ac94401cf32dfccc3a3a8de68a5">hwloc_obj::userdata</a></div><div class="ttdeci">void * userdata</div><div class="ttdoc">Application-given private data pointer, initialized to NULL, use it as you wish. See hwloc_topology_s...</div><div class="ttdef"><b>Definition:</b> hwloc.h:415</div></div>
+<div class="ttc" id="a00260_html_ae7cdb1f1b5f0242a69f85b5a5538c764"><div class="ttname"><a href="a00260.html#ae7cdb1f1b5f0242a69f85b5a5538c764">hwloc_topology_membind_support::bind_membind</a></div><div class="ttdeci">unsigned char bind_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1120</div></div>
+<div class="ttc" id="a00159_html_ggac9764f79505775d06407b40f5e4661e8aecdd4164d647708fbb51a00d98dbb138"><div class="ttname"><a href="a00159.html#ggac9764f79505775d06407b40f5e4661e8aecdd4164d647708fbb51a00d98dbb138">HWLOC_MEMBIND_NEXTTOUCH</a></div><div class="ttdoc">For each page bound with this policy, by next time it is touched (and next time only), it is moved from its current location to the local NUMA node of the thread where the memory reference occurred (if it needs to be moved at all). </div><div class="ttdef"><b>Definition:</b> hwloc.h:1798</div></div>
+<div class="ttc" id="a00204_html_a7b89e8c189876c0158a9282aaaf17f50"><div class="ttname"><a href="a00204.html#a7b89e8c189876c0158a9282aaaf17f50">hwloc_obj::prev_sibling</a></div><div class="ttdeci">struct hwloc_obj * prev_sibling</div><div class="ttdoc">Previous object below the same parent. </div><div class="ttdef"><b>Definition:</b> hwloc.h:406</div></div>
+<div class="ttc" id="a00260_html_a30173553a68e0a4dd1672d26f8e892b1"><div class="ttname"><a href="a00260.html#a30173553a68e0a4dd1672d26f8e892b1">hwloc_topology_membind_support::get_area_memlocation</a></div><div class="ttdeci">unsigned char get_area_memlocation</div><div class="ttdef"><b>Definition:</b> hwloc.h:1130</div></div>
+<div class="ttc" id="a00208_html"><div class="ttname"><a href="a00208.html">hwloc_obj_attr_u</a></div><div class="ttdoc">Object type-specific Attributes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:526</div></div>
+<div class="ttc" id="a00154_html_ga1f987bca941d6949faf7b1554dd7bc12"><div class="ttname"><a href="a00154.html#ga1f987bca941d6949faf7b1554dd7bc12">hwloc_topology_ignore_type_keep_structure</a></div><div class="ttdeci">int hwloc_topology_ignore_type_keep_structure(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Ignore an object type if it does not bring any structure. </div></div>
+<div class="ttc" id="a00153_html_gaf6746bc3a558ef1ac8348b4491d091b5"><div class="ttname"><a href="a00153.html#gaf6746bc3a558ef1ac8348b4491d091b5">hwloc_topology_check</a></div><div class="ttdeci">void hwloc_topology_check(hwloc_topology_t topology)</div><div class="ttdoc">Run internal checks on a topology structure. </div></div>
+<div class="ttc" id="a00159_html_ga32dbd4f54e9e4a7179f2dde37ffe6ad7"><div class="ttname"><a href="a00159.html#ga32dbd4f54e9e4a7179f2dde37ffe6ad7">hwloc_free</a></div><div class="ttdeci">int hwloc_free(hwloc_topology_t topology, void *addr, size_t len)</div><div class="ttdoc">Free memory that was previously allocated by hwloc_alloc() or hwloc_alloc_membind(). </div></div>
+<div class="ttc" id="a00260_html"><div class="ttname"><a href="a00260.html">hwloc_topology_membind_support</a></div><div class="ttdoc">Flags describing actual memory binding support for this topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1098</div></div>
+<div class="ttc" id="a00260_html_a0697af2e41f2e82b8ce71e3cc13f7eac"><div class="ttname"><a href="a00260.html#a0697af2e41f2e82b8ce71e3cc13f7eac">hwloc_topology_membind_support::set_thisthread_membind</a></div><div class="ttdeci">unsigned char set_thisthread_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1108</div></div>
+<div class="ttc" id="a00204_html_acc4f0803f244867e68fe0036800be5de"><div class="ttname"><a href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj::type</a></div><div class="ttdeci">hwloc_obj_type_t type</div><div class="ttdoc">Type of object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:360</div></div>
+<div class="ttc" id="a00159_html_ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997"><div class="ttname"><a href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997">HWLOC_MEMBIND_NOCPUBIND</a></div><div class="ttdoc">Avoid any effect on CPU binding. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1857</div></div>
+<div class="ttc" id="a00154_html_ga879439b7ee99407ee911b3ac64e9a25e"><div class="ttname"><a href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e">hwloc_topology_set_xml</a></div><div class="ttdeci">int hwloc_topology_set_xml(hwloc_topology_t restrict topology, const char *restrict xmlpath)</div><div class="ttdoc">Enable XML-file based topology. </div></div>
+<div class="ttc" id="a00154_html_gad1f15795219e2c3ca6d44ba0db604c4f"><div class="ttname"><a href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f">hwloc_topology_set_custom</a></div><div class="ttdeci">int hwloc_topology_set_custom(hwloc_topology_t topology)</div><div class="ttdoc">Prepare the topology for custom assembly. </div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c">HWLOC_TYPE_DEPTH_PCI_DEVICE</a></div><div class="ttdoc">Virtual depth for PCI device object level. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1227</div></div>
+<div class="ttc" id="a00220_html_a13ad54c93d08d8ac808e4de9674c5ee7"><div class="ttname"><a href="a00220.html#a13ad54c93d08d8ac808e4de9674c5ee7">hwloc_obj_attr_u::hwloc_pcidev_attr_s::revision</a></div><div class="ttdeci">unsigned char revision</div><div class="ttdef"><b>Definition:</b> hwloc.h:547</div></div>
+<div class="ttc" id="a00260_html_a36b3e388df9c6a249427cab7e3724749"><div class="ttname"><a href="a00260.html#a36b3e388df9c6a249427cab7e3724749">hwloc_topology_membind_support::set_thisproc_membind</a></div><div class="ttdeci">unsigned char set_thisproc_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1100</div></div>
+<div class="ttc" id="a00155_html_ga8cc04ad9eb03b0b74d420adf8cc11ad2"><div class="ttname"><a href="a00155.html#ga8cc04ad9eb03b0b74d420adf8cc11ad2">hwloc_get_depth_type</a></div><div class="ttdeci">hwloc_obj_type_t hwloc_get_depth_type(hwloc_topology_t topology, unsigned depth)</div><div class="ttdoc">Returns the type of objects at depth depth. </div></div>
+<div class="ttc" id="a00159_html_ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0"><div class="ttname"><a href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0">HWLOC_MEMBIND_FIRSTTOUCH</a></div><div class="ttdoc">Allocate memory but do not immediately bind it to a specific locality. Instead, each page in the allo...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1765</div></div>
+<div class="ttc" id="a00158_html_gac82de91f788fa82dacf99c6e0d4b7158"><div class="ttname"><a href="a00158.html#gac82de91f788fa82dacf99c6e0d4b7158">hwloc_get_proc_cpubind</a></div><div class="ttdeci">int hwloc_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags)</div><div class="ttdoc">Get the current physical binding of process pid. </div></div>
+<div class="ttc" id="a00260_html_ab0921af6e0cd6975812a80b8e5c7435c"><div class="ttname"><a href="a00260.html#ab0921af6e0cd6975812a80b8e5c7435c">hwloc_topology_membind_support::nexttouch_membind</a></div><div class="ttdeci">unsigned char nexttouch_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1126</div></div>
+<div class="ttc" id="a00151_html_gab6e1e7efedae8b341f3ee14fbe53d66c"><div class="ttname"><a href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a></div><div class="ttdeci">enum hwloc_obj_cache_type_e hwloc_obj_cache_type_t</div><div class="ttdoc">Cache type. </div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a></div><div class="ttdoc">NUMA node. An object that contains memory that is directly and byte-accessible to the host processors...</div><div class="ttdef"><b>Definition:</b> hwloc.h:190</div></div>
+<div class="ttc" id="a00204_html_a08f0d0e16c619a6e653526cbee4ffea3"><div class="ttname"><a href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">hwloc_obj::nodeset</a></div><div class="ttdeci">hwloc_nodeset_t nodeset</div><div class="ttdoc">NUMA nodes covered by this object or containing this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:464</div></div>
+<div class="ttc" id="a00159_html_gac9764f79505775d06407b40f5e4661e8"><div class="ttname"><a href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a></div><div class="ttdeci">hwloc_membind_policy_t</div><div class="ttdoc">Memory binding policy. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1745</div></div>
+<div class="ttc" id="a00156_html_ga8e0472dfa655c68c0c9072e1ee3a1e03"><div class="ttname"><a href="a00156.html#ga8e0472dfa655c68c0c9072e1ee3a1e03">hwloc_obj_cpuset_snprintf</a></div><div class="ttdeci">int hwloc_obj_cpuset_snprintf(char *restrict str, size_t size, size_t nobj, const hwloc_obj_t *restrict objs)</div><div class="ttdoc">Stringify the cpuset containing a set of objects. </div></div>
+<div class="ttc" id="a00204_html_af51d08a0a79dba517c06c5afedc8d2dc"><div class="ttname"><a href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">hwloc_obj::first_child</a></div><div class="ttdeci">struct hwloc_obj * first_child</div><div class="ttdoc">First child. </div><div class="ttdef"><b>Definition:</b> hwloc.h:411</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80">HWLOC_OBJ_MACHINE</a></div><div class="ttdoc">Machine. The typical root object type. A set of processors and memory with cache coherency. </div><div class="ttdef"><b>Definition:</b> hwloc.h:185</div></div>
+<div class="ttc" id="a00153_html_gabdf58d87ad77f6615fccdfe0535ff826"><div class="ttname"><a href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826">hwloc_topology_load</a></div><div class="ttdeci">int hwloc_topology_load(hwloc_topology_t topology)</div><div class="ttdoc">Build the actual topology. </div></div>
+<div class="ttc" id="a00156_html_gadb8765c260edea80c52cd06a76639ba4"><div class="ttname"><a href="a00156.html#gadb8765c260edea80c52cd06a76639ba4">hwloc_obj_type_snprintf</a></div><div class="ttdeci">int hwloc_obj_type_snprintf(char *restrict string, size_t size, hwloc_obj_t obj, int verbose)</div><div class="ttdoc">Stringify the type of a given topology object into a human-readable form. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6">HWLOC_OBJ_OSDEV_OPENFABRICS</a></div><div class="ttdoc">Operating system openfabrics device. For instance the "mlx4_0" InfiniBand HCA, or "hfi1_0" Omni-Path ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:292</div></div>
+<div class="ttc" id="a00212_html_a5c8f7f39193736c2187ed626940835d5"><div class="ttname"><a href="a00212.html#a5c8f7f39193736c2187ed626940835d5">hwloc_obj_attr_u::hwloc_cache_attr_s::depth</a></div><div class="ttdeci">unsigned depth</div><div class="ttdoc">Depth of cache (e.g., L1, L2, ...etc.) </div><div class="ttdef"><b>Definition:</b> hwloc.h:530</div></div>
+<div class="ttc" id="a00224_html_a2c31e565a5f0d23d0a0a3dd3ec8f4b17"><div class="ttname"><a href="a00224.html#a2c31e565a5f0d23d0a0a3dd3ec8f4b17">hwloc_obj_attr_u::hwloc_bridge_attr_s::domain</a></div><div class="ttdeci">unsigned short domain</div><div class="ttdef"><b>Definition:</b> hwloc.h:558</div></div>
+<div class="ttc" id="a00160_html_gga9d80f08eb25b7ac22f1b998dc8bf521faa95d6985e36ec1e55f68b210297a85cb"><div class="ttname"><a href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521faa95d6985e36ec1e55f68b210297a85cb">HWLOC_RESTRICT_FLAG_ADAPT_IO</a></div><div class="ttdoc">Move I/O objects to ancestors if their parents are removed during restriction. If this flag is not se...</div><div class="ttdef"><b>Definition:</b> hwloc.h:2316</div></div>
+<div class="ttc" id="a00163_html_ga24b7864a1c588309c4749f621f03b4c7"><div class="ttname"><a href="a00163.html#ga24b7864a1c588309c4749f621f03b4c7">hwloc_topology_export_synthetic</a></div><div class="ttdeci">int hwloc_topology_export_synthetic(hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags)</div><div class="ttdoc">Export the topology as a synthetic string. </div></div>
+<div class="ttc" id="a00200_html_a3f1d261766352288791512974665ce01"><div class="ttname"><a href="a00200.html#a3f1d261766352288791512974665ce01">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s::size</a></div><div class="ttdeci">hwloc_uint64_t size</div><div class="ttdoc">Size of pages. </div><div class="ttdef"><b>Definition:</b> hwloc.h:349</div></div>
+<div class="ttc" id="a00150_html_ga37e35730fa7e775b5bb0afe893d6d508"><div class="ttname"><a href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_nodeset_t</div><div class="ttdoc">A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes...</div><div class="ttdef"><b>Definition:</b> hwloc.h:151</div></div>
+<div class="ttc" id="a00151_html_ga90c1e82a60ba5871d07645169e636987"><div class="ttname"><a href="a00151.html#ga90c1e82a60ba5871d07645169e636987">hwloc_obj_osdev_type_t</a></div><div class="ttdeci">enum hwloc_obj_osdev_type_e hwloc_obj_osdev_type_t</div><div class="ttdoc">Type of a OS device. </div></div>
+<div class="ttc" id="a00162_html_ga9d6ff0f7a8dd45be9aa8575ef31978cc"><div class="ttname"><a href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc">hwloc_topology_set_userdata_export_callback</a></div><div class="ttdeci">void hwloc_topology_set_userdata_export_callback(hwloc_topology_t topology, void(*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj))</div><div class="ttdoc">Set the application-specific callback for exporting object userdata. </div></div>
+<div class="ttc" id="a00159_html_ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298"><div class="ttname"><a href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298">HWLOC_MEMBIND_THREAD</a></div><div class="ttdoc">Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...</div><div class="ttdef"><b>Definition:</b> hwloc.h:1830</div></div>
+<div class="ttc" id="a00159_html_gaf881faefe20701229f07dd7dbd0125ed"><div class="ttname"><a href="a00159.html#gaf881faefe20701229f07dd7dbd0125ed">hwloc_set_area_membind</a></div><div class="ttdeci">int hwloc_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Bind the already-allocated memory identified by (addr, len) to the NUMA node(s) specified by set...</div></div>
+<div class="ttc" id="a00155_html_gafa4f8dbc4c2e74c0da8019446353eed1"><div class="ttname"><a href="a00155.html#gafa4f8dbc4c2e74c0da8019446353eed1">hwloc_topology_get_depth</a></div><div class="ttdeci">unsigned hwloc_topology_get_depth(hwloc_topology_t restrict topology)</div><div class="ttdoc">Get the depth of the hierarchical tree of objects. </div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec">HWLOC_OBJ_SYSTEM</a></div><div class="ttdoc">Whole system (may be a cluster of machines). The whole system that is accessible to hwloc...</div><div class="ttdef"><b>Definition:</b> hwloc.h:180</div></div>
+<div class="ttc" id="a00264_html_adef2bb91f74c3e70a2a071393caf5f56"><div class="ttname"><a href="a00264.html#adef2bb91f74c3e70a2a071393caf5f56">hwloc_topology_support::cpubind</a></div><div class="ttdeci">struct hwloc_topology_cpubind_support * cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1141</div></div>
+<div class="ttc" id="a00153_html_ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa"><div class="ttname"><a href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa">hwloc_topology_init</a></div><div class="ttdeci">int hwloc_topology_init(hwloc_topology_t *topologyp)</div><div class="ttdoc">Allocate a topology context. </div></div>
+<div class="ttc" id="a00156_html_ga5ca0bf94bbbb080d0eff17a57bd90422"><div class="ttname"><a href="a00156.html#ga5ca0bf94bbbb080d0eff17a57bd90422">hwloc_obj_type_string</a></div><div class="ttdeci">const char * hwloc_obj_type_string(hwloc_obj_type_t type)</div><div class="ttdoc">Return a constant stringified object type. </div></div>
+<div class="ttc" id="a00154_html_ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b"><div class="ttname"><a href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a></div><div class="ttdoc">Assume that the selected backend provides the topology for the system on which we are running...</div><div class="ttdef"><b>Definition:</b> hwloc.h:793</div></div>
+<div class="ttc" id="a00151_html_ga48a4803c72574191d7ead1c62aaf9860"><div class="ttname"><a href="a00151.html#ga48a4803c72574191d7ead1c62aaf9860">hwloc_obj_bridge_type_e</a></div><div class="ttdeci">hwloc_obj_bridge_type_e</div><div class="ttdoc">Type of one side (upstream or downstream) of an I/O bridge. </div><div class="ttdef"><b>Definition:</b> hwloc.h:278</div></div>
+<div class="ttc" id="a00260_html_ae551abb27d2aa9ce008583488b845b98"><div class="ttname"><a href="a00260.html#ae551abb27d2aa9ce008583488b845b98">hwloc_topology_membind_support::alloc_membind</a></div><div class="ttdeci">unsigned char alloc_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1116</div></div>
+<div class="ttc" id="a00216_html"><div class="ttname"><a href="a00216.html">hwloc_obj_attr_u::hwloc_group_attr_s</a></div><div class="ttdoc">Group-specific Object Attributes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:537</div></div>
+<div class="ttc" id="a00256_html_a77a09ddd78ee3e9ff5f532a6ac74f7eb"><div class="ttname"><a href="a00256.html#a77a09ddd78ee3e9ff5f532a6ac74f7eb">hwloc_topology_cpubind_support::get_thisproc_cpubind</a></div><div class="ttdeci">unsigned char get_thisproc_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1072</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00151_html_ga46323568968005137c32f6a1cd405b74"><div class="ttname"><a href="a00151.html#ga46323568968005137c32f6a1cd405b74">hwloc_compare_types_e</a></div><div class="ttdeci">hwloc_compare_types_e</div><div class="ttdef"><b>Definition:</b> hwloc.h:322</div></div>
+<div class="ttc" id="a00159_html_ga7d473e80f11d774421688e36e9926136"><div class="ttname"><a href="a00159.html#ga7d473e80f11d774421688e36e9926136">hwloc_alloc_membind_policy_nodeset</a></div><div class="ttdeci">static void * hwloc_alloc_membind_policy_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Allocate some memory on NUMA memory nodes specified by nodeset. </div></div>
+<div class="ttc" id="a00161_html_ga60c404d4f0544e1070f549af8be6bd73"><div class="ttname"><a href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73">hwloc_custom_insert_group_object_by_parent</a></div><div class="ttdeci">hwloc_obj_t hwloc_custom_insert_group_object_by_parent(hwloc_topology_t topology, hwloc_obj_t parent, int groupdepth)</div><div class="ttdoc">Insert a new group object inside a custom topology. </div></div>
+<div class="ttc" id="a00158_html_ga296db8a3c6d49b51fb83d6f3e45c02a6"><div class="ttname"><a href="a00158.html#ga296db8a3c6d49b51fb83d6f3e45c02a6">hwloc_set_proc_cpubind</a></div><div class="ttdeci">int hwloc_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t set, int flags)</div><div class="ttdoc">Bind a process pid on cpus given in physical bitmap set. </div></div>
+<div class="ttc" id="a00151_html_ga1820ea0dfd8e9dca28f9ea7624df5ae2"><div class="ttname"><a href="a00151.html#ga1820ea0dfd8e9dca28f9ea7624df5ae2">hwloc_compare_types</a></div><div class="ttdeci">int hwloc_compare_types(hwloc_obj_type_t type1, hwloc_obj_type_t type2)</div><div class="ttdoc">Compare the depth of two object types. </div></div>
+<div class="ttc" id="a00204_html_a04d05403da37bfe17cd63b7c7dd07b1f"><div class="ttname"><a href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">hwloc_obj::children</a></div><div class="ttdeci">struct hwloc_obj ** children</div><div class="ttdoc">Children, children[0 .. arity -1]. </div><div class="ttdef"><b>Definition:</b> hwloc.h:410</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+<div class="ttc" id="a00260_html_a3c44c6012860bbeba8a0f4c19710858d"><div class="ttname"><a href="a00260.html#a3c44c6012860bbeba8a0f4c19710858d">hwloc_topology_membind_support::interleave_membind</a></div><div class="ttdeci">unsigned char interleave_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1122</div></div>
+<div class="ttc" id="a00220_html_aad970ad19b62eb2d5df30e4802da4f4c"><div class="ttname"><a href="a00220.html#aad970ad19b62eb2d5df30e4802da4f4c">hwloc_obj_attr_u::hwloc_pcidev_attr_s::vendor_id</a></div><div class="ttdeci">unsigned short vendor_id</div><div class="ttdef"><b>Definition:</b> hwloc.h:546</div></div>
+<div class="ttc" id="a00153_html_ga62a161fc5e6f120344dc69a7bee4e587"><div class="ttname"><a href="a00153.html#ga62a161fc5e6f120344dc69a7bee4e587">hwloc_topology_dup</a></div><div class="ttdeci">int hwloc_topology_dup(hwloc_topology_t *newtopology, hwloc_topology_t oldtopology)</div><div class="ttdoc">Duplicate a topology. </div></div>
+<div class="ttc" id="a00256_html_aa166223d1c2a6de7256ab2d8b675a87e"><div class="ttname"><a href="a00256.html#aa166223d1c2a6de7256ab2d8b675a87e">hwloc_topology_cpubind_support::set_proc_cpubind</a></div><div class="ttdeci">unsigned char set_proc_cpubind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1074</div></div>
+<div class="ttc" id="a00154_html_ga91f992f8d6c4905b2d3c4f43e509c2a3"><div class="ttname"><a href="a00154.html#ga91f992f8d6c4905b2d3c4f43e509c2a3">hwloc_topology_get_userdata</a></div><div class="ttdeci">void * hwloc_topology_get_userdata(hwloc_topology_t topology)</div><div class="ttdoc">Retrieve the topology-specific userdata pointer. </div></div>
+<div class="ttc" id="a00260_html_afe608fb85eb2aa9706221ccb5fc4d415"><div class="ttname"><a href="a00260.html#afe608fb85eb2aa9706221ccb5fc4d415">hwloc_topology_membind_support::replicate_membind</a></div><div class="ttdeci">unsigned char replicate_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1124</div></div>
+<div class="ttc" id="a00160_html_gga9d80f08eb25b7ac22f1b998dc8bf521fa4d18407f5520793b50b9e892f5bb55d1"><div class="ttname"><a href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa4d18407f5520793b50b9e892f5bb55d1">HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES</a></div><div class="ttdoc">Adapt distance matrices according to objects being removed during restriction. If this flag is not se...</div><div class="ttdef"><b>Definition:</b> hwloc.h:2304</div></div>
+<div class="ttc" id="a00154_html_gac0ea95d5f2ad78408bc267a0441c7c97"><div class="ttname"><a href="a00154.html#gac0ea95d5f2ad78408bc267a0441c7c97">hwloc_topology_set_fsroot</a></div><div class="ttdeci">int hwloc_topology_set_fsroot(hwloc_topology_t restrict topology, const char *restrict fsroot_path)</div><div class="ttdoc">Change the file-system root path when building the topology from sysfs/procfs. </div></div>
+<div class="ttc" id="a00154_html_ga341fc17b5867a4715570baab131f68cd"><div class="ttname"><a href="a00154.html#ga341fc17b5867a4715570baab131f68cd">hwloc_topology_set_pid</a></div><div class="ttdeci">int hwloc_topology_set_pid(hwloc_topology_t restrict topology, hwloc_pid_t pid)</div><div class="ttdoc">Change which process the topology is viewed from. </div></div>
+<div class="ttc" id="a00159_html_gaa87e0a6946ff145914fdf0b1c60567f8"><div class="ttname"><a href="a00159.html#gaa87e0a6946ff145914fdf0b1c60567f8">hwloc_get_area_membind</a></div><div class="ttdeci">int hwloc_get_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, hwloc_membind_policy_t *policy, int flags)</div><div class="ttdoc">Query the CPUs near the physical NUMA node(s) and binding policy of the memory identified by (addr...</div></div>
+<div class="ttc" id="a00159_html_ga21b042d94266a26a9c82b98c4bb30d01"><div class="ttname"><a href="a00159.html#ga21b042d94266a26a9c82b98c4bb30d01">hwloc_set_proc_membind_nodeset</a></div><div class="ttdeci">int hwloc_set_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</div><div class="ttdoc">Set the default memory binding policy of the specified process to prefer the NUMA node(s) specified b...</div></div>
+<div class="ttc" id="a00260_html_a0a84e24a06f2fa487fe8c9605c6f68b3"><div class="ttname"><a href="a00260.html#a0a84e24a06f2fa487fe8c9605c6f68b3">hwloc_topology_membind_support::get_area_membind</a></div><div class="ttdeci">unsigned char get_area_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1114</div></div>
+<div class="ttc" id="a00248_html"><div class="ttname"><a href="a00248.html">hwloc_obj_info_s</a></div><div class="ttdoc">Object info. </div><div class="ttdef"><b>Definition:</b> hwloc.h:615</div></div>
+<div class="ttc" id="a00158_html_gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421"><div class="ttname"><a href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421">HWLOC_CPUBIND_THREAD</a></div><div class="ttdoc">Bind current thread of current process. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1524</div></div>
+<div class="ttc" id="a00174_html_gaa3c2bf4c776d603dcebbb61b0c923d84"><div class="ttname"><a href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></div><div class="ttdeci">struct hwloc_bitmap_s * hwloc_bitmap_t</div><div class="ttdoc">Set of bits represented as an opaque pointer to an internal bitmap. </div><div class="ttdef"><b>Definition:</b> bitmap.h:63</div></div>
+<div class="ttc" id="a00244_html_a6fe066eaf62ee448aa05bab8e7217ff7"><div class="ttname"><a href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">hwloc_distances_s::relative_depth</a></div><div class="ttdeci">unsigned relative_depth</div><div class="ttdoc">Relative depth of the considered objects below the object containing this distance information...</div><div class="ttdef"><b>Definition:</b> hwloc.h:585</div></div>
+<div class="ttc" id="a00260_html_a63b0b2e26157b472f5717ee93cc7c535"><div class="ttname"><a href="a00260.html#a63b0b2e26157b472f5717ee93cc7c535">hwloc_topology_membind_support::get_thisthread_membind</a></div><div class="ttdeci">unsigned char get_thisthread_membind</div><div class="ttdef"><b>Definition:</b> hwloc.h:1110</div></div>
+<div class="ttc" id="a00212_html_ad06525e474d1e2d1423ed71bb998592d"><div class="ttname"><a href="a00212.html#ad06525e474d1e2d1423ed71bb998592d">hwloc_obj_attr_u::hwloc_cache_attr_s::associativity</a></div><div class="ttdeci">int associativity</div><div class="ttdoc">Ways of associativity, -1 if fully associative, 0 if unknown. </div><div class="ttdef"><b>Definition:</b> hwloc.h:532</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): helper.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">helper.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2016 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2012 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef HWLOC_HELPER_H</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define HWLOC_HELPER_H</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#ifndef HWLOC_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#error Please include the main hwloc.h instead</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <stdlib.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <errno.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="a00164.html#ga547325a4193dbc215d07c23097519d79"> 45</a></span> <a class="code" href="a00164.html#ga547325a4193dbc215d07c23097519d79">hwloc_get_first_largest_obj_inside_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">if</span> (!obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a> || !<a class="code" href="a00174.html#gaefa070f9232857ba5a57297ea9a08ea2">hwloc_bitmap_intersects</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>))</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">while</span> (!<a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>)) {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">/* while the object intersects without being included, look at its children */</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> child = obj-><a class="code" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">first_child</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">while</span> (child) {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span> (child-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a> && <a class="code" href="a00174.html#gaefa070f9232857ba5a57297ea9a08ea2">hwloc_bitmap_intersects</a>(child-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>))</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  child = child-><a class="code" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">next_sibling</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">if</span> (!child)</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">/* no child intersects, return their father */</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">/* found one intersecting child, look at its children */</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  obj = child;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">/* obj is included, return it */</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00164.html#ga34ca563fa3a6a4e05268f36a87668511">hwloc_get_largest_objs_inside_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> * __hwloc_restrict objs, <span class="keywordtype">int</span> max);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="a00164.html#ga468b8bef96f9677d6fe04a0d81044c85"> 91</a></span> <a class="code" href="a00164.html#ga468b8bef96f9677d6fe04a0d81044c85">hwloc_get_next_obj_inside_cpuset_by_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">unsigned</span> depth, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> next = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, prev);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">if</span> (!next || !next-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">while</span> (next && (<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(next-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>) || !<a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(next-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>)))</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  next = next-><a class="code" href="a00204.html#a85a788017457129589318b6c39451acf">next_cousin</a>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">return</span> next;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> }</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="a00164.html#gafe859176cf9233f215fea0e87cef47e7"> 115</a></span> <a class="code" href="a00164.html#gafe859176cf9233f215fea0e87cef47e7">hwloc_get_next_obj_inside_cpuset_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, type);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a> || depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a>)</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> <a class="code" href="a00164.html#ga468b8bef96f9677d6fe04a0d81044c85">hwloc_get_next_obj_inside_cpuset_by_depth</a>(topology, <span class="keyword">set</span>, depth, prev);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <a class="code" href="a00164.html#ga9442c310da87de6d09d3a4b8399ec14f">hwloc_get_obj_inside_cpuset_by_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordtype">unsigned</span> depth, <span class="keywordtype">unsigned</span> idx) __hwloc_attribute_pure;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="a00164.html#ga9442c310da87de6d09d3a4b8399ec14f"> 136</a></span> <a class="code" href="a00164.html#ga9442c310da87de6d09d3a4b8399ec14f">hwloc_get_obj_inside_cpuset_by_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">unsigned</span> depth, <span class="keywordtype">unsigned</span> idx)</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = <a class="code" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a> (topology, depth, 0);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordtype">unsigned</span> count = 0;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span> (!obj || !obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">while</span> (obj) {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>) && <a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>)) {</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span> (count == idx)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  count++;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  obj = obj-><a class="code" href="a00204.html#a85a788017457129589318b6c39451acf">next_cousin</a>;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> }</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <a class="code" href="a00164.html#ga2edf924e5a0cca9cb22f65cc77c6ddb5">hwloc_get_obj_inside_cpuset_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <span class="keywordtype">unsigned</span> idx) __hwloc_attribute_pure;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="a00164.html#ga2edf924e5a0cca9cb22f65cc77c6ddb5"> 170</a></span> <a class="code" href="a00164.html#ga2edf924e5a0cca9cb22f65cc77c6ddb5">hwloc_get_obj_inside_cpuset_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <span class="keywordtype">unsigned</span> idx)</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, type);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a> || depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a>)</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">return</span> <a class="code" href="a00164.html#ga9442c310da87de6d09d3a4b8399ec14f">hwloc_get_obj_inside_cpuset_by_depth</a>(topology, <span class="keyword">set</span>, depth, idx);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> }</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">unsigned</span></div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <a class="code" href="a00164.html#ga8874c24e73ba2b04c76ec8b9e54f49f8">hwloc_get_nbobjs_inside_cpuset_by_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordtype">unsigned</span> depth) __hwloc_attribute_pure;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">unsigned</span></div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="a00164.html#ga8874c24e73ba2b04c76ec8b9e54f49f8"> 191</a></span> <a class="code" href="a00164.html#ga8874c24e73ba2b04c76ec8b9e54f49f8">hwloc_get_nbobjs_inside_cpuset_by_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">unsigned</span> depth)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = <a class="code" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a> (topology, depth, 0);</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">unsigned</span> count = 0;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">if</span> (!obj || !obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">while</span> (obj) {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>) && <a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>))</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  count++;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  obj = obj-><a class="code" href="a00204.html#a85a788017457129589318b6c39451acf">next_cousin</a>;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  }</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span> count;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> }</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <a class="code" href="a00164.html#ga133c40415de008518608f8bff52a5ab9">hwloc_get_nbobjs_inside_cpuset_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type) __hwloc_attribute_pure;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="a00164.html#ga133c40415de008518608f8bff52a5ab9"> 222</a></span> <a class="code" href="a00164.html#ga133c40415de008518608f8bff52a5ab9">hwloc_get_nbobjs_inside_cpuset_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> {</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, type);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>)</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a>)</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordflow">return</span> -1; <span class="comment">/* FIXME: agregate nbobjs from different levels? */</span></div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">return</span> <a class="code" href="a00164.html#ga8874c24e73ba2b04c76ec8b9e54f49f8">hwloc_get_nbobjs_inside_cpuset_by_depth</a>(topology, <span class="keyword">set</span>, depth);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> }</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <a class="code" href="a00164.html#ga4c3a20d61e9beb06c667b21688c772c5">hwloc_get_obj_index_inside_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj) __hwloc_attribute_pure;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="a00164.html#ga4c3a20d61e9beb06c667b21688c772c5"> 248</a></span> <a class="code" href="a00164.html#ga4c3a20d61e9beb06c667b21688c772c5">hwloc_get_obj_index_inside_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj)</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordtype">int</span> idx = 0;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>))</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">/* count how many objects are inside the cpuset on the way from us to the beginning of the level */</span></div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordflow">while</span> ((obj = obj-><a class="code" href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0">prev_cousin</a>) != NULL)</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>) && <a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, <span class="keyword">set</span>))</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  idx++;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">return</span> idx;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> }</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <a class="code" href="a00165.html#ga0e66aa2dc6b2527cfd10723af646c9d7">hwloc_get_child_covering_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> parent) __hwloc_attribute_pure;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="a00165.html#ga0e66aa2dc6b2527cfd10723af646c9d7"> 279</a></span> <a class="code" href="a00165.html#ga0e66aa2dc6b2527cfd10723af646c9d7">hwloc_get_child_covering_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> parent)</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> {</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> child;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keywordflow">if</span> (!parent-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a> || <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>))</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  child = parent-><a class="code" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">first_child</a>;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">while</span> (child) {</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keywordflow">if</span> (child-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a> && <a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(<span class="keyword">set</span>, child-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>))</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span> child;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  child = child-><a class="code" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">next_sibling</a>;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  }</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> }</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <a class="code" href="a00165.html#ga41acdcdbb8b95d70ecf6c572a3f67dca">hwloc_get_obj_covering_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>) __hwloc_attribute_pure;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="a00165.html#ga41acdcdbb8b95d70ecf6c572a3f67dca"> 304</a></span> <a class="code" href="a00165.html#ga41acdcdbb8b95d70ecf6c572a3f67dca">hwloc_get_obj_covering_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> {</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *current = <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordflow">if</span> (<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>) || !current-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a> || !<a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(<span class="keyword">set</span>, current-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>))</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordflow">while</span> (1) {</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> child = <a class="code" href="a00165.html#ga0e66aa2dc6b2527cfd10723af646c9d7">hwloc_get_child_covering_cpuset</a>(topology, <span class="keyword">set</span>, current);</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">if</span> (!child)</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">return</span> current;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  current = child;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> }</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c"> 328</a></span> <a class="code" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordtype">unsigned</span> depth, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> next = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, prev);</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordflow">if</span> (!next || !next-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keywordflow">while</span> (next && !<a class="code" href="a00174.html#gaefa070f9232857ba5a57297ea9a08ea2">hwloc_bitmap_intersects</a>(<span class="keyword">set</span>, next-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>))</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  next = next-><a class="code" href="a00204.html#a85a788017457129589318b6c39451acf">next_cousin</a>;</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keywordflow">return</span> next;</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> }</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> </div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="a00165.html#ga91cfae08b092e7966002e15d1e987213"> 355</a></span> <a class="code" href="a00165.html#ga91cfae08b092e7966002e15d1e987213">hwloc_get_next_obj_covering_cpuset_by_type</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>,</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> {</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, type);</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a> || depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a>)</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="keywordflow">return</span> <a class="code" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a>(topology, <span class="keyword">set</span>, depth, prev);</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> }</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span> </div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <a class="code" href="a00166.html#gaa367c98dea402386c040a47a2f414f86">hwloc_get_ancestor_obj_by_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <span class="keywordtype">unsigned</span> depth, <a class="code" href="a00204.html">hwloc_obj_t</a> obj) __hwloc_attribute_pure;</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="a00166.html#gaa367c98dea402386c040a47a2f414f86"> 381</a></span> <a class="code" href="a00166.html#gaa367c98dea402386c040a47a2f414f86">hwloc_get_ancestor_obj_by_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <span class="keywordtype">unsigned</span> depth, <a class="code" href="a00204.html">hwloc_obj_t</a> obj)</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> {</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> ancestor = obj;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a> < depth)</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordflow">while</span> (ancestor && ancestor-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a> > depth)</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  ancestor = ancestor-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="keywordflow">return</span> ancestor;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> }</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> <a class="code" href="a00166.html#ga70f0c7583291da707c15ae4daa850f41">hwloc_get_ancestor_obj_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="code" href="a00204.html">hwloc_obj_t</a> obj) __hwloc_attribute_pure;</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="a00166.html#ga70f0c7583291da707c15ae4daa850f41"> 395</a></span> <a class="code" href="a00166.html#ga70f0c7583291da707c15ae4daa850f41">hwloc_get_ancestor_obj_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="code" href="a00204.html">hwloc_obj_t</a> obj)</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span> {</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> ancestor = obj-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keywordflow">while</span> (ancestor && ancestor-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> != type)</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  ancestor = ancestor-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <span class="keywordflow">return</span> ancestor;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span> }</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span> </div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span> <a class="code" href="a00166.html#gab1fa883021928b5c476911c4102e9be3">hwloc_get_common_ancestor_obj</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00204.html">hwloc_obj_t</a> obj1, <a class="code" href="a00204.html">hwloc_obj_t</a> obj2) __hwloc_attribute_pure;</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="a00166.html#gab1fa883021928b5c476911c4102e9be3"> 407</a></span> <a class="code" href="a00166.html#gab1fa883021928b5c476911c4102e9be3">hwloc_get_common_ancestor_obj</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00204.html">hwloc_obj_t</a> obj1, <a class="code" href="a00204.html">hwloc_obj_t</a> obj2)</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span> {</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="comment">/* the loop isn't so easy since intermediate ancestors may have</span></div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span> <span class="comment"> * different depth, causing us to alternate between using obj1->parent</span></div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="comment"> * and obj2->parent. Also, even if at some point we find ancestors of</span></div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="comment"> * of the same depth, their ancestors may have different depth again.</span></div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <span class="comment"> */</span></div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keywordflow">while</span> (obj1 != obj2) {</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keywordflow">while</span> (obj1-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a> > obj2-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>)</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  obj1 = obj1-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keywordflow">while</span> (obj2-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a> > obj1-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>)</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  obj2 = obj2-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keywordflow">if</span> (obj1 != obj2 && obj1-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a> == obj2-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>) {</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  obj1 = obj1-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  obj2 = obj2-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  }</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  }</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  <span class="keywordflow">return</span> obj1;</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span> }</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span> </div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> <a class="code" href="a00166.html#ga408cf74f5bf9ed497911a320c7f8cc56">hwloc_obj_is_in_subtree</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00204.html">hwloc_obj_t</a> obj, <a class="code" href="a00204.html">hwloc_obj_t</a> subtree_root) __hwloc_attribute_pure;</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="a00166.html#ga408cf74f5bf9ed497911a320c7f8cc56"> 434</a></span> <a class="code" href="a00166.html#ga408cf74f5bf9ed497911a320c7f8cc56">hwloc_obj_is_in_subtree</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00204.html">hwloc_obj_t</a> obj, <a class="code" href="a00204.html">hwloc_obj_t</a> subtree_root)</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span> {</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <span class="keywordflow">return</span> <a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, subtree_root-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span> }</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> </div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="a00166.html#ga12d8565a3436c565e791ed02a0353621"> 444</a></span> <a class="code" href="a00166.html#ga12d8565a3436c565e791ed02a0353621">hwloc_get_next_child</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00204.html">hwloc_obj_t</a> parent, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span> {</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keywordflow">if</span> (!prev)</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <span class="keywordflow">return</span> parent-><a class="code" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">first_child</a>;</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="keywordflow">if</span> (prev-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a> != parent)</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keywordflow">return</span> prev-><a class="code" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">next_sibling</a>;</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span> }</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span> </div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="a00167.html#gad108a09ce400222fe45545257d575489"> 481</a></span> <a class="code" href="a00167.html#gad108a09ce400222fe45545257d575489">hwloc_get_cache_type_depth</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <span class="keywordtype">unsigned</span> cachelevel, <a class="code" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a> cachetype)</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span> {</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordtype">int</span> <a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>;</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="keywordtype">int</span> found = <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>;</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="keywordflow">for</span> (depth=0; ; depth++) {</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = <a class="code" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a>(topology, depth, 0);</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keywordflow">if</span> (!obj)</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> != <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a> || obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">cache</a>.<a class="code" href="a00212.html#a5c8f7f39193736c2187ed626940835d5">depth</a> != cachelevel)</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="comment">/* doesn't match, try next depth */</span></div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="keywordflow">if</span> (cachetype == (<a class="code" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a>) -1) {</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keywordflow">if</span> (found != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="comment">/* second match, return MULTIPLE */</span></div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a>;</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  }</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <span class="comment">/* first match, mark it as found */</span></div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  found = <a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>;</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  }</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">cache</a>.<a class="code" href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">type</a> == cachetype || obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">cache</a>.<a class="code" href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">type</a> == <a class="code" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a">HWLOC_OBJ_CACHE_UNIFIED</a>)</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="comment">/* exact match (either unified is alone, or we match instruction or data), return immediately */</span></div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <span class="keywordflow">return</span> <a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>;</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  }</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  <span class="comment">/* went to the bottom, return what we found */</span></div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  <span class="keywordflow">return</span> found;</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span> }</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span> </div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span> <a class="code" href="a00167.html#gac4cd480a5deaa4ada047fdd11ae4c070">hwloc_get_cache_covering_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>) __hwloc_attribute_pure;</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="a00167.html#gac4cd480a5deaa4ada047fdd11ae4c070"> 520</a></span> <a class="code" href="a00167.html#gac4cd480a5deaa4ada047fdd11ae4c070">hwloc_get_cache_covering_cpuset</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span> {</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> current = <a class="code" href="a00165.html#ga41acdcdbb8b95d70ecf6c572a3f67dca">hwloc_get_obj_covering_cpuset</a>(topology, <span class="keyword">set</span>);</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  <span class="keywordflow">while</span> (current) {</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  <span class="keywordflow">if</span> (current-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> == <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a>)</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  <span class="keywordflow">return</span> current;</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span>  current = current-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  }</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span> }</div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span> </div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span> <a class="code" href="a00167.html#ga36f48c32837c7a70b424706e213dcd71">hwloc_get_shared_cache_covering_obj</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00204.html">hwloc_obj_t</a> obj) __hwloc_attribute_pure;</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="a00167.html#ga36f48c32837c7a70b424706e213dcd71"> 538</a></span> <a class="code" href="a00167.html#ga36f48c32837c7a70b424706e213dcd71">hwloc_get_shared_cache_covering_obj</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00204.html">hwloc_obj_t</a> obj)</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span> {</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> current = obj-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  <span class="keywordflow">if</span> (!obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  <span class="keywordflow">while</span> (current && current-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>) {</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga32376b1405e57472b73c3aa53bb39663">hwloc_bitmap_isequal</a>(current-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  && current-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> == <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a>)</div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  <span class="keywordflow">return</span> current;</div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span>  current = current-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  }</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span> }</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span> </div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span> <a class="code" href="a00168.html#ga751c238a4931db5cc0ca3181b7dd7479">hwloc_get_pu_obj_by_os_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> <a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>) __hwloc_attribute_pure;</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00577"></a><span class="lineno"><a class="line" href="a00168.html#ga751c238a4931db5cc0ca3181b7dd7479"> 577</a></span> <a class="code" href="a00168.html#ga751c238a4931db5cc0ca3181b7dd7479">hwloc_get_pu_obj_by_os_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> os_index)</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span> {</div><div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = NULL;</div><div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661">HWLOC_OBJ_PU</a>, obj)) != NULL)</div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> == os_index)</div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span> }</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span> </div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span> <a class="code" href="a00168.html#gab89d9ed9edfaa3dd526fb6ee1a1618ea">hwloc_get_numanode_obj_by_os_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> os_index) __hwloc_attribute_pure;</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00598"></a><span class="lineno"><a class="line" href="a00168.html#gab89d9ed9edfaa3dd526fb6ee1a1618ea"> 598</a></span> <a class="code" href="a00168.html#gab89d9ed9edfaa3dd526fb6ee1a1618ea">hwloc_get_numanode_obj_by_os_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> os_index)</div><div class="line"><a name="l00599"></a><span class="lineno"> 599</span> {</div><div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = NULL;</div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>, obj)) != NULL)</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> == os_index)</div><div class="line"><a name="l00603"></a><span class="lineno"> 603</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l00604"></a><span class="lineno"> 604</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00605"></a><span class="lineno"> 605</span> }</div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span> </div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span> <span class="comment">/* TODO: rather provide an iterator? Provide a way to know how much should be allocated? By returning the total number of objects instead? */</span></div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <a class="code" href="a00168.html#ga2cd22a34360643f7f5bad09576dec205">hwloc_get_closest_objs</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00204.html">hwloc_obj_t</a> src, <a class="code" href="a00204.html">hwloc_obj_t</a> * __hwloc_restrict objs, <span class="keywordtype">unsigned</span> max);</div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00634"></a><span class="lineno"> 634</span> <a class="code" href="a00168.html#ga7a0c1046851f7a88bd52f5a1d4ba0a97">hwloc_get_obj_below_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00635"></a><span class="lineno"> 635</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type1, <span class="keywordtype">unsigned</span> idx1,</div><div class="line"><a name="l00636"></a><span class="lineno"> 636</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type2, <span class="keywordtype">unsigned</span> idx2) __hwloc_attribute_pure;</div><div class="line"><a name="l00637"></a><span class="lineno"> 637</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00638"></a><span class="lineno"><a class="line" href="a00168.html#ga7a0c1046851f7a88bd52f5a1d4ba0a97"> 638</a></span> <a class="code" href="a00168.html#ga7a0c1046851f7a88bd52f5a1d4ba0a97">hwloc_get_obj_below_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00639"></a><span class="lineno"> 639</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type1, <span class="keywordtype">unsigned</span> idx1,</div><div class="line"><a name="l00640"></a><span class="lineno"> 640</span>  <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type2, <span class="keywordtype">unsigned</span> idx2)</div><div class="line"><a name="l00641"></a><span class="lineno"> 641</span> {</div><div class="line"><a name="l00642"></a><span class="lineno"> 642</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj;</div><div class="line"><a name="l00643"></a><span class="lineno"> 643</span>  obj = <a class="code" href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2">hwloc_get_obj_by_type</a> (topology, type1, idx1);</div><div class="line"><a name="l00644"></a><span class="lineno"> 644</span>  <span class="keywordflow">if</span> (!obj || !obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  <span class="keywordflow">return</span> <a class="code" href="a00164.html#ga2edf924e5a0cca9cb22f65cc77c6ddb5">hwloc_get_obj_inside_cpuset_by_type</a>(topology, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, type2, idx2);</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span> }</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span> </div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span> <a class="code" href="a00168.html#gacb51295ff3fbd3a96f990f20c6492b1d">hwloc_get_obj_below_array_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">int</span> nr, <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> *typev, <span class="keywordtype">unsigned</span> *idxv) __hwloc_attribute_pure;</div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00670"></a><span class="lineno"><a class="line" href="a00168.html#gacb51295ff3fbd3a96f990f20c6492b1d"> 670</a></span> <a class="code" href="a00168.html#gacb51295ff3fbd3a96f990f20c6492b1d">hwloc_get_obj_below_array_by_type</a> (<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">int</span> nr, <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> *typev, <span class="keywordtype">unsigned</span> *idxv)</div><div class="line"><a name="l00671"></a><span class="lineno"> 671</span> {</div><div class="line"><a name="l00672"></a><span class="lineno"> 672</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology);</div><div class="line"><a name="l00673"></a><span class="lineno"> 673</span>  <span class="keywordtype">int</span> i;</div><div class="line"><a name="l00674"></a><span class="lineno"> 674</span>  <span class="keywordflow">for</span>(i=0; i<nr; i++) {</div><div class="line"><a name="l00675"></a><span class="lineno"> 675</span>  <span class="keywordflow">if</span> (!obj || !obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00676"></a><span class="lineno"> 676</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00677"></a><span class="lineno"> 677</span>  obj = <a class="code" href="a00164.html#ga2edf924e5a0cca9cb22f65cc77c6ddb5">hwloc_get_obj_inside_cpuset_by_type</a>(topology, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, typev[i], idxv[i]);</div><div class="line"><a name="l00678"></a><span class="lineno"> 678</span>  }</div><div class="line"><a name="l00679"></a><span class="lineno"> 679</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l00680"></a><span class="lineno"> 680</span> }</div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span> </div><div class="line"><a name="l00692"></a><span class="lineno"><a class="line" href="a00169.html#ga8b835295a52b6768a5e6c8abb1f9c54d"> 692</a></span> <span class="keyword">enum</span> <a class="code" href="a00169.html#ga8b835295a52b6768a5e6c8abb1f9c54d">hwloc_distrib_flags_e</a> {</div><div class="line"><a name="l00696"></a><span class="lineno"><a class="line" href="a00169.html#gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a"> 696</a></span>  <a class="code" href="a00169.html#gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a">HWLOC_DISTRIB_FLAG_REVERSE</a> = (1UL<<0)</div><div class="line"><a name="l00697"></a><span class="lineno"> 697</span> };</div><div class="line"><a name="l00698"></a><span class="lineno"> 698</span> </div><div class="line"><a name="l00722"></a><span class="lineno"> 722</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00723"></a><span class="lineno"><a class="line" href="a00169.html#ga2e3db06f766509ae2004ee4c8bbf5204"> 723</a></span> <a class="code" href="a00169.html#ga2e3db06f766509ae2004ee4c8bbf5204">hwloc_distrib</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00724"></a><span class="lineno"> 724</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> *roots, <span class="keywordtype">unsigned</span> n_roots,</div><div class="line"><a name="l00725"></a><span class="lineno"> 725</span>  <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> *<span class="keyword">set</span>,</div><div class="line"><a name="l00726"></a><span class="lineno"> 726</span>  <span class="keywordtype">unsigned</span> n,</div><div class="line"><a name="l00727"></a><span class="lineno"> 727</span>  <span class="keywordtype">unsigned</span> until, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags)</div><div class="line"><a name="l00728"></a><span class="lineno"> 728</span> {</div><div class="line"><a name="l00729"></a><span class="lineno"> 729</span>  <span class="keywordtype">unsigned</span> i;</div><div class="line"><a name="l00730"></a><span class="lineno"> 730</span>  <span class="keywordtype">unsigned</span> tot_weight;</div><div class="line"><a name="l00731"></a><span class="lineno"> 731</span>  <span class="keywordtype">unsigned</span> given, givenweight;</div><div class="line"><a name="l00732"></a><span class="lineno"> 732</span>  <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> *cpusetp = <span class="keyword">set</span>;</div><div class="line"><a name="l00733"></a><span class="lineno"> 733</span> </div><div class="line"><a name="l00734"></a><span class="lineno"> 734</span>  <span class="keywordflow">if</span> (flags & ~<a class="code" href="a00169.html#gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a">HWLOC_DISTRIB_FLAG_REVERSE</a>) {</div><div class="line"><a name="l00735"></a><span class="lineno"> 735</span>  errno = EINVAL;</div><div class="line"><a name="l00736"></a><span class="lineno"> 736</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00737"></a><span class="lineno"> 737</span>  }</div><div class="line"><a name="l00738"></a><span class="lineno"> 738</span> </div><div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  tot_weight = 0;</div><div class="line"><a name="l00740"></a><span class="lineno"> 740</span>  <span class="keywordflow">for</span> (i = 0; i < n_roots; i++)</div><div class="line"><a name="l00741"></a><span class="lineno"> 741</span>  <span class="keywordflow">if</span> (roots[i]-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>)</div><div class="line"><a name="l00742"></a><span class="lineno"> 742</span>  tot_weight += <a class="code" href="a00174.html#ga0200466842c0e1f5da75e84dde460b10">hwloc_bitmap_weight</a>(roots[i]-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l00743"></a><span class="lineno"> 743</span> </div><div class="line"><a name="l00744"></a><span class="lineno"> 744</span>  <span class="keywordflow">for</span> (i = 0, given = 0, givenweight = 0; i < n_roots; i++) {</div><div class="line"><a name="l00745"></a><span class="lineno"> 745</span>  <span class="keywordtype">unsigned</span> chunk, weight;</div><div class="line"><a name="l00746"></a><span class="lineno"> 746</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> root = roots[flags & <a class="code" href="a00169.html#gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a">HWLOC_DISTRIB_FLAG_REVERSE</a> ? n_roots-1-i : i];</div><div class="line"><a name="l00747"></a><span class="lineno"> 747</span>  <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a> = root-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>;</div><div class="line"><a name="l00748"></a><span class="lineno"> 748</span>  <span class="keywordflow">if</span> (!cpuset)</div><div class="line"><a name="l00749"></a><span class="lineno"> 749</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span>  weight = <a class="code" href="a00174.html#ga0200466842c0e1f5da75e84dde460b10">hwloc_bitmap_weight</a>(cpuset);</div><div class="line"><a name="l00751"></a><span class="lineno"> 751</span>  <span class="keywordflow">if</span> (!weight)</div><div class="line"><a name="l00752"></a><span class="lineno"> 752</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span>  <span class="comment">/* Give to root a chunk proportional to its weight.</span></div><div class="line"><a name="l00754"></a><span class="lineno"> 754</span> <span class="comment"> * If previous chunks got rounded-up, we may get a bit less. */</span></div><div class="line"><a name="l00755"></a><span class="lineno"> 755</span>  chunk = (( (givenweight+weight) * n + tot_weight-1) / tot_weight)</div><div class="line"><a name="l00756"></a><span class="lineno"> 756</span>  - (( givenweight * n + tot_weight-1) / tot_weight);</div><div class="line"><a name="l00757"></a><span class="lineno"> 757</span>  <span class="keywordflow">if</span> (!root-><a class="code" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">arity</a> || chunk <= 1 || root->depth >= until) {</div><div class="line"><a name="l00758"></a><span class="lineno"> 758</span>  <span class="comment">/* We can't split any more, put everything there. */</span></div><div class="line"><a name="l00759"></a><span class="lineno"> 759</span>  <span class="keywordflow">if</span> (chunk) {</div><div class="line"><a name="l00760"></a><span class="lineno"> 760</span>  <span class="comment">/* Fill cpusets with ours */</span></div><div class="line"><a name="l00761"></a><span class="lineno"> 761</span>  <span class="keywordtype">unsigned</span> j;</div><div class="line"><a name="l00762"></a><span class="lineno"> 762</span>  <span class="keywordflow">for</span> (j=0; j < chunk; j++)</div><div class="line"><a name="l00763"></a><span class="lineno"> 763</span>  cpusetp[j] = <a class="code" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee">hwloc_bitmap_dup</a>(cpuset);</div><div class="line"><a name="l00764"></a><span class="lineno"> 764</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00765"></a><span class="lineno"> 765</span>  <span class="comment">/* We got no chunk, just merge our cpuset to a previous one</span></div><div class="line"><a name="l00766"></a><span class="lineno"> 766</span> <span class="comment"> * (the first chunk cannot be empty)</span></div><div class="line"><a name="l00767"></a><span class="lineno"> 767</span> <span class="comment"> * so that this root doesn't get ignored.</span></div><div class="line"><a name="l00768"></a><span class="lineno"> 768</span> <span class="comment"> */</span></div><div class="line"><a name="l00769"></a><span class="lineno"> 769</span>  assert(given);</div><div class="line"><a name="l00770"></a><span class="lineno"> 770</span>  <a class="code" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a>(cpusetp[-1], cpusetp[-1], cpuset);</div><div class="line"><a name="l00771"></a><span class="lineno"> 771</span>  }</div><div class="line"><a name="l00772"></a><span class="lineno"> 772</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00773"></a><span class="lineno"> 773</span>  <span class="comment">/* Still more to distribute, recurse into children */</span></div><div class="line"><a name="l00774"></a><span class="lineno"> 774</span>  <a class="code" href="a00169.html#ga2e3db06f766509ae2004ee4c8bbf5204">hwloc_distrib</a>(topology, root-><a class="code" href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">children</a>, root-><a class="code" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">arity</a>, cpusetp, chunk, until, flags);</div><div class="line"><a name="l00775"></a><span class="lineno"> 775</span>  }</div><div class="line"><a name="l00776"></a><span class="lineno"> 776</span>  cpusetp += chunk;</div><div class="line"><a name="l00777"></a><span class="lineno"> 777</span>  given += chunk;</div><div class="line"><a name="l00778"></a><span class="lineno"> 778</span>  givenweight += weight;</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span>  }</div><div class="line"><a name="l00780"></a><span class="lineno"> 780</span> </div><div class="line"><a name="l00781"></a><span class="lineno"> 781</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00782"></a><span class="lineno"> 782</span> }</div><div class="line"><a name="l00783"></a><span class="lineno"> 783</span> </div><div class="line"><a name="l00800"></a><span class="lineno"> 800</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00801"></a><span class="lineno"> 801</span> <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology) __hwloc_attribute_pure;</div><div class="line"><a name="l00802"></a><span class="lineno"> 802</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00803"></a><span class="lineno"><a class="line" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce"> 803</a></span> <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</div><div class="line"><a name="l00804"></a><span class="lineno"> 804</span> {</div><div class="line"><a name="l00805"></a><span class="lineno"> 805</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology)-><a class="code" href="a00204.html#a91788a9da687beb7224cc1fd7b75208c">complete_cpuset</a>;</div><div class="line"><a name="l00806"></a><span class="lineno"> 806</span> }</div><div class="line"><a name="l00807"></a><span class="lineno"> 807</span> </div><div class="line"><a name="l00818"></a><span class="lineno"> 818</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00819"></a><span class="lineno"> 819</span> <a class="code" href="a00170.html#ga5c3ddcb2d19bc0b58042c9fc974f0fa5">hwloc_topology_get_topology_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology) __hwloc_attribute_pure;</div><div class="line"><a name="l00820"></a><span class="lineno"> 820</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00821"></a><span class="lineno"><a class="line" href="a00170.html#ga5c3ddcb2d19bc0b58042c9fc974f0fa5"> 821</a></span> <a class="code" href="a00170.html#ga5c3ddcb2d19bc0b58042c9fc974f0fa5">hwloc_topology_get_topology_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</div><div class="line"><a name="l00822"></a><span class="lineno"> 822</span> {</div><div class="line"><a name="l00823"></a><span class="lineno"> 823</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology)-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>;</div><div class="line"><a name="l00824"></a><span class="lineno"> 824</span> }</div><div class="line"><a name="l00825"></a><span class="lineno"> 825</span> </div><div class="line"><a name="l00835"></a><span class="lineno"> 835</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00836"></a><span class="lineno"> 836</span> <a class="code" href="a00170.html#gacec35bb7656c1944c514044ca4ce9c6f">hwloc_topology_get_online_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology) __hwloc_attribute_pure;</div><div class="line"><a name="l00837"></a><span class="lineno"> 837</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="a00170.html#gacec35bb7656c1944c514044ca4ce9c6f"> 838</a></span> <a class="code" href="a00170.html#gacec35bb7656c1944c514044ca4ce9c6f">hwloc_topology_get_online_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</div><div class="line"><a name="l00839"></a><span class="lineno"> 839</span> {</div><div class="line"><a name="l00840"></a><span class="lineno"> 840</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology)-><a class="code" href="a00204.html#a8842d56c2975380f327ea401c5f53564">online_cpuset</a>;</div><div class="line"><a name="l00841"></a><span class="lineno"> 841</span> }</div><div class="line"><a name="l00842"></a><span class="lineno"> 842</span> </div><div class="line"><a name="l00852"></a><span class="lineno"> 852</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00853"></a><span class="lineno"> 853</span> <a class="code" href="a00170.html#ga8cb598b3bce8d67cbdfc1f29caad28f6">hwloc_topology_get_allowed_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology) __hwloc_attribute_pure;</div><div class="line"><a name="l00854"></a><span class="lineno"> 854</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="line"><a name="l00855"></a><span class="lineno"><a class="line" href="a00170.html#ga8cb598b3bce8d67cbdfc1f29caad28f6"> 855</a></span> <a class="code" href="a00170.html#ga8cb598b3bce8d67cbdfc1f29caad28f6">hwloc_topology_get_allowed_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span> {</div><div class="line"><a name="l00857"></a><span class="lineno"> 857</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology)-><a class="code" href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34">allowed_cpuset</a>;</div><div class="line"><a name="l00858"></a><span class="lineno"> 858</span> }</div><div class="line"><a name="l00859"></a><span class="lineno"> 859</span> </div><div class="line"><a name="l00869"></a><span class="lineno"> 869</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="line"><a name="l00870"></a><span class="lineno"> 870</span> <a class="code" href="a00170.html#ga22002d6fc14a25a3947c42cba0a70134">hwloc_topology_get_complete_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology) __hwloc_attribute_pure;</div><div class="line"><a name="l00871"></a><span class="lineno"> 871</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="line"><a name="l00872"></a><span class="lineno"><a class="line" href="a00170.html#ga22002d6fc14a25a3947c42cba0a70134"> 872</a></span> <a class="code" href="a00170.html#ga22002d6fc14a25a3947c42cba0a70134">hwloc_topology_get_complete_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</div><div class="line"><a name="l00873"></a><span class="lineno"> 873</span> {</div><div class="line"><a name="l00874"></a><span class="lineno"> 874</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology)-><a class="code" href="a00204.html#ac38c4012127525ef74c5615c526f4c2e">complete_nodeset</a>;</div><div class="line"><a name="l00875"></a><span class="lineno"> 875</span> }</div><div class="line"><a name="l00876"></a><span class="lineno"> 876</span> </div><div class="line"><a name="l00887"></a><span class="lineno"> 887</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="line"><a name="l00888"></a><span class="lineno"> 888</span> <a class="code" href="a00170.html#ga2f1cb5bc87dabb252b691c5c15555d21">hwloc_topology_get_topology_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology) __hwloc_attribute_pure;</div><div class="line"><a name="l00889"></a><span class="lineno"> 889</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="line"><a name="l00890"></a><span class="lineno"><a class="line" href="a00170.html#ga2f1cb5bc87dabb252b691c5c15555d21"> 890</a></span> <a class="code" href="a00170.html#ga2f1cb5bc87dabb252b691c5c15555d21">hwloc_topology_get_topology_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</div><div class="line"><a name="l00891"></a><span class="lineno"> 891</span> {</div><div class="line"><a name="l00892"></a><span class="lineno"> 892</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology)-><a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>;</div><div class="line"><a name="l00893"></a><span class="lineno"> 893</span> }</div><div class="line"><a name="l00894"></a><span class="lineno"> 894</span> </div><div class="line"><a name="l00904"></a><span class="lineno"> 904</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="line"><a name="l00905"></a><span class="lineno"> 905</span> <a class="code" href="a00170.html#ga706182498ac92528e274e9b8d944273d">hwloc_topology_get_allowed_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology) __hwloc_attribute_pure;</div><div class="line"><a name="l00906"></a><span class="lineno"> 906</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="line"><a name="l00907"></a><span class="lineno"><a class="line" href="a00170.html#ga706182498ac92528e274e9b8d944273d"> 907</a></span> <a class="code" href="a00170.html#ga706182498ac92528e274e9b8d944273d">hwloc_topology_get_allowed_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</div><div class="line"><a name="l00908"></a><span class="lineno"> 908</span> {</div><div class="line"><a name="l00909"></a><span class="lineno"> 909</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology)-><a class="code" href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531">allowed_nodeset</a>;</div><div class="line"><a name="l00910"></a><span class="lineno"> 910</span> }</div><div class="line"><a name="l00911"></a><span class="lineno"> 911</span> </div><div class="line"><a name="l00942"></a><span class="lineno"> 942</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">void</span></div><div class="line"><a name="l00943"></a><span class="lineno"><a class="line" href="a00171.html#ga8fbd641f284673a3e884e8e556044eba"> 943</a></span> <a class="code" href="a00171.html#ga8fbd641f284673a3e884e8e556044eba">hwloc_cpuset_to_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> _cpuset, <a class="code" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> <a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>)</div><div class="line"><a name="l00944"></a><span class="lineno"> 944</span> {</div><div class="line"><a name="l00945"></a><span class="lineno"> 945</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00946"></a><span class="lineno"> 946</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj;</div><div class="line"><a name="l00947"></a><span class="lineno"> 947</span> </div><div class="line"><a name="l00948"></a><span class="lineno"> 948</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00949"></a><span class="lineno"> 949</span>  <span class="keywordflow">if</span> (<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(_cpuset))</div><div class="line"><a name="l00950"></a><span class="lineno"> 950</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(nodeset);</div><div class="line"><a name="l00951"></a><span class="lineno"> 951</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00952"></a><span class="lineno"> 952</span>  <span class="comment">/* Assume the whole system */</span></div><div class="line"><a name="l00953"></a><span class="lineno"> 953</span>  <a class="code" href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a>(nodeset);</div><div class="line"><a name="l00954"></a><span class="lineno"> 954</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00955"></a><span class="lineno"> 955</span>  }</div><div class="line"><a name="l00956"></a><span class="lineno"> 956</span> </div><div class="line"><a name="l00957"></a><span class="lineno"> 957</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(nodeset);</div><div class="line"><a name="l00958"></a><span class="lineno"> 958</span>  obj = NULL;</div><div class="line"><a name="l00959"></a><span class="lineno"> 959</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a>(topology, _cpuset, depth, obj)) != NULL)</div><div class="line"><a name="l00960"></a><span class="lineno"> 960</span>  <a class="code" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a>(nodeset, obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>);</div><div class="line"><a name="l00961"></a><span class="lineno"> 961</span> }</div><div class="line"><a name="l00962"></a><span class="lineno"> 962</span> </div><div class="line"><a name="l00970"></a><span class="lineno"> 970</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">void</span></div><div class="line"><a name="l00971"></a><span class="lineno"><a class="line" href="a00171.html#ga014490779e7012ffec2b5ccee020c0ae"> 971</a></span> <a class="code" href="a00171.html#ga014490779e7012ffec2b5ccee020c0ae">hwloc_cpuset_to_nodeset_strict</a>(<span class="keyword">struct</span> hwloc_topology *topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> _cpuset, <a class="code" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> <a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>)</div><div class="line"><a name="l00972"></a><span class="lineno"> 972</span> {</div><div class="line"><a name="l00973"></a><span class="lineno"> 973</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00974"></a><span class="lineno"> 974</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj;</div><div class="line"><a name="l00975"></a><span class="lineno"> 975</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a> )</div><div class="line"><a name="l00976"></a><span class="lineno"> 976</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00977"></a><span class="lineno"> 977</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(nodeset);</div><div class="line"><a name="l00978"></a><span class="lineno"> 978</span>  obj = NULL;</div><div class="line"><a name="l00979"></a><span class="lineno"> 979</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a>(topology, _cpuset, depth, obj)) != NULL)</div><div class="line"><a name="l00980"></a><span class="lineno"> 980</span>  <a class="code" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a>(nodeset, obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>);</div><div class="line"><a name="l00981"></a><span class="lineno"> 981</span> }</div><div class="line"><a name="l00982"></a><span class="lineno"> 982</span> </div><div class="line"><a name="l00991"></a><span class="lineno"> 991</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">void</span></div><div class="line"><a name="l00992"></a><span class="lineno"><a class="line" href="a00171.html#ga2ed57313ce5bf85f3ac156932ecf639d"> 992</a></span> <a class="code" href="a00171.html#ga2ed57313ce5bf85f3ac156932ecf639d">hwloc_cpuset_from_nodeset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> _cpuset, <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> <a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>)</div><div class="line"><a name="l00993"></a><span class="lineno"> 993</span> {</div><div class="line"><a name="l00994"></a><span class="lineno"> 994</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00995"></a><span class="lineno"> 995</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj;</div><div class="line"><a name="l00996"></a><span class="lineno"> 996</span> </div><div class="line"><a name="l00997"></a><span class="lineno"> 997</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a> ) {</div><div class="line"><a name="l00998"></a><span class="lineno"> 998</span>  <span class="keywordflow">if</span> (<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(nodeset))</div><div class="line"><a name="l00999"></a><span class="lineno"> 999</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(_cpuset);</div><div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>  <span class="comment">/* Assume the whole system */</span></div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>  <a class="code" href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a>(_cpuset);</div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>  }</div><div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> </div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(_cpuset);</div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>  obj = NULL;</div><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, obj)) != NULL) {</div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>  <span class="keywordflow">if</span> (<a class="code" href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a>(nodeset, obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>))</div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>  <span class="comment">/* no need to check obj->cpuset because objects in levels always have a cpuset */</span></div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>  <a class="code" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a>(_cpuset, _cpuset, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>  }</div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> }</div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span> </div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">void</span></div><div class="line"><a name="l01023"></a><span class="lineno"><a class="line" href="a00171.html#gacde800e58b8cdb746706b371ca4b97e0"> 1023</a></span> <a class="code" href="a00171.html#gacde800e58b8cdb746706b371ca4b97e0">hwloc_cpuset_from_nodeset_strict</a>(<span class="keyword">struct</span> hwloc_topology *topology, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> _cpuset, <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> <a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>)</div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span> {</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj;</div><div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>  <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a> )</div><div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(_cpuset);</div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>  obj = NULL;</div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, obj)) != NULL)</div><div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>  <span class="keywordflow">if</span> (<a class="code" href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a>(nodeset, obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>))</div><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>  <span class="comment">/* no need to check obj->cpuset because objects in levels always have a cpuset */</span></div><div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>  <a class="code" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a>(_cpuset, _cpuset, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l01035"></a><span class="lineno"> 1035</span> }</div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span> </div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="a00244.html">hwloc_distances_s</a> *</div><div class="line"><a name="l01065"></a><span class="lineno"><a class="line" href="a00172.html#ga07219dc0fd6e4553a658eaa73f038c42"> 1065</a></span> <a class="code" href="a00172.html#ga07219dc0fd6e4553a658eaa73f038c42">hwloc_get_whole_distance_matrix_by_depth</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> depth)</div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span> {</div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> root = <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology);</div><div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>  <span class="keywordtype">unsigned</span> i;</div><div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>  <span class="keywordflow">for</span>(i=0; i<root-><a class="code" href="a00204.html#a8be6f63eca4da91000c832280db927b7">distances_count</a>; i++)</div><div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>  <span class="keywordflow">if</span> (root-><a class="code" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">distances</a>[i]-><a class="code" href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">relative_depth</a> == depth)</div><div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>  <span class="keywordflow">return</span> root-><a class="code" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">distances</a>[i];</div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> }</div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span> </div><div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="a00244.html">hwloc_distances_s</a> *</div><div class="line"><a name="l01095"></a><span class="lineno"><a class="line" href="a00172.html#ga64529254be72b3c4343b25926c84b12f"> 1095</a></span> <a class="code" href="a00172.html#ga64529254be72b3c4343b25926c84b12f">hwloc_get_whole_distance_matrix_by_type</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</div><div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> {</div><div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, type);</div><div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>  <span class="keywordflow">if</span> (depth < 0)</div><div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>  <span class="keywordflow">return</span> <a class="code" href="a00172.html#ga07219dc0fd6e4553a658eaa73f038c42">hwloc_get_whole_distance_matrix_by_depth</a>(topology, depth);</div><div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> }</div><div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> </div><div class="line"><a name="l01116"></a><span class="lineno"> 1116</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="a00244.html">hwloc_distances_s</a> *</div><div class="line"><a name="l01117"></a><span class="lineno"><a class="line" href="a00172.html#ga2d159b21a49964cc629dde03cbf05702"> 1117</a></span> <a class="code" href="a00172.html#ga2d159b21a49964cc629dde03cbf05702">hwloc_get_distance_matrix_covering_obj_by_depth</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj, <span class="keywordtype">unsigned</span> depth,</div><div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>  <span class="keywordtype">unsigned</span> *firstp)</div><div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> {</div><div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>  <span class="keywordflow">while</span> (obj && obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>) {</div><div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>  <span class="keywordtype">unsigned</span> i;</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>  <span class="keywordflow">for</span>(i=0; i<obj-><a class="code" href="a00204.html#a8be6f63eca4da91000c832280db927b7">distances_count</a>; i++)</div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">distances</a>[i]-><a class="code" href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">relative_depth</a> == depth - obj-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>) {</div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>  <span class="keywordflow">if</span> (!obj-><a class="code" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">distances</a>[i]-><a class="code" href="a00244.html#a4ca2af858cebbce7324ec49903d09474">nbobjs</a>)</div><div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>  *firstp = <a class="code" href="a00164.html#ga468b8bef96f9677d6fe04a0d81044c85">hwloc_get_next_obj_inside_cpuset_by_depth</a>(topology, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, depth, NULL)-><a class="code" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">logical_index</a>;</div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>  <span class="keywordflow">return</span> obj-><a class="code" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">distances</a>[i];</div><div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>  }</div><div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>  obj = obj-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>  }</div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l01133"></a><span class="lineno"> 1133</span> }</div><div class="line"><a name="l01134"></a><span class="lineno"> 1134</span> </div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l01147"></a><span class="lineno"><a class="line" href="a00172.html#ga79ed880a55f9d03b4ae58ef5116812d7"> 1147</a></span> <a class="code" href="a00172.html#ga79ed880a55f9d03b4ae58ef5116812d7">hwloc_get_latency</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj1, <a class="code" href="a00204.html">hwloc_obj_t</a> obj2,</div><div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>  <span class="keywordtype">float</span> *<a class="code" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">latency</a>, <span class="keywordtype">float</span> *reverse_latency)</div><div class="line"><a name="l01150"></a><span class="lineno"> 1150</span> {</div><div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> ancestor;</div><div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>  <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="a00244.html">hwloc_distances_s</a> * distances;</div><div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>  <span class="keywordtype">unsigned</span> first_logical ;</div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span> </div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>  <span class="keywordflow">if</span> (obj1-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a> != obj2-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>) {</div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>  errno = EINVAL;</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>  }</div><div class="line"><a name="l01159"></a><span class="lineno"> 1159</span> </div><div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>  ancestor = <a class="code" href="a00166.html#gab1fa883021928b5c476911c4102e9be3">hwloc_get_common_ancestor_obj</a>(topology, obj1, obj2);</div><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>  distances = <a class="code" href="a00172.html#ga2d159b21a49964cc629dde03cbf05702">hwloc_get_distance_matrix_covering_obj_by_depth</a>(topology, ancestor, obj1-><a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>, &first_logical);</div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>  <span class="keywordflow">if</span> (distances && distances-><a class="code" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">latency</a>) {</div><div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> * latency_matrix = distances-><a class="code" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">latency</a>;</div><div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00244.html#a4ca2af858cebbce7324ec49903d09474">nbobjs</a> = distances-><a class="code" href="a00244.html#a4ca2af858cebbce7324ec49903d09474">nbobjs</a>;</div><div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>  <span class="keywordtype">unsigned</span> l1 = obj1-><a class="code" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">logical_index</a> - first_logical;</div><div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>  <span class="keywordtype">unsigned</span> l2 = obj2-><a class="code" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">logical_index</a> - first_logical;</div><div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>  *latency = latency_matrix[l1*nbobjs+l2];</div><div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>  *reverse_latency = latency_matrix[l2*nbobjs+l1];</div><div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>  }</div><div class="line"><a name="l01171"></a><span class="lineno"> 1171</span> </div><div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>  errno = ENOSYS;</div><div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span> }</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span> </div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l01191"></a><span class="lineno"><a class="line" href="a00173.html#gaf139bb61375178e90cc3f1835b452ab6"> 1191</a></span> <a class="code" href="a00173.html#gaf139bb61375178e90cc3f1835b452ab6">hwloc_get_non_io_ancestor_obj</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> ioobj)</div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span> {</div><div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = ioobj;</div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>  <span class="keywordflow">while</span> (obj && !obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>) {</div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>  obj = obj-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>  }</div><div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span> }</div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span> </div><div class="line"><a name="l01205"></a><span class="lineno"> 1205</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l01206"></a><span class="lineno"><a class="line" href="a00173.html#ga66470dabce9db19a57c5940a909d0baa"> 1206</a></span> <a class="code" href="a00173.html#ga66470dabce9db19a57c5940a909d0baa">hwloc_get_next_pcidev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span> {</div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a>, prev);</div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span> }</div><div class="line"><a name="l01210"></a><span class="lineno"> 1210</span> </div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l01215"></a><span class="lineno"><a class="line" href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455"> 1215</a></span> <a class="code" href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>  <span class="keywordtype">unsigned</span> domain, <span class="keywordtype">unsigned</span> bus, <span class="keywordtype">unsigned</span> dev, <span class="keywordtype">unsigned</span> func)</div><div class="line"><a name="l01217"></a><span class="lineno"> 1217</span> {</div><div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = NULL;</div><div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00173.html#ga66470dabce9db19a57c5940a909d0baa">hwloc_get_next_pcidev</a>(topology, obj)) != NULL) {</div><div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">domain</a> == domain</div><div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>  && obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">bus</a> == bus</div><div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>  && obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">dev</a> == dev</div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>  && obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">func</a> == func)</div><div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>  }</div><div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l01227"></a><span class="lineno"> 1227</span> }</div><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span> </div><div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l01233"></a><span class="lineno"><a class="line" href="a00173.html#ga23a978469353134b3104b846fe2efceb"> 1233</a></span> <a class="code" href="a00173.html#ga23a978469353134b3104b846fe2efceb">hwloc_get_pcidev_by_busidstring</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keyword">const</span> <span class="keywordtype">char</span> *busid)</div><div class="line"><a name="l01234"></a><span class="lineno"> 1234</span> {</div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>  <span class="keywordtype">unsigned</span> domain = 0; <span class="comment">/* default */</span></div><div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>  <span class="keywordtype">unsigned</span> bus, dev, func;</div><div class="line"><a name="l01237"></a><span class="lineno"> 1237</span> </div><div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>  <span class="keywordflow">if</span> (sscanf(busid, <span class="stringliteral">"%x:%x.%x"</span>, &bus, &dev, &func) != 3</div><div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>  && sscanf(busid, <span class="stringliteral">"%x:%x:%x.%x"</span>, &domain, &bus, &dev, &func) != 4) {</div><div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>  errno = EINVAL;</div><div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>  }</div><div class="line"><a name="l01243"></a><span class="lineno"> 1243</span> </div><div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>  <span class="keywordflow">return</span> <a class="code" href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a>(topology, domain, bus, dev, func);</div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> }</div><div class="line"><a name="l01246"></a><span class="lineno"> 1246</span> </div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l01252"></a><span class="lineno"><a class="line" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145"> 1252</a></span> <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> {</div><div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075">HWLOC_OBJ_OS_DEVICE</a>, prev);</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span> }</div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span> </div><div class="line"><a name="l01261"></a><span class="lineno"> 1261</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l01262"></a><span class="lineno"><a class="line" href="a00173.html#ga9dba22a3f4f701f2a46780ba9a0bbbe7"> 1262</a></span> <a class="code" href="a00173.html#ga9dba22a3f4f701f2a46780ba9a0bbbe7">hwloc_get_next_bridge</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00204.html">hwloc_obj_t</a> prev)</div><div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> {</div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>  <span class="keywordflow">return</span> <a class="code" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0">HWLOC_OBJ_BRIDGE</a>, prev);</div><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span> }</div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span> </div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span> <span class="comment">/* \brief Checks whether a given bridge covers a given PCI bus.</span></div><div class="line"><a name="l01268"></a><span class="lineno"> 1268</span> <span class="comment"> */</span></div><div class="line"><a name="l01269"></a><span class="lineno"> 1269</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l01270"></a><span class="lineno"><a class="line" href="a00173.html#ga0d92a9462a3d317f29ecb4442a307fb1"> 1270</a></span> <a class="code" href="a00173.html#ga0d92a9462a3d317f29ecb4442a307fb1">hwloc_bridge_covers_pcibus</a>(<a class="code" href="a00204.html">hwloc_obj_t</a> bridge,</div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>  <span class="keywordtype">unsigned</span> domain, <span class="keywordtype">unsigned</span> bus)</div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span> {</div><div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>  <span class="keywordflow">return</span> bridge-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> == <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0">HWLOC_OBJ_BRIDGE</a></div><div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>  && bridge-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">bridge</a>.<a class="code" href="a00224.html#ac6a169b672d0e9f75756fd5665828b93">downstream_type</a> == <a class="code" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60">HWLOC_OBJ_BRIDGE_PCI</a></div><div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>  && bridge-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">bridge</a>.<a class="code" href="a00224.html#acaf1ae02e37182bbb6966f8c4f35e499">downstream</a>.<a class="code" href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e">pci</a>.<a class="code" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">domain</a> == domain</div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>  && bridge-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">bridge</a>.<a class="code" href="a00224.html#acaf1ae02e37182bbb6966f8c4f35e499">downstream</a>.<a class="code" href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e">pci</a>.secondary_bus <= bus</div><div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>  && bridge-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">bridge</a>.<a class="code" href="a00224.html#acaf1ae02e37182bbb6966f8c4f35e499">downstream</a>.<a class="code" href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e">pci</a>.subordinate_bus >= bus;</div><div class="line"><a name="l01278"></a><span class="lineno"> 1278</span> }</div><div class="line"><a name="l01279"></a><span class="lineno"> 1279</span> </div><div class="line"><a name="l01285"></a><span class="lineno"> 1285</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l01286"></a><span class="lineno"><a class="line" href="a00173.html#ga06442aedfd6414798ed66a68e4e90e44"> 1286</a></span> <a class="code" href="a00173.html#ga06442aedfd6414798ed66a68e4e90e44">hwloc_get_hostbridge_by_pcibus</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>  <span class="keywordtype">unsigned</span> domain, <span class="keywordtype">unsigned</span> bus)</div><div class="line"><a name="l01288"></a><span class="lineno"> 1288</span> {</div><div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = NULL;</div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00173.html#ga9dba22a3f4f701f2a46780ba9a0bbbe7">hwloc_get_next_bridge</a>(topology, obj)) != NULL) {</div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>  <span class="keywordflow">if</span> (<a class="code" href="a00173.html#ga0d92a9462a3d317f29ecb4442a307fb1">hwloc_bridge_covers_pcibus</a>(obj, domain, bus)) {</div><div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>  <span class="comment">/* found bridge covering this pcibus, make sure it's a hostbridge */</span></div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>  assert(obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">bridge</a>.<a class="code" href="a00224.html#a265dd2164aa2df4972e25a029da72125">upstream_type</a> == <a class="code" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574">HWLOC_OBJ_BRIDGE_HOST</a>);</div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>  assert(obj-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> != <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0">HWLOC_OBJ_BRIDGE</a>);</div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>  assert(obj-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>  }</div><div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>  }</div><div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span> }</div><div class="line"><a name="l01301"></a><span class="lineno"> 1301</span> </div><div class="line"><a name="l01306"></a><span class="lineno"> 1306</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l01307"></a><span class="lineno"> 1307</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l01308"></a><span class="lineno"> 1308</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01309"></a><span class="lineno"> 1309</span> </div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span> </div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_HELPER_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075">HWLOC_OBJ_OS_DEVICE</a></div><div class="ttdoc">Operating system device. These objects have neither CPU sets nor node sets. They are not added to the...</div><div class="ttdef"><b>Definition:</b> hwloc.h:251</div></div>
+<div class="ttc" id="a00167_html_ga36f48c32837c7a70b424706e213dcd71"><div class="ttname"><a href="a00167.html#ga36f48c32837c7a70b424706e213dcd71">hwloc_get_shared_cache_covering_obj</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_shared_cache_covering_obj(hwloc_topology_t topology, hwloc_obj_t obj)</div><div class="ttdoc">Get the first cache shared between an object and somebody else. </div><div class="ttdef"><b>Definition:</b> helper.h:538</div></div>
+<div class="ttc" id="a00173_html_ga23a978469353134b3104b846fe2efceb"><div class="ttname"><a href="a00173.html#ga23a978469353134b3104b846fe2efceb">hwloc_get_pcidev_by_busidstring</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_pcidev_by_busidstring(hwloc_topology_t topology, const char *busid)</div><div class="ttdoc">Find the PCI device object matching the PCI bus id given as a string xxxx:yy:zz.t or yy:zz...</div><div class="ttdef"><b>Definition:</b> helper.h:1233</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661">HWLOC_OBJ_PU</a></div><div class="ttdoc">Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:211</div></div>
+<div class="ttc" id="a00173_html_ga06442aedfd6414798ed66a68e4e90e44"><div class="ttname"><a href="a00173.html#ga06442aedfd6414798ed66a68e4e90e44">hwloc_get_hostbridge_by_pcibus</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_hostbridge_by_pcibus(hwloc_topology_t topology, unsigned domain, unsigned bus)</div><div class="ttdoc">Find the hostbridge that covers the given PCI bus. </div><div class="ttdef"><b>Definition:</b> helper.h:1286</div></div>
+<div class="ttc" id="a00172_html_ga79ed880a55f9d03b4ae58ef5116812d7"><div class="ttname"><a href="a00172.html#ga79ed880a55f9d03b4ae58ef5116812d7">hwloc_get_latency</a></div><div class="ttdeci">static int hwloc_get_latency(hwloc_topology_t topology, hwloc_obj_t obj1, hwloc_obj_t obj2, float *latency, float *reverse_latency)</div><div class="ttdoc">Get the latency in both directions between two objects. </div><div class="ttdef"><b>Definition:</b> helper.h:1147</div></div>
+<div class="ttc" id="a00174_html_ga55480e96ab47941bfebb9aed676526a2"><div class="ttname"><a href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a></div><div class="ttdeci">void hwloc_bitmap_set(hwloc_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Add index id in bitmap bitmap. </div></div>
+<div class="ttc" id="a00155_html_ga6f414dd80a2b943967a0ac92da3181a2"><div class="ttname"><a href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2">hwloc_get_obj_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_obj_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx)</div><div class="ttdoc">Returns the topology object at logical index idx with type type. </div></div>
+<div class="ttc" id="a00164_html_ga8874c24e73ba2b04c76ec8b9e54f49f8"><div class="ttname"><a href="a00164.html#ga8874c24e73ba2b04c76ec8b9e54f49f8">hwloc_get_nbobjs_inside_cpuset_by_depth</a></div><div class="ttdeci">static unsigned hwloc_get_nbobjs_inside_cpuset_by_depth(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth)</div><div class="ttdoc">Return the number of objects at depth depth included in CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:191</div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a></div><div class="ttdoc">Objects of given type exist at different depth in the topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1225</div></div>
+<div class="ttc" id="a00204_html_adc494f6aed939992be1c55cca5822900"><div class="ttname"><a href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj::parent</a></div><div class="ttdeci">struct hwloc_obj * parent</div><div class="ttdoc">Parent, NULL if root (system object) </div><div class="ttdef"><b>Definition:</b> hwloc.h:403</div></div>
+<div class="ttc" id="a00155_html_ga759e88eaf5a230ad283e9d4c42486735"><div class="ttname"><a href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t prev)</div><div class="ttdoc">Returns the next object of type type. </div></div>
+<div class="ttc" id="a00204_html_a9d82690370275d42d652eccdea5d3ee5"><div class="ttname"><a href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">hwloc_obj::depth</a></div><div class="ttdeci">unsigned depth</div><div class="ttdoc">Vertical index in the hierarchy. </div><div class="ttdef"><b>Definition:</b> hwloc.h:377</div></div>
+<div class="ttc" id="a00169_html_gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a"><div class="ttname"><a href="a00169.html#gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a">HWLOC_DISTRIB_FLAG_REVERSE</a></div><div class="ttdoc">Distrib in reverse order, starting from the last objects. </div><div class="ttdef"><b>Definition:</b> helper.h:696</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="ttdoc">PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unl...</div><div class="ttdef"><b>Definition:</b> hwloc.h:246</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0">HWLOC_OBJ_BRIDGE</a></div><div class="ttdoc">Bridge. Any bridge that connects the host or an I/O bus, to another I/O bus. Bridge objects have neit...</div><div class="ttdef"><b>Definition:</b> hwloc.h:239</div></div>
+<div class="ttc" id="a00244_html"><div class="ttname"><a href="a00244.html">hwloc_distances_s</a></div><div class="ttdoc">Distances between objects. </div><div class="ttdef"><b>Definition:</b> hwloc.h:584</div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a></div><div class="ttdoc">No object of given type exists in the topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1224</div></div>
+<div class="ttc" id="a00208_html_adbdf280699dd84c7619cd8d9edc0d958"><div class="ttname"><a href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">hwloc_obj_attr_u::bridge</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_bridge_attr_s bridge</div></div>
+<div class="ttc" id="a00171_html_gacde800e58b8cdb746706b371ca4b97e0"><div class="ttname"><a href="a00171.html#gacde800e58b8cdb746706b371ca4b97e0">hwloc_cpuset_from_nodeset_strict</a></div><div class="ttdeci">static void hwloc_cpuset_from_nodeset_strict(struct hwloc_topology *topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset)</div><div class="ttdoc">Convert a NUMA node set into a CPU set without handling non-NUMA cases. </div><div class="ttdef"><b>Definition:</b> helper.h:1023</div></div>
+<div class="ttc" id="a00168_html_ga7a0c1046851f7a88bd52f5a1d4ba0a97"><div class="ttname"><a href="a00168.html#ga7a0c1046851f7a88bd52f5a1d4ba0a97">hwloc_get_obj_below_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_obj_below_by_type(hwloc_topology_t topology, hwloc_obj_type_t type1, unsigned idx1, hwloc_obj_type_t type2, unsigned idx2)</div><div class="ttdoc">Find an object below another object, both specified by types and indexes. </div><div class="ttdef"><b>Definition:</b> helper.h:638</div></div>
+<div class="ttc" id="a00151_html_gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574"><div class="ttname"><a href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574">HWLOC_OBJ_BRIDGE_HOST</a></div><div class="ttdoc">Host-side of a bridge, only possible upstream. </div><div class="ttdef"><b>Definition:</b> hwloc.h:279</div></div>
+<div class="ttc" id="a00165_html_ga91cfae08b092e7966002e15d1e987213"><div class="ttname"><a href="a00165.html#ga91cfae08b092e7966002e15d1e987213">hwloc_get_next_obj_covering_cpuset_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_type(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev)</div><div class="ttdoc">Iterate through same-type objects covering at least CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:355</div></div>
+<div class="ttc" id="a00151_html_gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a"><div class="ttname"><a href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a">HWLOC_OBJ_CACHE_UNIFIED</a></div><div class="ttdoc">Unified cache. </div><div class="ttdef"><b>Definition:</b> hwloc.h:271</div></div>
+<div class="ttc" id="a00204_html_a85a788017457129589318b6c39451acf"><div class="ttname"><a href="a00204.html#a85a788017457129589318b6c39451acf">hwloc_obj::next_cousin</a></div><div class="ttdeci">struct hwloc_obj * next_cousin</div><div class="ttdoc">Next object of same type and depth. </div><div class="ttdef"><b>Definition:</b> hwloc.h:399</div></div>
+<div class="ttc" id="a00220_html_aae99e035e8d1387d7b8768aaa8eceb0a"><div class="ttname"><a href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">hwloc_obj_attr_u::hwloc_pcidev_attr_s::bus</a></div><div class="ttdeci">unsigned char bus</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00204_html_a19e3d0a5951a7510fc4fc4722a9bf531"><div class="ttname"><a href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531">hwloc_obj::allowed_nodeset</a></div><div class="ttdeci">hwloc_nodeset_t allowed_nodeset</div><div class="ttdoc">The set of allowed NUMA memory nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:495</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00204_html_a9a5dd75596edc48fe834f81988cdc0d6"><div class="ttname"><a href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">hwloc_obj::distances</a></div><div class="ttdeci">struct hwloc_distances_s ** distances</div><div class="ttdoc">Distances between all objects at same depth below this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:508</div></div>
+<div class="ttc" id="a00170_html_gacec35bb7656c1944c514044ca4ce9c6f"><div class="ttname"><a href="a00170.html#gacec35bb7656c1944c514044ca4ce9c6f">hwloc_topology_get_online_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_online_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get online CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:838</div></div>
+<div class="ttc" id="a00168_html_gacb51295ff3fbd3a96f990f20c6492b1d"><div class="ttname"><a href="a00168.html#gacb51295ff3fbd3a96f990f20c6492b1d">hwloc_get_obj_below_array_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_obj_below_array_by_type(hwloc_topology_t topology, int nr, hwloc_obj_type_t *typev, unsigned *idxv)</div><div class="ttdoc">Find an object below a chain of objects specified by types and indexes. </div><div class="ttdef"><b>Definition:</b> helper.h:670</div></div>
+<div class="ttc" id="a00204_html_a0d07fb7b8935e137c94d75a3eb492ae9"><div class="ttname"><a href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">hwloc_obj::logical_index</a></div><div class="ttdeci">unsigned logical_index</div><div class="ttdoc">Horizontal index in the whole list of similar objects, hence guaranteed unique across the entire mach...</div><div class="ttdef"><b>Definition:</b> hwloc.h:392</div></div>
+<div class="ttc" id="a00204_html_ac715989f55ff5a0eb6be2969ee477ec0"><div class="ttname"><a href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0">hwloc_obj::prev_cousin</a></div><div class="ttdeci">struct hwloc_obj * prev_cousin</div><div class="ttdoc">Previous object of same type and depth. </div><div class="ttdef"><b>Definition:</b> hwloc.h:400</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00173_html_gacdbaf0db98872e224b7883a84bfb0455"><div class="ttname"><a href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_pcidev_by_busid(hwloc_topology_t topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)</div><div class="ttdoc">Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id...</div><div class="ttdef"><b>Definition:</b> helper.h:1215</div></div>
+<div class="ttc" id="a00150_html_ga1f784433e9b606261f62d1134f6a3b25"><div class="ttname"><a href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_cpuset_t</div><div class="ttdoc">A non-modifiable hwloc_cpuset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:134</div></div>
+<div class="ttc" id="a00244_html_a4ca2af858cebbce7324ec49903d09474"><div class="ttname"><a href="a00244.html#a4ca2af858cebbce7324ec49903d09474">hwloc_distances_s::nbobjs</a></div><div class="ttdeci">unsigned nbobjs</div><div class="ttdoc">Number of objects considered in the matrix. It is the number of descendant objects at relative_depth ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:587</div></div>
+<div class="ttc" id="a00171_html_ga014490779e7012ffec2b5ccee020c0ae"><div class="ttname"><a href="a00171.html#ga014490779e7012ffec2b5ccee020c0ae">hwloc_cpuset_to_nodeset_strict</a></div><div class="ttdeci">static void hwloc_cpuset_to_nodeset_strict(struct hwloc_topology *topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset)</div><div class="ttdoc">Convert a CPU set into a NUMA node set without handling non-NUMA cases. </div><div class="ttdef"><b>Definition:</b> helper.h:971</div></div>
+<div class="ttc" id="a00204_html_aac3f6da35c9b57599909a44ce2b716c1"><div class="ttname"><a href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">hwloc_obj::arity</a></div><div class="ttdeci">unsigned arity</div><div class="ttdoc">Number of children. </div><div class="ttdef"><b>Definition:</b> hwloc.h:409</div></div>
+<div class="ttc" id="a00170_html_ga2f1cb5bc87dabb252b691c5c15555d21"><div class="ttname"><a href="a00170.html#ga2f1cb5bc87dabb252b691c5c15555d21">hwloc_topology_get_topology_nodeset</a></div><div class="ttdeci">static hwloc_const_nodeset_t hwloc_topology_get_topology_nodeset(hwloc_topology_t topology)</div><div class="ttdoc">Get topology node set. </div><div class="ttdef"><b>Definition:</b> helper.h:890</div></div>
+<div class="ttc" id="a00173_html_gaf139bb61375178e90cc3f1835b452ab6"><div class="ttname"><a href="a00173.html#gaf139bb61375178e90cc3f1835b452ab6">hwloc_get_non_io_ancestor_obj</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_non_io_ancestor_obj(hwloc_topology_t topology, hwloc_obj_t ioobj)</div><div class="ttdoc">Get the first non-I/O ancestor object. </div><div class="ttdef"><b>Definition:</b> helper.h:1191</div></div>
+<div class="ttc" id="a00155_html_ga8cf03328ed09901a03664d9498177126"><div class="ttname"><a href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_by_depth(hwloc_topology_t topology, unsigned depth, hwloc_obj_t prev)</div><div class="ttdoc">Returns the next object at depth depth. </div></div>
+<div class="ttc" id="a00168_html_ga2cd22a34360643f7f5bad09576dec205"><div class="ttname"><a href="a00168.html#ga2cd22a34360643f7f5bad09576dec205">hwloc_get_closest_objs</a></div><div class="ttdeci">unsigned hwloc_get_closest_objs(hwloc_topology_t topology, hwloc_obj_t src, hwloc_obj_t *restrict objs, unsigned max)</div><div class="ttdoc">Do a depth-first traversal of the topology to find and sort. </div></div>
+<div class="ttc" id="a00165_html_ga0e66aa2dc6b2527cfd10723af646c9d7"><div class="ttname"><a href="a00165.html#ga0e66aa2dc6b2527cfd10723af646c9d7">hwloc_get_child_covering_cpuset</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_child_covering_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t parent)</div><div class="ttdoc">Get the child covering at least CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:279</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00208_html_a4203d713ce0f5beaa6ee0e9bdac70828"><div class="ttname"><a href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">hwloc_obj_attr_u::pcidev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_pcidev_attr_s pcidev</div></div>
+<div class="ttc" id="a00220_html_a3d70c84a12f7e93d14c8d47bf4fd9dc5"><div class="ttname"><a href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">hwloc_obj_attr_u::hwloc_pcidev_attr_s::dev</a></div><div class="ttdeci">unsigned char dev</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00220_html_a695f32df53f4ef728670bfcf31b74e0f"><div class="ttname"><a href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">hwloc_obj_attr_u::hwloc_pcidev_attr_s::func</a></div><div class="ttdeci">unsigned char func</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00170_html_ga8cb598b3bce8d67cbdfc1f29caad28f6"><div class="ttname"><a href="a00170.html#ga8cb598b3bce8d67cbdfc1f29caad28f6">hwloc_topology_get_allowed_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_allowed_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get allowed CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:855</div></div>
+<div class="ttc" id="a00172_html_ga07219dc0fd6e4553a658eaa73f038c42"><div class="ttname"><a href="a00172.html#ga07219dc0fd6e4553a658eaa73f038c42">hwloc_get_whole_distance_matrix_by_depth</a></div><div class="ttdeci">static const struct hwloc_distances_s * hwloc_get_whole_distance_matrix_by_depth(hwloc_topology_t topology, unsigned depth)</div><div class="ttdoc">Get the distances between all objects at the given depth. </div><div class="ttdef"><b>Definition:</b> helper.h:1065</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00212_html_ad8edc8ded2b7a70d6abbc874801930f4"><div class="ttname"><a href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">hwloc_obj_attr_u::hwloc_cache_attr_s::type</a></div><div class="ttdeci">hwloc_obj_cache_type_t type</div><div class="ttdoc">Cache type. </div><div class="ttdef"><b>Definition:</b> hwloc.h:534</div></div>
+<div class="ttc" id="a00204_html_a8be6f63eca4da91000c832280db927b7"><div class="ttname"><a href="a00204.html#a8be6f63eca4da91000c832280db927b7">hwloc_obj::distances_count</a></div><div class="ttdeci">unsigned distances_count</div><div class="ttdef"><b>Definition:</b> hwloc.h:509</div></div>
+<div class="ttc" id="a00220_html_a8fba44988deb98613c1505a4019a34dc"><div class="ttname"><a href="a00220.html#a8fba44988deb98613c1505a4019a34dc">hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain</a></div><div class="ttdeci">unsigned short domain</div><div class="ttdef"><b>Definition:</b> hwloc.h:543</div></div>
+<div class="ttc" id="a00155_html_ga2d4b12fc187dfc53b35f2fa21d21044d"><div class="ttname"><a href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_root_obj(hwloc_topology_t topology)</div><div class="ttdoc">Returns the top-object of the topology-tree. </div></div>
+<div class="ttc" id="a00169_html_ga2e3db06f766509ae2004ee4c8bbf5204"><div class="ttname"><a href="a00169.html#ga2e3db06f766509ae2004ee4c8bbf5204">hwloc_distrib</a></div><div class="ttdeci">static int hwloc_distrib(hwloc_topology_t topology, hwloc_obj_t *roots, unsigned n_roots, hwloc_cpuset_t *set, unsigned n, unsigned until, unsigned long flags)</div><div class="ttdoc">Distribute n items over the topology under roots. </div><div class="ttdef"><b>Definition:</b> helper.h:723</div></div>
+<div class="ttc" id="a00165_html_ga41acdcdbb8b95d70ecf6c572a3f67dca"><div class="ttname"><a href="a00165.html#ga41acdcdbb8b95d70ecf6c572a3f67dca">hwloc_get_obj_covering_cpuset</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_obj_covering_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set)</div><div class="ttdoc">Get the lowest object covering at least CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:304</div></div>
+<div class="ttc" id="a00173_html_ga66470dabce9db19a57c5940a909d0baa"><div class="ttname"><a href="a00173.html#ga66470dabce9db19a57c5940a909d0baa">hwloc_get_next_pcidev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_pcidev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next PCI device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1206</div></div>
+<div class="ttc" id="a00174_html_ga0526e03db81956fb02acc8260b66d6a4"><div class="ttname"><a href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a></div><div class="ttdeci">int hwloc_bitmap_isincluded(hwloc_const_bitmap_t sub_bitmap, hwloc_const_bitmap_t super_bitmap)</div><div class="ttdoc">Test whether bitmap sub_bitmap is part of bitmap super_bitmap. </div></div>
+<div class="ttc" id="a00204_html_a67925e0f2c47f50408fbdb9bddd0790f"><div class="ttname"><a href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">hwloc_obj::cpuset</a></div><div class="ttdeci">hwloc_cpuset_t cpuset</div><div class="ttdoc">CPUs covered by this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:421</div></div>
+<div class="ttc" id="a00204_html_afa3c59a6dd3da8ffa48710780a1bfb34"><div class="ttname"><a href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34">hwloc_obj::allowed_cpuset</a></div><div class="ttdeci">hwloc_cpuset_t allowed_cpuset</div><div class="ttdoc">The CPU set of allowed logical processors. </div><div class="ttdef"><b>Definition:</b> hwloc.h:453</div></div>
+<div class="ttc" id="a00204_html_a91788a9da687beb7224cc1fd7b75208c"><div class="ttname"><a href="a00204.html#a91788a9da687beb7224cc1fd7b75208c">hwloc_obj::complete_cpuset</a></div><div class="ttdeci">hwloc_cpuset_t complete_cpuset</div><div class="ttdoc">The complete CPU set of logical processors of this object,. </div><div class="ttdef"><b>Definition:</b> hwloc.h:434</div></div>
+<div class="ttc" id="a00224_html_acaf1ae02e37182bbb6966f8c4f35e499"><div class="ttname"><a href="a00224.html#acaf1ae02e37182bbb6966f8c4f35e499">hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream</a></div><div class="ttdeci">union hwloc_obj_attr_u::hwloc_bridge_attr_s::@1 downstream</div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00174_html_ga32376b1405e57472b73c3aa53bb39663"><div class="ttname"><a href="a00174.html#ga32376b1405e57472b73c3aa53bb39663">hwloc_bitmap_isequal</a></div><div class="ttdeci">int hwloc_bitmap_isequal(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Test whether bitmap bitmap1 is equal to bitmap bitmap2. </div></div>
+<div class="ttc" id="a00204_html_a61a7a80a68eaccbaaa28269e678c81a9"><div class="ttname"><a href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">hwloc_obj::os_index</a></div><div class="ttdeci">unsigned os_index</div><div class="ttdoc">OS-provided physical index number. It is not guaranteed unique across the entire machine, except for PUs and NUMA nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:362</div></div>
+<div class="ttc" id="a00174_html_gae679434c1a5f41d3560a8a7e2c1b0dee"><div class="ttname"><a href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee">hwloc_bitmap_dup</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_bitmap_dup(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. </div></div>
+<div class="ttc" id="a00164_html_ga34ca563fa3a6a4e05268f36a87668511"><div class="ttname"><a href="a00164.html#ga34ca563fa3a6a4e05268f36a87668511">hwloc_get_largest_objs_inside_cpuset</a></div><div class="ttdeci">int hwloc_get_largest_objs_inside_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t *restrict objs, int max)</div><div class="ttdoc">Get the set of largest objects covering exactly a given cpuset set. </div></div>
+<div class="ttc" id="a00164_html_ga468b8bef96f9677d6fe04a0d81044c85"><div class="ttname"><a href="a00164.html#ga468b8bef96f9677d6fe04a0d81044c85">hwloc_get_next_obj_inside_cpuset_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_inside_cpuset_by_depth(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev)</div><div class="ttdoc">Return the next object at depth depth included in CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:91</div></div>
+<div class="ttc" id="a00168_html_gab89d9ed9edfaa3dd526fb6ee1a1618ea"><div class="ttname"><a href="a00168.html#gab89d9ed9edfaa3dd526fb6ee1a1618ea">hwloc_get_numanode_obj_by_os_index</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_numanode_obj_by_os_index(hwloc_topology_t topology, unsigned os_index)</div><div class="ttdoc">Returns the object of type HWLOC_OBJ_NUMANODE with os_index. </div><div class="ttdef"><b>Definition:</b> helper.h:598</div></div>
+<div class="ttc" id="a00224_html_a265dd2164aa2df4972e25a029da72125"><div class="ttname"><a href="a00224.html#a265dd2164aa2df4972e25a029da72125">hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream_type</a></div><div class="ttdeci">hwloc_obj_bridge_type_t upstream_type</div><div class="ttdef"><b>Definition:</b> hwloc.h:555</div></div>
+<div class="ttc" id="a00171_html_ga2ed57313ce5bf85f3ac156932ecf639d"><div class="ttname"><a href="a00171.html#ga2ed57313ce5bf85f3ac156932ecf639d">hwloc_cpuset_from_nodeset</a></div><div class="ttdeci">static void hwloc_cpuset_from_nodeset(hwloc_topology_t topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset)</div><div class="ttdoc">Convert a NUMA node set into a CPU set and handle non-NUMA cases. </div><div class="ttdef"><b>Definition:</b> helper.h:992</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a></div><div class="ttdoc">Cache. Can be L1i, L1d, L2, L3, ... </div><div class="ttdef"><b>Definition:</b> hwloc.h:204</div></div>
+<div class="ttc" id="a00204_html_ac38c4012127525ef74c5615c526f4c2e"><div class="ttname"><a href="a00204.html#ac38c4012127525ef74c5615c526f4c2e">hwloc_obj::complete_nodeset</a></div><div class="ttdeci">hwloc_nodeset_t complete_nodeset</div><div class="ttdoc">The complete NUMA node set of this object,. </div><div class="ttdef"><b>Definition:</b> hwloc.h:481</div></div>
+<div class="ttc" id="a00151_html_gacd37bb612667dc437d66bfb175a8dc55"><div class="ttname"><a href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a></div><div class="ttdeci">hwloc_obj_type_t</div><div class="ttdoc">Type of topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:170</div></div>
+<div class="ttc" id="a00150_html_ga2f5276235841ad66a79bedad16a5a10c"><div class="ttname"><a href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_nodeset_t</div><div class="ttdoc">A non-modifiable hwloc_nodeset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:154</div></div>
+<div class="ttc" id="a00224_html_ac6a169b672d0e9f75756fd5665828b93"><div class="ttname"><a href="a00224.html#ac6a169b672d0e9f75756fd5665828b93">hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream_type</a></div><div class="ttdeci">hwloc_obj_bridge_type_t downstream_type</div><div class="ttdef"><b>Definition:</b> hwloc.h:562</div></div>
+<div class="ttc" id="a00170_html_ga5c3ddcb2d19bc0b58042c9fc974f0fa5"><div class="ttname"><a href="a00170.html#ga5c3ddcb2d19bc0b58042c9fc974f0fa5">hwloc_topology_get_topology_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_topology_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get topology CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:821</div></div>
+<div class="ttc" id="a00164_html_ga547325a4193dbc215d07c23097519d79"><div class="ttname"><a href="a00164.html#ga547325a4193dbc215d07c23097519d79">hwloc_get_first_largest_obj_inside_cpuset</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_first_largest_obj_inside_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set)</div><div class="ttdoc">Get the first largest object included in the given cpuset set. </div><div class="ttdef"><b>Definition:</b> helper.h:45</div></div>
+<div class="ttc" id="a00166_html_ga70f0c7583291da707c15ae4daa850f41"><div class="ttname"><a href="a00166.html#ga70f0c7583291da707c15ae4daa850f41">hwloc_get_ancestor_obj_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_ancestor_obj_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t obj)</div><div class="ttdoc">Returns the ancestor object of obj with type type. </div><div class="ttdef"><b>Definition:</b> helper.h:395</div></div>
+<div class="ttc" id="a00155_html_ga8bec782e21be313750da70cf7428b374"><div class="ttname"><a href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a></div><div class="ttdeci">int hwloc_get_type_depth(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Returns the depth of objects of type type. </div></div>
+<div class="ttc" id="a00170_html_ga706182498ac92528e274e9b8d944273d"><div class="ttname"><a href="a00170.html#ga706182498ac92528e274e9b8d944273d">hwloc_topology_get_allowed_nodeset</a></div><div class="ttdeci">static hwloc_const_nodeset_t hwloc_topology_get_allowed_nodeset(hwloc_topology_t topology)</div><div class="ttdoc">Get allowed node set. </div><div class="ttdef"><b>Definition:</b> helper.h:907</div></div>
+<div class="ttc" id="a00164_html_ga9442c310da87de6d09d3a4b8399ec14f"><div class="ttname"><a href="a00164.html#ga9442c310da87de6d09d3a4b8399ec14f">hwloc_get_obj_inside_cpuset_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_obj_inside_cpuset_by_depth(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, unsigned idx)</div><div class="ttdoc">Return the (logically) idx -th object at depth depth included in CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:136</div></div>
+<div class="ttc" id="a00167_html_gac4cd480a5deaa4ada047fdd11ae4c070"><div class="ttname"><a href="a00167.html#gac4cd480a5deaa4ada047fdd11ae4c070">hwloc_get_cache_covering_cpuset</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_cache_covering_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set)</div><div class="ttdoc">Get the first cache covering a cpuset set. </div><div class="ttdef"><b>Definition:</b> helper.h:520</div></div>
+<div class="ttc" id="a00174_html_ga11340dd487f110bb84f0a6e4ae90bd06"><div class="ttname"><a href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a></div><div class="ttdeci">int hwloc_bitmap_isset(hwloc_const_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Test whether index id is part of bitmap bitmap. </div></div>
+<div class="ttc" id="a00204_html_a8842d56c2975380f327ea401c5f53564"><div class="ttname"><a href="a00204.html#a8842d56c2975380f327ea401c5f53564">hwloc_obj::online_cpuset</a></div><div class="ttdeci">hwloc_cpuset_t online_cpuset</div><div class="ttdoc">The CPU set of online logical processors. </div><div class="ttdef"><b>Definition:</b> hwloc.h:445</div></div>
+<div class="ttc" id="a00208_html_ab5a8ae3bf490e6b1071fea53f7382836"><div class="ttname"><a href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">hwloc_obj_attr_u::cache</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_cache_attr_s cache</div></div>
+<div class="ttc" id="a00244_html_a0f70f48d1bfb18e5e2008825da2967c9"><div class="ttname"><a href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">hwloc_distances_s::latency</a></div><div class="ttdeci">float * latency</div><div class="ttdoc">Matrix of latencies between objects, stored as a one-dimension array. May be NULL if the distances co...</div><div class="ttdef"><b>Definition:</b> hwloc.h:592</div></div>
+<div class="ttc" id="a00174_html_gaa97c5217613c8cae9862287170ea2132"><div class="ttname"><a href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a></div><div class="ttdeci">void hwloc_bitmap_zero(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Empty the bitmap bitmap. </div></div>
+<div class="ttc" id="a00164_html_ga4c3a20d61e9beb06c667b21688c772c5"><div class="ttname"><a href="a00164.html#ga4c3a20d61e9beb06c667b21688c772c5">hwloc_get_obj_index_inside_cpuset</a></div><div class="ttdeci">static int hwloc_get_obj_index_inside_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t obj)</div><div class="ttdoc">Return the logical index among the objects included in CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:248</div></div>
+<div class="ttc" id="a00151_html_gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60"><div class="ttname"><a href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60">HWLOC_OBJ_BRIDGE_PCI</a></div><div class="ttdoc">PCI-side of a bridge. </div><div class="ttdef"><b>Definition:</b> hwloc.h:280</div></div>
+<div class="ttc" id="a00174_html_ga1281994d6cc3b5079224190ca820ad93"><div class="ttname"><a href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a></div><div class="ttdeci">void hwloc_bitmap_or(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Or bitmaps bitmap1 and bitmap2 and store the result in bitmap res. </div></div>
+<div class="ttc" id="a00172_html_ga64529254be72b3c4343b25926c84b12f"><div class="ttname"><a href="a00172.html#ga64529254be72b3c4343b25926c84b12f">hwloc_get_whole_distance_matrix_by_type</a></div><div class="ttdeci">static const struct hwloc_distances_s * hwloc_get_whole_distance_matrix_by_type(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Get the distances between all objects of a given type. </div><div class="ttdef"><b>Definition:</b> helper.h:1095</div></div>
+<div class="ttc" id="a00204_html_a7f2343ed476fe4942e6fffd4cade1b40"><div class="ttname"><a href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">hwloc_obj::next_sibling</a></div><div class="ttdeci">struct hwloc_obj * next_sibling</div><div class="ttdoc">Next object below the same parent. </div><div class="ttdef"><b>Definition:</b> hwloc.h:405</div></div>
+<div class="ttc" id="a00155_html_gabf8a98ad085460a4982cc7b74c344b71"><div class="ttname"><a href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a></div><div class="ttdeci">hwloc_obj_t hwloc_get_obj_by_depth(hwloc_topology_t topology, unsigned depth, unsigned idx)</div><div class="ttdoc">Returns the topology object at logical index idx from depth depth. </div></div>
+<div class="ttc" id="a00166_html_ga408cf74f5bf9ed497911a320c7f8cc56"><div class="ttname"><a href="a00166.html#ga408cf74f5bf9ed497911a320c7f8cc56">hwloc_obj_is_in_subtree</a></div><div class="ttdeci">static int hwloc_obj_is_in_subtree(hwloc_topology_t topology, hwloc_obj_t obj, hwloc_obj_t subtree_root)</div><div class="ttdoc">Returns true if obj is inside the subtree beginning with ancestor object subtree_root. </div><div class="ttdef"><b>Definition:</b> helper.h:434</div></div>
+<div class="ttc" id="a00169_html_ga8b835295a52b6768a5e6c8abb1f9c54d"><div class="ttname"><a href="a00169.html#ga8b835295a52b6768a5e6c8abb1f9c54d">hwloc_distrib_flags_e</a></div><div class="ttdeci">hwloc_distrib_flags_e</div><div class="ttdoc">Flags to be given to hwloc_distrib(). </div><div class="ttdef"><b>Definition:</b> helper.h:692</div></div>
+<div class="ttc" id="a00174_html_ga07b2de8786b3cdb22f21d9dd42588275"><div class="ttname"><a href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a></div><div class="ttdeci">void hwloc_bitmap_fill(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Fill bitmap bitmap with all possible indexes (even if those objects don&#39;t exist or are otherwise unav...</div></div>
+<div class="ttc" id="a00166_html_ga12d8565a3436c565e791ed02a0353621"><div class="ttname"><a href="a00166.html#ga12d8565a3436c565e791ed02a0353621">hwloc_get_next_child</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_child(hwloc_topology_t topology, hwloc_obj_t parent, hwloc_obj_t prev)</div><div class="ttdoc">Return the next child. </div><div class="ttdef"><b>Definition:</b> helper.h:444</div></div>
+<div class="ttc" id="a00166_html_gaa367c98dea402386c040a47a2f414f86"><div class="ttname"><a href="a00166.html#gaa367c98dea402386c040a47a2f414f86">hwloc_get_ancestor_obj_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_ancestor_obj_by_depth(hwloc_topology_t topology, unsigned depth, hwloc_obj_t obj)</div><div class="ttdoc">Returns the ancestor object of obj at depth depth. </div><div class="ttdef"><b>Definition:</b> helper.h:381</div></div>
+<div class="ttc" id="a00204_html_acc4f0803f244867e68fe0036800be5de"><div class="ttname"><a href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj::type</a></div><div class="ttdeci">hwloc_obj_type_t type</div><div class="ttdoc">Type of object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:360</div></div>
+<div class="ttc" id="a00174_html_ga0200466842c0e1f5da75e84dde460b10"><div class="ttname"><a href="a00174.html#ga0200466842c0e1f5da75e84dde460b10">hwloc_bitmap_weight</a></div><div class="ttdeci">int hwloc_bitmap_weight(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Compute the "weight" of bitmap bitmap (i.e., number of indexes that are in the bitmap). </div></div>
+<div class="ttc" id="a00151_html_gab6e1e7efedae8b341f3ee14fbe53d66c"><div class="ttname"><a href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a></div><div class="ttdeci">enum hwloc_obj_cache_type_e hwloc_obj_cache_type_t</div><div class="ttdoc">Cache type. </div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a></div><div class="ttdoc">NUMA node. An object that contains memory that is directly and byte-accessible to the host processors...</div><div class="ttdef"><b>Definition:</b> hwloc.h:190</div></div>
+<div class="ttc" id="a00204_html_a08f0d0e16c619a6e653526cbee4ffea3"><div class="ttname"><a href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">hwloc_obj::nodeset</a></div><div class="ttdeci">hwloc_nodeset_t nodeset</div><div class="ttdoc">NUMA nodes covered by this object or containing this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:464</div></div>
+<div class="ttc" id="a00171_html_ga8fbd641f284673a3e884e8e556044eba"><div class="ttname"><a href="a00171.html#ga8fbd641f284673a3e884e8e556044eba">hwloc_cpuset_to_nodeset</a></div><div class="ttdeci">static void hwloc_cpuset_to_nodeset(hwloc_topology_t topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset)</div><div class="ttdoc">Convert a CPU set into a NUMA node set and handle non-NUMA cases. </div><div class="ttdef"><b>Definition:</b> helper.h:943</div></div>
+<div class="ttc" id="a00204_html_af51d08a0a79dba517c06c5afedc8d2dc"><div class="ttname"><a href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">hwloc_obj::first_child</a></div><div class="ttdeci">struct hwloc_obj * first_child</div><div class="ttdoc">First child. </div><div class="ttdef"><b>Definition:</b> hwloc.h:411</div></div>
+<div class="ttc" id="a00164_html_gafe859176cf9233f215fea0e87cef47e7"><div class="ttname"><a href="a00164.html#gafe859176cf9233f215fea0e87cef47e7">hwloc_get_next_obj_inside_cpuset_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_inside_cpuset_by_type(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev)</div><div class="ttdoc">Return the next object of type type included in CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:115</div></div>
+<div class="ttc" id="a00170_html_ga22002d6fc14a25a3947c42cba0a70134"><div class="ttname"><a href="a00170.html#ga22002d6fc14a25a3947c42cba0a70134">hwloc_topology_get_complete_nodeset</a></div><div class="ttdeci">static hwloc_const_nodeset_t hwloc_topology_get_complete_nodeset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete node set. </div><div class="ttdef"><b>Definition:</b> helper.h:872</div></div>
+<div class="ttc" id="a00212_html_a5c8f7f39193736c2187ed626940835d5"><div class="ttname"><a href="a00212.html#a5c8f7f39193736c2187ed626940835d5">hwloc_obj_attr_u::hwloc_cache_attr_s::depth</a></div><div class="ttdeci">unsigned depth</div><div class="ttdoc">Depth of cache (e.g., L1, L2, ...etc.) </div><div class="ttdef"><b>Definition:</b> hwloc.h:530</div></div>
+<div class="ttc" id="a00164_html_ga2edf924e5a0cca9cb22f65cc77c6ddb5"><div class="ttname"><a href="a00164.html#ga2edf924e5a0cca9cb22f65cc77c6ddb5">hwloc_get_obj_inside_cpuset_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_obj_inside_cpuset_by_type(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, unsigned idx)</div><div class="ttdoc">Return the idx -th object of type type included in CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:170</div></div>
+<div class="ttc" id="a00150_html_ga37e35730fa7e775b5bb0afe893d6d508"><div class="ttname"><a href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_nodeset_t</div><div class="ttdoc">A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes...</div><div class="ttdef"><b>Definition:</b> hwloc.h:151</div></div>
+<div class="ttc" id="a00224_html_ab5c564e7c95b747dae9eb84ec0a2c31e"><div class="ttname"><a href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e">hwloc_obj_attr_u::hwloc_bridge_attr_s::pci</a></div><div class="ttdeci">struct hwloc_pcidev_attr_s pci</div><div class="ttdef"><b>Definition:</b> hwloc.h:553</div></div>
+<div class="ttc" id="a00173_html_ga0d92a9462a3d317f29ecb4442a307fb1"><div class="ttname"><a href="a00173.html#ga0d92a9462a3d317f29ecb4442a307fb1">hwloc_bridge_covers_pcibus</a></div><div class="ttdeci">static int hwloc_bridge_covers_pcibus(hwloc_obj_t bridge, unsigned domain, unsigned bus)</div><div class="ttdef"><b>Definition:</b> helper.h:1270</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00167_html_gad108a09ce400222fe45545257d575489"><div class="ttname"><a href="a00167.html#gad108a09ce400222fe45545257d575489">hwloc_get_cache_type_depth</a></div><div class="ttdeci">static int hwloc_get_cache_type_depth(hwloc_topology_t topology, unsigned cachelevel, hwloc_obj_cache_type_t cachetype)</div><div class="ttdoc">Find the depth of cache objects matching cache depth and type. </div><div class="ttdef"><b>Definition:</b> helper.h:481</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00166_html_gab1fa883021928b5c476911c4102e9be3"><div class="ttname"><a href="a00166.html#gab1fa883021928b5c476911c4102e9be3">hwloc_get_common_ancestor_obj</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_common_ancestor_obj(hwloc_topology_t topology, hwloc_obj_t obj1, hwloc_obj_t obj2)</div><div class="ttdoc">Returns the common parent object to objects obj1 and obj2. </div><div class="ttdef"><b>Definition:</b> helper.h:407</div></div>
+<div class="ttc" id="a00173_html_ga9dba22a3f4f701f2a46780ba9a0bbbe7"><div class="ttname"><a href="a00173.html#ga9dba22a3f4f701f2a46780ba9a0bbbe7">hwloc_get_next_bridge</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_bridge(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next bridge in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1262</div></div>
+<div class="ttc" id="a00164_html_ga133c40415de008518608f8bff52a5ab9"><div class="ttname"><a href="a00164.html#ga133c40415de008518608f8bff52a5ab9">hwloc_get_nbobjs_inside_cpuset_by_type</a></div><div class="ttdeci">static int hwloc_get_nbobjs_inside_cpuset_by_type(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type)</div><div class="ttdoc">Return the number of objects of type type included in CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:222</div></div>
+<div class="ttc" id="a00204_html_a04d05403da37bfe17cd63b7c7dd07b1f"><div class="ttname"><a href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">hwloc_obj::children</a></div><div class="ttdeci">struct hwloc_obj ** children</div><div class="ttdoc">Children, children[0 .. arity -1]. </div><div class="ttdef"><b>Definition:</b> hwloc.h:410</div></div>
+<div class="ttc" id="a00165_html_gaeea0d93522c85c3ef0acfbb00733a69c"><div class="ttname"><a href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_depth(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev)</div><div class="ttdoc">Iterate through same-depth objects covering at least CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:328</div></div>
+<div class="ttc" id="a00174_html_gaefa070f9232857ba5a57297ea9a08ea2"><div class="ttname"><a href="a00174.html#gaefa070f9232857ba5a57297ea9a08ea2">hwloc_bitmap_intersects</a></div><div class="ttdeci">int hwloc_bitmap_intersects(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Test whether bitmaps bitmap1 and bitmap2 intersects. </div></div>
+<div class="ttc" id="a00168_html_ga751c238a4931db5cc0ca3181b7dd7479"><div class="ttname"><a href="a00168.html#ga751c238a4931db5cc0ca3181b7dd7479">hwloc_get_pu_obj_by_os_index</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_pu_obj_by_os_index(hwloc_topology_t topology, unsigned os_index)</div><div class="ttdoc">Returns the object of type HWLOC_OBJ_PU with os_index. </div><div class="ttdef"><b>Definition:</b> helper.h:577</div></div>
+<div class="ttc" id="a00172_html_ga2d159b21a49964cc629dde03cbf05702"><div class="ttname"><a href="a00172.html#ga2d159b21a49964cc629dde03cbf05702">hwloc_get_distance_matrix_covering_obj_by_depth</a></div><div class="ttdeci">static const struct hwloc_distances_s * hwloc_get_distance_matrix_covering_obj_by_depth(hwloc_topology_t topology, hwloc_obj_t obj, unsigned depth, unsigned *firstp)</div><div class="ttdoc">Get distances for the given depth and covering some objects. </div><div class="ttdef"><b>Definition:</b> helper.h:1117</div></div>
+<div class="ttc" id="a00244_html_a6fe066eaf62ee448aa05bab8e7217ff7"><div class="ttname"><a href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">hwloc_distances_s::relative_depth</a></div><div class="ttdeci">unsigned relative_depth</div><div class="ttdoc">Relative depth of the considered objects below the object containing this distance information...</div><div class="ttdef"><b>Definition:</b> hwloc.h:585</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): bitmap.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">bitmap.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2018 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2012 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef HWLOC_BITMAP_H</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define HWLOC_BITMAP_H</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <assert.h></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84"> 63</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>hwloc_bitmap_s * <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a>;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="a00174.html#gae991a108af01d408be2776c5b2c467b2"> 65</a></span> <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">struct </span>hwloc_bitmap_s * <a class="code" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment">/*</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment"> * Bitmap allocation, freeing and copying.</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"> */</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> HWLOC_DECLSPEC hwloc_bitmap_t <a class="code" href="a00174.html#gadece3d1eb5199fc2fb99bc7dcf1ccc05">hwloc_bitmap_alloc</a>(<span class="keywordtype">void</span>) __hwloc_attribute_malloc;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> HWLOC_DECLSPEC hwloc_bitmap_t <a class="code" href="a00174.html#ga02853b4a224970587b9d7a0e20d857c0">hwloc_bitmap_alloc_full</a>(<span class="keywordtype">void</span>) __hwloc_attribute_malloc;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga156130d85b3a0674d6e0e6770fe68fbe">hwloc_bitmap_free</a>(hwloc_bitmap_t bitmap);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> HWLOC_DECLSPEC hwloc_bitmap_t <a class="code" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee">hwloc_bitmap_dup</a>(hwloc_const_bitmap_t bitmap) __hwloc_attribute_malloc;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(hwloc_bitmap_t dst, hwloc_const_bitmap_t src);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment">/*</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment"> * Bitmap/String Conversion</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> */</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga9511644657030a021dce9941e3cda583">hwloc_bitmap_snprintf</a>(<span class="keywordtype">char</span> * __hwloc_restrict buf, <span class="keywordtype">size_t</span> buflen, hwloc_const_bitmap_t bitmap);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga0fece972134fdecf2da9bc7a11dd827e">hwloc_bitmap_asprintf</a>(<span class="keywordtype">char</span> ** strp, hwloc_const_bitmap_t bitmap);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga064a85c643a364b60acbfa0f3663fc18">hwloc_bitmap_sscanf</a>(hwloc_bitmap_t bitmap, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict <span class="keywordtype">string</span>);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga3d06e6447edeb61e56a9ad83f31f0a37">hwloc_bitmap_list_snprintf</a>(<span class="keywordtype">char</span> * __hwloc_restrict buf, <span class="keywordtype">size_t</span> buflen, hwloc_const_bitmap_t bitmap);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga39c0f1b02053de66d205c9f8260b3665">hwloc_bitmap_list_asprintf</a>(<span class="keywordtype">char</span> ** strp, hwloc_const_bitmap_t bitmap);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#gaf9314311d482c621e17c6a53a9fe993e">hwloc_bitmap_list_sscanf</a>(hwloc_bitmap_t bitmap, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict <span class="keywordtype">string</span>);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga5beb68a987fe48e5c5edef06ab260e14">hwloc_bitmap_taskset_snprintf</a>(<span class="keywordtype">char</span> * __hwloc_restrict buf, <span class="keywordtype">size_t</span> buflen, hwloc_const_bitmap_t bitmap);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga391312513f17c985d871f18367c59512">hwloc_bitmap_taskset_asprintf</a>(<span class="keywordtype">char</span> ** strp, hwloc_const_bitmap_t bitmap);</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga4f23db5041240e03e348752f8bd6ec2d">hwloc_bitmap_taskset_sscanf</a>(hwloc_bitmap_t bitmap, <span class="keyword">const</span> <span class="keywordtype">char</span> * __hwloc_restrict <span class="keywordtype">string</span>);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment">/*</span></div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> * Building bitmaps.</span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> */</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(hwloc_bitmap_t bitmap);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a>(hwloc_bitmap_t bitmap);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga037032ba6aaf49c2e6836e2dbb7855c4">hwloc_bitmap_only</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga3b944660dcfcb8d655883742b3ea86a7">hwloc_bitmap_allbut</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#gaba53aebd49962acea4e3e0ff160172e3">hwloc_bitmap_from_ulong</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga6066e095e6f23302f0a1ca7284d0b651">hwloc_bitmap_from_ith_ulong</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> i, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment">/*</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> * Modifying bitmaps.</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> */</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga7a1d8530b282397f56b0d82b17e6d13d">hwloc_bitmap_set_range</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> begin, <span class="keywordtype">int</span> end);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#gab16b6f6383b51f9c314abe15478ff6ff">hwloc_bitmap_set_ith_ulong</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> i, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#gabddf36d47882c0a4f1e2b3c76cac877c">hwloc_bitmap_clr</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga207ae23381d7b37fb97fd1f906c9c5ba">hwloc_bitmap_clr_range</a>(hwloc_bitmap_t bitmap, <span class="keywordtype">unsigned</span> begin, <span class="keywordtype">int</span> end);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga36d802130aa5d96bc1b5a90d2f0f3765">hwloc_bitmap_singlify</a>(hwloc_bitmap_t bitmap);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> </div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment">/*</span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"> * Consulting bitmaps.</span></div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment"> */</span></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00174.html#gab6a6bae22a33ec6adfc169a953c13e6c">hwloc_bitmap_to_ulong</a>(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00174.html#gac92e6404f648d6b99d2c626b05b2ffa4">hwloc_bitmap_to_ith_ulong</a>(hwloc_const_bitmap_t bitmap, <span class="keywordtype">unsigned</span> i) __hwloc_attribute_pure;</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a>(hwloc_const_bitmap_t bitmap, <span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>) __hwloc_attribute_pure;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga5fdcb8c19c336511c37076d649e74af4">hwloc_bitmap_isfull</a>(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga3ec1ced43afadf8c0a7197320bc016ed">hwloc_bitmap_first</a>(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#gaab7240b4b644693b775dad17b44ffd68">hwloc_bitmap_next</a>(hwloc_const_bitmap_t bitmap, <span class="keywordtype">int</span> prev) __hwloc_attribute_pure;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga3d9b08b060a59bbab5a4ea6d0a1ed7a6">hwloc_bitmap_last</a>(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga0200466842c0e1f5da75e84dde460b10">hwloc_bitmap_weight</a>(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a"> 319</a></span> <span class="preprocessor">#define hwloc_bitmap_foreach_begin(id, bitmap) \</span></div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="preprocessor">do { \</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="preprocessor"> assert(hwloc_bitmap_weight(bitmap) != -1); \</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="preprocessor"> for (id = hwloc_bitmap_first(bitmap); \</span></div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="preprocessor"> (unsigned) id != (unsigned) -1; \</span></div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="preprocessor"> id = hwloc_bitmap_next(bitmap, id)) {</span></div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div><div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="a00174.html#gafcf3246db406218d4e155735b3fa6528"> 333</a></span> <span class="preprocessor">#define hwloc_bitmap_foreach_end() \</span></div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="preprocessor"> } \</span></div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="preprocessor">} while (0)</span></div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment">/*</span></div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="comment"> * Combining bitmaps.</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="comment"> */</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a> (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga4a3e12ab9e20cfec66a3dc2db16806be">hwloc_bitmap_and</a> (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga091e9039ce7b6fe927260cd1b08d25c4">hwloc_bitmap_andnot</a> (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#gaf462ead487d1891e37f4443a397d3c42">hwloc_bitmap_xor</a> (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00174.html#ga8cd2c26d71510138b22a12db41419742">hwloc_bitmap_not</a> (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap);</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> </div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span> <span class="comment">/*</span></div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="comment"> * Comparing bitmaps.</span></div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="comment"> */</span></div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#gaefa070f9232857ba5a57297ea9a08ea2">hwloc_bitmap_intersects</a> (hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> </div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a> (hwloc_const_bitmap_t sub_bitmap, hwloc_const_bitmap_t super_bitmap) __hwloc_attribute_pure;</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga32376b1405e57472b73c3aa53bb39663">hwloc_bitmap_isequal</a> (hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span> </div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#gaa39cda1510ab721b5c012c76ead72365">hwloc_bitmap_compare_first</a>(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span> </div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00174.html#ga14cdbc0ef0a705e84999bd48a2e649f3">hwloc_bitmap_compare</a>(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span> </div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span> </div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_BITMAP_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00174_html_ga55480e96ab47941bfebb9aed676526a2"><div class="ttname"><a href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a></div><div class="ttdeci">void hwloc_bitmap_set(hwloc_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Add index id in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga0fece972134fdecf2da9bc7a11dd827e"><div class="ttname"><a href="a00174.html#ga0fece972134fdecf2da9bc7a11dd827e">hwloc_bitmap_asprintf</a></div><div class="ttdeci">int hwloc_bitmap_asprintf(char **strp, hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Stringify a bitmap into a newly allocated string. </div></div>
+<div class="ttc" id="a00174_html_ga391312513f17c985d871f18367c59512"><div class="ttname"><a href="a00174.html#ga391312513f17c985d871f18367c59512">hwloc_bitmap_taskset_asprintf</a></div><div class="ttdeci">int hwloc_bitmap_taskset_asprintf(char **strp, hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Stringify a bitmap into a newly allocated taskset-specific string. </div></div>
+<div class="ttc" id="a00174_html_ga037032ba6aaf49c2e6836e2dbb7855c4"><div class="ttname"><a href="a00174.html#ga037032ba6aaf49c2e6836e2dbb7855c4">hwloc_bitmap_only</a></div><div class="ttdeci">void hwloc_bitmap_only(hwloc_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Empty the bitmap bitmap and add bit id. </div></div>
+<div class="ttc" id="a00174_html_gadece3d1eb5199fc2fb99bc7dcf1ccc05"><div class="ttname"><a href="a00174.html#gadece3d1eb5199fc2fb99bc7dcf1ccc05">hwloc_bitmap_alloc</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_bitmap_alloc(void)</div><div class="ttdoc">Allocate a new empty bitmap. </div></div>
+<div class="ttc" id="a00174_html_gaa39cda1510ab721b5c012c76ead72365"><div class="ttname"><a href="a00174.html#gaa39cda1510ab721b5c012c76ead72365">hwloc_bitmap_compare_first</a></div><div class="ttdeci">int hwloc_bitmap_compare_first(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Compare bitmaps bitmap1 and bitmap2 using their lowest index. </div></div>
+<div class="ttc" id="a00174_html_gaab7240b4b644693b775dad17b44ffd68"><div class="ttname"><a href="a00174.html#gaab7240b4b644693b775dad17b44ffd68">hwloc_bitmap_next</a></div><div class="ttdeci">int hwloc_bitmap_next(hwloc_const_bitmap_t bitmap, int prev)</div><div class="ttdoc">Compute the next index in bitmap bitmap which is after index prev. </div></div>
+<div class="ttc" id="a00174_html_ga091e9039ce7b6fe927260cd1b08d25c4"><div class="ttname"><a href="a00174.html#ga091e9039ce7b6fe927260cd1b08d25c4">hwloc_bitmap_andnot</a></div><div class="ttdeci">void hwloc_bitmap_andnot(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">And bitmap bitmap1 and the negation of bitmap2 and store the result in bitmap res. </div></div>
+<div class="ttc" id="a00174_html_ga3b944660dcfcb8d655883742b3ea86a7"><div class="ttname"><a href="a00174.html#ga3b944660dcfcb8d655883742b3ea86a7">hwloc_bitmap_allbut</a></div><div class="ttdeci">void hwloc_bitmap_allbut(hwloc_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Fill the bitmap and clear the index id. </div></div>
+<div class="ttc" id="a00174_html_gaba53aebd49962acea4e3e0ff160172e3"><div class="ttname"><a href="a00174.html#gaba53aebd49962acea4e3e0ff160172e3">hwloc_bitmap_from_ulong</a></div><div class="ttdeci">void hwloc_bitmap_from_ulong(hwloc_bitmap_t bitmap, unsigned long mask)</div><div class="ttdoc">Setup bitmap bitmap from unsigned long mask. </div></div>
+<div class="ttc" id="a00174_html_ga207ae23381d7b37fb97fd1f906c9c5ba"><div class="ttname"><a href="a00174.html#ga207ae23381d7b37fb97fd1f906c9c5ba">hwloc_bitmap_clr_range</a></div><div class="ttdeci">void hwloc_bitmap_clr_range(hwloc_bitmap_t bitmap, unsigned begin, int end)</div><div class="ttdoc">Remove indexes from begin to end in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga5fdcb8c19c336511c37076d649e74af4"><div class="ttname"><a href="a00174.html#ga5fdcb8c19c336511c37076d649e74af4">hwloc_bitmap_isfull</a></div><div class="ttdeci">int hwloc_bitmap_isfull(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is completely full. </div></div>
+<div class="ttc" id="a00174_html_ga6066e095e6f23302f0a1ca7284d0b651"><div class="ttname"><a href="a00174.html#ga6066e095e6f23302f0a1ca7284d0b651">hwloc_bitmap_from_ith_ulong</a></div><div class="ttdeci">void hwloc_bitmap_from_ith_ulong(hwloc_bitmap_t bitmap, unsigned i, unsigned long mask)</div><div class="ttdoc">Setup bitmap bitmap from unsigned long mask used as i -th subset. </div></div>
+<div class="ttc" id="a00174_html_gaf462ead487d1891e37f4443a397d3c42"><div class="ttname"><a href="a00174.html#gaf462ead487d1891e37f4443a397d3c42">hwloc_bitmap_xor</a></div><div class="ttdeci">void hwloc_bitmap_xor(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Xor bitmaps bitmap1 and bitmap2 and store the result in bitmap res. </div></div>
+<div class="ttc" id="a00174_html_ga7a1d8530b282397f56b0d82b17e6d13d"><div class="ttname"><a href="a00174.html#ga7a1d8530b282397f56b0d82b17e6d13d">hwloc_bitmap_set_range</a></div><div class="ttdeci">void hwloc_bitmap_set_range(hwloc_bitmap_t bitmap, unsigned begin, int end)</div><div class="ttdoc">Add indexes from begin to end in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga064a85c643a364b60acbfa0f3663fc18"><div class="ttname"><a href="a00174.html#ga064a85c643a364b60acbfa0f3663fc18">hwloc_bitmap_sscanf</a></div><div class="ttdeci">int hwloc_bitmap_sscanf(hwloc_bitmap_t bitmap, const char *restrict string)</div><div class="ttdoc">Parse a bitmap string and stores it in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00174_html_ga0526e03db81956fb02acc8260b66d6a4"><div class="ttname"><a href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a></div><div class="ttdeci">int hwloc_bitmap_isincluded(hwloc_const_bitmap_t sub_bitmap, hwloc_const_bitmap_t super_bitmap)</div><div class="ttdoc">Test whether bitmap sub_bitmap is part of bitmap super_bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga156130d85b3a0674d6e0e6770fe68fbe"><div class="ttname"><a href="a00174.html#ga156130d85b3a0674d6e0e6770fe68fbe">hwloc_bitmap_free</a></div><div class="ttdeci">void hwloc_bitmap_free(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Free bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga4a3e12ab9e20cfec66a3dc2db16806be"><div class="ttname"><a href="a00174.html#ga4a3e12ab9e20cfec66a3dc2db16806be">hwloc_bitmap_and</a></div><div class="ttdeci">void hwloc_bitmap_and(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">And bitmaps bitmap1 and bitmap2 and store the result in bitmap res. </div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00174_html_ga32376b1405e57472b73c3aa53bb39663"><div class="ttname"><a href="a00174.html#ga32376b1405e57472b73c3aa53bb39663">hwloc_bitmap_isequal</a></div><div class="ttdeci">int hwloc_bitmap_isequal(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Test whether bitmap bitmap1 is equal to bitmap bitmap2. </div></div>
+<div class="ttc" id="a00174_html_gae679434c1a5f41d3560a8a7e2c1b0dee"><div class="ttname"><a href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee">hwloc_bitmap_dup</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_bitmap_dup(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. </div></div>
+<div class="ttc" id="a00174_html_ga4f23db5041240e03e348752f8bd6ec2d"><div class="ttname"><a href="a00174.html#ga4f23db5041240e03e348752f8bd6ec2d">hwloc_bitmap_taskset_sscanf</a></div><div class="ttdeci">int hwloc_bitmap_taskset_sscanf(hwloc_bitmap_t bitmap, const char *restrict string)</div><div class="ttdoc">Parse a taskset-specific bitmap string and stores it in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga02853b4a224970587b9d7a0e20d857c0"><div class="ttname"><a href="a00174.html#ga02853b4a224970587b9d7a0e20d857c0">hwloc_bitmap_alloc_full</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_bitmap_alloc_full(void)</div><div class="ttdoc">Allocate a new full bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga36d802130aa5d96bc1b5a90d2f0f3765"><div class="ttname"><a href="a00174.html#ga36d802130aa5d96bc1b5a90d2f0f3765">hwloc_bitmap_singlify</a></div><div class="ttdeci">void hwloc_bitmap_singlify(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Keep a single index among those set in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_gaf9314311d482c621e17c6a53a9fe993e"><div class="ttname"><a href="a00174.html#gaf9314311d482c621e17c6a53a9fe993e">hwloc_bitmap_list_sscanf</a></div><div class="ttdeci">int hwloc_bitmap_list_sscanf(hwloc_bitmap_t bitmap, const char *restrict string)</div><div class="ttdoc">Parse a list string and stores it in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_gab6a6bae22a33ec6adfc169a953c13e6c"><div class="ttname"><a href="a00174.html#gab6a6bae22a33ec6adfc169a953c13e6c">hwloc_bitmap_to_ulong</a></div><div class="ttdeci">unsigned long hwloc_bitmap_to_ulong(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Convert the beginning part of bitmap bitmap into unsigned long mask. </div></div>
+<div class="ttc" id="a00174_html_ga3ec1ced43afadf8c0a7197320bc016ed"><div class="ttname"><a href="a00174.html#ga3ec1ced43afadf8c0a7197320bc016ed">hwloc_bitmap_first</a></div><div class="ttdeci">int hwloc_bitmap_first(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Compute the first index (least significant bit) in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_gab16b6f6383b51f9c314abe15478ff6ff"><div class="ttname"><a href="a00174.html#gab16b6f6383b51f9c314abe15478ff6ff">hwloc_bitmap_set_ith_ulong</a></div><div class="ttdeci">void hwloc_bitmap_set_ith_ulong(hwloc_bitmap_t bitmap, unsigned i, unsigned long mask)</div><div class="ttdoc">Replace i -th subset of bitmap bitmap with unsigned long mask. </div></div>
+<div class="ttc" id="a00174_html_ga11340dd487f110bb84f0a6e4ae90bd06"><div class="ttname"><a href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a></div><div class="ttdeci">int hwloc_bitmap_isset(hwloc_const_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Test whether index id is part of bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_gabddf36d47882c0a4f1e2b3c76cac877c"><div class="ttname"><a href="a00174.html#gabddf36d47882c0a4f1e2b3c76cac877c">hwloc_bitmap_clr</a></div><div class="ttdeci">void hwloc_bitmap_clr(hwloc_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Remove index id from bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga3d9b08b060a59bbab5a4ea6d0a1ed7a6"><div class="ttname"><a href="a00174.html#ga3d9b08b060a59bbab5a4ea6d0a1ed7a6">hwloc_bitmap_last</a></div><div class="ttdeci">int hwloc_bitmap_last(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Compute the last index (most significant bit) in bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_gaa97c5217613c8cae9862287170ea2132"><div class="ttname"><a href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a></div><div class="ttdeci">void hwloc_bitmap_zero(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Empty the bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga1281994d6cc3b5079224190ca820ad93"><div class="ttname"><a href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a></div><div class="ttdeci">void hwloc_bitmap_or(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Or bitmaps bitmap1 and bitmap2 and store the result in bitmap res. </div></div>
+<div class="ttc" id="a00174_html_gae991a108af01d408be2776c5b2c467b2"><div class="ttname"><a href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a></div><div class="ttdeci">const struct hwloc_bitmap_s * hwloc_const_bitmap_t</div><div class="ttdoc">a non-modifiable hwloc_bitmap_t </div><div class="ttdef"><b>Definition:</b> bitmap.h:65</div></div>
+<div class="ttc" id="a00174_html_ga5beb68a987fe48e5c5edef06ab260e14"><div class="ttname"><a href="a00174.html#ga5beb68a987fe48e5c5edef06ab260e14">hwloc_bitmap_taskset_snprintf</a></div><div class="ttdeci">int hwloc_bitmap_taskset_snprintf(char *restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Stringify a bitmap in the taskset-specific format. </div></div>
+<div class="ttc" id="a00174_html_ga07b2de8786b3cdb22f21d9dd42588275"><div class="ttname"><a href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a></div><div class="ttdeci">void hwloc_bitmap_fill(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Fill bitmap bitmap with all possible indexes (even if those objects don&#39;t exist or are otherwise unav...</div></div>
+<div class="ttc" id="a00174_html_ga14cdbc0ef0a705e84999bd48a2e649f3"><div class="ttname"><a href="a00174.html#ga14cdbc0ef0a705e84999bd48a2e649f3">hwloc_bitmap_compare</a></div><div class="ttdeci">int hwloc_bitmap_compare(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Compare bitmaps bitmap1 and bitmap2 in lexicographic order. </div></div>
+<div class="ttc" id="a00174_html_ga0200466842c0e1f5da75e84dde460b10"><div class="ttname"><a href="a00174.html#ga0200466842c0e1f5da75e84dde460b10">hwloc_bitmap_weight</a></div><div class="ttdeci">int hwloc_bitmap_weight(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Compute the "weight" of bitmap bitmap (i.e., number of indexes that are in the bitmap). </div></div>
+<div class="ttc" id="a00174_html_ga39c0f1b02053de66d205c9f8260b3665"><div class="ttname"><a href="a00174.html#ga39c0f1b02053de66d205c9f8260b3665">hwloc_bitmap_list_asprintf</a></div><div class="ttdeci">int hwloc_bitmap_list_asprintf(char **strp, hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Stringify a bitmap into a newly allocated list string. </div></div>
+<div class="ttc" id="a00174_html_ga9511644657030a021dce9941e3cda583"><div class="ttname"><a href="a00174.html#ga9511644657030a021dce9941e3cda583">hwloc_bitmap_snprintf</a></div><div class="ttdeci">int hwloc_bitmap_snprintf(char *restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Stringify a bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga3d06e6447edeb61e56a9ad83f31f0a37"><div class="ttname"><a href="a00174.html#ga3d06e6447edeb61e56a9ad83f31f0a37">hwloc_bitmap_list_snprintf</a></div><div class="ttdeci">int hwloc_bitmap_list_snprintf(char *restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Stringify a bitmap in the list format. </div></div>
+<div class="ttc" id="a00174_html_gac92e6404f648d6b99d2c626b05b2ffa4"><div class="ttname"><a href="a00174.html#gac92e6404f648d6b99d2c626b05b2ffa4">hwloc_bitmap_to_ith_ulong</a></div><div class="ttdeci">unsigned long hwloc_bitmap_to_ith_ulong(hwloc_const_bitmap_t bitmap, unsigned i)</div><div class="ttdoc">Convert the i -th subset of bitmap bitmap into unsigned long mask. </div></div>
+<div class="ttc" id="a00174_html_gaefa070f9232857ba5a57297ea9a08ea2"><div class="ttname"><a href="a00174.html#gaefa070f9232857ba5a57297ea9a08ea2">hwloc_bitmap_intersects</a></div><div class="ttdeci">int hwloc_bitmap_intersects(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Test whether bitmaps bitmap1 and bitmap2 intersects. </div></div>
+<div class="ttc" id="a00174_html_gaa3c2bf4c776d603dcebbb61b0c923d84"><div class="ttname"><a href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></div><div class="ttdeci">struct hwloc_bitmap_s * hwloc_bitmap_t</div><div class="ttdoc">Set of bits represented as an opaque pointer to an internal bitmap. </div><div class="ttdef"><b>Definition:</b> bitmap.h:63</div></div>
+<div class="ttc" id="a00174_html_ga8cd2c26d71510138b22a12db41419742"><div class="ttname"><a href="a00174.html#ga8cd2c26d71510138b22a12db41419742">hwloc_bitmap_not</a></div><div class="ttdeci">void hwloc_bitmap_not(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Negate bitmap bitmap and store the result in bitmap res. </div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): linux.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">linux.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2016 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2011 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef HWLOC_LINUX_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#define HWLOC_LINUX_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(FILE *file, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00175.html#ga630e699c56b5f3d2e534b475944c216e">hwloc_linux_set_tid_cpubind</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00175.html#gaddcb985cb56337a4d6693cee72e7bf94">hwloc_linux_get_tid_cpubind</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00175.html#gacc7945c2d06c6db1e58f8fd953009134">hwloc_linux_get_tid_last_cpu_location</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <span class="keyword">set</span>);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_LINUX_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00150_html_ga1f784433e9b606261f62d1134f6a3b25"><div class="ttname"><a href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_cpuset_t</div><div class="ttdoc">A non-modifiable hwloc_cpuset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:134</div></div>
+<div class="ttc" id="a00175_html_ga630e699c56b5f3d2e534b475944c216e"><div class="ttname"><a href="a00175.html#ga630e699c56b5f3d2e534b475944c216e">hwloc_linux_set_tid_cpubind</a></div><div class="ttdeci">int hwloc_linux_set_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set)</div><div class="ttdoc">Bind a thread tid on cpus given in cpuset set. </div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00175_html_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div>
+<div class="ttc" id="a00175_html_gaddcb985cb56337a4d6693cee72e7bf94"><div class="ttname"><a href="a00175.html#gaddcb985cb56337a4d6693cee72e7bf94">hwloc_linux_get_tid_cpubind</a></div><div class="ttdeci">int hwloc_linux_get_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set)</div><div class="ttdoc">Get the current binding of thread tid. </div></div>
+<div class="ttc" id="a00175_html_gacc7945c2d06c6db1e58f8fd953009134"><div class="ttname"><a href="a00175.html#gacc7945c2d06c6db1e58f8fd953009134">hwloc_linux_get_tid_last_cpu_location</a></div><div class="ttdeci">int hwloc_linux_get_tid_last_cpu_location(hwloc_topology_t topology, pid_t tid, hwloc_bitmap_t set)</div><div class="ttdoc">Get the last physical CPU where thread tid ran. </div></div>
+<div class="ttc" id="a00174_html_gaa3c2bf4c776d603dcebbb61b0c923d84"><div class="ttname"><a href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></div><div class="ttdeci">struct hwloc_bitmap_s * hwloc_bitmap_t</div><div class="ttdoc">Set of bits represented as an opaque pointer to an internal bitmap. </div><div class="ttdef"><b>Definition:</b> bitmap.h:63</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): linux-libnuma.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">linux-libnuma.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2014 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2010, 2012 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef HWLOC_LINUX_LIBNUMA_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#define HWLOC_LINUX_LIBNUMA_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <numa.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="a00176.html#gae577962390f84b0b12f503314ab0f972"> 58</a></span> <a class="code" href="a00176.html#gae577962390f84b0b12f503314ab0f972">hwloc_cpuset_to_linux_libnuma_ulongs</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> cpuset,</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *mask, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *maxnode)</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> outmaxnode = -1;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">/* round-up to the next ulong and clear all bytes */</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  *maxnode = (*maxnode + 8*<span class="keyword">sizeof</span>(*mask) - 1) & ~(8*<span class="keyword">sizeof</span>(*mask) - 1);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  memset(mask, 0, *maxnode/8);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a>(topology, cpuset, depth, node)) != NULL) {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span> (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> >= *maxnode)</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  mask[node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>/<span class="keyword">sizeof</span>(*mask)/8] |= 1UL << (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> % (<span class="keyword">sizeof</span>(*mask)*8));</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">if</span> (outmaxnode == (<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>) -1 || outmaxnode < node->os_index)</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  outmaxnode = node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(cpuset)) {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  mask[0] = 1;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  outmaxnode = 0;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  *maxnode = outmaxnode+1;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="a00176.html#ga585ccf818d2f217f4e53f9c6506c3128"> 101</a></span> <a class="code" href="a00176.html#ga585ccf818d2f217f4e53f9c6506c3128">hwloc_nodeset_to_linux_libnuma_ulongs</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset,</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *mask, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *maxnode)</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> {</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> outmaxnode = -1;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">/* round-up to the next ulong and clear all bytes */</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  *maxnode = (*maxnode + 8*<span class="keyword">sizeof</span>(*mask) - 1) & ~(8*<span class="keyword">sizeof</span>(*mask) - 1);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  memset(mask, 0, *maxnode/8);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, node)) != NULL) {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">if</span> (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> >= *maxnode)</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a>(nodeset, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>))</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  mask[node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>/<span class="keyword">sizeof</span>(*mask)/8] |= 1UL << (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> % (<span class="keyword">sizeof</span>(*mask)*8));</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span> (outmaxnode == (<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>) -1 || outmaxnode < node->os_index)</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  outmaxnode = node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(nodeset)) {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  mask[0] = 1;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  outmaxnode = 0;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  }</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  *maxnode = outmaxnode+1;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> }</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="a00176.html#ga0e9d051e068940f722f6fdc61814149d"> 145</a></span> <a class="code" href="a00176.html#ga0e9d051e068940f722f6fdc61814149d">hwloc_cpuset_from_linux_libnuma_ulongs</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> cpuset,</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *mask, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxnode)</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(cpuset);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, node)) != NULL)</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">if</span> (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> < maxnode</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  && (mask[node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>/<span class="keyword">sizeof</span>(*mask)/8] & (1UL << (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> % (<span class="keyword">sizeof</span>(*mask)*8)))))</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a>(cpuset, cpuset, node-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">if</span> (mask[0] & 1)</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(cpuset, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(cpuset);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="a00176.html#gad8491c672eb2594cc5e7b0a026867192"> 178</a></span> <a class="code" href="a00176.html#gad8491c672eb2594cc5e7b0a026867192">hwloc_nodeset_from_linux_libnuma_ulongs</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset,</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *mask, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxnode)</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> {</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(nodeset);</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, node)) != NULL)</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">if</span> (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> < maxnode</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  && (mask[node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>/<span class="keyword">sizeof</span>(*mask)/8] & (1UL << (node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> % (<span class="keyword">sizeof</span>(*mask)*8)))))</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <a class="code" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a>(nodeset, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>);</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">if</span> (mask[0] & 1)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a>(nodeset);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(nodeset);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  }</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">struct </span>bitmask *</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <a class="code" href="a00177.html#gad8769b4544c0aeef154fc8223144e343">hwloc_cpuset_to_linux_libnuma_bitmask</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> cpuset) __hwloc_attribute_malloc;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">struct </span>bitmask *</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="a00177.html#gad8769b4544c0aeef154fc8223144e343"> 237</a></span> <a class="code" href="a00177.html#gad8769b4544c0aeef154fc8223144e343">hwloc_cpuset_to_linux_libnuma_bitmask</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> cpuset)</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keyword">struct </span>bitmask *bitmask = numa_allocate_cpumask();</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">if</span> (!bitmask)</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a>(topology, cpuset, depth, node)) != NULL)</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">if</span> (node-><a class="code" href="a00204.html#a1dc830816716213b5f797e4052487864">memory</a>.<a class="code" href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">local_memory</a>)</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  numa_bitmask_setbit(bitmask, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>);</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(cpuset))</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  numa_bitmask_setbit(bitmask, 0);</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordflow">return</span> bitmask;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">struct </span>bitmask *</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <a class="code" href="a00177.html#gadfaa14c1bec76965ac2e05f0c3f3473b">hwloc_nodeset_to_linux_libnuma_bitmask</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset) __hwloc_attribute_malloc;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">struct </span>bitmask *</div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="a00177.html#gadfaa14c1bec76965ac2e05f0c3f3473b"> 270</a></span> <a class="code" href="a00177.html#gadfaa14c1bec76965ac2e05f0c3f3473b">hwloc_nodeset_to_linux_libnuma_bitmask</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset)</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keyword">struct </span>bitmask *bitmask = numa_allocate_cpumask();</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordflow">if</span> (!bitmask)</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, node)) != NULL)</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">if</span> (<a class="code" href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a>(nodeset, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>) && node-><a class="code" href="a00204.html#a1dc830816716213b5f797e4052487864">memory</a>.<a class="code" href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">local_memory</a>)</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  numa_bitmask_setbit(bitmask, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>);</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(nodeset))</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  numa_bitmask_setbit(bitmask, 0);</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  }</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span> bitmask;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> }</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="a00177.html#ga37c8421110b1842414809019098794ef"> 297</a></span> <a class="code" href="a00177.html#ga37c8421110b1842414809019098794ef">hwloc_cpuset_from_linux_libnuma_bitmask</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> cpuset,</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keyword">const</span> <span class="keyword">struct</span> bitmask *bitmask)</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(cpuset);</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, node)) != NULL)</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">if</span> (numa_bitmask_isbitset(bitmask, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>))</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <a class="code" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a>(cpuset, cpuset, node-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordflow">if</span> (numa_bitmask_isbitset(bitmask, 0))</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(cpuset, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(cpuset);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span> }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="a00177.html#gaaca6bff3086aad5bdbd2f4c5f0ad14cc"> 325</a></span> <a class="code" href="a00177.html#gaaca6bff3086aad5bdbd2f4c5f0ad14cc">hwloc_nodeset_from_linux_libnuma_bitmask</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset,</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keyword">const</span> <span class="keyword">struct</span> bitmask *bitmask)</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> {</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordtype">int</span> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keywordflow">if</span> (depth != <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> node = NULL;</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(nodeset);</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keywordflow">while</span> ((node = <a class="code" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a>(topology, depth, node)) != NULL)</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keywordflow">if</span> (numa_bitmask_isbitset(bitmask, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>))</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a>(nodeset, node-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="comment">/* if no numa, libnuma assumes we have a single node */</span></div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keywordflow">if</span> (numa_bitmask_isbitset(bitmask, 0))</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <a class="code" href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a>(nodeset);</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(nodeset);</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  }</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span> }</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> </div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span> </div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_LINUX_NUMA_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00174_html_ga55480e96ab47941bfebb9aed676526a2"><div class="ttname"><a href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a></div><div class="ttdeci">void hwloc_bitmap_set(hwloc_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Add index id in bitmap bitmap. </div></div>
+<div class="ttc" id="a00176_html_gad8491c672eb2594cc5e7b0a026867192"><div class="ttname"><a href="a00176.html#gad8491c672eb2594cc5e7b0a026867192">hwloc_nodeset_from_linux_libnuma_ulongs</a></div><div class="ttdeci">static int hwloc_nodeset_from_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_nodeset_t nodeset, const unsigned long *mask, unsigned long maxnode)</div><div class="ttdoc">Convert the array of unsigned long mask into hwloc NUMA node set. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:178</div></div>
+<div class="ttc" id="a00155_html_ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad"><div class="ttname"><a href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a></div><div class="ttdoc">No object of given type exists in the topology. </div><div class="ttdef"><b>Definition:</b> hwloc.h:1224</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00150_html_ga1f784433e9b606261f62d1134f6a3b25"><div class="ttname"><a href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_cpuset_t</div><div class="ttdoc">A non-modifiable hwloc_cpuset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:134</div></div>
+<div class="ttc" id="a00196_html_aace044c7f3fd9dffe50202296bf1dc5a"><div class="ttname"><a href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">hwloc_obj_memory_s::local_memory</a></div><div class="ttdeci">hwloc_uint64_t local_memory</div><div class="ttdoc">Local memory (in bytes) </div><div class="ttdef"><b>Definition:</b> hwloc.h:339</div></div>
+<div class="ttc" id="a00155_html_ga8cf03328ed09901a03664d9498177126"><div class="ttname"><a href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_by_depth(hwloc_topology_t topology, unsigned depth, hwloc_obj_t prev)</div><div class="ttdoc">Returns the next object at depth depth. </div></div>
+<div class="ttc" id="a00176_html_ga0e9d051e068940f722f6fdc61814149d"><div class="ttname"><a href="a00176.html#ga0e9d051e068940f722f6fdc61814149d">hwloc_cpuset_from_linux_libnuma_ulongs</a></div><div class="ttdeci">static int hwloc_cpuset_from_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_cpuset_t cpuset, const unsigned long *mask, unsigned long maxnode)</div><div class="ttdoc">Convert the array of unsigned long mask into hwloc CPU set. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:145</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00177_html_gadfaa14c1bec76965ac2e05f0c3f3473b"><div class="ttname"><a href="a00177.html#gadfaa14c1bec76965ac2e05f0c3f3473b">hwloc_nodeset_to_linux_libnuma_bitmask</a></div><div class="ttdeci">static struct bitmask * hwloc_nodeset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset)</div><div class="ttdoc">Convert hwloc NUMA node set nodeset into the returned libnuma bitmask. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:270</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00204_html_a67925e0f2c47f50408fbdb9bddd0790f"><div class="ttname"><a href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">hwloc_obj::cpuset</a></div><div class="ttdeci">hwloc_cpuset_t cpuset</div><div class="ttdoc">CPUs covered by this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:421</div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00177_html_gaaca6bff3086aad5bdbd2f4c5f0ad14cc"><div class="ttname"><a href="a00177.html#gaaca6bff3086aad5bdbd2f4c5f0ad14cc">hwloc_nodeset_from_linux_libnuma_bitmask</a></div><div class="ttdeci">static int hwloc_nodeset_from_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_nodeset_t nodeset, const struct bitmask *bitmask)</div><div class="ttdoc">Convert libnuma bitmask bitmask into hwloc NUMA node set nodeset. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:325</div></div>
+<div class="ttc" id="a00204_html_a61a7a80a68eaccbaaa28269e678c81a9"><div class="ttname"><a href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">hwloc_obj::os_index</a></div><div class="ttdeci">unsigned os_index</div><div class="ttdoc">OS-provided physical index number. It is not guaranteed unique across the entire machine, except for PUs and NUMA nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:362</div></div>
+<div class="ttc" id="a00177_html_ga37c8421110b1842414809019098794ef"><div class="ttname"><a href="a00177.html#ga37c8421110b1842414809019098794ef">hwloc_cpuset_from_linux_libnuma_bitmask</a></div><div class="ttdeci">static int hwloc_cpuset_from_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_cpuset_t cpuset, const struct bitmask *bitmask)</div><div class="ttdoc">Convert libnuma bitmask bitmask into hwloc CPU set cpuset. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:297</div></div>
+<div class="ttc" id="a00150_html_ga2f5276235841ad66a79bedad16a5a10c"><div class="ttname"><a href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_nodeset_t</div><div class="ttdoc">A non-modifiable hwloc_nodeset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:154</div></div>
+<div class="ttc" id="a00176_html_gae577962390f84b0b12f503314ab0f972"><div class="ttname"><a href="a00176.html#gae577962390f84b0b12f503314ab0f972">hwloc_cpuset_to_linux_libnuma_ulongs</a></div><div class="ttdeci">static int hwloc_cpuset_to_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, unsigned long *mask, unsigned long *maxnode)</div><div class="ttdoc">Convert hwloc CPU set cpuset into the array of unsigned long mask. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:58</div></div>
+<div class="ttc" id="a00155_html_ga8bec782e21be313750da70cf7428b374"><div class="ttname"><a href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a></div><div class="ttdeci">int hwloc_get_type_depth(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Returns the depth of objects of type type. </div></div>
+<div class="ttc" id="a00174_html_ga11340dd487f110bb84f0a6e4ae90bd06"><div class="ttname"><a href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a></div><div class="ttdeci">int hwloc_bitmap_isset(hwloc_const_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Test whether index id is part of bitmap bitmap. </div></div>
+<div class="ttc" id="a00176_html_ga585ccf818d2f217f4e53f9c6506c3128"><div class="ttname"><a href="a00176.html#ga585ccf818d2f217f4e53f9c6506c3128">hwloc_nodeset_to_linux_libnuma_ulongs</a></div><div class="ttdeci">static int hwloc_nodeset_to_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, unsigned long *mask, unsigned long *maxnode)</div><div class="ttdoc">Convert hwloc NUMA node set nodeset into the array of unsigned long mask. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:101</div></div>
+<div class="ttc" id="a00174_html_gaa97c5217613c8cae9862287170ea2132"><div class="ttname"><a href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a></div><div class="ttdeci">void hwloc_bitmap_zero(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Empty the bitmap bitmap. </div></div>
+<div class="ttc" id="a00174_html_ga1281994d6cc3b5079224190ca820ad93"><div class="ttname"><a href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a></div><div class="ttdeci">void hwloc_bitmap_or(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</div><div class="ttdoc">Or bitmaps bitmap1 and bitmap2 and store the result in bitmap res. </div></div>
+<div class="ttc" id="a00174_html_ga07b2de8786b3cdb22f21d9dd42588275"><div class="ttname"><a href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a></div><div class="ttdeci">void hwloc_bitmap_fill(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Fill bitmap bitmap with all possible indexes (even if those objects don&#39;t exist or are otherwise unav...</div></div>
+<div class="ttc" id="a00177_html_gad8769b4544c0aeef154fc8223144e343"><div class="ttname"><a href="a00177.html#gad8769b4544c0aeef154fc8223144e343">hwloc_cpuset_to_linux_libnuma_bitmask</a></div><div class="ttdeci">static struct bitmask * hwloc_cpuset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset)</div><div class="ttdoc">Convert hwloc CPU set cpuset into the returned libnuma bitmask. </div><div class="ttdef"><b>Definition:</b> linux-libnuma.h:237</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a></div><div class="ttdoc">NUMA node. An object that contains memory that is directly and byte-accessible to the host processors...</div><div class="ttdef"><b>Definition:</b> hwloc.h:190</div></div>
+<div class="ttc" id="a00150_html_ga37e35730fa7e775b5bb0afe893d6d508"><div class="ttname"><a href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_nodeset_t</div><div class="ttdoc">A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes...</div><div class="ttdef"><b>Definition:</b> hwloc.h:151</div></div>
+<div class="ttc" id="a00204_html_a1dc830816716213b5f797e4052487864"><div class="ttname"><a href="a00204.html#a1dc830816716213b5f797e4052487864">hwloc_obj::memory</a></div><div class="ttdeci">struct hwloc_obj_memory_s memory</div><div class="ttdoc">Memory attributes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:371</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00165_html_gaeea0d93522c85c3ef0acfbb00733a69c"><div class="ttname"><a href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_depth(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev)</div><div class="ttdoc">Iterate through same-depth objects covering at least CPU set set. </div><div class="ttdef"><b>Definition:</b> helper.h:328</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): glibc-sched.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">glibc-sched.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2013 inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2011 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright © 2011 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef HWLOC_GLIBC_SCHED_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define HWLOC_GLIBC_SCHED_H</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <hwloc/helper.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <assert.h></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#if !defined _GNU_SOURCE || !defined _SCHED_H || (!defined CPU_SETSIZE && !defined sched_priority)</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#error Please make sure to include sched.h before including glibc-sched.h, and define _GNU_SOURCE before any inclusion of sched.h</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifdef HWLOC_HAVE_CPU_SET</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="a00178.html#ga88699a0c86c66a9b7baa3468cd9d24c3"> 56</a></span> <a class="code" href="a00178.html#ga88699a0c86c66a9b7baa3468cd9d24c3">hwloc_cpuset_to_glibc_sched_affinity</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> hwlocset,</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  cpu_set_t *schedset, <span class="keywordtype">size_t</span> schedsetsize)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#ifdef CPU_ZERO_S</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">unsigned</span> cpu;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  CPU_ZERO_S(schedsetsize, schedset);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a">hwloc_bitmap_foreach_begin</a>(cpu, hwlocset)</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  CPU_SET_S(cpu, schedsetsize, schedset);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="a00174.html#gafcf3246db406218d4e155735b3fa6528">hwloc_bitmap_foreach_end</a>();</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#else </span><span class="comment">/* !CPU_ZERO_S */</span><span class="preprocessor"></span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">unsigned</span> cpu;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  CPU_ZERO(schedset);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  assert(schedsetsize == <span class="keyword">sizeof</span>(cpu_set_t));</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a">hwloc_bitmap_foreach_begin</a>(cpu, hwlocset)</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  CPU_SET(cpu, schedset);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="a00174.html#gafcf3246db406218d4e155735b3fa6528">hwloc_bitmap_foreach_end</a>();</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#endif </span><span class="comment">/* !CPU_ZERO_S */</span><span class="preprocessor"></span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="a00178.html#ga8ec807ec17de57fa77aa5cfd6c8e4bfb"> 84</a></span> <a class="code" href="a00178.html#ga8ec807ec17de57fa77aa5cfd6c8e4bfb">hwloc_cpuset_from_glibc_sched_affinity</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> hwlocset,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">const</span> cpu_set_t *schedset, <span class="keywordtype">size_t</span> schedsetsize)</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">int</span> cpu;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor">#ifdef CPU_ZERO_S</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">int</span> count;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a>(hwlocset);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor">#ifdef CPU_ZERO_S</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  count = CPU_COUNT_S(schedsetsize, schedset);</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  cpu = 0;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">while</span> (count) {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">if</span> (CPU_ISSET_S(cpu, schedsetsize, schedset)) {</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a>(hwlocset, cpu);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  count--;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  cpu++;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  }</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor">#else </span><span class="comment">/* !CPU_ZERO_S */</span><span class="preprocessor"></span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">/* sched.h does not support dynamic cpu_set_t (introduced in glibc 2.7),</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> * assume we have a very old interface without CPU_COUNT (added in 2.6)</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> */</span></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  assert(schedsetsize == <span class="keyword">sizeof</span>(cpu_set_t));</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">for</span>(cpu=0; cpu<CPU_SETSIZE; cpu++)</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">if</span> (CPU_ISSET(cpu, schedset))</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a>(hwlocset, cpu);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#endif </span><span class="comment">/* !CPU_ZERO_S */</span><span class="preprocessor"></span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor">#endif </span><span class="comment">/* CPU_SET */</span><span class="preprocessor"></span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_GLIBC_SCHED_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00174_html_ga55480e96ab47941bfebb9aed676526a2"><div class="ttname"><a href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a></div><div class="ttdeci">void hwloc_bitmap_set(hwloc_bitmap_t bitmap, unsigned id)</div><div class="ttdoc">Add index id in bitmap bitmap. </div></div>
+<div class="ttc" id="a00150_html_ga1f784433e9b606261f62d1134f6a3b25"><div class="ttname"><a href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></div><div class="ttdeci">hwloc_const_bitmap_t hwloc_const_cpuset_t</div><div class="ttdoc">A non-modifiable hwloc_cpuset_t. </div><div class="ttdef"><b>Definition:</b> hwloc.h:134</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00174_html_ga3f6861045a8029ade373510ffa727d2a"><div class="ttname"><a href="a00174.html#ga3f6861045a8029ade373510ffa727d2a">hwloc_bitmap_foreach_begin</a></div><div class="ttdeci">#define hwloc_bitmap_foreach_begin(id, bitmap)</div><div class="ttdoc">Loop macro iterating on bitmap bitmap. </div><div class="ttdef"><b>Definition:</b> bitmap.h:319</div></div>
+<div class="ttc" id="a00174_html_gafcf3246db406218d4e155735b3fa6528"><div class="ttname"><a href="a00174.html#gafcf3246db406218d4e155735b3fa6528">hwloc_bitmap_foreach_end</a></div><div class="ttdeci">#define hwloc_bitmap_foreach_end()</div><div class="ttdoc">End of loop macro iterating on a bitmap. </div><div class="ttdef"><b>Definition:</b> bitmap.h:333</div></div>
+<div class="ttc" id="a00178_html_ga8ec807ec17de57fa77aa5cfd6c8e4bfb"><div class="ttname"><a href="a00178.html#ga8ec807ec17de57fa77aa5cfd6c8e4bfb">hwloc_cpuset_from_glibc_sched_affinity</a></div><div class="ttdeci">static int hwloc_cpuset_from_glibc_sched_affinity(hwloc_topology_t topology, hwloc_cpuset_t hwlocset, const cpu_set_t *schedset, size_t schedsetsize)</div><div class="ttdoc">Convert glibc sched affinity CPU set schedset into hwloc CPU set. </div><div class="ttdef"><b>Definition:</b> glibc-sched.h:84</div></div>
+<div class="ttc" id="a00174_html_gaa97c5217613c8cae9862287170ea2132"><div class="ttname"><a href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a></div><div class="ttdeci">void hwloc_bitmap_zero(hwloc_bitmap_t bitmap)</div><div class="ttdoc">Empty the bitmap bitmap. </div></div>
+<div class="ttc" id="a00178_html_ga88699a0c86c66a9b7baa3468cd9d24c3"><div class="ttname"><a href="a00178.html#ga88699a0c86c66a9b7baa3468cd9d24c3">hwloc_cpuset_to_glibc_sched_affinity</a></div><div class="ttdeci">static int hwloc_cpuset_to_glibc_sched_affinity(hwloc_topology_t topology, hwloc_const_cpuset_t hwlocset, cpu_set_t *schedset, size_t schedsetsize)</div><div class="ttdoc">Convert hwloc CPU set toposet into glibc sched affinity CPU set schedset. </div><div class="ttdef"><b>Definition:</b> glibc-sched.h:56</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): opencl.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">opencl.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2012-2017 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2013, 2018 Université Bordeaux. All right reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> */</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef HWLOC_OPENCL_H</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define HWLOC_OPENCL_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <hwloc/helper.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <hwloc/linux.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifdef __APPLE__</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <OpenCL/cl.h></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <OpenCL/cl_ext.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <CL/cl.h></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <CL/cl_ext.h></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="a00179.html#gacc32737d4648d16b0d292438f210ec90"> 69</a></span> <a class="code" href="a00179.html#gacc32737d4648d16b0d292438f210ec90">hwloc_opencl_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  cl_device_id device __hwloc_attribute_unused,</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#if (defined HWLOC_LINUX_SYS) && (defined CL_DEVICE_TOPOLOGY_AMD)</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">/* If we're on Linux + AMD OpenCL, use the AMD extension + the sysfs mechanism to get the local cpus */</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor">#define HWLOC_OPENCL_DEVICE_SYSFS_PATH_MAX 128</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">char</span> path[HWLOC_OPENCL_DEVICE_SYSFS_PATH_MAX];</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  FILE *sysfile = NULL;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  cl_device_topology_amd amdtopo;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  cl_int clret;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  errno = EINVAL;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  clret = clGetDeviceInfo(device, CL_DEVICE_TOPOLOGY_AMD, <span class="keyword">sizeof</span>(amdtopo), &amdtopo, NULL);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">if</span> (CL_SUCCESS != clret) {</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span> (CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD != amdtopo.raw.type) {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  sprintf(path, <span class="stringliteral">"/sys/bus/pci/devices/0000:%02x:%02x.%01x/local_cpus"</span>,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  (<span class="keywordtype">unsigned</span>) amdtopo.pcie.bus, (<span class="keywordtype">unsigned</span>) amdtopo.pcie.device, (<span class="keywordtype">unsigned</span>) amdtopo.pcie.function);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  sysfile = fopen(path, <span class="stringliteral">"r"</span>);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (!sysfile)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span> (<a class="code" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(sysfile, <span class="keyword">set</span>) < 0</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  || <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>))</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  fclose(sysfile);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">/* Non-Linux + AMD OpenCL systems simply get a full cpuset */</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="a00179.html#gae39352d124cb330eb37b84b418ed6cc5"> 130</a></span> <a class="code" href="a00179.html#gae39352d124cb330eb37b84b418ed6cc5">hwloc_opencl_get_device_osdev_by_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">unsigned</span> platform_index, <span class="keywordtype">unsigned</span> device_index)</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordtype">unsigned</span> x = (unsigned) -1, y = (<span class="keywordtype">unsigned</span>) -1;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  && sscanf(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, <span class="stringliteral">"opencl%ud%u"</span>, &x, &y) == 2</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  && platform_index == x && device_index == y)</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  }</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="a00179.html#gadabfa6516aa12e5d8f79b9b4dd9f3cf8"> 159</a></span> <a class="code" href="a00179.html#gadabfa6516aa12e5d8f79b9b4dd9f3cf8">hwloc_opencl_get_device_osdev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  cl_device_id device __hwloc_attribute_unused)</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="preprocessor">#ifdef CL_DEVICE_TOPOLOGY_AMD</span></div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  cl_device_topology_amd amdtopo;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  cl_int clret;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  clret = clGetDeviceInfo(device, CL_DEVICE_TOPOLOGY_AMD, <span class="keyword">sizeof</span>(amdtopo), &amdtopo, NULL);</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">if</span> (CL_SUCCESS != clret) {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  errno = EINVAL;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  }</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">if</span> (CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD != amdtopo.raw.type) {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  errno = EINVAL;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  osdev = NULL;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> pcidev = osdev-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">if</span> (strncmp(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, <span class="stringliteral">"opencl"</span>, 6))</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">if</span> (pcidev</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  && pcidev-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> == <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">domain</a> == 0</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">bus</a> == amdtopo.pcie.bus</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">dev</a> == amdtopo.pcie.device</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">func</a> == amdtopo.pcie.function)</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  }</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> }</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_OPENCL_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00204_html_adc494f6aed939992be1c55cca5822900"><div class="ttname"><a href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj::parent</a></div><div class="ttdeci">struct hwloc_obj * parent</div><div class="ttdoc">Parent, NULL if root (system object) </div><div class="ttdef"><b>Definition:</b> hwloc.h:403</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="ttdoc">PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unl...</div><div class="ttdef"><b>Definition:</b> hwloc.h:246</div></div>
+<div class="ttc" id="a00220_html_aae99e035e8d1387d7b8768aaa8eceb0a"><div class="ttname"><a href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">hwloc_obj_attr_u::hwloc_pcidev_attr_s::bus</a></div><div class="ttdeci">unsigned char bus</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00179_html_gae39352d124cb330eb37b84b418ed6cc5"><div class="ttname"><a href="a00179.html#gae39352d124cb330eb37b84b418ed6cc5">hwloc_opencl_get_device_osdev_by_index</a></div><div class="ttdeci">static hwloc_obj_t hwloc_opencl_get_device_osdev_by_index(hwloc_topology_t topology, unsigned platform_index, unsigned device_index)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the OpenCL device for the given indexes. </div><div class="ttdef"><b>Definition:</b> opencl.h:130</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00208_html_a4203d713ce0f5beaa6ee0e9bdac70828"><div class="ttname"><a href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">hwloc_obj_attr_u::pcidev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_pcidev_attr_s pcidev</div></div>
+<div class="ttc" id="a00220_html_a3d70c84a12f7e93d14c8d47bf4fd9dc5"><div class="ttname"><a href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">hwloc_obj_attr_u::hwloc_pcidev_attr_s::dev</a></div><div class="ttdeci">unsigned char dev</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00220_html_a695f32df53f4ef728670bfcf31b74e0f"><div class="ttname"><a href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">hwloc_obj_attr_u::hwloc_pcidev_attr_s::func</a></div><div class="ttdeci">unsigned char func</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00220_html_a8fba44988deb98613c1505a4019a34dc"><div class="ttname"><a href="a00220.html#a8fba44988deb98613c1505a4019a34dc">hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain</a></div><div class="ttdeci">unsigned short domain</div><div class="ttdef"><b>Definition:</b> hwloc.h:543</div></div>
+<div class="ttc" id="a00179_html_gadabfa6516aa12e5d8f79b9b4dd9f3cf8"><div class="ttname"><a href="a00179.html#gadabfa6516aa12e5d8f79b9b4dd9f3cf8">hwloc_opencl_get_device_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_opencl_get_device_osdev(hwloc_topology_t topology, cl_device_id device)</div><div class="ttdoc">Get the hwloc OS device object corresponding to OpenCL device device. </div><div class="ttdef"><b>Definition:</b> opencl.h:159</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00208_html_a22904c25fe44b323bab5c9bc52660fca"><div class="ttname"><a href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
+<div class="ttc" id="a00175_html_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a></div><div class="ttdoc">Operating system co-processor device. For instance "mic0" for a Xeon Phi (MIC) on Linux...</div><div class="ttdef"><b>Definition:</b> hwloc.h:297</div></div>
+<div class="ttc" id="a00204_html_acc4f0803f244867e68fe0036800be5de"><div class="ttname"><a href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj::type</a></div><div class="ttdeci">hwloc_obj_type_t type</div><div class="ttdoc">Type of object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:360</div></div>
+<div class="ttc" id="a00179_html_gacc32737d4648d16b0d292438f210ec90"><div class="ttname"><a href="a00179.html#gacc32737d4648d16b0d292438f210ec90">hwloc_opencl_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_opencl_get_device_cpuset(hwloc_topology_t topology, cl_device_id device, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close to OpenCL device device. </div><div class="ttdef"><b>Definition:</b> opencl.h:69</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): cuda.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">cuda.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2010-2017 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2010-2011 Université Bordeaux</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2011 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#ifndef HWLOC_CUDA_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#define HWLOC_CUDA_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <hwloc/helper.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <hwloc/linux.h></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <cuda.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="a00180.html#ga1084285e8ff8b7df91c28917637481c6"> 47</a></span> <a class="code" href="a00180.html#ga1084285e8ff8b7df91c28917637481c6">hwloc_cuda_get_device_pci_ids</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  CUdevice cudevice, <span class="keywordtype">int</span> *domain, <span class="keywordtype">int</span> *bus, <span class="keywordtype">int</span> *dev)</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  CUresult cres;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#if CUDA_VERSION >= 4000</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  cres = cuDeviceGetAttribute(domain, CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID, cudevice);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span> (cres != CUDA_SUCCESS) {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  errno = ENOSYS;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  *domain = 0;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  cres = cuDeviceGetAttribute(bus, CU_DEVICE_ATTRIBUTE_PCI_BUS_ID, cudevice);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">if</span> (cres != CUDA_SUCCESS) {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  errno = ENOSYS;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  cres = cuDeviceGetAttribute(dev, CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID, cudevice);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (cres != CUDA_SUCCESS) {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  errno = ENOSYS;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="a00180.html#gaec41c6b4dc3361156beb7dea2a74f5a3"> 92</a></span> <a class="code" href="a00180.html#gaec41c6b4dc3361156beb7dea2a74f5a3">hwloc_cuda_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  CUdevice cudevice, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> {</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">/* If we're on Linux, use the sysfs mechanism to get the local cpus */</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor">#define HWLOC_CUDA_DEVICE_SYSFS_PATH_MAX 128</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">char</span> path[HWLOC_CUDA_DEVICE_SYSFS_PATH_MAX];</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  FILE *sysfile = NULL;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">int</span> domainid, busid, deviceid;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span> (<a class="code" href="a00180.html#ga1084285e8ff8b7df91c28917637481c6">hwloc_cuda_get_device_pci_ids</a>(topology, cudevice, &domainid, &busid, &deviceid))</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  errno = EINVAL;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  }</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  sprintf(path, <span class="stringliteral">"/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus"</span>, domainid, busid, deviceid);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  sysfile = fopen(path, <span class="stringliteral">"r"</span>);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">if</span> (!sysfile)</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">if</span> (<a class="code" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(sysfile, <span class="keyword">set</span>) < 0</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  || <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>))</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  fclose(sysfile);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">/* Non-Linux systems simply get a full cpuset */</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="a00180.html#ga11fed607fa404e29e8da010f3ec128e4"> 138</a></span> <a class="code" href="a00180.html#ga11fed607fa404e29e8da010f3ec128e4">hwloc_cuda_get_device_pcidev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, CUdevice cudevice)</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> {</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordtype">int</span> domain, bus, dev;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">if</span> (<a class="code" href="a00180.html#ga1084285e8ff8b7df91c28917637481c6">hwloc_cuda_get_device_pci_ids</a>(topology, cudevice, &domain, &bus, &dev))</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> <a class="code" href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a>(topology, domain, bus, dev, 0);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="a00180.html#ga252cb72175f1a2d682f883a0add80a66"> 162</a></span> <a class="code" href="a00180.html#ga252cb72175f1a2d682f883a0add80a66">hwloc_cuda_get_device_osdev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, CUdevice cudevice)</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> {</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordtype">int</span> domain, bus, dev;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">if</span> (<a class="code" href="a00180.html#ga1084285e8ff8b7df91c28917637481c6">hwloc_cuda_get_device_pci_ids</a>(topology, cudevice, &domain, &bus, &dev))</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  osdev = NULL;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> pcidev = osdev-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">if</span> (strncmp(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, <span class="stringliteral">"cuda"</span>, 4))</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">if</span> (pcidev</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  && pcidev-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> == <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  && (<span class="keywordtype">int</span>) pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">domain</a> == domain</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  && (<span class="keywordtype">int</span>) pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">bus</a> == bus</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  && (<span class="keywordtype">int</span>) pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">dev</a> == dev</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">func</a> == 0)</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  }</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> }</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="a00180.html#ga12ee892994ed037e8f64bbffda02cf2e"> 203</a></span> <a class="code" href="a00180.html#ga12ee892994ed037e8f64bbffda02cf2e">hwloc_cuda_get_device_osdev_by_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> idx)</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> {</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  && !strncmp(<span class="stringliteral">"cuda"</span>, osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, 4)</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  && atoi(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a> + 4) == (<span class="keywordtype">int</span>) idx)</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  }</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> }</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_CUDA_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00180_html_ga11fed607fa404e29e8da010f3ec128e4"><div class="ttname"><a href="a00180.html#ga11fed607fa404e29e8da010f3ec128e4">hwloc_cuda_get_device_pcidev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_cuda_get_device_pcidev(hwloc_topology_t topology, CUdevice cudevice)</div><div class="ttdoc">Get the hwloc PCI device object corresponding to the CUDA device cudevice. </div><div class="ttdef"><b>Definition:</b> cuda.h:138</div></div>
+<div class="ttc" id="a00204_html_adc494f6aed939992be1c55cca5822900"><div class="ttname"><a href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj::parent</a></div><div class="ttdeci">struct hwloc_obj * parent</div><div class="ttdoc">Parent, NULL if root (system object) </div><div class="ttdef"><b>Definition:</b> hwloc.h:403</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="ttdoc">PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unl...</div><div class="ttdef"><b>Definition:</b> hwloc.h:246</div></div>
+<div class="ttc" id="a00180_html_ga252cb72175f1a2d682f883a0add80a66"><div class="ttname"><a href="a00180.html#ga252cb72175f1a2d682f883a0add80a66">hwloc_cuda_get_device_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_cuda_get_device_osdev(hwloc_topology_t topology, CUdevice cudevice)</div><div class="ttdoc">Get the hwloc OS device object corresponding to CUDA device cudevice. </div><div class="ttdef"><b>Definition:</b> cuda.h:162</div></div>
+<div class="ttc" id="a00220_html_aae99e035e8d1387d7b8768aaa8eceb0a"><div class="ttname"><a href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">hwloc_obj_attr_u::hwloc_pcidev_attr_s::bus</a></div><div class="ttdeci">unsigned char bus</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00173_html_gacdbaf0db98872e224b7883a84bfb0455"><div class="ttname"><a href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_pcidev_by_busid(hwloc_topology_t topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)</div><div class="ttdoc">Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id...</div><div class="ttdef"><b>Definition:</b> helper.h:1215</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00208_html_a4203d713ce0f5beaa6ee0e9bdac70828"><div class="ttname"><a href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">hwloc_obj_attr_u::pcidev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_pcidev_attr_s pcidev</div></div>
+<div class="ttc" id="a00180_html_ga12ee892994ed037e8f64bbffda02cf2e"><div class="ttname"><a href="a00180.html#ga12ee892994ed037e8f64bbffda02cf2e">hwloc_cuda_get_device_osdev_by_index</a></div><div class="ttdeci">static hwloc_obj_t hwloc_cuda_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the CUDA device whose index is idx. </div><div class="ttdef"><b>Definition:</b> cuda.h:203</div></div>
+<div class="ttc" id="a00220_html_a3d70c84a12f7e93d14c8d47bf4fd9dc5"><div class="ttname"><a href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">hwloc_obj_attr_u::hwloc_pcidev_attr_s::dev</a></div><div class="ttdeci">unsigned char dev</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00220_html_a695f32df53f4ef728670bfcf31b74e0f"><div class="ttname"><a href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">hwloc_obj_attr_u::hwloc_pcidev_attr_s::func</a></div><div class="ttdeci">unsigned char func</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00220_html_a8fba44988deb98613c1505a4019a34dc"><div class="ttname"><a href="a00220.html#a8fba44988deb98613c1505a4019a34dc">hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain</a></div><div class="ttdeci">unsigned short domain</div><div class="ttdef"><b>Definition:</b> hwloc.h:543</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00208_html_a22904c25fe44b323bab5c9bc52660fca"><div class="ttname"><a href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
+<div class="ttc" id="a00175_html_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a></div><div class="ttdoc">Operating system co-processor device. For instance "mic0" for a Xeon Phi (MIC) on Linux...</div><div class="ttdef"><b>Definition:</b> hwloc.h:297</div></div>
+<div class="ttc" id="a00204_html_acc4f0803f244867e68fe0036800be5de"><div class="ttname"><a href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj::type</a></div><div class="ttdeci">hwloc_obj_type_t type</div><div class="ttdoc">Type of object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:360</div></div>
+<div class="ttc" id="a00180_html_gaec41c6b4dc3361156beb7dea2a74f5a3"><div class="ttname"><a href="a00180.html#gaec41c6b4dc3361156beb7dea2a74f5a3">hwloc_cuda_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_cuda_get_device_cpuset(hwloc_topology_t topology, CUdevice cudevice, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close to device cudevice. </div><div class="ttdef"><b>Definition:</b> cuda.h:92</div></div>
+<div class="ttc" id="a00180_html_ga1084285e8ff8b7df91c28917637481c6"><div class="ttname"><a href="a00180.html#ga1084285e8ff8b7df91c28917637481c6">hwloc_cuda_get_device_pci_ids</a></div><div class="ttdeci">static int hwloc_cuda_get_device_pci_ids(hwloc_topology_t topology, CUdevice cudevice, int *domain, int *bus, int *dev)</div><div class="ttdoc">Return the domain, bus and device IDs of the CUDA device cudevice. </div><div class="ttdef"><b>Definition:</b> cuda.h:47</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): cudart.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">cudart.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2010-2017 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2010-2011 Université Bordeaux</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2011 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#ifndef HWLOC_CUDART_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#define HWLOC_CUDART_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <hwloc/helper.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <hwloc/linux.h></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <cuda.h></span> <span class="comment">/* for CUDA_VERSION */</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <cuda_runtime_api.h></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="a00181.html#gad8b701d9a34923e34bd58defd4c1e704"> 48</a></span> <a class="code" href="a00181.html#gad8b701d9a34923e34bd58defd4c1e704">hwloc_cudart_get_device_pci_ids</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordtype">int</span> idx, <span class="keywordtype">int</span> *domain, <span class="keywordtype">int</span> *bus, <span class="keywordtype">int</span> *dev)</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  cudaError_t cerr;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">struct </span>cudaDeviceProp prop;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  cerr = cudaGetDeviceProperties(&prop, idx);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">if</span> (cerr) {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  errno = ENOSYS;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#if CUDA_VERSION >= 4000</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  *domain = prop.pciDomainID;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  *domain = 0;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  *bus = prop.pciBusID;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  *dev = prop.pciDeviceID;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="a00181.html#ga187ca00c6e12800a25151ce331620980"> 89</a></span> <a class="code" href="a00181.html#ga187ca00c6e12800a25151ce331620980">hwloc_cudart_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">int</span> idx, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">/* If we're on Linux, use the sysfs mechanism to get the local cpus */</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#define HWLOC_CUDART_DEVICE_SYSFS_PATH_MAX 128</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">char</span> path[HWLOC_CUDART_DEVICE_SYSFS_PATH_MAX];</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  FILE *sysfile = NULL;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">int</span> domain, bus, dev;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (<a class="code" href="a00181.html#gad8b701d9a34923e34bd58defd4c1e704">hwloc_cudart_get_device_pci_ids</a>(topology, idx, &domain, &bus, &dev))</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  errno = EINVAL;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  sprintf(path, <span class="stringliteral">"/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus"</span>, (<span class="keywordtype">unsigned</span>) domain, (<span class="keywordtype">unsigned</span>) bus, (<span class="keywordtype">unsigned</span>) dev);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  sysfile = fopen(path, <span class="stringliteral">"r"</span>);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">if</span> (!sysfile)</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">if</span> (<a class="code" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(sysfile, <span class="keyword">set</span>) < 0</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  || <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>))</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  fclose(sysfile);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">/* Non-Linux systems simply get a full cpuset */</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="a00181.html#gaeda4e6efbb36b518b2c286434ad23bb2"> 135</a></span> <a class="code" href="a00181.html#gaeda4e6efbb36b518b2c286434ad23bb2">hwloc_cudart_get_device_pcidev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">int</span> idx)</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">int</span> domain, bus, dev;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">if</span> (<a class="code" href="a00181.html#gad8b701d9a34923e34bd58defd4c1e704">hwloc_cudart_get_device_pci_ids</a>(topology, idx, &domain, &bus, &dev))</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> <a class="code" href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a>(topology, domain, bus, dev, 0);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="a00181.html#gac0f3eeaf7712919f298097b1a21307b0"> 163</a></span> <a class="code" href="a00181.html#gac0f3eeaf7712919f298097b1a21307b0">hwloc_cudart_get_device_osdev_by_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> idx)</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  && !strncmp(<span class="stringliteral">"cuda"</span>, osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, 4)</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  && atoi(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a> + 4) == (<span class="keywordtype">int</span>) idx)</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  }</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> }</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_CUDART_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00173_html_gacdbaf0db98872e224b7883a84bfb0455"><div class="ttname"><a href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_pcidev_by_busid(hwloc_topology_t topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)</div><div class="ttdoc">Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id...</div><div class="ttdef"><b>Definition:</b> helper.h:1215</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00181_html_ga187ca00c6e12800a25151ce331620980"><div class="ttname"><a href="a00181.html#ga187ca00c6e12800a25151ce331620980">hwloc_cudart_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_cudart_get_device_cpuset(hwloc_topology_t topology, int idx, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close to device idx. </div><div class="ttdef"><b>Definition:</b> cudart.h:89</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00181_html_gac0f3eeaf7712919f298097b1a21307b0"><div class="ttname"><a href="a00181.html#gac0f3eeaf7712919f298097b1a21307b0">hwloc_cudart_get_device_osdev_by_index</a></div><div class="ttdeci">static hwloc_obj_t hwloc_cudart_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the CUDA device whose index is idx. </div><div class="ttdef"><b>Definition:</b> cudart.h:163</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00181_html_gad8b701d9a34923e34bd58defd4c1e704"><div class="ttname"><a href="a00181.html#gad8b701d9a34923e34bd58defd4c1e704">hwloc_cudart_get_device_pci_ids</a></div><div class="ttdeci">static int hwloc_cudart_get_device_pci_ids(hwloc_topology_t topology, int idx, int *domain, int *bus, int *dev)</div><div class="ttdoc">Return the domain, bus and device IDs of the CUDA device whose index is idx. </div><div class="ttdef"><b>Definition:</b> cudart.h:48</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00208_html_a22904c25fe44b323bab5c9bc52660fca"><div class="ttname"><a href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
+<div class="ttc" id="a00175_html_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a></div><div class="ttdoc">Operating system co-processor device. For instance "mic0" for a Xeon Phi (MIC) on Linux...</div><div class="ttdef"><b>Definition:</b> hwloc.h:297</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00181_html_gaeda4e6efbb36b518b2c286434ad23bb2"><div class="ttname"><a href="a00181.html#gaeda4e6efbb36b518b2c286434ad23bb2">hwloc_cudart_get_device_pcidev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_cudart_get_device_pcidev(hwloc_topology_t topology, int idx)</div><div class="ttdoc">Get the hwloc PCI device object corresponding to the CUDA device whose index is idx. </div><div class="ttdef"><b>Definition:</b> cudart.h:135</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): nvml.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">nvml.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2012-2016 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> */</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef HWLOC_NVML_H</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define HWLOC_NVML_H</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <hwloc/helper.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <hwloc/linux.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <nvml.h></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="a00182.html#ga26cf0036d09ec4d7cb692380fac9659d"> 56</a></span> <a class="code" href="a00182.html#ga26cf0036d09ec4d7cb692380fac9659d">hwloc_nvml_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  nvmlDevice_t device, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">/* If we're on Linux, use the sysfs mechanism to get the local cpus */</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#define HWLOC_NVML_DEVICE_SYSFS_PATH_MAX 128</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">char</span> path[HWLOC_NVML_DEVICE_SYSFS_PATH_MAX];</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  FILE *sysfile = NULL;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  nvmlReturn_t nvres;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  nvmlPciInfo_t pci;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  errno = EINVAL;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  nvres = nvmlDeviceGetPciInfo(device, &pci);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">if</span> (NVML_SUCCESS != nvres) {</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  errno = EINVAL;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  sprintf(path, <span class="stringliteral">"/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus"</span>, pci.domain, pci.bus, pci.device);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  sysfile = fopen(path, <span class="stringliteral">"r"</span>);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (!sysfile)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">if</span> (<a class="code" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(sysfile, <span class="keyword">set</span>) < 0</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  || <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>))</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  fclose(sysfile);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">/* Non-Linux systems simply get a full cpuset */</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="a00182.html#gacd50fd0e2766ee05bc13234b46714756"> 109</a></span> <a class="code" href="a00182.html#gacd50fd0e2766ee05bc13234b46714756">hwloc_nvml_get_device_osdev_by_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> idx)</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  && !strncmp(<span class="stringliteral">"nvml"</span>, osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, 4)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  && atoi(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a> + 4) == (<span class="keywordtype">int</span>) idx)</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> }</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="a00182.html#gaf176159b5760a191871eff23f5a69ee9"> 136</a></span> <a class="code" href="a00182.html#gaf176159b5760a191871eff23f5a69ee9">hwloc_nvml_get_device_osdev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, nvmlDevice_t device)</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> {</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  nvmlReturn_t nvres;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  nvmlPciInfo_t pci;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  errno = EINVAL;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  nvres = nvmlDeviceGetPciInfo(device, &pci);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">if</span> (NVML_SUCCESS != nvres)</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  osdev = NULL;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> pcidev = osdev-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">if</span> (strncmp(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, <span class="stringliteral">"nvml"</span>, 4))</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">if</span> (pcidev</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  && pcidev-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> == <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">domain</a> == pci.domain</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">bus</a> == pci.bus</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">dev</a> == pci.device</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  && pcidev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a>.<a class="code" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">func</a> == 0)</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_NVML_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00204_html_adc494f6aed939992be1c55cca5822900"><div class="ttname"><a href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj::parent</a></div><div class="ttdeci">struct hwloc_obj * parent</div><div class="ttdoc">Parent, NULL if root (system object) </div><div class="ttdef"><b>Definition:</b> hwloc.h:403</div></div>
+<div class="ttc" id="a00182_html_gacd50fd0e2766ee05bc13234b46714756"><div class="ttname"><a href="a00182.html#gacd50fd0e2766ee05bc13234b46714756">hwloc_nvml_get_device_osdev_by_index</a></div><div class="ttdeci">static hwloc_obj_t hwloc_nvml_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the NVML device whose index is idx. </div><div class="ttdef"><b>Definition:</b> nvml.h:109</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="ttdoc">PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unl...</div><div class="ttdef"><b>Definition:</b> hwloc.h:246</div></div>
+<div class="ttc" id="a00220_html_aae99e035e8d1387d7b8768aaa8eceb0a"><div class="ttname"><a href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">hwloc_obj_attr_u::hwloc_pcidev_attr_s::bus</a></div><div class="ttdeci">unsigned char bus</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00208_html_a4203d713ce0f5beaa6ee0e9bdac70828"><div class="ttname"><a href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">hwloc_obj_attr_u::pcidev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_pcidev_attr_s pcidev</div></div>
+<div class="ttc" id="a00220_html_a3d70c84a12f7e93d14c8d47bf4fd9dc5"><div class="ttname"><a href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">hwloc_obj_attr_u::hwloc_pcidev_attr_s::dev</a></div><div class="ttdeci">unsigned char dev</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00220_html_a695f32df53f4ef728670bfcf31b74e0f"><div class="ttname"><a href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">hwloc_obj_attr_u::hwloc_pcidev_attr_s::func</a></div><div class="ttdeci">unsigned char func</div><div class="ttdef"><b>Definition:</b> hwloc.h:544</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00220_html_a8fba44988deb98613c1505a4019a34dc"><div class="ttname"><a href="a00220.html#a8fba44988deb98613c1505a4019a34dc">hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain</a></div><div class="ttdeci">unsigned short domain</div><div class="ttdef"><b>Definition:</b> hwloc.h:543</div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a></div><div class="ttdoc">Operating system GPU device. For instance ":0.0" for a GL display, "card0" for a Linux DRM device...</div><div class="ttdef"><b>Definition:</b> hwloc.h:287</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00208_html_a22904c25fe44b323bab5c9bc52660fca"><div class="ttname"><a href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
+<div class="ttc" id="a00182_html_gaf176159b5760a191871eff23f5a69ee9"><div class="ttname"><a href="a00182.html#gaf176159b5760a191871eff23f5a69ee9">hwloc_nvml_get_device_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_nvml_get_device_osdev(hwloc_topology_t topology, nvmlDevice_t device)</div><div class="ttdoc">Get the hwloc OS device object corresponding to NVML device device. </div><div class="ttdef"><b>Definition:</b> nvml.h:136</div></div>
+<div class="ttc" id="a00175_html_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div>
+<div class="ttc" id="a00204_html_acc4f0803f244867e68fe0036800be5de"><div class="ttname"><a href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj::type</a></div><div class="ttdeci">hwloc_obj_type_t type</div><div class="ttdoc">Type of object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:360</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+<div class="ttc" id="a00182_html_ga26cf0036d09ec4d7cb692380fac9659d"><div class="ttname"><a href="a00182.html#ga26cf0036d09ec4d7cb692380fac9659d">hwloc_nvml_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_nvml_get_device_cpuset(hwloc_topology_t topology, nvmlDevice_t device, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close to NVML device device. </div><div class="ttdef"><b>Definition:</b> nvml.h:56</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): gl.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">gl.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2012 Blue Brain Project, EPFL. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2012-2013 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> */</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef HWLOC_GL_H</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define HWLOC_GL_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <string.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="a00183.html#ga4d66a77e4fe4051d6e5b772c1b8fcec5"> 54</a></span> <a class="code" href="a00183.html#ga4d66a77e4fe4051d6e5b772c1b8fcec5">hwloc_gl_get_display_osdev_by_port_device</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">unsigned</span> port, <span class="keywordtype">unsigned</span> device)</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">unsigned</span> x = (unsigned) -1, y = (<span class="keywordtype">unsigned</span>) -1;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  && sscanf(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, <span class="stringliteral">":%u.%u"</span>, &x, &y) == 2</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  && port == x && device == y)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  errno = EINVAL;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> }</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="a00183.html#ga2d36ef441d1dfddf49cfb5c01bd58d8e"> 85</a></span> <a class="code" href="a00183.html#ga2d36ef441d1dfddf49cfb5c01bd58d8e">hwloc_gl_get_display_osdev_by_name</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name)</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> {</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  && !strcmp(name, osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>))</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  errno = EINVAL;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> }</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="a00183.html#ga936665ab5f0d29a081c4b78d11f4ad07"> 111</a></span> <a class="code" href="a00183.html#ga936665ab5f0d29a081c4b78d11f4ad07">hwloc_gl_get_display_by_osdev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">unsigned</span> *port, <span class="keywordtype">unsigned</span> *device)</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> {</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">unsigned</span> x = -1, y = -1;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  && sscanf(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, <span class="stringliteral">":%u.%u"</span>, &x, &y) == 2) {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  *port = x;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  *device = y;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  errno = EINVAL;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_GL_H */</span><span class="preprocessor"></span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div><div class="ttc" id="a00183_html_ga2d36ef441d1dfddf49cfb5c01bd58d8e"><div class="ttname"><a href="a00183.html#ga2d36ef441d1dfddf49cfb5c01bd58d8e">hwloc_gl_get_display_osdev_by_name</a></div><div class="ttdeci">static hwloc_obj_t hwloc_gl_get_display_osdev_by_name(hwloc_topology_t topology, const char *name)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the OpenGL display given by name. ...</div><div class="ttdef"><b>Definition:</b> gl.h:85</div></div>
+<div class="ttc" id="a00183_html_ga936665ab5f0d29a081c4b78d11f4ad07"><div class="ttname"><a href="a00183.html#ga936665ab5f0d29a081c4b78d11f4ad07">hwloc_gl_get_display_by_osdev</a></div><div class="ttdeci">static int hwloc_gl_get_display_by_osdev(hwloc_topology_t topology, hwloc_obj_t osdev, unsigned *port, unsigned *device)</div><div class="ttdoc">Get the OpenGL display port and device corresponding to the given hwloc OS object. </div><div class="ttdef"><b>Definition:</b> gl.h:111</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00183_html_ga4d66a77e4fe4051d6e5b772c1b8fcec5"><div class="ttname"><a href="a00183.html#ga4d66a77e4fe4051d6e5b772c1b8fcec5">hwloc_gl_get_display_osdev_by_port_device</a></div><div class="ttdeci">static hwloc_obj_t hwloc_gl_get_display_osdev_by_port_device(hwloc_topology_t topology, unsigned port, unsigned device)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the OpenGL display given by port and device index...</div><div class="ttdef"><b>Definition:</b> gl.h:54</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a></div><div class="ttdoc">Operating system GPU device. For instance ":0.0" for a GL display, "card0" for a Linux DRM device...</div><div class="ttdef"><b>Definition:</b> hwloc.h:287</div></div>
+<div class="ttc" id="a00208_html_a22904c25fe44b323bab5c9bc52660fca"><div class="ttname"><a href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): intel-mic.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">intel-mic.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2013-2016 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> */</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef HWLOC_INTEL_MIC_H</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define HWLOC_INTEL_MIC_H</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <hwloc/helper.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <hwloc/linux.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <dirent.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <string.h></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <stdlib.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="a00184.html#ga91bafa51abe81527f72437e24ad5944e"> 58</a></span> <a class="code" href="a00184.html#ga91bafa51abe81527f72437e24ad5944e">hwloc_intel_mic_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">int</span> idx __hwloc_attribute_unused,</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">/* If we're on Linux, use the sysfs mechanism to get the local cpus */</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#define HWLOC_INTEL_MIC_DEVICE_SYSFS_PATH_MAX 128</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">char</span> path[HWLOC_INTEL_MIC_DEVICE_SYSFS_PATH_MAX];</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  DIR *sysdir = NULL;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  FILE *sysfile = NULL;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">struct </span>dirent *dirent;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">unsigned</span> pcibus, pcidev, pcifunc;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  errno = EINVAL;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  sprintf(path, <span class="stringliteral">"/sys/class/mic/mic%d"</span>, idx);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  sysdir = opendir(path);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">if</span> (!sysdir)</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">while</span> ((dirent = readdir(sysdir)) != NULL) {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span> (sscanf(dirent->d_name, <span class="stringliteral">"pci_%02x:%02x.%02x"</span>, &pcibus, &pcidev, &pcifunc) == 3) {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  sprintf(path, <span class="stringliteral">"/sys/class/mic/mic%d/pci_%02x:%02x.%02x/local_cpus"</span>, idx, pcibus, pcidev, pcifunc);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  sysfile = fopen(path, <span class="stringliteral">"r"</span>);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">if</span> (!sysfile) {</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  closedir(sysdir);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">if</span> (<a class="code" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(sysfile, <span class="keyword">set</span>) < 0</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  || <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>))</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  fclose(sysfile);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  }</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  }</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  closedir(sysdir);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">/* Non-Linux systems simply get a full cpuset */</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="a00184.html#gabce0465e853de74be84cafcb96dd48ab"> 121</a></span> <a class="code" href="a00184.html#gabce0465e853de74be84cafcb96dd48ab">hwloc_intel_mic_get_device_osdev_by_index</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">unsigned</span> idx)</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> {</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  && !strncmp(<span class="stringliteral">"mic"</span>, osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, 3)</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  && atoi(osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a> + 3) == (<span class="keywordtype">int</span>) idx)</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  }</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> }</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_INTEL_MIC_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00184_html_gabce0465e853de74be84cafcb96dd48ab"><div class="ttname"><a href="a00184.html#gabce0465e853de74be84cafcb96dd48ab">hwloc_intel_mic_get_device_osdev_by_index</a></div><div class="ttdeci">static hwloc_obj_t hwloc_intel_mic_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the MIC device for the given index. </div><div class="ttdef"><b>Definition:</b> intel-mic.h:121</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00184_html_ga91bafa51abe81527f72437e24ad5944e"><div class="ttname"><a href="a00184.html#ga91bafa51abe81527f72437e24ad5944e">hwloc_intel_mic_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_intel_mic_get_device_cpuset(hwloc_topology_t topology, int idx, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close to MIC device whose index is idx...</div><div class="ttdef"><b>Definition:</b> intel-mic.h:58</div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00208_html_a22904c25fe44b323bab5c9bc52660fca"><div class="ttname"><a href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
+<div class="ttc" id="a00175_html_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a></div><div class="ttdoc">Operating system co-processor device. For instance "mic0" for a Xeon Phi (MIC) on Linux...</div><div class="ttdef"><b>Definition:</b> hwloc.h:297</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): openfabrics-verbs.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">openfabrics-verbs.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2009 CNRS</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2009-2016 Inria. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright © 2009-2010 Université Bordeaux</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef HWLOC_OPENFABRICS_VERBS_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define HWLOC_OPENFABRICS_VERBS_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <hwloc/linux.h></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <infiniband/verbs.h></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="a00185.html#ga3ea0d838c1e7f1671b35687aae2da6ae"> 62</a></span> <a class="code" href="a00185.html#ga3ea0d838c1e7f1671b35687aae2da6ae">hwloc_ibv_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology __hwloc_attribute_unused,</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">struct</span> ibv_device *ibdev, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#ifdef HWLOC_LINUX_SYS</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">/* If we're on Linux, use the verbs-provided sysfs mechanism to</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> get the local cpus */</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor">#define HWLOC_OPENFABRICS_VERBS_SYSFS_PATH_MAX 128</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">char</span> path[HWLOC_OPENFABRICS_VERBS_SYSFS_PATH_MAX];</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  FILE *sysfile = NULL;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  errno = EINVAL;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  sprintf(path, <span class="stringliteral">"/sys/class/infiniband/%s/device/local_cpus"</span>,</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  ibv_get_device_name(ibdev));</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  sysfile = fopen(path, <span class="stringliteral">"r"</span>);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (!sysfile)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">if</span> (<a class="code" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a>(sysfile, <span class="keyword">set</span>) < 0</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  || <a class="code" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a>(<span class="keyword">set</span>))</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  fclose(sysfile);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">/* Non-Linux systems simply get a full cpuset */</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="a00185.html#ga31d794567f4420bbdc8baa7bf8bf6138"> 112</a></span> <a class="code" href="a00185.html#ga31d794567f4420bbdc8baa7bf8bf6138">hwloc_ibv_get_device_osdev_by_name</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *ibname)</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> {</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> osdev = NULL;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">while</span> ((osdev = <a class="code" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a>(topology, osdev)) != NULL) {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">if</span> (<a class="code" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6">HWLOC_OBJ_OSDEV_OPENFABRICS</a> == osdev-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a>.<a class="code" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  && osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a> && !strcmp(ibname, osdev-><a class="code" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a>))</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> osdev;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">static</span> __hwloc_inline <a class="code" href="a00204.html">hwloc_obj_t</a></div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="a00185.html#ga7324cdfd5db6ed2669c051ef7e1b64e1"> 139</a></span> <a class="code" href="a00185.html#ga7324cdfd5db6ed2669c051ef7e1b64e1">hwloc_ibv_get_device_osdev</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">struct</span> ibv_device *ibdev)</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  errno = EINVAL;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> <a class="code" href="a00185.html#ga31d794567f4420bbdc8baa7bf8bf6138">hwloc_ibv_get_device_osdev_by_name</a>(topology, ibv_get_device_name(ibdev));</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_OPENFABRICS_VERBS_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00185_html_ga3ea0d838c1e7f1671b35687aae2da6ae"><div class="ttname"><a href="a00185.html#ga3ea0d838c1e7f1671b35687aae2da6ae">hwloc_ibv_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_ibv_get_device_cpuset(hwloc_topology_t topology, struct ibv_device *ibdev, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close to device ibdev. </div><div class="ttdef"><b>Definition:</b> openfabrics-verbs.h:62</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00240_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition:</b> hwloc.h:567</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00204_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition:</b> hwloc.h:366</div></div>
+<div class="ttc" id="a00185_html_ga31d794567f4420bbdc8baa7bf8bf6138"><div class="ttname"><a href="a00185.html#ga31d794567f4420bbdc8baa7bf8bf6138">hwloc_ibv_get_device_osdev_by_name</a></div><div class="ttdeci">static hwloc_obj_t hwloc_ibv_get_device_osdev_by_name(hwloc_topology_t topology, const char *ibname)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the OpenFabrics device named ibname. </div><div class="ttdef"><b>Definition:</b> openfabrics-verbs.h:112</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00174_html_ga5b64be28f5a7176ed8ad0d6a90bdf108"><div class="ttname"><a href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a></div><div class="ttdeci">int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap)</div><div class="ttdoc">Test whether bitmap bitmap is empty. </div></div>
+<div class="ttc" id="a00208_html_a22904c25fe44b323bab5c9bc52660fca"><div class="ttname"><a href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
+<div class="ttc" id="a00185_html_ga7324cdfd5db6ed2669c051ef7e1b64e1"><div class="ttname"><a href="a00185.html#ga7324cdfd5db6ed2669c051ef7e1b64e1">hwloc_ibv_get_device_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_ibv_get_device_osdev(hwloc_topology_t topology, struct ibv_device *ibdev)</div><div class="ttdoc">Get the hwloc OS device object corresponding to the OpenFabrics device ibdev. </div><div class="ttdef"><b>Definition:</b> openfabrics-verbs.h:139</div></div>
+<div class="ttc" id="a00175_html_gaa5a608236c3c0757b0b79818f1d429fb"><div class="ttname"><a href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a></div><div class="ttdeci">int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set)</div><div class="ttdoc">Convert a linux kernel cpumap file file into hwloc CPU set. </div></div>
+<div class="ttc" id="a00151_html_gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6"><div class="ttname"><a href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6">HWLOC_OBJ_OSDEV_OPENFABRICS</a></div><div class="ttdoc">Operating system openfabrics device. For instance the "mlx4_0" InfiniBand HCA, or "hfi1_0" Omni-Path ...</div><div class="ttdef"><b>Definition:</b> hwloc.h:292</div></div>
+<div class="ttc" id="a00173_html_ga8b4584c8949e2c5f1c97ba7fe92b8145"><div class="ttname"><a href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)</div><div class="ttdoc">Get the next OS device in the system. </div><div class="ttdef"><b>Definition:</b> helper.h:1252</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): myriexpress.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">myriexpress.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2010-2014 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright © 2011 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> */</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef HWLOC_MYRIEXPRESS_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#define HWLOC_MYRIEXPRESS_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <hwloc/autogen/config.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <myriexpress.h></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="a00186.html#ga868dfb8232333858e1e159c62ff9b682"> 50</a></span> <a class="code" href="a00186.html#ga868dfb8232333858e1e159c62ff9b682">hwloc_mx_board_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">id</span>, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  uint32_t in, out;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">if</span> (!<a class="code" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a>(topology)) {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  errno = EINVAL;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  in = id;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">if</span> (mx_get_info(NULL, MX_NUMA_NODE, &in, <span class="keyword">sizeof</span>(in), &out, <span class="keyword">sizeof</span>(out)) != MX_SUCCESS) {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  errno = EINVAL;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">if</span> (out != (uint32_t) -1) {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="a00204.html">hwloc_obj_t</a> obj = NULL;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">while</span> ((obj = <a class="code" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>, obj)) != NULL)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> == out) {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">goto</span> out;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">/* fallback to the full topology cpuset */</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a>(<span class="keyword">set</span>, <a class="code" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a>(topology));</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  out:</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="a00186.html#ga1d01f76cdd4a408ad01f105deeef3bba"> 94</a></span> <a class="code" href="a00186.html#ga1d01f76cdd4a408ad01f105deeef3bba">hwloc_mx_endpoint_get_device_cpuset</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  mx_endpoint_t endpoint, <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <span class="keyword">set</span>)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> {</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  uint64_t nid;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  uint32_t nindex, eid;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  mx_endpoint_addr_t eaddr;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">if</span> (mx_get_endpoint_addr(endpoint, &eaddr) != MX_SUCCESS) {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  errno = EINVAL;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">if</span> (mx_decompose_endpoint_addr(eaddr, &nid, &eid) != MX_SUCCESS) {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  errno = EINVAL;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">if</span> (mx_nic_id_to_board_number(nid, &nindex) != MX_SUCCESS) {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  errno = EINVAL;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">return</span> <a class="code" href="a00186.html#ga868dfb8232333858e1e159c62ff9b682">hwloc_mx_board_get_device_cpuset</a>(topology, nindex, <span class="keyword">set</span>);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> }</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_MYRIEXPRESS_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00155_html_ga759e88eaf5a230ad283e9d4c42486735"><div class="ttname"><a href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a></div><div class="ttdeci">static hwloc_obj_t hwloc_get_next_obj_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t prev)</div><div class="ttdoc">Returns the next object of type type. </div></div>
+<div class="ttc" id="a00170_html_ga69fbad44c685e46d80ecf51a714ba9ce"><div class="ttname"><a href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a></div><div class="ttdeci">static hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)</div><div class="ttdoc">Get complete CPU set. </div><div class="ttdef"><b>Definition:</b> helper.h:803</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00150_html_ga4bbf39b68b6f568fb92739e7c0ea7801"><div class="ttname"><a href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></div><div class="ttdeci">hwloc_bitmap_t hwloc_cpuset_t</div><div class="ttdoc">A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:132</div></div>
+<div class="ttc" id="a00174_html_ga036068a22d1aa5cb9ff1df348b525ff3"><div class="ttname"><a href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a></div><div class="ttdeci">void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</div><div class="ttdoc">Copy the contents of bitmap src into the already allocated bitmap dst. </div></div>
+<div class="ttc" id="a00204_html_a67925e0f2c47f50408fbdb9bddd0790f"><div class="ttname"><a href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">hwloc_obj::cpuset</a></div><div class="ttdeci">hwloc_cpuset_t cpuset</div><div class="ttdoc">CPUs covered by this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:421</div></div>
+<div class="ttc" id="a00204_html_a61a7a80a68eaccbaaa28269e678c81a9"><div class="ttname"><a href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">hwloc_obj::os_index</a></div><div class="ttdeci">unsigned os_index</div><div class="ttdoc">OS-provided physical index number. It is not guaranteed unique across the entire machine, except for PUs and NUMA nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:362</div></div>
+<div class="ttc" id="a00186_html_ga1d01f76cdd4a408ad01f105deeef3bba"><div class="ttname"><a href="a00186.html#ga1d01f76cdd4a408ad01f105deeef3bba">hwloc_mx_endpoint_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_mx_endpoint_get_device_cpuset(hwloc_topology_t topology, mx_endpoint_t endpoint, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close the MX endpoint endpoint. </div><div class="ttdef"><b>Definition:</b> myriexpress.h:94</div></div>
+<div class="ttc" id="a00186_html_ga868dfb8232333858e1e159c62ff9b682"><div class="ttname"><a href="a00186.html#ga868dfb8232333858e1e159c62ff9b682">hwloc_mx_board_get_device_cpuset</a></div><div class="ttdeci">static int hwloc_mx_board_get_device_cpuset(hwloc_topology_t topology, unsigned id, hwloc_cpuset_t set)</div><div class="ttdoc">Get the CPU set of logical processors that are physically close the MX board id. </div><div class="ttdef"><b>Definition:</b> myriexpress.h:50</div></div>
+<div class="ttc" id="a00151_html_ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a"><div class="ttname"><a href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a></div><div class="ttdoc">NUMA node. An object that contains memory that is directly and byte-accessible to the host processors...</div><div class="ttdef"><b>Definition:</b> hwloc.h:190</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00154_html_ga68ffdcfd9175cdf40709801092f18017"><div class="ttname"><a href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a></div><div class="ttdeci">int hwloc_topology_is_thissystem(hwloc_topology_t restrict topology)</div><div class="ttdoc">Does the topology context come from this system? </div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): diff.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">diff.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2013-2018 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> */</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifndef HWLOC_DIFF_H</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#define HWLOC_DIFF_H</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef HWLOC_H</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#error Please include the main hwloc.h instead</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#elif 0</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="a00187.html#ga86f044210b0a9e9fa83acbdbbf7e05fd"> 61</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="a00187.html#ga86f044210b0a9e9fa83acbdbbf7e05fd">hwloc_topology_diff_obj_attr_type_e</a> {</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fdabc7f0c7ed0b6864e902f4b70f2c7bc94"> 66</a></span>  <a class="code" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fdabc7f0c7ed0b6864e902f4b70f2c7bc94">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE</a>,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda94a8f37c51d62d15ac6192665dd49310"> 73</a></span>  <a class="code" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda94a8f37c51d62d15ac6192665dd49310">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME</a>,</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda63430bf932434bc456282f636d39c2c2"> 77</a></span>  <a class="code" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda63430bf932434bc456282f636d39c2c2">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO</a></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <a class="code" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="a00268.html"> 82</a></span> <span class="keyword">union </span><a class="code" href="a00268.html">hwloc_topology_diff_obj_attr_u</a> {</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="a00272.html"> 83</a></span>  <span class="keyword">struct </span><a class="code" href="a00272.html">hwloc_topology_diff_obj_attr_generic_s</a> {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">/* each part of the union must start with these */</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="a00272.html#a43f8133b7c30129b002c2d295e6580fc"> 85</a></span>  <a class="code" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> <a class="code" href="a00272.html#a43f8133b7c30129b002c2d295e6580fc">type</a>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  } <span class="keyword">generic</span>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="a00276.html"> 89</a></span>  <span class="keyword">struct </span><a class="code" href="a00276.html">hwloc_topology_diff_obj_attr_uint64_s</a> {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="comment">/* used for storing integer attributes */</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="a00276.html#afe262b9aa558fe7bfecbd37a7a129197"> 91</a></span>  <a class="code" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> <a class="code" href="a00276.html#afe262b9aa558fe7bfecbd37a7a129197">type</a>;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="a00276.html#adb772c3f1761ecadf496c80ae14afce3"> 92</a></span>  hwloc_uint64_t <a class="code" href="a00276.html#adb772c3f1761ecadf496c80ae14afce3">index</a>; <span class="comment">/* not used for SIZE */</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="a00276.html#a44c0894dce563335d347fde6595c49c9"> 93</a></span>  hwloc_uint64_t <a class="code" href="a00276.html#a44c0894dce563335d347fde6595c49c9">oldvalue</a>;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="a00276.html#ae63aa59ad65aa783b730a4f213304eb4"> 94</a></span>  hwloc_uint64_t <a class="code" href="a00276.html#ae63aa59ad65aa783b730a4f213304eb4">newvalue</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  } <a class="code" href="a00268.html#abb15bfa7039ca8c97cd7ddfbdf779efa">uint64</a>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="a00280.html"> 98</a></span>  <span class="keyword">struct </span><a class="code" href="a00280.html">hwloc_topology_diff_obj_attr_string_s</a> {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">/* used for storing name and info pairs */</span></div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="a00280.html#a784ab5827c1bf531b86d1f02f199d04d"> 100</a></span>  <a class="code" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> <a class="code" href="a00280.html#a784ab5827c1bf531b86d1f02f199d04d">type</a>;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="a00280.html#a7ef48c66ccddf34d90edb4e4314b41c6"> 101</a></span>  <span class="keywordtype">char</span> *<a class="code" href="a00280.html#a7ef48c66ccddf34d90edb4e4314b41c6">name</a>; <span class="comment">/* not used for NAME */</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="a00280.html#a33cc281d4417129064295a6ae7b79818"> 102</a></span>  <span class="keywordtype">char</span> *<a class="code" href="a00280.html#a33cc281d4417129064295a6ae7b79818">oldvalue</a>;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="a00280.html#a75f37f4add21cece50fee2701c3b77db"> 103</a></span>  <span class="keywordtype">char</span> *<a class="code" href="a00280.html#a75f37f4add21cece50fee2701c3b77db">newvalue</a>;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  } <a class="code" href="a00268.html#a518a48e13168c31957589ce78820163e">string</a>;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> };</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="a00187.html#ga38b28b7423b85a3321e6d0062d5f83d0"> 110</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="a00187.html#ga38b28b7423b85a3321e6d0062d5f83d0">hwloc_topology_diff_type_e</a> {</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0accbcaee230f79989debb284c8626f0c0"> 114</a></span>  <a class="code" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0accbcaee230f79989debb284c8626f0c0">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR</a>,</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147"> 123</a></span>  <a class="code" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147">HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX</a></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> } <a class="code" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="a00284.html"> 128</a></span> <span class="keyword">typedef</span> <span class="keyword">union </span><a class="code" href="a00284.html">hwloc_topology_diff_u</a> {</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="a00288.html"> 129</a></span>  <span class="keyword">struct </span><a class="code" href="a00288.html">hwloc_topology_diff_generic_s</a> {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">/* each part of the union must start with these */</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="a00288.html#a373005489fcddeba6319163e60263ae8"> 131</a></span>  <a class="code" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> <a class="code" href="a00288.html#a373005489fcddeba6319163e60263ae8">type</a>;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="a00288.html#a720aa94eb73cddfd8d6bf9fcbbfc035e"> 132</a></span>  <span class="keyword">union </span><a class="code" href="a00284.html">hwloc_topology_diff_u</a> * <a class="code" href="a00288.html#a720aa94eb73cddfd8d6bf9fcbbfc035e">next</a>; <span class="comment">/* pointer to the next element of the list, or NULL */</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  } <span class="keyword">generic</span>;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">/* A difference in an object attribute. */</span></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="a00292.html"> 136</a></span>  <span class="keyword">struct </span><a class="code" href="a00292.html">hwloc_topology_diff_obj_attr_s</a> {</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="a00292.html#a70a118ad288bd98f18c8ce6dc52e2d10"> 137</a></span>  <a class="code" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> <a class="code" href="a00292.html#a70a118ad288bd98f18c8ce6dc52e2d10">type</a>; <span class="comment">/* must be ::HWLOC_TOPOLOGY_DIFF_OBJ_ATTR */</span></div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="a00292.html#acb9170a8eb3392656d70f7f3ef3e3eed"> 138</a></span>  <span class="keyword">union </span><a class="code" href="a00284.html">hwloc_topology_diff_u</a> * <a class="code" href="a00292.html#acb9170a8eb3392656d70f7f3ef3e3eed">next</a>;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">/* List of attribute differences for a single object */</span></div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="a00292.html#aa28a121d9e158b1e610fb844ae1c8824"> 140</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00292.html#aa28a121d9e158b1e610fb844ae1c8824">obj_depth</a>;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="a00292.html#adb9f4d414470b6670cde8d90759a6c1c"> 141</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00292.html#adb9f4d414470b6670cde8d90759a6c1c">obj_index</a>;</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="a00292.html#a91f0645f9062e892652357cd141c8ebb"> 142</a></span>  <span class="keyword">union </span><a class="code" href="a00268.html">hwloc_topology_diff_obj_attr_u</a> diff;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  } obj_attr;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="comment">/* A difference that is too complex. */</span></div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="a00296.html"> 146</a></span>  <span class="keyword">struct </span><a class="code" href="a00296.html">hwloc_topology_diff_too_complex_s</a> {</div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="a00296.html#a92084295a4d6faf17a95a7eea526ddbd"> 147</a></span>  <a class="code" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> <a class="code" href="a00296.html#a92084295a4d6faf17a95a7eea526ddbd">type</a>; <span class="comment">/* must be ::HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX */</span></div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="a00296.html#a375afbaa043b109be689a7d9a3c7d153"> 148</a></span>  <span class="keyword">union </span><a class="code" href="a00284.html">hwloc_topology_diff_u</a> * <a class="code" href="a00296.html#a375afbaa043b109be689a7d9a3c7d153">next</a>;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">/* Where we had to stop computing the diff in the first topology */</span></div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="a00296.html#a77e9eac7db8b073c9bf996f19eda1631"> 150</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00296.html#a77e9eac7db8b073c9bf996f19eda1631">obj_depth</a>;</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="a00296.html#a6dc6b3c4adb10db74d993e37afaa0580"> 151</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00296.html#a6dc6b3c4adb10db74d993e37afaa0580">obj_index</a>;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  } too_complex;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> } * <a class="code" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a>;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00187.html#ga8a1754f69fbb31364ea3ea2c39827c9f">hwloc_topology_diff_build</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> newtopology, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags, <a class="code" href="a00284.html">hwloc_topology_diff_t</a> *diff);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="a00187.html#gada4c1273ce020afaf02b649496f7edf5"> 197</a></span> <span class="keyword">enum</span> <a class="code" href="a00187.html#gada4c1273ce020afaf02b649496f7edf5">hwloc_topology_diff_apply_flags_e</a> {</div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="a00187.html#ggada4c1273ce020afaf02b649496f7edf5a821a160512d67ea0dd05dab873d2fc54"> 201</a></span>  <a class="code" href="a00187.html#ggada4c1273ce020afaf02b649496f7edf5a821a160512d67ea0dd05dab873d2fc54">HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE</a> = (1UL<<0)</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> };</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00187.html#gae7b350d7e7478a4c6047b08aa6544f40">hwloc_topology_diff_apply</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00284.html">hwloc_topology_diff_t</a> diff, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00187.html#gab531db0e4ca3e590d48358c90f59c197">hwloc_topology_diff_destroy</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00284.html">hwloc_topology_diff_t</a> diff);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00187.html#gae82a885a377aff78936c5f175b5980f8">hwloc_topology_diff_load_xml</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keyword">const</span> <span class="keywordtype">char</span> *xmlpath, <a class="code" href="a00284.html">hwloc_topology_diff_t</a> *diff, <span class="keywordtype">char</span> **refname);</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00187.html#gacceb7e97b5689d0405db618bb5541012">hwloc_topology_diff_export_xml</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00284.html">hwloc_topology_diff_t</a> diff, <span class="keyword">const</span> <span class="keywordtype">char</span> *refname, <span class="keyword">const</span> <span class="keywordtype">char</span> *xmlpath);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00187.html#ga09afc24f1c9860465ec352c4ac518dd4">hwloc_topology_diff_load_xmlbuffer</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keyword">const</span> <span class="keywordtype">char</span> *xmlbuffer, <span class="keywordtype">int</span> buflen, <a class="code" href="a00284.html">hwloc_topology_diff_t</a> *diff, <span class="keywordtype">char</span> **refname);</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00187.html#ga88e72855746c81e2341580fa8d619a51">hwloc_topology_diff_export_xmlbuffer</a>(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00284.html">hwloc_topology_diff_t</a> diff, <span class="keyword">const</span> <span class="keywordtype">char</span> *refname, <span class="keywordtype">char</span> **xmlbuffer, <span class="keywordtype">int</span> *buflen);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> } <span class="comment">/* extern "C" */</span></div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_DIFF_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00280_html_a75f37f4add21cece50fee2701c3b77db"><div class="ttname"><a href="a00280.html#a75f37f4add21cece50fee2701c3b77db">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::newvalue</a></div><div class="ttdeci">char * newvalue</div><div class="ttdef"><b>Definition:</b> diff.h:103</div></div>
+<div class="ttc" id="a00268_html"><div class="ttname"><a href="a00268.html">hwloc_topology_diff_obj_attr_u</a></div><div class="ttdoc">One object attribute difference. </div><div class="ttdef"><b>Definition:</b> diff.h:82</div></div>
+<div class="ttc" id="a00187_html_ga5f2dd099de2cacdc0d0d4858154b971a"><div class="ttname"><a href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a></div><div class="ttdeci">enum hwloc_topology_diff_obj_attr_type_e hwloc_topology_diff_obj_attr_type_t</div><div class="ttdoc">Type of one object attribute difference. </div></div>
+<div class="ttc" id="a00268_html_a518a48e13168c31957589ce78820163e"><div class="ttname"><a href="a00268.html#a518a48e13168c31957589ce78820163e">hwloc_topology_diff_obj_attr_u::string</a></div><div class="ttdeci">struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s string</div></div>
+<div class="ttc" id="a00296_html_a77e9eac7db8b073c9bf996f19eda1631"><div class="ttname"><a href="a00296.html#a77e9eac7db8b073c9bf996f19eda1631">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::obj_depth</a></div><div class="ttdeci">unsigned obj_depth</div><div class="ttdef"><b>Definition:</b> diff.h:150</div></div>
+<div class="ttc" id="a00292_html_acb9170a8eb3392656d70f7f3ef3e3eed"><div class="ttname"><a href="a00292.html#acb9170a8eb3392656d70f7f3ef3e3eed">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::next</a></div><div class="ttdeci">union hwloc_topology_diff_u * next</div><div class="ttdef"><b>Definition:</b> diff.h:138</div></div>
+<div class="ttc" id="a00296_html_a375afbaa043b109be689a7d9a3c7d153"><div class="ttname"><a href="a00296.html#a375afbaa043b109be689a7d9a3c7d153">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::next</a></div><div class="ttdeci">union hwloc_topology_diff_u * next</div><div class="ttdef"><b>Definition:</b> diff.h:148</div></div>
+<div class="ttc" id="a00288_html_a373005489fcddeba6319163e60263ae8"><div class="ttname"><a href="a00288.html#a373005489fcddeba6319163e60263ae8">hwloc_topology_diff_u::hwloc_topology_diff_generic_s::type</a></div><div class="ttdeci">hwloc_topology_diff_type_t type</div><div class="ttdef"><b>Definition:</b> diff.h:131</div></div>
+<div class="ttc" id="a00288_html"><div class="ttname"><a href="a00288.html">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a></div><div class="ttdef"><b>Definition:</b> diff.h:129</div></div>
+<div class="ttc" id="a00187_html_gae7b350d7e7478a4c6047b08aa6544f40"><div class="ttname"><a href="a00187.html#gae7b350d7e7478a4c6047b08aa6544f40">hwloc_topology_diff_apply</a></div><div class="ttdeci">int hwloc_topology_diff_apply(hwloc_topology_t topology, hwloc_topology_diff_t diff, unsigned long flags)</div><div class="ttdoc">Apply a topology diff to an existing topology. </div></div>
+<div class="ttc" id="a00276_html"><div class="ttname"><a href="a00276.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a></div><div class="ttdoc">Integer attribute modification with an optional index. </div><div class="ttdef"><b>Definition:</b> diff.h:89</div></div>
+<div class="ttc" id="a00276_html_a44c0894dce563335d347fde6595c49c9"><div class="ttname"><a href="a00276.html#a44c0894dce563335d347fde6595c49c9">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::oldvalue</a></div><div class="ttdeci">hwloc_uint64_t oldvalue</div><div class="ttdef"><b>Definition:</b> diff.h:93</div></div>
+<div class="ttc" id="a00187_html_gga86f044210b0a9e9fa83acbdbbf7e05fda63430bf932434bc456282f636d39c2c2"><div class="ttname"><a href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda63430bf932434bc456282f636d39c2c2">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO</a></div><div class="ttdoc">the value of an info attribute is modified. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topo...</div><div class="ttdef"><b>Definition:</b> diff.h:77</div></div>
+<div class="ttc" id="a00292_html_adb9f4d414470b6670cde8d90759a6c1c"><div class="ttname"><a href="a00292.html#adb9f4d414470b6670cde8d90759a6c1c">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::obj_index</a></div><div class="ttdeci">unsigned obj_index</div><div class="ttdef"><b>Definition:</b> diff.h:141</div></div>
+<div class="ttc" id="a00187_html_gacceb7e97b5689d0405db618bb5541012"><div class="ttname"><a href="a00187.html#gacceb7e97b5689d0405db618bb5541012">hwloc_topology_diff_export_xml</a></div><div class="ttdeci">int hwloc_topology_diff_export_xml(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, const char *xmlpath)</div><div class="ttdoc">Export a list of topology differences to a XML file. </div></div>
+<div class="ttc" id="a00187_html_gae82a885a377aff78936c5f175b5980f8"><div class="ttname"><a href="a00187.html#gae82a885a377aff78936c5f175b5980f8">hwloc_topology_diff_load_xml</a></div><div class="ttdeci">int hwloc_topology_diff_load_xml(hwloc_topology_t topology, const char *xmlpath, hwloc_topology_diff_t *diff, char **refname)</div><div class="ttdoc">Load a list of topology differences from a XML file. </div></div>
+<div class="ttc" id="a00187_html_ga38b28b7423b85a3321e6d0062d5f83d0"><div class="ttname"><a href="a00187.html#ga38b28b7423b85a3321e6d0062d5f83d0">hwloc_topology_diff_type_e</a></div><div class="ttdeci">hwloc_topology_diff_type_e</div><div class="ttdoc">Type of one element of a difference list. </div><div class="ttdef"><b>Definition:</b> diff.h:110</div></div>
+<div class="ttc" id="a00296_html"><div class="ttname"><a href="a00296.html">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a></div><div class="ttdef"><b>Definition:</b> diff.h:146</div></div>
+<div class="ttc" id="a00280_html_a7ef48c66ccddf34d90edb4e4314b41c6"><div class="ttname"><a href="a00280.html#a7ef48c66ccddf34d90edb4e4314b41c6">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::name</a></div><div class="ttdeci">char * name</div><div class="ttdef"><b>Definition:</b> diff.h:101</div></div>
+<div class="ttc" id="a00284_html"><div class="ttname"><a href="a00284.html">hwloc_topology_diff_u</a></div><div class="ttdoc">One element of a difference list between two topologies. </div><div class="ttdef"><b>Definition:</b> diff.h:128</div></div>
+<div class="ttc" id="a00292_html_aa28a121d9e158b1e610fb844ae1c8824"><div class="ttname"><a href="a00292.html#aa28a121d9e158b1e610fb844ae1c8824">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::obj_depth</a></div><div class="ttdeci">unsigned obj_depth</div><div class="ttdef"><b>Definition:</b> diff.h:140</div></div>
+<div class="ttc" id="a00292_html_a70a118ad288bd98f18c8ce6dc52e2d10"><div class="ttname"><a href="a00292.html#a70a118ad288bd98f18c8ce6dc52e2d10">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::type</a></div><div class="ttdeci">hwloc_topology_diff_type_t type</div><div class="ttdef"><b>Definition:</b> diff.h:137</div></div>
+<div class="ttc" id="a00153_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context. </div><div class="ttdef"><b>Definition:</b> hwloc.h:633</div></div>
+<div class="ttc" id="a00187_html_gga86f044210b0a9e9fa83acbdbbf7e05fdabc7f0c7ed0b6864e902f4b70f2c7bc94"><div class="ttname"><a href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fdabc7f0c7ed0b6864e902f4b70f2c7bc94">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE</a></div><div class="ttdoc">The object local memory is modified. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_di...</div><div class="ttdef"><b>Definition:</b> diff.h:66</div></div>
+<div class="ttc" id="a00187_html_ga86f044210b0a9e9fa83acbdbbf7e05fd"><div class="ttname"><a href="a00187.html#ga86f044210b0a9e9fa83acbdbbf7e05fd">hwloc_topology_diff_obj_attr_type_e</a></div><div class="ttdeci">hwloc_topology_diff_obj_attr_type_e</div><div class="ttdoc">Type of one object attribute difference. </div><div class="ttdef"><b>Definition:</b> diff.h:61</div></div>
+<div class="ttc" id="a00187_html_ga2cf1b17332fe5d95f2198f6340cfd288"><div class="ttname"><a href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a></div><div class="ttdeci">union hwloc_topology_diff_u * hwloc_topology_diff_t</div><div class="ttdoc">One element of a difference list between two topologies. </div></div>
+<div class="ttc" id="a00280_html_a784ab5827c1bf531b86d1f02f199d04d"><div class="ttname"><a href="a00280.html#a784ab5827c1bf531b86d1f02f199d04d">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::type</a></div><div class="ttdeci">hwloc_topology_diff_obj_attr_type_t type</div><div class="ttdef"><b>Definition:</b> diff.h:100</div></div>
+<div class="ttc" id="a00187_html_ga8a1754f69fbb31364ea3ea2c39827c9f"><div class="ttname"><a href="a00187.html#ga8a1754f69fbb31364ea3ea2c39827c9f">hwloc_topology_diff_build</a></div><div class="ttdeci">int hwloc_topology_diff_build(hwloc_topology_t topology, hwloc_topology_t newtopology, unsigned long flags, hwloc_topology_diff_t *diff)</div><div class="ttdoc">Compute the difference between 2 topologies. </div></div>
+<div class="ttc" id="a00187_html_gada4c1273ce020afaf02b649496f7edf5"><div class="ttname"><a href="a00187.html#gada4c1273ce020afaf02b649496f7edf5">hwloc_topology_diff_apply_flags_e</a></div><div class="ttdeci">hwloc_topology_diff_apply_flags_e</div><div class="ttdoc">Flags to be given to hwloc_topology_diff_apply(). </div><div class="ttdef"><b>Definition:</b> diff.h:197</div></div>
+<div class="ttc" id="a00187_html_ga09afc24f1c9860465ec352c4ac518dd4"><div class="ttname"><a href="a00187.html#ga09afc24f1c9860465ec352c4ac518dd4">hwloc_topology_diff_load_xmlbuffer</a></div><div class="ttdeci">int hwloc_topology_diff_load_xmlbuffer(hwloc_topology_t topology, const char *xmlbuffer, int buflen, hwloc_topology_diff_t *diff, char **refname)</div><div class="ttdoc">Load a list of topology differences from a XML buffer. </div></div>
+<div class="ttc" id="a00288_html_a720aa94eb73cddfd8d6bf9fcbbfc035e"><div class="ttname"><a href="a00288.html#a720aa94eb73cddfd8d6bf9fcbbfc035e">hwloc_topology_diff_u::hwloc_topology_diff_generic_s::next</a></div><div class="ttdeci">union hwloc_topology_diff_u * next</div><div class="ttdef"><b>Definition:</b> diff.h:132</div></div>
+<div class="ttc" id="a00280_html_a33cc281d4417129064295a6ae7b79818"><div class="ttname"><a href="a00280.html#a33cc281d4417129064295a6ae7b79818">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::oldvalue</a></div><div class="ttdeci">char * oldvalue</div><div class="ttdef"><b>Definition:</b> diff.h:102</div></div>
+<div class="ttc" id="a00268_html_abb15bfa7039ca8c97cd7ddfbdf779efa"><div class="ttname"><a href="a00268.html#abb15bfa7039ca8c97cd7ddfbdf779efa">hwloc_topology_diff_obj_attr_u::uint64</a></div><div class="ttdeci">struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s uint64</div></div>
+<div class="ttc" id="a00187_html_ggada4c1273ce020afaf02b649496f7edf5a821a160512d67ea0dd05dab873d2fc54"><div class="ttname"><a href="a00187.html#ggada4c1273ce020afaf02b649496f7edf5a821a160512d67ea0dd05dab873d2fc54">HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE</a></div><div class="ttdoc">Apply topology diff in reverse direction. </div><div class="ttdef"><b>Definition:</b> diff.h:201</div></div>
+<div class="ttc" id="a00187_html_ga4b86adb00c8b2d09ebc4ef8f3bfd92b2"><div class="ttname"><a href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a></div><div class="ttdeci">enum hwloc_topology_diff_type_e hwloc_topology_diff_type_t</div><div class="ttdoc">Type of one element of a difference list. </div></div>
+<div class="ttc" id="a00187_html_gga86f044210b0a9e9fa83acbdbbf7e05fda94a8f37c51d62d15ac6192665dd49310"><div class="ttname"><a href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda94a8f37c51d62d15ac6192665dd49310">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME</a></div><div class="ttdoc">The object name is modified. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_a...</div><div class="ttdef"><b>Definition:</b> diff.h:73</div></div>
+<div class="ttc" id="a00276_html_afe262b9aa558fe7bfecbd37a7a129197"><div class="ttname"><a href="a00276.html#afe262b9aa558fe7bfecbd37a7a129197">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::type</a></div><div class="ttdeci">hwloc_topology_diff_obj_attr_type_t type</div><div class="ttdef"><b>Definition:</b> diff.h:91</div></div>
+<div class="ttc" id="a00296_html_a6dc6b3c4adb10db74d993e37afaa0580"><div class="ttname"><a href="a00296.html#a6dc6b3c4adb10db74d993e37afaa0580">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::obj_index</a></div><div class="ttdeci">unsigned obj_index</div><div class="ttdef"><b>Definition:</b> diff.h:151</div></div>
+<div class="ttc" id="a00272_html"><div class="ttname"><a href="a00272.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</a></div><div class="ttdef"><b>Definition:</b> diff.h:83</div></div>
+<div class="ttc" id="a00187_html_gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147"><div class="ttname"><a href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147">HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX</a></div><div class="ttdoc">The difference is too complex, it cannot be represented. The difference below this object has not bee...</div><div class="ttdef"><b>Definition:</b> diff.h:123</div></div>
+<div class="ttc" id="a00296_html_a92084295a4d6faf17a95a7eea526ddbd"><div class="ttname"><a href="a00296.html#a92084295a4d6faf17a95a7eea526ddbd">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::type</a></div><div class="ttdeci">hwloc_topology_diff_type_t type</div><div class="ttdef"><b>Definition:</b> diff.h:147</div></div>
+<div class="ttc" id="a00292_html"><div class="ttname"><a href="a00292.html">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a></div><div class="ttdef"><b>Definition:</b> diff.h:136</div></div>
+<div class="ttc" id="a00272_html_a43f8133b7c30129b002c2d295e6580fc"><div class="ttname"><a href="a00272.html#a43f8133b7c30129b002c2d295e6580fc">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s::type</a></div><div class="ttdeci">hwloc_topology_diff_obj_attr_type_t type</div><div class="ttdef"><b>Definition:</b> diff.h:85</div></div>
+<div class="ttc" id="a00187_html_ga88e72855746c81e2341580fa8d619a51"><div class="ttname"><a href="a00187.html#ga88e72855746c81e2341580fa8d619a51">hwloc_topology_diff_export_xmlbuffer</a></div><div class="ttdeci">int hwloc_topology_diff_export_xmlbuffer(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, char **xmlbuffer, int *buflen)</div><div class="ttdoc">Export a list of topology differences to a XML buffer. </div></div>
+<div class="ttc" id="a00280_html"><div class="ttname"><a href="a00280.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a></div><div class="ttdoc">String attribute modification with an optional name. </div><div class="ttdef"><b>Definition:</b> diff.h:98</div></div>
+<div class="ttc" id="a00276_html_ae63aa59ad65aa783b730a4f213304eb4"><div class="ttname"><a href="a00276.html#ae63aa59ad65aa783b730a4f213304eb4">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::newvalue</a></div><div class="ttdeci">hwloc_uint64_t newvalue</div><div class="ttdef"><b>Definition:</b> diff.h:94</div></div>
+<div class="ttc" id="a00187_html_gab531db0e4ca3e590d48358c90f59c197"><div class="ttname"><a href="a00187.html#gab531db0e4ca3e590d48358c90f59c197">hwloc_topology_diff_destroy</a></div><div class="ttdeci">int hwloc_topology_diff_destroy(hwloc_topology_t topology, hwloc_topology_diff_t diff)</div><div class="ttdoc">Destroy a list of topology differences. </div></div>
+<div class="ttc" id="a00276_html_adb772c3f1761ecadf496c80ae14afce3"><div class="ttname"><a href="a00276.html#adb772c3f1761ecadf496c80ae14afce3">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::index</a></div><div class="ttdeci">hwloc_uint64_t index</div><div class="ttdef"><b>Definition:</b> diff.h:92</div></div>
+<div class="ttc" id="a00187_html_gga38b28b7423b85a3321e6d0062d5f83d0accbcaee230f79989debb284c8626f0c0"><div class="ttname"><a href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0accbcaee230f79989debb284c8626f0c0">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR</a></div><div class="ttdoc">An object attribute was changed. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_o...</div><div class="ttdef"><b>Definition:</b> diff.h:114</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): plugins.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">plugins.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright © 2013-2015 Inria. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> */</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#ifndef HWLOC_PLUGINS_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#define HWLOC_PLUGINS_H</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a>;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <hwloc.h></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#ifdef HWLOC_INSIDE_PLUGIN</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">/* needed for hwloc_plugin_check_namespace() */</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <ltdl.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="a00188.html#ga0dceb95fada01e5e4558429912053ca7"> 28</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="a00188.html#ga0dceb95fada01e5e4558429912053ca7">hwloc_disc_component_type_e</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aa09e6a39b61eda5364eada626da88ecc"> 31</a></span>  <a class="code" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aa09e6a39b61eda5364eada626da88ecc">HWLOC_DISC_COMPONENT_TYPE_CPU</a> = (1<<0),</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7a7d7e7114cca4165eee72efb9b39b3d6d"> 38</a></span>  <a class="code" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7a7d7e7114cca4165eee72efb9b39b3d6d">HWLOC_DISC_COMPONENT_TYPE_GLOBAL</a> = (1<<1),</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7"> 42</a></span>  <a class="code" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7">HWLOC_DISC_COMPONENT_TYPE_MISC</a> = (1<<2)</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> } <a class="code" href="a00188.html#ga5c6112c1a7497e5f481b9634059d47b1">hwloc_disc_component_type_t</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="a00300.html"> 50</a></span> <span class="keyword">struct </span><a class="code" href="a00300.html">hwloc_disc_component</a> {</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="a00300.html#ad070350354cbd665803fc86fe48cdb3d"> 52</a></span>  <a class="code" href="a00188.html#ga5c6112c1a7497e5f481b9634059d47b1">hwloc_disc_component_type_t</a> <a class="code" href="a00300.html#ad070350354cbd665803fc86fe48cdb3d">type</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="a00300.html#a4064c3b5d9213027e87caebef380a840"> 57</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00300.html#a4064c3b5d9213027e87caebef380a840">name</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="a00300.html#a34144f4d59bf46524e4875194652412b"> 67</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00300.html#a34144f4d59bf46524e4875194652412b">excludes</a>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="a00300.html#ab8390b4bc16e44d5dfcbc35f38065eb7"> 72</a></span>  <span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> * (*instantiate)(<span class="keyword">struct </span><a class="code" href="a00300.html">hwloc_disc_component</a> *component, <span class="keyword">const</span> <span class="keywordtype">void</span> *data1, <span class="keyword">const</span> <span class="keywordtype">void</span> *data2, <span class="keyword">const</span> <span class="keywordtype">void</span> *data3);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="a00300.html#ae86d283c272c5ae24073a235efbf6b59"> 86</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00300.html#ae86d283c272c5ae24073a235efbf6b59">priority</a>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">struct </span><a class="code" href="a00300.html">hwloc_disc_component</a> * next;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> };</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="a00304.html"> 114</a></span> <span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">struct </span><a class="code" href="a00300.html">hwloc_disc_component</a> * component;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">struct </span>hwloc_topology * topology;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">int</span> envvar_forced;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> * next;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="a00304.html#aaa8eafe495aadd81c2e3c4ec527c10ba"> 125</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00304.html#aaa8eafe495aadd81c2e3c4ec527c10ba">flags</a>;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="a00304.html#a5209e6508c110dcd4c3c296466f07cb3"> 130</a></span>  <span class="keywordtype">int</span> <a class="code" href="a00304.html#a5209e6508c110dcd4c3c296466f07cb3">is_custom</a>;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="a00304.html#ab8806f6db077f1bb2e9d63ec99223f7a"> 135</a></span>  <span class="keywordtype">int</span> <a class="code" href="a00304.html#ab8806f6db077f1bb2e9d63ec99223f7a">is_thissystem</a>;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="a00304.html#a2ea5bd36b7f06efdb65b98b32af16c68"> 138</a></span>  <span class="keywordtype">void</span> * <a class="code" href="a00304.html#a2ea5bd36b7f06efdb65b98b32af16c68">private_data</a>;</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="a00304.html#a36c4fa86350525b46340c67b802c69c7"> 142</a></span>  void (*<a class="code" href="a00304.html#a36c4fa86350525b46340c67b802c69c7">disable</a>)(<span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> *backend);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="a00304.html#aeb9e1dcf68853a65355082b359a3a2d7"> 147</a></span>  int (*<a class="code" href="a00304.html#aeb9e1dcf68853a65355082b359a3a2d7">discover</a>)(<span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> *backend);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="a00304.html#ab3d1836eeda1970a4c51342df186581e"> 151</a></span>  int (*<a class="code" href="a00304.html#ab3d1836eeda1970a4c51342df186581e">get_obj_cpuset</a>)(<span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> *backend, <span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> *caller, <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *obj, <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="a00304.html#a5a4803e23309be318d7cdb641a5f1037"> 156</a></span>  int (*notify_new_object)(<span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> *backend, <span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> *caller, <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *obj);</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> };</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="a00189.html#ga21513209613570877b6bfa9898106f2a"> 160</a></span> <span class="keyword">enum</span> <a class="code" href="a00189.html#ga21513209613570877b6bfa9898106f2a">hwloc_backend_flag_e</a> {</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="a00189.html#gga21513209613570877b6bfa9898106f2aadc96f2cf3bdd5d41e102dfa1e1976b24"> 163</a></span>  <a class="code" href="a00189.html#gga21513209613570877b6bfa9898106f2aadc96f2cf3bdd5d41e102dfa1e1976b24">HWLOC_BACKEND_FLAG_NEED_LEVELS</a> = (1UL<<0)</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> };</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> HWLOC_DECLSPEC <span class="keyword">struct </span><a class="code" href="a00304.html">hwloc_backend</a> * <a class="code" href="a00189.html#ga330a0b581de4817d0cf1e7401db22436">hwloc_backend_alloc</a>(<span class="keyword">struct</span> <a class="code" href="a00300.html">hwloc_disc_component</a> *component);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00189.html#gaa4edf46c5d88eef53b3b8f572d88b9c5">hwloc_backend_enable</a>(<span class="keyword">struct</span> hwloc_topology *topology, <span class="keyword">struct</span> <a class="code" href="a00304.html">hwloc_backend</a> *backend);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00189.html#ga505a5470745bf0b601f4d25a69601411">hwloc_backends_get_obj_cpuset</a>(<span class="keyword">struct</span> <a class="code" href="a00304.html">hwloc_backend</a> *caller, <span class="keyword">struct</span> <a class="code" href="a00204.html">hwloc_obj</a> *obj, <a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> cpuset);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00189.html#gad8ac8bba9ab6b9af423baba0c8337c6b">hwloc_backends_notify_new_object</a>(<span class="keyword">struct</span> <a class="code" href="a00304.html">hwloc_backend</a> *caller, <span class="keyword">struct</span> <a class="code" href="a00204.html">hwloc_obj</a> *obj);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="a00190.html#ga397a1bf7d21dd073320ad0045340f463"> 202</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="a00190.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a> {</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="a00190.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900"> 204</a></span>  <a class="code" href="a00190.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900">HWLOC_COMPONENT_TYPE_DISC</a>,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="a00190.html#gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd"> 207</a></span>  <a class="code" href="a00190.html#gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd">HWLOC_COMPONENT_TYPE_XML</a></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> } <a class="code" href="a00190.html#ga0aebfa65317af10bb18d7d35f6dc05b8">hwloc_component_type_t</a>;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="a00308.html"> 215</a></span> <span class="keyword">struct </span><a class="code" href="a00308.html">hwloc_component</a> {</div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="a00308.html#a3250bd6fc9713946991d805e48091b2e"> 217</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="a00308.html#a3250bd6fc9713946991d805e48091b2e">abi</a>;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="a00308.html#aea613546886d9b8221cadba920fe3ebc"> 236</a></span>  int (*init)(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="a00308.html#a4612015451a1c706e8ba19114cb8baae"> 249</a></span>  void (*finalize)(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="a00308.html#a789208ada7e17492cfd3a5a88a6bb0ee"> 252</a></span>  hwloc_component_type_t <a class="code" href="a00308.html#a789208ada7e17492cfd3a5a88a6bb0ee">type</a>;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335"> 255</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> </div><div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="a00308.html#a4b8cffd1d943c29fdc102b841b8598d4"> 258</a></span>  <span class="keywordtype">void</span> * <a class="code" href="a00308.html#a4b8cffd1d943c29fdc102b841b8598d4">data</a>;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> };</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> HWLOC_DECLSPEC <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00191.html#gafd853fd67e12c32916201d8303ef39d2">hwloc_insert_object_by_cpuset</a>(<span class="keyword">struct</span> hwloc_topology *topology, <a class="code" href="a00204.html">hwloc_obj_t</a> obj);</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div><div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="a00191.html#ga1ac8191022b0d3b1bf0070e11d1f1155"> 293</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="a00191.html#ga1ac8191022b0d3b1bf0070e11d1f1155">hwloc_report_error_t</a>)(<span class="keyword">const</span> <span class="keywordtype">char</span> * msg, <span class="keywordtype">int</span> line);</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00191.html#ga3ae154590328522a864f4a7fb453b562">hwloc_report_os_error</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * msg, <span class="keywordtype">int</span> line);</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00191.html#gab527c1e0f243f057d31a724794ad9f88">hwloc_hide_errors</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> </div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> HWLOC_DECLSPEC <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *<a class="code" href="a00191.html#ga56d4e5fec377bf09f136b4e8e280e30f">hwloc__insert_object_by_cpuset</a>(<span class="keyword">struct</span> hwloc_topology *topology, <a class="code" href="a00204.html">hwloc_obj_t</a> obj, <a class="code" href="a00191.html#ga1ac8191022b0d3b1bf0070e11d1f1155">hwloc_report_error_t</a> report_error);</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="a00191.html#ga0ef97debde503b56367689b07bb3e901">hwloc_insert_object_by_parent</a>(<span class="keyword">struct</span> hwloc_topology *topology, <a class="code" href="a00204.html">hwloc_obj_t</a> <a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>, <a class="code" href="a00204.html">hwloc_obj_t</a> obj);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> </div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="keyword">static</span> __hwloc_inline <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="a00191.html#ga64d210fcfd7e517095319420bf40ed0a"> 323</a></span> <a class="code" href="a00191.html#ga64d210fcfd7e517095319420bf40ed0a">hwloc_alloc_setup_object</a>(<a class="code" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> <a class="code" href="a00300.html#ad070350354cbd665803fc86fe48cdb3d">type</a>, <span class="keywordtype">signed</span> <a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>)</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> {</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keyword">struct </span><a class="code" href="a00204.html">hwloc_obj</a> *obj = malloc(<span class="keyword">sizeof</span>(*obj));</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  memset(obj, 0, <span class="keyword">sizeof</span>(*obj));</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  obj-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> = <a class="code" href="a00300.html#ad070350354cbd665803fc86fe48cdb3d">type</a>;</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> = <a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  obj-><a class="code" href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde">os_level</a> = -1;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a> = malloc(<span class="keyword">sizeof</span>(*obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>));</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  memset(obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>, 0, <span class="keyword">sizeof</span>(*obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>));</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="comment">/* do not allocate the cpuset here, let the caller do it */</span></div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keywordflow">return</span> obj;</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> }</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00191.html#gabb240e5b856a34963078ccec9a785ac1">hwloc_fill_object_sets</a>(<a class="code" href="a00204.html">hwloc_obj_t</a> obj);</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div><div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="a00191.html#gac2eaed287bb215cf0bd33014e9e1d374"> 366</a></span> <a class="code" href="a00191.html#gac2eaed287bb215cf0bd33014e9e1d374">hwloc_plugin_check_namespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *pluginname __hwloc_attribute_unused, <span class="keyword">const</span> <span class="keywordtype">char</span> *symbol __hwloc_attribute_unused)</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> {</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="preprocessor">#ifdef HWLOC_INSIDE_PLUGIN</span></div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  lt_dlhandle handle;</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keywordtype">void</span> *sym;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  handle = lt_dlopen(NULL);</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="keywordflow">if</span> (!handle)</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="comment">/* cannot check, assume things will work */</span></div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  sym = lt_dlsym(handle, symbol);</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  lt_dlclose(handle);</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keywordflow">if</span> (!sym) {</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> verboseenv_checked = 0;</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> verboseenv_value = 0;</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="keywordflow">if</span> (!verboseenv_checked) {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *verboseenv = getenv(<span class="stringliteral">"HWLOC_PLUGINS_VERBOSE"</span>);</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  verboseenv_value = verboseenv ? atoi(verboseenv) : 0;</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  verboseenv_checked = 1;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  }</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordflow">if</span> (verboseenv_value)</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  fprintf(stderr, <span class="stringliteral">"Plugin `%s' disabling itself because it cannot find the `%s' core symbol.\n"</span>,</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  pluginname, symbol);</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  }</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_INSIDE_PLUGIN */</span><span class="preprocessor"></span></div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> }</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00192.html#ga2ea3e9c02eabd8c5768745c8a99d7fed">hwloc_insert_pci_device_list</a>(<span class="keyword">struct</span> <a class="code" href="a00304.html">hwloc_backend</a> *backend, <span class="keyword">struct</span> <a class="code" href="a00204.html">hwloc_obj</a> *first_obj);</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span> </div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span> HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <a class="code" href="a00192.html#ga4bed8bd79337d4bc84b884a6ccd14f16">hwloc_pci_find_cap</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *config, <span class="keywordtype">unsigned</span> cap);</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span> </div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00192.html#ga749e75eeea108be0608fcba7c113f736">hwloc_pci_find_linkspeed</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *config, <span class="keywordtype">unsigned</span> offset, <span class="keywordtype">float</span> *linkspeed);</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span> </div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code" href="a00192.html#ga80fa1e3d882b5c2225dd6dd01e098ad0">hwloc_pci_prepare_bridge</a>(<a class="code" href="a00204.html">hwloc_obj_t</a> obj, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *config);</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <span class="preprocessor">#endif </span><span class="comment">/* HWLOC_PLUGINS_H */</span><span class="preprocessor"></span></div><div class="ttc" id="a00191_html_gab527c1e0f243f057d31a724794ad9f88"><div class="ttname"><a href="a00191.html#gab527c1e0f243f057d31a724794ad9f88">hwloc_hide_errors</a></div><div class="ttdeci">int hwloc_hide_errors(void)</div><div class="ttdoc">Check whether insertion errors are hidden. </div></div>
+<div class="ttc" id="a00189_html_gad8ac8bba9ab6b9af423baba0c8337c6b"><div class="ttname"><a href="a00189.html#gad8ac8bba9ab6b9af423baba0c8337c6b">hwloc_backends_notify_new_object</a></div><div class="ttdeci">int hwloc_backends_notify_new_object(struct hwloc_backend *caller, struct hwloc_obj *obj)</div><div class="ttdoc">Used by backends discovery callbacks to notify other backends of new objects. </div></div>
+<div class="ttc" id="a00190_html_ga397a1bf7d21dd073320ad0045340f463"><div class="ttname"><a href="a00190.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a></div><div class="ttdeci">hwloc_component_type_e</div><div class="ttdoc">Generic component type. </div><div class="ttdef"><b>Definition:</b> plugins.h:202</div></div>
+<div class="ttc" id="a00308_html_a3250bd6fc9713946991d805e48091b2e"><div class="ttname"><a href="a00308.html#a3250bd6fc9713946991d805e48091b2e">hwloc_component::abi</a></div><div class="ttdeci">unsigned abi</div><div class="ttdoc">Component ABI version, set to HWLOC_COMPONENT_ABI. </div><div class="ttdef"><b>Definition:</b> plugins.h:217</div></div>
+<div class="ttc" id="a00304_html_ab3d1836eeda1970a4c51342df186581e"><div class="ttname"><a href="a00304.html#ab3d1836eeda1970a4c51342df186581e">hwloc_backend::get_obj_cpuset</a></div><div class="ttdeci">int(* get_obj_cpuset)(struct hwloc_backend *backend, struct hwloc_backend *caller, struct hwloc_obj *obj, hwloc_bitmap_t cpuset)</div><div class="ttdoc">Callback used by the PCI backend to retrieve the locality of a PCI object from the OS/cpu backend...</div><div class="ttdef"><b>Definition:</b> plugins.h:151</div></div>
+<div class="ttc" id="a00204_html_adc494f6aed939992be1c55cca5822900"><div class="ttname"><a href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj::parent</a></div><div class="ttdeci">struct hwloc_obj * parent</div><div class="ttdoc">Parent, NULL if root (system object) </div><div class="ttdef"><b>Definition:</b> hwloc.h:403</div></div>
+<div class="ttc" id="a00308_html_ab8043c5b4cc0e81aabba586ccb194335"><div class="ttname"><a href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">hwloc_component::flags</a></div><div class="ttdeci">unsigned long flags</div><div class="ttdoc">Component flags, unused for now. </div><div class="ttdef"><b>Definition:</b> plugins.h:255</div></div>
+<div class="ttc" id="a00189_html_ga21513209613570877b6bfa9898106f2a"><div class="ttname"><a href="a00189.html#ga21513209613570877b6bfa9898106f2a">hwloc_backend_flag_e</a></div><div class="ttdeci">hwloc_backend_flag_e</div><div class="ttdoc">Backend flags. </div><div class="ttdef"><b>Definition:</b> plugins.h:160</div></div>
+<div class="ttc" id="a00191_html_ga0ef97debde503b56367689b07bb3e901"><div class="ttname"><a href="a00191.html#ga0ef97debde503b56367689b07bb3e901">hwloc_insert_object_by_parent</a></div><div class="ttdeci">void hwloc_insert_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_obj_t obj)</div><div class="ttdoc">Insert an object somewhere in the topology. </div></div>
+<div class="ttc" id="a00190_html_gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900"><div class="ttname"><a href="a00190.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900">HWLOC_COMPONENT_TYPE_DISC</a></div><div class="ttdoc">The data field must point to a struct hwloc_disc_component. </div><div class="ttdef"><b>Definition:</b> plugins.h:204</div></div>
+<div class="ttc" id="a00204_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found. </div><div class="ttdef"><b>Definition:</b> hwloc.h:373</div></div>
+<div class="ttc" id="a00191_html_gac2eaed287bb215cf0bd33014e9e1d374"><div class="ttname"><a href="a00191.html#gac2eaed287bb215cf0bd33014e9e1d374">hwloc_plugin_check_namespace</a></div><div class="ttdeci">static int hwloc_plugin_check_namespace(const char *pluginname, const char *symbol)</div><div class="ttdoc">Make sure that plugins can lookup core symbols. </div><div class="ttdef"><b>Definition:</b> plugins.h:366</div></div>
+<div class="ttc" id="a00189_html_gga21513209613570877b6bfa9898106f2aadc96f2cf3bdd5d41e102dfa1e1976b24"><div class="ttname"><a href="a00189.html#gga21513209613570877b6bfa9898106f2aadc96f2cf3bdd5d41e102dfa1e1976b24">HWLOC_BACKEND_FLAG_NEED_LEVELS</a></div><div class="ttdoc">Levels should be reconnected before this backend discover() is used. </div><div class="ttdef"><b>Definition:</b> plugins.h:163</div></div>
+<div class="ttc" id="a00191_html_gafd853fd67e12c32916201d8303ef39d2"><div class="ttname"><a href="a00191.html#gafd853fd67e12c32916201d8303ef39d2">hwloc_insert_object_by_cpuset</a></div><div class="ttdeci">struct hwloc_obj * hwloc_insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj)</div><div class="ttdoc">Add an object to the topology. </div></div>
+<div class="ttc" id="a00188_html_gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7"><div class="ttname"><a href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7">HWLOC_DISC_COMPONENT_TYPE_MISC</a></div><div class="ttdoc">OpenCL, Cuda, etc. </div><div class="ttdef"><b>Definition:</b> plugins.h:42</div></div>
+<div class="ttc" id="a00192_html_ga2ea3e9c02eabd8c5768745c8a99d7fed"><div class="ttname"><a href="a00192.html#ga2ea3e9c02eabd8c5768745c8a99d7fed">hwloc_insert_pci_device_list</a></div><div class="ttdeci">int hwloc_insert_pci_device_list(struct hwloc_backend *backend, struct hwloc_obj *first_obj)</div><div class="ttdoc">Insert a list of PCI devices and bridges in the backend topology. </div></div>
+<div class="ttc" id="a00204_html_a68766f0b1c4d61b5bad87e3b81dacfde"><div class="ttname"><a href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde">hwloc_obj::os_level</a></div><div class="ttdeci">signed os_level</div><div class="ttdoc">OS-provided physical level, -1 if unknown or meaningless. </div><div class="ttdef"><b>Definition:</b> hwloc.h:396</div></div>
+<div class="ttc" id="a00188_html_gga0dceb95fada01e5e4558429912053ca7aa09e6a39b61eda5364eada626da88ecc"><div class="ttname"><a href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aa09e6a39b61eda5364eada626da88ecc">HWLOC_DISC_COMPONENT_TYPE_CPU</a></div><div class="ttdoc">CPU-only discovery through the OS, or generic no-OS support. </div><div class="ttdef"><b>Definition:</b> plugins.h:31</div></div>
+<div class="ttc" id="a00304_html_a5209e6508c110dcd4c3c296466f07cb3"><div class="ttname"><a href="a00304.html#a5209e6508c110dcd4c3c296466f07cb3">hwloc_backend::is_custom</a></div><div class="ttdeci">int is_custom</div><div class="ttdoc">Backend-specific &#39;is_custom&#39; property. Shortcut on !strcmp(..->component->name, "custom"). Only the custom component should touch this. </div><div class="ttdef"><b>Definition:</b> plugins.h:130</div></div>
+<div class="ttc" id="a00304_html_ab8806f6db077f1bb2e9d63ec99223f7a"><div class="ttname"><a href="a00304.html#ab8806f6db077f1bb2e9d63ec99223f7a">hwloc_backend::is_thissystem</a></div><div class="ttdeci">int is_thissystem</div><div class="ttdoc">Backend-specific &#39;is_thissystem&#39; property. Set to 0 or 1 if the backend should enforce the thissystem...</div><div class="ttdef"><b>Definition:</b> plugins.h:135</div></div>
+<div class="ttc" id="a00304_html_a36c4fa86350525b46340c67b802c69c7"><div class="ttname"><a href="a00304.html#a36c4fa86350525b46340c67b802c69c7">hwloc_backend::disable</a></div><div class="ttdeci">void(* disable)(struct hwloc_backend *backend)</div><div class="ttdoc">Callback for freeing the private_data. May be NULL. </div><div class="ttdef"><b>Definition:</b> plugins.h:142</div></div>
+<div class="ttc" id="a00188_html_gga0dceb95fada01e5e4558429912053ca7a7d7e7114cca4165eee72efb9b39b3d6d"><div class="ttname"><a href="a00188.html#gga0dceb95fada01e5e4558429912053ca7a7d7e7114cca4165eee72efb9b39b3d6d">HWLOC_DISC_COMPONENT_TYPE_GLOBAL</a></div><div class="ttdoc">xml, synthetic or custom, platform-specific components such as bgq. Anything the discovers CPU and ev...</div><div class="ttdef"><b>Definition:</b> plugins.h:38</div></div>
+<div class="ttc" id="a00304_html_aaa8eafe495aadd81c2e3c4ec527c10ba"><div class="ttname"><a href="a00304.html#aaa8eafe495aadd81c2e3c4ec527c10ba">hwloc_backend::flags</a></div><div class="ttdeci">unsigned long flags</div><div class="ttdoc">Backend flags, as an OR&#39;ed set of hwloc_backend_flag_e. </div><div class="ttdef"><b>Definition:</b> plugins.h:125</div></div>
+<div class="ttc" id="a00191_html_ga3ae154590328522a864f4a7fb453b562"><div class="ttname"><a href="a00191.html#ga3ae154590328522a864f4a7fb453b562">hwloc_report_os_error</a></div><div class="ttdeci">void hwloc_report_os_error(const char *msg, int line)</div><div class="ttdoc">Report an insertion error from a backend. </div></div>
+<div class="ttc" id="a00300_html_a34144f4d59bf46524e4875194652412b"><div class="ttname"><a href="a00300.html#a34144f4d59bf46524e4875194652412b">hwloc_disc_component::excludes</a></div><div class="ttdeci">unsigned excludes</div><div class="ttdoc">Component types to exclude, as an OR&#39;ed set of hwloc_disc_component_type_e. </div><div class="ttdef"><b>Definition:</b> plugins.h:67</div></div>
+<div class="ttc" id="a00204_html_a67925e0f2c47f50408fbdb9bddd0790f"><div class="ttname"><a href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">hwloc_obj::cpuset</a></div><div class="ttdeci">hwloc_cpuset_t cpuset</div><div class="ttdoc">CPUs covered by this object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:421</div></div>
+<div class="ttc" id="a00192_html_ga4bed8bd79337d4bc84b884a6ccd14f16"><div class="ttname"><a href="a00192.html#ga4bed8bd79337d4bc84b884a6ccd14f16">hwloc_pci_find_cap</a></div><div class="ttdeci">unsigned hwloc_pci_find_cap(const unsigned char *config, unsigned cap)</div><div class="ttdoc">Return the offset of the given capability in the PCI config space buffer. </div></div>
+<div class="ttc" id="a00189_html_gaa4edf46c5d88eef53b3b8f572d88b9c5"><div class="ttname"><a href="a00189.html#gaa4edf46c5d88eef53b3b8f572d88b9c5">hwloc_backend_enable</a></div><div class="ttdeci">int hwloc_backend_enable(struct hwloc_topology *topology, struct hwloc_backend *backend)</div><div class="ttdoc">Enable a previously allocated and setup backend. </div></div>
+<div class="ttc" id="a00192_html_ga749e75eeea108be0608fcba7c113f736"><div class="ttname"><a href="a00192.html#ga749e75eeea108be0608fcba7c113f736">hwloc_pci_find_linkspeed</a></div><div class="ttdeci">int hwloc_pci_find_linkspeed(const unsigned char *config, unsigned offset, float *linkspeed)</div><div class="ttdoc">Fill linkspeed by reading the PCI config space where PCI_CAP_ID_EXP is at position offset...</div></div>
+<div class="ttc" id="a00189_html_ga505a5470745bf0b601f4d25a69601411"><div class="ttname"><a href="a00189.html#ga505a5470745bf0b601f4d25a69601411">hwloc_backends_get_obj_cpuset</a></div><div class="ttdeci">int hwloc_backends_get_obj_cpuset(struct hwloc_backend *caller, struct hwloc_obj *obj, hwloc_bitmap_t cpuset)</div><div class="ttdoc">Used by backends discovery callbacks to request locality information from others. ...</div></div>
+<div class="ttc" id="a00204_html_a61a7a80a68eaccbaaa28269e678c81a9"><div class="ttname"><a href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">hwloc_obj::os_index</a></div><div class="ttdeci">unsigned os_index</div><div class="ttdoc">OS-provided physical index number. It is not guaranteed unique across the entire machine, except for PUs and NUMA nodes. </div><div class="ttdef"><b>Definition:</b> hwloc.h:362</div></div>
+<div class="ttc" id="a00300_html"><div class="ttname"><a href="a00300.html">hwloc_disc_component</a></div><div class="ttdoc">Discovery component structure. </div><div class="ttdef"><b>Definition:</b> plugins.h:50</div></div>
+<div class="ttc" id="a00189_html_ga330a0b581de4817d0cf1e7401db22436"><div class="ttname"><a href="a00189.html#ga330a0b581de4817d0cf1e7401db22436">hwloc_backend_alloc</a></div><div class="ttdeci">struct hwloc_backend * hwloc_backend_alloc(struct hwloc_disc_component *component)</div><div class="ttdoc">Allocate a backend structure, set good default values, initialize backend->component and topology...</div></div>
+<div class="ttc" id="a00151_html_gacd37bb612667dc437d66bfb175a8dc55"><div class="ttname"><a href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a></div><div class="ttdeci">hwloc_obj_type_t</div><div class="ttdoc">Type of topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:170</div></div>
+<div class="ttc" id="a00188_html_ga5c6112c1a7497e5f481b9634059d47b1"><div class="ttname"><a href="a00188.html#ga5c6112c1a7497e5f481b9634059d47b1">hwloc_disc_component_type_t</a></div><div class="ttdeci">enum hwloc_disc_component_type_e hwloc_disc_component_type_t</div><div class="ttdoc">Discovery component type. </div></div>
+<div class="ttc" id="a00300_html_ad070350354cbd665803fc86fe48cdb3d"><div class="ttname"><a href="a00300.html#ad070350354cbd665803fc86fe48cdb3d">hwloc_disc_component::type</a></div><div class="ttdeci">hwloc_disc_component_type_t type</div><div class="ttdoc">Discovery component type. </div><div class="ttdef"><b>Definition:</b> plugins.h:52</div></div>
+<div class="ttc" id="a00191_html_gabb240e5b856a34963078ccec9a785ac1"><div class="ttname"><a href="a00191.html#gabb240e5b856a34963078ccec9a785ac1">hwloc_fill_object_sets</a></div><div class="ttdeci">int hwloc_fill_object_sets(hwloc_obj_t obj)</div><div class="ttdoc">Setup object cpusets/nodesets by OR&#39;ing its children. </div></div>
+<div class="ttc" id="a00304_html_a2ea5bd36b7f06efdb65b98b32af16c68"><div class="ttname"><a href="a00304.html#a2ea5bd36b7f06efdb65b98b32af16c68">hwloc_backend::private_data</a></div><div class="ttdeci">void * private_data</div><div class="ttdoc">Backend private data, or NULL if none. </div><div class="ttdef"><b>Definition:</b> plugins.h:138</div></div>
+<div class="ttc" id="a00191_html_ga1ac8191022b0d3b1bf0070e11d1f1155"><div class="ttname"><a href="a00191.html#ga1ac8191022b0d3b1bf0070e11d1f1155">hwloc_report_error_t</a></div><div class="ttdeci">void(* hwloc_report_error_t)(const char *msg, int line)</div><div class="ttdoc">Type of error callbacks during object insertion. </div><div class="ttdef"><b>Definition:</b> plugins.h:293</div></div>
+<div class="ttc" id="a00191_html_ga64d210fcfd7e517095319420bf40ed0a"><div class="ttname"><a href="a00191.html#ga64d210fcfd7e517095319420bf40ed0a">hwloc_alloc_setup_object</a></div><div class="ttdeci">static struct hwloc_obj * hwloc_alloc_setup_object(hwloc_obj_type_t type, signed os_index)</div><div class="ttdoc">Allocate and initialize an object of the given type and physical index. </div><div class="ttdef"><b>Definition:</b> plugins.h:323</div></div>
+<div class="ttc" id="a00304_html_aeb9e1dcf68853a65355082b359a3a2d7"><div class="ttname"><a href="a00304.html#aeb9e1dcf68853a65355082b359a3a2d7">hwloc_backend::discover</a></div><div class="ttdeci">int(* discover)(struct hwloc_backend *backend)</div><div class="ttdoc">Main discovery callback. returns > 0 if it modified the topology tree, -1 on error, 0 otherwise. May be NULL if type is HWLOC_DISC_COMPONENT_TYPE_MISC. </div><div class="ttdef"><b>Definition:</b> plugins.h:147</div></div>
+<div class="ttc" id="a00300_html_a4064c3b5d9213027e87caebef380a840"><div class="ttname"><a href="a00300.html#a4064c3b5d9213027e87caebef380a840">hwloc_disc_component::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">Name. If this component is built as a plugin, this name does not have to match the plugin filename...</div><div class="ttdef"><b>Definition:</b> plugins.h:57</div></div>
+<div class="ttc" id="a00308_html_a4b8cffd1d943c29fdc102b841b8598d4"><div class="ttname"><a href="a00308.html#a4b8cffd1d943c29fdc102b841b8598d4">hwloc_component::data</a></div><div class="ttdeci">void * data</div><div class="ttdoc">Component data, pointing to a struct hwloc_disc_component or struct hwloc_xml_component. </div><div class="ttdef"><b>Definition:</b> plugins.h:258</div></div>
+<div class="ttc" id="a00191_html_ga56d4e5fec377bf09f136b4e8e280e30f"><div class="ttname"><a href="a00191.html#ga56d4e5fec377bf09f136b4e8e280e30f">hwloc__insert_object_by_cpuset</a></div><div class="ttdeci">struct hwloc_obj * hwloc__insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj, hwloc_report_error_t report_error)</div><div class="ttdoc">Add an object to the topology and specify which error callback to use. </div></div>
+<div class="ttc" id="a00188_html_ga0dceb95fada01e5e4558429912053ca7"><div class="ttname"><a href="a00188.html#ga0dceb95fada01e5e4558429912053ca7">hwloc_disc_component_type_e</a></div><div class="ttdeci">hwloc_disc_component_type_e</div><div class="ttdoc">Discovery component type. </div><div class="ttdef"><b>Definition:</b> plugins.h:28</div></div>
+<div class="ttc" id="a00308_html"><div class="ttname"><a href="a00308.html">hwloc_component</a></div><div class="ttdoc">Generic component structure. </div><div class="ttdef"><b>Definition:</b> plugins.h:215</div></div>
+<div class="ttc" id="a00300_html_ae86d283c272c5ae24073a235efbf6b59"><div class="ttname"><a href="a00300.html#ae86d283c272c5ae24073a235efbf6b59">hwloc_disc_component::priority</a></div><div class="ttdeci">unsigned priority</div><div class="ttdoc">Component priority. Used to sort topology->components, higher priority first. Also used to decide bet...</div><div class="ttdef"><b>Definition:</b> plugins.h:86</div></div>
+<div class="ttc" id="a00204_html_acc4f0803f244867e68fe0036800be5de"><div class="ttname"><a href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj::type</a></div><div class="ttdeci">hwloc_obj_type_t type</div><div class="ttdoc">Type of object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:360</div></div>
+<div class="ttc" id="a00192_html_ga80fa1e3d882b5c2225dd6dd01e098ad0"><div class="ttname"><a href="a00192.html#ga80fa1e3d882b5c2225dd6dd01e098ad0">hwloc_pci_prepare_bridge</a></div><div class="ttdeci">int hwloc_pci_prepare_bridge(hwloc_obj_t obj, const unsigned char *config)</div><div class="ttdoc">Modify the PCI device object into a bridge and fill its attribute if a bridge is found in the PCI con...</div></div>
+<div class="ttc" id="a00308_html_a789208ada7e17492cfd3a5a88a6bb0ee"><div class="ttname"><a href="a00308.html#a789208ada7e17492cfd3a5a88a6bb0ee">hwloc_component::type</a></div><div class="ttdeci">hwloc_component_type_t type</div><div class="ttdoc">Component type. </div><div class="ttdef"><b>Definition:</b> plugins.h:252</div></div>
+<div class="ttc" id="a00190_html_ga0aebfa65317af10bb18d7d35f6dc05b8"><div class="ttname"><a href="a00190.html#ga0aebfa65317af10bb18d7d35f6dc05b8">hwloc_component_type_t</a></div><div class="ttdeci">enum hwloc_component_type_e hwloc_component_type_t</div><div class="ttdoc">Generic component type. </div></div>
+<div class="ttc" id="a00304_html"><div class="ttname"><a href="a00304.html">hwloc_backend</a></div><div class="ttdoc">Discovery backend structure. </div><div class="ttdef"><b>Definition:</b> plugins.h:114</div></div>
+<div class="ttc" id="a00204_html"><div class="ttname"><a href="a00204.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object. </div><div class="ttdef"><b>Definition:</b> hwloc.h:358</div></div>
+<div class="ttc" id="a00174_html_gaa3c2bf4c776d603dcebbb61b0c923d84"><div class="ttname"><a href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></div><div class="ttdeci">struct hwloc_bitmap_s * hwloc_bitmap_t</div><div class="ttdoc">Set of bits represented as an opaque pointer to an internal bitmap. </div><div class="ttdef"><b>Definition:</b> bitmap.h:63</div></div>
+<div class="ttc" id="a00190_html_gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd"><div class="ttname"><a href="a00190.html#gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd">HWLOC_COMPONENT_TYPE_XML</a></div><div class="ttdoc">The data field must point to a struct hwloc_xml_component. </div><div class="ttdef"><b>Definition:</b> plugins.h:207</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): API version</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#define-members">Macros</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">API version</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
+Macros</h2></td></tr>
+<tr class="memitem:ga8f4dfb8eef138af55dd1a0fa802e5476"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00149.html#ga8f4dfb8eef138af55dd1a0fa802e5476">HWLOC_API_VERSION</a>   0x00010b06</td></tr>
+<tr class="separator:ga8f4dfb8eef138af55dd1a0fa802e5476"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaac5bc1f46f55e10ef0141a68ce70e21f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00149.html#gaac5bc1f46f55e10ef0141a68ce70e21f">HWLOC_COMPONENT_ABI</a>   4</td></tr>
+<tr class="separator:gaac5bc1f46f55e10ef0141a68ce70e21f"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga9c0b50c98add1adf57ed1ce85bb5190d"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00149.html#ga9c0b50c98add1adf57ed1ce85bb5190d">hwloc_get_api_version</a> (void)</td></tr>
+<tr class="separator:ga9c0b50c98add1adf57ed1ce85bb5190d"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Macro Definition Documentation</h2>
+<a id="ga8f4dfb8eef138af55dd1a0fa802e5476"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8f4dfb8eef138af55dd1a0fa802e5476">◆ </a></span>HWLOC_API_VERSION</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define HWLOC_API_VERSION   0x00010b06</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Indicate at build time which hwloc API version is being used. </p>
+<p>This number is updated to (X<<16)+(Y<<8)+Z when a new release X.Y.Z actually modifies the API.</p>
+<p>Users may check for available features at build time using this number (see <a class="el" href="a00323.html#faq_upgrade">How do I handle ABI breaks and API upgrades?</a>). </p>
+
+</div>
+</div>
+<a id="gaac5bc1f46f55e10ef0141a68ce70e21f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaac5bc1f46f55e10ef0141a68ce70e21f">◆ </a></span>HWLOC_COMPONENT_ABI</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define HWLOC_COMPONENT_ABI   4</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Current component and plugin ABI version (see <a class="el" href="a00146_source.html" title="Public interface for building hwloc plugins. ">hwloc/plugins.h</a>) </p>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga9c0b50c98add1adf57ed1ce85bb5190d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9c0b50c98add1adf57ed1ce85bb5190d">◆ </a></span>hwloc_get_api_version()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_get_api_version </td>
+ <td>(</td>
+ <td class="paramtype">void </td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Indicate at runtime which hwloc API version was used at build time. </p>
+<p>Should be <a class="el" href="a00149.html#ga8f4dfb8eef138af55dd1a0fa802e5476" title="Indicate at build time which hwloc API version is being used. ">HWLOC_API_VERSION</a> if running on the same version. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Object Sets (hwloc_cpuset_t and hwloc_nodeset_t)</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#typedef-members">Typedefs</a> </div>
+ <div class="headertitle">
+<div class="title">Object Sets (hwloc_cpuset_t and hwloc_nodeset_t)</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:ga4bbf39b68b6f568fb92739e7c0ea7801"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></td></tr>
+<tr class="separator:ga4bbf39b68b6f568fb92739e7c0ea7801"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga1f784433e9b606261f62d1134f6a3b25"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></td></tr>
+<tr class="separator:ga1f784433e9b606261f62d1134f6a3b25"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga37e35730fa7e775b5bb0afe893d6d508"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a></td></tr>
+<tr class="separator:ga37e35730fa7e775b5bb0afe893d6d508"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2f5276235841ad66a79bedad16a5a10c"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></td></tr>
+<tr class="separator:ga2f5276235841ad66a79bedad16a5a10c"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Hwloc uses bitmaps to represent two distinct kinds of object sets: CPU sets (<a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801" title="A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. ">hwloc_cpuset_t</a>) and NUMA node sets (<a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508" title="A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes...">hwloc_nodeset_t</a>). These types are both typedefs to a common back end type (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a>), and therefore all the hwloc bitmap functions are applicable to both <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801" title="A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. ">hwloc_cpuset_t</a> and <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508" title="A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes...">hwloc_nodeset_t</a> (see <a class="el" href="a00174.html">The bitmap API</a>).</p>
+<p>The rationale for having two different types is that even though the actions one wants to perform on these types are the same (e.g., enable and disable individual items in the set/mask), they're used in very different contexts: one for specifying which processors to use and one for specifying which NUMA nodes to use. Hence, the name difference is really just to reflect the intent of where the type is used. </p>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga1f784433e9b606261f62d1134f6a3b25"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1f784433e9b606261f62d1134f6a3b25">◆ </a></span>hwloc_const_cpuset_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>A non-modifiable <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801" title="A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. ">hwloc_cpuset_t</a>. </p>
+
+</div>
+</div>
+<a id="ga2f5276235841ad66a79bedad16a5a10c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2f5276235841ad66a79bedad16a5a10c">◆ </a></span>hwloc_const_nodeset_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>A non-modifiable <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508" title="A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes...">hwloc_nodeset_t</a>. </p>
+
+</div>
+</div>
+<a id="ga4bbf39b68b6f568fb92739e7c0ea7801"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4bbf39b68b6f568fb92739e7c0ea7801">◆ </a></span>hwloc_cpuset_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. </p>
+<p>It may be consulted and modified with the bitmap API as any <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a> (see <a class="el" href="a00107_source.html" title="The bitmap API, for use in hwloc itself. ">hwloc/bitmap.h</a>).</p>
+<p>Each bit may be converted into a PU object using <a class="el" href="a00168.html#ga751c238a4931db5cc0ca3181b7dd7479" title="Returns the object of type HWLOC_OBJ_PU with os_index. ">hwloc_get_pu_obj_by_os_index()</a>. </p>
+
+</div>
+</div>
+<a id="ga37e35730fa7e775b5bb0afe893d6d508"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga37e35730fa7e775b5bb0afe893d6d508">◆ </a></span>hwloc_nodeset_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes. </p>
+<p>It may be consulted and modified with the bitmap API as any <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a> (see <a class="el" href="a00107_source.html" title="The bitmap API, for use in hwloc itself. ">hwloc/bitmap.h</a>). Each bit may be converted into a NUMA node object using <a class="el" href="a00168.html#gab89d9ed9edfaa3dd526fb6ee1a1618ea" title="Returns the object of type HWLOC_OBJ_NUMANODE with os_index. ">hwloc_get_numanode_obj_by_os_index()</a>.</p>
+<p>When binding memory on a system without any NUMA node (when the whole memory is considered as a single memory bank), the nodeset may be either empty (no memory selected) or full (whole system memory selected).</p>
+<p>See also <a class="el" href="a00171.html">Converting between CPU sets and node sets</a>. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Object Types</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#typedef-members">Typedefs</a> |
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Object Types</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:gab6e1e7efedae8b341f3ee14fbe53d66c"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a00151.html#ga791c9875c8fe20f3e1e5871e0657e59b">hwloc_obj_cache_type_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a></td></tr>
+<tr class="separator:gab6e1e7efedae8b341f3ee14fbe53d66c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0a947e8c5adcc729b126bd09c01a0153"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a00151.html#ga48a4803c72574191d7ead1c62aaf9860">hwloc_obj_bridge_type_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a></td></tr>
+<tr class="separator:ga0a947e8c5adcc729b126bd09c01a0153"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga90c1e82a60ba5871d07645169e636987"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a00151.html#ga64f5d539df299c97ae80ce53fc4b56c0">hwloc_obj_osdev_type_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#ga90c1e82a60ba5871d07645169e636987">hwloc_obj_osdev_type_t</a></td></tr>
+<tr class="separator:ga90c1e82a60ba5871d07645169e636987"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:gacd37bb612667dc437d66bfb175a8dc55"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> { <br />
+  <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec">HWLOC_OBJ_SYSTEM</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80">HWLOC_OBJ_MACHINE</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129">HWLOC_OBJ_PACKAGE</a>,
+<br />
+  <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f">HWLOC_OBJ_CORE</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661">HWLOC_OBJ_PU</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56">HWLOC_OBJ_GROUP</a>,
+<br />
+  <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d">HWLOC_OBJ_MISC</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0">HWLOC_OBJ_BRIDGE</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a>,
+<a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075">HWLOC_OBJ_OS_DEVICE</a>
+<br />
+ }</td></tr>
+<tr class="separator:gacd37bb612667dc437d66bfb175a8dc55"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga791c9875c8fe20f3e1e5871e0657e59b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#ga791c9875c8fe20f3e1e5871e0657e59b">hwloc_obj_cache_type_e</a> { <a class="el" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a">HWLOC_OBJ_CACHE_UNIFIED</a>,
+<a class="el" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488">HWLOC_OBJ_CACHE_DATA</a>,
+<a class="el" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658">HWLOC_OBJ_CACHE_INSTRUCTION</a>
+ }</td></tr>
+<tr class="separator:ga791c9875c8fe20f3e1e5871e0657e59b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga48a4803c72574191d7ead1c62aaf9860"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#ga48a4803c72574191d7ead1c62aaf9860">hwloc_obj_bridge_type_e</a> { <a class="el" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574">HWLOC_OBJ_BRIDGE_HOST</a>,
+<a class="el" href="a00151.html#gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60">HWLOC_OBJ_BRIDGE_PCI</a>
+ }</td></tr>
+<tr class="separator:ga48a4803c72574191d7ead1c62aaf9860"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga64f5d539df299c97ae80ce53fc4b56c0"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#ga64f5d539df299c97ae80ce53fc4b56c0">hwloc_obj_osdev_type_e</a> { <br />
+  <a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871">HWLOC_OBJ_OSDEV_BLOCK</a>,
+<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90">HWLOC_OBJ_OSDEV_GPU</a>,
+<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b">HWLOC_OBJ_OSDEV_NETWORK</a>,
+<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6">HWLOC_OBJ_OSDEV_OPENFABRICS</a>,
+<br />
+  <a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791">HWLOC_OBJ_OSDEV_DMA</a>,
+<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83">HWLOC_OBJ_OSDEV_COPROC</a>
+<br />
+ }</td></tr>
+<tr class="separator:ga64f5d539df299c97ae80ce53fc4b56c0"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga46323568968005137c32f6a1cd405b74"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#ga46323568968005137c32f6a1cd405b74">hwloc_compare_types_e</a> { <a class="el" href="a00151.html#gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb">HWLOC_TYPE_UNORDERED</a>
+ }</td></tr>
+<tr class="separator:ga46323568968005137c32f6a1cd405b74"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga1820ea0dfd8e9dca28f9ea7624df5ae2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html#ga1820ea0dfd8e9dca28f9ea7624df5ae2">hwloc_compare_types</a> (<a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type1, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type2)</td></tr>
+<tr class="separator:ga1820ea0dfd8e9dca28f9ea7624df5ae2"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga0a947e8c5adcc729b126bd09c01a0153"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0a947e8c5adcc729b126bd09c01a0153">◆ </a></span>hwloc_obj_bridge_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef enum <a class="el" href="a00151.html#ga48a4803c72574191d7ead1c62aaf9860">hwloc_obj_bridge_type_e</a> <a class="el" href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of one side (upstream or downstream) of an I/O bridge. </p>
+
+</div>
+</div>
+<a id="gab6e1e7efedae8b341f3ee14fbe53d66c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab6e1e7efedae8b341f3ee14fbe53d66c">◆ </a></span>hwloc_obj_cache_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef enum <a class="el" href="a00151.html#ga791c9875c8fe20f3e1e5871e0657e59b">hwloc_obj_cache_type_e</a> <a class="el" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Cache type. </p>
+
+</div>
+</div>
+<a id="ga90c1e82a60ba5871d07645169e636987"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga90c1e82a60ba5871d07645169e636987">◆ </a></span>hwloc_obj_osdev_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef enum <a class="el" href="a00151.html#ga64f5d539df299c97ae80ce53fc4b56c0">hwloc_obj_osdev_type_e</a> <a class="el" href="a00151.html#ga90c1e82a60ba5871d07645169e636987">hwloc_obj_osdev_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of a OS device. </p>
+
+</div>
+</div>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga46323568968005137c32f6a1cd405b74"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga46323568968005137c32f6a1cd405b74">◆ </a></span>hwloc_compare_types_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00151.html#ga46323568968005137c32f6a1cd405b74">hwloc_compare_types_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb"></a>HWLOC_TYPE_UNORDERED </td><td class="fielddoc"><p>Value returned by <a class="el" href="a00151.html#ga1820ea0dfd8e9dca28f9ea7624df5ae2" title="Compare the depth of two object types. ">hwloc_compare_types()</a> when types can not be compared. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<a id="ga48a4803c72574191d7ead1c62aaf9860"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga48a4803c72574191d7ead1c62aaf9860">◆ </a></span>hwloc_obj_bridge_type_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00151.html#ga48a4803c72574191d7ead1c62aaf9860">hwloc_obj_bridge_type_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of one side (upstream or downstream) of an I/O bridge. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574"></a>HWLOC_OBJ_BRIDGE_HOST </td><td class="fielddoc"><p>Host-side of a bridge, only possible upstream. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60"></a>HWLOC_OBJ_BRIDGE_PCI </td><td class="fielddoc"><p>PCI-side of a bridge. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<a id="ga791c9875c8fe20f3e1e5871e0657e59b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga791c9875c8fe20f3e1e5871e0657e59b">◆ </a></span>hwloc_obj_cache_type_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00151.html#ga791c9875c8fe20f3e1e5871e0657e59b">hwloc_obj_cache_type_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Cache type. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a"></a>HWLOC_OBJ_CACHE_UNIFIED </td><td class="fielddoc"><p>Unified cache. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488"></a>HWLOC_OBJ_CACHE_DATA </td><td class="fielddoc"><p>Data cache. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658"></a>HWLOC_OBJ_CACHE_INSTRUCTION </td><td class="fielddoc"><p>Instruction cache. Only used when the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d" title="Detect instruction caches. ">HWLOC_TOPOLOGY_FLAG_ICACHES</a> topology flag is set. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<a id="ga64f5d539df299c97ae80ce53fc4b56c0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga64f5d539df299c97ae80ce53fc4b56c0">◆ </a></span>hwloc_obj_osdev_type_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00151.html#ga64f5d539df299c97ae80ce53fc4b56c0">hwloc_obj_osdev_type_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of a OS device. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871"></a>HWLOC_OBJ_OSDEV_BLOCK </td><td class="fielddoc"><p>Operating system block device. For instance "sda" on Linux. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90"></a>HWLOC_OBJ_OSDEV_GPU </td><td class="fielddoc"><p>Operating system GPU device. For instance ":0.0" for a GL display, "card0" for a Linux DRM device. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b"></a>HWLOC_OBJ_OSDEV_NETWORK </td><td class="fielddoc"><p>Operating system network device. For instance the "eth0" interface on Linux. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6"></a>HWLOC_OBJ_OSDEV_OPENFABRICS </td><td class="fielddoc"><p>Operating system openfabrics device. For instance the "mlx4_0" InfiniBand HCA, or "hfi1_0" Omni-Path interface on Linux. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791"></a>HWLOC_OBJ_OSDEV_DMA </td><td class="fielddoc"><p>Operating system dma engine device. For instance the "dma0chan0" DMA channel on Linux. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83"></a>HWLOC_OBJ_OSDEV_COPROC </td><td class="fielddoc"><p>Operating system co-processor device. For instance "mic0" for a Xeon Phi (MIC) on Linux, "opencl0d0" for a OpenCL device, "cuda0" for a CUDA device. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<a id="gacd37bb612667dc437d66bfb175a8dc55"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacd37bb612667dc437d66bfb175a8dc55">◆ </a></span>hwloc_obj_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of topology object. </p>
+<dl class="section note"><dt>Note</dt><dd>Do not rely on the ordering or completeness of the values as new ones may be defined in the future! If you need to compare types, use <a class="el" href="a00151.html#ga1820ea0dfd8e9dca28f9ea7624df5ae2" title="Compare the depth of two object types. ">hwloc_compare_types()</a> instead. </dd></dl>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec"></a>HWLOC_OBJ_SYSTEM </td><td class="fielddoc"><p>Whole system (may be a cluster of machines). The whole system that is accessible to hwloc. That may comprise several machines in SSI systems like Kerrighed. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80"></a>HWLOC_OBJ_MACHINE </td><td class="fielddoc"><p>Machine. The typical root object type. A set of processors and memory with cache coherency. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a"></a>HWLOC_OBJ_NUMANODE </td><td class="fielddoc"><p>NUMA node. An object that contains memory that is directly and byte-accessible to the host processors. It is usually close to some cores (the corresponding objects are descendants of the NUMA node object in the hwloc tree). </p>
+<p>There is always at one such object in the topology even if the machine is not NUMA. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129"></a>HWLOC_OBJ_PACKAGE </td><td class="fielddoc"><p>Physical package. The physical package that usually gets inserted into a socket on the motherboard. A processor package usually contains multiple cores. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc"></a>HWLOC_OBJ_CACHE </td><td class="fielddoc"><p>Cache. Can be L1i, L1d, L2, L3, ... </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f"></a>HWLOC_OBJ_CORE </td><td class="fielddoc"><p>Core. A computation unit (may be shared by several logical processors). </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661"></a>HWLOC_OBJ_PU </td><td class="fielddoc"><p>Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical processors, e.g. in the case of an SMT core). </p>
+<p>Objects of this kind are always reported and can thus be used as fallback when others are not. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56"></a>HWLOC_OBJ_GROUP </td><td class="fielddoc"><p>Group objects. Objects which do not fit in the above but are detected by hwloc and are useful to take into account for affinity. For instance, some operating systems expose their arbitrary processors aggregation this way. And hwloc may insert such objects to group NUMA nodes according to their distances. See also <a class="el" href="a00323.html#faq_groups">What are these Group objects in my topology?</a>. </p>
+<p>These objects are ignored when they do not bring any structure. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d"></a>HWLOC_OBJ_MISC </td><td class="fielddoc"><p>Miscellaneous objects. Objects without particular meaning, that can e.g. be added by the application for its own use, or by hwloc for miscellaneous objects such as MemoryModule (DIMMs). </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0"></a>HWLOC_OBJ_BRIDGE </td><td class="fielddoc"><p>Bridge. Any bridge that connects the host or an I/O bus, to another I/O bus. Bridge objects have neither CPU sets nor node sets. They are not added to the topology unless I/O discovery is enabled with <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a>. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"></a>HWLOC_OBJ_PCI_DEVICE </td><td class="fielddoc"><p>PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unless I/O discovery is enabled with <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a>. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075"></a>HWLOC_OBJ_OS_DEVICE </td><td class="fielddoc"><p>Operating system device. These objects have neither CPU sets nor node sets. They are not added to the topology unless I/O discovery is enabled with <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a>. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga1820ea0dfd8e9dca28f9ea7624df5ae2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1820ea0dfd8e9dca28f9ea7624df5ae2">◆ </a></span>hwloc_compare_types()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_compare_types </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compare the depth of two object types. </p>
+<p>Types shouldn't be compared as they are, since newer ones may be added in the future. This function returns less than, equal to, or greater than zero respectively if <code>type1</code> objects usually include <code>type2</code> objects, are the same as <code>type2</code> objects, or are included in <code>type2</code> objects. If the types can not be compared (because neither is usually contained in the other), <a class="el" href="a00151.html#gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb" title="Value returned by hwloc_compare_types() when types can not be compared. ">HWLOC_TYPE_UNORDERED</a> is returned. Object types containing CPUs can always be compared (usually, a system contains machines which contain nodes which contain packages which contain caches, which contain cores, which contain processors).</p>
+<dl class="section note"><dt>Note</dt><dd><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661" title="Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical ...">HWLOC_OBJ_PU</a> will always be the deepest. </dd>
+<dd>
+This does not mean that the actual topology will respect that order: e.g. as of today cores may also contain caches, and packages may also contain nodes. This is thus just to be seen as a fallback comparison method. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Object Structure and Attributes</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#typedef-members">Typedefs</a> </div>
+ <div class="headertitle">
+<div class="title">Object Structure and Attributes</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00196.html">hwloc_obj_memory_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html">hwloc_obj</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html">hwloc_obj_attr_u</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00244.html">hwloc_distances_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00248.html">hwloc_obj_info_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:ga79b8ab56877ef99ac59b833203391c7d"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></td></tr>
+<tr class="separator:ga79b8ab56877ef99ac59b833203391c7d"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga79b8ab56877ef99ac59b833203391c7d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga79b8ab56877ef99ac59b833203391c7d">◆ </a></span>hwloc_obj_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef struct <a class="el" href="a00204.html">hwloc_obj</a>* <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Convenience typedef; a pointer to a struct <a class="el" href="a00204.html" title="Structure of a topology object. ">hwloc_obj</a>. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Topology Creation and Destruction</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#typedef-members">Typedefs</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Topology Creation and Destruction</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:ga9d1e76ee15a7dee158b786c30b6a6e38"><td class="memItemLeft" align="right" valign="top">typedef struct hwloc_topology * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></td></tr>
+<tr class="separator:ga9d1e76ee15a7dee158b786c30b6a6e38"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa">hwloc_topology_init</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> *topologyp)</td></tr>
+<tr class="separator:ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gabdf58d87ad77f6615fccdfe0535ff826"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826">hwloc_topology_load</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:gabdf58d87ad77f6615fccdfe0535ff826"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga9f34a640b6fd28d23699d4d084667b15"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#ga9f34a640b6fd28d23699d4d084667b15">hwloc_topology_destroy</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga9f34a640b6fd28d23699d4d084667b15"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga62a161fc5e6f120344dc69a7bee4e587"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#ga62a161fc5e6f120344dc69a7bee4e587">hwloc_topology_dup</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> *newtopology, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> oldtopology)</td></tr>
+<tr class="separator:ga62a161fc5e6f120344dc69a7bee4e587"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaf6746bc3a558ef1ac8348b4491d091b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#gaf6746bc3a558ef1ac8348b4491d091b5">hwloc_topology_check</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:gaf6746bc3a558ef1ac8348b4491d091b5"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga9d1e76ee15a7dee158b786c30b6a6e38"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9d1e76ee15a7dee158b786c30b6a6e38">◆ </a></span>hwloc_topology_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef struct hwloc_topology* <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Topology context. </p>
+<p>To be initialized with <a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa" title="Allocate a topology context. ">hwloc_topology_init()</a> and built with <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>. </p>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gaf6746bc3a558ef1ac8348b4491d091b5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf6746bc3a558ef1ac8348b4491d091b5">◆ </a></span>hwloc_topology_check()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_topology_check </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Run internal checks on a topology structure. </p>
+<p>The program aborts if an inconsistency is detected in the given topology.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">topology</td><td>is the topology to be checked</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section note"><dt>Note</dt><dd>This routine is only useful to developers.</dd>
+<dd>
+The input topology should have been previously loaded with <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga9f34a640b6fd28d23699d4d084667b15"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9f34a640b6fd28d23699d4d084667b15">◆ </a></span>hwloc_topology_destroy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_topology_destroy </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Terminate and free a topology context. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">topology</td><td>is the topology to be freed </td></tr>
+ </table>
+ </dd>
+</dl>
+
+</div>
+</div>
+<a id="ga62a161fc5e6f120344dc69a7bee4e587"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga62a161fc5e6f120344dc69a7bee4e587">◆ </a></span>hwloc_topology_dup()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_dup </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> * </td>
+ <td class="paramname"><em>newtopology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>oldtopology</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Duplicate a topology. </p>
+<p>The entire topology structure as well as its objects are duplicated into a new one.</p>
+<p>This is useful for keeping a backup while modifying a topology.</p>
+<dl class="section note"><dt>Note</dt><dd>Object userdata is not duplicated since hwloc does not know what it point to. The objects of both old and new topologies will point to the same userdata. </dd></dl>
+
+</div>
+</div>
+<a id="ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa">◆ </a></span>hwloc_topology_init()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_init </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> * </td>
+ <td class="paramname"><em>topologyp</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate a topology context. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramdir">[out]</td><td class="paramname">topologyp</td><td>is assigned a pointer to the new allocated context.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 on error. </dd></dl>
+
+</div>
+</div>
+<a id="gabdf58d87ad77f6615fccdfe0535ff826"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gabdf58d87ad77f6615fccdfe0535ff826">◆ </a></span>hwloc_topology_load()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_load </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Build the actual topology. </p>
+<p>Build the actual topology once initialized with <a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa" title="Allocate a topology context. ">hwloc_topology_init()</a> and tuned with <a class="el" href="a00154.html">Topology Detection Configuration and Query</a> routines. No other routine may be called earlier using this topology context.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">topology</td><td>is the topology to be loaded with objects.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 on error.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>On failure, the topology is reinitialized. It should be either destroyed with <a class="el" href="a00153.html#ga9f34a640b6fd28d23699d4d084667b15" title="Terminate and free a topology context. ">hwloc_topology_destroy()</a> or configured and loaded again.</dd>
+<dd>
+This function may be called only once per topology.</dd>
+<dd>
+The binding of the current thread or process may temporarily change during this call but it will be restored before it returns.</dd></dl>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00154.html">Topology Detection Configuration and Query</a> </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Topology Detection Configuration and Query</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Topology Detection Configuration and Query</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00252.html">hwloc_topology_discovery_support</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html">hwloc_topology_cpubind_support</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html">hwloc_topology_membind_support</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00264.html">hwloc_topology_support</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:gada025d3ec20b4b420f8038d23d6e7bde"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#gada025d3ec20b4b420f8038d23d6e7bde">hwloc_topology_flags_e</a> { <br />
+  <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8">HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</a>,
+<a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a>,
+<a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41">HWLOC_TOPOLOGY_FLAG_IO_DEVICES</a>,
+<a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea426b18c349f15d7046bb391d96fa947c">HWLOC_TOPOLOGY_FLAG_IO_BRIDGES</a>,
+<br />
+  <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9">HWLOC_TOPOLOGY_FLAG_WHOLE_IO</a>,
+<a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d">HWLOC_TOPOLOGY_FLAG_ICACHES</a>,
+<a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89">HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES</a>
+<br />
+ }</td></tr>
+<tr class="separator:gada025d3ec20b4b420f8038d23d6e7bde"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gafcf30842e8cb47b4c3dcaebecea31e17"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#gafcf30842e8cb47b4c3dcaebecea31e17">hwloc_topology_ignore_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:gafcf30842e8cb47b4c3dcaebecea31e17"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga1f987bca941d6949faf7b1554dd7bc12"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga1f987bca941d6949faf7b1554dd7bc12">hwloc_topology_ignore_type_keep_structure</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga1f987bca941d6949faf7b1554dd7bc12"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7c9cf147442d65d755c664ccde3bb3ef"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga7c9cf147442d65d755c664ccde3bb3ef">hwloc_topology_ignore_all_keep_structure</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga7c9cf147442d65d755c664ccde3bb3ef"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaaeed4df656979e5f16befea9d29b814b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b">hwloc_topology_set_flags</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned long flags)</td></tr>
+<tr class="separator:gaaeed4df656979e5f16befea9d29b814b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga09318f81c1d4713be907d64748a6f93c"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga09318f81c1d4713be907d64748a6f93c">hwloc_topology_get_flags</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga09318f81c1d4713be907d64748a6f93c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga341fc17b5867a4715570baab131f68cd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga341fc17b5867a4715570baab131f68cd">hwloc_topology_set_pid</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology, hwloc_pid_t pid)</td></tr>
+<tr class="separator:ga341fc17b5867a4715570baab131f68cd"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gac0ea95d5f2ad78408bc267a0441c7c97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#gac0ea95d5f2ad78408bc267a0441c7c97">hwloc_topology_set_fsroot</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology, const char *restrict fsroot_path)</td></tr>
+<tr class="separator:gac0ea95d5f2ad78408bc267a0441c7c97"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga4fab186bb6181a00bcf585825fddd38d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga4fab186bb6181a00bcf585825fddd38d">hwloc_topology_set_synthetic</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology, const char *restrict description)</td></tr>
+<tr class="separator:ga4fab186bb6181a00bcf585825fddd38d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga879439b7ee99407ee911b3ac64e9a25e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e">hwloc_topology_set_xml</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology, const char *restrict xmlpath)</td></tr>
+<tr class="separator:ga879439b7ee99407ee911b3ac64e9a25e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2745616b65595e1c1e579ecc7e461fa8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga2745616b65595e1c1e579ecc7e461fa8">hwloc_topology_set_xmlbuffer</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology, const char *restrict buffer, int size)</td></tr>
+<tr class="separator:ga2745616b65595e1c1e579ecc7e461fa8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gad1f15795219e2c3ca6d44ba0db604c4f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f">hwloc_topology_set_custom</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:gad1f15795219e2c3ca6d44ba0db604c4f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga90ed5733946b2e9aba90d2e2c1fbfbd7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga90ed5733946b2e9aba90d2e2c1fbfbd7">hwloc_topology_set_distance_matrix</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, unsigned nbobjs, unsigned *os_index, float *distances)</td></tr>
+<tr class="separator:ga90ed5733946b2e9aba90d2e2c1fbfbd7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga68ffdcfd9175cdf40709801092f18017"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017">hwloc_topology_is_thissystem</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology)</td></tr>
+<tr class="separator:ga68ffdcfd9175cdf40709801092f18017"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab8c76173c4a8ce1a9a9366012b1388e6"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="a00264.html">hwloc_topology_support</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6">hwloc_topology_get_support</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology)</td></tr>
+<tr class="separator:gab8c76173c4a8ce1a9a9366012b1388e6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2cc7b7b155cba58dda203e54f1637b9c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga2cc7b7b155cba58dda203e54f1637b9c">hwloc_topology_set_userdata</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const void *userdata)</td></tr>
+<tr class="separator:ga2cc7b7b155cba58dda203e54f1637b9c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga91f992f8d6c4905b2d3c4f43e509c2a3"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00154.html#ga91f992f8d6c4905b2d3c4f43e509c2a3">hwloc_topology_get_userdata</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga91f992f8d6c4905b2d3c4f43e509c2a3"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Several functions can optionally be called between <a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa" title="Allocate a topology context. ">hwloc_topology_init()</a> and <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> to configure how the detection should be performed, e.g. to ignore some objects types, define a synthetic topology, etc.</p>
+<p>If none of them is called, the default is to detect all the objects of the machine that the caller is allowed to access.</p>
+<p>This default behavior may also be modified through environment variables if the application did not modify it already. Setting HWLOC_XMLFILE in the environment enforces the discovery from a XML file as if <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> had been called. HWLOC_FSROOT switches to reading the topology from the specified Linux filesystem root as if <a class="el" href="a00154.html#gac0ea95d5f2ad78408bc267a0441c7c97" title="Change the file-system root path when building the topology from sysfs/procfs. ">hwloc_topology_set_fsroot()</a> had been called. Finally, HWLOC_THISSYSTEM enforces the return value of <a class="el" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017" title="Does the topology context come from this system? ">hwloc_topology_is_thissystem()</a>. </p>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="gada025d3ec20b4b420f8038d23d6e7bde"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gada025d3ec20b4b420f8038d23d6e7bde">◆ </a></span>hwloc_topology_flags_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00154.html#gada025d3ec20b4b420f8038d23d6e7bde">hwloc_topology_flags_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Flags to be set onto a topology context before load. </p>
+<p>Flags should be given to <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a>. They may also be returned by <a class="el" href="a00154.html#ga09318f81c1d4713be907d64748a6f93c" title="Get OR'ed flags of a topology. ">hwloc_topology_get_flags()</a>. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8"></a>HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM </td><td class="fielddoc"><p>Detect the whole system, ignore reservations and offline settings. </p>
+<p>Gather all resources, even if some were disabled by the administrator. For instance, ignore Linux Cgroup/Cpusets and gather all processors and memory nodes, and ignore the fact that some resources may be offline.</p>
+<p>When this flag is not set, PUs that are disallowed are not added to the topology. Parent objects (package, core, cache, etc.) are added only if some of their children are allowed. NUMA nodes are always added but their available memory is set to 0 when disallowed.</p>
+<p>If the current topology is exported to XML and reimported later, this flag should be set again in the reimported topology so that disallowed resources are reimported as well. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b"></a>HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM </td><td class="fielddoc"><p>Assume that the selected backend provides the topology for the system on which we are running. </p>
+<p>This forces <a class="el" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017" title="Does the topology context come from this system? ">hwloc_topology_is_thissystem()</a> to return 1, i.e. makes hwloc assume that the selected backend provides the topology for the system on which we are running, even if it is not the OS-specific backend but the XML backend for instance. This means making the binding functions actually call the OS-specific system calls and really do binding, while the XML backend would otherwise provide empty hooks just returning success.</p>
+<p>Setting the environment variable HWLOC_THISSYSTEM may also result in the same behavior.</p>
+<p>This can be used for efficiency reasons to first detect the topology once, save it to an XML file, and quickly reload it later through the XML backend, but still having binding functions actually do bind. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41"></a>HWLOC_TOPOLOGY_FLAG_IO_DEVICES </td><td class="fielddoc"><p>Detect PCI devices. </p>
+<p>By default, I/O devices are ignored. This flag enables I/O device detection using the pci backend. Only the common PCI devices (GPUs, NICs, block devices, ...) and host bridges (objects that connect the host objects to an I/O subsystem) will be added to the topology. Additionally it also enables MemoryModule misc objects. Uncommon devices and other bridges (such as PCI-to-PCI bridges) will be ignored. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggada025d3ec20b4b420f8038d23d6e7bdea426b18c349f15d7046bb391d96fa947c"></a>HWLOC_TOPOLOGY_FLAG_IO_BRIDGES </td><td class="fielddoc"><p>Detect PCI bridges. </p>
+<p>This flag should be combined with <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41" title="Detect PCI devices. ">HWLOC_TOPOLOGY_FLAG_IO_DEVICES</a> to enable the detection of both common devices and of all useful bridges (bridges that have at least one device behind them). </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9"></a>HWLOC_TOPOLOGY_FLAG_WHOLE_IO </td><td class="fielddoc"><p>Detect the whole PCI hierarchy. </p>
+<p>This flag enables detection of all I/O devices (even the uncommon ones such as DMA channels) and bridges (even those that have no device behind them) using the pci backend. This implies <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41" title="Detect PCI devices. ">HWLOC_TOPOLOGY_FLAG_IO_DEVICES</a>. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d"></a>HWLOC_TOPOLOGY_FLAG_ICACHES </td><td class="fielddoc"><p>Detect instruction caches. </p>
+<p>This flag enables detection of Instruction caches, instead of only Data and Unified caches. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89"></a>HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES </td><td class="fielddoc"><p>Get the set of allowed resources from the local operating system even if the topology was loaded from XML or synthetic description. </p>
+<p>If the topology was loaded from XML or from a synthetic string, restrict it by applying the current process restrictions such as Linux Cgroup/Cpuset.</p>
+<p>This is useful when the topology is not loaded directly from the local machine (e.g. for performance reason) and it comes with all resources, while the running process is restricted to only parts of the machine.</p>
+<p>This flag is ignored unless <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b" title="Assume that the selected backend provides the topology for the system on which we are running...">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> is also set since the loaded topology must match the underlying machine where restrictions will be gathered from.</p>
+<p>Setting the environment variable HWLOC_THISSYSTEM_ALLOWED_RESOURCES would result in the same behavior. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga09318f81c1d4713be907d64748a6f93c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga09318f81c1d4713be907d64748a6f93c">◆ </a></span>hwloc_topology_get_flags()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned long hwloc_topology_get_flags </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get OR'ed flags of a topology. </p>
+<p>Get the OR'ed set of <a class="el" href="a00154.html#gada025d3ec20b4b420f8038d23d6e7bde" title="Flags to be set onto a topology context before load. ">hwloc_topology_flags_e</a> of a topology.</p>
+<dl class="section return"><dt>Returns</dt><dd>the flags previously set with <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="gab8c76173c4a8ce1a9a9366012b1388e6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab8c76173c4a8ce1a9a9366012b1388e6">◆ </a></span>hwloc_topology_get_support()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">const struct <a class="el" href="a00264.html">hwloc_topology_support</a>* hwloc_topology_get_support </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Retrieve the topology support. </p>
+<p>Each flag indicates whether a feature is supported. If set to 0, the feature is not supported. If set to 1, the feature is supported, but the corresponding call may still fail in some corner cases.</p>
+<p>These features are also listed by hwloc-info --support </p>
+
+</div>
+</div>
+<a id="ga91f992f8d6c4905b2d3c4f43e509c2a3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga91f992f8d6c4905b2d3c4f43e509c2a3">◆ </a></span>hwloc_topology_get_userdata()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void* hwloc_topology_get_userdata </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Retrieve the topology-specific userdata pointer. </p>
+<p>Retrieve the application-given private data pointer that was previously set with <a class="el" href="a00154.html#ga2cc7b7b155cba58dda203e54f1637b9c" title="Set the topology-specific userdata pointer. ">hwloc_topology_set_userdata()</a>. </p>
+
+</div>
+</div>
+<a id="ga7c9cf147442d65d755c664ccde3bb3ef"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7c9cf147442d65d755c664ccde3bb3ef">◆ </a></span>hwloc_topology_ignore_all_keep_structure()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_ignore_all_keep_structure </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Ignore all objects that do not bring any structure. </p>
+<p>Ignore all objects that do not bring any structure: This is equivalent to calling <a class="el" href="a00154.html#ga1f987bca941d6949faf7b1554dd7bc12" title="Ignore an object type if it does not bring any structure. ">hwloc_topology_ignore_type_keep_structure()</a> for all object types. </p>
+
+</div>
+</div>
+<a id="gafcf30842e8cb47b4c3dcaebecea31e17"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafcf30842e8cb47b4c3dcaebecea31e17">◆ </a></span>hwloc_topology_ignore_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_ignore_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Ignore an object type. </p>
+<p>Ignore all objects from the given type. The bottom-level type <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661" title="Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical ...">HWLOC_OBJ_PU</a> may not be ignored. The top-level object of the hierarchy will never be ignored, even if this function succeeds. Group objects are always ignored if they do not bring any structure since they are designed to add structure to the topology. I/O objects may not be ignored, topology flags should be used to configure their discovery instead. </p>
+
+</div>
+</div>
+<a id="ga1f987bca941d6949faf7b1554dd7bc12"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1f987bca941d6949faf7b1554dd7bc12">◆ </a></span>hwloc_topology_ignore_type_keep_structure()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_ignore_type_keep_structure </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Ignore an object type if it does not bring any structure. </p>
+<p>Ignore all objects from the given type as long as they do not bring any structure: Each ignored object should have a single children or be the only child of its parent. The bottom-level type <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661" title="Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical ...">HWLOC_OBJ_PU</a> may not be ignored. I/O objects may not be ignored, topology flags should be used to configure their discovery instead. </p>
+
+</div>
+</div>
+<a id="ga68ffdcfd9175cdf40709801092f18017"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga68ffdcfd9175cdf40709801092f18017">◆ </a></span>hwloc_topology_is_thissystem()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_is_thissystem </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Does the topology context come from this system? </p>
+<dl class="section return"><dt>Returns</dt><dd>1 if this topology context was built using the system running this program. </dd>
+<dd>
+0 instead (for instance if using another file-system root, a XML topology file, or a synthetic topology). </dd></dl>
+
+</div>
+</div>
+<a id="gad1f15795219e2c3ca6d44ba0db604c4f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad1f15795219e2c3ca6d44ba0db604c4f">◆ </a></span>hwloc_topology_set_custom()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_custom </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Prepare the topology for custom assembly. </p>
+<p>The topology then contains a single root object. It must then be built by inserting other topologies with <a class="el" href="a00161.html#ga58220f648a972140865d11940bccec81" title="Insert an existing topology inside a custom topology. ">hwloc_custom_insert_topology()</a> or single objects with <a class="el" href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73" title="Insert a new group object inside a custom topology. ">hwloc_custom_insert_group_object_by_parent()</a>. <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> must be called to finalize the new topology as usual.</p>
+<dl class="section note"><dt>Note</dt><dd>If nothing is inserted in the topology, <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> will fail with errno set to EINVAL.</dd>
+<dd>
+The cpuset and nodeset of the root object are NULL because these sets are meaningless when assembling multiple topologies.</dd>
+<dd>
+On success, the custom component replaces the previously enabled component (if any), but the topology is not actually modified until <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga90ed5733946b2e9aba90d2e2c1fbfbd7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga90ed5733946b2e9aba90d2e2c1fbfbd7">◆ </a></span>hwloc_topology_set_distance_matrix()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_distance_matrix </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>nbobjs</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned * </td>
+ <td class="paramname"><em>os_index</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float * </td>
+ <td class="paramname"><em>distances</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Provide a distance matrix. </p>
+<p>Provide the matrix of distances between a set of objects of the given type. <code>nbobjs</code> must be at least 2. The set may or may not contain all the existing objects of this type. The objects are specified by their OS/physical index in the <code>os_index</code> array. The <code>distances</code> matrix follows the same order. The distance from object i to object j in the i*nbobjs+j.</p>
+<p>A single latency matrix may be defined for each type. If another distance matrix already exists for the given type, either because the user specified it or because the OS offers it, it will be replaced by the given one. If <code>nbobjs</code> is <code>0</code>, <code>os_index</code> is <code>NULL</code> and <code>distances</code> is <code>NULL</code>, the existing distance matrix for the given type is removed.</p>
+<dl class="section note"><dt>Note</dt><dd>Distance matrices are ignored in multi-node topologies. </dd></dl>
+
+</div>
+</div>
+<a id="gaaeed4df656979e5f16befea9d29b814b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaaeed4df656979e5f16befea9d29b814b">◆ </a></span>hwloc_topology_set_flags()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_flags </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set OR'ed flags to non-yet-loaded topology. </p>
+<p>Set a OR'ed set of <a class="el" href="a00154.html#gada025d3ec20b4b420f8038d23d6e7bde" title="Flags to be set onto a topology context before load. ">hwloc_topology_flags_e</a> onto a topology that was not yet loaded.</p>
+<p>If this function is called multiple times, the last invokation will erase and replace the set of flags that was previously set.</p>
+<p>The flags set in a topology may be retrieved with <a class="el" href="a00154.html#ga09318f81c1d4713be907d64748a6f93c" title="Get OR'ed flags of a topology. ">hwloc_topology_get_flags()</a> </p>
+
+</div>
+</div>
+<a id="gac0ea95d5f2ad78408bc267a0441c7c97"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac0ea95d5f2ad78408bc267a0441c7c97">◆ </a></span>hwloc_topology_set_fsroot()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_fsroot </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>fsroot_path</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Change the file-system root path when building the topology from sysfs/procfs. </p>
+<p>On Linux system, use sysfs and procfs files as if they were mounted on the given <code>fsroot_path</code> instead of the main file-system root. Setting the environment variable HWLOC_FSROOT may also result in this behavior. Not using the main file-system root causes <a class="el" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017" title="Does the topology context come from this system? ">hwloc_topology_is_thissystem()</a> to return 0.</p>
+<p>Note that this function does not actually load topology information; it just tells hwloc where to load it from. You'll still need to invoke <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> to actually load the topology information.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to ENOSYS on non-Linux and on Linux systems that do not support it. </dd>
+<dd>
+-1 with the appropriate errno if <code>fsroot_path</code> cannot be used.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>For convenience, this backend provides empty binding hooks which just return success. To have hwloc still actually call OS-specific hooks, the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b" title="Assume that the selected backend provides the topology for the system on which we are running...">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> has to be set to assert that the loaded file is really the underlying system.</dd>
+<dd>
+On success, the Linux component replaces the previously enabled component (if any), but the topology is not actually modified until <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga341fc17b5867a4715570baab131f68cd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga341fc17b5867a4715570baab131f68cd">◆ </a></span>hwloc_topology_set_pid()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_pid </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Change which process the topology is viewed from. </p>
+<p>On some systems, processes may have different views of the machine, for instance the set of allowed CPUs. By default, hwloc exposes the view from the current process. Calling <a class="el" href="a00154.html#ga341fc17b5867a4715570baab131f68cd" title="Change which process the topology is viewed from. ">hwloc_topology_set_pid()</a> permits to make it expose the topology of the machine from the point of view of another process.</p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms.</dd>
+<dd>
+-1 is returned and errno is set to ENOSYS on platforms that do not support this feature. </dd></dl>
+
+</div>
+</div>
+<a id="ga4fab186bb6181a00bcf585825fddd38d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4fab186bb6181a00bcf585825fddd38d">◆ </a></span>hwloc_topology_set_synthetic()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_synthetic </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>description</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Enable synthetic topology. </p>
+<p>Gather topology information from the given <code>description</code>, a space-separated string of numbers describing the arity of each level. Each number may be prefixed with a type and a colon to enforce the type of a level. If only some level types are enforced, hwloc will try to choose the other types according to usual topologies, but it may fail and you may have to specify more level types manually. See also the <a class="el" href="a00318.html">Synthetic topologies</a>.</p>
+<p>If <code>description</code> was properly parsed and describes a valid topology configuration, this function returns 0. Otherwise -1 is returned and errno is set to EINVAL.</p>
+<p>Note that this function does not actually load topology information; it just tells hwloc where to load it from. You'll still need to invoke <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> to actually load the topology information.</p>
+<dl class="section note"><dt>Note</dt><dd>For convenience, this backend provides empty binding hooks which just return success.</dd>
+<dd>
+On success, the synthetic component replaces the previously enabled component (if any), but the topology is not actually modified until <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga2cc7b7b155cba58dda203e54f1637b9c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2cc7b7b155cba58dda203e54f1637b9c">◆ </a></span>hwloc_topology_set_userdata()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_topology_set_userdata </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>userdata</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set the topology-specific userdata pointer. </p>
+<p>Each topology may store one application-given private data pointer. It is initialized to <code>NULL</code>. hwloc will never modify it.</p>
+<p>Use it as you wish, after <a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa" title="Allocate a topology context. ">hwloc_topology_init()</a> and until hwloc_topolog_destroy().</p>
+<p>This pointer is not exported to XML. </p>
+
+</div>
+</div>
+<a id="ga879439b7ee99407ee911b3ac64e9a25e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga879439b7ee99407ee911b3ac64e9a25e">◆ </a></span>hwloc_topology_set_xml()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_xml </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>xmlpath</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Enable XML-file based topology. </p>
+<p>Gather topology information from the XML file given at <code>xmlpath</code>. Setting the environment variable HWLOC_XMLFILE may also result in this behavior. This file may have been generated earlier with <a class="el" href="a00162.html#ga2bf166eda4d3605362ac86f77684002a" title="Export the topology into an XML file. ">hwloc_topology_export_xml()</a> or lstopo file.xml.</p>
+<p>Note that this function does not actually load topology information; it just tells hwloc where to load it from. You'll still need to invoke <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> to actually load the topology information.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to EINVAL on failure to read the XML file.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>See also <a class="el" href="a00162.html#ga5ac6917ea7289955fb1ffda4353af9b0" title="Set the application-specific callback for importing userdata. ">hwloc_topology_set_userdata_import_callback()</a> for importing application-specific object userdata.</dd>
+<dd>
+For convenience, this backend provides empty binding hooks which just return success. To have hwloc still actually call OS-specific hooks, the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b" title="Assume that the selected backend provides the topology for the system on which we are running...">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> has to be set to assert that the loaded file is really the underlying system.</dd>
+<dd>
+On success, the XML component replaces the previously enabled component (if any), but the topology is not actually modified until <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga2745616b65595e1c1e579ecc7e461fa8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2745616b65595e1c1e579ecc7e461fa8">◆ </a></span>hwloc_topology_set_xmlbuffer()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_set_xmlbuffer </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>buffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>size</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Enable XML based topology using a memory buffer (instead of a file, as with <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a>). </p>
+<p>Gather topology information from the XML memory buffer given at <code>buffer</code> and of length <code>size</code>. This buffer may have been filled earlier with <a class="el" href="a00162.html#ga7cbf8a2d8579d192911007650366fc8a" title="Export the topology into a newly-allocated XML memory buffer. ">hwloc_topology_export_xmlbuffer()</a>.</p>
+<p>Note that this function does not actually load topology information; it just tells hwloc where to load it from. You'll still need to invoke <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> to actually load the topology information.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to EINVAL on failure to read the XML buffer.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>See also <a class="el" href="a00162.html#ga5ac6917ea7289955fb1ffda4353af9b0" title="Set the application-specific callback for importing userdata. ">hwloc_topology_set_userdata_import_callback()</a> for importing application-specific object userdata.</dd>
+<dd>
+For convenience, this backend provides empty binding hooks which just return success. To have hwloc still actually call OS-specific hooks, the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b" title="Assume that the selected backend provides the topology for the system on which we are running...">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> has to be set to assert that the loaded file is really the underlying system.</dd>
+<dd>
+On success, the XML component replaces the previously enabled component (if any), but the topology is not actually modified until <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Object levels, depths and types</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Object levels, depths and types</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:gaf4e663cf42bbe20756b849c6293ef575"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#gaf4e663cf42bbe20756b849c6293ef575">hwloc_get_type_depth_e</a> { <br />
+  <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>,
+<a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c">HWLOC_TYPE_DEPTH_MULTIPLE</a>,
+<a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90">HWLOC_TYPE_DEPTH_BRIDGE</a>,
+<a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c">HWLOC_TYPE_DEPTH_PCI_DEVICE</a>,
+<br />
+  <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46">HWLOC_TYPE_DEPTH_OS_DEVICE</a>
+<br />
+ }</td></tr>
+<tr class="separator:gaf4e663cf42bbe20756b849c6293ef575"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gafa4f8dbc4c2e74c0da8019446353eed1"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#gafa4f8dbc4c2e74c0da8019446353eed1">hwloc_topology_get_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology)</td></tr>
+<tr class="separator:gafa4f8dbc4c2e74c0da8019446353eed1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8bec782e21be313750da70cf7428b374"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga8bec782e21be313750da70cf7428b374"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8125328e69eba709c33ea8055c12589b"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga8125328e69eba709c33ea8055c12589b">hwloc_get_type_or_below_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga8125328e69eba709c33ea8055c12589b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8a9ee573b7d2190272095d10712a7cca"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga8a9ee573b7d2190272095d10712a7cca">hwloc_get_type_or_above_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga8a9ee573b7d2190272095d10712a7cca"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8cc04ad9eb03b0b74d420adf8cc11ad2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga8cc04ad9eb03b0b74d420adf8cc11ad2">hwloc_get_depth_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned depth)</td></tr>
+<tr class="separator:ga8cc04ad9eb03b0b74d420adf8cc11ad2"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab17065e3d53455973844568d9f21c72c"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#gab17065e3d53455973844568d9f21c72c">hwloc_get_nbobjs_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned depth)</td></tr>
+<tr class="separator:gab17065e3d53455973844568d9f21c72c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga789a3f65aedff644be64a18526a03065"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga789a3f65aedff644be64a18526a03065">hwloc_get_nbobjs_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga789a3f65aedff644be64a18526a03065"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2d4b12fc187dfc53b35f2fa21d21044d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga2d4b12fc187dfc53b35f2fa21d21044d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gabf8a98ad085460a4982cc7b74c344b71"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned depth, unsigned idx)</td></tr>
+<tr class="separator:gabf8a98ad085460a4982cc7b74c344b71"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga6f414dd80a2b943967a0ac92da3181a2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2">hwloc_get_obj_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, unsigned idx)</td></tr>
+<tr class="separator:ga6f414dd80a2b943967a0ac92da3181a2"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8cf03328ed09901a03664d9498177126"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga8cf03328ed09901a03664d9498177126">hwloc_get_next_obj_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned depth, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga8cf03328ed09901a03664d9498177126"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga759e88eaf5a230ad283e9d4c42486735"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735">hwloc_get_next_obj_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga759e88eaf5a230ad283e9d4c42486735"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Be sure to see the figure in <a class="el" href="a00309.html">Terms and Definitions</a> that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one package has fewer caches than its peers. </p>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="gaf4e663cf42bbe20756b849c6293ef575"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf4e663cf42bbe20756b849c6293ef575">◆ </a></span>hwloc_get_type_depth_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00155.html#gaf4e663cf42bbe20756b849c6293ef575">hwloc_get_type_depth_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad"></a>HWLOC_TYPE_DEPTH_UNKNOWN </td><td class="fielddoc"><p>No object of given type exists in the topology. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c"></a>HWLOC_TYPE_DEPTH_MULTIPLE </td><td class="fielddoc"><p>Objects of given type exist at different depth in the topology. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90"></a>HWLOC_TYPE_DEPTH_BRIDGE </td><td class="fielddoc"><p>Virtual depth for bridge object level. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c"></a>HWLOC_TYPE_DEPTH_PCI_DEVICE </td><td class="fielddoc"><p>Virtual depth for PCI device object level. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46"></a>HWLOC_TYPE_DEPTH_OS_DEVICE </td><td class="fielddoc"><p>Virtual depth for software device object level. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga8cc04ad9eb03b0b74d420adf8cc11ad2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8cc04ad9eb03b0b74d420adf8cc11ad2">◆ </a></span>hwloc_get_depth_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> hwloc_get_depth_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the type of objects at depth <code>depth</code>. </p>
+<p><code>depth</code> should between 0 and <a class="el" href="a00155.html#gafa4f8dbc4c2e74c0da8019446353eed1" title="Get the depth of the hierarchical tree of objects. ">hwloc_topology_get_depth()</a>-1.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if depth <code>depth</code> does not exist. </dd></dl>
+
+</div>
+</div>
+<a id="gab17065e3d53455973844568d9f21c72c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab17065e3d53455973844568d9f21c72c">◆ </a></span>hwloc_get_nbobjs_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_get_nbobjs_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the width of level at depth <code>depth</code>. </p>
+
+</div>
+</div>
+<a id="ga789a3f65aedff644be64a18526a03065"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga789a3f65aedff644be64a18526a03065">◆ </a></span>hwloc_get_nbobjs_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_get_nbobjs_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the width of level type <code>type</code>. </p>
+<p>If no object for that type exists, 0 is returned. If there are several levels with objects of that type, -1 is returned. </p>
+
+</div>
+</div>
+<a id="ga8cf03328ed09901a03664d9498177126"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8cf03328ed09901a03664d9498177126">◆ </a></span>hwloc_get_next_obj_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_obj_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the next object at depth <code>depth</code>. </p>
+<p>If <code>prev</code> is <code>NULL</code>, return the first object at depth <code>depth</code>. </p>
+
+</div>
+</div>
+<a id="ga759e88eaf5a230ad283e9d4c42486735"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga759e88eaf5a230ad283e9d4c42486735">◆ </a></span>hwloc_get_next_obj_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_obj_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the next object of type <code>type</code>. </p>
+<p>If <code>prev</code> is <code>NULL</code>, return the first object at type <code>type</code>. If there are multiple or no depth for given type, return <code>NULL</code> and let the caller fallback to <a class="el" href="a00155.html#ga8cf03328ed09901a03664d9498177126" title="Returns the next object at depth depth. ">hwloc_get_next_obj_by_depth()</a>. </p>
+
+</div>
+</div>
+<a id="gabf8a98ad085460a4982cc7b74c344b71"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gabf8a98ad085460a4982cc7b74c344b71">◆ </a></span>hwloc_get_obj_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_obj_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the topology object at logical index <code>idx</code> from depth <code>depth</code>. </p>
+
+</div>
+</div>
+<a id="ga6f414dd80a2b943967a0ac92da3181a2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga6f414dd80a2b943967a0ac92da3181a2">◆ </a></span>hwloc_get_obj_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_obj_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the topology object at logical index <code>idx</code> with type <code>type</code>. </p>
+<p>If no object for that type exists, <code>NULL</code> is returned. If there are several levels with objects of that type, <code>NULL</code> is returned and ther caller may fallback to <a class="el" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71" title="Returns the topology object at logical index idx from depth depth. ">hwloc_get_obj_by_depth()</a>. </p>
+
+</div>
+</div>
+<a id="ga2d4b12fc187dfc53b35f2fa21d21044d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2d4b12fc187dfc53b35f2fa21d21044d">◆ </a></span>hwloc_get_root_obj()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_root_obj </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the top-object of the topology-tree. </p>
+<p>Its type is typically <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80" title="Machine. The typical root object type. A set of processors and memory with cache coherency. ">HWLOC_OBJ_MACHINE</a> but it could be different for complex topologies. </p>
+
+</div>
+</div>
+<a id="ga8bec782e21be313750da70cf7428b374"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8bec782e21be313750da70cf7428b374">◆ </a></span>hwloc_get_type_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_type_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the depth of objects of type <code>type</code>. </p>
+<p>If no object of this type is present on the underlying architecture, or if the OS doesn't provide this kind of information, the function returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad" title="No object of given type exists in the topology. ">HWLOC_TYPE_DEPTH_UNKNOWN</a>.</p>
+<p>If type is absent but a similar type is acceptable, see also <a class="el" href="a00155.html#ga8125328e69eba709c33ea8055c12589b" title="Returns the depth of objects of type type or below. ">hwloc_get_type_or_below_depth()</a> and <a class="el" href="a00155.html#ga8a9ee573b7d2190272095d10712a7cca" title="Returns the depth of objects of type type or above. ">hwloc_get_type_or_above_depth()</a>.</p>
+<p>If some objects of the given type exist in different levels, for instance L1 and L2 caches, or L1i and L1d caches, the function returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c" title="Objects of given type exist at different depth in the topology. ">HWLOC_TYPE_DEPTH_MULTIPLE</a>. See <a class="el" href="a00167.html#gad108a09ce400222fe45545257d575489" title="Find the depth of cache objects matching cache depth and type. ">hwloc_get_cache_type_depth()</a> in <a class="el" href="a00104_source.html" title="High-level hwloc traversal helpers. ">hwloc/helper.h</a> to better handle this case.</p>
+<p>If an I/O object type is given, the function returns a virtual value because I/O objects are stored in special levels that are not CPU-related. This virtual depth may be passed to other hwloc functions such as <a class="el" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71" title="Returns the topology object at logical index idx from depth depth. ">hwloc_get_obj_by_depth()</a> but it should not be considered as an actual depth by the application. In particular, it should not be compared with any other object depth or with the entire topology depth.</p>
+<p>If <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d" title="Miscellaneous objects. Objects without particular meaning, that can e.g. be added by the application ...">HWLOC_OBJ_MISC</a> is given, the function returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad" title="No object of given type exists in the topology. ">HWLOC_TYPE_DEPTH_UNKNOWN</a>. </p>
+
+</div>
+</div>
+<a id="ga8a9ee573b7d2190272095d10712a7cca"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8a9ee573b7d2190272095d10712a7cca">◆ </a></span>hwloc_get_type_or_above_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_get_type_or_above_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the depth of objects of type <code>type</code> or above. </p>
+<p>If no object of this type is present on the underlying architecture, the function returns the depth of the first "present" object typically containing <code>type</code>.</p>
+<p>This function is only meaningful for normal object types. If an I/O object type is given, the corresponding virtual depth is always returned (see <a class="el" href="a00155.html#ga8bec782e21be313750da70cf7428b374" title="Returns the depth of objects of type type. ">hwloc_get_type_depth()</a>). If <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d" title="Miscellaneous objects. Objects without particular meaning, that can e.g. be added by the application ...">HWLOC_OBJ_MISC</a> is given, the function returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad" title="No object of given type exists in the topology. ">HWLOC_TYPE_DEPTH_UNKNOWN</a>.</p>
+<p>If some objects of the given type exist in different levels, for instance L1 and L2 caches, the function returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c" title="Objects of given type exist at different depth in the topology. ">HWLOC_TYPE_DEPTH_MULTIPLE</a>. </p>
+
+</div>
+</div>
+<a id="ga8125328e69eba709c33ea8055c12589b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8125328e69eba709c33ea8055c12589b">◆ </a></span>hwloc_get_type_or_below_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_get_type_or_below_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the depth of objects of type <code>type</code> or below. </p>
+<p>If no object of this type is present on the underlying architecture, the function returns the depth of the first "present" object typically found inside <code>type</code>.</p>
+<p>This function is only meaningful for normal object types. If an I/O object type is given, the corresponding virtual depth is always returned (see <a class="el" href="a00155.html#ga8bec782e21be313750da70cf7428b374" title="Returns the depth of objects of type type. ">hwloc_get_type_depth()</a>). If <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d" title="Miscellaneous objects. Objects without particular meaning, that can e.g. be added by the application ...">HWLOC_OBJ_MISC</a> is given, the function returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad" title="No object of given type exists in the topology. ">HWLOC_TYPE_DEPTH_UNKNOWN</a>.</p>
+<p>If some objects of the given type exist in different levels, for instance L1 and L2 caches, the function returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c" title="Objects of given type exist at different depth in the topology. ">HWLOC_TYPE_DEPTH_MULTIPLE</a>. </p>
+
+</div>
+</div>
+<a id="gafa4f8dbc4c2e74c0da8019446353eed1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafa4f8dbc4c2e74c0da8019446353eed1">◆ </a></span>hwloc_topology_get_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_topology_get_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the depth of the hierarchical tree of objects. </p>
+<p>This is the depth of <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661" title="Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical ...">HWLOC_OBJ_PU</a> objects plus one.</p>
+<dl class="section note"><dt>Note</dt><dd>I/O and Misc objects are ignored when computing the depth of the tree (they are placed on special levels, or none). </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Converting between Object Types, Sets and Attributes, and Strings</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Converting between Object Types, Sets and Attributes, and Strings</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga5ca0bf94bbbb080d0eff17a57bd90422"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00156.html#ga5ca0bf94bbbb080d0eff17a57bd90422">hwloc_obj_type_string</a> (<a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga5ca0bf94bbbb080d0eff17a57bd90422"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gadb8765c260edea80c52cd06a76639ba4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00156.html#gadb8765c260edea80c52cd06a76639ba4">hwloc_obj_type_snprintf</a> (char *restrict string, size_t size, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, int verbose)</td></tr>
+<tr class="separator:gadb8765c260edea80c52cd06a76639ba4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga870e876931c282a1c7aee2f031912ce3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00156.html#ga870e876931c282a1c7aee2f031912ce3">hwloc_obj_attr_snprintf</a> (char *restrict string, size_t size, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const char *restrict separator, int verbose)</td></tr>
+<tr class="separator:ga870e876931c282a1c7aee2f031912ce3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8e0472dfa655c68c0c9072e1ee3a1e03"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00156.html#ga8e0472dfa655c68c0c9072e1ee3a1e03">hwloc_obj_cpuset_snprintf</a> (char *restrict str, size_t size, size_t nobj, const <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *restrict objs)</td></tr>
+<tr class="separator:ga8e0472dfa655c68c0c9072e1ee3a1e03"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8f8452fa8e707cad59b8a73a6fa06059"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00156.html#ga8f8452fa8e707cad59b8a73a6fa06059">hwloc_obj_type_sscanf</a> (const char *string, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> *typep, int *depthattrp, void *typeattrp, size_t typeattrsize)</td></tr>
+<tr class="separator:ga8f8452fa8e707cad59b8a73a6fa06059"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga870e876931c282a1c7aee2f031912ce3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga870e876931c282a1c7aee2f031912ce3">◆ </a></span>hwloc_obj_attr_snprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_obj_attr_snprintf </td>
+ <td>(</td>
+ <td class="paramtype">char *restrict </td>
+ <td class="paramname"><em>string</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>separator</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>verbose</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify the attributes of a given topology object into a human-readable form. </p>
+<p>Attribute values are separated by <code>separator</code>.</p>
+<p>Only the major attributes are printed in non-verbose mode.</p>
+<p>If <code>size</code> is 0, <code>string</code> may safely be <code>NULL</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the number of character that were actually written if not truncating, or that would have been written (not including the ending \0). </dd></dl>
+
+</div>
+</div>
+<a id="ga8e0472dfa655c68c0c9072e1ee3a1e03"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8e0472dfa655c68c0c9072e1ee3a1e03">◆ </a></span>hwloc_obj_cpuset_snprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_obj_cpuset_snprintf </td>
+ <td>(</td>
+ <td class="paramtype">char *restrict </td>
+ <td class="paramname"><em>str</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>nobj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *restrict </td>
+ <td class="paramname"><em>objs</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify the cpuset containing a set of objects. </p>
+<p>If <code>size</code> is 0, <code>string</code> may safely be <code>NULL</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the number of character that were actually written if not truncating, or that would have been written (not including the ending \0). </dd></dl>
+
+</div>
+</div>
+<a id="gadb8765c260edea80c52cd06a76639ba4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gadb8765c260edea80c52cd06a76639ba4">◆ </a></span>hwloc_obj_type_snprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_obj_type_snprintf </td>
+ <td>(</td>
+ <td class="paramtype">char *restrict </td>
+ <td class="paramname"><em>string</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>verbose</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify the type of a given topology object into a human-readable form. </p>
+<p>Contrary to <a class="el" href="a00156.html#ga5ca0bf94bbbb080d0eff17a57bd90422" title="Return a constant stringified object type. ">hwloc_obj_type_string()</a>, this function includes object-specific attributes (such as the Group depth, the Bridge type, or OS device type) in the output, and it requires the caller to provide the output buffer.</p>
+<p>The output is guaranteed to be the same for all objects of a same topology level.</p>
+<p>If <code>size</code> is 0, <code>string</code> may safely be <code>NULL</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the number of character that were actually written if not truncating, or that would have been written (not including the ending \0). </dd></dl>
+
+</div>
+</div>
+<a id="ga8f8452fa8e707cad59b8a73a6fa06059"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8f8452fa8e707cad59b8a73a6fa06059">◆ </a></span>hwloc_obj_type_sscanf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_obj_type_sscanf </td>
+ <td>(</td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>string</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> * </td>
+ <td class="paramname"><em>typep</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>depthattrp</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">void * </td>
+ <td class="paramname"><em>typeattrp</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>typeattrsize</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Return an object type and attributes from a type string. </p>
+<p>Convert strings such as "Package" or "Cache" into the corresponding types. Matching is case-insensitive, and only the first letters are actually required to match.</p>
+<p>This function is guaranteed to match any string returned by <a class="el" href="a00156.html#ga5ca0bf94bbbb080d0eff17a57bd90422" title="Return a constant stringified object type. ">hwloc_obj_type_string()</a> or <a class="el" href="a00156.html#gadb8765c260edea80c52cd06a76639ba4" title="Stringify the type of a given topology object into a human-readable form. ">hwloc_obj_type_snprintf()</a>.</p>
+<p>Types that have specific attributes, for instance caches and groups, may be returned in <code>depthattrp</code> and <code>typeattrp</code>. They are ignored when these pointers are <code>NULL</code>.</p>
+<p>For instance "L2i" or "L2iCache" would return type HWLOC_OBJ_CACHE in <code>typep</code>, 2 in <code>depthattrp</code>, and HWLOC_OBJ_CACHE_TYPE_INSTRUCTION in <code>typeattrp</code> (this last pointer should point to a hwloc_obj_cache_type_t). "Group3" would return type HWLOC_OBJ_GROUP type and 3 in <code>depthattrp</code>. Attributes that are not specified in the string (for instance "Group" without a depth, or "L2Cache" without a cache type) are set to -1.</p>
+<p><code>typeattrp</code> is only filled if the size specified in <code>typeattrsize</code> is large enough. It is currently only used for caches, and the required size is at least the size of hwloc_obj_cache_type_t.</p>
+<dl class="section return"><dt>Returns</dt><dd>0 if a type was correctly identified, otherwise -1.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This is an extended version of the now deprecated hwloc_obj_type_of_string() </dd></dl>
+
+</div>
+</div>
+<a id="ga5ca0bf94bbbb080d0eff17a57bd90422"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5ca0bf94bbbb080d0eff17a57bd90422">◆ </a></span>hwloc_obj_type_string()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">const char* hwloc_obj_type_string </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Return a constant stringified object type. </p>
+<p>This function is the basic way to convert a generic type into a string.</p>
+<p><a class="el" href="a00156.html#gadb8765c260edea80c52cd06a76639ba4" title="Stringify the type of a given topology object into a human-readable form. ">hwloc_obj_type_snprintf()</a> may return a more precise output for a specific object, but it requires the caller to provide the output buffer. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Consulting and Adding Key-Value Info Attributes</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Consulting and Adding Key-Value Info Attributes</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gab358661a92bb27d8542b255cc9f6f25e"><td class="memItemLeft" align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#gab358661a92bb27d8542b255cc9f6f25e">hwloc_obj_get_info_by_name</a> (<a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const char *name)</td></tr>
+<tr class="separator:gab358661a92bb27d8542b255cc9f6f25e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7e90c5398a9d77df31d7d45faf0f316b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#ga7e90c5398a9d77df31d7d45faf0f316b">hwloc_obj_add_info</a> (<a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const char *name, const char *value)</td></tr>
+<tr class="separator:ga7e90c5398a9d77df31d7d45faf0f316b"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga7e90c5398a9d77df31d7d45faf0f316b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7e90c5398a9d77df31d7d45faf0f316b">◆ </a></span>hwloc_obj_add_info()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_obj_add_info </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>value</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Add the given info name and value pair to the given object. </p>
+<p>The info is appended to the existing info array even if another key with the same name already exists.</p>
+<p>The input strings are copied before being added in the object infos.</p>
+<dl class="section note"><dt>Note</dt><dd>This function may be used to enforce object colors in the lstopo graphical output by using "lstopoStyle" as a name and "Background=#rrggbb" as a value. See CUSTOM COLORS in the lstopo(1) manpage for details.</dd>
+<dd>
+If <code>value</code> contains some non-printable characters, they will be dropped when exporting to XML, see <a class="el" href="a00162.html#ga2bf166eda4d3605362ac86f77684002a" title="Export the topology into an XML file. ">hwloc_topology_export_xml()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="gab358661a92bb27d8542b255cc9f6f25e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab358661a92bb27d8542b255cc9f6f25e">◆ </a></span>hwloc_obj_get_info_by_name()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static const char* hwloc_obj_get_info_by_name </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>name</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Search the given key name in object infos and return the corresponding value. </p>
+<p>If multiple keys match the given name, only the first one is returned.</p>
+<dl class="section return"><dt>Returns</dt><dd><code>NULL</code> if no such key exists. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): CPU binding</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">CPU binding</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga217dc8d373f8958cc93c154ebce1c71c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ga217dc8d373f8958cc93c154ebce1c71c">hwloc_cpubind_flags_t</a> { <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc">HWLOC_CPUBIND_PROCESS</a>,
+<a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421">HWLOC_CPUBIND_THREAD</a>,
+<a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa">HWLOC_CPUBIND_STRICT</a>,
+<a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6">HWLOC_CPUBIND_NOMEMBIND</a>
+ }</td></tr>
+<tr class="separator:ga217dc8d373f8958cc93c154ebce1c71c"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga80bc07473a8edf840cae17bd7ec21d48"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48">hwloc_set_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:ga80bc07473a8edf840cae17bd7ec21d48"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacba7ecb979baf824d5240fa2cb2a8be6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#gacba7ecb979baf824d5240fa2cb2a8be6">hwloc_get_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:gacba7ecb979baf824d5240fa2cb2a8be6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga296db8a3c6d49b51fb83d6f3e45c02a6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ga296db8a3c6d49b51fb83d6f3e45c02a6">hwloc_set_proc_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_pid_t pid, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:ga296db8a3c6d49b51fb83d6f3e45c02a6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gac82de91f788fa82dacf99c6e0d4b7158"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#gac82de91f788fa82dacf99c6e0d4b7158">hwloc_get_proc_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_pid_t pid, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:gac82de91f788fa82dacf99c6e0d4b7158"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gae42c01b2addcfbf6048b9a516dd7a906"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#gae42c01b2addcfbf6048b9a516dd7a906">hwloc_set_thread_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_thread_t thread, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:gae42c01b2addcfbf6048b9a516dd7a906"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaf13f765642b5d0d9a9813e6bb043671b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#gaf13f765642b5d0d9a9813e6bb043671b">hwloc_get_thread_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_thread_t thread, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:gaf13f765642b5d0d9a9813e6bb043671b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gafdb374627358bf09203b5a4215b13032"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#gafdb374627358bf09203b5a4215b13032">hwloc_get_last_cpu_location</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:gafdb374627358bf09203b5a4215b13032"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga910a05c2d47f68a3155bf176b50fa555"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ga910a05c2d47f68a3155bf176b50fa555">hwloc_get_proc_last_cpu_location</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_pid_t pid, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set, int flags)</td></tr>
+<tr class="separator:ga910a05c2d47f68a3155bf176b50fa555"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Some operating systems only support binding threads or processes to a single PU. Others allow binding to larger sets such as entire Cores or Packages or even random sets of invididual PUs. In such operating system, the scheduler is free to run the task on one of these PU, then migrate it to another PU, etc. It is often useful to call <a class="el" href="a00174.html#ga36d802130aa5d96bc1b5a90d2f0f3765" title="Keep a single index among those set in bitmap bitmap. ">hwloc_bitmap_singlify()</a> on the target CPU set before passing it to the binding function to avoid these expensive migrations. See the documentation of <a class="el" href="a00174.html#ga36d802130aa5d96bc1b5a90d2f0f3765" title="Keep a single index among those set in bitmap bitmap. ">hwloc_bitmap_singlify()</a> for details.</p>
+<p>Some operating systems do not provide all hwloc-supported mechanisms to bind processes, threads, etc. <a class="el" href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6" title="Retrieve the topology support. ">hwloc_topology_get_support()</a> may be used to query about the actual CPU binding support in the currently used operating system.</p>
+<p>When the requested binding operation is not available and the <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa" title="Request for strict binding from the OS. ">HWLOC_CPUBIND_STRICT</a> flag was passed, the function returns -1. <code>errno</code> is set to <code>ENOSYS</code> when it is not possible to bind the requested kind of object processes/threads. errno is set to <code>EXDEV</code> when the requested cpuset can not be enforced (e.g. some systems only allow one CPU, and some other systems only allow one NUMA node).</p>
+<p>If <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa" title="Request for strict binding from the OS. ">HWLOC_CPUBIND_STRICT</a> was not passed, the function may fail as well, or the operating system may use a slightly different operation (with side-effects, smaller binding set, etc.) when the requested operation is not exactly supported.</p>
+<p>The most portable version that should be preferred over the others, whenever possible, is the following one which just binds the current program, assuming it is single-threaded:</p>
+<div class="fragment"><div class="line"><a class="code" href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48">hwloc_set_cpubind</a>(topology, <span class="keyword">set</span>, 0),</div></div><!-- fragment --><p>If the program may be multithreaded, the following one should be preferred to only bind the current thread:</p>
+<div class="fragment"><div class="line"><a class="code" href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48">hwloc_set_cpubind</a>(topology, <span class="keyword">set</span>, <a class="code" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421">HWLOC_CPUBIND_THREAD</a>),</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd>Some example codes are available under doc/examples/ in the source tree.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>To unbind, just call the binding function with either a full cpuset or a cpuset equal to the system cpuset.</dd>
+<dd>
+On some operating systems, CPU binding may have effects on memory binding, see <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6" title="Avoid any effect on memory binding. ">HWLOC_CPUBIND_NOMEMBIND</a></dd>
+<dd>
+Running lstopo --top or hwloc-ps can be a very convenient tool to check how binding actually happened. </dd></dl>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga217dc8d373f8958cc93c154ebce1c71c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga217dc8d373f8958cc93c154ebce1c71c">◆ </a></span>hwloc_cpubind_flags_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00158.html#ga217dc8d373f8958cc93c154ebce1c71c">hwloc_cpubind_flags_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Process/Thread binding flags. </p>
+<p>These bit flags can be used to refine the binding policy.</p>
+<p>The default (0) is to bind the current process, assumed to be single-threaded, in a non-strict way. This is the most portable way to bind as all operating systems usually provide it.</p>
+<dl class="section note"><dt>Note</dt><dd>Not all systems support all kinds of binding. See the "Detailed Description" section of <a class="el" href="a00158.html">CPU binding</a> for a description of errors that can occur. </dd></dl>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc"></a>HWLOC_CPUBIND_PROCESS </td><td class="fielddoc"><p>Bind all threads of the current (possibly) multithreaded process. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421"></a>HWLOC_CPUBIND_THREAD </td><td class="fielddoc"><p>Bind current thread of current process. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa"></a>HWLOC_CPUBIND_STRICT </td><td class="fielddoc"><p>Request for strict binding from the OS. </p>
+<p>By default, when the designated CPUs are all busy while other CPUs are idle, operating systems may execute the thread/process on those other CPUs instead of the designated CPUs, to let them progress anyway. Strict binding means that the thread/process will _never_ execute on other cpus than the designated CPUs, even when those are busy with other tasks and other CPUs are idle.</p>
+<dl class="section note"><dt>Note</dt><dd>Depending on the operating system, strict binding may not be possible (e.g., the OS does not implement it) or not allowed (e.g., for an administrative reasons), and the function will fail in that case.</dd></dl>
+<p>When retrieving the binding of a process, this flag checks whether all its threads actually have the same binding. If the flag is not given, the binding of each thread will be accumulated.</p>
+<dl class="section note"><dt>Note</dt><dd>This flag is meaningless when retrieving the binding of a thread. </dd></dl>
+</td></tr>
+<tr><td class="fieldname"><a id="gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6"></a>HWLOC_CPUBIND_NOMEMBIND </td><td class="fielddoc"><p>Avoid any effect on memory binding. </p>
+<p>On some operating systems, some CPU binding function would also bind the memory on the corresponding NUMA node. It is often not a problem for the application, but if it is, setting this flag will make hwloc avoid using OS functions that would also bind memory. This will however reduce the support of CPU bindings, i.e. potentially return -1 with errno set to ENOSYS in some cases.</p>
+<p>This flag is only meaningful when used with functions that set the CPU binding. It is ignored when used with functions that get CPU binding information. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gacba7ecb979baf824d5240fa2cb2a8be6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacba7ecb979baf824d5240fa2cb2a8be6">◆ </a></span>hwloc_get_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get current process or thread binding. </p>
+<p>Writes into <code>set</code> the physical cpuset which the process or thread (according to <em>flags</em>) was last bound to. </p>
+
+</div>
+</div>
+<a id="gafdb374627358bf09203b5a4215b13032"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafdb374627358bf09203b5a4215b13032">◆ </a></span>hwloc_get_last_cpu_location()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_last_cpu_location </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the last physical CPU where the current process or thread ran. </p>
+<p>The operating system may move some tasks from one processor to another at any time according to their binding, so this function may return something that is already outdated.</p>
+<p><code>flags</code> can include either <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc" title="Bind all threads of the current (possibly) multithreaded process. ">HWLOC_CPUBIND_PROCESS</a> or <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> to specify whether the query should be for the whole process (union of all CPUs on which all threads are running), or only the current thread. If the process is single-threaded, flags can be set to zero to let hwloc use whichever method is available on the underlying OS. </p>
+
+</div>
+</div>
+<a id="gac82de91f788fa82dacf99c6e0d4b7158"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac82de91f788fa82dacf99c6e0d4b7158">◆ </a></span>hwloc_get_proc_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_proc_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the current physical binding of process <code>pid</code>. </p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms.</dd>
+<dd>
+As a special case on Linux, if a tid (thread ID) is supplied instead of a pid (process ID) and <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> is passed in flags, the binding for that specific thread is returned.</dd>
+<dd>
+On non-Linux systems, <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> can not be used in <code>flags</code>. </dd></dl>
+
+</div>
+</div>
+<a id="ga910a05c2d47f68a3155bf176b50fa555"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga910a05c2d47f68a3155bf176b50fa555">◆ </a></span>hwloc_get_proc_last_cpu_location()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_proc_last_cpu_location </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the last physical CPU where a process ran. </p>
+<p>The operating system may move some tasks from one processor to another at any time according to their binding, so this function may return something that is already outdated.</p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms.</dd>
+<dd>
+As a special case on Linux, if a tid (thread ID) is supplied instead of a pid (process ID) and <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> is passed in flags, the last CPU location of that specific thread is returned.</dd>
+<dd>
+On non-Linux systems, <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> can not be used in <code>flags</code>. </dd></dl>
+
+</div>
+</div>
+<a id="gaf13f765642b5d0d9a9813e6bb043671b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf13f765642b5d0d9a9813e6bb043671b">◆ </a></span>hwloc_get_thread_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_thread_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_thread_t </td>
+ <td class="paramname"><em>thread</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the current physical binding of thread <code>tid</code>. </p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_thread_t</code> is <code>pthread_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms.</dd>
+<dd>
+<a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc" title="Bind all threads of the current (possibly) multithreaded process. ">HWLOC_CPUBIND_PROCESS</a> can not be used in <code>flags</code>. </dd></dl>
+
+</div>
+</div>
+<a id="ga80bc07473a8edf840cae17bd7ec21d48"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga80bc07473a8edf840cae17bd7ec21d48">◆ </a></span>hwloc_set_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Bind current process or thread on cpus given in physical bitmap <code>set</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to ENOSYS if the action is not supported </dd>
+<dd>
+-1 with errno set to EXDEV if the binding cannot be enforced </dd></dl>
+
+</div>
+</div>
+<a id="ga296db8a3c6d49b51fb83d6f3e45c02a6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga296db8a3c6d49b51fb83d6f3e45c02a6">◆ </a></span>hwloc_set_proc_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_proc_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Bind a process <code>pid</code> on cpus given in physical bitmap <code>set</code>. </p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms.</dd>
+<dd>
+As a special case on Linux, if a tid (thread ID) is supplied instead of a pid (process ID) and <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> is passed in flags, the binding is applied to that specific thread.</dd>
+<dd>
+On non-Linux systems, <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> can not be used in <code>flags</code>. </dd></dl>
+
+</div>
+</div>
+<a id="gae42c01b2addcfbf6048b9a516dd7a906"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae42c01b2addcfbf6048b9a516dd7a906">◆ </a></span>hwloc_set_thread_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_thread_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_thread_t </td>
+ <td class="paramname"><em>thread</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Bind a thread <code>thread</code> on cpus given in physical bitmap <code>set</code>. </p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_thread_t</code> is <code>pthread_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms.</dd>
+<dd>
+<a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc" title="Bind all threads of the current (possibly) multithreaded process. ">HWLOC_CPUBIND_PROCESS</a> can not be used in <code>flags</code>. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Memory binding</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Memory binding</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:gac9764f79505775d06407b40f5e4661e8"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> { <br />
+  <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a18675bb80ebc1bce5b652e9de8f3998c">HWLOC_MEMBIND_DEFAULT</a>,
+<a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0">HWLOC_MEMBIND_FIRSTTOUCH</a>,
+<a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c">HWLOC_MEMBIND_BIND</a>,
+<a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ae370075e5af016d42310f87ea5af236b">HWLOC_MEMBIND_INTERLEAVE</a>,
+<br />
+  <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8afb37480fe5f4236eb7dd4aef26f691e9">HWLOC_MEMBIND_REPLICATE</a>,
+<a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8aecdd4164d647708fbb51a00d98dbb138">HWLOC_MEMBIND_NEXTTOUCH</a>,
+<a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402">HWLOC_MEMBIND_MIXED</a>
+<br />
+ }</td></tr>
+<tr class="separator:gac9764f79505775d06407b40f5e4661e8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab00475fd98815bf4fb9aaf752030e7d2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gab00475fd98815bf4fb9aaf752030e7d2">hwloc_membind_flags_t</a> { <br />
+  <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4">HWLOC_MEMBIND_PROCESS</a>,
+<a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298">HWLOC_MEMBIND_THREAD</a>,
+<a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a>,
+<a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aa6e49e54f52827cb143cc869cfd748af">HWLOC_MEMBIND_MIGRATE</a>,
+<br />
+  <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997">HWLOC_MEMBIND_NOCPUBIND</a>,
+<a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256">HWLOC_MEMBIND_BYNODESET</a>
+<br />
+ }</td></tr>
+<tr class="separator:gab00475fd98815bf4fb9aaf752030e7d2"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga5cac0bcbe770b43fc63a6b00ea4a7a9d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga5cac0bcbe770b43fc63a6b00ea4a7a9d">hwloc_set_membind_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:ga5cac0bcbe770b43fc63a6b00ea4a7a9d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga020951efa0ce3862bd4faec295501a7f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga020951efa0ce3862bd4faec295501a7f">hwloc_set_membind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:ga020951efa0ce3862bd4faec295501a7f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga84ee275e84286d17a5853c52272a6a95"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga84ee275e84286d17a5853c52272a6a95">hwloc_get_membind_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> *policy, int flags)</td></tr>
+<tr class="separator:ga84ee275e84286d17a5853c52272a6a95"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gae21f0a1a884929c784bebf070252aa56"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gae21f0a1a884929c784bebf070252aa56">hwloc_get_membind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> *policy, int flags)</td></tr>
+<tr class="separator:gae21f0a1a884929c784bebf070252aa56"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga21b042d94266a26a9c82b98c4bb30d01"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga21b042d94266a26a9c82b98c4bb30d01">hwloc_set_proc_membind_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_pid_t pid, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:ga21b042d94266a26a9c82b98c4bb30d01"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gabc91ff16f7e41047924e3a4ae6d9da7e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gabc91ff16f7e41047924e3a4ae6d9da7e">hwloc_set_proc_membind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_pid_t pid, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:gabc91ff16f7e41047924e3a4ae6d9da7e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gac5075b7a2bf55f48f4622351817addad"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gac5075b7a2bf55f48f4622351817addad">hwloc_get_proc_membind_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_pid_t pid, <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> *policy, int flags)</td></tr>
+<tr class="separator:gac5075b7a2bf55f48f4622351817addad"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga1730ceb18ec6ee3b7bd3d0db81f07dc8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga1730ceb18ec6ee3b7bd3d0db81f07dc8">hwloc_get_proc_membind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, hwloc_pid_t pid, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> *policy, int flags)</td></tr>
+<tr class="separator:ga1730ceb18ec6ee3b7bd3d0db81f07dc8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7f11bd709ac0cb93af613e2dd84165ad"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga7f11bd709ac0cb93af613e2dd84165ad">hwloc_set_area_membind_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const void *addr, size_t len, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:ga7f11bd709ac0cb93af613e2dd84165ad"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaf881faefe20701229f07dd7dbd0125ed"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gaf881faefe20701229f07dd7dbd0125ed">hwloc_set_area_membind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const void *addr, size_t len, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:gaf881faefe20701229f07dd7dbd0125ed"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga5b674a9e043814bfd1c927fd0137fb19"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga5b674a9e043814bfd1c927fd0137fb19">hwloc_get_area_membind_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const void *addr, size_t len, <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> *policy, int flags)</td></tr>
+<tr class="separator:ga5b674a9e043814bfd1c927fd0137fb19"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaa87e0a6946ff145914fdf0b1c60567f8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gaa87e0a6946ff145914fdf0b1c60567f8">hwloc_get_area_membind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const void *addr, size_t len, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> *policy, int flags)</td></tr>
+<tr class="separator:gaa87e0a6946ff145914fdf0b1c60567f8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga537c7508a4e2d1db05673ec5be6e805c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga537c7508a4e2d1db05673ec5be6e805c">hwloc_get_area_memlocation</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const void *addr, size_t len, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> set, int flags)</td></tr>
+<tr class="separator:ga537c7508a4e2d1db05673ec5be6e805c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga972b335a86a7d5e7b34bce2b243c41bc"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga972b335a86a7d5e7b34bce2b243c41bc">hwloc_alloc</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, size_t len)</td></tr>
+<tr class="separator:ga972b335a86a7d5e7b34bce2b243c41bc"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0ff3076f7f3633637699b809bcceceb1"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga0ff3076f7f3633637699b809bcceceb1">hwloc_alloc_membind_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, size_t len, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:ga0ff3076f7f3633637699b809bcceceb1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga04736461780fadcf193af218c0122273"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga04736461780fadcf193af218c0122273">hwloc_alloc_membind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, size_t len, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:ga04736461780fadcf193af218c0122273"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7d473e80f11d774421688e36e9926136"><td class="memItemLeft" align="right" valign="top">static void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga7d473e80f11d774421688e36e9926136">hwloc_alloc_membind_policy_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, size_t len, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:ga7d473e80f11d774421688e36e9926136"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab1b77b8408bacaf03c7e8878f7577922"><td class="memItemLeft" align="right" valign="top">static void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#gab1b77b8408bacaf03c7e8878f7577922">hwloc_alloc_membind_policy</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, size_t len, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> set, <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> policy, int flags)</td></tr>
+<tr class="separator:gab1b77b8408bacaf03c7e8878f7577922"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga32dbd4f54e9e4a7179f2dde37ffe6ad7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ga32dbd4f54e9e4a7179f2dde37ffe6ad7">hwloc_free</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, void *addr, size_t len)</td></tr>
+<tr class="separator:ga32dbd4f54e9e4a7179f2dde37ffe6ad7"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Memory binding can be done three ways:</p>
+<ul>
+<li>explicit memory allocation thanks to <a class="el" href="a00159.html#ga04736461780fadcf193af218c0122273" title="Allocate some memory on NUMA memory nodes specified by set. ">hwloc_alloc_membind()</a> and friends: the binding will have effect on the memory allocated by these functions.</li>
+<li>implicit memory binding through binding policy: <a class="el" href="a00159.html#ga020951efa0ce3862bd4faec295501a7f" title="Set the default memory binding policy of the current process or thread to prefer the NUMA node(s) spe...">hwloc_set_membind()</a> and friends only define the current policy of the process, which will be applied to the subsequent calls to malloc() and friends.</li>
+<li>migration of existing memory ranges, thanks to <a class="el" href="a00159.html#gaf881faefe20701229f07dd7dbd0125ed" title="Bind the already-allocated memory identified by (addr, len) to the NUMA node(s) specified by set...">hwloc_set_area_membind()</a> and friends, which move already-allocated data.</li>
+</ul>
+<p>Not all operating systems support all three ways. <a class="el" href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6" title="Retrieve the topology support. ">hwloc_topology_get_support()</a> may be used to query about the actual memory binding support in the currently used operating system.</p>
+<p>When the requested binding operation is not available and the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> flag was passed, the function returns -1. <code>errno</code> will be set to <code>ENOSYS</code> when the system does support the specified action or policy (e.g., some systems only allow binding memory on a per-thread basis, whereas other systems only allow binding memory for all threads in a process). <code>errno</code> will be set to EXDEV when the requested set can not be enforced (e.g., some systems only allow binding memory to a single NUMA node).</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> was not passed, the function may fail as well, or the operating system may use a slightly different operation (with side-effects, smaller binding set, etc.) when the requested operation is not exactly supported.</p>
+<p>The most portable form that should be preferred over the others whenever possible is as follows. It allocates some memory hopefully bound to the specified set. To do so, hwloc will possibly have to change the current memory binding policy in order to actually get the memory bound, if the OS does not provide any other way to simply allocate bound memory without changing the policy for all allocations. That is the difference with <a class="el" href="a00159.html#ga04736461780fadcf193af218c0122273" title="Allocate some memory on NUMA memory nodes specified by set. ">hwloc_alloc_membind()</a>, which will never change the current memory binding policy.</p>
+<div class="fragment"><div class="line"><a class="code" href="a00159.html#gab1b77b8408bacaf03c7e8878f7577922">hwloc_alloc_membind_policy</a>(topology, size, <span class="keyword">set</span>,</div><div class="line"> <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c">HWLOC_MEMBIND_BIND</a>, 0);</div></div><!-- fragment --><p>Each hwloc memory binding function is available in two forms: one that takes a bitmap argument (a CPU set by default, or a NUMA memory node set if the flag <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified), and another one (whose name ends with _nodeset) that always takes a NUMA memory node set. See <a class="el" href="a00150.html">Object Sets (hwloc_cpuset_t and hwloc_nodeset_t)</a> and <a class="el" href="a00174.html">The bitmap API</a> for a discussion of CPU sets and NUMA memory node sets. It is also possible to convert between CPU set and node set using <a class="el" href="a00171.html#ga8fbd641f284673a3e884e8e556044eba" title="Convert a CPU set into a NUMA node set and handle non-NUMA cases. ">hwloc_cpuset_to_nodeset()</a> or <a class="el" href="a00171.html#ga2ed57313ce5bf85f3ac156932ecf639d" title="Convert a NUMA node set into a CPU set and handle non-NUMA cases. ">hwloc_cpuset_from_nodeset()</a>.</p>
+<p>Memory binding by CPU set cannot work for CPU-less NUMA memory nodes. Binding by nodeset should therefore be preferred whenever possible.</p>
+<dl class="section see"><dt>See also</dt><dd>Some example codes are available under doc/examples/ in the source tree.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>On some operating systems, memory binding affects the CPU binding; see <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997" title="Avoid any effect on CPU binding. ">HWLOC_MEMBIND_NOCPUBIND</a> </dd></dl>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="gab00475fd98815bf4fb9aaf752030e7d2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab00475fd98815bf4fb9aaf752030e7d2">◆ </a></span>hwloc_membind_flags_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00159.html#gab00475fd98815bf4fb9aaf752030e7d2">hwloc_membind_flags_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Memory binding flags. </p>
+<p>These flags can be used to refine the binding policy. All flags can be logically OR'ed together with the exception of <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> and <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a>; these two flags are mutually exclusive.</p>
+<p>Not all systems support all kinds of binding. <a class="el" href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6" title="Retrieve the topology support. ">hwloc_topology_get_support()</a> may be used to query about the actual memory binding support in the currently used operating system. See the "Detailed Description" section of <a class="el" href="a00159.html">Memory binding</a> for a description of errors that can occur. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4"></a>HWLOC_MEMBIND_PROCESS </td><td class="fielddoc"><p>Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually exclusive with <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a>. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298"></a>HWLOC_MEMBIND_THREAD </td><td class="fielddoc"><p>Set policy for a specific thread of the current process. This flag is mutually exclusive with <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a>. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6"></a>HWLOC_MEMBIND_STRICT </td><td class="fielddoc"><p>Request strict binding from the OS. The function will fail if the binding can not be guaranteed / completely enforced.</p>
+<p>This flag has slightly different meanings depending on which function it is used with. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggab00475fd98815bf4fb9aaf752030e7d2aa6e49e54f52827cb143cc869cfd748af"></a>HWLOC_MEMBIND_MIGRATE </td><td class="fielddoc"><p>Migrate existing allocated memory. If the memory cannot be migrated and the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> flag is passed, an error will be returned. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997"></a>HWLOC_MEMBIND_NOCPUBIND </td><td class="fielddoc"><p>Avoid any effect on CPU binding. </p>
+<p>On some operating systems, some underlying memory binding functions also bind the application to the corresponding CPU(s). Using this flag will cause hwloc to avoid using OS functions that could potentially affect CPU bindings. Note, however, that using NOCPUBIND may reduce hwloc's overall memory binding support. Specifically: some of hwloc's memory binding functions may fail with errno set to ENOSYS when used with NOCPUBIND. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256"></a>HWLOC_MEMBIND_BYNODESET </td><td class="fielddoc"><p>Consider the bitmap argument as a nodeset. </p>
+<p>Functions whose name ends with _nodeset() take a nodeset argument. Other functions take a bitmap argument that is considered a nodeset if this flag is given, or a cpuset otherwise.</p>
+<p>Memory binding by CPU set cannot work for CPU-less NUMA memory nodes. Binding by nodeset should therefore be preferred whenever possible. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<a id="gac9764f79505775d06407b40f5e4661e8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac9764f79505775d06407b40f5e4661e8">◆ </a></span>hwloc_membind_policy_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Memory binding policy. </p>
+<p>These constants can be used to choose the binding policy. Only one policy can be used at a time (i.e., the values cannot be OR'ed together).</p>
+<p>Not all systems support all kinds of binding. <a class="el" href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6" title="Retrieve the topology support. ">hwloc_topology_get_support()</a> may be used to query about the actual memory binding policy support in the currently used operating system. See the "Detailed Description" section of <a class="el" href="a00159.html">Memory binding</a> for a description of errors that can occur. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggac9764f79505775d06407b40f5e4661e8a18675bb80ebc1bce5b652e9de8f3998c"></a>HWLOC_MEMBIND_DEFAULT </td><td class="fielddoc"><p>Reset the memory allocation policy to the system default. Depending on the operating system, this may correspond to <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0" title="Allocate memory but do not immediately bind it to a specific locality. Instead, each page in the allo...">HWLOC_MEMBIND_FIRSTTOUCH</a> (Linux), or <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c" title="Allocate memory on the specified nodes. ">HWLOC_MEMBIND_BIND</a> (AIX, HP-UX, OSF, Solaris, Windows). This policy is never returned by get membind functions when running on normal machines. It is only returned when binding hooks are empty because the topology was loaded from XML, or HWLOC_THISSYSTEM=0, etc. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0"></a>HWLOC_MEMBIND_FIRSTTOUCH </td><td class="fielddoc"><p>Allocate memory but do not immediately bind it to a specific locality. Instead, each page in the allocation is bound only when it is first touched. Pages are individually bound to the local NUMA node of the first thread that touches it. If there is not enough memory on the node, allocation may be done in the specified nodes before allocating on other nodes. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c"></a>HWLOC_MEMBIND_BIND </td><td class="fielddoc"><p>Allocate memory on the specified nodes. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggac9764f79505775d06407b40f5e4661e8ae370075e5af016d42310f87ea5af236b"></a>HWLOC_MEMBIND_INTERLEAVE </td><td class="fielddoc"><p>Allocate memory on the given nodes in an interleaved / round-robin manner. The precise layout of the memory across multiple NUMA nodes is OS/system specific. Interleaving can be useful when threads distributed across the specified NUMA nodes will all be accessing the whole memory range concurrently, since the interleave will then balance the memory references. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggac9764f79505775d06407b40f5e4661e8afb37480fe5f4236eb7dd4aef26f691e9"></a>HWLOC_MEMBIND_REPLICATE </td><td class="fielddoc"><p>Replicate memory on the given nodes; reads from this memory will attempt to be serviced from the NUMA node local to the reading thread. Replicating can be useful when multiple threads from the specified NUMA nodes will be sharing the same read-only data. </p>
+<p>This policy can only be used with existing memory allocations (i.e., the hwloc_set_*membind*() functions); it cannot be used with functions that allocate new memory (i.e., the hwloc_alloc*() functions). </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggac9764f79505775d06407b40f5e4661e8aecdd4164d647708fbb51a00d98dbb138"></a>HWLOC_MEMBIND_NEXTTOUCH </td><td class="fielddoc"><p>For each page bound with this policy, by next time it is touched (and next time only), it is moved from its current location to the local NUMA node of the thread where the memory reference occurred (if it needs to be moved at all). </p>
+</td></tr>
+<tr><td class="fieldname"><a id="ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402"></a>HWLOC_MEMBIND_MIXED </td><td class="fielddoc"><p>Returned by get_membind() functions when multiple threads or parts of a memory area have differing memory binding policies. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga972b335a86a7d5e7b34bce2b243c41bc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga972b335a86a7d5e7b34bce2b243c41bc">◆ </a></span>hwloc_alloc()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void* hwloc_alloc </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate some memory. </p>
+<p>This is equivalent to malloc(), except that it tries to allocate page-aligned memory from the OS.</p>
+<dl class="section note"><dt>Note</dt><dd>The allocated memory should be freed with <a class="el" href="a00159.html#ga32dbd4f54e9e4a7179f2dde37ffe6ad7" title="Free memory that was previously allocated by hwloc_alloc() or hwloc_alloc_membind(). ">hwloc_free()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga04736461780fadcf193af218c0122273"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga04736461780fadcf193af218c0122273">◆ </a></span>hwloc_alloc_membind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void* hwloc_alloc_membind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate some memory on NUMA memory nodes specified by <code>set</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>NULL with errno set to ENOSYS if the action is not supported and <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is given </dd>
+<dd>
+NULL with errno set to EXDEV if the binding cannot be enforced and <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is given </dd>
+<dd>
+NULL with errno set to ENOMEM if the memory allocation failed even before trying to bind.</dd></dl>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<dl class="section note"><dt>Note</dt><dd>The allocated memory should be freed with <a class="el" href="a00159.html#ga32dbd4f54e9e4a7179f2dde37ffe6ad7" title="Free memory that was previously allocated by hwloc_alloc() or hwloc_alloc_membind(). ">hwloc_free()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga0ff3076f7f3633637699b809bcceceb1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0ff3076f7f3633637699b809bcceceb1">◆ </a></span>hwloc_alloc_membind_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void* hwloc_alloc_membind_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate some memory on NUMA memory nodes specified by <code>nodeset</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>NULL with errno set to ENOSYS if the action is not supported and <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is given </dd>
+<dd>
+NULL with errno set to EXDEV if the binding cannot be enforced and <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is given </dd>
+<dd>
+NULL with errno set to ENOMEM if the memory allocation failed even before trying to bind.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The allocated memory should be freed with <a class="el" href="a00159.html#ga32dbd4f54e9e4a7179f2dde37ffe6ad7" title="Free memory that was previously allocated by hwloc_alloc() or hwloc_alloc_membind(). ">hwloc_free()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="gab1b77b8408bacaf03c7e8878f7577922"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab1b77b8408bacaf03c7e8878f7577922">◆ </a></span>hwloc_alloc_membind_policy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static void* hwloc_alloc_membind_policy </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Allocate some memory on NUMA memory nodes specified by <code>set</code>. </p>
+<p>This is similar to <a class="el" href="a00159.html#ga0ff3076f7f3633637699b809bcceceb1" title="Allocate some memory on NUMA memory nodes specified by nodeset. ">hwloc_alloc_membind_nodeset()</a> except that it is allowed to change the current memory binding policy, thus providing more binding support, at the expense of changing the current state.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset. </p>
+
+</div>
+</div>
+<a id="ga7d473e80f11d774421688e36e9926136"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7d473e80f11d774421688e36e9926136">◆ </a></span>hwloc_alloc_membind_policy_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static void* hwloc_alloc_membind_policy_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Allocate some memory on NUMA memory nodes specified by <code>nodeset</code>. </p>
+<p>This is similar to <a class="el" href="a00159.html#ga04736461780fadcf193af218c0122273" title="Allocate some memory on NUMA memory nodes specified by set. ">hwloc_alloc_membind()</a> except that it is allowed to change the current memory binding policy, thus providing more binding support, at the expense of changing the current state. </p>
+
+</div>
+</div>
+<a id="ga32dbd4f54e9e4a7179f2dde37ffe6ad7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga32dbd4f54e9e4a7179f2dde37ffe6ad7">◆ </a></span>hwloc_free()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_free </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">void * </td>
+ <td class="paramname"><em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Free memory that was previously allocated by <a class="el" href="a00159.html#ga972b335a86a7d5e7b34bce2b243c41bc" title="Allocate some memory. ">hwloc_alloc()</a> or <a class="el" href="a00159.html#ga04736461780fadcf193af218c0122273" title="Allocate some memory on NUMA memory nodes specified by set. ">hwloc_alloc_membind()</a>. </p>
+
+</div>
+</div>
+<a id="gaa87e0a6946ff145914fdf0b1c60567f8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa87e0a6946ff145914fdf0b1c60567f8">◆ </a></span>hwloc_get_area_membind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_area_membind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Query the CPUs near the physical NUMA node(s) and binding policy of the memory identified by (<code>addr</code>, <code>len</code> ). </p>
+<p>This function has two output parameters: <code>set</code> and <code>policy</code>. The values returned in these parameters depend on both the <code>flags</code> passed in and the memory binding policies and nodesets of the pages in the address range.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is specified, the target pages are first checked to see if they all have the same memory binding policy and nodeset. If they do not, -1 is returned and errno is set to EXDEV. If they are identical across all pages, the set and policy are returned in <code>set</code> and <code>policy</code>, respectively.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is not specified, the union of all NUMA node(s) containing pages in the address range is calculated. If all pages in the target have the same policy, it is returned in <code>policy</code>. Otherwise, <code>policy</code> is set to <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402" title="Returned by get_membind() functions when multiple threads or parts of a memory area have differing me...">HWLOC_MEMBIND_MIXED</a>.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<p>If <code>len</code> is 0, -1 is returned and errno is set to EINVAL.</p>
+<p>If any other flags are specified, -1 is returned and errno is set to EINVAL. </p>
+
+</div>
+</div>
+<a id="ga5b674a9e043814bfd1c927fd0137fb19"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5b674a9e043814bfd1c927fd0137fb19">◆ </a></span>hwloc_get_area_membind_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_area_membind_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Query the physical NUMA node(s) and binding policy of the memory identified by (<code>addr</code>, <code>len</code> ). </p>
+<p>This function has two output parameters: <code>nodeset</code> and <code>policy</code>. The values returned in these parameters depend on both the <code>flags</code> passed in and the memory binding policies and nodesets of the pages in the address range.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is specified, the target pages are first checked to see if they all have the same memory binding policy and nodeset. If they do not, -1 is returned and errno is set to EXDEV. If they are identical across all pages, the nodeset and policy are returned in <code>nodeset</code> and <code>policy</code>, respectively.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is not specified, <code>nodeset</code> is set to the union of all NUMA node(s) containing pages in the address range. If all pages in the target have the same policy, it is returned in <code>policy</code>. Otherwise, <code>policy</code> is set to <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402" title="Returned by get_membind() functions when multiple threads or parts of a memory area have differing me...">HWLOC_MEMBIND_MIXED</a>.</p>
+<p>If <code>len</code> is 0, -1 is returned and errno is set to EINVAL.</p>
+<p>If any other flags are specified, -1 is returned and errno is set to EINVAL. </p>
+
+</div>
+</div>
+<a id="ga537c7508a4e2d1db05673ec5be6e805c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga537c7508a4e2d1db05673ec5be6e805c">◆ </a></span>hwloc_get_area_memlocation()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_area_memlocation </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the NUMA nodes where memory identified by (<code>addr</code>, <code>len</code> ) is physically allocated. </p>
+<p>Fills <code>set</code> according to the NUMA nodes where the memory area pages are physically allocated. If no page is actually allocated yet, <code>set</code> may be empty.</p>
+<p>If pages spread to multiple nodes, it is not specified whether they spread equitably, or whether most of them are on a single node, etc.</p>
+<p>The operating system may move memory pages from one processor to another at any time according to their binding, so this function may return something that is already outdated.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified in <code>flags</code>, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<p>If <code>len</code> is 0, <code>set</code> is emptied. </p>
+
+</div>
+</div>
+<a id="gae21f0a1a884929c784bebf070252aa56"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae21f0a1a884929c784bebf070252aa56">◆ </a></span>hwloc_get_membind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_membind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Query the default memory binding policy and physical locality of the current process or thread. </p>
+<p>This function has two output parameters: <code>set</code> and <code>policy</code>. The values returned in these parameters depend on both the <code>flags</code> passed in and the current memory binding policies and nodesets in the queried target.</p>
+<p>Passing the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> flag specifies that the query target is the current policies and nodesets for all the threads in the current process. Passing <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> specifies that the query target is the current policy and nodeset for only the thread invoking this function.</p>
+<p>If neither of these flags are passed (which is the most portable method), the process is assumed to be single threaded. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available.</p>
+<p><a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is only meaningful when <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> is also specified. In this case, hwloc will check the default memory policies and nodesets for all threads in the process. If they are not identical, -1 is returned and errno is set to EXDEV. If they are identical, the values are returned in <code>set</code> and <code>policy</code>.</p>
+<p>Otherwise, if <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> is specified (and <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is <em>not</em> specified), the default set from each thread is logically OR'ed together. If all threads' default policies are the same, <code>policy</code> is set to that policy. If they are different, <code>policy</code> is set to <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402" title="Returned by get_membind() functions when multiple threads or parts of a memory area have differing me...">HWLOC_MEMBIND_MIXED</a>.</p>
+<p>In the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> case (or when neither <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> or <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> is specified), there is only one set and policy; they are returned in <code>set</code> and <code>policy</code>, respectively.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<p>If any other flags are specified, -1 is returned and errno is set to EINVAL. </p>
+
+</div>
+</div>
+<a id="ga84ee275e84286d17a5853c52272a6a95"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga84ee275e84286d17a5853c52272a6a95">◆ </a></span>hwloc_get_membind_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_membind_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Query the default memory binding policy and physical locality of the current process or thread. </p>
+<p>This function has two output parameters: <code>nodeset</code> and <code>policy</code>. The values returned in these parameters depend on both the <code>flags</code> passed in and the current memory binding policies and nodesets in the queried target.</p>
+<p>Passing the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> flag specifies that the query target is the current policies and nodesets for all the threads in the current process. Passing <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> specifies that the query target is the current policy and nodeset for only the thread invoking this function.</p>
+<p>If neither of these flags are passed (which is the most portable method), the process is assumed to be single threaded. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available.</p>
+<p><a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is only meaningful when <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> is also specified. In this case, hwloc will check the default memory policies and nodesets for all threads in the process. If they are not identical, -1 is returned and errno is set to EXDEV. If they are identical, the values are returned in <code>nodeset</code> and <code>policy</code>.</p>
+<p>Otherwise, if <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> is specified (and <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is <em>not</em> specified), <code>nodeset</code> is set to the logical OR of all threads' default nodeset. If all threads' default policies are the same, <code>policy</code> is set to that policy. If they are different, <code>policy</code> is set to <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402" title="Returned by get_membind() functions when multiple threads or parts of a memory area have differing me...">HWLOC_MEMBIND_MIXED</a>.</p>
+<p>In the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> case (or when neither <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> or <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> is specified), there is only one nodeset and policy; they are returned in <code>nodeset</code> and <code>policy</code>, respectively.</p>
+<p>If any other flags are specified, -1 is returned and errno is set to EINVAL. </p>
+
+</div>
+</div>
+<a id="ga1730ceb18ec6ee3b7bd3d0db81f07dc8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1730ceb18ec6ee3b7bd3d0db81f07dc8">◆ </a></span>hwloc_get_proc_membind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_proc_membind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Query the default memory binding policy and physical locality of the specified process. </p>
+<p>This function has two output parameters: <code>set</code> and <code>policy</code>. The values returned in these parameters depend on both the <code>flags</code> passed in and the current memory binding policies and nodesets in the queried target.</p>
+<p>Passing the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> flag specifies that the query target is the current policies and nodesets for all the threads in the specified process. If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> is not specified (which is the most portable method), the process is assumed to be single threaded. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available.</p>
+<p>Note that it does not make sense to pass <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> to this function.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is specified, hwloc will check the default memory policies and nodesets for all threads in the specified process. If they are not identical, -1 is returned and errno is set to EXDEV. If they are identical, the values are returned in <code>set</code> and <code>policy</code>.</p>
+<p>Otherwise, <code>set</code> is set to the logical OR of all threads' default set. If all threads' default policies are the same, <code>policy</code> is set to that policy. If they are different, <code>policy</code> is set to <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402" title="Returned by get_membind() functions when multiple threads or parts of a memory area have differing me...">HWLOC_MEMBIND_MIXED</a>.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<p>If any other flags are specified, -1 is returned and errno is set to EINVAL.</p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms. </dd></dl>
+
+</div>
+</div>
+<a id="gac5075b7a2bf55f48f4622351817addad"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac5075b7a2bf55f48f4622351817addad">◆ </a></span>hwloc_get_proc_membind_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_proc_membind_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> * </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Query the default memory binding policy and physical locality of the specified process. </p>
+<p>This function has two output parameters: <code>nodeset</code> and <code>policy</code>. The values returned in these parameters depend on both the <code>flags</code> passed in and the current memory binding policies and nodesets in the queried target.</p>
+<p>Passing the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> flag specifies that the query target is the current policies and nodesets for all the threads in the specified process. If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> is not specified (which is the most portable method), the process is assumed to be single threaded. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available.</p>
+<p>Note that it does not make sense to pass <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> to this function.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6">HWLOC_MEMBIND_STRICT</a> is specified, hwloc will check the default memory policies and nodesets for all threads in the specified process. If they are not identical, -1 is returned and errno is set to EXDEV. If they are identical, the values are returned in <code>nodeset</code> and <code>policy</code>.</p>
+<p>Otherwise, <code>nodeset</code> is set to the logical OR of all threads' default nodeset. If all threads' default policies are the same, <code>policy</code> is set to that policy. If they are different, <code>policy</code> is set to <a class="el" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402" title="Returned by get_membind() functions when multiple threads or parts of a memory area have differing me...">HWLOC_MEMBIND_MIXED</a>.</p>
+<p>If any other flags are specified, -1 is returned and errno is set to EINVAL.</p>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms. </dd></dl>
+
+</div>
+</div>
+<a id="gaf881faefe20701229f07dd7dbd0125ed"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf881faefe20701229f07dd7dbd0125ed">◆ </a></span>hwloc_set_area_membind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_area_membind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Bind the already-allocated memory identified by (addr, len) to the NUMA node(s) specified by <code>set</code>. </p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<dl class="section return"><dt>Returns</dt><dd>0 if <code>len</code> is 0. </dd>
+<dd>
+-1 with errno set to ENOSYS if the action is not supported </dd>
+<dd>
+-1 with errno set to EXDEV if the binding cannot be enforced </dd></dl>
+
+</div>
+</div>
+<a id="ga7f11bd709ac0cb93af613e2dd84165ad"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7f11bd709ac0cb93af613e2dd84165ad">◆ </a></span>hwloc_set_area_membind_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_area_membind_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>len</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Bind the already-allocated memory identified by (addr, len) to the NUMA node(s) specified by <code>nodeset</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>0 if <code>len</code> is 0. </dd>
+<dd>
+-1 with errno set to ENOSYS if the action is not supported </dd>
+<dd>
+-1 with errno set to EXDEV if the binding cannot be enforced </dd></dl>
+
+</div>
+</div>
+<a id="ga020951efa0ce3862bd4faec295501a7f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga020951efa0ce3862bd4faec295501a7f">◆ </a></span>hwloc_set_membind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_membind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set the default memory binding policy of the current process or thread to prefer the NUMA node(s) specified by <code>set</code>. </p>
+<p>If neither <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> nor <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> is specified, the current process is assumed to be single-threaded. This is the most portable form as it permits hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available.</p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to ENOSYS if the action is not supported </dd>
+<dd>
+-1 with errno set to EXDEV if the binding cannot be enforced </dd></dl>
+
+</div>
+</div>
+<a id="ga5cac0bcbe770b43fc63a6b00ea4a7a9d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5cac0bcbe770b43fc63a6b00ea4a7a9d">◆ </a></span>hwloc_set_membind_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_membind_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set the default memory binding policy of the current process or thread to prefer the NUMA node(s) specified by <code>nodeset</code>. </p>
+<p>If neither <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4" title="Set policy for all threads of the specified (possibly multithreaded) process. This flag is mutually e...">HWLOC_MEMBIND_PROCESS</a> nor <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298" title="Set policy for a specific thread of the current process. This flag is mutually exclusive with HWLOC_M...">HWLOC_MEMBIND_THREAD</a> is specified, the current process is assumed to be single-threaded. This is the most portable form as it permits hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to ENOSYS if the action is not supported </dd>
+<dd>
+-1 with errno set to EXDEV if the binding cannot be enforced </dd></dl>
+
+</div>
+</div>
+<a id="gabc91ff16f7e41047924e3a4ae6d9da7e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gabc91ff16f7e41047924e3a4ae6d9da7e">◆ </a></span>hwloc_set_proc_membind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_proc_membind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set the default memory binding policy of the specified process to prefer the NUMA node(s) specified by <code>set</code>. </p>
+<p>If <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256" title="Consider the bitmap argument as a nodeset. ">HWLOC_MEMBIND_BYNODESET</a> is specified, set is considered a nodeset. Otherwise it's a cpuset.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to ENOSYS if the action is not supported </dd>
+<dd>
+-1 with errno set to EXDEV if the binding cannot be enforced</dd></dl>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms. </dd></dl>
+
+</div>
+</div>
+<a id="ga21b042d94266a26a9c82b98c4bb30d01"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga21b042d94266a26a9c82b98c4bb30d01">◆ </a></span>hwloc_set_proc_membind_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_set_proc_membind_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">hwloc_pid_t </td>
+ <td class="paramname"><em>pid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00159.html#gac9764f79505775d06407b40f5e4661e8">hwloc_membind_policy_t</a> </td>
+ <td class="paramname"><em>policy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set the default memory binding policy of the specified process to prefer the NUMA node(s) specified by <code>nodeset</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>-1 with errno set to ENOSYS if the action is not supported </dd>
+<dd>
+-1 with errno set to EXDEV if the binding cannot be enforced</dd></dl>
+<dl class="section note"><dt>Note</dt><dd><code>hwloc_pid_t</code> is <code>pid_t</code> on Unix platforms, and <code>HANDLE</code> on native Windows platforms. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Modifying a loaded Topology</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Modifying a loaded Topology</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga9d80f08eb25b7ac22f1b998dc8bf521f"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00160.html#ga9d80f08eb25b7ac22f1b998dc8bf521f">hwloc_restrict_flags_e</a> { <a class="el" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa4d18407f5520793b50b9e892f5bb55d1">HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES</a>,
+<a class="el" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521fa699969227a09bbc1a7de51dc9fb7be4b">HWLOC_RESTRICT_FLAG_ADAPT_MISC</a>,
+<a class="el" href="a00160.html#gga9d80f08eb25b7ac22f1b998dc8bf521faa95d6985e36ec1e55f68b210297a85cb">HWLOC_RESTRICT_FLAG_ADAPT_IO</a>
+ }</td></tr>
+<tr class="separator:ga9d80f08eb25b7ac22f1b998dc8bf521f"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga77c753751f3b90fac14117523fe604df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00160.html#ga77c753751f3b90fac14117523fe604df">hwloc_topology_insert_misc_object_by_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> cpuset, const char *name)</td></tr>
+<tr class="separator:ga77c753751f3b90fac14117523fe604df"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga1472cdf93327dfff4b5b2aedfde29cf3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00160.html#ga1472cdf93327dfff4b5b2aedfde29cf3">hwloc_topology_insert_misc_object_by_parent</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> parent, const char *name)</td></tr>
+<tr class="separator:ga1472cdf93327dfff4b5b2aedfde29cf3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaffdb5403e5178b0d29852dd3319de3fc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00160.html#gaffdb5403e5178b0d29852dd3319de3fc">hwloc_topology_restrict</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> cpuset, unsigned long flags)</td></tr>
+<tr class="separator:gaffdb5403e5178b0d29852dd3319de3fc"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga9d80f08eb25b7ac22f1b998dc8bf521f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9d80f08eb25b7ac22f1b998dc8bf521f">◆ </a></span>hwloc_restrict_flags_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00160.html#ga9d80f08eb25b7ac22f1b998dc8bf521f">hwloc_restrict_flags_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Flags to be given to <a class="el" href="a00160.html#gaffdb5403e5178b0d29852dd3319de3fc" title="Restrict the topology to the given CPU set. ">hwloc_topology_restrict()</a>. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga9d80f08eb25b7ac22f1b998dc8bf521fa4d18407f5520793b50b9e892f5bb55d1"></a>HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES </td><td class="fielddoc"><p>Adapt distance matrices according to objects being removed during restriction. If this flag is not set, distance matrices are removed. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga9d80f08eb25b7ac22f1b998dc8bf521fa699969227a09bbc1a7de51dc9fb7be4b"></a>HWLOC_RESTRICT_FLAG_ADAPT_MISC </td><td class="fielddoc"><p>Move Misc objects to ancestors if their parents are removed during restriction. If this flag is not set, Misc objects are removed when their parents are removed. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga9d80f08eb25b7ac22f1b998dc8bf521faa95d6985e36ec1e55f68b210297a85cb"></a>HWLOC_RESTRICT_FLAG_ADAPT_IO </td><td class="fielddoc"><p>Move I/O objects to ancestors if their parents are removed during restriction. If this flag is not set, I/O devices and bridges are removed when their parents are removed. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga77c753751f3b90fac14117523fe604df"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga77c753751f3b90fac14117523fe604df">◆ </a></span>hwloc_topology_insert_misc_object_by_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_topology_insert_misc_object_by_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>name</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Add a MISC object to the topology. </p>
+<p>A new MISC object will be created and inserted into the topology at the position given by bitmap <code>cpuset</code>. This offers a way to add new intermediate levels to the topology hierarchy.</p>
+<p><code>cpuset</code> and <code>name</code> will be copied to setup the new object attributes.</p>
+<dl class="section return"><dt>Returns</dt><dd>the newly-created object. </dd>
+<dd>
+<code>NULL</code> if the insertion conflicts with the existing topology tree.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>If <code>name</code> contains some non-printable characters, they will be dropped when exporting to XML, see <a class="el" href="a00162.html#ga2bf166eda4d3605362ac86f77684002a" title="Export the topology into an XML file. ">hwloc_topology_export_xml()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga1472cdf93327dfff4b5b2aedfde29cf3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1472cdf93327dfff4b5b2aedfde29cf3">◆ </a></span>hwloc_topology_insert_misc_object_by_parent()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_topology_insert_misc_object_by_parent </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>parent</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>name</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Add a MISC object as a leaf of the topology. </p>
+<p>A new MISC object will be created and inserted into the topology at the position given by parent. It is appended to the list of existing children, without ever adding any intermediate hierarchy level. This is useful for annotating the topology without actually changing the hierarchy.</p>
+<p><code>name</code> will be copied to the setup the new object attributes. However, the new leaf object will not have any <code>cpuset</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the newly-created object</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>If <code>name</code> contains some non-printable characters, they will be dropped when exporting to XML, see <a class="el" href="a00162.html#ga2bf166eda4d3605362ac86f77684002a" title="Export the topology into an XML file. ">hwloc_topology_export_xml()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="gaffdb5403e5178b0d29852dd3319de3fc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaffdb5403e5178b0d29852dd3319de3fc">◆ </a></span>hwloc_topology_restrict()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_restrict </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> restrict </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Restrict the topology to the given CPU set. </p>
+<p>Topology <code>topology</code> is modified so as to remove all objects that are not included (or partially included) in the CPU set <code>cpuset</code>. All objects CPU and node sets are restricted accordingly.</p>
+<p><code>flags</code> is a OR'ed set of <a class="el" href="a00160.html#ga9d80f08eb25b7ac22f1b998dc8bf521f" title="Flags to be given to hwloc_topology_restrict(). ">hwloc_restrict_flags_e</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>This call may not be reverted by restricting back to a larger cpuset. Once dropped during restriction, objects may not be brought back, except by loading another topology with <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>.</dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>0 on success.</dd>
+<dd>
+-1 with errno set to EINVAL if the input cpuset is invalid. The topology is not modified in this case.</dd>
+<dd>
+-1 with errno set to ENOMEM on failure to allocate internal data. The topology is reinitialized in this case. It should be either destroyed with <a class="el" href="a00153.html#ga9f34a640b6fd28d23699d4d084667b15" title="Terminate and free a topology context. ">hwloc_topology_destroy()</a> or configured and loaded again. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Building Custom Topologies</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Building Custom Topologies</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga58220f648a972140865d11940bccec81"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00161.html#ga58220f648a972140865d11940bccec81">hwloc_custom_insert_topology</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> newtopology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> newparent, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> oldtopology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> oldroot)</td></tr>
+<tr class="separator:ga58220f648a972140865d11940bccec81"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga60c404d4f0544e1070f549af8be6bd73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73">hwloc_custom_insert_group_object_by_parent</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> parent, int groupdepth)</td></tr>
+<tr class="separator:ga60c404d4f0544e1070f549af8be6bd73"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>A custom topology may be initialized by calling <a class="el" href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f" title="Prepare the topology for custom assembly. ">hwloc_topology_set_custom()</a> after <a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa" title="Allocate a topology context. ">hwloc_topology_init()</a>. It may then be modified by inserting objects or entire topologies. Once done assembling, <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> should be invoked as usual to finalize the topology. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga60c404d4f0544e1070f549af8be6bd73"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga60c404d4f0544e1070f549af8be6bd73">◆ </a></span>hwloc_custom_insert_group_object_by_parent()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_custom_insert_group_object_by_parent </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>parent</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>groupdepth</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Insert a new group object inside a custom topology. </p>
+<p>An object with type <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56" title="Group objects. Objects which do not fit in the above but are detected by hwloc and are useful to take...">HWLOC_OBJ_GROUP</a> is inserted as a new child of object <code>parent</code>.</p>
+<p><code>groupdepth</code> is the depth attribute to be given to the new object. It may for instance be 0 for top-level groups, 1 for their children, and so on.</p>
+<p>The custom topology <code>newtopology</code> must have been prepared with <a class="el" href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f" title="Prepare the topology for custom assembly. ">hwloc_topology_set_custom()</a> and not loaded with <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> yet.</p>
+<p><code>parent</code> may be either the root of <code>topology</code> or an object that was added earlier through <a class="el" href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73" title="Insert a new group object inside a custom topology. ">hwloc_custom_insert_group_object_by_parent()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The cpuset and nodeset of the new group object are NULL because these sets are meaningless when assembling multiple topologies.</dd>
+<dd>
+The cpuset and nodeset of the <code>parent</code> object are not modified. </dd></dl>
+
+</div>
+</div>
+<a id="ga58220f648a972140865d11940bccec81"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga58220f648a972140865d11940bccec81">◆ </a></span>hwloc_custom_insert_topology()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_custom_insert_topology </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>newtopology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>newparent</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>oldtopology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>oldroot</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Insert an existing topology inside a custom topology. </p>
+<p>Duplicate the existing topology <code>oldtopology</code> inside a new custom topology <code>newtopology</code> as a leaf of object <code>newparent</code>.</p>
+<p>If <code>oldroot</code> is not <code>NULL</code>, duplicate <code>oldroot</code> and all its children instead of the entire <code>oldtopology</code>. Passing the root object of <code>oldtopology</code> in <code>oldroot</code> is equivalent to passing <code>NULL</code>.</p>
+<p>The custom topology <code>newtopology</code> must have been prepared with <a class="el" href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f" title="Prepare the topology for custom assembly. ">hwloc_topology_set_custom()</a> and not loaded with <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> yet.</p>
+<p><code>newparent</code> may be either the root of <code>newtopology</code> or an object that was added through <a class="el" href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73" title="Insert a new group object inside a custom topology. ">hwloc_custom_insert_group_object_by_parent()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The cpuset and nodeset of the <code>newparent</code> object are not modified based on the contents of <code>oldtopology</code>. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Exporting Topologies to XML</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Exporting Topologies to XML</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga2bf166eda4d3605362ac86f77684002a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html#ga2bf166eda4d3605362ac86f77684002a">hwloc_topology_export_xml</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const char *xmlpath)</td></tr>
+<tr class="separator:ga2bf166eda4d3605362ac86f77684002a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7cbf8a2d8579d192911007650366fc8a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html#ga7cbf8a2d8579d192911007650366fc8a">hwloc_topology_export_xmlbuffer</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, char **xmlbuffer, int *buflen)</td></tr>
+<tr class="separator:ga7cbf8a2d8579d192911007650366fc8a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga293e4a6489f15fd16ad22a5734561cf1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html#ga293e4a6489f15fd16ad22a5734561cf1">hwloc_free_xmlbuffer</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, char *xmlbuffer)</td></tr>
+<tr class="separator:ga293e4a6489f15fd16ad22a5734561cf1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga9d6ff0f7a8dd45be9aa8575ef31978cc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc">hwloc_topology_set_userdata_export_callback</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, void(*export_cb)(void *reserved, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj))</td></tr>
+<tr class="separator:ga9d6ff0f7a8dd45be9aa8575ef31978cc"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaa541bdd628416dbbe97d0df69d3de958"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html#gaa541bdd628416dbbe97d0df69d3de958">hwloc_export_obj_userdata</a> (void *reserved, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const char *name, const void *buffer, size_t length)</td></tr>
+<tr class="separator:gaa541bdd628416dbbe97d0df69d3de958"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga1b7358137cec27bd073f58a606ecbaba"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html#ga1b7358137cec27bd073f58a606ecbaba">hwloc_export_obj_userdata_base64</a> (void *reserved, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const char *name, const void *buffer, size_t length)</td></tr>
+<tr class="separator:ga1b7358137cec27bd073f58a606ecbaba"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga5ac6917ea7289955fb1ffda4353af9b0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00162.html#ga5ac6917ea7289955fb1ffda4353af9b0">hwloc_topology_set_userdata_import_callback</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, void(*import_cb)(<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const char *name, const void *buffer, size_t length))</td></tr>
+<tr class="separator:ga5ac6917ea7289955fb1ffda4353af9b0"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gaa541bdd628416dbbe97d0df69d3de958"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa541bdd628416dbbe97d0df69d3de958">◆ </a></span>hwloc_export_obj_userdata()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_export_obj_userdata </td>
+ <td>(</td>
+ <td class="paramtype">void * </td>
+ <td class="paramname"><em>reserved</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>buffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>length</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Export some object userdata to XML. </p>
+<p>This function may only be called from within the export() callback passed to <a class="el" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc" title="Set the application-specific callback for exporting object userdata. ">hwloc_topology_set_userdata_export_callback()</a>. It may be invoked one of multiple times to export some userdata to XML. The <code>buffer</code> content of length <code>length</code> is stored with optional name <code>name</code>.</p>
+<p>When importing this XML file, the import() callback (if set) will be called exactly as many times as <a class="el" href="a00162.html#gaa541bdd628416dbbe97d0df69d3de958" title="Export some object userdata to XML. ">hwloc_export_obj_userdata()</a> was called during export(). It will receive the corresponding <code>name</code>, <code>buffer</code> and <code>length</code> arguments.</p>
+<p><code>reserved</code>, <code>topology</code> and <code>obj</code> must be the first three parameters that were given to the export callback.</p>
+<p>Only printable characters may be exported to XML string attributes. If a non-printable character is passed in <code>name</code> or <code>buffer</code>, the function returns -1 with errno set to EINVAL.</p>
+<p>If exporting binary data, the application should first encode into printable characters only (or use <a class="el" href="a00162.html#ga1b7358137cec27bd073f58a606ecbaba" title="Encode and export some object userdata to XML. ">hwloc_export_obj_userdata_base64()</a>). It should also take care of portability issues if the export may be reimported on a different architecture. </p>
+
+</div>
+</div>
+<a id="ga1b7358137cec27bd073f58a606ecbaba"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1b7358137cec27bd073f58a606ecbaba">◆ </a></span>hwloc_export_obj_userdata_base64()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_export_obj_userdata_base64 </td>
+ <td>(</td>
+ <td class="paramtype">void * </td>
+ <td class="paramname"><em>reserved</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const void * </td>
+ <td class="paramname"><em>buffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>length</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Encode and export some object userdata to XML. </p>
+<p>This function is similar to <a class="el" href="a00162.html#gaa541bdd628416dbbe97d0df69d3de958" title="Export some object userdata to XML. ">hwloc_export_obj_userdata()</a> but it encodes the input buffer into printable characters before exporting. On import, decoding is automatically performed before the data is given to the import() callback if any.</p>
+<p>This function may only be called from within the export() callback passed to <a class="el" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc" title="Set the application-specific callback for exporting object userdata. ">hwloc_topology_set_userdata_export_callback()</a>.</p>
+<p>The function does not take care of portability issues if the export may be reimported on a different architecture. </p>
+
+</div>
+</div>
+<a id="ga293e4a6489f15fd16ad22a5734561cf1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga293e4a6489f15fd16ad22a5734561cf1">◆ </a></span>hwloc_free_xmlbuffer()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_free_xmlbuffer </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char * </td>
+ <td class="paramname"><em>xmlbuffer</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Free a buffer allocated by <a class="el" href="a00162.html#ga7cbf8a2d8579d192911007650366fc8a" title="Export the topology into a newly-allocated XML memory buffer. ">hwloc_topology_export_xmlbuffer()</a> </p>
+
+</div>
+</div>
+<a id="ga2bf166eda4d3605362ac86f77684002a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2bf166eda4d3605362ac86f77684002a">◆ </a></span>hwloc_topology_export_xml()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_export_xml </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>xmlpath</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Export the topology into an XML file. </p>
+<p>This file may be loaded later through <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a>.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if a failure occured.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>See also <a class="el" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc" title="Set the application-specific callback for exporting object userdata. ">hwloc_topology_set_userdata_export_callback()</a> for exporting application-specific object userdata.</dd>
+<dd>
+The topology-specific userdata pointer is ignored when exporting to XML.</dd>
+<dd>
+Only printable characters may be exported to XML string attributes. Any other character, especially any non-ASCII character, will be silently dropped.</dd>
+<dd>
+If <code>name</code> is "-", the XML output is sent to the standard output. </dd></dl>
+
+</div>
+</div>
+<a id="ga7cbf8a2d8579d192911007650366fc8a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7cbf8a2d8579d192911007650366fc8a">◆ </a></span>hwloc_topology_export_xmlbuffer()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_export_xmlbuffer </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char ** </td>
+ <td class="paramname"><em>xmlbuffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>buflen</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Export the topology into a newly-allocated XML memory buffer. </p>
+<p><code>xmlbuffer</code> is allocated by the callee and should be freed with <a class="el" href="a00162.html#ga293e4a6489f15fd16ad22a5734561cf1" title="Free a buffer allocated by hwloc_topology_export_xmlbuffer() ">hwloc_free_xmlbuffer()</a> later in the caller.</p>
+<p>This memory buffer may be loaded later through <a class="el" href="a00154.html#ga2745616b65595e1c1e579ecc7e461fa8" title="Enable XML based topology using a memory buffer (instead of a file, as with hwloc_topology_set_xml())...">hwloc_topology_set_xmlbuffer()</a>.</p>
+<p>The returned buffer ends with a \0 that is included in the returned length.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if a failure occured.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>See also <a class="el" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc" title="Set the application-specific callback for exporting object userdata. ">hwloc_topology_set_userdata_export_callback()</a> for exporting application-specific object userdata.</dd>
+<dd>
+The topology-specific userdata pointer is ignored when exporting to XML.</dd>
+<dd>
+Only printable characters may be exported to XML string attributes. Any other character, especially any non-ASCII character, will be silently dropped. </dd></dl>
+
+</div>
+</div>
+<a id="ga9d6ff0f7a8dd45be9aa8575ef31978cc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9d6ff0f7a8dd45be9aa8575ef31978cc">◆ </a></span>hwloc_topology_set_userdata_export_callback()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_topology_set_userdata_export_callback </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">void(*)(void *reserved, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj) </td>
+ <td class="paramname"><em>export_cb</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set the application-specific callback for exporting object userdata. </p>
+<p>The object userdata pointer is not exported to XML by default because hwloc does not know what it contains.</p>
+<p>This function lets applications set <code>export_cb</code> to a callback function that converts this opaque userdata into an exportable string.</p>
+<p><code>export_cb</code> is invoked during XML export for each object whose <code>userdata</code> pointer is not <code>NULL</code>. The callback should use <a class="el" href="a00162.html#gaa541bdd628416dbbe97d0df69d3de958" title="Export some object userdata to XML. ">hwloc_export_obj_userdata()</a> or <a class="el" href="a00162.html#ga1b7358137cec27bd073f58a606ecbaba" title="Encode and export some object userdata to XML. ">hwloc_export_obj_userdata_base64()</a> to actually export something to XML (possibly multiple times per object).</p>
+<p><code>export_cb</code> may be set to <code>NULL</code> if userdata should not be exported to XML.</p>
+<dl class="section note"><dt>Note</dt><dd>The topology-specific userdata pointer is ignored when exporting to XML. </dd></dl>
+
+</div>
+</div>
+<a id="ga5ac6917ea7289955fb1ffda4353af9b0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5ac6917ea7289955fb1ffda4353af9b0">◆ </a></span>hwloc_topology_set_userdata_import_callback()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_topology_set_userdata_import_callback </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">void(*)(<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const char *name, const void *buffer, size_t length) </td>
+ <td class="paramname"><em>import_cb</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set the application-specific callback for importing userdata. </p>
+<p>On XML import, userdata is ignored by default because hwloc does not know how to store it in memory.</p>
+<p>This function lets applications set <code>import_cb</code> to a callback function that will get the XML-stored userdata and store it in the object as expected by the application.</p>
+<p><code>import_cb</code> is called during <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> as many times as <a class="el" href="a00162.html#gaa541bdd628416dbbe97d0df69d3de958" title="Export some object userdata to XML. ">hwloc_export_obj_userdata()</a> was called during export. The topology is not entirely setup yet. Object attributes are ready to consult, but links between objects are not.</p>
+<p><code>import_cb</code> may be <code>NULL</code> if userdata should be ignored during import.</p>
+<dl class="section note"><dt>Note</dt><dd><code>buffer</code> contains <code>length</code> characters followed by a null byte ('\0').</dd>
+<dd>
+This function should be called before <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>.</dd>
+<dd>
+The topology-specific userdata pointer is ignored when importing from XML. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Exporting Topologies to Synthetic</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Exporting Topologies to Synthetic</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga7ac6f97cc40bd50c40285084f869ba63"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00163.html#ga7ac6f97cc40bd50c40285084f869ba63">hwloc_topology_export_synthetic_flags_e</a> { <a class="el" href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES</a>,
+<a class="el" href="a00163.html#gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS</a>
+ }</td></tr>
+<tr class="separator:ga7ac6f97cc40bd50c40285084f869ba63"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga24b7864a1c588309c4749f621f03b4c7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00163.html#ga24b7864a1c588309c4749f621f03b4c7">hwloc_topology_export_synthetic</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, char *buffer, size_t buflen, unsigned long flags)</td></tr>
+<tr class="separator:ga24b7864a1c588309c4749f621f03b4c7"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga7ac6f97cc40bd50c40285084f869ba63"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7ac6f97cc40bd50c40285084f869ba63">◆ </a></span>hwloc_topology_export_synthetic_flags_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00163.html#ga7ac6f97cc40bd50c40285084f869ba63">hwloc_topology_export_synthetic_flags_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Flags for exporting synthetic topologies. </p>
+<p>Flags to be given as a OR'ed set to <a class="el" href="a00163.html#ga24b7864a1c588309c4749f621f03b4c7" title="Export the topology as a synthetic string. ">hwloc_topology_export_synthetic()</a>. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9"></a>HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES </td><td class="fielddoc"><p>Export extended types such as L2dcache as basic types such as Cache. </p>
+<p>This is required if loading the synthetic description with hwloc < 1.9. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4"></a>HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS </td><td class="fielddoc"><p>Do not export level attributes. </p>
+<p>Ignore level attributes such as memory/cache sizes or PU indexes. This is required if loading the synthetic description with hwloc < 1.10. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga24b7864a1c588309c4749f621f03b4c7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga24b7864a1c588309c4749f621f03b4c7">◆ </a></span>hwloc_topology_export_synthetic()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_export_synthetic </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char * </td>
+ <td class="paramname"><em>buffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>buflen</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Export the topology as a synthetic string. </p>
+<p>At most <code>buflen</code> characters will be written in <code>buffer</code>, including the terminating \0.</p>
+<p>This exported string may be given back to <a class="el" href="a00154.html#ga4fab186bb6181a00bcf585825fddd38d" title="Enable synthetic topology. ">hwloc_topology_set_synthetic()</a>.</p>
+<p><code>flags</code> is a OR'ed set of hwloc_topology_export_synthetic_flags_e.</p>
+<dl class="section return"><dt>Returns</dt><dd>The number of characters that were written, not including the terminating \0.</dd>
+<dd>
+-1 if the topology could not be exported, for instance if it is not symmetric.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>A 1024-byte buffer should be large enough for exporting topologies in the vast majority of cases. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Finding Objects inside a CPU set</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Finding Objects inside a CPU set</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga547325a4193dbc215d07c23097519d79"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga547325a4193dbc215d07c23097519d79">hwloc_get_first_largest_obj_inside_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga547325a4193dbc215d07c23097519d79"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga34ca563fa3a6a4e05268f36a87668511"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga34ca563fa3a6a4e05268f36a87668511">hwloc_get_largest_objs_inside_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *restrict objs, int max)</td></tr>
+<tr class="separator:ga34ca563fa3a6a4e05268f36a87668511"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga468b8bef96f9677d6fe04a0d81044c85"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga468b8bef96f9677d6fe04a0d81044c85">hwloc_get_next_obj_inside_cpuset_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, unsigned depth, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga468b8bef96f9677d6fe04a0d81044c85"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gafe859176cf9233f215fea0e87cef47e7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#gafe859176cf9233f215fea0e87cef47e7">hwloc_get_next_obj_inside_cpuset_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:gafe859176cf9233f215fea0e87cef47e7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga9442c310da87de6d09d3a4b8399ec14f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga9442c310da87de6d09d3a4b8399ec14f">hwloc_get_obj_inside_cpuset_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, unsigned depth, unsigned idx)</td></tr>
+<tr class="separator:ga9442c310da87de6d09d3a4b8399ec14f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2edf924e5a0cca9cb22f65cc77c6ddb5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga2edf924e5a0cca9cb22f65cc77c6ddb5">hwloc_get_obj_inside_cpuset_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, unsigned idx)</td></tr>
+<tr class="separator:ga2edf924e5a0cca9cb22f65cc77c6ddb5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8874c24e73ba2b04c76ec8b9e54f49f8"><td class="memItemLeft" align="right" valign="top">static unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga8874c24e73ba2b04c76ec8b9e54f49f8">hwloc_get_nbobjs_inside_cpuset_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, unsigned depth)</td></tr>
+<tr class="separator:ga8874c24e73ba2b04c76ec8b9e54f49f8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga133c40415de008518608f8bff52a5ab9"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga133c40415de008518608f8bff52a5ab9">hwloc_get_nbobjs_inside_cpuset_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga133c40415de008518608f8bff52a5ab9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga4c3a20d61e9beb06c667b21688c772c5"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00164.html#ga4c3a20d61e9beb06c667b21688c772c5">hwloc_get_obj_index_inside_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr>
+<tr class="separator:ga4c3a20d61e9beb06c667b21688c772c5"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga547325a4193dbc215d07c23097519d79"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga547325a4193dbc215d07c23097519d79">◆ </a></span>hwloc_get_first_largest_obj_inside_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_first_largest_obj_inside_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the first largest object included in the given cpuset <code>set</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>the first object that is included in <code>set</code> and whose parent is not.</dd></dl>
+<p>This is convenient for iterating over all largest objects within a CPU set by doing a loop getting the first largest object and clearing its CPU set from the remaining CPU set.</p>
+<dl class="section note"><dt>Note</dt><dd>This function cannot work if the root object does not have a CPU set, e.g. if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga34ca563fa3a6a4e05268f36a87668511"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga34ca563fa3a6a4e05268f36a87668511">◆ </a></span>hwloc_get_largest_objs_inside_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_get_largest_objs_inside_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *restrict </td>
+ <td class="paramname"><em>objs</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>max</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the set of largest objects covering exactly a given cpuset <code>set</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>the number of objects returned in <code>objs</code>.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This function cannot work if the root object does not have a CPU set, e.g. if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga8874c24e73ba2b04c76ec8b9e54f49f8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8874c24e73ba2b04c76ec8b9e54f49f8">◆ </a></span>hwloc_get_nbobjs_inside_cpuset_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static unsigned hwloc_get_nbobjs_inside_cpuset_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the number of objects at depth <code>depth</code> included in CPU set <code>set</code>. </p>
+<dl class="section note"><dt>Note</dt><dd>Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set).</dd>
+<dd>
+This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga133c40415de008518608f8bff52a5ab9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga133c40415de008518608f8bff52a5ab9">◆ </a></span>hwloc_get_nbobjs_inside_cpuset_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_get_nbobjs_inside_cpuset_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the number of objects of type <code>type</code> included in CPU set <code>set</code>. </p>
+<p>If no object for that type exists inside CPU set <code>set</code>, 0 is returned. If there are several levels with objects of that type inside CPU set <code>set</code>, -1 is returned.</p>
+<dl class="section note"><dt>Note</dt><dd>Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set).</dd>
+<dd>
+This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga468b8bef96f9677d6fe04a0d81044c85"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga468b8bef96f9677d6fe04a0d81044c85">◆ </a></span>hwloc_get_next_obj_inside_cpuset_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_obj_inside_cpuset_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the next object at depth <code>depth</code> included in CPU set <code>set</code>. </p>
+<p>If <code>prev</code> is <code>NULL</code>, return the first object at depth <code>depth</code> included in <code>set</code>. The next invokation should pass the previous return value in <code>prev</code> so as to obtain the next object in <code>set</code>.</p>
+<dl class="section note"><dt>Note</dt><dd>Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set).</dd>
+<dd>
+This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="gafe859176cf9233f215fea0e87cef47e7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafe859176cf9233f215fea0e87cef47e7">◆ </a></span>hwloc_get_next_obj_inside_cpuset_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_obj_inside_cpuset_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the next object of type <code>type</code> included in CPU set <code>set</code>. </p>
+<p>If there are multiple or no depth for given type, return <code>NULL</code> and let the caller fallback to <a class="el" href="a00164.html#ga468b8bef96f9677d6fe04a0d81044c85" title="Return the next object at depth depth included in CPU set set. ">hwloc_get_next_obj_inside_cpuset_by_depth()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set).</dd>
+<dd>
+This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga4c3a20d61e9beb06c667b21688c772c5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4c3a20d61e9beb06c667b21688c772c5">◆ </a></span>hwloc_get_obj_index_inside_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_get_obj_index_inside_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the logical index among the objects included in CPU set <code>set</code>. </p>
+<p>Consult all objects in the same level as <code>obj</code> and inside CPU set <code>set</code> in the logical order, and return the index of <code>obj</code> within them. If <code>set</code> covers the entire topology, this is the logical index of <code>obj</code>. Otherwise, this is similar to a logical index within the part of the topology defined by CPU set <code>set</code>.</p>
+<dl class="section note"><dt>Note</dt><dd>Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set). </dd></dl>
+
+</div>
+</div>
+<a id="ga9442c310da87de6d09d3a4b8399ec14f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9442c310da87de6d09d3a4b8399ec14f">◆ </a></span>hwloc_get_obj_inside_cpuset_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_obj_inside_cpuset_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the (logically) <code>idx</code> -th object at depth <code>depth</code> included in CPU set <code>set</code>. </p>
+<dl class="section note"><dt>Note</dt><dd>Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set).</dd>
+<dd>
+This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga2edf924e5a0cca9cb22f65cc77c6ddb5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2edf924e5a0cca9cb22f65cc77c6ddb5">◆ </a></span>hwloc_get_obj_inside_cpuset_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_obj_inside_cpuset_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the <code>idx</code> -th object of type <code>type</code> included in CPU set <code>set</code>. </p>
+<p>If there are multiple or no depth for given type, return <code>NULL</code> and let the caller fallback to <a class="el" href="a00164.html#ga9442c310da87de6d09d3a4b8399ec14f" title="Return the (logically) idx -th object at depth depth included in CPU set set. ">hwloc_get_obj_inside_cpuset_by_depth()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set).</dd>
+<dd>
+This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Finding Objects covering at least CPU set</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Finding Objects covering at least CPU set</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga0e66aa2dc6b2527cfd10723af646c9d7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00165.html#ga0e66aa2dc6b2527cfd10723af646c9d7">hwloc_get_child_covering_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> parent)</td></tr>
+<tr class="separator:ga0e66aa2dc6b2527cfd10723af646c9d7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga41acdcdbb8b95d70ecf6c572a3f67dca"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00165.html#ga41acdcdbb8b95d70ecf6c572a3f67dca">hwloc_get_obj_covering_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga41acdcdbb8b95d70ecf6c572a3f67dca"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaeea0d93522c85c3ef0acfbb00733a69c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c">hwloc_get_next_obj_covering_cpuset_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, unsigned depth, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:gaeea0d93522c85c3ef0acfbb00733a69c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga91cfae08b092e7966002e15d1e987213"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00165.html#ga91cfae08b092e7966002e15d1e987213">hwloc_get_next_obj_covering_cpuset_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga91cfae08b092e7966002e15d1e987213"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga0e66aa2dc6b2527cfd10723af646c9d7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0e66aa2dc6b2527cfd10723af646c9d7">◆ </a></span>hwloc_get_child_covering_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_child_covering_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>parent</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the child covering at least CPU set <code>set</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd><code>NULL</code> if no child matches or if <code>set</code> is empty.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This function cannot work if parent does not have a CPU set. </dd></dl>
+
+</div>
+</div>
+<a id="gaeea0d93522c85c3ef0acfbb00733a69c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaeea0d93522c85c3ef0acfbb00733a69c">◆ </a></span>hwloc_get_next_obj_covering_cpuset_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_obj_covering_cpuset_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Iterate through same-depth objects covering at least CPU set <code>set</code>. </p>
+<p>If object <code>prev</code> is <code>NULL</code>, return the first object at depth <code>depth</code> covering at least part of CPU set <code>set</code>. The next invokation should pass the previous return value in <code>prev</code> so as to obtain the next object covering at least another part of <code>set</code>.</p>
+<dl class="section note"><dt>Note</dt><dd>This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga91cfae08b092e7966002e15d1e987213"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga91cfae08b092e7966002e15d1e987213">◆ </a></span>hwloc_get_next_obj_covering_cpuset_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_obj_covering_cpuset_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Iterate through same-type objects covering at least CPU set <code>set</code>. </p>
+<p>If object <code>prev</code> is <code>NULL</code>, return the first object of type <code>type</code> covering at least part of CPU set <code>set</code>. The next invokation should pass the previous return value in <code>prev</code> so as to obtain the next object of type <code>type</code> covering at least another part of <code>set</code>.</p>
+<p>If there are no or multiple depths for type <code>type</code>, <code>NULL</code> is returned. The caller may fallback to <a class="el" href="a00165.html#gaeea0d93522c85c3ef0acfbb00733a69c" title="Iterate through same-depth objects covering at least CPU set set. ">hwloc_get_next_obj_covering_cpuset_by_depth()</a> for each depth.</p>
+<dl class="section note"><dt>Note</dt><dd>This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="ga41acdcdbb8b95d70ecf6c572a3f67dca"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga41acdcdbb8b95d70ecf6c572a3f67dca">◆ </a></span>hwloc_get_obj_covering_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_obj_covering_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the lowest object covering at least CPU set <code>set</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd><code>NULL</code> if no object matches or if <code>set</code> is empty.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This function cannot work if the root object does not have a CPU set, e.g. if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Looking at Ancestor and Child Objects</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Looking at Ancestor and Child Objects</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gaa367c98dea402386c040a47a2f414f86"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00166.html#gaa367c98dea402386c040a47a2f414f86">hwloc_get_ancestor_obj_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned depth, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr>
+<tr class="separator:gaa367c98dea402386c040a47a2f414f86"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga70f0c7583291da707c15ae4daa850f41"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00166.html#ga70f0c7583291da707c15ae4daa850f41">hwloc_get_ancestor_obj_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr>
+<tr class="separator:ga70f0c7583291da707c15ae4daa850f41"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab1fa883021928b5c476911c4102e9be3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00166.html#gab1fa883021928b5c476911c4102e9be3">hwloc_get_common_ancestor_obj</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj1, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj2)</td></tr>
+<tr class="separator:gab1fa883021928b5c476911c4102e9be3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga408cf74f5bf9ed497911a320c7f8cc56"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00166.html#ga408cf74f5bf9ed497911a320c7f8cc56">hwloc_obj_is_in_subtree</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> subtree_root)</td></tr>
+<tr class="separator:ga408cf74f5bf9ed497911a320c7f8cc56"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga12d8565a3436c565e791ed02a0353621"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00166.html#ga12d8565a3436c565e791ed02a0353621">hwloc_get_next_child</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> parent, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga12d8565a3436c565e791ed02a0353621"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Be sure to see the figure in <a class="el" href="a00309.html">Terms and Definitions</a> that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one package has fewer caches than its peers. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gaa367c98dea402386c040a47a2f414f86"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa367c98dea402386c040a47a2f414f86">◆ </a></span>hwloc_get_ancestor_obj_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_ancestor_obj_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the ancestor object of <code>obj</code> at depth <code>depth</code>. </p>
+
+</div>
+</div>
+<a id="ga70f0c7583291da707c15ae4daa850f41"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga70f0c7583291da707c15ae4daa850f41">◆ </a></span>hwloc_get_ancestor_obj_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_ancestor_obj_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the ancestor object of <code>obj</code> with type <code>type</code>. </p>
+
+</div>
+</div>
+<a id="gab1fa883021928b5c476911c4102e9be3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab1fa883021928b5c476911c4102e9be3">◆ </a></span>hwloc_get_common_ancestor_obj()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_common_ancestor_obj </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the common parent object to objects <code>obj1</code> and <code>obj2</code>. </p>
+
+</div>
+</div>
+<a id="ga12d8565a3436c565e791ed02a0353621"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga12d8565a3436c565e791ed02a0353621">◆ </a></span>hwloc_get_next_child()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_child </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>parent</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the next child. </p>
+<p>If <code>prev</code> is <code>NULL</code>, return the first child. </p>
+
+</div>
+</div>
+<a id="ga408cf74f5bf9ed497911a320c7f8cc56"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga408cf74f5bf9ed497911a320c7f8cc56">◆ </a></span>hwloc_obj_is_in_subtree()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_obj_is_in_subtree </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>subtree_root</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns true if <code>obj</code> is inside the subtree beginning with ancestor object <code>subtree_root</code>. </p>
+<dl class="section note"><dt>Note</dt><dd>This function assumes that both <code>obj</code> and <code>subtree_root</code> have a <code>cpuset</code>. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Looking at Cache Objects</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Looking at Cache Objects</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gad108a09ce400222fe45545257d575489"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00167.html#gad108a09ce400222fe45545257d575489">hwloc_get_cache_type_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned cachelevel, <a class="el" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a> cachetype)</td></tr>
+<tr class="separator:gad108a09ce400222fe45545257d575489"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gac4cd480a5deaa4ada047fdd11ae4c070"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00167.html#gac4cd480a5deaa4ada047fdd11ae4c070">hwloc_get_cache_covering_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set)</td></tr>
+<tr class="separator:gac4cd480a5deaa4ada047fdd11ae4c070"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga36f48c32837c7a70b424706e213dcd71"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00167.html#ga36f48c32837c7a70b424706e213dcd71">hwloc_get_shared_cache_covering_obj</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr>
+<tr class="separator:ga36f48c32837c7a70b424706e213dcd71"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gac4cd480a5deaa4ada047fdd11ae4c070"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac4cd480a5deaa4ada047fdd11ae4c070">◆ </a></span>hwloc_get_cache_covering_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_cache_covering_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the first cache covering a cpuset <code>set</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd><code>NULL</code> if no cache matches.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This function cannot work if the root object does not have a CPU set, e.g. if the topology is made of different machines. </dd></dl>
+
+</div>
+</div>
+<a id="gad108a09ce400222fe45545257d575489"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad108a09ce400222fe45545257d575489">◆ </a></span>hwloc_get_cache_type_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_get_cache_type_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>cachelevel</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a> </td>
+ <td class="paramname"><em>cachetype</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Find the depth of cache objects matching cache depth and type. </p>
+<p>Return the depth of the topology level that contains cache objects whose attributes match <code>cachedepth</code> and <code>cachetype</code>. This function intends to disambiguate the case where <a class="el" href="a00155.html#ga8bec782e21be313750da70cf7428b374" title="Returns the depth of objects of type type. ">hwloc_get_type_depth()</a> returns <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c" title="Objects of given type exist at different depth in the topology. ">HWLOC_TYPE_DEPTH_MULTIPLE</a>.</p>
+<p>If no cache level matches, <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad" title="No object of given type exists in the topology. ">HWLOC_TYPE_DEPTH_UNKNOWN</a> is returned.</p>
+<p>If <code>cachetype</code> is <a class="el" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a" title="Unified cache. ">HWLOC_OBJ_CACHE_UNIFIED</a>, the depth of the unique matching unified cache level is returned.</p>
+<p>If <code>cachetype</code> is <a class="el" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488" title="Data cache. ">HWLOC_OBJ_CACHE_DATA</a> or <a class="el" href="a00151.html#gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658" title="Instruction cache. Only used when the HWLOC_TOPOLOGY_FLAG_ICACHES topology flag is set...">HWLOC_OBJ_CACHE_INSTRUCTION</a>, either a matching cache, or a unified cache is returned.</p>
+<p>If <code>cachetype</code> is <code>-1</code>, it is ignored and multiple levels may match. The function returns either the depth of a uniquely matching level or <a class="el" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c" title="Objects of given type exist at different depth in the topology. ">HWLOC_TYPE_DEPTH_MULTIPLE</a>. </p>
+
+</div>
+</div>
+<a id="ga36f48c32837c7a70b424706e213dcd71"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga36f48c32837c7a70b424706e213dcd71">◆ </a></span>hwloc_get_shared_cache_covering_obj()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_shared_cache_covering_obj </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the first cache shared between an object and somebody else. </p>
+<dl class="section return"><dt>Returns</dt><dd><code>NULL</code> if no cache matches or if an invalid object is given. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Finding objects, miscellaneous helpers</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Finding objects, miscellaneous helpers</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga751c238a4931db5cc0ca3181b7dd7479"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00168.html#ga751c238a4931db5cc0ca3181b7dd7479">hwloc_get_pu_obj_by_os_index</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned os_index)</td></tr>
+<tr class="separator:ga751c238a4931db5cc0ca3181b7dd7479"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab89d9ed9edfaa3dd526fb6ee1a1618ea"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00168.html#gab89d9ed9edfaa3dd526fb6ee1a1618ea">hwloc_get_numanode_obj_by_os_index</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned os_index)</td></tr>
+<tr class="separator:gab89d9ed9edfaa3dd526fb6ee1a1618ea"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2cd22a34360643f7f5bad09576dec205"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00168.html#ga2cd22a34360643f7f5bad09576dec205">hwloc_get_closest_objs</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> src, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *restrict objs, unsigned max)</td></tr>
+<tr class="separator:ga2cd22a34360643f7f5bad09576dec205"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7a0c1046851f7a88bd52f5a1d4ba0a97"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00168.html#ga7a0c1046851f7a88bd52f5a1d4ba0a97">hwloc_get_obj_below_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type1, unsigned idx1, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type2, unsigned idx2)</td></tr>
+<tr class="separator:ga7a0c1046851f7a88bd52f5a1d4ba0a97"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacb51295ff3fbd3a96f990f20c6492b1d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00168.html#gacb51295ff3fbd3a96f990f20c6492b1d">hwloc_get_obj_below_array_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, int nr, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> *typev, unsigned *idxv)</td></tr>
+<tr class="separator:gacb51295ff3fbd3a96f990f20c6492b1d"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Be sure to see the figure in <a class="el" href="a00309.html">Terms and Definitions</a> that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one package has fewer caches than its peers. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga2cd22a34360643f7f5bad09576dec205"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2cd22a34360643f7f5bad09576dec205">◆ </a></span>hwloc_get_closest_objs()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_get_closest_objs </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>src</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *restrict </td>
+ <td class="paramname"><em>objs</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>max</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Do a depth-first traversal of the topology to find and sort. </p>
+<p>all objects that are at the same depth than <code>src</code>. Report in <code>objs</code> up to <code>max</code> physically closest ones to <code>src</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the number of objects returned in <code>objs</code>.</dd>
+<dd>
+0 if <code>src</code> is an I/O object.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This function requires the <code>src</code> object to have a CPU set. </dd></dl>
+
+</div>
+</div>
+<a id="gab89d9ed9edfaa3dd526fb6ee1a1618ea"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab89d9ed9edfaa3dd526fb6ee1a1618ea">◆ </a></span>hwloc_get_numanode_obj_by_os_index()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_numanode_obj_by_os_index </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>os_index</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the object of type <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a" title="NUMA node. An object that contains memory that is directly and byte-accessible to the host processors...">HWLOC_OBJ_NUMANODE</a> with <code>os_index</code>. </p>
+<p>This function is useful for converting a nodeset into the NUMA node objects it contains. When retrieving the current binding (e.g. with <a class="el" href="a00159.html#ga84ee275e84286d17a5853c52272a6a95" title="Query the default memory binding policy and physical locality of the current process or thread...">hwloc_get_membind_nodeset()</a>), one may iterate over the bits of the resulting nodeset with <a class="el" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a" title="Loop macro iterating on bitmap bitmap. ">hwloc_bitmap_foreach_begin()</a>, and find the corresponding NUMA nodes with this function. </p>
+
+</div>
+</div>
+<a id="gacb51295ff3fbd3a96f990f20c6492b1d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacb51295ff3fbd3a96f990f20c6492b1d">◆ </a></span>hwloc_get_obj_below_array_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_obj_below_array_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>nr</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> * </td>
+ <td class="paramname"><em>typev</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned * </td>
+ <td class="paramname"><em>idxv</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Find an object below a chain of objects specified by types and indexes. </p>
+<p>This is a generalized version of <a class="el" href="a00168.html#ga7a0c1046851f7a88bd52f5a1d4ba0a97" title="Find an object below another object, both specified by types and indexes. ">hwloc_get_obj_below_by_type()</a>.</p>
+<p>Arrays <code>typev</code> and <code>idxv</code> must contain <code>nr</code> types and indexes.</p>
+<p>Start from the top system object and walk the arrays <code>typev</code> and <code>idxv</code>. For each type and logical index couple in the arrays, look under the previously found object to find the index-th object of the given type. Indexes are specified within the parent, not withing the entire system.</p>
+<p>For instance, if nr is 3, typev contains NODE, PACKAGE and CORE, and idxv contains 0, 1 and 2, return the third core object below the second package below the first NUMA node.</p>
+<dl class="section note"><dt>Note</dt><dd>This function requires all these objects and the root object to have a CPU set. </dd></dl>
+
+</div>
+</div>
+<a id="ga7a0c1046851f7a88bd52f5a1d4ba0a97"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7a0c1046851f7a88bd52f5a1d4ba0a97">◆ </a></span>hwloc_get_obj_below_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_obj_below_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type2</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Find an object below another object, both specified by types and indexes. </p>
+<p>Start from the top system object and find object of type <code>type1</code> and logical index <code>idx1</code>. Then look below this object and find another object of type <code>type2</code> and logical index <code>idx2</code>. Indexes are specified within the parent, not withing the entire system.</p>
+<p>For instance, if type1 is PACKAGE, idx1 is 2, type2 is CORE and idx2 is 3, return the fourth core object below the third package.</p>
+<dl class="section note"><dt>Note</dt><dd>This function requires these objects to have a CPU set. </dd></dl>
+
+</div>
+</div>
+<a id="ga751c238a4931db5cc0ca3181b7dd7479"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga751c238a4931db5cc0ca3181b7dd7479">◆ </a></span>hwloc_get_pu_obj_by_os_index()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_pu_obj_by_os_index </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>os_index</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Returns the object of type <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661" title="Processing Unit, or (Logical) Processor. An execution unit (may share a core with some other logical ...">HWLOC_OBJ_PU</a> with <code>os_index</code>. </p>
+<p>This function is useful for converting a CPU set into the PU objects it contains. When retrieving the current binding (e.g. with <a class="el" href="a00158.html#gacba7ecb979baf824d5240fa2cb2a8be6" title="Get current process or thread binding. ">hwloc_get_cpubind()</a>), one may iterate over the bits of the resulting CPU set with <a class="el" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a" title="Loop macro iterating on bitmap bitmap. ">hwloc_bitmap_foreach_begin()</a>, and find the corresponding PUs with this function. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Distributing items over a topology</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Distributing items over a topology</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga8b835295a52b6768a5e6c8abb1f9c54d"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00169.html#ga8b835295a52b6768a5e6c8abb1f9c54d">hwloc_distrib_flags_e</a> { <a class="el" href="a00169.html#gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a">HWLOC_DISTRIB_FLAG_REVERSE</a>
+ }</td></tr>
+<tr class="separator:ga8b835295a52b6768a5e6c8abb1f9c54d"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga2e3db06f766509ae2004ee4c8bbf5204"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00169.html#ga2e3db06f766509ae2004ee4c8bbf5204">hwloc_distrib</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *roots, unsigned n_roots, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> *set, unsigned n, unsigned until, unsigned long flags)</td></tr>
+<tr class="separator:ga2e3db06f766509ae2004ee4c8bbf5204"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga8b835295a52b6768a5e6c8abb1f9c54d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8b835295a52b6768a5e6c8abb1f9c54d">◆ </a></span>hwloc_distrib_flags_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00169.html#ga8b835295a52b6768a5e6c8abb1f9c54d">hwloc_distrib_flags_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Flags to be given to <a class="el" href="a00169.html#ga2e3db06f766509ae2004ee4c8bbf5204" title="Distribute n items over the topology under roots. ">hwloc_distrib()</a>. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a"></a>HWLOC_DISTRIB_FLAG_REVERSE </td><td class="fielddoc"><p>Distrib in reverse order, starting from the last objects. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga2e3db06f766509ae2004ee4c8bbf5204"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2e3db06f766509ae2004ee4c8bbf5204">◆ </a></span>hwloc_distrib()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_distrib </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> * </td>
+ <td class="paramname"><em>roots</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>n_roots</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> * </td>
+ <td class="paramname"><em>set</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>n</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>until</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Distribute <code>n</code> items over the topology under <code>roots</code>. </p>
+<p>Array <code>set</code> will be filled with <code>n</code> cpusets recursively distributed linearly over the topology under objects <code>roots</code>, down to depth <code>until</code> (which can be INT_MAX to distribute down to the finest level).</p>
+<p><code>n_roots</code> is usually 1 and <code>roots</code> only contains the topology root object so as to distribute over the entire topology.</p>
+<p>This is typically useful when an application wants to distribute <code>n</code> threads over a machine, giving each of them as much private cache as possible and keeping them locally in number order.</p>
+<p>The caller may typically want to also call <a class="el" href="a00174.html#ga36d802130aa5d96bc1b5a90d2f0f3765" title="Keep a single index among those set in bitmap bitmap. ">hwloc_bitmap_singlify()</a> before binding a thread so that it does not move at all.</p>
+<p><code>flags</code> should be 0 or a OR'ed set of <a class="el" href="a00169.html#ga8b835295a52b6768a5e6c8abb1f9c54d" title="Flags to be given to hwloc_distrib(). ">hwloc_distrib_flags_e</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>This function requires the <code>roots</code> objects to have a CPU set.</dd>
+<dd>
+This function replaces the now deprecated hwloc_distribute() and hwloc_distributev() functions. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): CPU and node sets of entire topologies</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">CPU and node sets of entire topologies</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga69fbad44c685e46d80ecf51a714ba9ce"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#ga69fbad44c685e46d80ecf51a714ba9ce">hwloc_topology_get_complete_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga69fbad44c685e46d80ecf51a714ba9ce"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga5c3ddcb2d19bc0b58042c9fc974f0fa5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#ga5c3ddcb2d19bc0b58042c9fc974f0fa5">hwloc_topology_get_topology_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga5c3ddcb2d19bc0b58042c9fc974f0fa5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacec35bb7656c1944c514044ca4ce9c6f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#gacec35bb7656c1944c514044ca4ce9c6f">hwloc_topology_get_online_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:gacec35bb7656c1944c514044ca4ce9c6f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8cb598b3bce8d67cbdfc1f29caad28f6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#ga8cb598b3bce8d67cbdfc1f29caad28f6">hwloc_topology_get_allowed_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga8cb598b3bce8d67cbdfc1f29caad28f6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga22002d6fc14a25a3947c42cba0a70134"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#ga22002d6fc14a25a3947c42cba0a70134">hwloc_topology_get_complete_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga22002d6fc14a25a3947c42cba0a70134"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2f1cb5bc87dabb252b691c5c15555d21"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#ga2f1cb5bc87dabb252b691c5c15555d21">hwloc_topology_get_topology_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga2f1cb5bc87dabb252b691c5c15555d21"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga706182498ac92528e274e9b8d944273d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00170.html#ga706182498ac92528e274e9b8d944273d">hwloc_topology_get_allowed_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology)</td></tr>
+<tr class="separator:ga706182498ac92528e274e9b8d944273d"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga8cb598b3bce8d67cbdfc1f29caad28f6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8cb598b3bce8d67cbdfc1f29caad28f6">◆ </a></span>hwloc_topology_get_allowed_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> hwloc_topology_get_allowed_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get allowed CPU set. </p>
+<dl class="section return"><dt>Returns</dt><dd>the CPU set of allowed logical processors of the system. If the topology is the result of a combination of several systems, NULL is returned.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The returned cpuset is not newly allocated and should thus not be changed or freed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used to obtain a local copy. </dd></dl>
+
+</div>
+</div>
+<a id="ga706182498ac92528e274e9b8d944273d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga706182498ac92528e274e9b8d944273d">◆ </a></span>hwloc_topology_get_allowed_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> hwloc_topology_get_allowed_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get allowed node set. </p>
+<dl class="section return"><dt>Returns</dt><dd>the node set of allowed memory of the system. If the topology is the result of a combination of several systems, NULL is returned.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The returned nodeset is not newly allocated and should thus not be changed or freed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used to obtain a local copy. </dd></dl>
+
+</div>
+</div>
+<a id="ga69fbad44c685e46d80ecf51a714ba9ce"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga69fbad44c685e46d80ecf51a714ba9ce">◆ </a></span>hwloc_topology_get_complete_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> hwloc_topology_get_complete_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get complete CPU set. </p>
+<dl class="section return"><dt>Returns</dt><dd>the complete CPU set of logical processors of the system. If the topology is the result of a combination of several systems, NULL is returned.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The returned cpuset is not newly allocated and should thus not be changed or freed; <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used to obtain a local copy. </dd></dl>
+
+</div>
+</div>
+<a id="ga22002d6fc14a25a3947c42cba0a70134"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga22002d6fc14a25a3947c42cba0a70134">◆ </a></span>hwloc_topology_get_complete_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> hwloc_topology_get_complete_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get complete node set. </p>
+<dl class="section return"><dt>Returns</dt><dd>the complete node set of memory of the system. If the topology is the result of a combination of several systems, NULL is returned.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The returned nodeset is not newly allocated and should thus not be changed or freed; <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used to obtain a local copy. </dd></dl>
+
+</div>
+</div>
+<a id="gacec35bb7656c1944c514044ca4ce9c6f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacec35bb7656c1944c514044ca4ce9c6f">◆ </a></span>hwloc_topology_get_online_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> hwloc_topology_get_online_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get online CPU set. </p>
+<dl class="section return"><dt>Returns</dt><dd>the CPU set of online logical processors of the system. If the topology is the result of a combination of several systems, NULL is returned.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The returned cpuset is not newly allocated and should thus not be changed or freed; <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used to obtain a local copy. </dd></dl>
+
+</div>
+</div>
+<a id="ga5c3ddcb2d19bc0b58042c9fc974f0fa5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5c3ddcb2d19bc0b58042c9fc974f0fa5">◆ </a></span>hwloc_topology_get_topology_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> hwloc_topology_get_topology_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get topology CPU set. </p>
+<dl class="section return"><dt>Returns</dt><dd>the CPU set of logical processors of the system for which hwloc provides topology information. This is equivalent to the cpuset of the system object. If the topology is the result of a combination of several systems, NULL is returned.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The returned cpuset is not newly allocated and should thus not be changed or freed; <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used to obtain a local copy. </dd></dl>
+
+</div>
+</div>
+<a id="ga2f1cb5bc87dabb252b691c5c15555d21"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2f1cb5bc87dabb252b691c5c15555d21">◆ </a></span>hwloc_topology_get_topology_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> hwloc_topology_get_topology_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get topology node set. </p>
+<dl class="section return"><dt>Returns</dt><dd>the node set of memory of the system for which hwloc provides topology information. This is equivalent to the nodeset of the system object. If the topology is the result of a combination of several systems, NULL is returned.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The returned nodeset is not newly allocated and should thus not be changed or freed; <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used to obtain a local copy. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Converting between CPU sets and node sets</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Converting between CPU sets and node sets</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga8fbd641f284673a3e884e8e556044eba"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#ga8fbd641f284673a3e884e8e556044eba">hwloc_cpuset_to_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> _cpuset, <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset)</td></tr>
+<tr class="separator:ga8fbd641f284673a3e884e8e556044eba"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga014490779e7012ffec2b5ccee020c0ae"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#ga014490779e7012ffec2b5ccee020c0ae">hwloc_cpuset_to_nodeset_strict</a> (struct hwloc_topology *topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> _cpuset, <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset)</td></tr>
+<tr class="separator:ga014490779e7012ffec2b5ccee020c0ae"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2ed57313ce5bf85f3ac156932ecf639d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#ga2ed57313ce5bf85f3ac156932ecf639d">hwloc_cpuset_from_nodeset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> _cpuset, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset)</td></tr>
+<tr class="separator:ga2ed57313ce5bf85f3ac156932ecf639d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacde800e58b8cdb746706b371ca4b97e0"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00171.html#gacde800e58b8cdb746706b371ca4b97e0">hwloc_cpuset_from_nodeset_strict</a> (struct hwloc_topology *topology, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> _cpuset, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset)</td></tr>
+<tr class="separator:gacde800e58b8cdb746706b371ca4b97e0"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>There are two semantics for converting cpusets to nodesets depending on how non-NUMA machines are handled.</p>
+<p>When manipulating nodesets for memory binding, non-NUMA machines should be considered as having a single NUMA node. The standard conversion routines below should be used so that marking the first bit of the nodeset means that memory should be bound to a non-NUMA whole machine.</p>
+<p>When manipulating nodesets as an actual list of NUMA nodes without any need to handle memory binding on non-NUMA machines, the strict conversion routines may be used instead. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga2ed57313ce5bf85f3ac156932ecf639d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2ed57313ce5bf85f3ac156932ecf639d">◆ </a></span>hwloc_cpuset_from_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static void hwloc_cpuset_from_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>_cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert a NUMA node set into a CPU set and handle non-NUMA cases. </p>
+<p>If the topology contains no NUMA nodes, the machine is considered as a single memory node, and the following behavior is used: If <code>nodeset</code> is empty, <code>cpuset</code> will be emptied as well. Otherwise <code>cpuset</code> will be entirely filled. This is useful for manipulating memory binding sets. </p>
+
+</div>
+</div>
+<a id="gacde800e58b8cdb746706b371ca4b97e0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacde800e58b8cdb746706b371ca4b97e0">◆ </a></span>hwloc_cpuset_from_nodeset_strict()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static void hwloc_cpuset_from_nodeset_strict </td>
+ <td>(</td>
+ <td class="paramtype">struct hwloc_topology * </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>_cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert a NUMA node set into a CPU set without handling non-NUMA cases. </p>
+<p>This is the strict variant of <a class="el" href="a00171.html#ga2ed57313ce5bf85f3ac156932ecf639d" title="Convert a NUMA node set into a CPU set and handle non-NUMA cases. ">hwloc_cpuset_from_nodeset()</a>. It does not fix non-NUMA cases. If the topology contains some NUMA nodes, behave exactly the same. However, if the topology contains no NUMA nodes, return an empty cpuset. </p>
+
+</div>
+</div>
+<a id="ga8fbd641f284673a3e884e8e556044eba"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8fbd641f284673a3e884e8e556044eba">◆ </a></span>hwloc_cpuset_to_nodeset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static void hwloc_cpuset_to_nodeset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>_cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert a CPU set into a NUMA node set and handle non-NUMA cases. </p>
+<p>If some NUMA nodes have no CPUs at all, this function never sets their indexes in the output node set, even if a full CPU set is given in input.</p>
+<p>If the topology contains no NUMA nodes, the machine is considered as a single memory node, and the following behavior is used: If <code>cpuset</code> is empty, <code>nodeset</code> will be emptied as well. Otherwise <code>nodeset</code> will be entirely filled. </p>
+
+</div>
+</div>
+<a id="ga014490779e7012ffec2b5ccee020c0ae"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga014490779e7012ffec2b5ccee020c0ae">◆ </a></span>hwloc_cpuset_to_nodeset_strict()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static void hwloc_cpuset_to_nodeset_strict </td>
+ <td>(</td>
+ <td class="paramtype">struct hwloc_topology * </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>_cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert a CPU set into a NUMA node set without handling non-NUMA cases. </p>
+<p>This is the strict variant of <a class="el" href="a00171.html#ga8fbd641f284673a3e884e8e556044eba" title="Convert a CPU set into a NUMA node set and handle non-NUMA cases. ">hwloc_cpuset_to_nodeset()</a>. It does not fix non-NUMA cases. If the topology contains some NUMA nodes, behave exactly the same. However, if the topology contains no NUMA nodes, return an empty nodeset. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Manipulating Distances</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Manipulating Distances</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga07219dc0fd6e4553a658eaa73f038c42"><td class="memItemLeft" align="right" valign="top">static const struct <a class="el" href="a00244.html">hwloc_distances_s</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00172.html#ga07219dc0fd6e4553a658eaa73f038c42">hwloc_get_whole_distance_matrix_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned depth)</td></tr>
+<tr class="separator:ga07219dc0fd6e4553a658eaa73f038c42"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga64529254be72b3c4343b25926c84b12f"><td class="memItemLeft" align="right" valign="top">static const struct <a class="el" href="a00244.html">hwloc_distances_s</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00172.html#ga64529254be72b3c4343b25926c84b12f">hwloc_get_whole_distance_matrix_by_type</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr>
+<tr class="separator:ga64529254be72b3c4343b25926c84b12f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2d159b21a49964cc629dde03cbf05702"><td class="memItemLeft" align="right" valign="top">static const struct <a class="el" href="a00244.html">hwloc_distances_s</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00172.html#ga2d159b21a49964cc629dde03cbf05702">hwloc_get_distance_matrix_covering_obj_by_depth</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, unsigned depth, unsigned *firstp)</td></tr>
+<tr class="separator:ga2d159b21a49964cc629dde03cbf05702"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga79ed880a55f9d03b4ae58ef5116812d7"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00172.html#ga79ed880a55f9d03b4ae58ef5116812d7">hwloc_get_latency</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj1, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj2, float *latency, float *reverse_latency)</td></tr>
+<tr class="separator:ga79ed880a55f9d03b4ae58ef5116812d7"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga2d159b21a49964cc629dde03cbf05702"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2d159b21a49964cc629dde03cbf05702">◆ </a></span>hwloc_get_distance_matrix_covering_obj_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static const struct <a class="el" href="a00244.html">hwloc_distances_s</a>* hwloc_get_distance_matrix_covering_obj_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned * </td>
+ <td class="paramname"><em>firstp</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get distances for the given depth and covering some objects. </p>
+<p>Return a distance matrix that describes depth <code>depth</code> and covers at least object <code>obj</code> and all its children.</p>
+<p>When looking for the distance between some objects, a common ancestor should be passed in <code>obj</code>.</p>
+<p><code>firstp</code> is set to logical index of the first object described by the matrix.</p>
+<p>The returned structure belongs to the hwloc library. The caller should not modify or free it. </p>
+
+</div>
+</div>
+<a id="ga79ed880a55f9d03b4ae58ef5116812d7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga79ed880a55f9d03b4ae58ef5116812d7">◆ </a></span>hwloc_get_latency()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_get_latency </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj2</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float * </td>
+ <td class="paramname"><em>latency</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float * </td>
+ <td class="paramname"><em>reverse_latency</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the latency in both directions between two objects. </p>
+<p>Look at ancestor objects from the bottom to the top until one of them contains a distance matrix that matches the objects exactly.</p>
+<p><code>latency</code> gets the value from object <code>obj1</code> to <code>obj2</code>, while <code>reverse_latency</code> gets the reverse-direction value, which may be different on some architectures.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if no ancestor contains a matching latency matrix. </dd></dl>
+
+</div>
+</div>
+<a id="ga07219dc0fd6e4553a658eaa73f038c42"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga07219dc0fd6e4553a658eaa73f038c42">◆ </a></span>hwloc_get_whole_distance_matrix_by_depth()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static const struct <a class="el" href="a00244.html">hwloc_distances_s</a>* hwloc_get_whole_distance_matrix_by_depth </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>depth</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the distances between all objects at the given depth. </p>
+<dl class="section return"><dt>Returns</dt><dd>a distances structure containing a matrix with all distances between all objects at the given depth.</dd></dl>
+<p>Slot i+nbobjs*j contains the distance from the object of logical index i the object of logical index j.</p>
+<dl class="section note"><dt>Note</dt><dd>This function only returns matrices covering the whole topology, without any unknown distance value. Those matrices are available in top-level object of the hierarchy. Matrices of lower objects are not reported here since they cover only part of the machine.</dd></dl>
+<p>The returned structure belongs to the hwloc library. The caller should not modify or free it.</p>
+<dl class="section return"><dt>Returns</dt><dd><code>NULL</code> if no such distance matrix exists. </dd></dl>
+
+</div>
+</div>
+<a id="ga64529254be72b3c4343b25926c84b12f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga64529254be72b3c4343b25926c84b12f">◆ </a></span>hwloc_get_whole_distance_matrix_by_type()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static const struct <a class="el" href="a00244.html">hwloc_distances_s</a>* hwloc_get_whole_distance_matrix_by_type </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the distances between all objects of a given type. </p>
+<dl class="section return"><dt>Returns</dt><dd>a distances structure containing a matrix with all distances between all objects of the given type.</dd></dl>
+<p>Slot i+nbobjs*j contains the distance from the object of logical index i the object of logical index j.</p>
+<dl class="section note"><dt>Note</dt><dd>This function only returns matrices covering the whole topology, without any unknown distance value. Those matrices are available in top-level object of the hierarchy. Matrices of lower objects are not reported here since they cover only part of the machine.</dd></dl>
+<p>The returned structure belongs to the hwloc library. The caller should not modify or free it.</p>
+<dl class="section return"><dt>Returns</dt><dd><code>NULL</code> if no such distance matrix exists. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Finding I/O objects</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Finding I/O objects</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gaf139bb61375178e90cc3f1835b452ab6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#gaf139bb61375178e90cc3f1835b452ab6">hwloc_get_non_io_ancestor_obj</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> ioobj)</td></tr>
+<tr class="separator:gaf139bb61375178e90cc3f1835b452ab6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga66470dabce9db19a57c5940a909d0baa"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#ga66470dabce9db19a57c5940a909d0baa">hwloc_get_next_pcidev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga66470dabce9db19a57c5940a909d0baa"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacdbaf0db98872e224b7883a84bfb0455"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455">hwloc_get_pcidev_by_busid</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)</td></tr>
+<tr class="separator:gacdbaf0db98872e224b7883a84bfb0455"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga23a978469353134b3104b846fe2efceb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#ga23a978469353134b3104b846fe2efceb">hwloc_get_pcidev_by_busidstring</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const char *busid)</td></tr>
+<tr class="separator:ga23a978469353134b3104b846fe2efceb"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8b4584c8949e2c5f1c97ba7fe92b8145"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145">hwloc_get_next_osdev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga8b4584c8949e2c5f1c97ba7fe92b8145"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga9dba22a3f4f701f2a46780ba9a0bbbe7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#ga9dba22a3f4f701f2a46780ba9a0bbbe7">hwloc_get_next_bridge</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> prev)</td></tr>
+<tr class="separator:ga9dba22a3f4f701f2a46780ba9a0bbbe7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0d92a9462a3d317f29ecb4442a307fb1"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#ga0d92a9462a3d317f29ecb4442a307fb1">hwloc_bridge_covers_pcibus</a> (<a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> bridge, unsigned domain, unsigned bus)</td></tr>
+<tr class="separator:ga0d92a9462a3d317f29ecb4442a307fb1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga06442aedfd6414798ed66a68e4e90e44"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00173.html#ga06442aedfd6414798ed66a68e4e90e44">hwloc_get_hostbridge_by_pcibus</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned domain, unsigned bus)</td></tr>
+<tr class="separator:ga06442aedfd6414798ed66a68e4e90e44"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga0d92a9462a3d317f29ecb4442a307fb1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0d92a9462a3d317f29ecb4442a307fb1">◆ </a></span>hwloc_bridge_covers_pcibus()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_bridge_covers_pcibus </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>bridge</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>domain</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>bus</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ga06442aedfd6414798ed66a68e4e90e44"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga06442aedfd6414798ed66a68e4e90e44">◆ </a></span>hwloc_get_hostbridge_by_pcibus()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_hostbridge_by_pcibus </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>domain</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>bus</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Find the hostbridge that covers the given PCI bus. </p>
+<p>This is useful for finding the locality of a bus because it is the hostbridge parent cpuset. </p>
+
+</div>
+</div>
+<a id="ga9dba22a3f4f701f2a46780ba9a0bbbe7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9dba22a3f4f701f2a46780ba9a0bbbe7">◆ </a></span>hwloc_get_next_bridge()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_bridge </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the next bridge in the system. </p>
+<dl class="section return"><dt>Returns</dt><dd>the first bridge if <code>prev</code> is <code>NULL</code>. </dd></dl>
+
+</div>
+</div>
+<a id="ga8b4584c8949e2c5f1c97ba7fe92b8145"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8b4584c8949e2c5f1c97ba7fe92b8145">◆ </a></span>hwloc_get_next_osdev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_osdev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the next OS device in the system. </p>
+<dl class="section return"><dt>Returns</dt><dd>the first OS device if <code>prev</code> is <code>NULL</code>. </dd></dl>
+
+</div>
+</div>
+<a id="ga66470dabce9db19a57c5940a909d0baa"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga66470dabce9db19a57c5940a909d0baa">◆ </a></span>hwloc_get_next_pcidev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_next_pcidev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the next PCI device in the system. </p>
+<dl class="section return"><dt>Returns</dt><dd>the first PCI device if <code>prev</code> is <code>NULL</code>. </dd></dl>
+
+</div>
+</div>
+<a id="gaf139bb61375178e90cc3f1835b452ab6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf139bb61375178e90cc3f1835b452ab6">◆ </a></span>hwloc_get_non_io_ancestor_obj()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_non_io_ancestor_obj </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>ioobj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the first non-I/O ancestor object. </p>
+<p>Given the I/O object <code>ioobj</code>, find the smallest non-I/O ancestor object. This regular object may then be used for binding because its locality is the same as <code>ioobj</code>. </p>
+
+</div>
+</div>
+<a id="gacdbaf0db98872e224b7883a84bfb0455"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacdbaf0db98872e224b7883a84bfb0455">◆ </a></span>hwloc_get_pcidev_by_busid()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_pcidev_by_busid </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>domain</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>bus</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>dev</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>func</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id. </p>
+
+</div>
+</div>
+<a id="ga23a978469353134b3104b846fe2efceb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga23a978469353134b3104b846fe2efceb">◆ </a></span>hwloc_get_pcidev_by_busidstring()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_get_pcidev_by_busidstring </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>busid</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Find the PCI device object matching the PCI bus id given as a string xxxx:yy:zz.t or yy:zz.t. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): The bitmap API</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#define-members">Macros</a> |
+<a href="#typedef-members">Typedefs</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">The bitmap API</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
+Macros</h2></td></tr>
+<tr class="memitem:ga3f6861045a8029ade373510ffa727d2a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a">hwloc_bitmap_foreach_begin</a>(id, bitmap)</td></tr>
+<tr class="separator:ga3f6861045a8029ade373510ffa727d2a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gafcf3246db406218d4e155735b3fa6528"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gafcf3246db406218d4e155735b3fa6528">hwloc_bitmap_foreach_end</a>()</td></tr>
+<tr class="separator:gafcf3246db406218d4e155735b3fa6528"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:gaa3c2bf4c776d603dcebbb61b0c923d84"><td class="memItemLeft" align="right" valign="top">typedef struct hwloc_bitmap_s * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></td></tr>
+<tr class="separator:gaa3c2bf4c776d603dcebbb61b0c923d84"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gae991a108af01d408be2776c5b2c467b2"><td class="memItemLeft" align="right" valign="top">typedef const struct hwloc_bitmap_s * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a></td></tr>
+<tr class="separator:gae991a108af01d408be2776c5b2c467b2"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gadece3d1eb5199fc2fb99bc7dcf1ccc05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gadece3d1eb5199fc2fb99bc7dcf1ccc05">hwloc_bitmap_alloc</a> (void)</td></tr>
+<tr class="separator:gadece3d1eb5199fc2fb99bc7dcf1ccc05"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga02853b4a224970587b9d7a0e20d857c0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga02853b4a224970587b9d7a0e20d857c0">hwloc_bitmap_alloc_full</a> (void)</td></tr>
+<tr class="separator:ga02853b4a224970587b9d7a0e20d857c0"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga156130d85b3a0674d6e0e6770fe68fbe"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga156130d85b3a0674d6e0e6770fe68fbe">hwloc_bitmap_free</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga156130d85b3a0674d6e0e6770fe68fbe"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gae679434c1a5f41d3560a8a7e2c1b0dee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee">hwloc_bitmap_dup</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:gae679434c1a5f41d3560a8a7e2c1b0dee"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga036068a22d1aa5cb9ff1df348b525ff3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga036068a22d1aa5cb9ff1df348b525ff3">hwloc_bitmap_copy</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> dst, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> src)</td></tr>
+<tr class="separator:ga036068a22d1aa5cb9ff1df348b525ff3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga9511644657030a021dce9941e3cda583"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga9511644657030a021dce9941e3cda583">hwloc_bitmap_snprintf</a> (char *restrict buf, size_t buflen, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga9511644657030a021dce9941e3cda583"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0fece972134fdecf2da9bc7a11dd827e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga0fece972134fdecf2da9bc7a11dd827e">hwloc_bitmap_asprintf</a> (char **strp, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga0fece972134fdecf2da9bc7a11dd827e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga064a85c643a364b60acbfa0f3663fc18"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga064a85c643a364b60acbfa0f3663fc18">hwloc_bitmap_sscanf</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, const char *restrict string)</td></tr>
+<tr class="separator:ga064a85c643a364b60acbfa0f3663fc18"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga3d06e6447edeb61e56a9ad83f31f0a37"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga3d06e6447edeb61e56a9ad83f31f0a37">hwloc_bitmap_list_snprintf</a> (char *restrict buf, size_t buflen, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga3d06e6447edeb61e56a9ad83f31f0a37"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga39c0f1b02053de66d205c9f8260b3665"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga39c0f1b02053de66d205c9f8260b3665">hwloc_bitmap_list_asprintf</a> (char **strp, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga39c0f1b02053de66d205c9f8260b3665"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaf9314311d482c621e17c6a53a9fe993e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaf9314311d482c621e17c6a53a9fe993e">hwloc_bitmap_list_sscanf</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, const char *restrict string)</td></tr>
+<tr class="separator:gaf9314311d482c621e17c6a53a9fe993e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga5beb68a987fe48e5c5edef06ab260e14"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga5beb68a987fe48e5c5edef06ab260e14">hwloc_bitmap_taskset_snprintf</a> (char *restrict buf, size_t buflen, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga5beb68a987fe48e5c5edef06ab260e14"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga391312513f17c985d871f18367c59512"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga391312513f17c985d871f18367c59512">hwloc_bitmap_taskset_asprintf</a> (char **strp, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga391312513f17c985d871f18367c59512"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga4f23db5041240e03e348752f8bd6ec2d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga4f23db5041240e03e348752f8bd6ec2d">hwloc_bitmap_taskset_sscanf</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, const char *restrict string)</td></tr>
+<tr class="separator:ga4f23db5041240e03e348752f8bd6ec2d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaa97c5217613c8cae9862287170ea2132"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaa97c5217613c8cae9862287170ea2132">hwloc_bitmap_zero</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:gaa97c5217613c8cae9862287170ea2132"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga07b2de8786b3cdb22f21d9dd42588275"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga07b2de8786b3cdb22f21d9dd42588275">hwloc_bitmap_fill</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga07b2de8786b3cdb22f21d9dd42588275"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga037032ba6aaf49c2e6836e2dbb7855c4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga037032ba6aaf49c2e6836e2dbb7855c4">hwloc_bitmap_only</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned id)</td></tr>
+<tr class="separator:ga037032ba6aaf49c2e6836e2dbb7855c4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga3b944660dcfcb8d655883742b3ea86a7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga3b944660dcfcb8d655883742b3ea86a7">hwloc_bitmap_allbut</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned id)</td></tr>
+<tr class="separator:ga3b944660dcfcb8d655883742b3ea86a7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaba53aebd49962acea4e3e0ff160172e3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaba53aebd49962acea4e3e0ff160172e3">hwloc_bitmap_from_ulong</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned long mask)</td></tr>
+<tr class="separator:gaba53aebd49962acea4e3e0ff160172e3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga6066e095e6f23302f0a1ca7284d0b651"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga6066e095e6f23302f0a1ca7284d0b651">hwloc_bitmap_from_ith_ulong</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned i, unsigned long mask)</td></tr>
+<tr class="separator:ga6066e095e6f23302f0a1ca7284d0b651"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga55480e96ab47941bfebb9aed676526a2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2">hwloc_bitmap_set</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned id)</td></tr>
+<tr class="separator:ga55480e96ab47941bfebb9aed676526a2"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7a1d8530b282397f56b0d82b17e6d13d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga7a1d8530b282397f56b0d82b17e6d13d">hwloc_bitmap_set_range</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned begin, int end)</td></tr>
+<tr class="separator:ga7a1d8530b282397f56b0d82b17e6d13d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab16b6f6383b51f9c314abe15478ff6ff"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gab16b6f6383b51f9c314abe15478ff6ff">hwloc_bitmap_set_ith_ulong</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned i, unsigned long mask)</td></tr>
+<tr class="separator:gab16b6f6383b51f9c314abe15478ff6ff"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gabddf36d47882c0a4f1e2b3c76cac877c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gabddf36d47882c0a4f1e2b3c76cac877c">hwloc_bitmap_clr</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned id)</td></tr>
+<tr class="separator:gabddf36d47882c0a4f1e2b3c76cac877c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga207ae23381d7b37fb97fd1f906c9c5ba"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga207ae23381d7b37fb97fd1f906c9c5ba">hwloc_bitmap_clr_range</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap, unsigned begin, int end)</td></tr>
+<tr class="separator:ga207ae23381d7b37fb97fd1f906c9c5ba"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga36d802130aa5d96bc1b5a90d2f0f3765"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga36d802130aa5d96bc1b5a90d2f0f3765">hwloc_bitmap_singlify</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga36d802130aa5d96bc1b5a90d2f0f3765"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab6a6bae22a33ec6adfc169a953c13e6c"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gab6a6bae22a33ec6adfc169a953c13e6c">hwloc_bitmap_to_ulong</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:gab6a6bae22a33ec6adfc169a953c13e6c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gac92e6404f648d6b99d2c626b05b2ffa4"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gac92e6404f648d6b99d2c626b05b2ffa4">hwloc_bitmap_to_ith_ulong</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap, unsigned i)</td></tr>
+<tr class="separator:gac92e6404f648d6b99d2c626b05b2ffa4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga11340dd487f110bb84f0a6e4ae90bd06"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga11340dd487f110bb84f0a6e4ae90bd06">hwloc_bitmap_isset</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap, unsigned id)</td></tr>
+<tr class="separator:ga11340dd487f110bb84f0a6e4ae90bd06"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga5b64be28f5a7176ed8ad0d6a90bdf108"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga5b64be28f5a7176ed8ad0d6a90bdf108">hwloc_bitmap_iszero</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga5b64be28f5a7176ed8ad0d6a90bdf108"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga5fdcb8c19c336511c37076d649e74af4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga5fdcb8c19c336511c37076d649e74af4">hwloc_bitmap_isfull</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga5fdcb8c19c336511c37076d649e74af4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga3ec1ced43afadf8c0a7197320bc016ed"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga3ec1ced43afadf8c0a7197320bc016ed">hwloc_bitmap_first</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga3ec1ced43afadf8c0a7197320bc016ed"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaab7240b4b644693b775dad17b44ffd68"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaab7240b4b644693b775dad17b44ffd68">hwloc_bitmap_next</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap, int prev)</td></tr>
+<tr class="separator:gaab7240b4b644693b775dad17b44ffd68"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga3d9b08b060a59bbab5a4ea6d0a1ed7a6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga3d9b08b060a59bbab5a4ea6d0a1ed7a6">hwloc_bitmap_last</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga3d9b08b060a59bbab5a4ea6d0a1ed7a6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0200466842c0e1f5da75e84dde460b10"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga0200466842c0e1f5da75e84dde460b10">hwloc_bitmap_weight</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga0200466842c0e1f5da75e84dde460b10"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga1281994d6cc3b5079224190ca820ad93"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> res, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:ga1281994d6cc3b5079224190ca820ad93"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga4a3e12ab9e20cfec66a3dc2db16806be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga4a3e12ab9e20cfec66a3dc2db16806be">hwloc_bitmap_and</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> res, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:ga4a3e12ab9e20cfec66a3dc2db16806be"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga091e9039ce7b6fe927260cd1b08d25c4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga091e9039ce7b6fe927260cd1b08d25c4">hwloc_bitmap_andnot</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> res, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:ga091e9039ce7b6fe927260cd1b08d25c4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaf462ead487d1891e37f4443a397d3c42"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaf462ead487d1891e37f4443a397d3c42">hwloc_bitmap_xor</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> res, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:gaf462ead487d1891e37f4443a397d3c42"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8cd2c26d71510138b22a12db41419742"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga8cd2c26d71510138b22a12db41419742">hwloc_bitmap_not</a> (<a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> res, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap)</td></tr>
+<tr class="separator:ga8cd2c26d71510138b22a12db41419742"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaefa070f9232857ba5a57297ea9a08ea2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaefa070f9232857ba5a57297ea9a08ea2">hwloc_bitmap_intersects</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:gaefa070f9232857ba5a57297ea9a08ea2"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0526e03db81956fb02acc8260b66d6a4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga0526e03db81956fb02acc8260b66d6a4">hwloc_bitmap_isincluded</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> sub_bitmap, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> super_bitmap)</td></tr>
+<tr class="separator:ga0526e03db81956fb02acc8260b66d6a4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga32376b1405e57472b73c3aa53bb39663"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga32376b1405e57472b73c3aa53bb39663">hwloc_bitmap_isequal</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:ga32376b1405e57472b73c3aa53bb39663"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaa39cda1510ab721b5c012c76ead72365"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#gaa39cda1510ab721b5c012c76ead72365">hwloc_bitmap_compare_first</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:gaa39cda1510ab721b5c012c76ead72365"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga14cdbc0ef0a705e84999bd48a2e649f3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00174.html#ga14cdbc0ef0a705e84999bd48a2e649f3">hwloc_bitmap_compare</a> (<a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap1, <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> bitmap2)</td></tr>
+<tr class="separator:ga14cdbc0ef0a705e84999bd48a2e649f3"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>The <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a> type represents a set of integers (positive or null). A bitmap may be of infinite size (all bits are set after some point). A bitmap may even be full if all bits are set.</p>
+<p>Bitmaps are used by hwloc for sets of OS processors (which may actually be hardware threads) as by <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801" title="A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. ">hwloc_cpuset_t</a> (a typedef for <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a>), or sets of NUMA memory nodes as <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508" title="A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes...">hwloc_nodeset_t</a> (also a typedef for <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a>). Those are used for cpuset and nodeset fields in the <a class="el" href="a00204.html" title="Structure of a topology object. ">hwloc_obj</a> structure, see <a class="el" href="a00150.html">Object Sets (hwloc_cpuset_t and hwloc_nodeset_t)</a>.</p>
+<p><em>Both CPU and node sets are always indexed by OS physical number.</em> However users should usually not build CPU and node sets manually (e.g. with <a class="el" href="a00174.html#ga55480e96ab47941bfebb9aed676526a2" title="Add index id in bitmap bitmap. ">hwloc_bitmap_set()</a>). One should rather use existing object sets and combine them with <a class="el" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93" title="Or bitmaps bitmap1 and bitmap2 and store the result in bitmap res. ">hwloc_bitmap_or()</a>, etc. For instance, binding the current thread on a pair of cores may be performed with: </p><div class="fragment"><div class="line"><a class="code" href="a00204.html">hwloc_obj_t</a> core1 = ... , core2 = ... ;</div><div class="line"><a class="code" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> <span class="keyword">set</span> = <a class="code" href="a00174.html#gadece3d1eb5199fc2fb99bc7dcf1ccc05">hwloc_bitmap_alloc</a>();</div><div class="line"><a class="code" href="a00174.html#ga1281994d6cc3b5079224190ca820ad93">hwloc_bitmap_or</a>(<span class="keyword">set</span>, core1-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>, core2->cpuset);</div><div class="line"><a class="code" href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48">hwloc_set_cpubind</a>(topology, <span class="keyword">set</span>, <a class="code" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421">HWLOC_CPUBIND_THREAD</a>);</div><div class="line"><a class="code" href="a00174.html#ga156130d85b3a0674d6e0e6770fe68fbe">hwloc_bitmap_free</a>(<span class="keyword">set</span>);</div></div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>Several examples of using the bitmap API are available under the doc/examples/ directory in the source tree. Regression tests such as tests/hwloc_bitmap*.c also make intensive use of this API. </dd></dl>
+<h2 class="groupheader">Macro Definition Documentation</h2>
+<a id="ga3f6861045a8029ade373510ffa727d2a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3f6861045a8029ade373510ffa727d2a">◆ </a></span>hwloc_bitmap_foreach_begin</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define hwloc_bitmap_foreach_begin</td>
+ <td>(</td>
+ <td class="paramtype"> </td>
+ <td class="paramname">id, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"> </td>
+ <td class="paramname">bitmap </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Loop macro iterating on bitmap <code>bitmap</code>. </p>
+<p>The loop must start with <a class="el" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a" title="Loop macro iterating on bitmap bitmap. ">hwloc_bitmap_foreach_begin()</a> and end with <a class="el" href="a00174.html#gafcf3246db406218d4e155735b3fa6528" title="End of loop macro iterating on a bitmap. ">hwloc_bitmap_foreach_end()</a> followed by a terminating ';'.</p>
+<p><code>index</code> is the loop variable; it should be an unsigned int. The first iteration will set <code>index</code> to the lowest index in the bitmap. Successive iterations will iterate through, in order, all remaining indexes set in the bitmap. To be specific: each iteration will return a value for <code>index</code> such that hwloc_bitmap_isset(bitmap, index) is true.</p>
+<p>The assert prevents the loop from being infinite if the bitmap is infinitely set. </p>
+
+</div>
+</div>
+<a id="gafcf3246db406218d4e155735b3fa6528"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafcf3246db406218d4e155735b3fa6528">◆ </a></span>hwloc_bitmap_foreach_end</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define hwloc_bitmap_foreach_end</td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>End of loop macro iterating on a bitmap. </p>
+<p>Needs a terminating ';'.</p>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html#ga3f6861045a8029ade373510ffa727d2a" title="Loop macro iterating on bitmap bitmap. ">hwloc_bitmap_foreach_begin()</a> </dd></dl>
+
+</div>
+</div>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="gaa3c2bf4c776d603dcebbb61b0c923d84"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa3c2bf4c776d603dcebbb61b0c923d84">◆ </a></span>hwloc_bitmap_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef struct hwloc_bitmap_s* <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set of bits represented as an opaque pointer to an internal bitmap. </p>
+
+</div>
+</div>
+<a id="gae991a108af01d408be2776c5b2c467b2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae991a108af01d408be2776c5b2c467b2">◆ </a></span>hwloc_const_bitmap_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef const struct hwloc_bitmap_s* <a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>a non-modifiable <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a> </p>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga3b944660dcfcb8d655883742b3ea86a7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3b944660dcfcb8d655883742b3ea86a7">◆ </a></span>hwloc_bitmap_allbut()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_allbut </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>id</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Fill the bitmap <code>and</code> clear the index <code>id</code>. </p>
+
+</div>
+</div>
+<a id="gadece3d1eb5199fc2fb99bc7dcf1ccc05"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gadece3d1eb5199fc2fb99bc7dcf1ccc05">◆ </a></span>hwloc_bitmap_alloc()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> hwloc_bitmap_alloc </td>
+ <td>(</td>
+ <td class="paramtype">void </td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate a new empty bitmap. </p>
+<dl class="section return"><dt>Returns</dt><dd>A valid bitmap or <code>NULL</code>.</dd></dl>
+<p>The bitmap should be freed by a corresponding call to <a class="el" href="a00174.html#ga156130d85b3a0674d6e0e6770fe68fbe" title="Free bitmap bitmap. ">hwloc_bitmap_free()</a>. </p>
+
+</div>
+</div>
+<a id="ga02853b4a224970587b9d7a0e20d857c0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga02853b4a224970587b9d7a0e20d857c0">◆ </a></span>hwloc_bitmap_alloc_full()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> hwloc_bitmap_alloc_full </td>
+ <td>(</td>
+ <td class="paramtype">void </td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate a new full bitmap. </p>
+
+</div>
+</div>
+<a id="ga4a3e12ab9e20cfec66a3dc2db16806be"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4a3e12ab9e20cfec66a3dc2db16806be">◆ </a></span>hwloc_bitmap_and()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_and </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>res</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>And bitmaps <code>bitmap1</code> and <code>bitmap2</code> and store the result in bitmap <code>res</code>. </p>
+<p><code>res</code> can be the same as <code>bitmap1</code> or <code>bitmap2</code> </p>
+
+</div>
+</div>
+<a id="ga091e9039ce7b6fe927260cd1b08d25c4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga091e9039ce7b6fe927260cd1b08d25c4">◆ </a></span>hwloc_bitmap_andnot()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_andnot </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>res</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>And bitmap <code>bitmap1</code> and the negation of <code>bitmap2</code> and store the result in bitmap <code>res</code>. </p>
+<p><code>res</code> can be the same as <code>bitmap1</code> or <code>bitmap2</code> </p>
+
+</div>
+</div>
+<a id="ga0fece972134fdecf2da9bc7a11dd827e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0fece972134fdecf2da9bc7a11dd827e">◆ </a></span>hwloc_bitmap_asprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_asprintf </td>
+ <td>(</td>
+ <td class="paramtype">char ** </td>
+ <td class="paramname"><em>strp</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify a bitmap into a newly allocated string. </p>
+<dl class="section return"><dt>Returns</dt><dd>-1 on error. </dd></dl>
+
+</div>
+</div>
+<a id="gabddf36d47882c0a4f1e2b3c76cac877c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gabddf36d47882c0a4f1e2b3c76cac877c">◆ </a></span>hwloc_bitmap_clr()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_clr </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>id</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Remove index <code>id</code> from bitmap <code>bitmap</code>. </p>
+
+</div>
+</div>
+<a id="ga207ae23381d7b37fb97fd1f906c9c5ba"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga207ae23381d7b37fb97fd1f906c9c5ba">◆ </a></span>hwloc_bitmap_clr_range()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_clr_range </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>begin</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>end</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Remove indexes from <code>begin</code> to <code>end</code> in bitmap <code>bitmap</code>. </p>
+<p>If <code>end</code> is <code>-1</code>, the range is infinite. </p>
+
+</div>
+</div>
+<a id="ga14cdbc0ef0a705e84999bd48a2e649f3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga14cdbc0ef0a705e84999bd48a2e649f3">◆ </a></span>hwloc_bitmap_compare()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_compare </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compare bitmaps <code>bitmap1</code> and <code>bitmap2</code> in lexicographic order. </p>
+<p>Lexicographic comparison of bitmaps, starting for their highest indexes. Compare last indexes first, then second, etc. The empty bitmap is considered lower than anything.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if <code>bitmap1</code> is considered smaller than <code>bitmap2</code>. </dd>
+<dd>
+1 if <code>bitmap1</code> is considered larger than <code>bitmap2</code>. </dd>
+<dd>
+0 if bitmaps are equal (contrary to <a class="el" href="a00174.html#gaa39cda1510ab721b5c012c76ead72365" title="Compare bitmaps bitmap1 and bitmap2 using their lowest index. ">hwloc_bitmap_compare_first()</a>).</dd></dl>
+<p>For instance comparing binary bitmaps 0011 and 0110 returns -1 (hence 0011 is considered smaller than 0110). Comparing 00101 and 01010 returns -1 too.</p>
+<dl class="section note"><dt>Note</dt><dd>This is different from the non-existing hwloc_bitmap_compare_last() which would only compare the highest index of each bitmap. </dd></dl>
+
+</div>
+</div>
+<a id="gaa39cda1510ab721b5c012c76ead72365"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa39cda1510ab721b5c012c76ead72365">◆ </a></span>hwloc_bitmap_compare_first()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_compare_first </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compare bitmaps <code>bitmap1</code> and <code>bitmap2</code> using their lowest index. </p>
+<p>A bitmap is considered smaller if its least significant bit is smaller. The empty bitmap is considered higher than anything (because its least significant bit does not exist).</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if <code>bitmap1</code> is considered smaller than <code>bitmap2</code>. </dd>
+<dd>
+1 if <code>bitmap1</code> is considered larger than <code>bitmap2</code>.</dd></dl>
+<p>For instance comparing binary bitmaps 0011 and 0110 returns -1 (hence 0011 is considered smaller than 0110) because least significant bit of 0011 (0001) is smaller than least significant bit of 0110 (0010). Comparing 01001 and 00110 would also return -1 for the same reason.</p>
+<dl class="section return"><dt>Returns</dt><dd>0 if bitmaps are considered equal, even if they are not strictly equal. They just need to have the same least significant bit. For instance, comparing binary bitmaps 0010 and 0110 returns 0 because they have the same least significant bit. </dd></dl>
+
+</div>
+</div>
+<a id="ga036068a22d1aa5cb9ff1df348b525ff3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga036068a22d1aa5cb9ff1df348b525ff3">◆ </a></span>hwloc_bitmap_copy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_copy </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>dst</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>src</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Copy the contents of bitmap <code>src</code> into the already allocated bitmap <code>dst</code>. </p>
+
+</div>
+</div>
+<a id="gae679434c1a5f41d3560a8a7e2c1b0dee"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae679434c1a5f41d3560a8a7e2c1b0dee">◆ </a></span>hwloc_bitmap_dup()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> hwloc_bitmap_dup </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Duplicate bitmap <code>bitmap</code> by allocating a new bitmap and copying <code>bitmap</code> contents. </p>
+<p>If <code>bitmap</code> is <code>NULL</code>, <code>NULL</code> is returned. </p>
+
+</div>
+</div>
+<a id="ga07b2de8786b3cdb22f21d9dd42588275"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga07b2de8786b3cdb22f21d9dd42588275">◆ </a></span>hwloc_bitmap_fill()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_fill </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Fill bitmap <code>bitmap</code> with all possible indexes (even if those objects don't exist or are otherwise unavailable) </p>
+
+</div>
+</div>
+<a id="ga3ec1ced43afadf8c0a7197320bc016ed"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3ec1ced43afadf8c0a7197320bc016ed">◆ </a></span>hwloc_bitmap_first()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_first </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compute the first index (least significant bit) in bitmap <code>bitmap</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if no index is set in <code>bitmap</code>. </dd></dl>
+
+</div>
+</div>
+<a id="ga156130d85b3a0674d6e0e6770fe68fbe"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga156130d85b3a0674d6e0e6770fe68fbe">◆ </a></span>hwloc_bitmap_free()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_free </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Free bitmap <code>bitmap</code>. </p>
+<p>If <code>bitmap</code> is <code>NULL</code>, no operation is performed. </p>
+
+</div>
+</div>
+<a id="ga6066e095e6f23302f0a1ca7284d0b651"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga6066e095e6f23302f0a1ca7284d0b651">◆ </a></span>hwloc_bitmap_from_ith_ulong()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_from_ith_ulong </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>i</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>mask</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Setup bitmap <code>bitmap</code> from unsigned long <code>mask</code> used as <code>i</code> -th subset. </p>
+
+</div>
+</div>
+<a id="gaba53aebd49962acea4e3e0ff160172e3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaba53aebd49962acea4e3e0ff160172e3">◆ </a></span>hwloc_bitmap_from_ulong()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_from_ulong </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>mask</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Setup bitmap <code>bitmap</code> from unsigned long <code>mask</code>. </p>
+
+</div>
+</div>
+<a id="gaefa070f9232857ba5a57297ea9a08ea2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaefa070f9232857ba5a57297ea9a08ea2">◆ </a></span>hwloc_bitmap_intersects()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_intersects </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Test whether bitmaps <code>bitmap1</code> and <code>bitmap2</code> intersects. </p>
+<dl class="section return"><dt>Returns</dt><dd>1 if bitmaps intersect, 0 otherwise. </dd></dl>
+
+</div>
+</div>
+<a id="ga32376b1405e57472b73c3aa53bb39663"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga32376b1405e57472b73c3aa53bb39663">◆ </a></span>hwloc_bitmap_isequal()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_isequal </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Test whether bitmap <code>bitmap1</code> is equal to bitmap <code>bitmap2</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>1 if bitmaps are equal, 0 otherwise. </dd></dl>
+
+</div>
+</div>
+<a id="ga5fdcb8c19c336511c37076d649e74af4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5fdcb8c19c336511c37076d649e74af4">◆ </a></span>hwloc_bitmap_isfull()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_isfull </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Test whether bitmap <code>bitmap</code> is completely full. </p>
+<dl class="section return"><dt>Returns</dt><dd>1 if bitmap is full, 0 otherwise.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>A full bitmap is always infinitely set. </dd></dl>
+
+</div>
+</div>
+<a id="ga0526e03db81956fb02acc8260b66d6a4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0526e03db81956fb02acc8260b66d6a4">◆ </a></span>hwloc_bitmap_isincluded()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_isincluded </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>sub_bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>super_bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Test whether bitmap <code>sub_bitmap</code> is part of bitmap <code>super_bitmap</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>1 if <code>sub_bitmap</code> is included in <code>super_bitmap</code>, 0 otherwise.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>The empty bitmap is considered included in any other bitmap. </dd></dl>
+
+</div>
+</div>
+<a id="ga11340dd487f110bb84f0a6e4ae90bd06"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga11340dd487f110bb84f0a6e4ae90bd06">◆ </a></span>hwloc_bitmap_isset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_isset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>id</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Test whether index <code>id</code> is part of bitmap <code>bitmap</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>1 if the bit at index <code>id</code> is set in bitmap <code>bitmap</code>, 0 otherwise. </dd></dl>
+
+</div>
+</div>
+<a id="ga5b64be28f5a7176ed8ad0d6a90bdf108"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5b64be28f5a7176ed8ad0d6a90bdf108">◆ </a></span>hwloc_bitmap_iszero()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_iszero </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Test whether bitmap <code>bitmap</code> is empty. </p>
+<dl class="section return"><dt>Returns</dt><dd>1 if bitmap is empty, 0 otherwise. </dd></dl>
+
+</div>
+</div>
+<a id="ga3d9b08b060a59bbab5a4ea6d0a1ed7a6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3d9b08b060a59bbab5a4ea6d0a1ed7a6">◆ </a></span>hwloc_bitmap_last()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_last </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compute the last index (most significant bit) in bitmap <code>bitmap</code>. </p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if no index is set in <code>bitmap</code>, or if <code>bitmap</code> is infinitely set. </dd></dl>
+
+</div>
+</div>
+<a id="ga39c0f1b02053de66d205c9f8260b3665"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga39c0f1b02053de66d205c9f8260b3665">◆ </a></span>hwloc_bitmap_list_asprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_list_asprintf </td>
+ <td>(</td>
+ <td class="paramtype">char ** </td>
+ <td class="paramname"><em>strp</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify a bitmap into a newly allocated list string. </p>
+<dl class="section return"><dt>Returns</dt><dd>-1 on error. </dd></dl>
+
+</div>
+</div>
+<a id="ga3d06e6447edeb61e56a9ad83f31f0a37"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3d06e6447edeb61e56a9ad83f31f0a37">◆ </a></span>hwloc_bitmap_list_snprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_list_snprintf </td>
+ <td>(</td>
+ <td class="paramtype">char *restrict </td>
+ <td class="paramname"><em>buf</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>buflen</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify a bitmap in the list format. </p>
+<p>Lists are comma-separated indexes or ranges. Ranges are dash separated indexes. The last range may not have an ending indexes if the bitmap is infinitely set.</p>
+<p>Up to <code>buflen</code> characters may be written in buffer <code>buf</code>.</p>
+<p>If <code>buflen</code> is 0, <code>buf</code> may safely be <code>NULL</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the number of character that were actually written if not truncating, or that would have been written (not including the ending \0). </dd></dl>
+
+</div>
+</div>
+<a id="gaf9314311d482c621e17c6a53a9fe993e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf9314311d482c621e17c6a53a9fe993e">◆ </a></span>hwloc_bitmap_list_sscanf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_list_sscanf </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>string</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Parse a list string and stores it in bitmap <code>bitmap</code>. </p>
+
+</div>
+</div>
+<a id="gaab7240b4b644693b775dad17b44ffd68"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaab7240b4b644693b775dad17b44ffd68">◆ </a></span>hwloc_bitmap_next()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_next </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>prev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compute the next index in bitmap <code>bitmap</code> which is after index <code>prev</code>. </p>
+<p>If <code>prev</code> is -1, the first index is returned.</p>
+<dl class="section return"><dt>Returns</dt><dd>-1 if no index with higher index is set in <code>bitmap</code>. </dd></dl>
+
+</div>
+</div>
+<a id="ga8cd2c26d71510138b22a12db41419742"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8cd2c26d71510138b22a12db41419742">◆ </a></span>hwloc_bitmap_not()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_not </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>res</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Negate bitmap <code>bitmap</code> and store the result in bitmap <code>res</code>. </p>
+<p><code>res</code> can be the same as <code>bitmap</code> </p>
+
+</div>
+</div>
+<a id="ga037032ba6aaf49c2e6836e2dbb7855c4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga037032ba6aaf49c2e6836e2dbb7855c4">◆ </a></span>hwloc_bitmap_only()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_only </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>id</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Empty the bitmap <code>bitmap</code> and add bit <code>id</code>. </p>
+
+</div>
+</div>
+<a id="ga1281994d6cc3b5079224190ca820ad93"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1281994d6cc3b5079224190ca820ad93">◆ </a></span>hwloc_bitmap_or()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_or </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>res</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Or bitmaps <code>bitmap1</code> and <code>bitmap2</code> and store the result in bitmap <code>res</code>. </p>
+<p><code>res</code> can be the same as <code>bitmap1</code> or <code>bitmap2</code> </p>
+
+</div>
+</div>
+<a id="ga55480e96ab47941bfebb9aed676526a2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga55480e96ab47941bfebb9aed676526a2">◆ </a></span>hwloc_bitmap_set()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_set </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>id</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Add index <code>id</code> in bitmap <code>bitmap</code>. </p>
+
+</div>
+</div>
+<a id="gab16b6f6383b51f9c314abe15478ff6ff"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab16b6f6383b51f9c314abe15478ff6ff">◆ </a></span>hwloc_bitmap_set_ith_ulong()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_set_ith_ulong </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>i</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>mask</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Replace <code>i</code> -th subset of bitmap <code>bitmap</code> with unsigned long <code>mask</code>. </p>
+
+</div>
+</div>
+<a id="ga7a1d8530b282397f56b0d82b17e6d13d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7a1d8530b282397f56b0d82b17e6d13d">◆ </a></span>hwloc_bitmap_set_range()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_set_range </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>begin</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>end</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Add indexes from <code>begin</code> to <code>end</code> in bitmap <code>bitmap</code>. </p>
+<p>If <code>end</code> is <code>-1</code>, the range is infinite. </p>
+
+</div>
+</div>
+<a id="ga36d802130aa5d96bc1b5a90d2f0f3765"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga36d802130aa5d96bc1b5a90d2f0f3765">◆ </a></span>hwloc_bitmap_singlify()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_singlify </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Keep a single index among those set in bitmap <code>bitmap</code>. </p>
+<p>May be useful before binding so that the process does not have a chance of migrating between multiple logical CPUs in the original mask. Instead of running the task on any PU inside the given CPU set, the operating system scheduler will be forced to run it on a single of these PUs. It avoids a migration overhead and cache-line ping-pongs between PUs.</p>
+<dl class="section note"><dt>Note</dt><dd>This function is NOT meant to distribute multiple processes within a single CPU set. It always return the same single bit when called multiple times on the same input set. <a class="el" href="a00169.html#ga2e3db06f766509ae2004ee4c8bbf5204" title="Distribute n items over the topology under roots. ">hwloc_distrib()</a> may be used for generating CPU sets to distribute multiple tasks below a single multi-PU object.</dd>
+<dd>
+This function cannot be applied to an object set directly. It should be applied to a copy (which may be obtained with <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a>). </dd></dl>
+
+</div>
+</div>
+<a id="ga9511644657030a021dce9941e3cda583"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9511644657030a021dce9941e3cda583">◆ </a></span>hwloc_bitmap_snprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_snprintf </td>
+ <td>(</td>
+ <td class="paramtype">char *restrict </td>
+ <td class="paramname"><em>buf</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>buflen</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify a bitmap. </p>
+<p>Up to <code>buflen</code> characters may be written in buffer <code>buf</code>.</p>
+<p>If <code>buflen</code> is 0, <code>buf</code> may safely be <code>NULL</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the number of character that were actually written if not truncating, or that would have been written (not including the ending \0). </dd></dl>
+
+</div>
+</div>
+<a id="ga064a85c643a364b60acbfa0f3663fc18"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga064a85c643a364b60acbfa0f3663fc18">◆ </a></span>hwloc_bitmap_sscanf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_sscanf </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>string</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Parse a bitmap string and stores it in bitmap <code>bitmap</code>. </p>
+
+</div>
+</div>
+<a id="ga391312513f17c985d871f18367c59512"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga391312513f17c985d871f18367c59512">◆ </a></span>hwloc_bitmap_taskset_asprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_taskset_asprintf </td>
+ <td>(</td>
+ <td class="paramtype">char ** </td>
+ <td class="paramname"><em>strp</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify a bitmap into a newly allocated taskset-specific string. </p>
+<dl class="section return"><dt>Returns</dt><dd>-1 on error. </dd></dl>
+
+</div>
+</div>
+<a id="ga5beb68a987fe48e5c5edef06ab260e14"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5beb68a987fe48e5c5edef06ab260e14">◆ </a></span>hwloc_bitmap_taskset_snprintf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_taskset_snprintf </td>
+ <td>(</td>
+ <td class="paramtype">char *restrict </td>
+ <td class="paramname"><em>buf</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>buflen</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Stringify a bitmap in the taskset-specific format. </p>
+<p>The taskset command manipulates bitmap strings that contain a single (possible very long) hexadecimal number starting with 0x.</p>
+<p>Up to <code>buflen</code> characters may be written in buffer <code>buf</code>.</p>
+<p>If <code>buflen</code> is 0, <code>buf</code> may safely be <code>NULL</code>.</p>
+<dl class="section return"><dt>Returns</dt><dd>the number of character that were actually written if not truncating, or that would have been written (not including the ending \0). </dd></dl>
+
+</div>
+</div>
+<a id="ga4f23db5041240e03e348752f8bd6ec2d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4f23db5041240e03e348752f8bd6ec2d">◆ </a></span>hwloc_bitmap_taskset_sscanf()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_taskset_sscanf </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *restrict </td>
+ <td class="paramname"><em>string</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Parse a taskset-specific bitmap string and stores it in bitmap <code>bitmap</code>. </p>
+
+</div>
+</div>
+<a id="gac92e6404f648d6b99d2c626b05b2ffa4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac92e6404f648d6b99d2c626b05b2ffa4">◆ </a></span>hwloc_bitmap_to_ith_ulong()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned long hwloc_bitmap_to_ith_ulong </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>i</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Convert the <code>i</code> -th subset of bitmap <code>bitmap</code> into unsigned long mask. </p>
+
+</div>
+</div>
+<a id="gab6a6bae22a33ec6adfc169a953c13e6c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab6a6bae22a33ec6adfc169a953c13e6c">◆ </a></span>hwloc_bitmap_to_ulong()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned long hwloc_bitmap_to_ulong </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Convert the beginning part of bitmap <code>bitmap</code> into unsigned long <code>mask</code>. </p>
+
+</div>
+</div>
+<a id="ga0200466842c0e1f5da75e84dde460b10"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0200466842c0e1f5da75e84dde460b10">◆ </a></span>hwloc_bitmap_weight()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_bitmap_weight </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compute the "weight" of bitmap <code>bitmap</code> (i.e., number of indexes that are in the bitmap). </p>
+<dl class="section return"><dt>Returns</dt><dd>the number of indexes that are in the bitmap.</dd>
+<dd>
+-1 if <code>bitmap</code> is infinitely set. </dd></dl>
+
+</div>
+</div>
+<a id="gaf462ead487d1891e37f4443a397d3c42"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf462ead487d1891e37f4443a397d3c42">◆ </a></span>hwloc_bitmap_xor()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_xor </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>res</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gae991a108af01d408be2776c5b2c467b2">hwloc_const_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap2</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Xor bitmaps <code>bitmap1</code> and <code>bitmap2</code> and store the result in bitmap <code>res</code>. </p>
+<p><code>res</code> can be the same as <code>bitmap1</code> or <code>bitmap2</code> </p>
+
+</div>
+</div>
+<a id="gaa97c5217613c8cae9862287170ea2132"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa97c5217613c8cae9862287170ea2132">◆ </a></span>hwloc_bitmap_zero()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_bitmap_zero </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>bitmap</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Empty the bitmap <code>bitmap</code>. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Linux-specific helpers</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Linux-specific helpers</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gaa5a608236c3c0757b0b79818f1d429fb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00175.html#gaa5a608236c3c0757b0b79818f1d429fb">hwloc_linux_parse_cpumap_file</a> (FILE *file, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:gaa5a608236c3c0757b0b79818f1d429fb"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga630e699c56b5f3d2e534b475944c216e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00175.html#ga630e699c56b5f3d2e534b475944c216e">hwloc_linux_set_tid_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga630e699c56b5f3d2e534b475944c216e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaddcb985cb56337a4d6693cee72e7bf94"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00175.html#gaddcb985cb56337a4d6693cee72e7bf94">hwloc_linux_get_tid_cpubind</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:gaddcb985cb56337a4d6693cee72e7bf94"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacc7945c2d06c6db1e58f8fd953009134"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00175.html#gacc7945c2d06c6db1e58f8fd953009134">hwloc_linux_get_tid_last_cpu_location</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, pid_t tid, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> set)</td></tr>
+<tr class="separator:gacc7945c2d06c6db1e58f8fd953009134"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This includes helpers for manipulating Linux kernel cpumap files, and hwloc equivalents of the Linux sched_setaffinity and sched_getaffinity system calls. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gaddcb985cb56337a4d6693cee72e7bf94"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaddcb985cb56337a4d6693cee72e7bf94">◆ </a></span>hwloc_linux_get_tid_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_linux_get_tid_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">pid_t </td>
+ <td class="paramname"><em>tid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the current binding of thread <code>tid</code>. </p>
+<p>The behavior is exactly the same as the Linux sched_getaffinity system call, but uses a hwloc cpuset.</p>
+<dl class="section note"><dt>Note</dt><dd>This is equivalent to calling <a class="el" href="a00158.html#gac82de91f788fa82dacf99c6e0d4b7158" title="Get the current physical binding of process pid. ">hwloc_get_proc_cpubind()</a> with <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> as flags. </dd></dl>
+
+</div>
+</div>
+<a id="gacc7945c2d06c6db1e58f8fd953009134"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacc7945c2d06c6db1e58f8fd953009134">◆ </a></span>hwloc_linux_get_tid_last_cpu_location()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_linux_get_tid_last_cpu_location </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">pid_t </td>
+ <td class="paramname"><em>tid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the last physical CPU where thread <code>tid</code> ran. </p>
+<dl class="section note"><dt>Note</dt><dd>This is equivalent to calling <a class="el" href="a00158.html#ga910a05c2d47f68a3155bf176b50fa555" title="Get the last physical CPU where a process ran. ">hwloc_get_proc_last_cpu_location()</a> with <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421" title="Bind current thread of current process. ">HWLOC_CPUBIND_THREAD</a> as flags. </dd></dl>
+
+</div>
+</div>
+<a id="gaa5a608236c3c0757b0b79818f1d429fb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa5a608236c3c0757b0b79818f1d429fb">◆ </a></span>hwloc_linux_parse_cpumap_file()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_linux_parse_cpumap_file </td>
+ <td>(</td>
+ <td class="paramtype">FILE * </td>
+ <td class="paramname"><em>file</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Convert a linux kernel cpumap file <code>file</code> into hwloc CPU set. </p>
+<p>Might be used when reading CPU set from sysfs attributes such as topology and caches for processors, or local_cpus for devices. </p>
+
+</div>
+</div>
+<a id="ga630e699c56b5f3d2e534b475944c216e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga630e699c56b5f3d2e534b475944c216e">◆ </a></span>hwloc_linux_set_tid_cpubind()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_linux_set_tid_cpubind </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">pid_t </td>
+ <td class="paramname"><em>tid</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Bind a thread <code>tid</code> on cpus given in cpuset <code>set</code>. </p>
+<p>The behavior is exactly the same as the Linux sched_setaffinity system call, but uses a hwloc cpuset.</p>
+<dl class="section note"><dt>Note</dt><dd>This is equivalent to calling <a class="el" href="a00158.html#ga296db8a3c6d49b51fb83d6f3e45c02a6" title="Bind a process pid on cpus given in physical bitmap set. ">hwloc_set_proc_cpubind()</a> with HWLOC_CPUBIND_THREAD as flags. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with Linux libnuma unsigned long masks</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with Linux libnuma unsigned long masks</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gae577962390f84b0b12f503314ab0f972"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00176.html#gae577962390f84b0b12f503314ab0f972">hwloc_cpuset_to_linux_libnuma_ulongs</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> cpuset, unsigned long *mask, unsigned long *maxnode)</td></tr>
+<tr class="separator:gae577962390f84b0b12f503314ab0f972"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga585ccf818d2f217f4e53f9c6506c3128"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00176.html#ga585ccf818d2f217f4e53f9c6506c3128">hwloc_nodeset_to_linux_libnuma_ulongs</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset, unsigned long *mask, unsigned long *maxnode)</td></tr>
+<tr class="separator:ga585ccf818d2f217f4e53f9c6506c3128"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0e9d051e068940f722f6fdc61814149d"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00176.html#ga0e9d051e068940f722f6fdc61814149d">hwloc_cpuset_from_linux_libnuma_ulongs</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> cpuset, const unsigned long *mask, unsigned long maxnode)</td></tr>
+<tr class="separator:ga0e9d051e068940f722f6fdc61814149d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gad8491c672eb2594cc5e7b0a026867192"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00176.html#gad8491c672eb2594cc5e7b0a026867192">hwloc_nodeset_from_linux_libnuma_ulongs</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset, const unsigned long *mask, unsigned long maxnode)</td></tr>
+<tr class="separator:gad8491c672eb2594cc5e7b0a026867192"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface helps converting between Linux libnuma unsigned long masks and hwloc cpusets and nodesets.</p>
+<p>It also offers a consistent behavior on non-NUMA machines or non-NUMA-aware kernels by assuming that the machines have a single NUMA node.</p>
+<dl class="section note"><dt>Note</dt><dd>Topology <code>topology</code> must match the current machine.</dd>
+<dd>
+The behavior of libnuma is undefined if the kernel is not NUMA-aware. (when CONFIG_NUMA is not set in the kernel configuration). This helper and libnuma may thus not be strictly compatible in this case, which may be detected by checking whether numa_available() returns -1. </dd></dl>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga0e9d051e068940f722f6fdc61814149d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0e9d051e068940f722f6fdc61814149d">◆ </a></span>hwloc_cpuset_from_linux_libnuma_ulongs()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cpuset_from_linux_libnuma_ulongs </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const unsigned long * </td>
+ <td class="paramname"><em>mask</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>maxnode</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert the array of unsigned long <code>mask</code> into hwloc CPU set. </p>
+<p><code>mask</code> is a array of unsigned long that will be read. <code>maxnode</code> contains the maximal node number that may be read in <code>mask</code>.</p>
+<p>This function may be used after calling get_mempolicy or any other function that takes an array of unsigned long as output parameter (and possibly a maximal node number as input parameter). </p>
+
+</div>
+</div>
+<a id="gae577962390f84b0b12f503314ab0f972"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae577962390f84b0b12f503314ab0f972">◆ </a></span>hwloc_cpuset_to_linux_libnuma_ulongs()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cpuset_to_linux_libnuma_ulongs </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long * </td>
+ <td class="paramname"><em>mask</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long * </td>
+ <td class="paramname"><em>maxnode</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert hwloc CPU set <code>cpuset</code> into the array of unsigned long <code>mask</code>. </p>
+<p><code>mask</code> is the array of unsigned long that will be filled. <code>maxnode</code> contains the maximal node number that may be stored in <code>mask</code>. <code>maxnode</code> will be set to the maximal node number that was found, plus one.</p>
+<p>This function may be used before calling set_mempolicy, mbind, migrate_pages or any other function that takes an array of unsigned long and a maximal node number as input parameter. </p>
+
+</div>
+</div>
+<a id="gad8491c672eb2594cc5e7b0a026867192"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad8491c672eb2594cc5e7b0a026867192">◆ </a></span>hwloc_nodeset_from_linux_libnuma_ulongs()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_nodeset_from_linux_libnuma_ulongs </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const unsigned long * </td>
+ <td class="paramname"><em>mask</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>maxnode</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert the array of unsigned long <code>mask</code> into hwloc NUMA node set. </p>
+<p><code>mask</code> is a array of unsigned long that will be read. <code>maxnode</code> contains the maximal node number that may be read in <code>mask</code>.</p>
+<p>This function may be used after calling get_mempolicy or any other function that takes an array of unsigned long as output parameter (and possibly a maximal node number as input parameter). </p>
+
+</div>
+</div>
+<a id="ga585ccf818d2f217f4e53f9c6506c3128"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga585ccf818d2f217f4e53f9c6506c3128">◆ </a></span>hwloc_nodeset_to_linux_libnuma_ulongs()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_nodeset_to_linux_libnuma_ulongs </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long * </td>
+ <td class="paramname"><em>mask</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long * </td>
+ <td class="paramname"><em>maxnode</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert hwloc NUMA node set <code>nodeset</code> into the array of unsigned long <code>mask</code>. </p>
+<p><code>mask</code> is the array of unsigned long that will be filled. <code>maxnode</code> contains the maximal node number that may be stored in <code>mask</code>. <code>maxnode</code> will be set to the maximal node number that was found, plus one.</p>
+<p>This function may be used before calling set_mempolicy, mbind, migrate_pages or any other function that takes an array of unsigned long and a maximal node number as input parameter. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with Linux libnuma bitmask</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with Linux libnuma bitmask</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gad8769b4544c0aeef154fc8223144e343"><td class="memItemLeft" align="right" valign="top">static struct bitmask * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00177.html#gad8769b4544c0aeef154fc8223144e343">hwloc_cpuset_to_linux_libnuma_bitmask</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> cpuset)</td></tr>
+<tr class="separator:gad8769b4544c0aeef154fc8223144e343"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gadfaa14c1bec76965ac2e05f0c3f3473b"><td class="memItemLeft" align="right" valign="top">static struct bitmask * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00177.html#gadfaa14c1bec76965ac2e05f0c3f3473b">hwloc_nodeset_to_linux_libnuma_bitmask</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> nodeset)</td></tr>
+<tr class="separator:gadfaa14c1bec76965ac2e05f0c3f3473b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga37c8421110b1842414809019098794ef"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00177.html#ga37c8421110b1842414809019098794ef">hwloc_cpuset_from_linux_libnuma_bitmask</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> cpuset, const struct bitmask *bitmask)</td></tr>
+<tr class="separator:ga37c8421110b1842414809019098794ef"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaaca6bff3086aad5bdbd2f4c5f0ad14cc"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00177.html#gaaca6bff3086aad5bdbd2f4c5f0ad14cc">hwloc_nodeset_from_linux_libnuma_bitmask</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> nodeset, const struct bitmask *bitmask)</td></tr>
+<tr class="separator:gaaca6bff3086aad5bdbd2f4c5f0ad14cc"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface helps converting between Linux libnuma bitmasks and hwloc cpusets and nodesets.</p>
+<p>It also offers a consistent behavior on non-NUMA machines or non-NUMA-aware kernels by assuming that the machines have a single NUMA node.</p>
+<dl class="section note"><dt>Note</dt><dd>Topology <code>topology</code> must match the current machine.</dd>
+<dd>
+The behavior of libnuma is undefined if the kernel is not NUMA-aware. (when CONFIG_NUMA is not set in the kernel configuration). This helper and libnuma may thus not be strictly compatible in this case, which may be detected by checking whether numa_available() returns -1. </dd></dl>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga37c8421110b1842414809019098794ef"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga37c8421110b1842414809019098794ef">◆ </a></span>hwloc_cpuset_from_linux_libnuma_bitmask()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cpuset_from_linux_libnuma_bitmask </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>cpuset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const struct bitmask * </td>
+ <td class="paramname"><em>bitmask</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert libnuma bitmask <code>bitmask</code> into hwloc CPU set <code>cpuset</code>. </p>
+<p>This function may be used after calling many numa_ functions that use a struct bitmask as an output parameter. </p>
+
+</div>
+</div>
+<a id="gad8769b4544c0aeef154fc8223144e343"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad8769b4544c0aeef154fc8223144e343">◆ </a></span>hwloc_cpuset_to_linux_libnuma_bitmask()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static struct bitmask * hwloc_cpuset_to_linux_libnuma_bitmask </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>cpuset</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert hwloc CPU set <code>cpuset</code> into the returned libnuma bitmask. </p>
+<p>The returned bitmask should later be freed with numa_bitmask_free.</p>
+<p>This function may be used before calling many numa_ functions that use a struct bitmask as an input parameter.</p>
+<dl class="section return"><dt>Returns</dt><dd>newly allocated struct bitmask. </dd></dl>
+
+</div>
+</div>
+<a id="gaaca6bff3086aad5bdbd2f4c5f0ad14cc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaaca6bff3086aad5bdbd2f4c5f0ad14cc">◆ </a></span>hwloc_nodeset_from_linux_libnuma_bitmask()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_nodeset_from_linux_libnuma_bitmask </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const struct bitmask * </td>
+ <td class="paramname"><em>bitmask</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert libnuma bitmask <code>bitmask</code> into hwloc NUMA node set <code>nodeset</code>. </p>
+<p>This function may be used after calling many numa_ functions that use a struct bitmask as an output parameter. </p>
+
+</div>
+</div>
+<a id="gadfaa14c1bec76965ac2e05f0c3f3473b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gadfaa14c1bec76965ac2e05f0c3f3473b">◆ </a></span>hwloc_nodeset_to_linux_libnuma_bitmask()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static struct bitmask * hwloc_nodeset_to_linux_libnuma_bitmask </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga2f5276235841ad66a79bedad16a5a10c">hwloc_const_nodeset_t</a> </td>
+ <td class="paramname"><em>nodeset</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert hwloc NUMA node set <code>nodeset</code> into the returned libnuma bitmask. </p>
+<p>The returned bitmask should later be freed with numa_bitmask_free.</p>
+<p>This function may be used before calling many numa_ functions that use a struct bitmask as an input parameter.</p>
+<dl class="section return"><dt>Returns</dt><dd>newly allocated struct bitmask. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with glibc sched affinity</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with glibc sched affinity</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga88699a0c86c66a9b7baa3468cd9d24c3"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00178.html#ga88699a0c86c66a9b7baa3468cd9d24c3">hwloc_cpuset_to_glibc_sched_affinity</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> hwlocset, cpu_set_t *schedset, size_t schedsetsize)</td></tr>
+<tr class="separator:ga88699a0c86c66a9b7baa3468cd9d24c3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga8ec807ec17de57fa77aa5cfd6c8e4bfb"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00178.html#ga8ec807ec17de57fa77aa5cfd6c8e4bfb">hwloc_cpuset_from_glibc_sched_affinity</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> hwlocset, const cpu_set_t *schedset, size_t schedsetsize)</td></tr>
+<tr class="separator:ga8ec807ec17de57fa77aa5cfd6c8e4bfb"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to convert between hwloc cpusets and glibc cpusets such as those manipulated by sched_getaffinity() or pthread_attr_setaffinity_np().</p>
+<dl class="section note"><dt>Note</dt><dd>Topology <code>topology</code> must match the current machine. </dd></dl>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga8ec807ec17de57fa77aa5cfd6c8e4bfb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8ec807ec17de57fa77aa5cfd6c8e4bfb">◆ </a></span>hwloc_cpuset_from_glibc_sched_affinity()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cpuset_from_glibc_sched_affinity </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>hwlocset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const cpu_set_t * </td>
+ <td class="paramname"><em>schedset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>schedsetsize</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert glibc sched affinity CPU set <code>schedset</code> into hwloc CPU set. </p>
+<p>This function may be used before calling sched_setaffinity or any other function that takes a cpu_set_t as input parameter.</p>
+<p><code>schedsetsize</code> should be sizeof(cpu_set_t) unless <code>schedset</code> was dynamically allocated with CPU_ALLOC </p>
+
+</div>
+</div>
+<a id="ga88699a0c86c66a9b7baa3468cd9d24c3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga88699a0c86c66a9b7baa3468cd9d24c3">◆ </a></span>hwloc_cpuset_to_glibc_sched_affinity()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cpuset_to_glibc_sched_affinity </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga1f784433e9b606261f62d1134f6a3b25">hwloc_const_cpuset_t</a> </td>
+ <td class="paramname"><em>hwlocset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">cpu_set_t * </td>
+ <td class="paramname"><em>schedset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">size_t </td>
+ <td class="paramname"><em>schedsetsize</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Convert hwloc CPU set <code>toposet</code> into glibc sched affinity CPU set <code>schedset</code>. </p>
+<p>This function may be used before calling sched_setaffinity or any other function that takes a cpu_set_t as input parameter.</p>
+<p><code>schedsetsize</code> should be sizeof(cpu_set_t) unless <code>schedset</code> was dynamically allocated with CPU_ALLOC </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with OpenCL</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with OpenCL</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gacc32737d4648d16b0d292438f210ec90"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00179.html#gacc32737d4648d16b0d292438f210ec90">hwloc_opencl_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, cl_device_id device, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:gacc32737d4648d16b0d292438f210ec90"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gae39352d124cb330eb37b84b418ed6cc5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00179.html#gae39352d124cb330eb37b84b418ed6cc5">hwloc_opencl_get_device_osdev_by_index</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned platform_index, unsigned device_index)</td></tr>
+<tr class="separator:gae39352d124cb330eb37b84b418ed6cc5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gadabfa6516aa12e5d8f79b9b4dd9f3cf8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00179.html#gadabfa6516aa12e5d8f79b9b4dd9f3cf8">hwloc_opencl_get_device_osdev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, cl_device_id device)</td></tr>
+<tr class="separator:gadabfa6516aa12e5d8f79b9b4dd9f3cf8"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about OpenCL devices.</p>
+<p>Only the AMD OpenCL interface currently offers useful locality information about its devices. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gacc32737d4648d16b0d292438f210ec90"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacc32737d4648d16b0d292438f210ec90">◆ </a></span>hwloc_opencl_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_opencl_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">cl_device_id </td>
+ <td class="paramname"><em>device</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close to OpenCL device <code>device</code>. </p>
+<p>Return the CPU set describing the locality of the OpenCL device <code>device</code>.</p>
+<p>Topology <code>topology</code> and device <code>device</code> must match the local machine. I/O devices detection and the OpenCL component are not needed in the topology.</p>
+<p>The function only returns the locality of the device. If more information about the device is needed, OS objects should be used instead, see <a class="el" href="a00179.html#gadabfa6516aa12e5d8f79b9b4dd9f3cf8" title="Get the hwloc OS device object corresponding to OpenCL device device. ">hwloc_opencl_get_device_osdev()</a> and <a class="el" href="a00179.html#gae39352d124cb330eb37b84b418ed6cc5" title="Get the hwloc OS device object corresponding to the OpenCL device for the given indexes. ">hwloc_opencl_get_device_osdev_by_index()</a>.</p>
+<p>This function is currently only implemented in a meaningful way for Linux with the AMD OpenCL implementation; other systems will simply get a full cpuset. </p>
+
+</div>
+</div>
+<a id="gadabfa6516aa12e5d8f79b9b4dd9f3cf8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gadabfa6516aa12e5d8f79b9b4dd9f3cf8">◆ </a></span>hwloc_opencl_get_device_osdev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_opencl_get_device_osdev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">cl_device_id </td>
+ <td class="paramname"><em>device</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to OpenCL device <code>device</code>. </p>
+<p>Return the hwloc OS device object that describes the given OpenCL device <code>device</code>. Return NULL if there is none.</p>
+<p>Topology <code>topology</code> and device <code>device</code> must match the local machine. I/O devices detection and the OpenCL component must be enabled in the topology. If not, the locality of the object may still be found using <a class="el" href="a00179.html#gacc32737d4648d16b0d292438f210ec90" title="Get the CPU set of logical processors that are physically close to OpenCL device device. ">hwloc_opencl_get_device_cpuset()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding hwloc PCI device may be found by looking at the result parent pointer. </dd></dl>
+
+</div>
+</div>
+<a id="gae39352d124cb330eb37b84b418ed6cc5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae39352d124cb330eb37b84b418ed6cc5">◆ </a></span>hwloc_opencl_get_device_osdev_by_index()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_opencl_get_device_osdev_by_index </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>platform_index</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>device_index</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the OpenCL device for the given indexes. </p>
+<p>Return the OS device object describing the OpenCL device whose platform index is <code>platform_index</code>, and whose device index within this platform if <code>device_index</code>. Return NULL if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the OpenCL component must be enabled in the topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with the CUDA Driver API</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with the CUDA Driver API</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga1084285e8ff8b7df91c28917637481c6"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00180.html#ga1084285e8ff8b7df91c28917637481c6">hwloc_cuda_get_device_pci_ids</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, CUdevice cudevice, int *domain, int *bus, int *dev)</td></tr>
+<tr class="separator:ga1084285e8ff8b7df91c28917637481c6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaec41c6b4dc3361156beb7dea2a74f5a3"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00180.html#gaec41c6b4dc3361156beb7dea2a74f5a3">hwloc_cuda_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, CUdevice cudevice, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:gaec41c6b4dc3361156beb7dea2a74f5a3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga11fed607fa404e29e8da010f3ec128e4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00180.html#ga11fed607fa404e29e8da010f3ec128e4">hwloc_cuda_get_device_pcidev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, CUdevice cudevice)</td></tr>
+<tr class="separator:ga11fed607fa404e29e8da010f3ec128e4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga252cb72175f1a2d682f883a0add80a66"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00180.html#ga252cb72175f1a2d682f883a0add80a66">hwloc_cuda_get_device_osdev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, CUdevice cudevice)</td></tr>
+<tr class="separator:ga252cb72175f1a2d682f883a0add80a66"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga12ee892994ed037e8f64bbffda02cf2e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00180.html#ga12ee892994ed037e8f64bbffda02cf2e">hwloc_cuda_get_device_osdev_by_index</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned idx)</td></tr>
+<tr class="separator:ga12ee892994ed037e8f64bbffda02cf2e"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about CUDA devices when using the CUDA Driver API. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gaec41c6b4dc3361156beb7dea2a74f5a3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaec41c6b4dc3361156beb7dea2a74f5a3">◆ </a></span>hwloc_cuda_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cuda_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">CUdevice </td>
+ <td class="paramname"><em>cudevice</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close to device <code>cudevice</code>. </p>
+<p>Return the CPU set describing the locality of the CUDA device <code>cudevice</code>.</p>
+<p>Topology <code>topology</code> and device <code>cudevice</code> must match the local machine. I/O devices detection and the CUDA component are not needed in the topology.</p>
+<p>The function only returns the locality of the device. If more information about the device is needed, OS objects should be used instead, see <a class="el" href="a00180.html#ga252cb72175f1a2d682f883a0add80a66" title="Get the hwloc OS device object corresponding to CUDA device cudevice. ">hwloc_cuda_get_device_osdev()</a> and <a class="el" href="a00180.html#ga12ee892994ed037e8f64bbffda02cf2e" title="Get the hwloc OS device object corresponding to the CUDA device whose index is idx. ">hwloc_cuda_get_device_osdev_by_index()</a>.</p>
+<p>This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset. </p>
+
+</div>
+</div>
+<a id="ga252cb72175f1a2d682f883a0add80a66"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga252cb72175f1a2d682f883a0add80a66">◆ </a></span>hwloc_cuda_get_device_osdev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_cuda_get_device_osdev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">CUdevice </td>
+ <td class="paramname"><em>cudevice</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to CUDA device <code>cudevice</code>. </p>
+<p>Return the hwloc OS device object that describes the given CUDA device <code>cudevice</code>. Return NULL if there is none.</p>
+<p>Topology <code>topology</code> and device <code>cudevice</code> must match the local machine. I/O devices detection and the CUDA component must be enabled in the topology. If not, the locality of the object may still be found using <a class="el" href="a00180.html#gaec41c6b4dc3361156beb7dea2a74f5a3" title="Get the CPU set of logical processors that are physically close to device cudevice. ">hwloc_cuda_get_device_cpuset()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding hwloc PCI device may be found by looking at the result parent pointer. </dd></dl>
+
+</div>
+</div>
+<a id="ga12ee892994ed037e8f64bbffda02cf2e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga12ee892994ed037e8f64bbffda02cf2e">◆ </a></span>hwloc_cuda_get_device_osdev_by_index()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_cuda_get_device_osdev_by_index </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the CUDA device whose index is <code>idx</code>. </p>
+<p>Return the OS device object describing the CUDA device whose index is <code>idx</code>. Return NULL if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the CUDA component must be enabled in the topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object.</dd>
+<dd>
+This function is identical to <a class="el" href="a00181.html#gac0f3eeaf7712919f298097b1a21307b0" title="Get the hwloc OS device object corresponding to the CUDA device whose index is idx. ">hwloc_cudart_get_device_osdev_by_index()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="ga1084285e8ff8b7df91c28917637481c6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1084285e8ff8b7df91c28917637481c6">◆ </a></span>hwloc_cuda_get_device_pci_ids()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cuda_get_device_pci_ids </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">CUdevice </td>
+ <td class="paramname"><em>cudevice</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>domain</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>bus</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>dev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the domain, bus and device IDs of the CUDA device <code>cudevice</code>. </p>
+<p>Device <code>cudevice</code> must match the local machine. </p>
+
+</div>
+</div>
+<a id="ga11fed607fa404e29e8da010f3ec128e4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga11fed607fa404e29e8da010f3ec128e4">◆ </a></span>hwloc_cuda_get_device_pcidev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_cuda_get_device_pcidev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">CUdevice </td>
+ <td class="paramname"><em>cudevice</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc PCI device object corresponding to the CUDA device <code>cudevice</code>. </p>
+<p>Return the PCI device object describing the CUDA device <code>cudevice</code>. Return NULL if there is none.</p>
+<p>Topology <code>topology</code> and device <code>cudevice</code> must match the local machine. I/O devices detection must be enabled in topology <code>topology</code>. The CUDA component is not needed in the topology. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with the CUDA Runtime API</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with the CUDA Runtime API</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gad8b701d9a34923e34bd58defd4c1e704"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00181.html#gad8b701d9a34923e34bd58defd4c1e704">hwloc_cudart_get_device_pci_ids</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, int idx, int *domain, int *bus, int *dev)</td></tr>
+<tr class="separator:gad8b701d9a34923e34bd58defd4c1e704"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga187ca00c6e12800a25151ce331620980"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00181.html#ga187ca00c6e12800a25151ce331620980">hwloc_cudart_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, int idx, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga187ca00c6e12800a25151ce331620980"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaeda4e6efbb36b518b2c286434ad23bb2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00181.html#gaeda4e6efbb36b518b2c286434ad23bb2">hwloc_cudart_get_device_pcidev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, int idx)</td></tr>
+<tr class="separator:gaeda4e6efbb36b518b2c286434ad23bb2"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gac0f3eeaf7712919f298097b1a21307b0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00181.html#gac0f3eeaf7712919f298097b1a21307b0">hwloc_cudart_get_device_osdev_by_index</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned idx)</td></tr>
+<tr class="separator:gac0f3eeaf7712919f298097b1a21307b0"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about CUDA devices when using the CUDA Runtime API. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga187ca00c6e12800a25151ce331620980"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga187ca00c6e12800a25151ce331620980">◆ </a></span>hwloc_cudart_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cudart_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close to device <code>idx</code>. </p>
+<p>Return the CPU set describing the locality of the CUDA device whose index is <code>idx</code>.</p>
+<p>Topology <code>topology</code> and device <code>idx</code> must match the local machine. I/O devices detection and the CUDA component are not needed in the topology.</p>
+<p>The function only returns the locality of the device. If more information about the device is needed, OS objects should be used instead, see <a class="el" href="a00181.html#gac0f3eeaf7712919f298097b1a21307b0" title="Get the hwloc OS device object corresponding to the CUDA device whose index is idx. ">hwloc_cudart_get_device_osdev_by_index()</a>.</p>
+<p>This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset. </p>
+
+</div>
+</div>
+<a id="gac0f3eeaf7712919f298097b1a21307b0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac0f3eeaf7712919f298097b1a21307b0">◆ </a></span>hwloc_cudart_get_device_osdev_by_index()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_cudart_get_device_osdev_by_index </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the CUDA device whose index is <code>idx</code>. </p>
+<p>Return the OS device object describing the CUDA device whose index is <code>idx</code>. Return NULL if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the CUDA component must be enabled in the topology. If not, the locality of the object may still be found using <a class="el" href="a00181.html#ga187ca00c6e12800a25151ce331620980" title="Get the CPU set of logical processors that are physically close to device idx. ">hwloc_cudart_get_device_cpuset()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object.</dd>
+<dd>
+This function is identical to <a class="el" href="a00180.html#ga12ee892994ed037e8f64bbffda02cf2e" title="Get the hwloc OS device object corresponding to the CUDA device whose index is idx. ">hwloc_cuda_get_device_osdev_by_index()</a>. </dd></dl>
+
+</div>
+</div>
+<a id="gad8b701d9a34923e34bd58defd4c1e704"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad8b701d9a34923e34bd58defd4c1e704">◆ </a></span>hwloc_cudart_get_device_pci_ids()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_cudart_get_device_pci_ids </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>domain</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>bus</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>dev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Return the domain, bus and device IDs of the CUDA device whose index is <code>idx</code>. </p>
+<p>Device index <code>idx</code> must match the local machine. </p>
+
+</div>
+</div>
+<a id="gaeda4e6efbb36b518b2c286434ad23bb2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaeda4e6efbb36b518b2c286434ad23bb2">◆ </a></span>hwloc_cudart_get_device_pcidev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_cudart_get_device_pcidev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc PCI device object corresponding to the CUDA device whose index is <code>idx</code>. </p>
+<p>Return the PCI device object describing the CUDA device whose index is <code>idx</code>. Return NULL if there is none.</p>
+<p>Topology <code>topology</code> and device <code>idx</code> must match the local machine. I/O devices detection must be enabled in topology <code>topology</code>. The CUDA component is not needed in the topology. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with the NVIDIA Management Library</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with the NVIDIA Management Library</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga26cf0036d09ec4d7cb692380fac9659d"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00182.html#ga26cf0036d09ec4d7cb692380fac9659d">hwloc_nvml_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, nvmlDevice_t device, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga26cf0036d09ec4d7cb692380fac9659d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacd50fd0e2766ee05bc13234b46714756"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00182.html#gacd50fd0e2766ee05bc13234b46714756">hwloc_nvml_get_device_osdev_by_index</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned idx)</td></tr>
+<tr class="separator:gacd50fd0e2766ee05bc13234b46714756"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaf176159b5760a191871eff23f5a69ee9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00182.html#gaf176159b5760a191871eff23f5a69ee9">hwloc_nvml_get_device_osdev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, nvmlDevice_t device)</td></tr>
+<tr class="separator:gaf176159b5760a191871eff23f5a69ee9"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about devices managed by the NVIDIA Management Library (NVML). </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga26cf0036d09ec4d7cb692380fac9659d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga26cf0036d09ec4d7cb692380fac9659d">◆ </a></span>hwloc_nvml_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_nvml_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">nvmlDevice_t </td>
+ <td class="paramname"><em>device</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close to NVML device <code>device</code>. </p>
+<p>Return the CPU set describing the locality of the NVML device <code>device</code>.</p>
+<p>Topology <code>topology</code> and device <code>device</code> must match the local machine. I/O devices detection and the NVML component are not needed in the topology.</p>
+<p>The function only returns the locality of the device. If more information about the device is needed, OS objects should be used instead, see <a class="el" href="a00182.html#gaf176159b5760a191871eff23f5a69ee9" title="Get the hwloc OS device object corresponding to NVML device device. ">hwloc_nvml_get_device_osdev()</a> and <a class="el" href="a00182.html#gacd50fd0e2766ee05bc13234b46714756" title="Get the hwloc OS device object corresponding to the NVML device whose index is idx. ">hwloc_nvml_get_device_osdev_by_index()</a>.</p>
+<p>This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset. </p>
+
+</div>
+</div>
+<a id="gaf176159b5760a191871eff23f5a69ee9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaf176159b5760a191871eff23f5a69ee9">◆ </a></span>hwloc_nvml_get_device_osdev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_nvml_get_device_osdev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">nvmlDevice_t </td>
+ <td class="paramname"><em>device</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to NVML device <code>device</code>. </p>
+<p>Return the hwloc OS device object that describes the given NVML device <code>device</code>. Return NULL if there is none.</p>
+<p>Topology <code>topology</code> and device <code>device</code> must match the local machine. I/O devices detection and the NVML component must be enabled in the topology. If not, the locality of the object may still be found using <a class="el" href="a00182.html#ga26cf0036d09ec4d7cb692380fac9659d" title="Get the CPU set of logical processors that are physically close to NVML device device. ">hwloc_nvml_get_device_cpuset()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding hwloc PCI device may be found by looking at the result parent pointer. </dd></dl>
+
+</div>
+</div>
+<a id="gacd50fd0e2766ee05bc13234b46714756"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacd50fd0e2766ee05bc13234b46714756">◆ </a></span>hwloc_nvml_get_device_osdev_by_index()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_nvml_get_device_osdev_by_index </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the NVML device whose index is <code>idx</code>. </p>
+<p>Return the OS device object describing the NVML device whose index is <code>idx</code>. Returns NULL if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the NVML component must be enabled in the topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with OpenGL displays</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with OpenGL displays</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga4d66a77e4fe4051d6e5b772c1b8fcec5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00183.html#ga4d66a77e4fe4051d6e5b772c1b8fcec5">hwloc_gl_get_display_osdev_by_port_device</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned port, unsigned device)</td></tr>
+<tr class="separator:ga4d66a77e4fe4051d6e5b772c1b8fcec5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2d36ef441d1dfddf49cfb5c01bd58d8e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00183.html#ga2d36ef441d1dfddf49cfb5c01bd58d8e">hwloc_gl_get_display_osdev_by_name</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const char *name)</td></tr>
+<tr class="separator:ga2d36ef441d1dfddf49cfb5c01bd58d8e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga936665ab5f0d29a081c4b78d11f4ad07"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00183.html#ga936665ab5f0d29a081c4b78d11f4ad07">hwloc_gl_get_display_by_osdev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> osdev, unsigned *port, unsigned *device)</td></tr>
+<tr class="separator:ga936665ab5f0d29a081c4b78d11f4ad07"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about OpenGL displays.</p>
+<p>Only the NVIDIA display locality information is currently available, using the NV-CONTROL X11 extension and the NVCtrl library. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga936665ab5f0d29a081c4b78d11f4ad07"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga936665ab5f0d29a081c4b78d11f4ad07">◆ </a></span>hwloc_gl_get_display_by_osdev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_gl_get_display_by_osdev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>osdev</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned * </td>
+ <td class="paramname"><em>port</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned * </td>
+ <td class="paramname"><em>device</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the OpenGL display port and device corresponding to the given hwloc OS object. </p>
+<p>Return the OpenGL display port (server) in <code>port</code> and device (screen) in <code>screen</code> that correspond to the given hwloc OS device object. Return <code>-1</code> if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology. </p>
+
+</div>
+</div>
+<a id="ga2d36ef441d1dfddf49cfb5c01bd58d8e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2d36ef441d1dfddf49cfb5c01bd58d8e">◆ </a></span>hwloc_gl_get_display_osdev_by_name()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_gl_get_display_osdev_by_name </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>name</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the OpenGL display given by name. </p>
+<p>Return the OS device object describing the OpenGL display whose name is <code>name</code>, built as ":port.device" such as ":0.0" . Return NULL if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object. </dd></dl>
+
+</div>
+</div>
+<a id="ga4d66a77e4fe4051d6e5b772c1b8fcec5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4d66a77e4fe4051d6e5b772c1b8fcec5">◆ </a></span>hwloc_gl_get_display_osdev_by_port_device()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_gl_get_display_osdev_by_port_device </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>port</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>device</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the OpenGL display given by port and device index. </p>
+<p>Return the OS device object describing the OpenGL display whose port (server) is <code>port</code> and device (screen) is <code>device</code>. Return NULL if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with Intel Xeon Phi (MIC)</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with Intel Xeon Phi (MIC)</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga91bafa51abe81527f72437e24ad5944e"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00184.html#ga91bafa51abe81527f72437e24ad5944e">hwloc_intel_mic_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, int idx, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga91bafa51abe81527f72437e24ad5944e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gabce0465e853de74be84cafcb96dd48ab"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00184.html#gabce0465e853de74be84cafcb96dd48ab">hwloc_intel_mic_get_device_osdev_by_index</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned idx)</td></tr>
+<tr class="separator:gabce0465e853de74be84cafcb96dd48ab"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about Intel Xeon Phi (MIC) devices. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga91bafa51abe81527f72437e24ad5944e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga91bafa51abe81527f72437e24ad5944e">◆ </a></span>hwloc_intel_mic_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_intel_mic_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close to MIC device whose index is <code>idx</code>. </p>
+<p>Return the CPU set describing the locality of the MIC device whose index is <code>idx</code>.</p>
+<p>Topology <code>topology</code> and device index <code>idx</code> must match the local machine. I/O devices detection is not needed in the topology.</p>
+<p>The function only returns the locality of the device. If more information about the device is needed, OS objects should be used instead, see <a class="el" href="a00184.html#gabce0465e853de74be84cafcb96dd48ab" title="Get the hwloc OS device object corresponding to the MIC device for the given index. ">hwloc_intel_mic_get_device_osdev_by_index()</a>.</p>
+<p>This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset. </p>
+
+</div>
+</div>
+<a id="gabce0465e853de74be84cafcb96dd48ab"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gabce0465e853de74be84cafcb96dd48ab">◆ </a></span>hwloc_intel_mic_get_device_osdev_by_index()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_intel_mic_get_device_osdev_by_index </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>idx</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the MIC device for the given index. </p>
+<p>Return the OS device object describing the MIC device whose index is <code>idx</code>. Return NULL if there is none.</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection must be enabled in the topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with OpenFabrics</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with OpenFabrics</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga3ea0d838c1e7f1671b35687aae2da6ae"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00185.html#ga3ea0d838c1e7f1671b35687aae2da6ae">hwloc_ibv_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, struct ibv_device *ibdev, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga3ea0d838c1e7f1671b35687aae2da6ae"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga31d794567f4420bbdc8baa7bf8bf6138"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00185.html#ga31d794567f4420bbdc8baa7bf8bf6138">hwloc_ibv_get_device_osdev_by_name</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const char *ibname)</td></tr>
+<tr class="separator:ga31d794567f4420bbdc8baa7bf8bf6138"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga7324cdfd5db6ed2669c051ef7e1b64e1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00185.html#ga7324cdfd5db6ed2669c051ef7e1b64e1">hwloc_ibv_get_device_osdev</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, struct ibv_device *ibdev)</td></tr>
+<tr class="separator:ga7324cdfd5db6ed2669c051ef7e1b64e1"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about OpenFabrics devices (InfiniBand, Omni-Path, usNIC, etc). </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga3ea0d838c1e7f1671b35687aae2da6ae"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3ea0d838c1e7f1671b35687aae2da6ae">◆ </a></span>hwloc_ibv_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_ibv_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct ibv_device * </td>
+ <td class="paramname"><em>ibdev</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close to device <code>ibdev</code>. </p>
+<p>Return the CPU set describing the locality of the OpenFabrics device <code>ibdev</code> (InfiniBand, etc).</p>
+<p>Topology <code>topology</code> and device <code>ibdev</code> must match the local machine. I/O devices detection is not needed in the topology.</p>
+<p>The function only returns the locality of the device. If more information about the device is needed, OS objects should be used instead, see <a class="el" href="a00185.html#ga7324cdfd5db6ed2669c051ef7e1b64e1" title="Get the hwloc OS device object corresponding to the OpenFabrics device ibdev. ">hwloc_ibv_get_device_osdev()</a> and <a class="el" href="a00185.html#ga31d794567f4420bbdc8baa7bf8bf6138" title="Get the hwloc OS device object corresponding to the OpenFabrics device named ibname. ">hwloc_ibv_get_device_osdev_by_name()</a>.</p>
+<p>This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset. </p>
+
+</div>
+</div>
+<a id="ga7324cdfd5db6ed2669c051ef7e1b64e1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga7324cdfd5db6ed2669c051ef7e1b64e1">◆ </a></span>hwloc_ibv_get_device_osdev()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_ibv_get_device_osdev </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct ibv_device * </td>
+ <td class="paramname"><em>ibdev</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the OpenFabrics device <code>ibdev</code>. </p>
+<p>Return the OS device object describing the OpenFabrics device <code>ibdev</code> (InfiniBand, etc). Returns NULL if there is none.</p>
+<p>Topology <code>topology</code> and device <code>ibdev</code> must match the local machine. I/O devices detection must be enabled in the topology. If not, the locality of the object may still be found using <a class="el" href="a00185.html#ga3ea0d838c1e7f1671b35687aae2da6ae" title="Get the CPU set of logical processors that are physically close to device ibdev. ">hwloc_ibv_get_device_cpuset()</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object. </dd></dl>
+
+</div>
+</div>
+<a id="ga31d794567f4420bbdc8baa7bf8bf6138"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga31d794567f4420bbdc8baa7bf8bf6138">◆ </a></span>hwloc_ibv_get_device_osdev_by_name()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> hwloc_ibv_get_device_osdev_by_name </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>ibname</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the hwloc OS device object corresponding to the OpenFabrics device named <code>ibname</code>. </p>
+<p>Return the OS device object describing the OpenFabrics device (InfiniBand, Omni-Path, usNIC, etc) whose name is <code>ibname</code> (mlx5_0, hfi1_0, usnic_0, qib0, etc). Returns NULL if there is none. The name <code>ibname</code> is usually obtained from ibv_get_device_name().</p>
+<p>The topology <code>topology</code> does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection must be enabled in the topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The corresponding PCI device object can be obtained by looking at the OS device parent object. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability with Myrinet Express</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Interoperability with Myrinet Express</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga868dfb8232333858e1e159c62ff9b682"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00186.html#ga868dfb8232333858e1e159c62ff9b682">hwloc_mx_board_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, unsigned id, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga868dfb8232333858e1e159c62ff9b682"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga1d01f76cdd4a408ad01f105deeef3bba"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00186.html#ga1d01f76cdd4a408ad01f105deeef3bba">hwloc_mx_endpoint_get_device_cpuset</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, mx_endpoint_t endpoint, <a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> set)</td></tr>
+<tr class="separator:ga1d01f76cdd4a408ad01f105deeef3bba"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>This interface offers ways to retrieve topology information about Myrinet Express hardware. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga868dfb8232333858e1e159c62ff9b682"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga868dfb8232333858e1e159c62ff9b682">◆ </a></span>hwloc_mx_board_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_mx_board_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>id</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close the MX board <code>id</code>. </p>
+<p>Return the CPU set describing the locality of the Myrinet Express board whose index is <code>id</code>.</p>
+<p>Topology <code>topology</code> and device <code>id</code> must match the local machine. I/O devices detection is not needed in the topology.</p>
+<p>The function only returns the locality of the device. No additional information about the device is available. </p>
+
+</div>
+</div>
+<a id="ga1d01f76cdd4a408ad01f105deeef3bba"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1d01f76cdd4a408ad01f105deeef3bba">◆ </a></span>hwloc_mx_endpoint_get_device_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_mx_endpoint_get_device_cpuset </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">mx_endpoint_t </td>
+ <td class="paramname"><em>endpoint</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td>
+ <td class="paramname"><em>set</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Get the CPU set of logical processors that are physically close the MX endpoint <code>endpoint</code>. </p>
+<p>Return the CPU set describing the locality of the Myrinet Express board that runs the MX endpoint <code>endpoint</code>.</p>
+<p>Topology <code>topology</code> and device <code>id</code> must match the local machine. I/O devices detection is not needed in the topology.</p>
+<p>The function only returns the locality of the endpoint. No additional information about the endpoint or device is available. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Topology differences</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#typedef-members">Typedefs</a> |
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Topology differences</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00268.html">hwloc_topology_diff_obj_attr_u</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00284.html">hwloc_topology_diff_u</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:ga5f2dd099de2cacdc0d0d4858154b971a"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a00187.html#ga86f044210b0a9e9fa83acbdbbf7e05fd">hwloc_topology_diff_obj_attr_type_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a></td></tr>
+<tr class="separator:ga5f2dd099de2cacdc0d0d4858154b971a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga4b86adb00c8b2d09ebc4ef8f3bfd92b2"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a00187.html#ga38b28b7423b85a3321e6d0062d5f83d0">hwloc_topology_diff_type_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a></td></tr>
+<tr class="separator:ga4b86adb00c8b2d09ebc4ef8f3bfd92b2"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga2cf1b17332fe5d95f2198f6340cfd288"><td class="memItemLeft" align="right" valign="top">typedef union <a class="el" href="a00284.html">hwloc_topology_diff_u</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a></td></tr>
+<tr class="separator:ga2cf1b17332fe5d95f2198f6340cfd288"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga86f044210b0a9e9fa83acbdbbf7e05fd"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga86f044210b0a9e9fa83acbdbbf7e05fd">hwloc_topology_diff_obj_attr_type_e</a> { <a class="el" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fdabc7f0c7ed0b6864e902f4b70f2c7bc94">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE</a>,
+<a class="el" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda94a8f37c51d62d15ac6192665dd49310">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME</a>,
+<a class="el" href="a00187.html#gga86f044210b0a9e9fa83acbdbbf7e05fda63430bf932434bc456282f636d39c2c2">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO</a>
+ }</td></tr>
+<tr class="separator:ga86f044210b0a9e9fa83acbdbbf7e05fd"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga38b28b7423b85a3321e6d0062d5f83d0"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga38b28b7423b85a3321e6d0062d5f83d0">hwloc_topology_diff_type_e</a> { <a class="el" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0accbcaee230f79989debb284c8626f0c0">HWLOC_TOPOLOGY_DIFF_OBJ_ATTR</a>,
+<a class="el" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147">HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX</a>
+ }</td></tr>
+<tr class="separator:ga38b28b7423b85a3321e6d0062d5f83d0"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gada4c1273ce020afaf02b649496f7edf5"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#gada4c1273ce020afaf02b649496f7edf5">hwloc_topology_diff_apply_flags_e</a> { <a class="el" href="a00187.html#ggada4c1273ce020afaf02b649496f7edf5a821a160512d67ea0dd05dab873d2fc54">HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE</a>
+ }</td></tr>
+<tr class="separator:gada4c1273ce020afaf02b649496f7edf5"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga8a1754f69fbb31364ea3ea2c39827c9f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga8a1754f69fbb31364ea3ea2c39827c9f">hwloc_topology_diff_build</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> newtopology, unsigned long flags, <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> *diff)</td></tr>
+<tr class="separator:ga8a1754f69fbb31364ea3ea2c39827c9f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gae7b350d7e7478a4c6047b08aa6544f40"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#gae7b350d7e7478a4c6047b08aa6544f40">hwloc_topology_diff_apply</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> diff, unsigned long flags)</td></tr>
+<tr class="separator:gae7b350d7e7478a4c6047b08aa6544f40"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab531db0e4ca3e590d48358c90f59c197"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#gab531db0e4ca3e590d48358c90f59c197">hwloc_topology_diff_destroy</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> diff)</td></tr>
+<tr class="separator:gab531db0e4ca3e590d48358c90f59c197"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gae82a885a377aff78936c5f175b5980f8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#gae82a885a377aff78936c5f175b5980f8">hwloc_topology_diff_load_xml</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const char *xmlpath, <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> *diff, char **refname)</td></tr>
+<tr class="separator:gae82a885a377aff78936c5f175b5980f8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gacceb7e97b5689d0405db618bb5541012"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#gacceb7e97b5689d0405db618bb5541012">hwloc_topology_diff_export_xml</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> diff, const char *refname, const char *xmlpath)</td></tr>
+<tr class="separator:gacceb7e97b5689d0405db618bb5541012"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga09afc24f1c9860465ec352c4ac518dd4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga09afc24f1c9860465ec352c4ac518dd4">hwloc_topology_diff_load_xmlbuffer</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, const char *xmlbuffer, int buflen, <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> *diff, char **refname)</td></tr>
+<tr class="separator:ga09afc24f1c9860465ec352c4ac518dd4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga88e72855746c81e2341580fa8d619a51"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00187.html#ga88e72855746c81e2341580fa8d619a51">hwloc_topology_diff_export_xmlbuffer</a> (<a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> diff, const char *refname, char **xmlbuffer, int *buflen)</td></tr>
+<tr class="separator:ga88e72855746c81e2341580fa8d619a51"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>Applications that manipulate many similar topologies, for instance one for each node of a homogeneous cluster, may want to compress topologies to reduce the memory footprint.</p>
+<p>This file offers a way to manipulate the difference between topologies and export/import it to/from XML. Compression may therefore be achieved by storing one topology entirely while the others are only described by their differences with the former. The actual topology can be reconstructed when actually needed by applying the precomputed difference to the reference topology.</p>
+<p>This interface targets very similar nodes. Only very simple differences between topologies are actually supported, for instance a change in the memory size, the name of the object, or some info attribute. More complex differences such as adding or removing objects cannot be represented in the difference structures and therefore return errors. Differences between object sets cannot be represented either.</p>
+<p>It means that there is no need to apply the difference when looking at the tree organization (how many levels, how many objects per level, what kind of objects, CPU and node sets, etc) and when binding to objects. However the difference must be applied when looking at object attributes such as the name, the memory size or info attributes. </p>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga5f2dd099de2cacdc0d0d4858154b971a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5f2dd099de2cacdc0d0d4858154b971a">◆ </a></span>hwloc_topology_diff_obj_attr_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef enum <a class="el" href="a00187.html#ga86f044210b0a9e9fa83acbdbbf7e05fd">hwloc_topology_diff_obj_attr_type_e</a> <a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of one object attribute difference. </p>
+
+</div>
+</div>
+<a id="ga2cf1b17332fe5d95f2198f6340cfd288"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2cf1b17332fe5d95f2198f6340cfd288">◆ </a></span>hwloc_topology_diff_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef union <a class="el" href="a00284.html">hwloc_topology_diff_u</a> * <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>One element of a difference list between two topologies. </p>
+
+</div>
+</div>
+<a id="ga4b86adb00c8b2d09ebc4ef8f3bfd92b2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">◆ </a></span>hwloc_topology_diff_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef enum <a class="el" href="a00187.html#ga38b28b7423b85a3321e6d0062d5f83d0">hwloc_topology_diff_type_e</a> <a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of one element of a difference list. </p>
+
+</div>
+</div>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="gada4c1273ce020afaf02b649496f7edf5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gada4c1273ce020afaf02b649496f7edf5">◆ </a></span>hwloc_topology_diff_apply_flags_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00187.html#gada4c1273ce020afaf02b649496f7edf5">hwloc_topology_diff_apply_flags_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Flags to be given to <a class="el" href="a00187.html#gae7b350d7e7478a4c6047b08aa6544f40" title="Apply a topology diff to an existing topology. ">hwloc_topology_diff_apply()</a>. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggada4c1273ce020afaf02b649496f7edf5a821a160512d67ea0dd05dab873d2fc54"></a>HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE </td><td class="fielddoc"><p>Apply topology diff in reverse direction. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<a id="ga86f044210b0a9e9fa83acbdbbf7e05fd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga86f044210b0a9e9fa83acbdbbf7e05fd">◆ </a></span>hwloc_topology_diff_obj_attr_type_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00187.html#ga86f044210b0a9e9fa83acbdbbf7e05fd">hwloc_topology_diff_obj_attr_type_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of one object attribute difference. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga86f044210b0a9e9fa83acbdbbf7e05fdabc7f0c7ed0b6864e902f4b70f2c7bc94"></a>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE </td><td class="fielddoc"><p>The object local memory is modified. The union is a <a class="el" href="a00276.html" title="Integer attribute modification with an optional index. ">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a> (and the index field is ignored). </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga86f044210b0a9e9fa83acbdbbf7e05fda94a8f37c51d62d15ac6192665dd49310"></a>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME </td><td class="fielddoc"><p>The object name is modified. The union is a <a class="el" href="a00280.html" title="String attribute modification with an optional name. ">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a> (and the name field is ignored). </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga86f044210b0a9e9fa83acbdbbf7e05fda63430bf932434bc456282f636d39c2c2"></a>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO </td><td class="fielddoc"><p>the value of an info attribute is modified. The union is a <a class="el" href="a00280.html" title="String attribute modification with an optional name. ">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<a id="ga38b28b7423b85a3321e6d0062d5f83d0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga38b28b7423b85a3321e6d0062d5f83d0">◆ </a></span>hwloc_topology_diff_type_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00187.html#ga38b28b7423b85a3321e6d0062d5f83d0">hwloc_topology_diff_type_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of one element of a difference list. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga38b28b7423b85a3321e6d0062d5f83d0accbcaee230f79989debb284c8626f0c0"></a>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR </td><td class="fielddoc"><p>An object attribute was changed. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_s. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147"></a>HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX </td><td class="fielddoc"><p>The difference is too complex, it cannot be represented. The difference below this object has not been checked. <a class="el" href="a00187.html#ga8a1754f69fbb31364ea3ea2c39827c9f" title="Compute the difference between 2 topologies. ">hwloc_topology_diff_build()</a> will return 1. </p>
+<p>The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_too_complex_s. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gae7b350d7e7478a4c6047b08aa6544f40"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae7b350d7e7478a4c6047b08aa6544f40">◆ </a></span>hwloc_topology_diff_apply()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_diff_apply </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> </td>
+ <td class="paramname"><em>diff</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>flags</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Apply a topology diff to an existing topology. </p>
+<p><code>flags</code> is an OR'ed set of <a class="el" href="a00187.html#gada4c1273ce020afaf02b649496f7edf5" title="Flags to be given to hwloc_topology_diff_apply(). ">hwloc_topology_diff_apply_flags_e</a>.</p>
+<p>The new topology is modified in place. <a class="el" href="a00153.html#ga62a161fc5e6f120344dc69a7bee4e587" title="Duplicate a topology. ">hwloc_topology_dup()</a> may be used to duplicate it before patching.</p>
+<p>If the difference cannot be applied entirely, all previous applied elements are unapplied before returning.</p>
+<dl class="section return"><dt>Returns</dt><dd>0 on success.</dd>
+<dd>
+-N if applying the difference failed while trying to apply the N-th part of the difference. For instance -1 is returned if the very first difference element could not be applied. </dd></dl>
+
+</div>
+</div>
+<a id="ga8a1754f69fbb31364ea3ea2c39827c9f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga8a1754f69fbb31364ea3ea2c39827c9f">◆ </a></span>hwloc_topology_diff_build()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_diff_build </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>newtopology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned long </td>
+ <td class="paramname"><em>flags</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> * </td>
+ <td class="paramname"><em>diff</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Compute the difference between 2 topologies. </p>
+<p>The difference is stored as a list of <a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288" title="One element of a difference list between two topologies. ">hwloc_topology_diff_t</a> entries starting at <code>diff</code>. It is computed by doing a depth-first traversal of both topology trees simultaneously.</p>
+<p>If the difference between 2 objects is too complex to be represented (for instance if some objects have different types, or different numbers of children), a special diff entry of type <a class="el" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147" title="The difference is too complex, it cannot be represented. The difference below this object has not bee...">HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX</a> is queued. The computation of the diff does not continue below these objects. So each such diff entry means that the difference between two subtrees could not be computed.</p>
+<dl class="section return"><dt>Returns</dt><dd>0 if the difference can be represented properly.</dd>
+<dd>
+0 with <code>diff</code> pointing to NULL if there is no difference between the topologies.</dd>
+<dd>
+1 if the difference is too complex (see above). Some entries in the list will be of type <a class="el" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147" title="The difference is too complex, it cannot be represented. The difference below this object has not bee...">HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX</a>.</dd>
+<dd>
+-1 on any other error.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd><code>flags</code> is currently not used. It should be 0.</dd>
+<dd>
+The output diff has to be freed with <a class="el" href="a00187.html#gab531db0e4ca3e590d48358c90f59c197" title="Destroy a list of topology differences. ">hwloc_topology_diff_destroy()</a>.</dd>
+<dd>
+The output diff can only be exported to XML or passed to <a class="el" href="a00187.html#gae7b350d7e7478a4c6047b08aa6544f40" title="Apply a topology diff to an existing topology. ">hwloc_topology_diff_apply()</a> if 0 was returned, i.e. if no entry of type <a class="el" href="a00187.html#gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147" title="The difference is too complex, it cannot be represented. The difference below this object has not bee...">HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX</a> is listed.</dd>
+<dd>
+The output diff may be modified by removing some entries from the list. The removed entries should be freed by passing them to to <a class="el" href="a00187.html#gab531db0e4ca3e590d48358c90f59c197" title="Destroy a list of topology differences. ">hwloc_topology_diff_destroy()</a> (possible as another list). </dd></dl>
+
+</div>
+</div>
+<a id="gab531db0e4ca3e590d48358c90f59c197"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab531db0e4ca3e590d48358c90f59c197">◆ </a></span>hwloc_topology_diff_destroy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_diff_destroy </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> </td>
+ <td class="paramname"><em>diff</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Destroy a list of topology differences. </p>
+<dl class="section note"><dt>Note</dt><dd>The <code>topology</code> parameter must be a valid topology but it is not required that it is related to <code>diff</code>. </dd></dl>
+
+</div>
+</div>
+<a id="gacceb7e97b5689d0405db618bb5541012"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gacceb7e97b5689d0405db618bb5541012">◆ </a></span>hwloc_topology_diff_export_xml()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_diff_export_xml </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> </td>
+ <td class="paramname"><em>diff</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>refname</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>xmlpath</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Export a list of topology differences to a XML file. </p>
+<p>If not <code>NULL</code>, <code>refname</code> defines an identifier string for the reference topology which was used as a base when computing this difference. This identifier is usually the name of the other XML file that contains the reference topology. This attribute is given back when reading the diff from XML.</p>
+<dl class="section note"><dt>Note</dt><dd>The <code>topology</code> parameter must be a valid topology but it is not required that it is related to <code>diff</code>. </dd></dl>
+
+</div>
+</div>
+<a id="ga88e72855746c81e2341580fa8d619a51"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga88e72855746c81e2341580fa8d619a51">◆ </a></span>hwloc_topology_diff_export_xmlbuffer()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_diff_export_xmlbuffer </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> </td>
+ <td class="paramname"><em>diff</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>refname</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char ** </td>
+ <td class="paramname"><em>xmlbuffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int * </td>
+ <td class="paramname"><em>buflen</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Export a list of topology differences to a XML buffer. </p>
+<p>If not <code>NULL</code>, <code>refname</code> defines an identifier string for the reference topology which was used as a base when computing this difference. This identifier is usually the name of the other XML file that contains the reference topology. This attribute is given back when reading the diff from XML.</p>
+<p>The returned buffer ends with a \0 that is included in the returned length.</p>
+<dl class="section note"><dt>Note</dt><dd>The XML buffer should later be freed with <a class="el" href="a00162.html#ga293e4a6489f15fd16ad22a5734561cf1" title="Free a buffer allocated by hwloc_topology_export_xmlbuffer() ">hwloc_free_xmlbuffer()</a>.</dd>
+<dd>
+The <code>topology</code> parameter must be a valid topology but it is not required that it is related to <code>diff</code>. </dd></dl>
+
+</div>
+</div>
+<a id="gae82a885a377aff78936c5f175b5980f8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae82a885a377aff78936c5f175b5980f8">◆ </a></span>hwloc_topology_diff_load_xml()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_diff_load_xml </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>xmlpath</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> * </td>
+ <td class="paramname"><em>diff</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char ** </td>
+ <td class="paramname"><em>refname</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Load a list of topology differences from a XML file. </p>
+<p>If not <code>NULL</code>, <code>refname</code> will be filled with the identifier string of the reference topology for the difference file, if any was specified in the XML file. This identifier is usually the name of the other XML file that contains the reference topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The <code>topology</code> parameter must be a valid topology but it is not required that it is related to <code>diff</code>.</dd>
+<dd>
+the pointer returned in refname should later be freed by the caller. </dd></dl>
+
+</div>
+</div>
+<a id="ga09afc24f1c9860465ec352c4ac518dd4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga09afc24f1c9860465ec352c4ac518dd4">◆ </a></span>hwloc_topology_diff_load_xmlbuffer()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_topology_diff_load_xmlbuffer </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>xmlbuffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>buflen</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00187.html#ga2cf1b17332fe5d95f2198f6340cfd288">hwloc_topology_diff_t</a> * </td>
+ <td class="paramname"><em>diff</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">char ** </td>
+ <td class="paramname"><em>refname</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Load a list of topology differences from a XML buffer. </p>
+<p>If not <code>NULL</code>, <code>refname</code> will be filled with the identifier string of the reference topology for the difference file, if any was specified in the XML file. This identifier is usually the name of the other XML file that contains the reference topology.</p>
+<dl class="section note"><dt>Note</dt><dd>The <code>topology</code> parameter must be a valid topology but it is not required that it is related to <code>diff</code>.</dd>
+<dd>
+the pointer returned in refname should later be freed by the caller. </dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Components and Plugins: Discovery components</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#typedef-members">Typedefs</a> |
+<a href="#enum-members">Enumerations</a> </div>
+ <div class="headertitle">
+<div class="title">Components and Plugins: Discovery components</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00300.html">hwloc_disc_component</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:ga5c6112c1a7497e5f481b9634059d47b1"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a00188.html#ga0dceb95fada01e5e4558429912053ca7">hwloc_disc_component_type_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00188.html#ga5c6112c1a7497e5f481b9634059d47b1">hwloc_disc_component_type_t</a></td></tr>
+<tr class="separator:ga5c6112c1a7497e5f481b9634059d47b1"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga0dceb95fada01e5e4558429912053ca7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00188.html#ga0dceb95fada01e5e4558429912053ca7">hwloc_disc_component_type_e</a> { <a class="el" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aa09e6a39b61eda5364eada626da88ecc">HWLOC_DISC_COMPONENT_TYPE_CPU</a>,
+<a class="el" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7a7d7e7114cca4165eee72efb9b39b3d6d">HWLOC_DISC_COMPONENT_TYPE_GLOBAL</a>,
+<a class="el" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7">HWLOC_DISC_COMPONENT_TYPE_MISC</a>
+ }</td></tr>
+<tr class="separator:ga0dceb95fada01e5e4558429912053ca7"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga5c6112c1a7497e5f481b9634059d47b1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5c6112c1a7497e5f481b9634059d47b1">◆ </a></span>hwloc_disc_component_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef enum <a class="el" href="a00188.html#ga0dceb95fada01e5e4558429912053ca7">hwloc_disc_component_type_e</a> <a class="el" href="a00188.html#ga5c6112c1a7497e5f481b9634059d47b1">hwloc_disc_component_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Discovery component type. </p>
+
+</div>
+</div>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga0dceb95fada01e5e4558429912053ca7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0dceb95fada01e5e4558429912053ca7">◆ </a></span>hwloc_disc_component_type_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00188.html#ga0dceb95fada01e5e4558429912053ca7">hwloc_disc_component_type_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Discovery component type. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga0dceb95fada01e5e4558429912053ca7aa09e6a39b61eda5364eada626da88ecc"></a>HWLOC_DISC_COMPONENT_TYPE_CPU </td><td class="fielddoc"><p>CPU-only discovery through the OS, or generic no-OS support. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga0dceb95fada01e5e4558429912053ca7a7d7e7114cca4165eee72efb9b39b3d6d"></a>HWLOC_DISC_COMPONENT_TYPE_GLOBAL </td><td class="fielddoc"><p>xml, synthetic or custom, platform-specific components such as bgq. Anything the discovers CPU and everything else. No misc backend is expected to complement a global component. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7"></a>HWLOC_DISC_COMPONENT_TYPE_MISC </td><td class="fielddoc"><p>OpenCL, Cuda, etc. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Components and Plugins: Discovery backends</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#enum-members">Enumerations</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Components and Plugins: Discovery backends</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html">hwloc_backend</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga21513209613570877b6bfa9898106f2a"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga21513209613570877b6bfa9898106f2a">hwloc_backend_flag_e</a> { <a class="el" href="a00189.html#gga21513209613570877b6bfa9898106f2aadc96f2cf3bdd5d41e102dfa1e1976b24">HWLOC_BACKEND_FLAG_NEED_LEVELS</a>
+ }</td></tr>
+<tr class="separator:ga21513209613570877b6bfa9898106f2a"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga330a0b581de4817d0cf1e7401db22436"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00304.html">hwloc_backend</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga330a0b581de4817d0cf1e7401db22436">hwloc_backend_alloc</a> (struct <a class="el" href="a00300.html">hwloc_disc_component</a> *component)</td></tr>
+<tr class="separator:ga330a0b581de4817d0cf1e7401db22436"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gaa4edf46c5d88eef53b3b8f572d88b9c5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#gaa4edf46c5d88eef53b3b8f572d88b9c5">hwloc_backend_enable</a> (struct hwloc_topology *topology, struct <a class="el" href="a00304.html">hwloc_backend</a> *backend)</td></tr>
+<tr class="separator:gaa4edf46c5d88eef53b3b8f572d88b9c5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga505a5470745bf0b601f4d25a69601411"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga505a5470745bf0b601f4d25a69601411">hwloc_backends_get_obj_cpuset</a> (struct <a class="el" href="a00304.html">hwloc_backend</a> *caller, struct <a class="el" href="a00204.html">hwloc_obj</a> *obj, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> cpuset)</td></tr>
+<tr class="separator:ga505a5470745bf0b601f4d25a69601411"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gad8ac8bba9ab6b9af423baba0c8337c6b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#gad8ac8bba9ab6b9af423baba0c8337c6b">hwloc_backends_notify_new_object</a> (struct <a class="el" href="a00304.html">hwloc_backend</a> *caller, struct <a class="el" href="a00204.html">hwloc_obj</a> *obj)</td></tr>
+<tr class="separator:gad8ac8bba9ab6b9af423baba0c8337c6b"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga21513209613570877b6bfa9898106f2a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga21513209613570877b6bfa9898106f2a">◆ </a></span>hwloc_backend_flag_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00189.html#ga21513209613570877b6bfa9898106f2a">hwloc_backend_flag_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Backend flags. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga21513209613570877b6bfa9898106f2aadc96f2cf3bdd5d41e102dfa1e1976b24"></a>HWLOC_BACKEND_FLAG_NEED_LEVELS </td><td class="fielddoc"><p>Levels should be reconnected before this backend discover() is used. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga330a0b581de4817d0cf1e7401db22436"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga330a0b581de4817d0cf1e7401db22436">◆ </a></span>hwloc_backend_alloc()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00304.html">hwloc_backend</a>* hwloc_backend_alloc </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="a00300.html">hwloc_disc_component</a> * </td>
+ <td class="paramname"><em>component</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Allocate a backend structure, set good default values, initialize backend->component and topology, etc. The caller will then modify whatever needed, and call <a class="el" href="a00189.html#gaa4edf46c5d88eef53b3b8f572d88b9c5" title="Enable a previously allocated and setup backend. ">hwloc_backend_enable()</a>. </p>
+
+</div>
+</div>
+<a id="gaa4edf46c5d88eef53b3b8f572d88b9c5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gaa4edf46c5d88eef53b3b8f572d88b9c5">◆ </a></span>hwloc_backend_enable()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_backend_enable </td>
+ <td>(</td>
+ <td class="paramtype">struct hwloc_topology * </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="a00304.html">hwloc_backend</a> * </td>
+ <td class="paramname"><em>backend</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Enable a previously allocated and setup backend. </p>
+
+</div>
+</div>
+<a id="ga505a5470745bf0b601f4d25a69601411"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga505a5470745bf0b601f4d25a69601411">◆ </a></span>hwloc_backends_get_obj_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_backends_get_obj_cpuset </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="a00304.html">hwloc_backend</a> * </td>
+ <td class="paramname"><em>caller</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> </td>
+ <td class="paramname"><em>cpuset</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Used by backends discovery callbacks to request locality information from others. </p>
+<p>Traverse the list of enabled backends until one has a get_obj_cpuset() method, and call it. </p>
+
+</div>
+</div>
+<a id="gad8ac8bba9ab6b9af423baba0c8337c6b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad8ac8bba9ab6b9af423baba0c8337c6b">◆ </a></span>hwloc_backends_notify_new_object()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_backends_notify_new_object </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="a00304.html">hwloc_backend</a> * </td>
+ <td class="paramname"><em>caller</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td>
+ <td class="paramname"><em>obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Used by backends discovery callbacks to notify other backends of new objects. </p>
+<p>Traverse the list of enabled backends (all but caller) and invoke their notify_new_object() method to notify them that a new object just got added to the topology.</p>
+<p>Currently only used for notifying of new PCI device objects. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Components and Plugins: Generic components</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#typedef-members">Typedefs</a> |
+<a href="#enum-members">Enumerations</a> </div>
+ <div class="headertitle">
+<div class="title">Components and Plugins: Generic components</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00308.html">hwloc_component</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:ga0aebfa65317af10bb18d7d35f6dc05b8"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a00190.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00190.html#ga0aebfa65317af10bb18d7d35f6dc05b8">hwloc_component_type_t</a></td></tr>
+<tr class="separator:ga0aebfa65317af10bb18d7d35f6dc05b8"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
+Enumerations</h2></td></tr>
+<tr class="memitem:ga397a1bf7d21dd073320ad0045340f463"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00190.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a> { <a class="el" href="a00190.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900">HWLOC_COMPONENT_TYPE_DISC</a>,
+<a class="el" href="a00190.html#gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd">HWLOC_COMPONENT_TYPE_XML</a>
+ }</td></tr>
+<tr class="separator:ga397a1bf7d21dd073320ad0045340f463"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga0aebfa65317af10bb18d7d35f6dc05b8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0aebfa65317af10bb18d7d35f6dc05b8">◆ </a></span>hwloc_component_type_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef enum <a class="el" href="a00190.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a> <a class="el" href="a00190.html#ga0aebfa65317af10bb18d7d35f6dc05b8">hwloc_component_type_t</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Generic component type. </p>
+
+</div>
+</div>
+<h2 class="groupheader">Enumeration Type Documentation</h2>
+<a id="ga397a1bf7d21dd073320ad0045340f463"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga397a1bf7d21dd073320ad0045340f463">◆ </a></span>hwloc_component_type_e</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">enum <a class="el" href="a00190.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Generic component type. </p>
+<table class="fieldtable">
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900"></a>HWLOC_COMPONENT_TYPE_DISC </td><td class="fielddoc"><p>The data field must point to a struct <a class="el" href="a00300.html" title="Discovery component structure. ">hwloc_disc_component</a>. </p>
+</td></tr>
+<tr><td class="fieldname"><a id="gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd"></a>HWLOC_COMPONENT_TYPE_XML </td><td class="fielddoc"><p>The data field must point to a struct hwloc_xml_component. </p>
+</td></tr>
+</table>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Components and Plugins: Core functions to be used by components</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#typedef-members">Typedefs</a> |
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Components and Plugins: Core functions to be used by components</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:ga1ac8191022b0d3b1bf0070e11d1f1155"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#ga1ac8191022b0d3b1bf0070e11d1f1155">hwloc_report_error_t</a>) (const char *msg, int line)</td></tr>
+<tr class="separator:ga1ac8191022b0d3b1bf0070e11d1f1155"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:gafd853fd67e12c32916201d8303ef39d2"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#gafd853fd67e12c32916201d8303ef39d2">hwloc_insert_object_by_cpuset</a> (struct hwloc_topology *topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr>
+<tr class="separator:gafd853fd67e12c32916201d8303ef39d2"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga3ae154590328522a864f4a7fb453b562"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#ga3ae154590328522a864f4a7fb453b562">hwloc_report_os_error</a> (const char *msg, int line)</td></tr>
+<tr class="separator:ga3ae154590328522a864f4a7fb453b562"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gab527c1e0f243f057d31a724794ad9f88"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#gab527c1e0f243f057d31a724794ad9f88">hwloc_hide_errors</a> (void)</td></tr>
+<tr class="separator:gab527c1e0f243f057d31a724794ad9f88"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga56d4e5fec377bf09f136b4e8e280e30f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#ga56d4e5fec377bf09f136b4e8e280e30f">hwloc__insert_object_by_cpuset</a> (struct hwloc_topology *topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, <a class="el" href="a00191.html#ga1ac8191022b0d3b1bf0070e11d1f1155">hwloc_report_error_t</a> report_error)</td></tr>
+<tr class="separator:ga56d4e5fec377bf09f136b4e8e280e30f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga0ef97debde503b56367689b07bb3e901"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#ga0ef97debde503b56367689b07bb3e901">hwloc_insert_object_by_parent</a> (struct hwloc_topology *topology, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> parent, <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr>
+<tr class="separator:ga0ef97debde503b56367689b07bb3e901"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga64d210fcfd7e517095319420bf40ed0a"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#ga64d210fcfd7e517095319420bf40ed0a">hwloc_alloc_setup_object</a> (<a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, signed os_index)</td></tr>
+<tr class="separator:ga64d210fcfd7e517095319420bf40ed0a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gabb240e5b856a34963078ccec9a785ac1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#gabb240e5b856a34963078ccec9a785ac1">hwloc_fill_object_sets</a> (<a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr>
+<tr class="separator:gabb240e5b856a34963078ccec9a785ac1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:gac2eaed287bb215cf0bd33014e9e1d374"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00191.html#gac2eaed287bb215cf0bd33014e9e1d374">hwloc_plugin_check_namespace</a> (const char *pluginname, const char *symbol)</td></tr>
+<tr class="separator:gac2eaed287bb215cf0bd33014e9e1d374"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Typedef Documentation</h2>
+<a id="ga1ac8191022b0d3b1bf0070e11d1f1155"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1ac8191022b0d3b1bf0070e11d1f1155">◆ </a></span>hwloc_report_error_t</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">typedef void(* hwloc_report_error_t) (const char *msg, int line)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of error callbacks during object insertion. </p>
+
+</div>
+</div>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga56d4e5fec377bf09f136b4e8e280e30f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga56d4e5fec377bf09f136b4e8e280e30f">◆ </a></span>hwloc__insert_object_by_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc__insert_object_by_cpuset </td>
+ <td>(</td>
+ <td class="paramtype">struct hwloc_topology * </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00191.html#ga1ac8191022b0d3b1bf0070e11d1f1155">hwloc_report_error_t</a> </td>
+ <td class="paramname"><em>report_error</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Add an object to the topology and specify which error callback to use. </p>
+<p>Aside from the error callback selection, this function is identical to <a class="el" href="a00191.html#gafd853fd67e12c32916201d8303ef39d2" title="Add an object to the topology. ">hwloc_insert_object_by_cpuset()</a> </p>
+
+</div>
+</div>
+<a id="ga64d210fcfd7e517095319420bf40ed0a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga64d210fcfd7e517095319420bf40ed0a">◆ </a></span>hwloc_alloc_setup_object()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_alloc_setup_object </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td>
+ <td class="paramname"><em>type</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">signed </td>
+ <td class="paramname"><em>os_index</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Allocate and initialize an object of the given type and physical index. </p>
+
+</div>
+</div>
+<a id="gabb240e5b856a34963078ccec9a785ac1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gabb240e5b856a34963078ccec9a785ac1">◆ </a></span>hwloc_fill_object_sets()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_fill_object_sets </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Setup object cpusets/nodesets by OR'ing its children. </p>
+<p>Used when adding an object late in the topology, after propagating sets up and down. The caller should use this after inserting by cpuset (which means the cpusets is already OK). Typical case: PCI backend adding a hostbridge parent. </p>
+
+</div>
+</div>
+<a id="gab527c1e0f243f057d31a724794ad9f88"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab527c1e0f243f057d31a724794ad9f88">◆ </a></span>hwloc_hide_errors()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_hide_errors </td>
+ <td>(</td>
+ <td class="paramtype">void </td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Check whether insertion errors are hidden. </p>
+
+</div>
+</div>
+<a id="gafd853fd67e12c32916201d8303ef39d2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafd853fd67e12c32916201d8303ef39d2">◆ </a></span>hwloc_insert_object_by_cpuset()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_insert_object_by_cpuset </td>
+ <td>(</td>
+ <td class="paramtype">struct hwloc_topology * </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Add an object to the topology. </p>
+<p>It is sorted along the tree of other objects according to the inclusion of cpusets, to eventually be added as a child of the smallest object including this object.</p>
+<p>If the cpuset is empty, the type of the object (and maybe some attributes) must be enough to find where to insert the object. This is especially true for NUMA nodes with memory and no CPUs.</p>
+<p>The given object should not have children.</p>
+<p>This shall only be called before levels are built.</p>
+<p>In case of error, <a class="el" href="a00191.html#ga3ae154590328522a864f4a7fb453b562" title="Report an insertion error from a backend. ">hwloc_report_os_error()</a> is called.</p>
+<p>Returns the object on success. Returns NULL and frees obj on error. Returns another object and frees obj if it was merged with an identical pre-existing object. </p>
+
+</div>
+</div>
+<a id="ga0ef97debde503b56367689b07bb3e901"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga0ef97debde503b56367689b07bb3e901">◆ </a></span>hwloc_insert_object_by_parent()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_insert_object_by_parent </td>
+ <td>(</td>
+ <td class="paramtype">struct hwloc_topology * </td>
+ <td class="paramname"><em>topology</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>parent</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Insert an object somewhere in the topology. </p>
+<p>It is added as the last child of the given parent. The cpuset is completely ignored, so strange objects such as I/O devices should preferably be inserted with this.</p>
+<p>When used for "normal" children with cpusets (when importing from XML when duplicating a topology), the caller should make sure children are inserted in order.</p>
+<p>The given object may have children.</p>
+<p>Remember to call topology_connect() afterwards to fix handy pointers. </p>
+
+</div>
+</div>
+<a id="gac2eaed287bb215cf0bd33014e9e1d374"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac2eaed287bb215cf0bd33014e9e1d374">◆ </a></span>hwloc_plugin_check_namespace()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static int hwloc_plugin_check_namespace </td>
+ <td>(</td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>pluginname</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>symbol</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Make sure that plugins can lookup core symbols. </p>
+<p>This is a sanity check to avoid lazy-lookup failures when libhwloc is loaded within a plugin, and later tries to load its own plugins. This may fail (and abort the program) if libhwloc symbols are in a private namespace.</p>
+<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd>
+<dd>
+-1 if the plugin cannot be successfully loaded. The caller plugin init() callback should return a negative error code as well.</dd></dl>
+<p>Plugins should call this function in their init() callback to avoid later crashes if lazy symbol resolution is used by the upper layer that loaded hwloc (e.g. OpenCL implementations using dlopen with RTLD_LAZY).</p>
+<dl class="section note"><dt>Note</dt><dd>The build system must define HWLOC_INSIDE_PLUGIN if and only if building the caller as a plugin.</dd>
+<dd>
+This function should remain inline so plugins can call it even when they cannot find libhwloc symbols. </dd></dl>
+
+</div>
+</div>
+<a id="ga3ae154590328522a864f4a7fb453b562"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3ae154590328522a864f4a7fb453b562">◆ </a></span>hwloc_report_os_error()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void hwloc_report_os_error </td>
+ <td>(</td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>msg</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">int </td>
+ <td class="paramname"><em>line</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Report an insertion error from a backend. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Components and Plugins: PCI functions to be used by components</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">Components and Plugins: PCI functions to be used by components</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga2ea3e9c02eabd8c5768745c8a99d7fed"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00192.html#ga2ea3e9c02eabd8c5768745c8a99d7fed">hwloc_insert_pci_device_list</a> (struct <a class="el" href="a00304.html">hwloc_backend</a> *backend, struct <a class="el" href="a00204.html">hwloc_obj</a> *first_obj)</td></tr>
+<tr class="separator:ga2ea3e9c02eabd8c5768745c8a99d7fed"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga4bed8bd79337d4bc84b884a6ccd14f16"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00192.html#ga4bed8bd79337d4bc84b884a6ccd14f16">hwloc_pci_find_cap</a> (const unsigned char *config, unsigned cap)</td></tr>
+<tr class="separator:ga4bed8bd79337d4bc84b884a6ccd14f16"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga749e75eeea108be0608fcba7c113f736"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00192.html#ga749e75eeea108be0608fcba7c113f736">hwloc_pci_find_linkspeed</a> (const unsigned char *config, unsigned offset, float *linkspeed)</td></tr>
+<tr class="separator:ga749e75eeea108be0608fcba7c113f736"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ga80fa1e3d882b5c2225dd6dd01e098ad0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00192.html#ga80fa1e3d882b5c2225dd6dd01e098ad0">hwloc_pci_prepare_bridge</a> (<a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, const unsigned char *config)</td></tr>
+<tr class="separator:ga80fa1e3d882b5c2225dd6dd01e098ad0"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="ga2ea3e9c02eabd8c5768745c8a99d7fed"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2ea3e9c02eabd8c5768745c8a99d7fed">◆ </a></span>hwloc_insert_pci_device_list()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_insert_pci_device_list </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="a00304.html">hwloc_backend</a> * </td>
+ <td class="paramname"><em>backend</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td>
+ <td class="paramname"><em>first_obj</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Insert a list of PCI devices and bridges in the backend topology. </p>
+<p>Insert a list of objects (either PCI device or bridges) starting at first_obj (linked by next_sibling in the topology, and ending with NULL). Objects are placed under the right bridges, and the remaining upstream bridges are then inserted in the topology by calling the get_obj_cpuset() callback to find their locality. </p>
+
+</div>
+</div>
+<a id="ga4bed8bd79337d4bc84b884a6ccd14f16"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga4bed8bd79337d4bc84b884a6ccd14f16">◆ </a></span>hwloc_pci_find_cap()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_pci_find_cap </td>
+ <td>(</td>
+ <td class="paramtype">const unsigned char * </td>
+ <td class="paramname"><em>config</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>cap</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Return the offset of the given capability in the PCI config space buffer. </p>
+<p>This function requires a 256-bytes config space. Unknown/unavailable bytes should be set to 0xff. </p>
+
+</div>
+</div>
+<a id="ga749e75eeea108be0608fcba7c113f736"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga749e75eeea108be0608fcba7c113f736">◆ </a></span>hwloc_pci_find_linkspeed()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_pci_find_linkspeed </td>
+ <td>(</td>
+ <td class="paramtype">const unsigned char * </td>
+ <td class="paramname"><em>config</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">unsigned </td>
+ <td class="paramname"><em>offset</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float * </td>
+ <td class="paramname"><em>linkspeed</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Fill linkspeed by reading the PCI config space where PCI_CAP_ID_EXP is at position offset. </p>
+<p>Needs 20 bytes of EXP capability block starting at offset in the config space for registers up to link status. </p>
+
+</div>
+</div>
+<a id="ga80fa1e3d882b5c2225dd6dd01e098ad0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga80fa1e3d882b5c2225dd6dd01e098ad0">◆ </a></span>hwloc_pci_prepare_bridge()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_pci_prepare_bridge </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> </td>
+ <td class="paramname"><em>obj</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const unsigned char * </td>
+ <td class="paramname"><em>config</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Modify the PCI device object into a bridge and fill its attribute if a bridge is found in the PCI config space. </p>
+<p>This function requires 64 bytes of common configuration header at the beginning of config.</p>
+<p>Returns -1 and destroys /p obj if bridge fields are invalid. </p>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_memory_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_memory_s Struct Reference<div class="ingroups"><a class="el" href="a00152.html">Object Structure and Attributes</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00200.html">hwloc_obj_memory_page_type_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a8befd0b3f4f8b695cafed04b31f36a44"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00196.html#a8befd0b3f4f8b695cafed04b31f36a44">total_memory</a></td></tr>
+<tr class="separator:a8befd0b3f4f8b695cafed04b31f36a44"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aace044c7f3fd9dffe50202296bf1dc5a"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">local_memory</a></td></tr>
+<tr class="separator:aace044c7f3fd9dffe50202296bf1dc5a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a208c27f4491077d7fb9ba5db8b29cb57"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00196.html#a208c27f4491077d7fb9ba5db8b29cb57">page_types_len</a></td></tr>
+<tr class="separator:a208c27f4491077d7fb9ba5db8b29cb57"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a865eba7b12b986d72dbe7a2cfd97c50d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00200.html">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00196.html#a865eba7b12b986d72dbe7a2cfd97c50d">page_types</a></td></tr>
+<tr class="separator:a865eba7b12b986d72dbe7a2cfd97c50d"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Object memory. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="aace044c7f3fd9dffe50202296bf1dc5a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aace044c7f3fd9dffe50202296bf1dc5a">◆ </a></span>local_memory</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_obj_memory_s::local_memory</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Local memory (in bytes) </p>
+
+</div>
+</div>
+<a id="a865eba7b12b986d72dbe7a2cfd97c50d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a865eba7b12b986d72dbe7a2cfd97c50d">◆ </a></span>page_types</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00200.html">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a> * hwloc_obj_memory_s::page_types</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a208c27f4491077d7fb9ba5db8b29cb57"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a208c27f4491077d7fb9ba5db8b29cb57">◆ </a></span>page_types_len</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj_memory_s::page_types_len</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Size of array <code>page_types</code>. </p>
+
+</div>
+</div>
+<a id="a8befd0b3f4f8b695cafed04b31f36a44"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8befd0b3f4f8b695cafed04b31f36a44">◆ </a></span>total_memory</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_obj_memory_s::total_memory</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Total memory (in bytes) in this object and its children. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_memory_s::hwloc_obj_memory_page_type_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00196.html">hwloc_obj_memory_s</a></li><li class="navelem"><a class="el" href="a00200.html">hwloc_obj_memory_page_type_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a3f1d261766352288791512974665ce01"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00200.html#a3f1d261766352288791512974665ce01">size</a></td></tr>
+<tr class="separator:a3f1d261766352288791512974665ce01"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aa5b9fa36f1dc47ff3c345fe4dd06b260"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00200.html#aa5b9fa36f1dc47ff3c345fe4dd06b260">count</a></td></tr>
+<tr class="separator:aa5b9fa36f1dc47ff3c345fe4dd06b260"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Array of local memory page types, <code>NULL</code> if no local memory and <code>page_types</code> is 0. </p>
+<p>The array is sorted by increasing <code>size</code> fields. It contains <code>page_types_len</code> slots. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="aa5b9fa36f1dc47ff3c345fe4dd06b260"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa5b9fa36f1dc47ff3c345fe4dd06b260">◆ </a></span>count</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_obj_memory_s::hwloc_obj_memory_page_type_s::count</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Number of pages of this size. </p>
+
+</div>
+</div>
+<a id="a3f1d261766352288791512974665ce01"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3f1d261766352288791512974665ce01">◆ </a></span>size</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_obj_memory_s::hwloc_obj_memory_page_type_s::size</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Size of pages. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj Struct Reference<div class="ingroups"><a class="el" href="a00152.html">Object Structure and Attributes</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:acc4f0803f244867e68fe0036800be5de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a></td></tr>
+<tr class="separator:acc4f0803f244867e68fe0036800be5de"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a61a7a80a68eaccbaaa28269e678c81a9"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a></td></tr>
+<tr class="separator:a61a7a80a68eaccbaaa28269e678c81a9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:abb709ec38f2970677e4e57d1d30be96d"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">name</a></td></tr>
+<tr class="separator:abb709ec38f2970677e4e57d1d30be96d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a1dc830816716213b5f797e4052487864"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00196.html">hwloc_obj_memory_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a1dc830816716213b5f797e4052487864">memory</a></td></tr>
+<tr class="separator:a1dc830816716213b5f797e4052487864"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:accd40e29f71f19e88db62ea3df02adc8"><td class="memItemLeft" align="right" valign="top">union <a class="el" href="a00208.html">hwloc_obj_attr_u</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a></td></tr>
+<tr class="separator:accd40e29f71f19e88db62ea3df02adc8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a9d82690370275d42d652eccdea5d3ee5"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a></td></tr>
+<tr class="separator:a9d82690370275d42d652eccdea5d3ee5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0d07fb7b8935e137c94d75a3eb492ae9"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">logical_index</a></td></tr>
+<tr class="separator:a0d07fb7b8935e137c94d75a3eb492ae9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a68766f0b1c4d61b5bad87e3b81dacfde"><td class="memItemLeft" align="right" valign="top">signed </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde">os_level</a></td></tr>
+<tr class="separator:a68766f0b1c4d61b5bad87e3b81dacfde"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a85a788017457129589318b6c39451acf"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a85a788017457129589318b6c39451acf">next_cousin</a></td></tr>
+<tr class="separator:a85a788017457129589318b6c39451acf"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac715989f55ff5a0eb6be2969ee477ec0"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0">prev_cousin</a></td></tr>
+<tr class="separator:ac715989f55ff5a0eb6be2969ee477ec0"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:adc494f6aed939992be1c55cca5822900"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a></td></tr>
+<tr class="separator:adc494f6aed939992be1c55cca5822900"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aaa6043eee6f55869933c1d974efd9acd"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#aaa6043eee6f55869933c1d974efd9acd">sibling_rank</a></td></tr>
+<tr class="separator:aaa6043eee6f55869933c1d974efd9acd"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a7f2343ed476fe4942e6fffd4cade1b40"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">next_sibling</a></td></tr>
+<tr class="separator:a7f2343ed476fe4942e6fffd4cade1b40"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a7b89e8c189876c0158a9282aaaf17f50"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a7b89e8c189876c0158a9282aaaf17f50">prev_sibling</a></td></tr>
+<tr class="separator:a7b89e8c189876c0158a9282aaaf17f50"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aac3f6da35c9b57599909a44ce2b716c1"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">arity</a></td></tr>
+<tr class="separator:aac3f6da35c9b57599909a44ce2b716c1"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a04d05403da37bfe17cd63b7c7dd07b1f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">children</a></td></tr>
+<tr class="separator:a04d05403da37bfe17cd63b7c7dd07b1f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:af51d08a0a79dba517c06c5afedc8d2dc"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">first_child</a></td></tr>
+<tr class="separator:af51d08a0a79dba517c06c5afedc8d2dc"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a84bd65634dbc55f4158b74443a9bd04f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00204.html">hwloc_obj</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a84bd65634dbc55f4158b74443a9bd04f">last_child</a></td></tr>
+<tr class="separator:a84bd65634dbc55f4158b74443a9bd04f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a76fd3ac94401cf32dfccc3a3a8de68a5"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a76fd3ac94401cf32dfccc3a3a8de68a5">userdata</a></td></tr>
+<tr class="separator:a76fd3ac94401cf32dfccc3a3a8de68a5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a67925e0f2c47f50408fbdb9bddd0790f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a></td></tr>
+<tr class="separator:a67925e0f2c47f50408fbdb9bddd0790f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a91788a9da687beb7224cc1fd7b75208c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a91788a9da687beb7224cc1fd7b75208c">complete_cpuset</a></td></tr>
+<tr class="separator:a91788a9da687beb7224cc1fd7b75208c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a8842d56c2975380f327ea401c5f53564"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a8842d56c2975380f327ea401c5f53564">online_cpuset</a></td></tr>
+<tr class="separator:a8842d56c2975380f327ea401c5f53564"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:afa3c59a6dd3da8ffa48710780a1bfb34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34">allowed_cpuset</a></td></tr>
+<tr class="separator:afa3c59a6dd3da8ffa48710780a1bfb34"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a08f0d0e16c619a6e653526cbee4ffea3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a></td></tr>
+<tr class="separator:a08f0d0e16c619a6e653526cbee4ffea3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac38c4012127525ef74c5615c526f4c2e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#ac38c4012127525ef74c5615c526f4c2e">complete_nodeset</a></td></tr>
+<tr class="separator:ac38c4012127525ef74c5615c526f4c2e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a19e3d0a5951a7510fc4fc4722a9bf531"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531">allowed_nodeset</a></td></tr>
+<tr class="separator:a19e3d0a5951a7510fc4fc4722a9bf531"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a9a5dd75596edc48fe834f81988cdc0d6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00244.html">hwloc_distances_s</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">distances</a></td></tr>
+<tr class="separator:a9a5dd75596edc48fe834f81988cdc0d6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a8be6f63eca4da91000c832280db927b7"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a8be6f63eca4da91000c832280db927b7">distances_count</a></td></tr>
+<tr class="separator:a8be6f63eca4da91000c832280db927b7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad59bcd73a10260a0e239be5c4b5888bb"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00248.html">hwloc_obj_info_s</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#ad59bcd73a10260a0e239be5c4b5888bb">infos</a></td></tr>
+<tr class="separator:ad59bcd73a10260a0e239be5c4b5888bb"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a9843acc28cfbba903b63ea14b137ff70"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a9843acc28cfbba903b63ea14b137ff70">infos_count</a></td></tr>
+<tr class="separator:a9843acc28cfbba903b63ea14b137ff70"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0f41a1d67dc6b661906f2217563637f3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00204.html#a0f41a1d67dc6b661906f2217563637f3">symmetric_subtree</a></td></tr>
+<tr class="separator:a0f41a1d67dc6b661906f2217563637f3"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Structure of a topology object. </p>
+<p>Applications must not modify any field except <a class="el" href="a00204.html#a76fd3ac94401cf32dfccc3a3a8de68a5" title="Application-given private data pointer, initialized to NULL, use it as you wish. See hwloc_topology_s...">hwloc_obj.userdata</a>. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="afa3c59a6dd3da8ffa48710780a1bfb34"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afa3c59a6dd3da8ffa48710780a1bfb34">◆ </a></span>allowed_cpuset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> hwloc_obj::allowed_cpuset</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>The CPU set of allowed logical processors. </p>
+<p>This includes the CPUs contained in this object which are allowed for binding, i.e. passing them to the hwloc binding functions should not return permission errors. This is usually restricted by administration rules. Some of them may however be offline so binding to them may still not be possible, see online_cpuset.</p>
+<dl class="section note"><dt>Note</dt><dd>Its value must not be changed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used instead. </dd></dl>
+
+</div>
+</div>
+<a id="a19e3d0a5951a7510fc4fc4722a9bf531"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a19e3d0a5951a7510fc4fc4722a9bf531">◆ </a></span>allowed_nodeset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> hwloc_obj::allowed_nodeset</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>The set of allowed NUMA memory nodes. </p>
+<p>This includes the NUMA memory nodes contained in this object which are allowed for memory allocation, i.e. passing them to NUMA node-directed memory allocation should not return permission errors. This is usually restricted by administration rules.</p>
+<p>If there are no NUMA nodes in the machine, all the memory is close to this object, so <code>allowed_nodeset</code> is full.</p>
+<dl class="section note"><dt>Note</dt><dd>Its value must not be changed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used instead. </dd></dl>
+
+</div>
+</div>
+<a id="aac3f6da35c9b57599909a44ce2b716c1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aac3f6da35c9b57599909a44ce2b716c1">◆ </a></span>arity</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj::arity</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Number of children. </p>
+
+</div>
+</div>
+<a id="accd40e29f71f19e88db62ea3df02adc8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#accd40e29f71f19e88db62ea3df02adc8">◆ </a></span>attr</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">union <a class="el" href="a00208.html">hwloc_obj_attr_u</a>* hwloc_obj::attr</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Object type-specific Attributes, may be <code>NULL</code> if no attribute value was found. </p>
+
+</div>
+</div>
+<a id="a04d05403da37bfe17cd63b7c7dd07b1f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a04d05403da37bfe17cd63b7c7dd07b1f">◆ </a></span>children</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>** hwloc_obj::children</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Children, <code>children</code>[0 .. arity -1]. </p>
+
+</div>
+</div>
+<a id="a91788a9da687beb7224cc1fd7b75208c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a91788a9da687beb7224cc1fd7b75208c">◆ </a></span>complete_cpuset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> hwloc_obj::complete_cpuset</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>The complete CPU set of logical processors of this object,. </p>
+<p>This includes not only the same as the cpuset field, but also some CPUs for which topology information is unknown or incomplete, and the CPUs that are ignored when the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8" title="Detect the whole system, ignore reservations and offline settings. ">HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</a> flag is not set. Thus no corresponding PU object may be found in the topology, because the precise position is undefined. It is however known that it would be somewhere under this object.</p>
+<dl class="section note"><dt>Note</dt><dd>Its value must not be changed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used instead. </dd></dl>
+
+</div>
+</div>
+<a id="ac38c4012127525ef74c5615c526f4c2e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac38c4012127525ef74c5615c526f4c2e">◆ </a></span>complete_nodeset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> hwloc_obj::complete_nodeset</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>The complete NUMA node set of this object,. </p>
+<p>This includes not only the same as the nodeset field, but also some NUMA nodes for which topology information is unknown or incomplete, and the nodes that are ignored when the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8" title="Detect the whole system, ignore reservations and offline settings. ">HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</a> flag is not set. Thus no corresponding NUMA node object may be found in the topology, because the precise position is undefined. It is however known that it would be somewhere under this object.</p>
+<p>If there are no NUMA nodes in the machine, all the memory is close to this object, so <code>complete_nodeset</code> is full.</p>
+<dl class="section note"><dt>Note</dt><dd>Its value must not be changed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used instead. </dd></dl>
+
+</div>
+</div>
+<a id="a67925e0f2c47f50408fbdb9bddd0790f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a67925e0f2c47f50408fbdb9bddd0790f">◆ </a></span>cpuset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> hwloc_obj::cpuset</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>CPUs covered by this object. </p>
+<p>This is the set of CPUs for which there are PU objects in the topology under this object, i.e. which are known to be physically contained in this object and known how (the children path between this object and the PU objects).</p>
+<p>If the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8" title="Detect the whole system, ignore reservations and offline settings. ">HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</a> configuration flag is set, some of these CPUs may be offline, or not allowed for binding, see online_cpuset and allowed_cpuset.</p>
+<dl class="section note"><dt>Note</dt><dd>Its value must not be changed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used instead. </dd></dl>
+
+</div>
+</div>
+<a id="a9d82690370275d42d652eccdea5d3ee5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9d82690370275d42d652eccdea5d3ee5">◆ </a></span>depth</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj::depth</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Vertical index in the hierarchy. </p>
+<p>For normal objects, this is the depth of the horizontal level that contains this object and its cousins of the same type. If the topology is symmetric, this is equal to the parent depth plus one, and also equal to the number of parent/child links from the root object to here.</p>
+<p>For special objects (I/O and Misc) that are not in the main tree, this is a special negative value that corresponds to their dedicated level, see <a class="el" href="a00155.html#ga8bec782e21be313750da70cf7428b374" title="Returns the depth of objects of type type. ">hwloc_get_type_depth()</a> and <a class="el" href="a00155.html#gaf4e663cf42bbe20756b849c6293ef575">hwloc_get_type_depth_e</a>. Those special values can be passed to hwloc functions such <a class="el" href="a00155.html#gab17065e3d53455973844568d9f21c72c" title="Returns the width of level at depth depth. ">hwloc_get_nbobjs_by_depth()</a> as usual. </p>
+
+</div>
+</div>
+<a id="a9a5dd75596edc48fe834f81988cdc0d6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9a5dd75596edc48fe834f81988cdc0d6">◆ </a></span>distances</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00244.html">hwloc_distances_s</a>** hwloc_obj::distances</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Distances between all objects at same depth below this object. </p>
+
+</div>
+</div>
+<a id="a8be6f63eca4da91000c832280db927b7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8be6f63eca4da91000c832280db927b7">◆ </a></span>distances_count</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj::distances_count</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="af51d08a0a79dba517c06c5afedc8d2dc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af51d08a0a79dba517c06c5afedc8d2dc">◆ </a></span>first_child</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_obj::first_child</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>First child. </p>
+
+</div>
+</div>
+<a id="ad59bcd73a10260a0e239be5c4b5888bb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad59bcd73a10260a0e239be5c4b5888bb">◆ </a></span>infos</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00248.html">hwloc_obj_info_s</a>* hwloc_obj::infos</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Array of stringified info type=name. </p>
+
+</div>
+</div>
+<a id="a9843acc28cfbba903b63ea14b137ff70"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9843acc28cfbba903b63ea14b137ff70">◆ </a></span>infos_count</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj::infos_count</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Size of infos array. </p>
+
+</div>
+</div>
+<a id="a84bd65634dbc55f4158b74443a9bd04f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a84bd65634dbc55f4158b74443a9bd04f">◆ </a></span>last_child</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_obj::last_child</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Last child. </p>
+
+</div>
+</div>
+<a id="a0d07fb7b8935e137c94d75a3eb492ae9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0d07fb7b8935e137c94d75a3eb492ae9">◆ </a></span>logical_index</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj::logical_index</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Horizontal index in the whole list of similar objects, hence guaranteed unique across the entire machine. Could be a "cousin_rank" since it's the rank within the "cousin" list below. </p>
+
+</div>
+</div>
+<a id="a1dc830816716213b5f797e4052487864"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1dc830816716213b5f797e4052487864">◆ </a></span>memory</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00196.html">hwloc_obj_memory_s</a> hwloc_obj::memory</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Memory attributes. </p>
+
+</div>
+</div>
+<a id="abb709ec38f2970677e4e57d1d30be96d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#abb709ec38f2970677e4e57d1d30be96d">◆ </a></span>name</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* hwloc_obj::name</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name string is more useful than numerical indexes. </p>
+
+</div>
+</div>
+<a id="a85a788017457129589318b6c39451acf"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a85a788017457129589318b6c39451acf">◆ </a></span>next_cousin</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_obj::next_cousin</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Next object of same type and depth. </p>
+
+</div>
+</div>
+<a id="a7f2343ed476fe4942e6fffd4cade1b40"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a7f2343ed476fe4942e6fffd4cade1b40">◆ </a></span>next_sibling</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_obj::next_sibling</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Next object below the same parent. </p>
+
+</div>
+</div>
+<a id="a08f0d0e16c619a6e653526cbee4ffea3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a08f0d0e16c619a6e653526cbee4ffea3">◆ </a></span>nodeset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00150.html#ga37e35730fa7e775b5bb0afe893d6d508">hwloc_nodeset_t</a> hwloc_obj::nodeset</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>NUMA nodes covered by this object or containing this object. </p>
+<p>This is the set of NUMA nodes for which there are NUMA node objects in the topology under or above this object, i.e. which are known to be physically contained in this object or containing it and known how (the children path between this object and the NUMA node objects).</p>
+<p>In the end, these nodes are those that are close to the current object.</p>
+<p>If the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8" title="Detect the whole system, ignore reservations and offline settings. ">HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</a> configuration flag is set, some of these nodes may not be allowed for allocation, see allowed_nodeset.</p>
+<p>If there are no NUMA nodes in the machine, all the memory is close to this object, so <code>nodeset</code> is full.</p>
+<dl class="section note"><dt>Note</dt><dd>Its value must not be changed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used instead. </dd></dl>
+
+</div>
+</div>
+<a id="a8842d56c2975380f327ea401c5f53564"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8842d56c2975380f327ea401c5f53564">◆ </a></span>online_cpuset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> hwloc_obj::online_cpuset</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>The CPU set of online logical processors. </p>
+<p>This includes the CPUs contained in this object that are online, i.e. draw power and can execute threads. It may however not be allowed to bind to them due to administration rules, see allowed_cpuset.</p>
+<dl class="section note"><dt>Note</dt><dd>Its value must not be changed, <a class="el" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee" title="Duplicate bitmap bitmap by allocating a new bitmap and copying bitmap contents. ">hwloc_bitmap_dup()</a> must be used instead. </dd></dl>
+
+</div>
+</div>
+<a id="a61a7a80a68eaccbaaa28269e678c81a9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a61a7a80a68eaccbaaa28269e678c81a9">◆ </a></span>os_index</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj::os_index</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>OS-provided physical index number. It is not guaranteed unique across the entire machine, except for PUs and NUMA nodes. </p>
+
+</div>
+</div>
+<a id="a68766f0b1c4d61b5bad87e3b81dacfde"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a68766f0b1c4d61b5bad87e3b81dacfde">◆ </a></span>os_level</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">signed hwloc_obj::os_level</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>OS-provided physical level, -1 if unknown or meaningless. </p>
+
+</div>
+</div>
+<a id="adc494f6aed939992be1c55cca5822900"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adc494f6aed939992be1c55cca5822900">◆ </a></span>parent</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_obj::parent</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Parent, <code>NULL</code> if root (system object) </p>
+
+</div>
+</div>
+<a id="ac715989f55ff5a0eb6be2969ee477ec0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac715989f55ff5a0eb6be2969ee477ec0">◆ </a></span>prev_cousin</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_obj::prev_cousin</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Previous object of same type and depth. </p>
+
+</div>
+</div>
+<a id="a7b89e8c189876c0158a9282aaaf17f50"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a7b89e8c189876c0158a9282aaaf17f50">◆ </a></span>prev_sibling</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00204.html">hwloc_obj</a>* hwloc_obj::prev_sibling</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Previous object below the same parent. </p>
+
+</div>
+</div>
+<a id="aaa6043eee6f55869933c1d974efd9acd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aaa6043eee6f55869933c1d974efd9acd">◆ </a></span>sibling_rank</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj::sibling_rank</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Index in parent's <code>children</code>[] array. </p>
+
+</div>
+</div>
+<a id="a0f41a1d67dc6b661906f2217563637f3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0f41a1d67dc6b661906f2217563637f3">◆ </a></span>symmetric_subtree</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_obj::symmetric_subtree</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Set if the subtree of objects below this object is symmetric, which means all children and their children have identical subtrees. If set in the topology root object, lstopo may export the topology as a synthetic string. </p>
+
+</div>
+</div>
+<a id="acc4f0803f244867e68fe0036800be5de"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acc4f0803f244867e68fe0036800be5de">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> hwloc_obj::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Type of object. </p>
+
+</div>
+</div>
+<a id="a76fd3ac94401cf32dfccc3a3a8de68a5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a76fd3ac94401cf32dfccc3a3a8de68a5">◆ </a></span>userdata</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void* hwloc_obj::userdata</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Application-given private data pointer, initialized to <code>NULL</code>, use it as you wish. See <a class="el" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc" title="Set the application-specific callback for exporting object userdata. ">hwloc_topology_set_userdata_export_callback()</a> if you wish to export this field to XML. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_attr_u Union Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_attr_u Union Reference<div class="ingroups"><a class="el" href="a00152.html">Object Structure and Attributes</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00224.html">hwloc_bridge_attr_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00212.html">hwloc_cache_attr_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00216.html">hwloc_group_attr_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00240.html">hwloc_osdev_attr_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html">hwloc_pcidev_attr_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:ab5a8ae3bf490e6b1071fea53f7382836"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00212.html">hwloc_obj_attr_u::hwloc_cache_attr_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">cache</a></td></tr>
+<tr class="separator:ab5a8ae3bf490e6b1071fea53f7382836"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae4ba157cc313e2cdd9a82f1c1df7aaa6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00216.html">hwloc_obj_attr_u::hwloc_group_attr_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#ae4ba157cc313e2cdd9a82f1c1df7aaa6">group</a></td></tr>
+<tr class="separator:ae4ba157cc313e2cdd9a82f1c1df7aaa6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4203d713ce0f5beaa6ee0e9bdac70828"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00220.html">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">pcidev</a></td></tr>
+<tr class="separator:a4203d713ce0f5beaa6ee0e9bdac70828"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:adbdf280699dd84c7619cd8d9edc0d958"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00224.html">hwloc_obj_attr_u::hwloc_bridge_attr_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">bridge</a></td></tr>
+<tr class="separator:adbdf280699dd84c7619cd8d9edc0d958"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a22904c25fe44b323bab5c9bc52660fca"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00240.html">hwloc_obj_attr_u::hwloc_osdev_attr_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">osdev</a></td></tr>
+<tr class="separator:a22904c25fe44b323bab5c9bc52660fca"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Object type-specific Attributes. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="adbdf280699dd84c7619cd8d9edc0d958"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adbdf280699dd84c7619cd8d9edc0d958">◆ </a></span>bridge</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00224.html">hwloc_obj_attr_u::hwloc_bridge_attr_s</a> hwloc_obj_attr_u::bridge</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ab5a8ae3bf490e6b1071fea53f7382836"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab5a8ae3bf490e6b1071fea53f7382836">◆ </a></span>cache</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00212.html">hwloc_obj_attr_u::hwloc_cache_attr_s</a> hwloc_obj_attr_u::cache</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ae4ba157cc313e2cdd9a82f1c1df7aaa6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae4ba157cc313e2cdd9a82f1c1df7aaa6">◆ </a></span>group</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00216.html">hwloc_obj_attr_u::hwloc_group_attr_s</a> hwloc_obj_attr_u::group</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a22904c25fe44b323bab5c9bc52660fca"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a22904c25fe44b323bab5c9bc52660fca">◆ </a></span>osdev</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00240.html">hwloc_obj_attr_u::hwloc_osdev_attr_s</a> hwloc_obj_attr_u::osdev</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a4203d713ce0f5beaa6ee0e9bdac70828"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4203d713ce0f5beaa6ee0e9bdac70828">◆ </a></span>pcidev</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00220.html">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a> hwloc_obj_attr_u::pcidev</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this union was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_attr_u::hwloc_cache_attr_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00208.html">hwloc_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00212.html">hwloc_cache_attr_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_attr_u::hwloc_cache_attr_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:abe5e788943ed04302976740c829674c0"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00212.html#abe5e788943ed04302976740c829674c0">size</a></td></tr>
+<tr class="separator:abe5e788943ed04302976740c829674c0"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a5c8f7f39193736c2187ed626940835d5"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00212.html#a5c8f7f39193736c2187ed626940835d5">depth</a></td></tr>
+<tr class="separator:a5c8f7f39193736c2187ed626940835d5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a801e8a668e28caf06c8b88e9ae5c10db"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00212.html#a801e8a668e28caf06c8b88e9ae5c10db">linesize</a></td></tr>
+<tr class="separator:a801e8a668e28caf06c8b88e9ae5c10db"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad06525e474d1e2d1423ed71bb998592d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00212.html#ad06525e474d1e2d1423ed71bb998592d">associativity</a></td></tr>
+<tr class="separator:ad06525e474d1e2d1423ed71bb998592d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad8edc8ded2b7a70d6abbc874801930f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">type</a></td></tr>
+<tr class="separator:ad8edc8ded2b7a70d6abbc874801930f4"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Cache-specific Object Attributes. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="ad06525e474d1e2d1423ed71bb998592d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad06525e474d1e2d1423ed71bb998592d">◆ </a></span>associativity</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_obj_attr_u::hwloc_cache_attr_s::associativity</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Ways of associativity, -1 if fully associative, 0 if unknown. </p>
+
+</div>
+</div>
+<a id="a5c8f7f39193736c2187ed626940835d5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5c8f7f39193736c2187ed626940835d5">◆ </a></span>depth</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj_attr_u::hwloc_cache_attr_s::depth</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Depth of cache (e.g., L1, L2, ...etc.) </p>
+
+</div>
+</div>
+<a id="a801e8a668e28caf06c8b88e9ae5c10db"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a801e8a668e28caf06c8b88e9ae5c10db">◆ </a></span>linesize</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj_attr_u::hwloc_cache_attr_s::linesize</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Cache-line size in bytes. 0 if unknown. </p>
+
+</div>
+</div>
+<a id="abe5e788943ed04302976740c829674c0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#abe5e788943ed04302976740c829674c0">◆ </a></span>size</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_obj_attr_u::hwloc_cache_attr_s::size</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Size of cache in bytes. </p>
+
+</div>
+</div>
+<a id="ad8edc8ded2b7a70d6abbc874801930f4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad8edc8ded2b7a70d6abbc874801930f4">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00151.html#gab6e1e7efedae8b341f3ee14fbe53d66c">hwloc_obj_cache_type_t</a> hwloc_obj_attr_u::hwloc_cache_attr_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Cache type. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_attr_u::hwloc_group_attr_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00208.html">hwloc_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00216.html">hwloc_group_attr_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_attr_u::hwloc_group_attr_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:ad914eac61c77481e1b7037877bcc5579"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00216.html#ad914eac61c77481e1b7037877bcc5579">depth</a></td></tr>
+<tr class="separator:ad914eac61c77481e1b7037877bcc5579"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:afa253d4b70f92e940c226d61f192054f"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00216.html#afa253d4b70f92e940c226d61f192054f">dont_merge</a></td></tr>
+<tr class="separator:afa253d4b70f92e940c226d61f192054f"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Group-specific Object Attributes. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="ad914eac61c77481e1b7037877bcc5579"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad914eac61c77481e1b7037877bcc5579">◆ </a></span>depth</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj_attr_u::hwloc_group_attr_s::depth</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Depth of group object. </p>
+
+</div>
+</div>
+<a id="afa253d4b70f92e940c226d61f192054f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afa253d4b70f92e940c226d61f192054f">◆ </a></span>dont_merge</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_obj_attr_u::hwloc_group_attr_s::dont_merge</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Flag preventing groups from being automatically merged with identical parent or children. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_attr_u::hwloc_pcidev_attr_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00208.html">hwloc_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00220.html">hwloc_pcidev_attr_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_attr_u::hwloc_pcidev_attr_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a8fba44988deb98613c1505a4019a34dc"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">domain</a></td></tr>
+<tr class="separator:a8fba44988deb98613c1505a4019a34dc"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aae99e035e8d1387d7b8768aaa8eceb0a"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">bus</a></td></tr>
+<tr class="separator:aae99e035e8d1387d7b8768aaa8eceb0a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a3d70c84a12f7e93d14c8d47bf4fd9dc5"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">dev</a></td></tr>
+<tr class="separator:a3d70c84a12f7e93d14c8d47bf4fd9dc5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a695f32df53f4ef728670bfcf31b74e0f"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">func</a></td></tr>
+<tr class="separator:a695f32df53f4ef728670bfcf31b74e0f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aee735352d9f1686fd290fc6d6397c334"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#aee735352d9f1686fd290fc6d6397c334">class_id</a></td></tr>
+<tr class="separator:aee735352d9f1686fd290fc6d6397c334"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aad970ad19b62eb2d5df30e4802da4f4c"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#aad970ad19b62eb2d5df30e4802da4f4c">vendor_id</a></td></tr>
+<tr class="separator:aad970ad19b62eb2d5df30e4802da4f4c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a35b66064ab7d768caf7154e410caf0fa"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#a35b66064ab7d768caf7154e410caf0fa">device_id</a></td></tr>
+<tr class="separator:a35b66064ab7d768caf7154e410caf0fa"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a499db3d8cc89eaba04fcaef3df1cba97"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#a499db3d8cc89eaba04fcaef3df1cba97">subvendor_id</a></td></tr>
+<tr class="separator:a499db3d8cc89eaba04fcaef3df1cba97"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:acac741aecd7a6db64f33409427e3971f"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#acac741aecd7a6db64f33409427e3971f">subdevice_id</a></td></tr>
+<tr class="separator:acac741aecd7a6db64f33409427e3971f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a13ad54c93d08d8ac808e4de9674c5ee7"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#a13ad54c93d08d8ac808e4de9674c5ee7">revision</a></td></tr>
+<tr class="separator:a13ad54c93d08d8ac808e4de9674c5ee7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a59b2fce35f7cbde86c4fd305d0ccda5f"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="a00220.html#a59b2fce35f7cbde86c4fd305d0ccda5f">linkspeed</a></td></tr>
+<tr class="separator:a59b2fce35f7cbde86c4fd305d0ccda5f"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>PCI Device specific Object Attributes. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="aae99e035e8d1387d7b8768aaa8eceb0a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aae99e035e8d1387d7b8768aaa8eceb0a">◆ </a></span>bus</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::bus</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="aee735352d9f1686fd290fc6d6397c334"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aee735352d9f1686fd290fc6d6397c334">◆ </a></span>class_id</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::class_id</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a3d70c84a12f7e93d14c8d47bf4fd9dc5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3d70c84a12f7e93d14c8d47bf4fd9dc5">◆ </a></span>dev</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::dev</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a35b66064ab7d768caf7154e410caf0fa"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a35b66064ab7d768caf7154e410caf0fa">◆ </a></span>device_id</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::device_id</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a8fba44988deb98613c1505a4019a34dc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8fba44988deb98613c1505a4019a34dc">◆ </a></span>domain</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a695f32df53f4ef728670bfcf31b74e0f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a695f32df53f4ef728670bfcf31b74e0f">◆ </a></span>func</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::func</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a59b2fce35f7cbde86c4fd305d0ccda5f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a59b2fce35f7cbde86c4fd305d0ccda5f">◆ </a></span>linkspeed</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float hwloc_obj_attr_u::hwloc_pcidev_attr_s::linkspeed</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a13ad54c93d08d8ac808e4de9674c5ee7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a13ad54c93d08d8ac808e4de9674c5ee7">◆ </a></span>revision</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::revision</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="acac741aecd7a6db64f33409427e3971f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acac741aecd7a6db64f33409427e3971f">◆ </a></span>subdevice_id</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::subdevice_id</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a499db3d8cc89eaba04fcaef3df1cba97"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a499db3d8cc89eaba04fcaef3df1cba97">◆ </a></span>subvendor_id</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::subvendor_id</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="aad970ad19b62eb2d5df30e4802da4f4c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aad970ad19b62eb2d5df30e4802da4f4c">◆ </a></span>vendor_id</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::vendor_id</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_attr_u::hwloc_bridge_attr_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00208.html">hwloc_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00224.html">hwloc_bridge_attr_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_attr_u::hwloc_bridge_attr_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a00ce9d99fc8792d1044fe25dc58605fe"><td class="memItemLeft" >union {</td></tr>
+<tr class="memitem:afbfb960b5aaf2b6e10d8d5d424b227d7"><td class="memItemLeft" >   struct <a class="el" href="a00220.html">hwloc_pcidev_attr_s</a>   <a class="el" href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e">pci</a></td></tr>
+<tr class="separator:afbfb960b5aaf2b6e10d8d5d424b227d7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00ce9d99fc8792d1044fe25dc58605fe"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="a00224.html#a00ce9d99fc8792d1044fe25dc58605fe">upstream</a></td></tr>
+<tr class="separator:a00ce9d99fc8792d1044fe25dc58605fe"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a265dd2164aa2df4972e25a029da72125"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00224.html#a265dd2164aa2df4972e25a029da72125">upstream_type</a></td></tr>
+<tr class="separator:a265dd2164aa2df4972e25a029da72125"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:acaf1ae02e37182bbb6966f8c4f35e499"><td class="memItemLeft" >union {</td></tr>
+<tr class="memitem:af93b3f8c762d7a849b968cb3caf58365"><td class="memItemLeft" >   struct {</td></tr>
+<tr class="memitem:afcdd4077c7c574e4791eefbdf8fb5d9e"><td class="memItemLeft" >      unsigned short   <a class="el" href="a00224.html#a2c31e565a5f0d23d0a0a3dd3ec8f4b17">domain</a></td></tr>
+<tr class="separator:afcdd4077c7c574e4791eefbdf8fb5d9e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a5e2836eb053bf87e3f7430b5470dedca"><td class="memItemLeft" >      unsigned char   <a class="el" href="a00224.html#ae2d9dd73ef1d32045c584a8e66d2f83f">secondary_bus</a></td></tr>
+<tr class="separator:a5e2836eb053bf87e3f7430b5470dedca"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aae5989d9a424dd74ff22da89e6ed245b"><td class="memItemLeft" >      unsigned char   <a class="el" href="a00224.html#af3f3f7d76bf03e8d2afa721c2b8d6771">subordinate_bus</a></td></tr>
+<tr class="separator:aae5989d9a424dd74ff22da89e6ed245b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:af93b3f8c762d7a849b968cb3caf58365"><td class="memItemLeft" valign="top">   }   <a class="el" href="a00224.html#a5a20be20e09d811d141b6332ff864706">pci</a></td></tr>
+<tr class="separator:af93b3f8c762d7a849b968cb3caf58365"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:acaf1ae02e37182bbb6966f8c4f35e499"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="a00224.html#acaf1ae02e37182bbb6966f8c4f35e499">downstream</a></td></tr>
+<tr class="separator:acaf1ae02e37182bbb6966f8c4f35e499"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac6a169b672d0e9f75756fd5665828b93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00224.html#ac6a169b672d0e9f75756fd5665828b93">downstream_type</a></td></tr>
+<tr class="separator:ac6a169b672d0e9f75756fd5665828b93"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a336c8b22893d5d734d8c9dfca4066b46"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00224.html#a336c8b22893d5d734d8c9dfca4066b46">depth</a></td></tr>
+<tr class="separator:a336c8b22893d5d734d8c9dfca4066b46"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Bridge specific Object Attribues. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a336c8b22893d5d734d8c9dfca4066b46"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a336c8b22893d5d734d8c9dfca4066b46">◆ </a></span>depth</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_obj_attr_u::hwloc_bridge_attr_s::depth</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a2c31e565a5f0d23d0a0a3dd3ec8f4b17"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2c31e565a5f0d23d0a0a3dd3ec8f4b17">◆ </a></span>domain</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned short hwloc_obj_attr_u::hwloc_bridge_attr_s::domain</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="acaf1ae02e37182bbb6966f8c4f35e499"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acaf1ae02e37182bbb6966f8c4f35e499">◆ </a></span>downstream</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">union { ... } hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ac6a169b672d0e9f75756fd5665828b93"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac6a169b672d0e9f75756fd5665828b93">◆ </a></span>downstream_type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a> hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream_type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a5a20be20e09d811d141b6332ff864706"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5a20be20e09d811d141b6332ff864706">◆ </a></span>pci <span class="overload">[1/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct { ... } hwloc_obj_attr_u::hwloc_bridge_attr_s::pci</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ab5c564e7c95b747dae9eb84ec0a2c31e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab5c564e7c95b747dae9eb84ec0a2c31e">◆ </a></span>pci <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00220.html">hwloc_pcidev_attr_s</a> hwloc_obj_attr_u::hwloc_bridge_attr_s::pci</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ae2d9dd73ef1d32045c584a8e66d2f83f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae2d9dd73ef1d32045c584a8e66d2f83f">◆ </a></span>secondary_bus</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_obj_attr_u::hwloc_bridge_attr_s::secondary_bus</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="af3f3f7d76bf03e8d2afa721c2b8d6771"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af3f3f7d76bf03e8d2afa721c2b8d6771">◆ </a></span>subordinate_bus</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_obj_attr_u::hwloc_bridge_attr_s::subordinate_bus</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a00ce9d99fc8792d1044fe25dc58605fe"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a00ce9d99fc8792d1044fe25dc58605fe">◆ </a></span>upstream</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">union { ... } hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a265dd2164aa2df4972e25a029da72125"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a265dd2164aa2df4972e25a029da72125">◆ </a></span>upstream_type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00151.html#ga0a947e8c5adcc729b126bd09c01a0153">hwloc_obj_bridge_type_t</a> hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream_type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_attr_u::hwloc_osdev_attr_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00208.html">hwloc_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00240.html">hwloc_osdev_attr_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_attr_u::hwloc_osdev_attr_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a31e019e27e54ac6138d04be639bb96f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00151.html#ga90c1e82a60ba5871d07645169e636987">hwloc_obj_osdev_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">type</a></td></tr>
+<tr class="separator:a31e019e27e54ac6138d04be639bb96f9"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>OS Device specific Object Attributes. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a31e019e27e54ac6138d04be639bb96f9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a31e019e27e54ac6138d04be639bb96f9">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00151.html#ga90c1e82a60ba5871d07645169e636987">hwloc_obj_osdev_type_t</a> hwloc_obj_attr_u::hwloc_osdev_attr_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_distances_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_distances_s Struct Reference<div class="ingroups"><a class="el" href="a00152.html">Object Structure and Attributes</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a6fe066eaf62ee448aa05bab8e7217ff7"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">relative_depth</a></td></tr>
+<tr class="separator:a6fe066eaf62ee448aa05bab8e7217ff7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4ca2af858cebbce7324ec49903d09474"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00244.html#a4ca2af858cebbce7324ec49903d09474">nbobjs</a></td></tr>
+<tr class="separator:a4ca2af858cebbce7324ec49903d09474"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0f70f48d1bfb18e5e2008825da2967c9"><td class="memItemLeft" align="right" valign="top">float * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">latency</a></td></tr>
+<tr class="separator:a0f70f48d1bfb18e5e2008825da2967c9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aab61bd1d1ae2e121bfe793c973ec829e"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="a00244.html#aab61bd1d1ae2e121bfe793c973ec829e">latency_max</a></td></tr>
+<tr class="separator:aab61bd1d1ae2e121bfe793c973ec829e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a204416418049a272bfb51602fc676342"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="a00244.html#a204416418049a272bfb51602fc676342">latency_base</a></td></tr>
+<tr class="separator:a204416418049a272bfb51602fc676342"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Distances between objects. </p>
+<p>One object may contain a distance structure describing distances between all its descendants at a given relative depth. If the containing object is the root object of the topology, then the distances are available for all objects in the machine.</p>
+<p>If the <code>latency</code> pointer is not <code>NULL</code>, the pointed array contains memory latencies (non-zero values), see below.</p>
+<p>In the future, some other types of distances may be considered. In these cases, <code>latency</code> may be <code>NULL</code>. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a0f70f48d1bfb18e5e2008825da2967c9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0f70f48d1bfb18e5e2008825da2967c9">◆ </a></span>latency</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float* hwloc_distances_s::latency</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Matrix of latencies between objects, stored as a one-dimension array. May be <code>NULL</code> if the distances considered here are not latencies. </p>
+<p>Unless defined by the user, this currently contains latencies between NUMA nodes (as reported in the System Locality Distance Information Table (SLIT) in the ACPI specification), which may or may not be accurate. It corresponds to the latency for accessing the memory of one node from a core in another node.</p>
+<p>Values are normalized to get 1.0 as the minimal value in the matrix. Latency from i-th to j-th object is stored in slot i*nbobjs+j. </p>
+
+</div>
+</div>
+<a id="a204416418049a272bfb51602fc676342"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a204416418049a272bfb51602fc676342">◆ </a></span>latency_base</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float hwloc_distances_s::latency_base</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>The multiplier that should be applied to latency matrix to retrieve the original OS-provided latencies. Usually 10 on Linux since ACPI SLIT uses 10 for local latency. </p>
+
+</div>
+</div>
+<a id="aab61bd1d1ae2e121bfe793c973ec829e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aab61bd1d1ae2e121bfe793c973ec829e">◆ </a></span>latency_max</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float hwloc_distances_s::latency_max</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>The maximal value in the latency matrix. </p>
+
+</div>
+</div>
+<a id="a4ca2af858cebbce7324ec49903d09474"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4ca2af858cebbce7324ec49903d09474">◆ </a></span>nbobjs</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_distances_s::nbobjs</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Number of objects considered in the matrix. It is the number of descendant objects at <code>relative_depth</code> below the containing object. It corresponds to the result of <a class="el" href="a00164.html#ga8874c24e73ba2b04c76ec8b9e54f49f8" title="Return the number of objects at depth depth included in CPU set set. ">hwloc_get_nbobjs_inside_cpuset_by_depth()</a>. </p>
+
+</div>
+</div>
+<a id="a6fe066eaf62ee448aa05bab8e7217ff7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a6fe066eaf62ee448aa05bab8e7217ff7">◆ </a></span>relative_depth</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_distances_s::relative_depth</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Relative depth of the considered objects below the object containing this distance information. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_obj_info_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_obj_info_s Struct Reference<div class="ingroups"><a class="el" href="a00152.html">Object Structure and Attributes</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a115dde58f40338a2d3276d59c099857d"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00248.html#a115dde58f40338a2d3276d59c099857d">name</a></td></tr>
+<tr class="separator:a115dde58f40338a2d3276d59c099857d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a522efd7f5262a4493a73fa3476a041ce"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00248.html#a522efd7f5262a4493a73fa3476a041ce">value</a></td></tr>
+<tr class="separator:a522efd7f5262a4493a73fa3476a041ce"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Object info. </p>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00157.html">Consulting and Adding Key-Value Info Attributes</a> </dd></dl>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a115dde58f40338a2d3276d59c099857d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a115dde58f40338a2d3276d59c099857d">◆ </a></span>name</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* hwloc_obj_info_s::name</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Info name. </p>
+
+</div>
+</div>
+<a id="a522efd7f5262a4493a73fa3476a041ce"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a522efd7f5262a4493a73fa3476a041ce">◆ </a></span>value</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* hwloc_obj_info_s::value</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Info value. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_discovery_support Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_discovery_support Struct Reference<div class="ingroups"><a class="el" href="a00154.html">Topology Detection Configuration and Query</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:ad7bb4ecf7a82f5a04fc632e9592ad3ab"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00252.html#ad7bb4ecf7a82f5a04fc632e9592ad3ab">pu</a></td></tr>
+<tr class="separator:ad7bb4ecf7a82f5a04fc632e9592ad3ab"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Flags describing actual discovery support for this topology. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="ad7bb4ecf7a82f5a04fc632e9592ad3ab"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad7bb4ecf7a82f5a04fc632e9592ad3ab">◆ </a></span>pu</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_discovery_support::pu</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Detecting the number of PU objects is supported. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_cpubind_support Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_cpubind_support Struct Reference<div class="ingroups"><a class="el" href="a00154.html">Topology Detection Configuration and Query</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a9403d51657a4d546b3ea9553a2973a27"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a9403d51657a4d546b3ea9553a2973a27">set_thisproc_cpubind</a></td></tr>
+<tr class="separator:a9403d51657a4d546b3ea9553a2973a27"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a77a09ddd78ee3e9ff5f532a6ac74f7eb"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a77a09ddd78ee3e9ff5f532a6ac74f7eb">get_thisproc_cpubind</a></td></tr>
+<tr class="separator:a77a09ddd78ee3e9ff5f532a6ac74f7eb"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aa166223d1c2a6de7256ab2d8b675a87e"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#aa166223d1c2a6de7256ab2d8b675a87e">set_proc_cpubind</a></td></tr>
+<tr class="separator:aa166223d1c2a6de7256ab2d8b675a87e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aae705bc447adc163ead377362c4dfe9f"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#aae705bc447adc163ead377362c4dfe9f">get_proc_cpubind</a></td></tr>
+<tr class="separator:aae705bc447adc163ead377362c4dfe9f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a57a89a4b5f1f74fa6cfe176f1e8b0798"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a57a89a4b5f1f74fa6cfe176f1e8b0798">set_thisthread_cpubind</a></td></tr>
+<tr class="separator:a57a89a4b5f1f74fa6cfe176f1e8b0798"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a80d762e532d677dff262d83cc7bb1c60"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a80d762e532d677dff262d83cc7bb1c60">get_thisthread_cpubind</a></td></tr>
+<tr class="separator:a80d762e532d677dff262d83cc7bb1c60"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a46fba33e307909ce256624687799dd6d"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a46fba33e307909ce256624687799dd6d">set_thread_cpubind</a></td></tr>
+<tr class="separator:a46fba33e307909ce256624687799dd6d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a8dd4d8531ed2eebdce1507e7d104154e"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a8dd4d8531ed2eebdce1507e7d104154e">get_thread_cpubind</a></td></tr>
+<tr class="separator:a8dd4d8531ed2eebdce1507e7d104154e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad2d5c94b738d92b7d2ede87e4e96321d"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#ad2d5c94b738d92b7d2ede87e4e96321d">get_thisproc_last_cpu_location</a></td></tr>
+<tr class="separator:ad2d5c94b738d92b7d2ede87e4e96321d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a2554620148b7992a5093f338f5ae254f"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a2554620148b7992a5093f338f5ae254f">get_proc_last_cpu_location</a></td></tr>
+<tr class="separator:a2554620148b7992a5093f338f5ae254f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a6be1f042fdce6bf41b4ea39f6f193808"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00256.html#a6be1f042fdce6bf41b4ea39f6f193808">get_thisthread_last_cpu_location</a></td></tr>
+<tr class="separator:a6be1f042fdce6bf41b4ea39f6f193808"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Flags describing actual PU binding support for this topology. </p>
+<p>A flag may be set even if the feature isn't supported in all cases (e.g. binding to random sets of non-contiguous objects). </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="aae705bc447adc163ead377362c4dfe9f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aae705bc447adc163ead377362c4dfe9f">◆ </a></span>get_proc_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::get_proc_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of a whole given process is supported. </p>
+
+</div>
+</div>
+<a id="a2554620148b7992a5093f338f5ae254f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2554620148b7992a5093f338f5ae254f">◆ </a></span>get_proc_last_cpu_location</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::get_proc_last_cpu_location</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the last processors where a whole process ran is supported </p>
+
+</div>
+</div>
+<a id="a77a09ddd78ee3e9ff5f532a6ac74f7eb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a77a09ddd78ee3e9ff5f532a6ac74f7eb">◆ </a></span>get_thisproc_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::get_thisproc_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of the whole current process is supported. </p>
+
+</div>
+</div>
+<a id="ad2d5c94b738d92b7d2ede87e4e96321d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad2d5c94b738d92b7d2ede87e4e96321d">◆ </a></span>get_thisproc_last_cpu_location</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::get_thisproc_last_cpu_location</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the last processors where the whole current process ran is supported </p>
+
+</div>
+</div>
+<a id="a80d762e532d677dff262d83cc7bb1c60"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a80d762e532d677dff262d83cc7bb1c60">◆ </a></span>get_thisthread_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::get_thisthread_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of the current thread only is supported. </p>
+
+</div>
+</div>
+<a id="a6be1f042fdce6bf41b4ea39f6f193808"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a6be1f042fdce6bf41b4ea39f6f193808">◆ </a></span>get_thisthread_last_cpu_location</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::get_thisthread_last_cpu_location</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the last processors where the current thread ran is supported </p>
+
+</div>
+</div>
+<a id="a8dd4d8531ed2eebdce1507e7d104154e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8dd4d8531ed2eebdce1507e7d104154e">◆ </a></span>get_thread_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::get_thread_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of a given thread only is supported. </p>
+
+</div>
+</div>
+<a id="aa166223d1c2a6de7256ab2d8b675a87e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa166223d1c2a6de7256ab2d8b675a87e">◆ </a></span>set_proc_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::set_proc_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding a whole given process is supported. </p>
+
+</div>
+</div>
+<a id="a9403d51657a4d546b3ea9553a2973a27"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9403d51657a4d546b3ea9553a2973a27">◆ </a></span>set_thisproc_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::set_thisproc_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding the whole current process is supported. </p>
+
+</div>
+</div>
+<a id="a57a89a4b5f1f74fa6cfe176f1e8b0798"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a57a89a4b5f1f74fa6cfe176f1e8b0798">◆ </a></span>set_thisthread_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::set_thisthread_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding the current thread only is supported. </p>
+
+</div>
+</div>
+<a id="a46fba33e307909ce256624687799dd6d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a46fba33e307909ce256624687799dd6d">◆ </a></span>set_thread_cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_cpubind_support::set_thread_cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding a given thread only is supported. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_membind_support Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_membind_support Struct Reference<div class="ingroups"><a class="el" href="a00154.html">Topology Detection Configuration and Query</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a36b3e388df9c6a249427cab7e3724749"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a36b3e388df9c6a249427cab7e3724749">set_thisproc_membind</a></td></tr>
+<tr class="separator:a36b3e388df9c6a249427cab7e3724749"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a3fd51e6fa5f0dd800322301b46b08559"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a3fd51e6fa5f0dd800322301b46b08559">get_thisproc_membind</a></td></tr>
+<tr class="separator:a3fd51e6fa5f0dd800322301b46b08559"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a756f44912894b176bf979a1b65f12aac"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a756f44912894b176bf979a1b65f12aac">set_proc_membind</a></td></tr>
+<tr class="separator:a756f44912894b176bf979a1b65f12aac"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a9880cd2d605e316fc020167c49ca69ad"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a9880cd2d605e316fc020167c49ca69ad">get_proc_membind</a></td></tr>
+<tr class="separator:a9880cd2d605e316fc020167c49ca69ad"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0697af2e41f2e82b8ce71e3cc13f7eac"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a0697af2e41f2e82b8ce71e3cc13f7eac">set_thisthread_membind</a></td></tr>
+<tr class="separator:a0697af2e41f2e82b8ce71e3cc13f7eac"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a63b0b2e26157b472f5717ee93cc7c535"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a63b0b2e26157b472f5717ee93cc7c535">get_thisthread_membind</a></td></tr>
+<tr class="separator:a63b0b2e26157b472f5717ee93cc7c535"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a476c06f96b65c08b287cf2369966123b"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a476c06f96b65c08b287cf2369966123b">set_area_membind</a></td></tr>
+<tr class="separator:a476c06f96b65c08b287cf2369966123b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0a84e24a06f2fa487fe8c9605c6f68b3"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a0a84e24a06f2fa487fe8c9605c6f68b3">get_area_membind</a></td></tr>
+<tr class="separator:a0a84e24a06f2fa487fe8c9605c6f68b3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae551abb27d2aa9ce008583488b845b98"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#ae551abb27d2aa9ce008583488b845b98">alloc_membind</a></td></tr>
+<tr class="separator:ae551abb27d2aa9ce008583488b845b98"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a221098c339dbfab27bd2c9f5d32f123b"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a221098c339dbfab27bd2c9f5d32f123b">firsttouch_membind</a></td></tr>
+<tr class="separator:a221098c339dbfab27bd2c9f5d32f123b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae7cdb1f1b5f0242a69f85b5a5538c764"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#ae7cdb1f1b5f0242a69f85b5a5538c764">bind_membind</a></td></tr>
+<tr class="separator:ae7cdb1f1b5f0242a69f85b5a5538c764"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a3c44c6012860bbeba8a0f4c19710858d"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a3c44c6012860bbeba8a0f4c19710858d">interleave_membind</a></td></tr>
+<tr class="separator:a3c44c6012860bbeba8a0f4c19710858d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:afe608fb85eb2aa9706221ccb5fc4d415"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#afe608fb85eb2aa9706221ccb5fc4d415">replicate_membind</a></td></tr>
+<tr class="separator:afe608fb85eb2aa9706221ccb5fc4d415"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab0921af6e0cd6975812a80b8e5c7435c"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#ab0921af6e0cd6975812a80b8e5c7435c">nexttouch_membind</a></td></tr>
+<tr class="separator:ab0921af6e0cd6975812a80b8e5c7435c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aafa7683871a6a760246f9b35209caec5"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#aafa7683871a6a760246f9b35209caec5">migrate_membind</a></td></tr>
+<tr class="separator:aafa7683871a6a760246f9b35209caec5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a30173553a68e0a4dd1672d26f8e892b1"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00260.html#a30173553a68e0a4dd1672d26f8e892b1">get_area_memlocation</a></td></tr>
+<tr class="separator:a30173553a68e0a4dd1672d26f8e892b1"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Flags describing actual memory binding support for this topology. </p>
+<p>A flag may be set even if the feature isn't supported in all cases (e.g. binding to random sets of non-contiguous objects). </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="ae551abb27d2aa9ce008583488b845b98"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae551abb27d2aa9ce008583488b845b98">◆ </a></span>alloc_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::alloc_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Allocating a bound memory area is supported. </p>
+
+</div>
+</div>
+<a id="ae7cdb1f1b5f0242a69f85b5a5538c764"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae7cdb1f1b5f0242a69f85b5a5538c764">◆ </a></span>bind_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::bind_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Bind policy is supported. </p>
+
+</div>
+</div>
+<a id="a221098c339dbfab27bd2c9f5d32f123b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a221098c339dbfab27bd2c9f5d32f123b">◆ </a></span>firsttouch_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::firsttouch_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>First-touch policy is supported. </p>
+
+</div>
+</div>
+<a id="a0a84e24a06f2fa487fe8c9605c6f68b3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0a84e24a06f2fa487fe8c9605c6f68b3">◆ </a></span>get_area_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::get_area_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of a given memory area is supported. </p>
+
+</div>
+</div>
+<a id="a30173553a68e0a4dd1672d26f8e892b1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a30173553a68e0a4dd1672d26f8e892b1">◆ </a></span>get_area_memlocation</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::get_area_memlocation</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the last NUMA nodes where a memory area was allocated is supported </p>
+
+</div>
+</div>
+<a id="a9880cd2d605e316fc020167c49ca69ad"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9880cd2d605e316fc020167c49ca69ad">◆ </a></span>get_proc_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::get_proc_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of a whole given process is supported. </p>
+
+</div>
+</div>
+<a id="a3fd51e6fa5f0dd800322301b46b08559"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3fd51e6fa5f0dd800322301b46b08559">◆ </a></span>get_thisproc_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::get_thisproc_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of the whole current process is supported. </p>
+
+</div>
+</div>
+<a id="a63b0b2e26157b472f5717ee93cc7c535"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a63b0b2e26157b472f5717ee93cc7c535">◆ </a></span>get_thisthread_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::get_thisthread_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Getting the binding of the current thread only is supported. </p>
+
+</div>
+</div>
+<a id="a3c44c6012860bbeba8a0f4c19710858d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3c44c6012860bbeba8a0f4c19710858d">◆ </a></span>interleave_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::interleave_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Interleave policy is supported. </p>
+
+</div>
+</div>
+<a id="aafa7683871a6a760246f9b35209caec5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aafa7683871a6a760246f9b35209caec5">◆ </a></span>migrate_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::migrate_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Migration flags is supported. </p>
+
+</div>
+</div>
+<a id="ab0921af6e0cd6975812a80b8e5c7435c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab0921af6e0cd6975812a80b8e5c7435c">◆ </a></span>nexttouch_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::nexttouch_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Next-touch migration policy is supported. </p>
+
+</div>
+</div>
+<a id="afe608fb85eb2aa9706221ccb5fc4d415"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afe608fb85eb2aa9706221ccb5fc4d415">◆ </a></span>replicate_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::replicate_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Replication policy is supported. </p>
+
+</div>
+</div>
+<a id="a476c06f96b65c08b287cf2369966123b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a476c06f96b65c08b287cf2369966123b">◆ </a></span>set_area_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::set_area_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding a given memory area is supported. </p>
+
+</div>
+</div>
+<a id="a756f44912894b176bf979a1b65f12aac"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a756f44912894b176bf979a1b65f12aac">◆ </a></span>set_proc_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::set_proc_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding a whole given process is supported. </p>
+
+</div>
+</div>
+<a id="a36b3e388df9c6a249427cab7e3724749"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a36b3e388df9c6a249427cab7e3724749">◆ </a></span>set_thisproc_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::set_thisproc_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding the whole current process is supported. </p>
+
+</div>
+</div>
+<a id="a0697af2e41f2e82b8ce71e3cc13f7eac"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0697af2e41f2e82b8ce71e3cc13f7eac">◆ </a></span>set_thisthread_membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned char hwloc_topology_membind_support::set_thisthread_membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Binding the current thread only is supported. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_support Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_support Struct Reference<div class="ingroups"><a class="el" href="a00154.html">Topology Detection Configuration and Query</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00101_source.html">hwloc.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:aea3fbd7653d987d81f848636c420504d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00252.html">hwloc_topology_discovery_support</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00264.html#aea3fbd7653d987d81f848636c420504d">discovery</a></td></tr>
+<tr class="separator:aea3fbd7653d987d81f848636c420504d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:adef2bb91f74c3e70a2a071393caf5f56"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00256.html">hwloc_topology_cpubind_support</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00264.html#adef2bb91f74c3e70a2a071393caf5f56">cpubind</a></td></tr>
+<tr class="separator:adef2bb91f74c3e70a2a071393caf5f56"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac6eb62ae8bc0a68dce679a7107a36194"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00260.html">hwloc_topology_membind_support</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00264.html#ac6eb62ae8bc0a68dce679a7107a36194">membind</a></td></tr>
+<tr class="separator:ac6eb62ae8bc0a68dce679a7107a36194"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Set of flags describing actual support for this topology. </p>
+<p>This is retrieved with <a class="el" href="a00154.html#gab8c76173c4a8ce1a9a9366012b1388e6" title="Retrieve the topology support. ">hwloc_topology_get_support()</a> and will be valid until the topology object is destroyed. Note: the values are correct only after discovery. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="adef2bb91f74c3e70a2a071393caf5f56"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adef2bb91f74c3e70a2a071393caf5f56">◆ </a></span>cpubind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00256.html">hwloc_topology_cpubind_support</a>* hwloc_topology_support::cpubind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="aea3fbd7653d987d81f848636c420504d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aea3fbd7653d987d81f848636c420504d">◆ </a></span>discovery</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00252.html">hwloc_topology_discovery_support</a>* hwloc_topology_support::discovery</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ac6eb62ae8bc0a68dce679a7107a36194"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac6eb62ae8bc0a68dce679a7107a36194">◆ </a></span>membind</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00260.html">hwloc_topology_membind_support</a>* hwloc_topology_support::membind</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00101_source.html">hwloc.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_obj_attr_u Union Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_obj_attr_u Union Reference<div class="ingroups"><a class="el" href="a00187.html">Topology differences</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html">hwloc_topology_diff_obj_attr_generic_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00280.html">hwloc_topology_diff_obj_attr_string_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00276.html">hwloc_topology_diff_obj_attr_uint64_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a68039c178e9961023345e0728382773b"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00272.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00268.html#a68039c178e9961023345e0728382773b">generic</a></td></tr>
+<tr class="separator:a68039c178e9961023345e0728382773b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:abb15bfa7039ca8c97cd7ddfbdf779efa"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00276.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00268.html#abb15bfa7039ca8c97cd7ddfbdf779efa">uint64</a></td></tr>
+<tr class="separator:abb15bfa7039ca8c97cd7ddfbdf779efa"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a518a48e13168c31957589ce78820163e"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00280.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00268.html#a518a48e13168c31957589ce78820163e">string</a></td></tr>
+<tr class="separator:a518a48e13168c31957589ce78820163e"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>One object attribute difference. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a68039c178e9961023345e0728382773b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a68039c178e9961023345e0728382773b">◆ </a></span>generic</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00272.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</a> hwloc_topology_diff_obj_attr_u::generic</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a518a48e13168c31957589ce78820163e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a518a48e13168c31957589ce78820163e">◆ </a></span>string</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00280.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a> hwloc_topology_diff_obj_attr_u::string</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="abb15bfa7039ca8c97cd7ddfbdf779efa"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#abb15bfa7039ca8c97cd7ddfbdf779efa">◆ </a></span>uint64</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00276.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a> hwloc_topology_diff_obj_attr_u::uint64</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this union was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00268.html">hwloc_topology_diff_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00272.html">hwloc_topology_diff_obj_attr_generic_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a43f8133b7c30129b002c2d295e6580fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a43f8133b7c30129b002c2d295e6580fc">type</a></td></tr>
+<tr class="separator:a43f8133b7c30129b002c2d295e6580fc"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<h2 class="groupheader">Field Documentation</h2>
+<a id="a43f8133b7c30129b002c2d295e6580fc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a43f8133b7c30129b002c2d295e6580fc">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00268.html">hwloc_topology_diff_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00276.html">hwloc_topology_diff_obj_attr_uint64_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:afe262b9aa558fe7bfecbd37a7a129197"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00276.html#afe262b9aa558fe7bfecbd37a7a129197">type</a></td></tr>
+<tr class="separator:afe262b9aa558fe7bfecbd37a7a129197"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:adb772c3f1761ecadf496c80ae14afce3"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00276.html#adb772c3f1761ecadf496c80ae14afce3">index</a></td></tr>
+<tr class="separator:adb772c3f1761ecadf496c80ae14afce3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a44c0894dce563335d347fde6595c49c9"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00276.html#a44c0894dce563335d347fde6595c49c9">oldvalue</a></td></tr>
+<tr class="separator:a44c0894dce563335d347fde6595c49c9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae63aa59ad65aa783b730a4f213304eb4"><td class="memItemLeft" align="right" valign="top">hwloc_uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00276.html#ae63aa59ad65aa783b730a4f213304eb4">newvalue</a></td></tr>
+<tr class="separator:ae63aa59ad65aa783b730a4f213304eb4"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Integer attribute modification with an optional index. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="adb772c3f1761ecadf496c80ae14afce3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adb772c3f1761ecadf496c80ae14afce3">◆ </a></span>index</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::index</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ae63aa59ad65aa783b730a4f213304eb4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae63aa59ad65aa783b730a4f213304eb4">◆ </a></span>newvalue</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::newvalue</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a44c0894dce563335d347fde6595c49c9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a44c0894dce563335d347fde6595c49c9">◆ </a></span>oldvalue</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">hwloc_uint64_t hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::oldvalue</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="afe262b9aa558fe7bfecbd37a7a129197"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afe262b9aa558fe7bfecbd37a7a129197">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00268.html">hwloc_topology_diff_obj_attr_u</a></li><li class="navelem"><a class="el" href="a00280.html">hwloc_topology_diff_obj_attr_string_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a784ab5827c1bf531b86d1f02f199d04d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00280.html#a784ab5827c1bf531b86d1f02f199d04d">type</a></td></tr>
+<tr class="separator:a784ab5827c1bf531b86d1f02f199d04d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a7ef48c66ccddf34d90edb4e4314b41c6"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00280.html#a7ef48c66ccddf34d90edb4e4314b41c6">name</a></td></tr>
+<tr class="separator:a7ef48c66ccddf34d90edb4e4314b41c6"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a33cc281d4417129064295a6ae7b79818"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00280.html#a33cc281d4417129064295a6ae7b79818">oldvalue</a></td></tr>
+<tr class="separator:a33cc281d4417129064295a6ae7b79818"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a75f37f4add21cece50fee2701c3b77db"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00280.html#a75f37f4add21cece50fee2701c3b77db">newvalue</a></td></tr>
+<tr class="separator:a75f37f4add21cece50fee2701c3b77db"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>String attribute modification with an optional name. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a7ef48c66ccddf34d90edb4e4314b41c6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a7ef48c66ccddf34d90edb4e4314b41c6">◆ </a></span>name</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::name</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a75f37f4add21cece50fee2701c3b77db"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a75f37f4add21cece50fee2701c3b77db">◆ </a></span>newvalue</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::newvalue</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a33cc281d4417129064295a6ae7b79818"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a33cc281d4417129064295a6ae7b79818">◆ </a></span>oldvalue</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">char* hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::oldvalue</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a784ab5827c1bf531b86d1f02f199d04d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a784ab5827c1bf531b86d1f02f199d04d">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00187.html#ga5f2dd099de2cacdc0d0d4858154b971a">hwloc_topology_diff_obj_attr_type_t</a> hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_u Union Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Data Structures</a> |
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_u Union Reference<div class="ingroups"><a class="el" href="a00187.html">Topology differences</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Data Structures</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00288.html">hwloc_topology_diff_generic_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00292.html">hwloc_topology_diff_obj_attr_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a00296.html">hwloc_topology_diff_too_complex_s</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:af1882d9c9d37c735a0e9b04069fab01f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00288.html">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00284.html#af1882d9c9d37c735a0e9b04069fab01f">generic</a></td></tr>
+<tr class="separator:af1882d9c9d37c735a0e9b04069fab01f"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a7245713f0f49e9f08fda28401a4f98fd"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00292.html">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00284.html#a7245713f0f49e9f08fda28401a4f98fd">obj_attr</a></td></tr>
+<tr class="separator:a7245713f0f49e9f08fda28401a4f98fd"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:adaaabee4029a455119ec3695c19632d6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00296.html">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00284.html#adaaabee4029a455119ec3695c19632d6">too_complex</a></td></tr>
+<tr class="separator:adaaabee4029a455119ec3695c19632d6"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>One element of a difference list between two topologies. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="af1882d9c9d37c735a0e9b04069fab01f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af1882d9c9d37c735a0e9b04069fab01f">◆ </a></span>generic</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00288.html">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a> hwloc_topology_diff_u::generic</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a7245713f0f49e9f08fda28401a4f98fd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a7245713f0f49e9f08fda28401a4f98fd">◆ </a></span>obj_attr</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00292.html">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a> hwloc_topology_diff_u::obj_attr</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="adaaabee4029a455119ec3695c19632d6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adaaabee4029a455119ec3695c19632d6">◆ </a></span>too_complex</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00296.html">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a> hwloc_topology_diff_u::too_complex</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this union was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_u::hwloc_topology_diff_generic_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00284.html">hwloc_topology_diff_u</a></li><li class="navelem"><a class="el" href="a00288.html">hwloc_topology_diff_generic_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_u::hwloc_topology_diff_generic_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a373005489fcddeba6319163e60263ae8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00288.html#a373005489fcddeba6319163e60263ae8">type</a></td></tr>
+<tr class="separator:a373005489fcddeba6319163e60263ae8"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a720aa94eb73cddfd8d6bf9fcbbfc035e"><td class="memItemLeft" align="right" valign="top">union <a class="el" href="a00284.html">hwloc_topology_diff_u</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00288.html#a720aa94eb73cddfd8d6bf9fcbbfc035e">next</a></td></tr>
+<tr class="separator:a720aa94eb73cddfd8d6bf9fcbbfc035e"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<h2 class="groupheader">Field Documentation</h2>
+<a id="a720aa94eb73cddfd8d6bf9fcbbfc035e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a720aa94eb73cddfd8d6bf9fcbbfc035e">◆ </a></span>next</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">union <a class="el" href="a00284.html">hwloc_topology_diff_u</a>* hwloc_topology_diff_u::hwloc_topology_diff_generic_s::next</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a373005489fcddeba6319163e60263ae8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a373005489fcddeba6319163e60263ae8">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> hwloc_topology_diff_u::hwloc_topology_diff_generic_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00284.html">hwloc_topology_diff_u</a></li><li class="navelem"><a class="el" href="a00292.html">hwloc_topology_diff_obj_attr_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a70a118ad288bd98f18c8ce6dc52e2d10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00292.html#a70a118ad288bd98f18c8ce6dc52e2d10">type</a></td></tr>
+<tr class="separator:a70a118ad288bd98f18c8ce6dc52e2d10"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:acb9170a8eb3392656d70f7f3ef3e3eed"><td class="memItemLeft" align="right" valign="top">union <a class="el" href="a00284.html">hwloc_topology_diff_u</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00292.html#acb9170a8eb3392656d70f7f3ef3e3eed">next</a></td></tr>
+<tr class="separator:acb9170a8eb3392656d70f7f3ef3e3eed"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aa28a121d9e158b1e610fb844ae1c8824"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00292.html#aa28a121d9e158b1e610fb844ae1c8824">obj_depth</a></td></tr>
+<tr class="separator:aa28a121d9e158b1e610fb844ae1c8824"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:adb9f4d414470b6670cde8d90759a6c1c"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00292.html#adb9f4d414470b6670cde8d90759a6c1c">obj_index</a></td></tr>
+<tr class="separator:adb9f4d414470b6670cde8d90759a6c1c"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a91f0645f9062e892652357cd141c8ebb"><td class="memItemLeft" align="right" valign="top">union <a class="el" href="a00268.html">hwloc_topology_diff_obj_attr_u</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00292.html#a91f0645f9062e892652357cd141c8ebb">diff</a></td></tr>
+<tr class="separator:a91f0645f9062e892652357cd141c8ebb"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<h2 class="groupheader">Field Documentation</h2>
+<a id="a91f0645f9062e892652357cd141c8ebb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a91f0645f9062e892652357cd141c8ebb">◆ </a></span>diff</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">union <a class="el" href="a00268.html">hwloc_topology_diff_obj_attr_u</a> hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::diff</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="acb9170a8eb3392656d70f7f3ef3e3eed"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acb9170a8eb3392656d70f7f3ef3e3eed">◆ </a></span>next</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">union <a class="el" href="a00284.html">hwloc_topology_diff_u</a>* hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::next</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="aa28a121d9e158b1e610fb844ae1c8824"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa28a121d9e158b1e610fb844ae1c8824">◆ </a></span>obj_depth</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::obj_depth</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="adb9f4d414470b6670cde8d90759a6c1c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adb9f4d414470b6670cde8d90759a6c1c">◆ </a></span>obj_index</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::obj_index</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a70a118ad288bd98f18c8ce6dc52e2d10"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a70a118ad288bd98f18c8ce6dc52e2d10">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="a00284.html">hwloc_topology_diff_u</a></li><li class="navelem"><a class="el" href="a00296.html">hwloc_topology_diff_too_complex_s</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s Struct Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00143_source.html">diff.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a92084295a4d6faf17a95a7eea526ddbd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00296.html#a92084295a4d6faf17a95a7eea526ddbd">type</a></td></tr>
+<tr class="separator:a92084295a4d6faf17a95a7eea526ddbd"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a375afbaa043b109be689a7d9a3c7d153"><td class="memItemLeft" align="right" valign="top">union <a class="el" href="a00284.html">hwloc_topology_diff_u</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00296.html#a375afbaa043b109be689a7d9a3c7d153">next</a></td></tr>
+<tr class="separator:a375afbaa043b109be689a7d9a3c7d153"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a77e9eac7db8b073c9bf996f19eda1631"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00296.html#a77e9eac7db8b073c9bf996f19eda1631">obj_depth</a></td></tr>
+<tr class="separator:a77e9eac7db8b073c9bf996f19eda1631"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a6dc6b3c4adb10db74d993e37afaa0580"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00296.html#a6dc6b3c4adb10db74d993e37afaa0580">obj_index</a></td></tr>
+<tr class="separator:a6dc6b3c4adb10db74d993e37afaa0580"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<h2 class="groupheader">Field Documentation</h2>
+<a id="a375afbaa043b109be689a7d9a3c7d153"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a375afbaa043b109be689a7d9a3c7d153">◆ </a></span>next</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">union <a class="el" href="a00284.html">hwloc_topology_diff_u</a>* hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::next</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a77e9eac7db8b073c9bf996f19eda1631"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a77e9eac7db8b073c9bf996f19eda1631">◆ </a></span>obj_depth</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::obj_depth</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a6dc6b3c4adb10db74d993e37afaa0580"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a6dc6b3c4adb10db74d993e37afaa0580">◆ </a></span>obj_index</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::obj_index</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a92084295a4d6faf17a95a7eea526ddbd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a92084295a4d6faf17a95a7eea526ddbd">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00187.html#ga4b86adb00c8b2d09ebc4ef8f3bfd92b2">hwloc_topology_diff_type_t</a> hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00143_source.html">diff.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_disc_component Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_disc_component Struct Reference<div class="ingroups"><a class="el" href="a00188.html">Components and Plugins: Discovery components</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00146_source.html">plugins.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:ad070350354cbd665803fc86fe48cdb3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00188.html#ga5c6112c1a7497e5f481b9634059d47b1">hwloc_disc_component_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00300.html#ad070350354cbd665803fc86fe48cdb3d">type</a></td></tr>
+<tr class="separator:ad070350354cbd665803fc86fe48cdb3d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4064c3b5d9213027e87caebef380a840"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00300.html#a4064c3b5d9213027e87caebef380a840">name</a></td></tr>
+<tr class="separator:a4064c3b5d9213027e87caebef380a840"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a34144f4d59bf46524e4875194652412b"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00300.html#a34144f4d59bf46524e4875194652412b">excludes</a></td></tr>
+<tr class="separator:a34144f4d59bf46524e4875194652412b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab8390b4bc16e44d5dfcbc35f38065eb7"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00304.html">hwloc_backend</a> *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00300.html#ab8390b4bc16e44d5dfcbc35f38065eb7">instantiate</a> )(struct <a class="el" href="a00300.html">hwloc_disc_component</a> *component, const void *data1, const void *data2, const void *data3)</td></tr>
+<tr class="separator:ab8390b4bc16e44d5dfcbc35f38065eb7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ae86d283c272c5ae24073a235efbf6b59"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00300.html#ae86d283c272c5ae24073a235efbf6b59">priority</a></td></tr>
+<tr class="separator:ae86d283c272c5ae24073a235efbf6b59"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Discovery component structure. </p>
+<p>This is the major kind of components, taking care of the discovery. They are registered by generic components, either statically-built or as plugins. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a34144f4d59bf46524e4875194652412b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a34144f4d59bf46524e4875194652412b">◆ </a></span>excludes</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_disc_component::excludes</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Component types to exclude, as an OR'ed set of <a class="el" href="a00188.html#ga0dceb95fada01e5e4558429912053ca7" title="Discovery component type. ">hwloc_disc_component_type_e</a>. </p>
+<p>For a GLOBAL component, this usually includes all other types (~0).</p>
+<p>Other components only exclude types that may bring conflicting topology information. MISC components should likely not be excluded since they usually bring non-primary additional information. </p>
+
+</div>
+</div>
+<a id="ab8390b4bc16e44d5dfcbc35f38065eb7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab8390b4bc16e44d5dfcbc35f38065eb7">◆ </a></span>instantiate</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">struct <a class="el" href="a00304.html">hwloc_backend</a>*(* hwloc_disc_component::instantiate) (struct <a class="el" href="a00300.html">hwloc_disc_component</a> *component, const void *data1, const void *data2, const void *data3)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Instantiate callback to create a backend from the component. Parameters data1, data2, data3 are NULL except for components that have special enabling routines such as <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a>. </p>
+
+</div>
+</div>
+<a id="a4064c3b5d9213027e87caebef380a840"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4064c3b5d9213027e87caebef380a840">◆ </a></span>name</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">const char* hwloc_disc_component::name</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Name. If this component is built as a plugin, this name does not have to match the plugin filename. </p>
+
+</div>
+</div>
+<a id="ae86d283c272c5ae24073a235efbf6b59"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae86d283c272c5ae24073a235efbf6b59">◆ </a></span>priority</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_disc_component::priority</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Component priority. Used to sort topology->components, higher priority first. Also used to decide between two components with the same name. </p>
+<p>Usual values are 50 for native OS (or platform) components, 45 for x86, 40 for no-OS fallback, 30 for global components (xml/synthetic/custom), 20 for pci, 10 for other misc components (opencl etc.). </p>
+
+</div>
+</div>
+<a id="ad070350354cbd665803fc86fe48cdb3d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad070350354cbd665803fc86fe48cdb3d">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00188.html#ga5c6112c1a7497e5f481b9634059d47b1">hwloc_disc_component_type_t</a> hwloc_disc_component::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Discovery component type. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00146_source.html">plugins.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_backend Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_backend Struct Reference<div class="ingroups"><a class="el" href="a00189.html">Components and Plugins: Discovery backends</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00146_source.html">plugins.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:aaa8eafe495aadd81c2e3c4ec527c10ba"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#aaa8eafe495aadd81c2e3c4ec527c10ba">flags</a></td></tr>
+<tr class="separator:aaa8eafe495aadd81c2e3c4ec527c10ba"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a5209e6508c110dcd4c3c296466f07cb3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#a5209e6508c110dcd4c3c296466f07cb3">is_custom</a></td></tr>
+<tr class="separator:a5209e6508c110dcd4c3c296466f07cb3"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab8806f6db077f1bb2e9d63ec99223f7a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#ab8806f6db077f1bb2e9d63ec99223f7a">is_thissystem</a></td></tr>
+<tr class="separator:ab8806f6db077f1bb2e9d63ec99223f7a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a2ea5bd36b7f06efdb65b98b32af16c68"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#a2ea5bd36b7f06efdb65b98b32af16c68">private_data</a></td></tr>
+<tr class="separator:a2ea5bd36b7f06efdb65b98b32af16c68"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a36c4fa86350525b46340c67b802c69c7"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#a36c4fa86350525b46340c67b802c69c7">disable</a> )(struct <a class="el" href="a00304.html">hwloc_backend</a> *backend)</td></tr>
+<tr class="separator:a36c4fa86350525b46340c67b802c69c7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aeb9e1dcf68853a65355082b359a3a2d7"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#aeb9e1dcf68853a65355082b359a3a2d7">discover</a> )(struct <a class="el" href="a00304.html">hwloc_backend</a> *backend)</td></tr>
+<tr class="separator:aeb9e1dcf68853a65355082b359a3a2d7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab3d1836eeda1970a4c51342df186581e"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#ab3d1836eeda1970a4c51342df186581e">get_obj_cpuset</a> )(struct <a class="el" href="a00304.html">hwloc_backend</a> *backend, struct <a class="el" href="a00304.html">hwloc_backend</a> *caller, struct <a class="el" href="a00204.html">hwloc_obj</a> *obj, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> cpuset)</td></tr>
+<tr class="separator:ab3d1836eeda1970a4c51342df186581e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a5a4803e23309be318d7cdb641a5f1037"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00304.html#a5a4803e23309be318d7cdb641a5f1037">notify_new_object</a> )(struct <a class="el" href="a00304.html">hwloc_backend</a> *backend, struct <a class="el" href="a00304.html">hwloc_backend</a> *caller, struct <a class="el" href="a00204.html">hwloc_obj</a> *obj)</td></tr>
+<tr class="separator:a5a4803e23309be318d7cdb641a5f1037"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Discovery backend structure. </p>
+<p>A backend is the instantiation of a discovery component. When a component gets enabled for a topology, its instantiate() callback creates a backend.</p>
+<p><a class="el" href="a00189.html#ga330a0b581de4817d0cf1e7401db22436" title="Allocate a backend structure, set good default values, initialize backend->component and topology...">hwloc_backend_alloc()</a> initializes all fields to default values that the component may change (except "component" and "next") before enabling the backend with <a class="el" href="a00189.html#gaa4edf46c5d88eef53b3b8f572d88b9c5" title="Enable a previously allocated and setup backend. ">hwloc_backend_enable()</a>. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a36c4fa86350525b46340c67b802c69c7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a36c4fa86350525b46340c67b802c69c7">◆ </a></span>disable</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void(* hwloc_backend::disable) (struct <a class="el" href="a00304.html">hwloc_backend</a> *backend)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Callback for freeing the private_data. May be NULL. </p>
+
+</div>
+</div>
+<a id="aeb9e1dcf68853a65355082b359a3a2d7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aeb9e1dcf68853a65355082b359a3a2d7">◆ </a></span>discover</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int(* hwloc_backend::discover) (struct <a class="el" href="a00304.html">hwloc_backend</a> *backend)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Main discovery callback. returns > 0 if it modified the topology tree, -1 on error, 0 otherwise. May be NULL if type is <a class="el" href="a00188.html#gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7" title="OpenCL, Cuda, etc. ">HWLOC_DISC_COMPONENT_TYPE_MISC</a>. </p>
+
+</div>
+</div>
+<a id="aaa8eafe495aadd81c2e3c4ec527c10ba"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aaa8eafe495aadd81c2e3c4ec527c10ba">◆ </a></span>flags</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned long hwloc_backend::flags</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Backend flags, as an OR'ed set of <a class="el" href="a00189.html#ga21513209613570877b6bfa9898106f2a" title="Backend flags. ">hwloc_backend_flag_e</a>. </p>
+
+</div>
+</div>
+<a id="ab3d1836eeda1970a4c51342df186581e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab3d1836eeda1970a4c51342df186581e">◆ </a></span>get_obj_cpuset</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int(* hwloc_backend::get_obj_cpuset) (struct <a class="el" href="a00304.html">hwloc_backend</a> *backend, struct <a class="el" href="a00304.html">hwloc_backend</a> *caller, struct <a class="el" href="a00204.html">hwloc_obj</a> *obj, <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> cpuset)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Callback used by the PCI backend to retrieve the locality of a PCI object from the OS/cpu backend. May be NULL. </p>
+
+</div>
+</div>
+<a id="a5209e6508c110dcd4c3c296466f07cb3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5209e6508c110dcd4c3c296466f07cb3">◆ </a></span>is_custom</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_backend::is_custom</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Backend-specific 'is_custom' property. Shortcut on !strcmp(..->component->name, "custom"). Only the custom component should touch this. </p>
+
+</div>
+</div>
+<a id="ab8806f6db077f1bb2e9d63ec99223f7a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab8806f6db077f1bb2e9d63ec99223f7a">◆ </a></span>is_thissystem</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int hwloc_backend::is_thissystem</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Backend-specific 'is_thissystem' property. Set to 0 or 1 if the backend should enforce the thissystem flag when it gets enabled. Set to -1 if the backend doesn't care (default). </p>
+
+</div>
+</div>
+<a id="a5a4803e23309be318d7cdb641a5f1037"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5a4803e23309be318d7cdb641a5f1037">◆ </a></span>notify_new_object</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int(* hwloc_backend::notify_new_object) (struct <a class="el" href="a00304.html">hwloc_backend</a> *backend, struct <a class="el" href="a00304.html">hwloc_backend</a> *caller, struct <a class="el" href="a00204.html">hwloc_obj</a> *obj)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Callback called by backends to notify this backend that a new object was added. returns > 0 if it modified the topology tree, 0 otherwise. May be NULL. </p>
+
+</div>
+</div>
+<a id="a2ea5bd36b7f06efdb65b98b32af16c68"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2ea5bd36b7f06efdb65b98b32af16c68">◆ </a></span>private_data</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void* hwloc_backend::private_data</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Backend private data, or NULL if none. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00146_source.html">plugins.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc_component Struct Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-attribs">Data Fields</a> </div>
+ <div class="headertitle">
+<div class="title">hwloc_component Struct Reference<div class="ingroups"><a class="el" href="a00190.html">Components and Plugins: Generic components</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include <<a class="el" href="a00146_source.html">plugins.h</a>></code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
+Data Fields</h2></td></tr>
+<tr class="memitem:a3250bd6fc9713946991d805e48091b2e"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00308.html#a3250bd6fc9713946991d805e48091b2e">abi</a></td></tr>
+<tr class="separator:a3250bd6fc9713946991d805e48091b2e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aea613546886d9b8221cadba920fe3ebc"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00308.html#aea613546886d9b8221cadba920fe3ebc">init</a> )(unsigned long <a class="el" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>)</td></tr>
+<tr class="separator:aea613546886d9b8221cadba920fe3ebc"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4612015451a1c706e8ba19114cb8baae"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a00308.html#a4612015451a1c706e8ba19114cb8baae">finalize</a> )(unsigned long <a class="el" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>)</td></tr>
+<tr class="separator:a4612015451a1c706e8ba19114cb8baae"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a789208ada7e17492cfd3a5a88a6bb0ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00190.html#ga0aebfa65317af10bb18d7d35f6dc05b8">hwloc_component_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00308.html#a789208ada7e17492cfd3a5a88a6bb0ee">type</a></td></tr>
+<tr class="separator:a789208ada7e17492cfd3a5a88a6bb0ee"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab8043c5b4cc0e81aabba586ccb194335"><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a></td></tr>
+<tr class="separator:ab8043c5b4cc0e81aabba586ccb194335"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4b8cffd1d943c29fdc102b841b8598d4"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00308.html#a4b8cffd1d943c29fdc102b841b8598d4">data</a></td></tr>
+<tr class="separator:a4b8cffd1d943c29fdc102b841b8598d4"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>Generic component structure. </p>
+<p>Generic components structure, either statically listed by configure in static-components.h or dynamically loaded as a plugin. </p>
+</div><h2 class="groupheader">Field Documentation</h2>
+<a id="a3250bd6fc9713946991d805e48091b2e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3250bd6fc9713946991d805e48091b2e">◆ </a></span>abi</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned hwloc_component::abi</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Component ABI version, set to <a class="el" href="a00149.html#gaac5bc1f46f55e10ef0141a68ce70e21f" title="Current component and plugin ABI version (see hwloc/plugins.h) ">HWLOC_COMPONENT_ABI</a>. </p>
+
+</div>
+</div>
+<a id="a4b8cffd1d943c29fdc102b841b8598d4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4b8cffd1d943c29fdc102b841b8598d4">◆ </a></span>data</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void* hwloc_component::data</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Component data, pointing to a struct <a class="el" href="a00300.html" title="Discovery component structure. ">hwloc_disc_component</a> or struct hwloc_xml_component. </p>
+
+</div>
+</div>
+<a id="a4612015451a1c706e8ba19114cb8baae"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4612015451a1c706e8ba19114cb8baae">◆ </a></span>finalize</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void(* hwloc_component::finalize) (unsigned long <a class="el" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Process-wide component termination callback. </p>
+<p>This optional callback is called after unregistering the component from the hwloc core (before unloading the plugin).</p>
+<p><code>flags</code> is always 0 for now.</p>
+<dl class="section note"><dt>Note</dt><dd>If the component uses ltdl for loading its own plugins, it should load/unload them only in <a class="el" href="a00308.html#aea613546886d9b8221cadba920fe3ebc" title="Process-wide component initialization callback. ">init()</a> and <a class="el" href="a00308.html#a4612015451a1c706e8ba19114cb8baae" title="Process-wide component termination callback. ">finalize()</a>, to avoid race conditions with hwloc's use of ltdl. </dd></dl>
+
+</div>
+</div>
+<a id="ab8043c5b4cc0e81aabba586ccb194335"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab8043c5b4cc0e81aabba586ccb194335">◆ </a></span>flags</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">unsigned long hwloc_component::flags</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Component flags, unused for now. </p>
+
+</div>
+</div>
+<a id="aea613546886d9b8221cadba920fe3ebc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aea613546886d9b8221cadba920fe3ebc">◆ </a></span>init</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int(* hwloc_component::init) (unsigned long <a class="el" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>)</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Process-wide component initialization callback. </p>
+<p>This optional callback is called when the component is registered to the hwloc core (after loading the plugin).</p>
+<p>When the component is built as a plugin, this callback should call hwloc_check_plugin_namespace() and return an negative error code on error.</p>
+<p><code>flags</code> is always 0 for now.</p>
+<dl class="section return"><dt>Returns</dt><dd>0 on success, or a negative code on error.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>If the component uses ltdl for loading its own plugins, it should load/unload them only in <a class="el" href="a00308.html#aea613546886d9b8221cadba920fe3ebc" title="Process-wide component initialization callback. ">init()</a> and <a class="el" href="a00308.html#a4612015451a1c706e8ba19114cb8baae" title="Process-wide component termination callback. ">finalize()</a>, to avoid race conditions with hwloc's use of ltdl. </dd></dl>
+
+</div>
+</div>
+<a id="a789208ada7e17492cfd3a5a88a6bb0ee"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a789208ada7e17492cfd3a5a88a6bb0ee">◆ </a></span>type</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="a00190.html#ga0aebfa65317af10bb18d7d35f6dc05b8">hwloc_component_type_t</a> hwloc_component::type</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Component type. </p>
+
+</div>
+</div>
+<hr/>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a00146_source.html">plugins.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Terms and Definitions</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Terms and Definitions </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section" id="termsanddefs_objects">
+ </p>
+<h1><a class="anchor" id="termsanddefs_objects"></a>
+Objects</h1>
+<dl>
+<dt>Object </dt>
+<dd><p class="startdd">Interesting kind of part of the system, such as a Core, a Cache, a NUMA memory node, etc. The different types detected by hwloc are detailed in the <a class="el" href="a00151.html#gacd37bb612667dc437d66bfb175a8dc55" title="Type of topology object. ">hwloc_obj_type_t</a> enumeration.</p>
+<p>They are topologically sorted by CPU set into a tree (see <a class="el" href="a00309.html#termsanddefs_tree">Hierarchy, Tree and Levels</a>). </p>
+<p class="enddd"></p>
+</dd>
+<dt>Processing Unit (or Logical Processor) </dt>
+<dd><p class="startdd">The smallest processing element that can be represented by a hwloc object. It may be a single-core processor, a core of a multicore processor, or a single thread in a SMT processor. hwloc's PU acronym stands for Processing Unit.</p>
+<p>"Logical processor" should not be confused with "Logical index of a
+ processor". </p>
+<p class="enddd"></p>
+</dd>
+<dt>Package </dt>
+<dd><p class="startdd">A processor Package is the physical package that usually gets inserted into a socket on the motherboard. It is also often called a physical processor or a CPU even if these names bring confusion with respect to cores and processing units. A processor package usually contains multiple cores (and may also be composed of multiple dies). hwloc Package objects were called Sockets up to hwloc 1.10. </p>
+<p class="enddd"></p>
+</dd>
+<dt>NUMA Node </dt>
+<dd><p class="startdd">An object that contains memory that is directly and byte-accessible to the host processors. It is usually close to some cores (the corresponding objects are descendants of the NUMA node object in the hwloc tree, see <a class="el" href="a00309.html#termsanddefs_tree">Hierarchy, Tree and Levels</a>) as specified by its CPU set. </p>
+<p class="enddd"></p>
+</dd>
+</dl>
+<p>
+</div><div class="section" id="termsanddefs_indexes">
+ </p>
+<h1><a class="anchor" id="termsanddefs_indexes"></a>
+Indexes and Sets</h1>
+<dl>
+<dt>OS or physical index </dt>
+<dd><p class="startdd">The index that the operating system (OS) uses to identify the object. This may be completely arbitrary, non-unique, non-contiguous, not representative of logical proximity, and may depend on the BIOS configuration. That is why hwloc almost never uses them, only in the default lstopo output (<code>P#x</code>) and cpuset masks. See also <a class="el" href="a00323.html#faq_indexes">Should I use logical or physical/OS indexes? and how?</a>.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Logical index </dt>
+<dd><p class="startdd">Index to uniquely identify objects of the same type and depth, automatically computed by hwloc according to the topology. It expresses logical proximity in a generic way, i.e. objects which have adjacent logical indexes are adjacent in the topology. That is why hwloc almost always uses it in its API, since it expresses logical proximity. They can be shown (as <code>L#x</code>) by <code>lstopo</code> thanks to the <code>-l</code> option. This index is always linear and in the range [0, num_objs_same_type_same_level-1]. Think of it as ``cousin rank.'' The ordering is based on topology first, and then on OS CPU numbers, so it is stable across everything except firmware CPU renumbering. "Logical index" should not be confused with "Logical processor". A "Logical
+ processor" (which in hwloc we rather call "processing unit" to avoid the confusion) has both a physical index (as chosen arbitrarily by BIOS/OS) and a logical index (as computed according to logical proximity by hwloc). See also <a class="el" href="a00323.html#faq_indexes">Should I use logical or physical/OS indexes? and how?</a>.</p>
+<p class="enddd"></p>
+</dd>
+<dt>CPU set </dt>
+<dd><p class="startdd">The set of logical processors (or processing units) logically included in an object (if it makes sense). They are always expressed using physical logical processor numbers (as announced by the OS). They are implemented as the <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a> opaque structure. hwloc CPU sets are just masks, they do <em>not</em> have any relation with an operating system actual binding notion like Linux' cpusets.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Node set </dt>
+<dd><p class="startdd">The set of NUMA memory nodes logically included in an object (if it makes sense). They are always expressed using physical node numbers (as announced by the OS). They are implemented with the <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a> opaque structure. as bitmaps.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Bitmap </dt>
+<dd><p class="startdd">A possibly-infinite set of bits used for describing sets of objects such as CPUs (CPU sets) or memory nodes (Node sets). They are implemented with the <a class="el" href="a00174.html#gaa3c2bf4c776d603dcebbb61b0c923d84" title="Set of bits represented as an opaque pointer to an internal bitmap. ">hwloc_bitmap_t</a> opaque structure. </p>
+<p class="enddd"></p>
+</dd>
+</dl>
+<p>
+</div><div class="section" id="termsanddefs_tree">
+ </p>
+<h1><a class="anchor" id="termsanddefs_tree"></a>
+Hierarchy, Tree and Levels</h1>
+<dl>
+<dt>Parent object </dt>
+<dd><p class="startdd">The object logically containing the current object, for example because its CPU set includes the CPU set of the current object.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Ancestor object </dt>
+<dd><p class="startdd">The parent object, or its own parent object, and so on.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Children object(s) </dt>
+<dd><p class="startdd">The object (or objects) contained in the current object because their CPU set is included in the CPU set of the current object.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Arity </dt>
+<dd><p class="startdd">The number of children of an object.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Sibling objects </dt>
+<dd><p class="startdd">Objects which have the same parent. They usually have the same type (and hence are cousins, as well), but they may not if the topology is asymmetric.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Sibling rank </dt>
+<dd><p class="startdd">Index to uniquely identify objects which have the same parent, and is always in the range [0, parent_arity).</p>
+<p class="enddd"></p>
+</dd>
+<dt>Cousin objects </dt>
+<dd><p class="startdd">Objects of the same type (and depth) as the current object, even if they do not have the same parent.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Level </dt>
+<dd><p class="startdd">Set of objects of the same type and depth. All these objects are cousins.</p>
+<p class="enddd"></p>
+</dd>
+<dt>Depth </dt>
+<dd><p class="startdd">Nesting level in the object tree, starting from the root object. If the topology is symmetric, the depth of a child is equal to the parent depth plus one, and an object depth is also equal to the number of parent/child links between the root object and the given object. If the topology is asymmetric, the difference between some parent and child depths may be larger than one when some intermediate levels (for instance groups) are missing in only some parts of the machine. </p>
+<p class="enddd"></p>
+</dd>
+</dl>
+<p>The following diagram can help to understand the vocabulary of the relationships by showing the example of a machine with two dual core packages (with no hardware threads); thus, a topology with 5 levels. Each box with rounded corner corresponds to one <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d" title="Convenience typedef; a pointer to a struct hwloc_obj. ">hwloc_obj_t</a>, containing the values of the different integer fields (depth, logical_index, etc.), and arrows show to which other <a class="el" href="a00152.html#ga79b8ab56877ef99ac59b833203391c7d" title="Convenience typedef; a pointer to a struct hwloc_obj. ">hwloc_obj_t</a> pointers point to (first_child, parent, etc.). The L2 cache of the last core is intentionally missing to show how asymmetric topologies are handled. See <a class="el" href="a00323.html#faq_asymmetric">What happens if my topology is asymmetric?</a> for more information about such strange topologies.</p>
+<div class="image">
+<img src="diagram.png" alt="diagram.png"/>
+</div>
+ <p>It should be noted that for PU objects, the logical index – as computed linearly by hwloc – is not the same as the OS index. </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Command-Line Tools</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Command-Line Tools </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>hwloc comes with an extensive C programming interface and several command line utilities. Each of them is fully documented in its own manual page; the following is a summary of the available command line tools.</p>
+<p>
+</div><div class="section" id="cli_lstopo">
+ </p>
+<h1><a class="anchor" id="cli_lstopo"></a>
+lstopo and lstopo-no-graphics</h1>
+<p>lstopo (also known as hwloc-ls) displays the hierarchical topology map of the current system. The output may be graphical, ascii-art or textual, and can also be exported to numerous file formats such as PDF, PNG, XML, and others. Advanced graphical outputs require the "Cairo" development package (usually <code>cairo-devel</code> or <code>libcairo2-dev</code>).</p>
+<p>lstopo and lstopo-no-graphics accept the same command-line options. However graphical outputs are only available in lstopo. Textual outputs (those that do not depend on heavy external libraries such as Cairo) are supported in both lstopo and lstopo-no-graphics.</p>
+<p>This command can also display the processes currently bound to a part of the machine (via the <code>--ps</code> option).</p>
+<p>Note that lstopo can read XML files and/or alternate chroot filesystems and display topological maps representing those systems (e.g., use lstopo to output an XML file on one system, and then use lstopo to read in that XML file and display it on a different system).</p>
+<p>
+</div><div class="section" id="cli_hwloc_bind">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_bind"></a>
+hwloc-bind</h1>
+<p>hwloc-bind binds processes to specific hardware objects through a flexible syntax. A simple example is binding an executable to specific cores (or packages or bitmaps or ...). The hwloc-bind(1) man page provides much more detail on what is possible.</p>
+<p>hwloc-bind can also be used to retrieve the current process' binding, or retrieve the last CPU(s) where a process ran, or operate on memory binding.</p>
+<p>Just like hwloc-calc, the input locations given to hwloc-bind may be either objects or cpusets (bitmaps as reported by hwloc-calc or hwloc-distrib).</p>
+<p>
+</div><div class="section" id="cli_hwloc_calc">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_calc"></a>
+hwloc-calc</h1>
+<p>hwloc-calc is hwloc's Swiss Army Knife command-line tool for converting things. The input may be either objects or cpusets (bitmaps as reported by another hwloc-calc instance or by hwloc-distrib), that may be combined by addition, intersection or subtraction. The output kinds include: </p><ul>
+<li>
+a cpuset bitmap: This compact opaque representation of objects is useful for shell scripts etc. It may passed to hwloc command-line tools such as hwloc-calc or hwloc-bind, or to hwloc command-line options such as <code>lstopo --restrict</code>. </li>
+<li>
+the amount of the equivalent hwloc objects from a specific type, or the list of their indexes. This is useful for iterating over all similar objects (for instance all cores) within a given part of a platform. </li>
+<li>
+a hierarchical description of objects, for instance a thread index within a core within a package. This gives a better view of the actual location of an object. </li>
+</ul>
+<p>Moreover, input and/or output may be use either physical/OS object indexes or as hwloc's logical object indexes. It eases cooperation with external tools such as taskset or numactl by exporting hwloc specifications into list of processor or NUMA node physical indexes. See also <a class="el" href="a00323.html#faq_indexes">Should I use logical or physical/OS indexes? and how?</a>.</p>
+<p>
+</div><div class="section" id="cli_hwloc_info">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_info"></a>
+hwloc-info</h1>
+<p>hwloc-info dumps information about the given objects, as well as all its specific attributes. It is intended to be used with tools such as grep for filtering certain attribute lines. When no object is specified, or when <code>--topology</code> is passed, hwloc-info prints a summary of the topology. When <code>--support</code> is passed, hwloc-info lists the supported features for the topology.</p>
+<p>
+</div><div class="section" id="cli_hwloc_distrib">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_distrib"></a>
+hwloc-distrib</h1>
+<p>hwloc-distrib generates a set of cpuset bitmaps that are uniformly distributed across the machine for the given number of processes. These strings may be used with hwloc-bind to run processes to maximize their memory bandwidth by properly distributing them across the machine.</p>
+<p>
+</div><div class="section" id="cli_hwloc_ps">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_ps"></a>
+hwloc-ps</h1>
+<p>hwloc-ps is a tool to display the bindings of processes that are currently running on the local machine. By default, hwloc-ps only lists processes that are bound; unbound process (and Linux kernel threads) are not displayed.</p>
+<p>
+</div><div class="section" id="cli_hwloc_distances">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_distances"></a>
+hwloc-distances</h1>
+<p>hwloc-distances displays all distance matrices attached to the topology. Note that lstopo may also display distance matrices in its verbose textual output. However lstopo only prints matrices that cover the entire topology while hwloc-distances also displays matrices that ignore part of the topology.</p>
+<p>
+</div><div class="section" id="cli_hwloc_annotate">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_annotate"></a>
+hwloc-annotate</h1>
+<p>hwloc-annotate may modify object attributes such as string information (see <a class="el" href="a00316.html#attributes_info">Custom string infos</a> for details) or Misc children objects. It reads an input topology from a XML file and outputs the annotated topology as another XML file.</p>
+<p>
+</div><div class="section" id="cli_hwloc_diffpatchcompress">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_diffpatchcompress"></a>
+hwloc-diff, hwloc-patch and hwloc-compress-dir</h1>
+<p>hwloc-diff computes the difference between two topologies and outputs it to another XML file.</p>
+<p>hwloc-patch reads such a difference file and applies to another topology.</p>
+<p>hwloc-compress-dir compresses an entire directory of XML files by using hwloc-diff to save the differences between topologies instead of entire topologies.</p>
+<p>
+</div><div class="section" id="cli_hwloc_assembler">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_assembler"></a>
+hwloc-assembler</h1>
+<p>hwloc-assembler combines several XML topology files into a single multi-node XML topology. It may then be used later as input with <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> or with the HWLOC_XMLFILE environment variable. See <a class="el" href="a00315.html">Multi-node Topologies</a> for details.</p>
+<p>
+</div><div class="section" id="cli_hwloc_assembler_remote">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_assembler_remote"></a>
+hwloc-assembler-remote</h1>
+<p>hwloc-assembler-remote is a frontend to hwloc-assembler. It takes care of contacting the given list of remote hosts (through ssh) and retrieving their topologies as XML before assembling them with hwloc-assembler.</p>
+<p>
+</div><div class="section" id="cli_hwloc_dump_hwdata">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_dump_hwdata"></a>
+hwloc-dump-hwdata</h1>
+<p>hwloc-dump-hwdata is a Linux and x86-specific tool that dumps (during boot, privileged) some topology and locality information from raw hardware files (SMBIOS and ACPI tables) to human-readable and world-accessible files that the hwloc library will later reuse.</p>
+<p>Currently only used on Intel Xeon Phi processor platforms. See <a class="el" href="a00323.html#faq_knl_dump">Why do I need hwloc-dump-hwdata for memory on Intel Xeon Phi processor?</a>.</p>
+<p>See <code>HWLOC_DUMPED_HWDATA_DIR</code> in <a class="el" href="a00311.html">Environment Variables</a> for details about the location of dumped files.</p>
+<p>
+</div><div class="section" id="cli_hwloc_gather">
+ </p>
+<h1><a class="anchor" id="cli_hwloc_gather"></a>
+hwloc-gather-topology</h1>
+<p>hwloc-gather-topology is a Linux-specific tool that saves the relevant topology files of the current machine into a tarball (and the corresponding lstopo outputs).</p>
+<p>These files may be used later (possibly offline) for simulating or debugging a machine without actually running on it. </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Environment Variables</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Environment Variables </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>The behavior of the hwloc library and tools may be tuned thanks to the following environment variables.</p>
+<dl>
+<dt>HWLOC_XMLFILE=/path/to/file.xml </dt>
+<dd><p class="startdd">enforces the discovery from the given XML file as if <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> had been called. This file may have been generated earlier with lstopo file.xml. For convenience, this backend provides empty binding hooks which just return success. To have hwloc still actually call OS-specific hooks, HWLOC_THISSYSTEM should be set 1 in the environment too, to assert that the loaded file is really the underlying system. See also <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a>. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_XML_VERBOSE=1 </dt>
+<dd></dd>
+<dt>HWLOC_SYNTHETIC_VERBOSE=1 </dt>
+<dd><p class="startdd">enables verbose messages in the XML or synthetic topology backends. hwloc XML backends (see <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a>) can emit some error messages to the error output stream. Enabling these verbose messages within hwloc can be useful for understanding failures to parse input XML topologies. Similarly, enabling verbose messages in the synthetic topology backend can help understand why the description string is invalid. See also <a class="el" href="a00318.html">Synthetic topologies</a>. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_FSROOT=/path/to/linux/filesystem-root/ </dt>
+<dd><p class="startdd">switches to reading the topology from the specified Linux filesystem root instead of the main file-system root, as if <a class="el" href="a00154.html#gac0ea95d5f2ad78408bc267a0441c7c97" title="Change the file-system root path when building the topology from sysfs/procfs. ">hwloc_topology_set_fsroot()</a> had been called. Not using the main file-system root causes <a class="el" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017" title="Does the topology context come from this system? ">hwloc_topology_is_thissystem()</a> to return 0. For convenience, this backend provides empty binding hooks which just return success. To have hwloc still actually call OS-specific hooks, HWLOC_THISSYSTEM should be set 1 in the environment too, to assert that the loaded file is really the underlying system. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_THISSYSTEM=1 </dt>
+<dd><p class="startdd">enforces the return value of <a class="el" href="a00154.html#ga68ffdcfd9175cdf40709801092f18017" title="Does the topology context come from this system? ">hwloc_topology_is_thissystem()</a>, as if <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b" title="Assume that the selected backend provides the topology for the system on which we are running...">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> was set with <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a>. It means that it makes hwloc assume that the selected backend provides the topology for the system on which we are running, even if it is not the OS-specific backend but the XML backend for instance. This means making the binding functions actually call the OS-specific system calls and really do binding, while the XML backend would otherwise provide empty hooks just returning success. This can be used for efficiency reasons to first detect the topology once, save it to an XML file, and quickly reload it later through the XML backend, but still having binding functions actually do bind. This also enables support for the variable HWLOC_THISSYSTEM_ALLOWED_RESOURCES. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_THISSYSTEM_ALLOWED_RESOURCES=1 </dt>
+<dd><p class="startdd">Get the set of allowed resources from the native operating system even if the topology was loaded from XML or synthetic description, as if <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89" title="Get the set of allowed resources from the local operating system even if the topology was loaded from...">HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES</a> was set with <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a>. This variable requires the topology to match the current system (see the variable HWLOC_THISSYSTEM). This is useful when the topology is not loaded directly from the local machine (e.g. for performance reason) and it comes with all resources, but the running process is restricted to only a part of the machine (for instance because of Linux Cgroup/Cpuset). </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_HIDE_ERRORS=0 </dt>
+<dd><p class="startdd">enables or disables verbose reporting of errors. The hwloc library may issue warnings to the standard error stream when it detects a problem during topology discovery, for instance if the operating system (or user) gives contradictory topology information. Setting this environment variable to 1 removes the actual displaying of these error messages. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_DONT_MERGE_DIE_GROUPS=0 </dt>
+<dd><p class="startdd">always keep Group objects that describe CPU Dies. CPU Dies are represented as generic Group objects. By default, Groups are merged with identical children or parent unless they bring some additional structure. Setting this environment variable to 1 ensures these Die Groups will never be merged. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_GROUPING=1 </dt>
+<dd><p class="startdd">enables or disables objects grouping based on distances. By default, hwloc uses distance matrices between objects (either read from the OS or given by the user) to find groups of close objects. These groups are described by adding intermediate Group objects in the topology. Setting this environment variable to 0 will disable this grouping. This variable supersedes the obsolete HWLOC_IGNORE_DISTANCES variable. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_GROUPING_ACCURACY=0.05 </dt>
+<dd><p class="startdd">relaxes distance comparison during grouping. By default, objects may be grouped if their distances form a minimal distance graph. When setting this variable to 0.02, these distances do not have to be strictly equal anymore, they may just be equal with a 2% error. If set to <code>try</code> instead of a numerical value, hwloc will try to group with perfect accuracy (0, the default), then with 0.01, 0.02, 0.05 and finally 0.1. Numbers given in this environment variable should always use a dot as a decimal mark (for instance 0.01 instead of 0,01).</p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_GROUPING_VERBOSE=0 </dt>
+<dd><p class="startdd">enables or disables some verbose messages during grouping. If this variable is set to 1, some debug messages will be displayed during distance-based grouping of objects even if debug was not specific at configure time. This is useful when trying to find an interesting distance grouping accuracy.</p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_<type>_DISTANCES=index,...:X*Y </dt>
+<dd></dd>
+<dt>HWLOC_<type>_DISTANCES=begin-end:X*Y*Z </dt>
+<dd></dd>
+<dt>HWLOC_<type>_DISTANCES=index,...:distance,... </dt>
+<dd><p class="startdd">sets a distance matrix for objects of the given type and physical indexes. The type should be given as its case-sensitive stringified value (e.g. <code>NUMANode</code>, <code>Package</code>, <code>Cache</code>, <code>Core</code>, <code>PU</code>). If another distance matrix already exists for the given type, either because the user specified it or because the OS offers it, it will be replaced by the given one.</p>
+<p>If the variable value is <code>none</code>, the existing distance matrix for the given type is removed. Otherwise, the variable value first consists in a list of physical indexes that may be specified as a comma-separated list (e.g. <code>0,2,4,1,3,5</code>) or as a range of consecutive indexes (<code>0-5</code>). It is followed by a colon and the corresponding distances: </p><ul>
+<li>
+If <code>X*Y</code> is given, X groups of Y close objects are specified. </li>
+<li>
+If <code>X*Y*Z</code> is given, X groups of Y groups of Z close objects are specified. </li>
+<li>
+Otherwise, the comma-separated list of distances should be given. If N objects are considered, the i*N+j-th value gives the distance from the i-th object to the j-th object. These distance values must use a dot as a decimal separator. </li>
+</ul>
+<p>Note that distances are ignored in multi-node topologies. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_PCI_<domain>_<bus>_LOCALCPUS=<cpuset> </dt>
+<dd><p class="startdd">changes the locality of I/O devices behind the specified PCI hostbridge. If no I/O locality information is available or if the BIOS reports incorrect information, it is possible to move a I/O device tree (the entire set of objects behind a host bridge) near a custom set of processors. <code>domain</code> and <code>bus</code> are the PCI domain and primary bus of the corresponding host bridge. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_PLUGINS_PATH=/path/to/hwloc/plugins/:... </dt>
+<dd><p class="startdd">changes the default search directory for plugins. By default, <code>$libdir/hwloc</code> is used. The variable may contain several colon-separated directories. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_PLUGINS_VERBOSE=1 </dt>
+<dd><p class="startdd">displays verbose information about plugins. List which directories are scanned, which files are loaded, and which components are successfully loaded. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_PLUGINS_BLACKLIST=filename1,filename2,... </dt>
+<dd><p class="startdd">prevents plugins from being loaded if their filename (without path) is listed. Plugin filenames may be found in verbose messages outputted when HWLOC_PLUGINS_VERBOSE=1. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_DUMPED_HWDATA_DIR=/path/to/dumped/files/ </dt>
+<dd><p class="startdd">loads files dumped by <code>hwloc-dump-hwdata</code> (on Linux) from the given directory. The default dump/load directory is configured during build based on --runstatedir, --localstatedir, and --prefix options. It usually points to <code>/var/run/hwloc/</code> in Linux distribution packages, but it may also point to <code>$prefix/var/run/hwloc/</code> when manually installing and only specifying --prefix. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_COMPONENTS=list,of,components </dt>
+<dd><p class="startdd">forces a list of components to enable or disable. Enable or disable the given comma-separated list of components (if they do not conflict with each other). Component names prefixed with <code>-</code> are disabled. Once the end of the list is reached, hwloc falls back to enabling the remaining components (sorted by priority) that do not conflict with the already enabled ones, and unless explicitly disabled in the list. If <code>stop</code> is met, the enabling loop immediately stops, no more component is enabled. If the variable is set to an empty string, no specific component is loaded first, all components are loaded in priority order, this is strictly identical to not specifying any variable. The <code>xml</code> component name may be followed by a XML file to load (<code>xml=file.xml</code>). The synthetic component may be followed by a basic synthetic topology description (<code>synthetic=node:2 pu:3</code>, see <a class="el" href="a00318.html">Synthetic topologies</a>). This variable does not take precedence over the application selecting components with functions such as <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a>. See <a class="el" href="a00321.html">Components and plugins</a> for details. </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_COMPONENTS_VERBOSE=1 </dt>
+<dd><p class="startdd">displays verbose information about components. Display messages when components are registered or enabled. This is the recommended way to list the available components with their priority (all of them are <em>registered</em> at startup). </p>
+<p class="enddd"></p>
+</dd>
+<dt>HWLOC_DEBUG_VERBOSE=0 </dt>
+<dd><p class="startdd">disables all verbose messages that are enabled by default when <code>–enable-debug</code> is passed to configure. </p>
+<p class="enddd"></p>
+</dd>
+</dl>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): CPU and Memory Binding Overview</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CPU and Memory Binding Overview </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>Some operating systems do not systematically provide separate functions for CPU and memory binding. This means that CPU binding functions may have have effects on the memory binding policy. Likewise, changing the memory binding policy may change the CPU binding of the current thread. This is often not a problem for applications, so by default hwloc will make use of these functions when they provide better binding support.</p>
+<p>If the application does not want the CPU binding to change when changing the memory policy, it needs to use the <a class="el" href="a00159.html#ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997" title="Avoid any effect on CPU binding. ">HWLOC_MEMBIND_NOCPUBIND</a> flag to prevent hwloc from using OS functions which would change the CPU binding. Additionally, <a class="el" href="a00158.html#gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6" title="Avoid any effect on memory binding. ">HWLOC_CPUBIND_NOMEMBIND</a> can be passed to CPU binding function to prevent hwloc from using OS functions would change the memory binding policy. Of course, using these flags will reduce hwloc's overall support for binding, so their use is discouraged.</p>
+<p>One can avoid using these flags but still closely control both memory and CPU binding by allocating memory, touching each page in the allocated memory, and then changing the CPU binding. The already-really-allocated memory will then be "locked" to physical memory and will not be migrated. Thus, even if the memory binding policy gets changed by the CPU binding order, the already-allocated memory will not change with it. When binding and allocating further memory, the CPU binding should be performed again in case the memory binding altered the previously-selected CPU binding.</p>
+<p>Not all operating systems support the notion of a "current" memory binding policy for the current process, but such operating systems often still provide a way to allocate data on a given node set. Conversely, some operating systems support the notion of a "current" memory binding policy and do not permit allocating data on a specific node set without changing the current policy and allocate the data. To provide the most powerful coverage of these facilities, hwloc provides:</p>
+<ul>
+<li>
+functions that set/get the current memory binding policies (if supported): hwloc_set/get_membind_*() and hwloc_set/get_proc_membind() </li>
+<li>
+functions that allocate memory bound to specific node set without changing the current memory binding policy (if supported): <a class="el" href="a00159.html#ga04736461780fadcf193af218c0122273" title="Allocate some memory on NUMA memory nodes specified by set. ">hwloc_alloc_membind()</a> and <a class="el" href="a00159.html#ga0ff3076f7f3633637699b809bcceceb1" title="Allocate some memory on NUMA memory nodes specified by nodeset. ">hwloc_alloc_membind_nodeset()</a>. </li>
+<li>
+helpers which, if needed, change the current memory binding policy of the process in order to obtain memory binding: <a class="el" href="a00159.html#gab1b77b8408bacaf03c7e8878f7577922" title="Allocate some memory on NUMA memory nodes specified by set. ">hwloc_alloc_membind_policy()</a> and <a class="el" href="a00159.html#ga7d473e80f11d774421688e36e9926136" title="Allocate some memory on NUMA memory nodes specified by nodeset. ">hwloc_alloc_membind_policy_nodeset()</a> </li>
+</ul>
+<p>An application can thus use the two first sets of functions if it wants to manage separately the global process binding policy and directed allocation, or use the third set of functions if it does not care about the process memory binding policy.</p>
+<p>See <a class="el" href="a00158.html">CPU binding</a> and <a class="el" href="a00159.html">Memory binding</a> for hwloc's API functions regarding CPU and memory binding, respectively. There are some examples under doc/examples/ in the source tree. </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): I/O Devices</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">I/O Devices </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>hwloc usually manipulates processing units and memory but it can also discover I/O devices and report their locality as well. This is useful for placing I/O intensive applications on cores near the I/O devices they use, or for gathering information about all platform components.</p>
+<p>
+</div><div class="section" id="iodevices_enabling">
+ </p>
+<h1><a class="anchor" id="iodevices_enabling"></a>
+Enabling and requirements</h1>
+<p>I/O discovery is disabled by default (except in lstopo) so as not to break legacy application by adding unexpected I/O objects to the topology. It can be enabled by passing flags such as <code><a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41" title="Detect PCI devices. ">HWLOC_TOPOLOGY_FLAG_IO_DEVICES</a></code> to <a class="el" href="a00154.html#gaaeed4df656979e5f16befea9d29b814b" title="Set OR'ed flags to non-yet-loaded topology. ">hwloc_topology_set_flags()</a> before loading the topology.</p>
+<p>Note that I/O discovery requires significant help from the operating system. The pciaccess library (the development package is usually <code>libpciaccess-devel</code> or <code>libpciaccess-dev</code>) is needed to fully detect PCI devices and bridges. On Linux, PCI discovery may still be performed even if <code>libpciaccess</code> cannot be used. But it misses PCI device names. Moreover, some operating systems require privileges for probing PCI devices, see <a class="el" href="a00323.html#faq_privileged">Does hwloc require privileged access?</a> for details.</p>
+<p>The actual locality of I/O devices is only currently detected on Linux. Other operating system will just report I/O devices as being attached to the topology root object.</p>
+<p>
+</div><div class="section" id="iodevices_objects">
+ </p>
+<h1><a class="anchor" id="iodevices_objects"></a>
+I/O objects</h1>
+<p>When I/O discovery is enabled and supported, some additional objects are added to the topology. The corresponding I/O object types are: </p><ul>
+<li>
+<code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075" title="Operating system device. These objects have neither CPU sets nor node sets. They are not added to the...">HWLOC_OBJ_OS_DEVICE</a></code> describes an operating-system-specific handle such as the <em>sda</em> drive or the <em>eth0</em> network interface. See <a class="el" href="a00313.html#iodevices_osdev">OS devices</a>. </li>
+<li>
+<code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9" title="PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unl...">HWLOC_OBJ_PCI_DEVICE</a></code> and <code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0" title="Bridge. Any bridge that connects the host or an I/O bus, to another I/O bus. Bridge objects have neit...">HWLOC_OBJ_BRIDGE</a></code> build up a PCI hierarchy made of devices and bridges. See <a class="el" href="a00313.html#iodevices_pci">PCI devices and bridges</a>. </li>
+<li>
+<code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d" title="Miscellaneous objects. Objects without particular meaning, that can e.g. be added by the application ...">HWLOC_OBJ_MISC</a></code> describes miscellaneous devices such as memory modules (DIMMs). These are neither PCI nor OS handles, therefore they appear as Misc objects. See <a class="el" href="a00314.html#miscobjs_auto">Misc objects added by hwloc</a>. </li>
+</ul>
+<p>hwloc tries to attach these new objects to normal objects (usually NUMA nodes) to match their actual physical location. For instance, if a I/O Hub is physically connected to a package, the corresponding hwloc bridge object (and its PCI bridges and devices children) is inserted as a child of the corresponding hwloc Package object.</p>
+<p>I/O objects also have neither CPU sets nor node sets (NULL pointers) because they are not directly usable by the user applications for binding. Moreover I/O hierarchies may be highly complex (asymmetric trees of bridges). So I/O objects are placed in specific levels with custom depths. Their lists may still be traversed with regular helpers such as <a class="el" href="a00155.html#ga759e88eaf5a230ad283e9d4c42486735" title="Returns the next object of type type. ">hwloc_get_next_obj_by_type()</a>. However, hwloc offers some dedicated helpers such as <a class="el" href="a00173.html#ga66470dabce9db19a57c5940a909d0baa" title="Get the next PCI device in the system. ">hwloc_get_next_pcidev()</a> and <a class="el" href="a00173.html#ga8b4584c8949e2c5f1c97ba7fe92b8145" title="Get the next OS device in the system. ">hwloc_get_next_osdev()</a> for convenience (see <a class="el" href="a00173.html">Finding I/O objects</a>).</p>
+<p>
+</div><div class="section" id="iodevices_osdev">
+ </p>
+<h1><a class="anchor" id="iodevices_osdev"></a>
+OS devices</h1>
+<p>Although each PCI device is uniquely identified by its bus ID (e.g. 0000:01:02.3), a user-space application can hardly find out which PCI device it is actually using. Applications rather use software handles (such as the <em>eth0</em> network interface, the <em>sda</em> hard drive, or the <em>mlx4_0</em> OpenFabrics HCA). Therefore hwloc tries to add software devices (<code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075" title="Operating system device. These objects have neither CPU sets nor node sets. They are not added to the...">HWLOC_OBJ_OS_DEVICE</a></code>, also known as OS devices) below their PCI objects.</p>
+<p>hwloc first tries to discover OS devices from the operating system, e.g. <em>eth0</em>, <em>sda</em> or <em>mlx4_0</em>. However, this ability is currently only available on Linux for some classes of devices.</p>
+<p>hwloc then tries to discover software devices through additional I/O components using external libraries. For instance proprietary graphics drivers do not expose any named OS device, but hwloc may still create one OS object per software handle when supported. For instance the <code>opencl</code> and <code>cuda</code> components may add some <em>opencl0d0</em> and <em>cuda0</em> OS device objects.</p>
+<p>Here is a list of OS device objects commonly created by hwloc components when I/O discovery is enabled and supported.</p>
+<ul>
+<li>
+Hard disks (<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871" title="Operating system block device. For instance "sda" on Linux. ">HWLOC_OBJ_OSDEV_BLOCK</a>) <ul>
+<li>
+<em>sda</em> (Linux component) </li>
+</ul>
+</li>
+<li>
+Network interfaces (<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b" title="Operating system network device. For instance the "eth0" interface on Linux. ">HWLOC_OBJ_OSDEV_NETWORK</a>) <ul>
+<li>
+<em>eth0</em>, <em>wlan0</em>, <em>ib0</em> (Linux component) </li>
+</ul>
+</li>
+<li>
+OpenFabrics (InfiniBand, Omni-Path, usNIC, etc) HCAs (<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6" title="Operating system openfabrics device. For instance the "mlx4_0" InfiniBand HCA, or "hfi1_0" Omni-Path ...">HWLOC_OBJ_OSDEV_OPENFABRICS</a>) <ul>
+<li>
+<em>mlx5_0</em>, <em>hfi1_0</em>, <em>qib0</em>, <em>usnic_0</em> (Linux component) </li>
+</ul>
+</li>
+<li>
+GPUs (<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90" title="Operating system GPU device. For instance ":0.0" for a GL display, "card0" for a Linux DRM device...">HWLOC_OBJ_OSDEV_GPU</a>) <ul>
+<li>
+<em>nvml0</em> for the first NVML device (NVML component, using the NVIDIA Management Library) </li>
+<li>
+<em>:0.0</em> for the first display (GL component, using the NV-CONTROL X extension library, NVCtrl) </li>
+</ul>
+</li>
+<li>
+Co-Processors (<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83" title="Operating system co-processor device. For instance "mic0" for a Xeon Phi (MIC) on Linux...">HWLOC_OBJ_OSDEV_COPROC</a>) <ul>
+<li>
+<em>opencl0d0</em> for the first device of the first OpenCL platform, <em>opencl1d3</em> for the fourth device of the second OpenCL platform (OpenCL component) </li>
+<li>
+<em>cuda0</em> for the first NVIDIA CUDA device (CUDA component, using the NVIDIA CUDA Library) </li>
+<li>
+<em>mic0</em> for the first Intel Xeon Phi (MIC) coprocessor (Linux component) </li>
+</ul>
+</li>
+<li>
+DMA engine channel (<a class="el" href="a00151.html#gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791" title="Operating system dma engine device. For instance the "dma0chan0" DMA channel on Linux. ">HWLOC_OBJ_OSDEV_DMA</a>) <ul>
+<li>
+<em>dma0chan0</em> (Linux component) when full I/O discovery is enabled (<a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9" title="Detect the whole PCI hierarchy. ">HWLOC_TOPOLOGY_FLAG_WHOLE_IO</a>) </li>
+</ul>
+</li>
+</ul>
+<p>When none of the above strategies is supported and enabled, hwloc cannot place any OS object inside PCI objects. Note that some PCI devices may contain multiple software devices (see the example below).</p>
+<p>See also <a class="el" href="a00319.html">Interoperability With Other Software</a> for managing these devices without considering them as hwloc objects.</p>
+<p>
+</div><div class="section" id="iodevices_pci">
+ </p>
+<h1><a class="anchor" id="iodevices_pci"></a>
+PCI devices and bridges</h1>
+<p>A PCI hierarchy is usually organized as follows: A hostbridge object ( <code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0" title="Bridge. Any bridge that connects the host or an I/O bus, to another I/O bus. Bridge objects have neit...">HWLOC_OBJ_BRIDGE</a></code> object with upstream type <em>Host</em> and downstream type <em>PCI</em>) is attached below a normal object (usually the entire machine or a NUMA node). There may be multiple hostbridges in the machine, attached to different places, but all PCI devices are below one of them.</p>
+<p>Each hostbridge contains one or several children, either other bridges (usually PCI to PCI) or PCI devices (<code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9" title="PCI device. These objects have neither CPU sets nor node sets. They are not added to the topology unl...">HWLOC_OBJ_PCI_DEVICE</a></code>). The number of bridges between the hostbridge and a PCI device depends on the machine and on the topology flags.</p>
+<p>
+</div><div class="section" id="iodevices_consult">
+ </p>
+<h1><a class="anchor" id="iodevices_consult"></a>
+Consulting I/O devices and binding</h1>
+<p>I/O devices may be consulted by traversing the topology manually (with usual routines such as <a class="el" href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2" title="Returns the topology object at logical index idx with type type. ">hwloc_get_obj_by_type()</a>) or by using dedicated helpers (such as <a class="el" href="a00173.html#gacdbaf0db98872e224b7883a84bfb0455" title="Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id...">hwloc_get_pcidev_by_busid()</a>, see <a class="el" href="a00173.html">Finding I/O objects</a>).</p>
+<p>I/O objects do not actually contain any locality information because their CPU sets and node sets are NULL. Their locality must be retrieved by walking up the object tree (through the <code>parent</code> link) until an non-I/O object is found (see <a class="el" href="a00173.html#gaf139bb61375178e90cc3f1835b452ab6" title="Get the first non-I/O ancestor object. ">hwloc_get_non_io_ancestor_obj()</a>). This regular object should have non-NULL CPU sets and node sets which describe the processing units and memory that are immediately close to the I/O device. For instance the path from a OS device to its locality may go across a PCI device parent, one or several bridges, up to a NUMA node with the same locality.</p>
+<p>Command-line tools are also aware of I/O devices. lstopo displays the interesting ones by default (passing <code>--no-io</code> disables it).</p>
+<p>hwloc-calc and hwloc-bind may manipulate I/O devices specified by PCI bus ID or by OS device name. </p><ul>
+<li>
+<code>pci=0000:02:03.0</code> is replaced by the set of CPUs that are close to the PCI device whose bus ID is given. </li>
+<li>
+<code>os=eth0</code> is replaced by CPUs that are close to the I/O device whose software handle is called <code>eth0</code>. </li>
+</ul>
+<p>This enables easy binding of I/O-intensive applications near the device they use.</p>
+<p>
+</div><div class="section" id="iodevices_examples">
+ </p>
+<h1><a class="anchor" id="iodevices_examples"></a>
+Examples</h1>
+<p>The following picture shows a dual-package dual-core host whose PCI bus is connected to the first package and NUMA node.</p>
+<div class="image">
+<img src="devel09-pci.png" alt="devel09-pci.png"/>
+</div>
+ <p>Six interesting PCI devices were discovered. However hwloc found some corresponding software devices (<em>eth0</em>, <em>eth1</em>, <em>sda</em>, <em>mlx4_0</em>, <em>ib0</em>, and <em>ib1</em>) for only four of these physical devices. The other ones (<em>PCI 102b:0532</em> and <em>PCI 8086:3a20</em>) are an unused IDE controller (no disk attached) and a graphic card (no corresponding software device reported to the user by the operating system).</p>
+<p>On the contrary, it should be noted that three different software devices were found for the last PCI device (<em>PCI 15b3:634a</em>). Indeed this OpenFabrics HCA PCI device object contains one one OpenFabrics software device (<em>mlx4_0</em>) and two virtual network interface software devices (<em>ib0</em> and <em>ib1</em>).</p>
+<p>Here is the corresponding textual output:</p>
+<pre class="fragment">Machine (24GB total)
+ NUMANode L#0 (P#0 12GB)
+ Package L#0 + L3 L#0 (8192KB)
+ L2 L#0 (256KB) + L1 L#0 (32KB) + Core L#0 + PU L#0 (P#0)
+ L2 L#1 (256KB) + L1 L#1 (32KB) + Core L#1 + PU L#1 (P#2)
+ HostBridge L#0
+ PCIBridge
+ PCI 14e4:163b
+ Net L#0 "eth0"
+ PCI 14e4:163b
+ Net L#1 "eth1"
+ PCIBridge
+ PCI 1000:0060
+ Block L#2 "sda"
+ PCIBridge
+ PCI 102b:0532
+ PCI 8086:3a20
+ PCI 15b3:634a
+ Net L#3 "ib0"
+ Net L#4 "ib1"
+ Net L#5 "mlx4_0"
+ NUMANode L#1 (P#1 12GB) + Package L#1 + L3 L#1 (8192KB)
+ L2 L#2 (256KB) + L1 L#2 (32KB) + Core L#2 + PU L#2 (P#1)
+ L2 L#3 (256KB) + L1 L#3 (32KB) + Core L#3 + PU L#3 (P#3)
+</pre> </div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Miscellaneous objects</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Miscellaneous objects </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>hwloc topologies may be annotated with Misc objects (of type <code><a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d" title="Miscellaneous objects. Objects without particular meaning, that can e.g. be added by the application ...">HWLOC_OBJ_MISC</a></code>) either automatically or by the user. This is an flexible way to annotate topologies with large sets of information since Misc objects may be inserted anywhere in the topology (to annotate specific objects or parts of the topology), even below other Misc objects, and each of them may contain multiple attributes (see also <a class="el" href="a00323.html#faq_annotate">How do I annotate the topology with private notes?</a>).</p>
+<p>These Misc objects may have a <code>Type</code> info attribute to replace <code>Misc</code> with something else in the lstopo output.</p>
+<p>
+</div><div class="section" id="miscobjs_auto">
+ </p>
+<h1><a class="anchor" id="miscobjs_auto"></a>
+Misc objects added by hwloc</h1>
+<p>hwloc only uses Misc objects when other object types are not sufficient. This currently includes: </p><ul>
+<li>
+Memory modules (DIMMs), on Linux when privileged and when <code>dmi-sysfs</code> is supported by the kernel, and when I/O discovery is enabled. These objects have a <code>Type</code> info attribute of value <code>MemoryModule</code>. They are currently always attached to the root object. Their attributes describe the DIMM vendor, model, etc. <code>lstopo -v</code> displays them as: <div class="fragment"><div class="line">Misc(MemoryModule) (P#1 Type=MemoryModule DeviceLocation=<span class="stringliteral">"Bottom-Slot 2(right)"</span> BankLocation=<span class="stringliteral">"BANK 2"</span> Vendor=Elpida SerialNumber=21733667 AssetTag=9876543210 PartNumber=<span class="stringliteral">"EBJ81UG8EFU0-GN-F "</span>)</div></div><!-- fragment --> </li>
+<li>
+Displaying process binding in <code>lstopo --top</code>. These objects have a <code>Type</code> info attribute of value <code>Process</code> and a name attribute made of their PID and program name. They are attached below the object they are bound to. The textual <code>lstopo</code> displays them as: <div class="fragment"><div class="line">PU L#0 (P#0)</div><div class="line"> Misc(Process) 4445 myprogram</div></div><!-- fragment --> </li>
+</ul>
+<p>
+</div><div class="section" id="miscobjs_annotate">
+ </p>
+<h1><a class="anchor" id="miscobjs_annotate"></a>
+Annotating topologies with Misc objects</h1>
+<p>The user may annotate hwloc topologies with its own Misc objects. A Misc object may be inserted anywhere in the topology by specifying its CPU set (using <code><a class="el" href="a00160.html#ga77c753751f3b90fac14117523fe604df" title="Add a MISC object to the topology. ">hwloc_topology_insert_misc_object_by_cpuset()</a></code>). Or it may be inserted as a leaf of the topology by specifying its parent (with <code><a class="el" href="a00160.html#ga1472cdf93327dfff4b5b2aedfde29cf3" title="Add a MISC object as a leaf of the topology. ">hwloc_topology_insert_misc_object_by_parent()</a></code>). </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Multi-node Topologies</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Multi-node Topologies </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>hwloc is usually used for consulting and manipulating single machine topologies. This includes large systems as long as a single instance of the operating system manages the entire system. However it is sometimes desirable to have multiple independent hosts inside the same topology, for instance when applying algorithms to an entire cluster topology. hwloc therefore offers the ability to agregate multiple host topologies into a single global one.</p>
+<dl class="section note"><dt>Note</dt><dd><b> The multinode interface has been removed from hwloc starting with release 2.0.0. </b></dd></dl>
+<p>
+</div><div class="section" id="multinode_cpusets">
+ </p>
+<h1><a class="anchor" id="multinode_cpusets"></a>
+Multi-node Objects Specifities</h1>
+<p>A multi-node topology contains several single-node topologies. Those are assembled by making their own root objects (usually Machine object) children of higher objects. These higher objects include at least the root of the global topology (usually a System object). Some intermediate objects may also exists, for instance to represent switches in a large fabric.</p>
+<p>There are actually three possible types of objects that have different properties with respect to cpusets, nodesets and binding. Indeed those cpusets and nodesets were designed for execution and memory binding within a single operating system. Binding on another system or across several different systems would be meaningless.</p>
+<dl>
+<dt>Local objects </dt>
+<dd>Any object that corresponds to the local machine may be manipulated as usual. Obviously, if the multi-node topology does not contain the local machine topology, no such local object exists. </dd>
+<dt>Objects from other nodes </dt>
+<dd>Any object that comes from inside another node is represented as usual but its cpusets and nodesets should not be used for binding since binding on another system makes no sense. </dd>
+<dt>Objects above single nodes </dt>
+<dd>Any object above single-node topologies does not have any cpuset or nodeset pointer because binding across multiple systems makes no sense. This includes the glocal root object of a multi-node topology and possibly some intermediate objects between this global root and the local root of single-node topologies. </dd>
+</dl>
+<p>It is important to keep this in mind before binding using multi-node topologies. To make sure binding on an object is possible, one should first check that its cpuset or nodeset pointer is not NULL. Then, one should check whether the object is indeed local.</p>
+<p>To find out which machine a given object corresponds to, one may look at the info attributes of the parent Machine object. The <code>HostName</code> info is usually available in Machine objects, it may be retrieved with the following code: </p><pre class="fragment"> hwloc_obj_t machine_obj;
+ obj = hwloc_get_ancestor_obj_by_type(topology, HWLOC_OBJ_MACHINE, obj);
+ if (machine_obj)
+ return hwloc_obj_get_info_by_name(machine_obj, "HostName");
+ else
+ return NULL;
+</pre><p> The hwloc assembler scripts (see below) also add <code>AssemblerName</code> and <code>AssemblerIndex</code> info attributes to the Machine objects to identify the corresponding host name and index during assembly.</p>
+<p>
+</div><div class="section" id="multinode_tools">
+ </p>
+<h1><a class="anchor" id="multinode_tools"></a>
+Assembling topologies with command-line tools</h1>
+<p>One way to manipulate multinode topologies is to retrieve other nodes' topologies as XML files and combine them as a global XML topology. It may then be loaded with <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> or with the HWLOC_XMLFILE environment variable.</p>
+<p>The hwloc-assembler and hwloc-assembler-remote utilities offer the ability to combine XML topologies or remote nodes' topologies (see <a class="el" href="a00310.html">Command-Line Tools</a>).</p>
+<p>
+</div><div class="section" id="multinode_interface">
+ </p>
+<h1><a class="anchor" id="multinode_interface"></a>
+Assembling topologies with the programming interface</h1>
+<p>The hwloc programming interface offers the ability to build multinode topologies using the <em>custom</em> interface. A new multinode topology has to be initialized with <a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa" title="Allocate a topology context. ">hwloc_topology_init()</a> and then set to custom with <a class="el" href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f" title="Prepare the topology for custom assembly. ">hwloc_topology_set_custom()</a>. Topologies and objects mat then be assembled. Later, the custom topology is finalized as usual with <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>.</p>
+<p>A custom topology starts with a single root object of type System. It may be modified by inserting a new child object with <a class="el" href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73" title="Insert a new group object inside a custom topology. ">hwloc_custom_insert_group_object_by_parent()</a> or by duplicating another topology with <a class="el" href="a00161.html#ga58220f648a972140865d11940bccec81" title="Insert an existing topology inside a custom topology. ">hwloc_custom_insert_topology()</a>. Both of these operations require to specify the parent object in the custom topology where the insertion will take place. This parent may be either the root (returned by <a class="el" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d" title="Returns the top-object of the topology-tree. ">hwloc_get_root_obj()</a>) or an already-inserted object (returned by <a class="el" href="a00161.html#ga60c404d4f0544e1070f549af8be6bd73" title="Insert a new group object inside a custom topology. ">hwloc_custom_insert_group_object_by_parent()</a>).</p>
+<p>Ideally, any existing object in the custom topology could be the parent. However, special care should be taken when traversing the topology to find such an object because most links between objects (children, siblings, cousins) are not setup until <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> is invoked.</p>
+<p>
+</div><div class="section" id="multinode_example">
+ </p>
+<h1><a class="anchor" id="multinode_example"></a>
+Example of assembly with the programming interface</h1>
+<p>If the topologies of two hosts have been previously gathered in XML files <code>host1.xml</code> and <code>host2.xml</code>, the global topology may be assembled with the following code.</p>
+<pre class="fragment">hwloc_topology_t host1, host2, global;
+
+/* initialize global topology */
+hwloc_topology_init(&global);
+hwloc_topology_set_custom(global);
+
+/* insert host1 entire topology below the global topology root */
+hwloc_topology_init(&host1);
+hwloc_topology_load(host1);
+hwloc_custom_insert_topology(global, hwloc_get_root_obj(global),
+ host1, NULL);
+hwloc_topology_destroy(host1);
+
+/* insert host2 entire topology below the global topology root */
+hwloc_topology_init(&host2);
+hwloc_topology_load(host2);
+hwloc_custom_insert_topology(global, hwloc_get_root_obj(global),
+ host2, NULL);
+hwloc_topology_destroy(host2);
+
+/* load and play with the global topology */
+hwloc_topology_load(global);
+...
+</pre><p>If a intermediate object such as a switch should be inserted above one of the host topologies: </p><pre class="fragment">...
+/* insert a switch object below the global topology root */
+hwloc_obj_t sw =
+ hwloc_custom_insert_group_object_by_parent(global,
+ hwloc_get_root_obj(global), 0);
+
+/* insert host2 entire topology below the switch */
+hwloc_topology_init(&host2);
+hwloc_topology_load(host2);
+hwloc_custom_insert_topology(global, switch, host2, NULL);
+hwloc_topology_destroy(host2);
+
+/* load and play with the global topology */
+hwloc_topology_load(global);
+...
+</pre> </div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Object attributes</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Object attributes </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section" id="attributes_normal">
+ </p>
+<h1><a class="anchor" id="attributes_normal"></a>
+Normal attributes</h1>
+<p>hwloc objects have many attributes. The <a class="el" href="a00204.html" title="Structure of a topology object. ">hwloc_obj</a> structure contains a common set of attributes that are available for object types, for instance their <code>type</code> or <code>logical_index</code>.</p>
+<p>Each object also contains an <code>attr</code> field that, if non NULL, points to a union <a class="el" href="a00208.html" title="Object type-specific Attributes. ">hwloc_obj_attr_u</a> of type-specific attribute structures. For instance, a Cache object <code>obj</code> contains cache-specific information in <code>obj->attr->cache</code>, such as its size and associativity. See <a class="el" href="a00208.html" title="Object type-specific Attributes. ">hwloc_obj_attr_u</a> for details.</p>
+<p>
+</div><div class="section" id="attributes_info">
+ </p>
+<h1><a class="anchor" id="attributes_info"></a>
+Custom string infos</h1>
+<p>Aside from the <code>name</code> field of each object, hwloc annotates many objects with string attributes that are made of a key and a value. Each object contains a list of such pairs that may be consulted manually (looking at the object <code>infos</code> array field) or using the <a class="el" href="a00157.html#gab358661a92bb27d8542b255cc9f6f25e" title="Search the given key name in object infos and return the corresponding value. ">hwloc_obj_get_info_by_name()</a>. The user may additionally add new key-value pairs to any object using <a class="el" href="a00157.html#ga7e90c5398a9d77df31d7d45faf0f316b" title="Add the given info name and value pair to the given object. ">hwloc_obj_add_info()</a> or the <a class="el" href="a00310.html#cli_hwloc_annotate">hwloc-annotate</a> program.</p>
+<p>Here is a non-exhaustive list of attributes that may be automatically added by hwloc (with the usual corresponding object in parentheses). Note that these attributes heavily depend on the ability of the operating system to report them. Many of them will therefore be missing on some OS. </p><dl>
+<dt>OSName, OSRelease, OSVersion, HostName, Architecture (Machine object) </dt>
+<dd>The operating system name, release, version, the hostname and the architecture name, as reported by the Unix <code>uname</code> command. </dd>
+<dt>Backend (Machine object, topology root object, or specific object added by that backend) </dt>
+<dd>The name of the hwloc backend/component that filled the topology. If several components were combined, multiple Backend keys may exist, with different values, for instance <code>x86</code> and <code>Linux</code> in the root object and <code>CUDA</code> in CUDA OS device objects. </dd>
+<dt>LinuxCgroup (Machine object) </dt>
+<dd>The name the Linux control group where the calling process is placed. </dd>
+<dt>SyntheticDescription (topology root object) </dt>
+<dd>The description string that was given to hwloc to build this synthetic topology. </dd>
+<dt>CPUModel (Package or Machine) </dt>
+<dd>The processor model name. Usually added to Package objects, but can be in Machine instead if hwloc failed to discover any package. </dd>
+<dt>CPUType (Package) </dt>
+<dd>A Solaris-specific general processor type name, such as "i86pc". </dd>
+<dt>CPUVendor, CPUModelNumber, CPUFamilyNumber, CPUStepping (Package or Machine) </dt>
+<dd>The processor vendor name, model number, family number, and stepping number. Currently available for x86 and Xeon Phi processors on most systems, and for ia64 processors on Linux (except CPUStepping). Usually added to Package objects, but can be in Machine instead if hwloc failed to discover any package. </dd>
+<dt>CPURevision (Package) </dt>
+<dd>A POWER/PowerPC-specific general processor revision number, currently only available on Linux. </dd>
+<dt>PlatformName, PlatformModel, PlatformVendor, PlatformBoardID, PlatformRevision, </dt>
+<dd></dd>
+<dt>SystemVersionRegister, ProcessorVersionRegister (Machine) </dt>
+<dd>Some POWER/PowerPC-specific attributes describing the platform and processor. Currently only available on Linux. Usually added to Package objects, but can be in Machine instead if hwloc failed to discover any package. </dd>
+<dt>MemoryMode, ClusterMode (topology root object) </dt>
+<dd><p class="startdd">Intel Xeon Phi processor configuration modes. Available if hwloc-dump-hwdata was used (see <a class="el" href="a00323.html#faq_knl_dump">Why do I need hwloc-dump-hwdata for memory on Intel Xeon Phi processor?</a>) or if hwloc managed to guess them from the NUMA configuration.</p>
+<p class="enddd">The memory mode may be <em>Cache</em>, <em>Flat</em>, <em>Hybrid50</em> (half the MCDRAM is used as a cache) or <em>Hybrid25</em> (25% of MCDRAM as cache). The cluster mode may be <em>Quadrant</em>, <em>Hemisphere</em>, <em>All2All</em>, <em>SNC2</em> or <em>SNC4</em>. See doc/examples/get-knl-modes.c in the source directory for an example of retrieving these attributes. </p>
+</dd>
+<dt>Inclusive (Caches) </dt>
+<dd>The inclusiveness of a cache (1 if inclusive, 0 otherwise). Currently only available on x86 processors. </dd>
+<dt>SolarisProcessorGroup (Group) </dt>
+<dd>The Solaris kstat processor group name that was used to build this Group object. </dd>
+<dt>PCIVendor, PCIDevice (PCI devices and bridges) </dt>
+<dd>The vendor and device names of the PCI device. </dd>
+<dt>PCISlot (PCI devices or Bridges) </dt>
+<dd>The name/number of the physical slot where the device is plugged. If the physical device contains PCI bridges above the actual PCI device, the attribute may be attached to the highest bridge (i.e. the first object that actually appears below the physical slot). </dd>
+<dt>Vendor, Model, Revision, SerialNumber (Block OS devices) </dt>
+<dd>The vendor and model names, revision, and serial number of a Block OS device. </dd>
+<dt>LinuxDeviceID (Block OS devices) </dt>
+<dd>The major/minor device number such as 8:0 of Linux device. </dd>
+<dt>CoProcType (Co-Processor OS devices) </dt>
+<dd>The type of co-processor, for instance <code>"MIC"</code>, <code>"CUDA"</code> or <code>"OpenCL"</code>. </dd>
+<dt>GPUVendor, GPUModel (GPU or Co-Processor OS devices) </dt>
+<dd>The vendor and model names of the GPU device. </dd>
+<dt>OpenCLDeviceType, OpenCLPlatformIndex, </dt>
+<dd></dd>
+<dt>OpenCLPlatformName, OpenCLPlatformDeviceIndex (OpenCL OS devices) </dt>
+<dd>The type of OpenCL device, the OpenCL platform index and name, and the index of the device within the platform. </dd>
+<dt>OpenCLComputeUnits, OpenCLGlobalMemorySize (OpenCL OS devices) </dt>
+<dd>The number of compute units and global memory size (in kB) of an OpenCL device. </dd>
+<dt>NVIDIAUUID, NVIDIASerial (NVML GPU OS devices) </dt>
+<dd>The UUID and Serial of NVIDIA GPUs. </dd>
+<dt>CUDAMultiProcessors, CUDACoresPerMP, </dt>
+<dd></dd>
+<dt>CUDAGlobalMemorySize, CUDAL2CacheSize, CUDASharedMemorySizePerMP (CUDA OS devices) </dt>
+<dd>The number of shared multiprocessors, the number of cores per multiprocessor, the global memory size, the (global) L2 cache size, and size of the shared memory in each multiprocessor of a CUDA device. Sizes are in kB. </dd>
+<dt>MICSerialNumber (MIC coprocessor OS device) </dt>
+<dd>The serial number of an Intel Xeon Phi (MIC) coprocessor. hwloc may run either inside the coprocessor itself, or on the host processor. That attribute is set in both cases, so that the exact same coprocessor may be identified from both point of views, even if there are multiple nodes with multiple MICs. When running hwloc on the host, each hwloc OS device object that corresponds to a Xeon Phi gets such an attribute. When running hwloc inside a Xeon Phi coprocessor, the root object of the topology gets this attribute. </dd>
+<dt>MICFamily, MICSKU, MICActiveCores, MICMemorySize (MIC coprocessor OS device) </dt>
+<dd>The family, SKU (model), number of active cores, and memory size (in kB) of an Intel Xeon Phi (MIC) coprocessor. </dd>
+<dt>DMIBoardVendor, DMIBoardName, etc. (Machine object) </dt>
+<dd>DMI hardware information such as the motherboard and chassis models and vendors, the BIOS revision, etc., as reported by Linux under <code>/sys/class/dmi/id/</code>. </dd>
+<dt>Address, Port (Network interface OS devices) </dt>
+<dd>The MAC address and the port number of a software network interface, such as <code>eth4</code> on Linux. </dd>
+<dt>NodeGUID, SysImageGUID, Port1State, Port2LID, Port2LMC, Port3GID1 (OpenFabrics OS devices) </dt>
+<dd>The node GUID and GUID mask, the state of a port #1 (value is 4 when active), the LID and LID mask count of port #2, and GID #1 of port #3. </dd>
+<dt>Type </dt>
+<dd>A better type name than the usual one. This may be used to specify where Groups come from. For instance Linux S/390 <em>books</em> appear as Groups of type <em>Book</em> (see also <a class="el" href="a00323.html#faq_groups">What are these Group objects in my topology?</a>). Block OS devices may have a Type of "Disk", "Tape", "Removable Media Device" or "Other". The Type attribute value is displayed instead of the default object type name in lstopo. </dd>
+<dt>Vendor, AssetTag, PartNumber, DeviceLocation, BankLocation (MemoryModule Misc objects) </dt>
+<dd>Information about memory modules (DIMMs) extracted from SMBIOS. </dd>
+<dt>hwlocVersion (topology root, Machine object) </dt>
+<dd>The version number of the hwloc library that was used to generate the topology. If the topology was loaded from XML, this is not the hwloc version that loaded it, but rather the first hwloc instance that exported the topology to XML earlier. </dd>
+<dt>ProcessName (topology root, Machine object) </dt>
+<dd>The name of the process that contains the hwloc library that was used to generate the topology. If the topology was from XML, this is not the hwloc process that loaded it, but rather the first process that exported the topology to XML earlier. </dd>
+</dl>
+<p>Here is a non-exhaustive list of user-provided info attributes that have a special meaning: </p><dl>
+<dt>lstopoStyle </dt>
+<dd>Enforces the style of an object (background and text colors) in the graphical output of lstopo. See CUSTOM COLORS in the lstopo(1) manpage for details. </dd>
+</dl>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Importing and exporting topologies from/to XML files</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Importing and exporting topologies from/to XML files </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>hwloc offers the ability to export topologies to XML files and reload them later. This is for instance useful for loading topologies faster (see <a class="el" href="a00323.html#faq_xml">I do not want hwloc to rediscover my enormous machine topology every time I rerun a process</a>), manipulating other nodes' topology, or avoiding the need for privileged processes (see <a class="el" href="a00323.html#faq_privileged">Does hwloc require privileged access?</a>).</p>
+<p>Topologies may be exported to XML files thanks to <a class="el" href="a00162.html#ga2bf166eda4d3605362ac86f77684002a" title="Export the topology into an XML file. ">hwloc_topology_export_xml()</a>, or to a XML memory buffer with <a class="el" href="a00162.html#ga7cbf8a2d8579d192911007650366fc8a" title="Export the topology into a newly-allocated XML memory buffer. ">hwloc_topology_export_xmlbuffer()</a>. The lstopo program can also serve as a XML topology export tool.</p>
+<p>XML topologies may then be reloaded later with <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> and <a class="el" href="a00154.html#ga2745616b65595e1c1e579ecc7e461fa8" title="Enable XML based topology using a memory buffer (instead of a file, as with hwloc_topology_set_xml())...">hwloc_topology_set_xmlbuffer()</a>. The HWLOC_XMLFILE environment variable also tells hwloc to load the topology from the given XML file.</p>
+<dl class="section note"><dt>Note</dt><dd>Loading XML topologies disables binding because the loaded topology may not correspond to the physical machine that loads it. This behavior may be reverted by asserting that loaded file really matches the underlying system with the HWLOC_THISSYSTEM environment variable or the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b" title="Assume that the selected backend provides the topology for the system on which we are running...">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> topology flag.</dd>
+<dd>
+The topology flag <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89" title="Get the set of allowed resources from the local operating system even if the topology was loaded from...">HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES</a> may be used to load a XML topology that contains the entire machine and restrict it to the part that is actually available to the current process (e.g. when Linux Cgroup/Cpuset are used to restrict the set of resources).</dd>
+<dd>
+hwloc also offers the ability to export/import <a class="el" href="a00187.html">Topology differences</a>.</dd>
+<dd>
+XML topology files are not localized. They use a dot as a decimal separator. Therefore any exported topology can be reloaded on any other machine without requiring to change the locale.</dd>
+<dd>
+XML exports contain all details about the platform. It means that two very similar nodes still have different XML exports (e.g. some serial numbers or MAC addresses are different). If a less precise exporting/importing is required, one may want to look at <a class="el" href="a00318.html">Synthetic topologies</a> instead.</dd></dl>
+<p>
+</div><div class="section" id="xml_backends">
+ </p>
+<h1><a class="anchor" id="xml_backends"></a>
+libxml2 and minimalistic XML backends</h1>
+<p>hwloc offers two backends for importing/exporting XML.</p>
+<p>First, it can use the libxml2 library for importing/exporting XML files. It features full XML support, for instance when those files have to be manipulated by non-hwloc software (e.g. a XSLT parser). The libxml2 backend is enabled by default if libxml2 development headers are available (the relevant development package is usually <code>libxml2-devel</code> or <code>libxml2-dev</code>).</p>
+<p>If libxml2 is not available at configure time, or if <code>--disable-libxml2</code> is passed, hwloc falls back to a custom backend. Contrary to the aforementioned full XML backend with libxml2, this minimalistic XML backend cannot be guaranteed to work with external programs. It should only be assumed to be compatible with the same hwloc release (even if using the libxml2 backend). Its advantage is however to always be available without requiring any external dependency.</p>
+<p>If libxml2 is available but the core hwloc library should not directly depend on it, the libxml2 support may be built as a dynamicall-loaded plugin. One should pass <code>--enable-plugins</code> to enable plugin support (when supported) and build as plugins all component that support it. Or pass <code>--enable-plugins=xml_libxml</code> to only build this libxml2 support as a plugin.</p>
+<p>
+</div><div class="section" id="xml_errors">
+ </p>
+<h1><a class="anchor" id="xml_errors"></a>
+XML import error management</h1>
+<p>Importing XML files can fail at least because of file access errors, invalid XML syntax or non-hwloc-valid XML contents.</p>
+<p>Both backend cannot detect all these errors when the input XML file or buffer is selected (when <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> or <a class="el" href="a00154.html#ga2745616b65595e1c1e579ecc7e461fa8" title="Enable XML based topology using a memory buffer (instead of a file, as with hwloc_topology_set_xml())...">hwloc_topology_set_xmlbuffer()</a> is called). Some errors such non-hwloc-valid contents can only be detected later when loading the topology with <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>.</p>
+<p>It is therefore strongly recommended to check the return value of both <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> (or <a class="el" href="a00154.html#ga2745616b65595e1c1e579ecc7e461fa8" title="Enable XML based topology using a memory buffer (instead of a file, as with hwloc_topology_set_xml())...">hwloc_topology_set_xmlbuffer()</a>) and <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a> to handle all these errors. </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Synthetic topologies</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Synthetic topologies </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>hwloc may load fake or remote topologies so as to consult them without having the underlying hardware available. Aside from loading XML topologies, hwloc also enables the building of <em>synthetic</em> topologies that are described by a single string listing the arity of each levels.</p>
+<p>For instance, lstopo may create a topology made of 2 NUMA nodes, containing a single package each, with one cache above two single-threaded cores:</p>
+<pre class="fragment">$ lstopo -i "node:2 pack:1 cache:1 core:2 pu:1" -
+Machine (2048MB)
+ NUMANode L#0 (P#0 1024MB) + Package L#0 + L2 L#0 (4096KB)
+ Core L#0 + PU L#0 (P#0)
+ Core L#1 + PU L#1 (P#1)
+ NUMANode L#1 (P#1 1024MB) + Package L#1 + L2 L#1 (4096KB)
+ Core L#2 + PU L#2 (P#2)
+ Core L#3 + PU L#3 (P#3)
+</pre><p>Replacing <code>-</code> with <code>file.xml</code> in this command line will export this topology to XML as usual.</p>
+<dl class="section note"><dt>Note</dt><dd>Synthetic topologies offer a very basic way to export a topology and reimport it on another machine. It is a lot less precise than XML but may still be enough when only the hierarchy of resources matters.</dd></dl>
+<p>
+</div><div class="section" id="synthetic_string">
+ </p>
+<h1><a class="anchor" id="synthetic_string"></a>
+Synthetic description string</h1>
+<p>Each item in the description string gives the type of the level and the number of such children under each object of the previous level. That is why the above topology contains 4 cores (2 cores times 2 nodes).</p>
+<p>These type names must be written as <code>machine</code>, <code>numanode</code>, <code>package</code>, <code>core</code>, <code>cache</code>, <code>pu</code>, <code>group</code>. They do not need to be written case-sensitively, nor entirely (as long as there is no ambiguity, 2 characters such as <code>ma</code> select a Machine level). Type-specific attributes may also be given such as <code>L2iCache</code> (<a class="el" href="a00156.html#ga8f8452fa8e707cad59b8a73a6fa06059" title="Return an object type and attributes from a type string. ">hwloc_obj_type_sscanf()</a> is used for parsing the type names). Note that I/O and Misc objects are not available.</p>
+<p>The root object does not appear in the string. A Machine object is used by default, and a System object replaces it if a Machine level is specified in the string.</p>
+<p>Cache level depths are automatically chosen by hwloc (only a L2 first, then a L1 under it, then L3 above, then L4 etc.) unless they are specified. Memory and cache sizes are also automatically chosen if needed.</p>
+<p>Each item may be followed parentheses containing a list of space-separated attributes. For instance: </p><ul>
+<li>
+<code>L2iCache:2(size=32kB)</code> specifies 2 children of 32kB level-2 instruction caches. The size may be specified in bytes (without any unit suffix) or as TB, GB, MB or kB. </li>
+<li>
+<code>NUMANode:3(memory=16MB)</code> specifies 3 NUMA nodes with 16MB each. The size may be specified in bytes (without any unit suffix) or as TB, GB, MB or kB. </li>
+<li>
+<code>PU:2(indexes=0,2,1,3)</code> specifies 2 PU children and the full list of OS indexes among the entire set of 4 PU objects. </li>
+<li>
+<code>PU:2(indexes=numa:core)</code> specifies 2 PU children whose OS indexes are interleaved by NUMA node first and then by package. </li>
+<li>
+Attributes in parentheses at the very beginning of the description apply to the root object. </li>
+</ul>
+<p>
+</div><div class="section" id="synthetic_use">
+ </p>
+<h1><a class="anchor" id="synthetic_use"></a>
+Loading a synthetic topology</h1>
+<p>Aside from lstopo, the hwloc programming interface offers the same ability by passing the synthetic description string to <a class="el" href="a00154.html#ga4fab186bb6181a00bcf585825fddd38d" title="Enable synthetic topology. ">hwloc_topology_set_synthetic()</a> before <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>.</p>
+<p>Synthetic topologies are created by the <code>synthetic</code> component. This component may be enabled by force by setting the HWLOC_COMPONENTS environment variable to something such as <code>synthetic="node:2 core:3 pu:4"</code>.</p>
+<p>Loading a synthetic topology disables binding support since the topology usually does not match the underlying hardware. Binding may be reenabled as usual by setting HWLOC_THISSYSTEM=1 in the environment or by setting the <a class="el" href="a00154.html#ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b" title="Assume that the selected backend provides the topology for the system on which we are running...">HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</a> topology flag.</p>
+<p>
+</div><div class="section" id="synthetic_export">
+ </p>
+<h1><a class="anchor" id="synthetic_export"></a>
+Exporting a topology as a synthetic string</h1>
+<p>The function <a class="el" href="a00163.html#ga24b7864a1c588309c4749f621f03b4c7" title="Export the topology as a synthetic string. ">hwloc_topology_export_synthetic()</a> may export a topology as a synthetic string. It offers a convenient way to quickly describe the contents of a machine. The lstopo tool may also perform such an export by forcing the output format.</p>
+<pre class="fragment">$ lstopo --of synthetic --no-io
+Package:1 Cache:1 Cache:2 Cache:1 Cache:1 Core:1 PU:2
+</pre><p>The exported string may be passed back to hwloc for recreating another similar topology. The entire tree will be similar, but some attributes such as the processor model will be missing.</p>
+<p>Such an export is only possible if the topology is totally symmetric, which means the <code>symmetric_subtree</code> field of the root object is set. This usually implies that I/O objects are disabled since attaching I/O busses often cause the topology to become asymmetric. Passing <code>--no-io</code> to lstopo is therefore often useful to make synthetic export work (as well as not passing any I/O topology flag before exporting with <a class="el" href="a00163.html#ga24b7864a1c588309c4749f621f03b4c7" title="Export the topology as a synthetic string. ">hwloc_topology_export_synthetic()</a>). </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Interoperability With Other Software</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Interoperability With Other Software </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>Although hwloc offers its own portable interface, it still may have to interoperate with specific or non-portable libraries that manipulate similar kinds of objects. hwloc therefore offers several specific "helpers" to assist converting between those specific interfaces and hwloc.</p>
+<p>Some external libraries may be specific to a particular OS; others may not always be available. The hwloc core therefore generally does not explicitly depend on these types of libraries. However, when a custom application uses or otherwise depends on such a library, it may optionally include the corresponding hwloc helper to extend the hwloc interface with dedicated helpers.</p>
+<p>Most of these helpers use structures that are specific to these external libraries and only meaningful on the local machine. If so, the helper requires the input topology to match the current machine. Some helpers also require I/O device discovery to be supported and enabled for the current topology.</p>
+<dl>
+<dt>Linux specific features </dt>
+<dd><p class="startdd"><a class="el" href="a00110_source.html" title="Macros to help interaction between hwloc and Linux. ">hwloc/linux.h</a> offers Linux-specific helpers that utilize some non-portable features of the Linux system, such as binding threads through their thread ID ("tid") or parsing kernel CPU mask files. </p>
+<p class="enddd"></p>
+</dd>
+<dt>Linux libnuma </dt>
+<dd><p class="startdd"><a class="el" href="a00113_source.html" title="Macros to help interaction between hwloc and Linux libnuma. ">hwloc/linux-libnuma.h</a> provides conversion helpers between hwloc CPU sets and libnuma-specific types, such as bitmasks. It helps you use libnuma memory-binding functions with hwloc CPU sets. </p>
+<p class="enddd"></p>
+</dd>
+<dt>Glibc </dt>
+<dd><p class="startdd"><a class="el" href="a00116_source.html" title="Macros to help interaction between hwloc and glibc scheduling routines. ">hwloc/glibc-sched.h</a> offers conversion routines between Glibc and hwloc CPU sets in order to use hwloc with functions such as sched_getaffinity() or pthread_attr_setaffinity_np(). </p>
+<p class="enddd"></p>
+</dd>
+<dt>OpenFabrics Verbs </dt>
+<dd><p class="startdd"><a class="el" href="a00137_source.html" title="Macros to help interaction between hwloc and OpenFabrics verbs. ">hwloc/openfabrics-verbs.h</a> helps interoperability with the OpenFabrics Verbs interface. For example, it can return a list of processors near an OpenFabrics device. It may also return the corresponding OS device hwloc object for further information (if I/O device discovery is enabled). </p>
+<p class="enddd"></p>
+</dd>
+<dt>Myrinet Express </dt>
+<dd><p class="startdd"><a class="el" href="a00140_source.html" title="Macros to help interaction between hwloc and Myrinet Express. ">hwloc/myriexpress.h</a> offers interoperability with the Myrinet Express interface. It can return the list of processors near a Myrinet board managed by the MX driver. Note that if I/O device discovery is enabled, such boards may also appear as PCI objects in the topology. </p>
+<p class="enddd"></p>
+</dd>
+<dt>Intel Xeon Phi (MIC) </dt>
+<dd><p class="startdd"><a class="el" href="a00134_source.html" title="Macros to help interaction between hwloc and Intel Xeon Phi (MIC). ">hwloc/intel-mic.h</a> helps interoperability with Intel Xeon Phi (MIC) coprocessors by returning the list of processors near these devices. It may also return the corresponding OS device hwloc object for further information (if I/O device discovery is enabled). </p>
+<p class="enddd"></p>
+</dd>
+<dt>AMD OpenCL </dt>
+<dd><p class="startdd"><a class="el" href="a00119_source.html" title="Macros to help interaction between hwloc and the OpenCL interface. ">hwloc/opencl.h</a> enables interoperability with the OpenCL interface. Only the AMD implementation currently offers locality information. It may return the list of processors near an AMD/ATI GPU given as a <code>cl_device_id</code>. It may also return the corresponding OS device hwloc object for further information (if I/O device discovery is enabled). </p>
+<p class="enddd"></p>
+</dd>
+<dt>NVIDIA CUDA </dt>
+<dd><p class="startdd"><a class="el" href="a00122_source.html" title="Macros to help interaction between hwloc and the CUDA Driver API. ">hwloc/cuda.h</a> and <a class="el" href="a00125_source.html" title="Macros to help interaction between hwloc and the CUDA Runtime API. ">hwloc/cudart.h</a> enable interoperability with NVIDIA CUDA Driver and Runtime interfaces. For instance, it may return the list of processors near NVIDIA GPUs. It may also return the corresponding OS device hwloc object for further information (if I/O device discovery is enabled). </p>
+<p class="enddd"></p>
+</dd>
+<dt>NVIDIA Management Library (NVML) </dt>
+<dd><p class="startdd"><a class="el" href="a00128_source.html" title="Macros to help interaction between hwloc and the NVIDIA Management Library. ">hwloc/nvml.h</a> enables interoperability with the NVIDIA NVML interface. It may return the list of processors near a NVIDIA GPU given as a <code>nvmlDevice_t</code>. It may also return the corresponding OS device hwloc object for further information (if I/O device discovery is enabled). </p>
+<p class="enddd"></p>
+</dd>
+<dt>NVIDIA displays </dt>
+<dd><p class="startdd"><a class="el" href="a00131_source.html" title="Macros to help interaction between hwloc and OpenGL displays. ">hwloc/gl.h</a> enables interoperability with NVIDIA displays using the NV-CONTROL X extension (NVCtrl library). If I/O device discovery is enabled, it may return the OS device hwloc object that corresponds to a display given as a name such as <em>:0.0</em> or given as a port/device pair (server/screen). </p>
+<p class="enddd"></p>
+</dd>
+<dt>Taskset command-line tool </dt>
+<dd><p class="startdd">The taskset command-line tool is widely used for binding processes. It manipulates CPU set strings in a format that is slightly different from hwloc's one (it does not divide the string in fixed-size subsets and separates them with commas). To ease interoperability, hwloc offers routines to convert hwloc CPU sets from/to taskset-specific string format. Most hwloc command-line tools also support the <code>--taskset</code> option to manipulate taskset-specific strings. </p>
+<p class="enddd"></p>
+</dd>
+</dl>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Thread Safety</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Thread Safety </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>Like most libraries that mainly fill data structures, hwloc is not thread safe but rather reentrant: all state is held in a <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38" title="Topology context. ">hwloc_topology_t</a> instance without mutex protection. That means, for example, that two threads can safely operate on and modify two different <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38" title="Topology context. ">hwloc_topology_t</a> instances, but they should not simultaneously invoke functions that modify the <em>same</em> instance. Similarly, one thread should not modify a <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38" title="Topology context. ">hwloc_topology_t</a> instance while another thread is reading or traversing it. However, two threads can safely read or traverse the same <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38" title="Topology context. ">hwloc_topology_t</a> instance concurrently.</p>
+<p>When running in multiprocessor environments, be aware that proper thread synchronization and/or memory coherency protection is needed to pass hwloc data (such as <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38" title="Topology context. ">hwloc_topology_t</a> pointers) from one processor to another (e.g., a mutex, semaphore, or a memory barrier). Note that this is not a hwloc-specific requirement, but it is worth mentioning.</p>
+<p>For reference, <a class="el" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38" title="Topology context. ">hwloc_topology_t</a> modification operations include (but may not be limited to):</p>
+<dl>
+<dt>Creation and destruction </dt>
+<dd><p class="startdd"><code><a class="el" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa" title="Allocate a topology context. ">hwloc_topology_init()</a>, <a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a>, <a class="el" href="a00153.html#ga9f34a640b6fd28d23699d4d084667b15" title="Terminate and free a topology context. ">hwloc_topology_destroy()</a></code> (see <a class="el" href="a00153.html">Topology Creation and Destruction</a>) imply major modifications of the structure, including freeing some objects. No other thread cannot access the topology or any of its objects at the same time.</p>
+<p>Also references to objects inside the topology are not valid anymore after these functions return. </p>
+<p class="enddd"></p>
+</dd>
+<dt>Runtime topology modifications </dt>
+<dd><p class="startdd"><code>hwloc_topology_insert_misc_object_by_*</code> (see <a class="el" href="a00160.html">Modifying a loaded Topology</a>) may modify the topology significantly by adding objects inside the tree, changing the topology depth, etc. <code><a class="el" href="a00160.html#gaffdb5403e5178b0d29852dd3319de3fc" title="Restrict the topology to the given CPU set. ">hwloc_topology_restrict()</a></code> modifies the topology even more dramatically by removing some objects.</p>
+<p>Although references to former objects <em>may</em> still be valid after insertion or restriction, it is strongly advised to not rely on any such guarantee and always re-consult the topology to reacquire new instances of objects. </p>
+<p class="enddd"></p>
+</dd>
+<dt>Locating topologies </dt>
+<dd><p class="startdd"><code>hwloc_topology_ignore*</code>, <code>hwloc_topology_set*</code> (see <a class="el" href="a00154.html">Topology Detection Configuration and Query</a>) do not modify the topology directly, but they do modify internal structures describing the behavior of the upcoming invocation of <code><a class="el" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826" title="Build the actual topology. ">hwloc_topology_load()</a></code>. Hence, all of these functions should not be used concurrently. </p>
+<p class="enddd"></p>
+</dd>
+</dl>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Components and plugins</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Components and plugins </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>hwloc is organized in components that are responsible for discovering objects. Depending on the topology configuration, some components will be used, some will be ignored. The usual default is to enable the native operating system component, (e.g. <code>linux</code> or <code>solaris</code>) and the <code>pci</code> miscellaneous component. If available, an architecture-specific component (such as <code>x86</code>) may also improve the topology detection.</p>
+<p>If a XML topology is loaded, the <code>xml</code> discovery component will be used instead of all other components. It internally uses a specific class of components for the actual XML import/export routines (<code>xml_libxml</code> and <code>xml_nolibxml</code>) but these will not be discussed here (see <a class="el" href="a00317.html#xml_backends">libxml2 and minimalistic XML backends</a>).</p>
+<p>
+</div><div class="section" id="plugins_default">
+ </p>
+<h1><a class="anchor" id="plugins_default"></a>
+Components enabled by default</h1>
+<p>The hwloc core contains a list of components sorted by priority. Each one is enabled as long as it does not conflict with the previously enabled ones. This includes native operating system components, architecture-specific ones, and if available, I/O components such as <code>pci</code>.</p>
+<p>Usually the native operating system component (when it exists, e.g. <code>linux</code> or <code>aix</code>) is enabled first. Then hwloc looks for an architecture specific component (e.g. <code>x86</code>). Finally there also exist a basic component (<code>no_os</code>) that just tries to discover the number of PUs in the system.</p>
+<p>Each component discovers as much topology information as possible. Most of them, including most native OS components, do nothing unless the topology is still empty. Some others, such as <code>x86</code> and <code>pci</code>, can complete and annotate what other backends found earlier.</p>
+<p>Default priorities ensure that clever components are invoked first. Native operating system components have higher priorities, and are therefore invoked first, because they likely offer very detailed topology information. If needed, it will be later extended by architecture-specific information (e.g. from the <code>x86</code> component).</p>
+<p>If any configuration function such as <a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a> is used before loading the topology, the corresponding component is enabled first. Then, as usual, hwloc enables any other component (based on priorities) that does not conflict.</p>
+<p>Certain components that manage a virtual topology, for instance XML topology import, synthetic topology description, or custom building, conflict with all other components. Therefore, one of them may only be loaded (e.g. with <code><a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a></code>) if no other component is enabled.</p>
+<p>The environment variable <code>HWLOC_COMPONENTS_VERBOSE</code> may be set to get verbose messages about component registration (including their priority) and enabling.</p>
+<p>
+</div><div class="section" id="plugins_select">
+ </p>
+<h1><a class="anchor" id="plugins_select"></a>
+Selecting which components to use</h1>
+<p>Once topology configuration functions such as <code><a class="el" href="a00154.html#gad1f15795219e2c3ca6d44ba0db604c4f" title="Prepare the topology for custom assembly. ">hwloc_topology_set_custom()</a></code> have been taken care of, the priority order of the remaining components may be changed through the <code>HWLOC_COMPONENTS</code> environment variable (component names must be separated by commas).</p>
+<p>Specifying <code>x86</code> in this variable will cause the <code>x86</code> component to take precedence over any other component, including the native operating system component. It is therefore loaded first, before hwloc tries to load all remaining non-conflicting components. In this case, <code>x86</code> would take care of discovering everything it supports, instead of only completing what the native OS information. This may be useful if the native component is buggy on some platforms.</p>
+<p>It is possible to prevent some components from being loaded by prefixing their name with <code>-</code> in the list. For instance <code>x86,-pci</code> will load the <code>x86</code> component, then let hwloc load all the usual components except <code>pci</code>.</p>
+<p>It is possible to prevent all remaining components from being loaded by placing <code>stop</code> in the environment variable. Only the components listed before this keyword will be enabled.</p>
+<p>Certain component names (<code>xml</code> and <code>synthetic</code>) accept an argument (e.g. <code>xml=file.xml</code>). These arguments behave exactly as if the corresponding string had been passed to <code><a class="el" href="a00154.html#ga879439b7ee99407ee911b3ac64e9a25e" title="Enable XML-file based topology. ">hwloc_topology_set_xml()</a></code> or <code><a class="el" href="a00154.html#ga4fab186bb6181a00bcf585825fddd38d" title="Enable synthetic topology. ">hwloc_topology_set_synthetic()</a></code>.</p>
+<p>
+</div><div class="section" id="plugins_load">
+ </p>
+<h1><a class="anchor" id="plugins_load"></a>
+Loading components from plugins</h1>
+<p>Components may optionally be built as plugins so that the hwloc core library does not directly depend on their dependencies (for instance the <code>libpciaccess</code> library). Plugin support may be enabled with the <code>--enable-plugins</code> configure option. All components buildable as plugins will then be built as plugins. The configure option may be given a comma-separated list of component names to specify the exact list of components to build as plugins.</p>
+<p>Plugins are built as independent dynamic libraries that are installed in <code>$libdir/hwloc</code>. All plugins found in this directory are loaded during <code>topology_init()</code> (unless blacklisted in <code>HWLOC_PLUGINS_BLACKLIST</code>, see <a class="el" href="a00311.html">Environment Variables</a>). A specific list of directories (colon-separated) to scan may be specified in the <code>HWLOC_PLUGINS_PATH</code> environment variable.</p>
+<p>Note that loading a plugin just means that the corresponding component is registered to the hwloc core. Components are then only enabled if the topology configuration requests it, as explained in the previous sections.</p>
+<p>Also note that plugins should carefully be enabled and used when embedding hwloc in another project, see <a class="el" href="a00322.html">Embedding hwloc in Other Software</a> for details.</p>
+<p>
+</div><div class="section" id="plugins_add">
+ </p>
+<h1><a class="anchor" id="plugins_adding"></a>
+Adding new discovery components and plugins</h1>
+<p>The types and functions cited below are declared in the <a class="el" href="a00146_source.html" title="Public interface for building hwloc plugins. ">hwloc/plugins.h</a> header. Components are supposed to only use hwloc public headers (<a class="el" href="a00101_source.html" title="The hwloc API. ">hwloc.h</a> and anything under the <code>include/hwloc</code> subdirectory) and nothing from the <code>include/private</code> subdirectory in the source tree.</p>
+<h2><a class="anchor" id="plugins_disc_basic"></a>
+Basics of discovery components</h2>
+<p>Each discovery component is defined by a <code><a class="el" href="a00300.html" title="Discovery component structure. ">hwloc_disc_component</a></code> structure which contains an <code>instantiate()</code> callback. This function is invoked when this component is actually used by a topology. It fills a new <code><a class="el" href="a00304.html" title="Discovery backend structure. ">hwloc_backend</a></code> structure that usually contains <code>discover()</code> and/or <code>notify_new_object()</code> callbacks taking care of the actual topology discovery.</p>
+<dl class="section note"><dt>Note</dt><dd>If two discovery components have the same name, only the highest priority one is actually made available. This offers a way for third-party plugins to override existing components.</dd></dl>
+<h2><a class="anchor" id="plugins_disc_register"></a>
+Registering a new discovery component</h2>
+<p>Registering components to the hwloc core relies on a <code><a class="el" href="a00308.html" title="Generic component structure. ">hwloc_component</a></code> structure. Its <code>data</code> field points to the previously defined <code><a class="el" href="a00300.html" title="Discovery component structure. ">hwloc_disc_component</a></code> structure while its <code>type</code> should be <a class="el" href="a00190.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900" title="The data field must point to a struct hwloc_disc_component. ">HWLOC_COMPONENT_TYPE_DISC</a>. This structure should be named <code>hwloc_<name>_component</code>.</p>
+<p>The configure script should be modified to add <code><name></code> to its <code>hwloc_components</code> shell variable so that the component is actually available.</p>
+<dl class="section note"><dt>Note</dt><dd>The symbol name of the <code><a class="el" href="a00308.html" title="Generic component structure. ">hwloc_component</a></code> structure is independent of the name of the discovery component mentioned in the previous section.</dd></dl>
+<p>When the component is statically built inside the hwloc library, the symbol <code>hwloc_<name>_component</code> is added by configure to the <code>src/static-components.h</code>. The core then registers all components listed in this file.</p>
+<p>If the new component may be built as a plugin, the configure script should also define the shell variable <code>hwloc_<name>_component_maybeplugin=1</code>. When the configure script actually enables the component as a plugin, it will set the variable <code>hwloc_<name>_component</code> to <code>plugin</code>. The build system may then use this variable to change the way the component is built. It should create a <code>hwloc_<name>.so</code> shared object. All these files are loaded in alphabetic order, and the components they contain are registered to the hwloc core.</p>
+<p>
+</div><div class="section" id="plugins_list">
+ </p>
+<h1><a class="anchor" id="plugins_list"></a>
+Existing components and plugins</h1>
+<p>All components distributed within hwloc are listed below. The list of actually available components may be listed at running with the <code>HWLOC_COMPONENTS_VERBOSE</code> environment variable (see <a class="el" href="a00311.html">Environment Variables</a>).</p>
+<dl>
+<dt>aix, darwin, freebsd, hpux, linux, netbsd, osf, solaris, windows </dt>
+<dd>Each officially supported operating system has its own native component, which is statically built when supported, and which is used by default. </dd>
+<dt>x86 </dt>
+<dd>The x86 architecture (either 32 or 64 bits) has its own component that may complete or replace the previously-found CPU information. It is statically built when supported. </dd>
+<dt>bgq </dt>
+<dd>This component is specific to IBM BlueGene/Q compute node (running CNK). It is built and enabled by default when <code>--host=powerpc64-bgq-linux</code> is passed to configure (see <a class="el" href="a00323.html#faq_bgq">How do I build hwloc for BlueGene/Q?</a>). </dd>
+<dt>no_os </dt>
+<dd>A basic component that just tries to detect the number of processing units in the system. It mostly serves on operating systems that are not natively supported. It is always statically built. </dd>
+<dt>pci </dt>
+<dd>PCI object discovery uses the external pciaccess library (aka libpciaccess); see <a class="el" href="a00313.html">I/O Devices</a>. <b>It may be built as a plugin</b>. </dd>
+<dt>linuxpci </dt>
+<dd>This component can probe PCI devices on Linux without the help of external libraries such as libpciaccess. Its priority is lower than the pci component because it misses device names. </dd>
+<dt>opencl </dt>
+<dd>The OpenCL component creates co-processor OS device objects such as <em>opencl0d0</em> (first device of the first OpenCL platform) or <em>opencl1d3</em> (fourth device of the second platform). Only the AMD OpenCL implementation currently offers locality information. <b>It may be built as a plugin</b>. </dd>
+<dt>cuda </dt>
+<dd>This component creates co-processor OS device objects such as <em>cuda0</em> that correspond to NVIDIA GPUs used with CUDA library. <b>It may be built as a plugin</b>. </dd>
+<dt>nvml </dt>
+<dd>Probing the NVIDIA Management Library creates OS device objects such as <em>nvml0</em> that are useful for batch schedulers. It also detects the actual PCIe link bandwidth without depending on power management state and without requiring administrator privileges. <b>It may be built as a plugin</b>. </dd>
+<dt>gl </dt>
+<dd>Probing the NV-CONTROL X extension (NVCtrl library) creates OS device objects such as <em>:0.0</em> corresponding to NVIDIA displays. They are useful for graphical applications that need to place computation and/or data near a rendering GPU. <b>It may be built as a plugin</b>. </dd>
+<dt>synthetic </dt>
+<dd>Synthetic topology support (see <a class="el" href="a00318.html">Synthetic topologies</a>) is always built statically. </dd>
+<dt>custom </dt>
+<dd>Custom topology support (see <a class="el" href="a00315.html">Multi-node Topologies</a>) is always built statically. </dd>
+<dt>xml </dt>
+<dd>XML topology import (see <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a>) is always built statically. It internally uses one of the XML backends (see <a class="el" href="a00317.html#xml_backends">libxml2 and minimalistic XML backends</a>). <ul>
+<li>
+<b>xml_nolibxml</b> is a basic and hwloc-specific XML import/export. It is always statically built. </li>
+<li>
+<b>xml_libxml</b> relies on the external libxml2 library for provinding a feature-complete XML import/export. <b>It may be built as a plugin</b>. </li>
+</ul>
+</dd>
+<dt>fake </dt>
+<dd>A dummy plugin that does nothing but is used for debugging plugin support. </dd>
+</dl>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Embedding hwloc in Other Software</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Embedding hwloc in Other Software </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section">
+</p>
+<p>It can be desirable to include hwloc in a larger software package (be sure to check out the LICENSE file) so that users don't have to separately download and install it before installing your software. This can be advantageous to ensure that your software uses a known-tested/good version of hwloc, or for use on systems that do not have hwloc pre-installed.</p>
+<p>When used in "embedded" mode, hwloc will:</p>
+<ul>
+<li>not install any header files</li>
+<li>not build any documentation files</li>
+<li>not build or install any executables or tests</li>
+<li>not build <code>libhwloc.*</code> – instead, it will build <code>libhwloc_embedded.*</code></li>
+</ul>
+<p>There are two ways to put hwloc into "embedded" mode. The first is directly from the configure command line:</p>
+<pre class="fragment">shell$ ./configure --enable-embedded-mode ...
+</pre><p>The second requires that your software project uses the GNU Autoconf / Automake / Libtool tool chain to build your software. If you do this, you can directly integrate hwloc's m4 configure macro into your configure script. You can then invoke hwloc's configuration tests and build setup by calling an m4 macro (see below).</p>
+<p>Although hwloc dynamic shared object plugins may be used in embedded mode, the embedder project will have to manually setup libltdl in its build system so that hwloc can load its plugins at run time. Also, embedders should be aware of complications that can arise due to public and private linker namespaces (e.g., if the embedder project is loaded into a private namespace and then hwloc tries to dynamically load its plugins, such loading may fail since the hwloc plugins can't find the hwloc symbols they need). The embedder project is <b>strongly</b> advised not to use hwloc's dynamically loading plugins / libltdl capability.</p>
+<p>
+</div><div class="section" id="embedding_m4">
+ </p>
+<h1><a class="anchor" id="embedding_m4"></a>
+Using hwloc's M4 Embedding Capabilities</h1>
+<p>Every project is different, and there are many different ways of integrating hwloc into yours. What follows is <em>one</em> example of how to do it.</p>
+<p>If your project uses recent versions Autoconf, Automake, and Libtool to build, you can use hwloc's embedded m4 capabilities. We have tested the embedded m4 with projects that use Autoconf 2.65, Automake 1.11.1, and Libtool 2.2.6b. Slightly earlier versions of may also work but are untested. Autoconf versions prior to 2.65 are almost certain to not work.</p>
+<p>You can either copy all the config/hwloc*m4 files from the hwloc source tree to the directory where your project's m4 files reside, or you can tell aclocal to find more m4 files in the embedded hwloc's "config" subdirectory (e.g., add "-Ipath/to/embedded/hwloc/config" to your Makefile.am's ACLOCAL_AMFLAGS).</p>
+<p>The following macros can then be used from your configure script (only HWLOC_SETUP_CORE <em>must</em> be invoked if using the m4 macros):</p>
+<ul>
+<li><p class="startli">HWLOC_SETUP_CORE(config-dir-prefix, action-upon-success, action-upon-failure, print_banner_or_not): Invoke the hwloc configuration tests and setup the hwloc tree to build. The first argument is the prefix to use for AC_OUTPUT files – it's where the hwloc tree is located relative to <code>$top_srcdir</code>. Hence, if your embedded hwloc is located in the source tree at contrib/hwloc, you should pass <code>[contrib/hwloc]</code> as the first argument. If HWLOC_SETUP_CORE and the rest of <code>configure</code> completes successfully, then "make" traversals of the hwloc tree with standard Automake targets (all, clean, install, etc.) should behave as expected. For example, it is safe to list the hwloc directory in the SUBDIRS of a higher-level Makefile.am. The last argument, if not empty, will cause the macro to display an announcement banner that it is starting the hwloc core configuration tests.</p>
+<p class="startli">HWLOC_SETUP_CORE will set the following environment variables and AC_SUBST them: HWLOC_EMBEDDED_CFLAGS, HWLOC_EMBEDDED_CPPFLAGS, and HWLOC_EMBEDDED_LIBS. These flags are filled with the values discovered in the hwloc-specific m4 tests, and can be used in your build process as relevant. The _CFLAGS, _CPPFLAGS, and _LIBS variables are necessary to build libhwloc (or libhwloc_embedded) itself.</p>
+<p class="startli">HWLOC_SETUP_CORE also sets HWLOC_EMBEDDED_LDADD environment variable (and AC_SUBSTs it) to contain the location of the libhwloc_embedded.la convenience Libtool archive. It can be used in your build process to link an application or other library against the embedded hwloc library.</p>
+<p class="startli"><b>NOTE: If the HWLOC_SET_SYMBOL_PREFIX macro is used, it must be invoked <em>before</em> HWLOC_SETUP_CORE.</b></p>
+</li>
+<li>HWLOC_BUILD_STANDALONE: HWLOC_SETUP_CORE defaults to building hwloc in an "embedded" mode (described above). If HWLOC_BUILD_STANDALONE is invoked *before* HWLOC_SETUP_CORE, the embedded definitions will not apply (e.g., libhwloc.la will be built, not libhwloc_embedded.la).</li>
+<li>HWLOC_SET_SYMBOL_PREFIX(foo_): Tells the hwloc to prefix all of hwloc's types and public symbols with "foo_"; meaning that function hwloc_init() becomes foo_hwloc_init(). Enum values are prefixed with an upper-case translation if the prefix supplied; HWLOC_OBJ_SYSTEM becomes FOO_HWLOC_OBJ_SYSTEM. This is recommended behavior if you are including hwloc in middleware – it is possible that your software will be combined with other software that links to another copy of hwloc. If both uses of hwloc utilize different symbol prefixes, there will be no type/symbol clashes, and everything will compile, link, and run successfully. If you both embed hwloc without changing the symbol prefix and also link against an external hwloc, you may get multiple symbol definitions when linking your final library or application.</li>
+<li>HWLOC_SETUP_DOCS, HWLOC_SETUP_UTILS, HWLOC_SETUP_TESTS: These three macros only apply when hwloc is built in "standalone" mode (i.e., they should NOT be invoked unless HWLOC_BUILD_STANDALONE has already been invoked).</li>
+<li>HWLOC_DO_AM_CONDITIONALS: If you embed hwloc in a larger project and build it conditionally with Automake (e.g., if HWLOC_SETUP_CORE is invoked conditionally), you must unconditionally invoke HWLOC_DO_AM_CONDITIONALS to avoid warnings from Automake (for the cases where hwloc is not selected to be built). This macro is necessary because hwloc uses some AM_CONDITIONALs to build itself, and AM_CONDITIONALs cannot be defined conditionally. Note that it is safe (but unnecessary) to call HWLOC_DO_AM_CONDITIONALS even if HWLOC_SETUP_CORE is invoked unconditionally. If you are not using Automake to build hwloc, this macro is unnecessary (and will actually cause errors because it invoked AM_* macros that will be undefined).</li>
+</ul>
+<p><b>NOTE:</b> When using the HWLOC_SETUP_CORE m4 macro, it may be necessary to explicitly invoke AC_CANONICAL_TARGET (which requires config.sub and config.guess) and/or AC_USE_SYSTEM_EXTENSIONS macros early in the configure script (e.g., after AC_INIT but before AM_INIT_AUTOMAKE). See the Autoconf documentation for further information.</p>
+<p>Also note that hwloc's top-level configure.ac script uses exactly the macros described above to build hwloc in a standalone mode (by default). You may want to examine it for one example of how these macros are used.</p>
+<p>
+</div><div class="section" id="embedding_example">
+ </p>
+<h1><a class="anchor" id="embedding_example"></a>
+Example Embedding hwloc</h1>
+<p>Here's an example of integrating with a larger project named sandbox that already uses Autoconf, Automake, and Libtool to build itself:</p>
+<pre class="fragment"># First, cd into the sandbox project source tree
+shell$ cd sandbox
+shell$ cp -r /somewhere/else/hwloc-<version> my-embedded-hwloc
+shell$ edit Makefile.am
+ 1. Add "-Imy-embedded-hwloc/config" to ACLOCAL_AMFLAGS
+ 2. Add "my-embedded-hwloc" to SUBDIRS
+ 3. Add "$(HWLOC_EMBEDDED_LDADD)" and "$(HWLOC_EMBEDDED_LIBS)" to
+ sandbox's executable's LDADD line. The former is the name of the
+ Libtool convenience library that hwloc will generate. The latter
+ is any dependent support libraries that may be needed by
+ $(HWLOC_EMBEDDED_LDADD).
+ 4. Add "$(HWLOC_EMBEDDED_CFLAGS)" to AM_CFLAGS
+ 5. Add "$(HWLOC_EMBEDDED_CPPFLAGS)" to AM_CPPFLAGS
+shell$ edit configure.ac
+ 1. Add "HWLOC_SET_SYMBOL_PREFIX(sandbox_hwloc_)" line
+ 2. Add "HWLOC_SETUP_CORE([my-embedded-hwloc], [happy=yes], [happy=no])" line
+ 3. Add error checking for happy=no case
+shell$ edit sandbox.c
+ 1. Add #include <hwloc.h>
+ 2. Add calls to sandbox_hwloc_init() and other hwloc API functions
+</pre><p>Now you can bootstrap, configure, build, and run the sandbox as normal – all calls to "sandbox_hwloc_*" will use the embedded hwloc rather than any system-provided copy of hwloc. </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Frequently Asked Questions</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Frequently Asked Questions </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><p>
+<div class="section" id="faq1">
+ </p>
+<h1><a class="anchor" id="faq1"></a>
+Concepts</h1>
+<h2><a class="anchor" id="faq_why"></a>
+I only need binding, why should I use hwloc ?</h2>
+<p>hwloc is its portable API that works on a variety of operating systems. It supports binding of threads, processes and memory buffers (see <a class="el" href="a00158.html">CPU binding</a> and <a class="el" href="a00159.html">Memory binding</a>). Even if some features are not supported on some systems, using hwloc is much easier than reimplementing your own portability layer.</p>
+<p>Moreover, hwloc provides knowledge of cores and hardware threads. It offers easy ways to bind tasks to individual hardware threads, or to entire multithreaded cores, etc. See <a class="el" href="a00323.html#faq_smt">How may I ignore symmetric multithreading, hyper-threading, etc. in hwloc?</a>. Most alternative software for binding do not even know whether each core is single-threaded, multithreaded or hyper-threaded. They would bind to individual threads without any way to know whether multiple tasks are in the same physical core.</p>
+<p>However, using hwloc comes with an overhead since a topology must be loaded before gathering information and binding tasks or memory. This overhead may be reduced by filtering useless information out of the topology. For instance the following code builds a topology that may only contain Cores, hardware threads (PUs), and NUMA nodes (Packages, Caches and Group objects are ignored).</p>
+<pre class="fragment">hwloc_topology_t topology;
+hwloc_topology_init(&topology);
+hwloc_topology_ignore_type(topology, HWLOC_OBJ_PACKAGE);
+hwloc_topology_ignore_type(topology, HWLOC_OBJ_CACHE);
+hwloc_topology_ignore_type(topology, HWLOC_OBJ_GROUP);
+hwloc_topology_load(topology);
+</pre><h2><a class="anchor" id="faq_indexes"></a>
+Should I use logical or physical/OS indexes? and how?</h2>
+<p>One of the original reasons why hwloc was created is that <b>physical/OS indexes</b> (<code>obj->os_index</code>) are often crazy and unpredictable: logical processors numbers are usually non-contiguous (processors 0 and 1 are not physically close), they vary from one machine to another, and may even change after a BIOS or system update. This numbers make task placement hardly portable. Moreover some objects have no physical/OS numbers (caches), and some objects have non-unique numbers (core numbers are only unique within a socket). Physical/OS indexes are only guaranteed to exist and be unique for PU and NUMA nodes.</p>
+<p>hwloc therefore introduces <b>logical indexes</b> (<code>obj->logical_index</code>) which are portable, contiguous and logically ordered (based on the resource organization in the locality tree). In general, one should only use logical indexes and just let hwloc do the internal conversion when really needed (when talking to the OS and hardware).</p>
+<p>hwloc developers recommends that users do not use physical/OS indexes unless they really know what they are doing. The main reason for still using physical/OS indexes is when interacting with non-hwloc tools such as numactl or taskset, or when reading hardware information from raw sources such as /proc/cpuinfo.</p>
+<p>lstopo options <code>-l</code> and <code>-p</code> may be used to switch between logical indexes (prefixed with <code>L#</code>) and physical/OS indexes (<code>P#</code>). Converting one into the other may also be achieved with hwloc-calc which may manipulate either logical or physical indexes as input or output. See also <a class="el" href="a00310.html#cli_hwloc_calc">hwloc-calc</a>.</p>
+<pre class="fragment"># Convert PU with physical number 3 into logical number
+$ hwloc-calc -I pu --physical-input --logical-output pu:3
+5
+
+# Convert a set of NUMA nodes from logical to physical
+# (beware that the output order may not match the input order)
+$ hwloc-calc -I numa --logical-input --physical-output numa:2-3 numa:7
+0,2,5
+</pre><h2><a class="anchor" id="faq_structural"></a>
+hwloc is only a structural model, it ignores performance models, memory bandwidth, etc.?</h2>
+<p>hwloc is indeed designed to provide applications with a structural model of the platform. This is an orthogonal approach to describing the machine with performance models, for instance using memory bandwidth or latencies measured by benchmarks. We believe that both approaches are important for helping application make the most of the hardware.</p>
+<p>For instance, on a dual-processor host with four cores each, hwloc clearly shows which four cores are together. Latencies between all pairs of cores of the same processor are likely identical, and also likely lower than the latency between cores of different processors. However the structural model cannot guarantee such implementation details. On the other side, performance models would reveal such details without always clearly identifying which cores are in the same processor.</p>
+<p>The focus of hwloc is mainly of the structural modeling side. However, hwloc lets user adds performance information to the topology through distances (see <a class="el" href="a00244.html" title="Distances between objects. ">hwloc_distances_s</a> and <a class="el" href="a00154.html#ga90ed5733946b2e9aba90d2e2c1fbfbd7" title="Provide a distance matrix. ">hwloc_topology_set_distance_matrix()</a>) or even custom annotations (see <a class="el" href="a00323.html#faq_annotate">How do I annotate the topology with private notes?</a>). hwloc may also use such distance information for grouping objects together (see <a class="el" href="a00323.html#faq_onedim">hwloc only has a one-dimensional view of the architecture, it ignores distances?</a> and <a class="el" href="a00323.html#faq_groups">What are these Group objects in my topology?</a>).</p>
+<h2><a class="anchor" id="faq_onedim"></a>
+hwloc only has a one-dimensional view of the architecture, it ignores distances?</h2>
+<p>hwloc places all objects in a tree. Each level is a one-dimensional view of a set of similar objects. All children of the same object (siblings) are assumed to be equally interconnected (same distance between any of them), while the distance between children of different objects (cousins) is supposed to be larger.</p>
+<p>Modern machines exhibit complex hardware interconnects, so this tree may miss some information about the actual physical distances between objects. The hwloc topology may therefore be annotated with distance information that may be used to build a more realistic representation (multi-dimensional) of each level. For instance, the root object may contain a distance matrix that represents the latencies between any pairs of NUMA nodes if the BIOS and/or operating system reports them.</p>
+<p>For more information about the distance API, see <a class="el" href="a00244.html" title="Distances between objects. ">hwloc_distances_s</a> and <a class="el" href="a00154.html#ga90ed5733946b2e9aba90d2e2c1fbfbd7" title="Provide a distance matrix. ">hwloc_topology_set_distance_matrix()</a>.</p>
+<h2><a class="anchor" id="faq_groups"></a>
+What are these Group objects in my topology?</h2>
+<p>hwloc comes with a set of predefined object types (Core, Package, NUMA node, Caches) that match the vast majority of hardware platforms. The <a class="el" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56" title="Group objects. Objects which do not fit in the above but are detected by hwloc and are useful to take...">HWLOC_OBJ_GROUP</a> type was designed for cases where this set is not sufficient. Groups may be used anywhere to add more structure information to the topology, for instance to show that 2 out of 4 NUMA nodes are actually closer than the others. When applicable, the <code>Type</code> info attribute describes why a Group was actually added (see also <a class="el" href="a00316.html#attributes_info">Custom string infos</a>).</p>
+<p>hwloc currently uses Groups for the following reasons: </p><ul>
+<li>
+AMD Bulldozer dual-core compute units (<code>Type=ComputeUnit</code>, in the x86 backend), but these objects are usually merged with the L2 caches. </li>
+<li>
+Intel Dies on multi-die CPUs (Linux and x86 backends) and other Extended Topology Enumeration levels (in the x86 backend). </li>
+<li>
+Windows processor groups (unless they contain a single NUMA node, or a single Package, etc.). </li>
+<li>
+IBM S/390 "Books" on Linux (<code>Type=Book</code>). </li>
+<li>
+AIX unknown hierarchy levels. </li>
+<li>
+Distance-based groups made of close objects. </li>
+<li>
+I/O parents when I/O locality does not match any existing object. </li>
+</ul>
+<p>hwloc Groups are only kept if no other object has the same locality information. It means that a Group containing a single child is merged into that child. And a Group is merged into its parent if it is its only child. For instance a Windows processor group containing a single NUMA node would be merged with that NUMA node since it already contains the relevant hierarchy information.</p>
+<h2><a class="anchor" id="faq_asymmetric"></a>
+What happens if my topology is asymmetric?</h2>
+<p>hwloc supports asymmetric topologies even if most platforms are usually symmetric. For example, there could be different types of processors in a single machine, each with different numbers of cores, symmetric multithreading, or levels of caches.</p>
+<p>In practice, asymmetric topologies mostly appear when intermediate groups are added for I/O affinity: on a 4-package machine, an I/O bus may be connected to 2 packages. These packages are below an additional Group object, while the other packages are not (see also <a class="el" href="a00323.html#faq_groups">What are these Group objects in my topology?</a>).</p>
+<p>Before hwloc v2.0, <a class="el" href="a00154.html#ga1f987bca941d6949faf7b1554dd7bc12" title="Ignore an object type if it does not bring any structure. ">hwloc_topology_ignore_type_keep_structure()</a> and <a class="el" href="a00154.html#ga7c9cf147442d65d755c664ccde3bb3ef" title="Ignore all objects that do not bring any structure. ">hwloc_topology_ignore_all_keep_structure()</a> may also make topologies assymetric by removing parts of levels, especially when part of the machine is disallowed by administrator restrictions (e.g. Linux cgroups).</p>
+<p>To understand how hwloc manages such cases, one should first remember the meaning of levels and cousin objects. All objects of the same type are gathered as horizontal levels with a given depth. They are also connected through the cousin pointers of the <a class="el" href="a00204.html" title="Structure of a topology object. ">hwloc_obj</a> structure. Some types, such as Caches or Groups, are annotated with a depth or level attribute (for instance L2 cache or Group1). Moreover caches have a type attribute (for instance L1i or L1d). Such attributes are also taken in account when gathering objects as horizontal levels. To be clear: there will be one level for L1i caches, another level for L1d caches, another one for L2, etc.</p>
+<p>If the topology is asymmetric (e.g., if a group is missing above some processors), a given horizontal level will still exist if there exist any objects of that type. However, some branches of the overall tree may not have an object located in that horizontal level. Note that this specific hole within one horizontal level does not imply anything for other levels. All objects of the same type are gathered in horizontal levels even if their parents or children have different depths and types.</p>
+<p>See the diagram in <a class="el" href="a00309.html">Terms and Definitions</a> for a graphical representation of such topologies.</p>
+<p>Moreover, it is important to understand that a same parent object may have children of different types (and therefore, different depths). <b>These children are therefore siblings (because they have the same parent), but they are <em>not</em> cousins (because they do not belong to the same horizontal level).</b></p>
+<h2><a class="anchor" id="faq_nosmt"></a>
+What happens to my topology if I disable symmetric multithreading, hyper-threading, etc. in the system?</h2>
+<p>hwloc creates one PU (processing unit) object per hardware thread. If your machine supports symmetric multithreading, for instance Hyper-Threading, each Core object may contain multiple PU objects: </p><pre class="fragment">$ lstopo -
+...
+ Core L#0
+ PU L#0 (P#0)
+ PU L#1 (P#2)
+ Core L#1
+ PU L#2 (P#1)
+ PU L#3 (P#3)
+</pre><p>x86 machines usually offer the ability to disable hyper-threading in the BIOS. Or it can be disabled on the Linux kernel command-line at boot time, or later by writing in sysfs virtual files.</p>
+<p>If you do so, the hwloc topology structure does not significantly change, but some PU objects will not appear anymore. No level will disappear, you will see the same number of Core objects, but each of them will contain a single PU now. The PU level does not disappear either (remember that hwloc topologies always contain a PU level at the bottom of the topology) even if there is a single PU object per Core parent. </p><pre class="fragment">$ lstopo -
+...
+ Core L#0
+ PU L#0 (P#0)
+ Core L#1
+ PU L#1 (P#1)
+</pre><h2><a class="anchor" id="faq_smt"></a>
+How may I ignore symmetric multithreading, hyper-threading, etc. in hwloc?</h2>
+<p>First, see <a class="el" href="a00323.html#faq_nosmt">What happens to my topology if I disable symmetric multithreading, hyper-threading, etc. in the system?</a> for more information about multithreading.</p>
+<p>If you need to ignore symmetric multithreading in software, you should likely manipulate hwloc Core objects directly: </p><pre class="fragment">/* get the number of cores */
+unsigned nbcores = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_CORE);
+...
+/* get the third core below the first package */
+hwloc_obj_t package, core;
+package = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PACKAGE, 0);
+core = hwloc_get_obj_inside_cpuset_by_type(topology, package->cpuset,
+ HWLOC_OBJ_CORE, 2);
+</pre><p>Whenever you want to bind a process or thread to a core, make sure you singlify its cpuset first, so that the task is actually bound to a single thread within this core (to avoid useless migrations). </p><pre class="fragment">/* bind on the second core */
+hwloc_obj_t core = hwloc_get_obj_by_type(topology, HWLOC_OBJ_CORE, 1);
+hwloc_cpuset_t set = hwloc_bitmap_dup(core->cpuset);
+hwloc_bitmap_singlify(set);
+hwloc_set_cpubind(topology, set, 0);
+hwloc_bitmap_free(set);
+</pre><p>With hwloc-calc or hwloc-bind command-line tools, you may specify that you only want a single-thread within each core by asking for their first PU object: </p><pre class="fragment">$ hwloc-calc core:4-7
+0x0000ff00
+$ hwloc-calc core:4-7.pu:0
+0x00005500
+</pre><p>When binding a process on the command-line, you may either specify the exact thread that you want to use, or ask hwloc-bind to singlify the cpuset before binding </p><pre class="fragment">$ hwloc-bind core:3.pu:0 -- echo "hello from first thread on core #3"
+hello from first thread on core #3
+...
+$ hwloc-bind core:3 --single -- echo "hello from a single thread on core #3"
+hello from a single thread on core #3
+</pre><p>
+</div><div class="section" id="faq2">
+ </p>
+<h1><a class="anchor" id="faq2"></a>
+Advanced</h1>
+<h2><a class="anchor" id="faq_xml"></a>
+I do not want hwloc to rediscover my enormous machine topology every time I rerun a process</h2>
+<p>Although the topology discovery is not expensive on common machines, its overhead may become significant when multiple processes repeat the discovery on large machines (for instance when starting one process per core in a parallel application). The machine topology usually does not vary much, except if some cores are stopped/restarted or if the administrator restrictions are modified. Thus rediscovering the whole topology again and again may look useless.</p>
+<p>For this purpose, hwloc offers XML import/export features. It lets you save the discovered topology to a file (for instance with the lstopo program) and reload it later by setting the HWLOC_XMLFILE environment variable. The HWLOC_THISSYSTEM environment variable should also be set to 1 to assert that loaded file is really the underlying system.</p>
+<p>Loading a XML topology is usually much faster than querying multiple files or calling multiple functions of the operating system. It is also possible to manipulate such XML files with the C programming interface, and the import/export may also be directed to memory buffer (that may for instance be transmitted between applications through a package). See also <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a>.</p>
+<dl class="section note"><dt>Note</dt><dd>The environment variable HWLOC_THISSYSTEM_ALLOWED_RESOURCES may be used to load a XML topology that contains the entire machine and restrict it to the part that is actually available to the current process (e.g. when Linux Cgroup/Cpuset are used to restrict the set of resources). See <a class="el" href="a00311.html">Environment Variables</a>.</dd></dl>
+<h2><a class="anchor" id="faq_multitopo"></a>
+How many topologies may I use in my program?</h2>
+<p>hwloc lets you manipulate multiple topologies at the same time. However these topologies consume memory and system resources (for instance file descriptors) until they are destroyed. It is therefore discouraged to open the same topology multiple times.</p>
+<p>Sharing a single topology between threads is easy (see <a class="el" href="a00320.html">Thread Safety</a>) since the vast majority of accesses are read-only.</p>
+<p>If multiple topologies of different (but similar) nodes are needed in your program, have a look at <a class="el" href="a00323.html#faq_diff">How to avoid memory waste when manipulating multiple similar topologies?</a>.</p>
+<h2><a class="anchor" id="faq_diff"></a>
+How to avoid memory waste when manipulating multiple similar topologies?</h2>
+<p>hwloc does not share information between topologies. If multiple similar topologies are loaded in memory, for instance the topologies of different identical nodes of a cluster, lots of information will be duplicated.</p>
+<p><a class="el" href="a00143_source.html" title="Topology differences. ">hwloc/diff.h</a> (see also <a class="el" href="a00187.html">Topology differences</a>) offers the ability to compute topology differences, apply or unapply them, or export/import to/from XML. However this feature is limited to basic differences such as attribute changes. It does not support complex modifications such as adding or removing some objects.</p>
+<h2><a class="anchor" id="faq_annotate"></a>
+How do I annotate the topology with private notes?</h2>
+<p>Each hwloc object contains a <code>userdata</code> field that may be used by applications to store private pointers. This field is only valid during the lifetime of these container object and topology. It becomes invalid as soon the topology is destroyed, or as soon as the object disappears, for instance when restricting the topology. The userdata field is not exported/imported to/from XML by default since hwloc does not know what it contains. This behavior may be changed by specifying application-specific callbacks with <code><a class="el" href="a00162.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc" title="Set the application-specific callback for exporting object userdata. ">hwloc_topology_set_userdata_export_callback()</a></code> and <code><a class="el" href="a00162.html#ga5ac6917ea7289955fb1ffda4353af9b0" title="Set the application-specific callback for importing userdata. ">hwloc_topology_set_userdata_import_callback()</a></code>.</p>
+<p>Each object may also contain some <em>info</em> attributes (key name and value) that are setup by hwloc during discovery and that may be extended by the user with <code><a class="el" href="a00157.html#ga7e90c5398a9d77df31d7d45faf0f316b" title="Add the given info name and value pair to the given object. ">hwloc_obj_add_info()</a></code> (see also <a class="el" href="a00316.html">Object attributes</a>). Contrary to the <code>userdata</code> field which is unique, multiple info attributes may exist for each object, even with the same name. These attributes are always exported to XML. However only character strings may be used as key names and values.</p>
+<p>It is also possible to insert Misc objects with a custom name anywhere as a leaf of the topology (see <a class="el" href="a00314.html">Miscellaneous objects</a>). And Misc objects may have their own userdata and info attributes just like any other object.</p>
+<p>The hwloc-annotate command-line tool may be used for adding Misc objects and info attributes.</p>
+<p>There is also a topology-specific userdata pointer that can be used to recognize different topologies by storing a custom pointer. It may be manipulated with <code><a class="el" href="a00154.html#ga2cc7b7b155cba58dda203e54f1637b9c" title="Set the topology-specific userdata pointer. ">hwloc_topology_set_userdata()</a></code> and <code><a class="el" href="a00154.html#ga91f992f8d6c4905b2d3c4f43e509c2a3" title="Retrieve the topology-specific userdata pointer. ">hwloc_topology_get_userdata()</a></code>.</p>
+<p>
+</div><div class="section" id="faq3">
+ </p>
+<h1><a class="anchor" id="faq3"></a>
+Caveats</h1>
+<h2><a class="anchor" id="faq_slow_lstopo"></a>
+Why is hwloc slow?</h2>
+<p>Building a hwloc topology on a large machine may be slow because the discovery of hundreds of hardware cores or threads takes time (especially when reading thousands of sysfs files on Linux). One should consider using XML (see <a class="el" href="a00323.html#faq_xml">I do not want hwloc to rediscover my enormous machine topology every time I rerun a process</a>) to work around such issues.</p>
+<p>Additionally, lstopo enables most hwloc objects and discovery flags by default so that the output topology is as precise as possible (while hwloc disables many of them by default). This includes I/O device discovery through PCI libraries as well as external libraries such as NVML. To speed up lstopo, you may disable such features with command-line options such as <code>--no-io</code>.</p>
+<p>When NVIDIA GPU probing is enabled with CUDA or NVML, one should make sure that the <em>Persistent</em> mode is enabled (with <code>nvidia-smi -pm 1</code>) to avoid significant GPU initialization overhead.</p>
+<p>When AMD GPU discovery is enabled with OpenCL and hwloc is used remotely over ssh, some spurious round-trips on the network may significantly increase the discovery time. Forcing the <code>DISPLAY</code> environment variable to the remote X server display (usually <code>:0</code>) instead of only setting the <code>COMPUTE</code> variable may avoid this.</p>
+<p>Also remember that these components may be disabled at build-time with configure flags such as <code>--disable-opencl</code>, <code>--disable-cuda</code> or <code>--disable-nvml</code>, and at runtime with the environment variable <code>HWLOC_COMPONENTS=-opencl,-cuda,-nvml</code>.</p>
+<h2><a class="anchor" id="faq_privileged"></a>
+Does hwloc require privileged access?</h2>
+<p>hwloc discovers the topology by querying the operating system. Some minor features may require privileged access to the operation system. For instance memory module discovery on Linux is reserved to root, and the entire PCI discovery on Solaris and BSDs requires access to some special files that are usually restricted to root (/dev/pci* or /devices/pci*).</p>
+<p>To workaround this limitation, it is recommended to export the topology as a XML file generated by the administrator (with the lstopo program) and make it available to all users (see <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a>). It will offer all discovery information to any application without requiring any privileged access anymore. Only the necessary hardware characteristics will be exported, no sensitive information will be disclosed through this XML export.</p>
+<p>This XML-based model also has the advantage of speeding up the discovery because reading a XML topology is usually much faster than querying the operating system again.</p>
+<p>The utility <code>hwloc-dump-hwdata</code> is also involved in gathering privileged information at boot time and making it available to non-privileged users (note that this may require a specific SELinux MLS policy module). However, it only applies to Intel Xeon Phi processors for now (see <a class="el" href="a00323.html#faq_knl_dump">Why do I need hwloc-dump-hwdata for memory on Intel Xeon Phi processor?</a>). See also <code>HWLOC_DUMPED_HWDATA_DIR</code> in <a class="el" href="a00311.html">Environment Variables</a> for details about the location of dumped files.</p>
+<h2><a class="anchor" id="faq_os_error"></a>
+What should I do when hwloc reports "operating system" warnings?</h2>
+<p>When the operating system reports invalid locality information (because of either software or hardware bugs), hwloc may fail to insert some objects in the topology because they cannot fit in the already built tree of resources. If so, hwloc will report a warning like the following. The object causing this error is ignored, the discovery continues but the resulting topology will miss some objects and may be asymmetric (see also <a class="el" href="a00323.html#faq_asymmetric">What happens if my topology is asymmetric?</a>).</p>
+<pre class="fragment">****************************************************************************
+* hwloc received invalid information from the operating system.
+*
+* L3 (cpuset 0x000003f0) intersects with NUMANode (P#0 cpuset 0x0000003f) without inclusion!
+* Error occurred in topology.c line 940
+*
+* Please report this error message to the hwloc user's mailing list,
+* along with the files generated by the hwloc-gather-topology script.
+*
+* hwloc will now ignore this invalid topology information and continue.
+****************************************************************************
+</pre><p>These errors are common on large AMD platforms because of BIOS and/or Linux kernel bugs causing invalid L3 cache information. In the above example, the hardware reports a L3 cache that is shared by 2 cores in the first NUMA node and 4 cores in the second NUMA node. That's wrong, it should actually be shared by all 6 cores in a single NUMA node. The resulting topology will miss some L3 caches.</p>
+<p>If your application does not care about cache sharing, or if you do not plan to request cache-aware binding in your process launcher, you may likely ignore this error (and hide it by setting HWLOC_HIDE_ERRORS=1 in your environment).</p>
+<p>Some platforms report similar warnings about conflicting Packages and NUMANodes.</p>
+<p>On x86 hosts, passing <code>HWLOC_COMPONENTS=x86</code> in the environment may workaround some of these issues by switching to a different way to discover the topology.</p>
+<p>Upgrading the BIOS and/or the operating system may help. Otherwise, as explained in the message, reporting this issue to the hwloc developers (by sending the tarball that is generated by the hwloc-gather-topology script on this platform) is a good way to make sure that this is a software (operating system) or hardware bug (BIOS, etc).</p>
+<p>See also <a class="el" href="index.html#bugs">Questions and Bugs</a>. Opening an issue on GitHub automatically displays hints on what information you should provide when reporting such bugs.</p>
+<h2><a class="anchor" id="faq_valgrind"></a>
+Why does Valgrind complain about hwloc memory leaks?</h2>
+<p>If you are debugging your application with Valgrind, you want to avoid memory leak reports that are caused by hwloc and not by your program.</p>
+<p>hwloc itself is often checked with Valgrind to make sure it does not leak memory. However some global variables in hwloc dependencies are never freed. For instance libz allocates its global state once at startup and never frees it so that it may be reused later. Some libxml2 global state is also never freed because hwloc does not know whether it can safely ask libxml2 to free it (the application may also be using libxml2 outside of hwloc).</p>
+<p>These unfreed variables cause leak reports in Valgrind. hwloc installs a Valgrind <em>suppressions</em> file to hide them. You should pass the following command-line option to Valgrind to use it: </p><pre class="fragment"> --suppressions=/path/to/hwloc-valgrind.supp
+</pre><h2><a class="anchor" id="faq_upgrade"></a>
+How do I handle ABI breaks and API upgrades?</h2>
+<p>The hwloc interface is extended with every new major release. Any application using the hwloc API should be prepared to check at compile-time whether some features are available in the currently installed hwloc distribution.</p>
+<p>For instance, to check whether the hwloc version is at least 1.10, you should use: </p><pre class="fragment">#include <hwloc.h>
+#if HWLOC_API_VERSION >= 0x00010a00
+...
+#endif
+</pre><p>To check for the API of release X.Y.Z at build time, you may compare <a class="el" href="a00149.html#ga8f4dfb8eef138af55dd1a0fa802e5476" title="Indicate at build time which hwloc API version is being used. ">HWLOC_API_VERSION</a> with <code>(X<<16)+(Y<<8)+Z</code>.</p>
+<p>For supporting older releases that do not have <code>HWLOC_OBJ_NUMANODE</code> and <code>HWLOC_OBJ_PACKAGE</code> yet, you may use:</p>
+<pre class="fragment">#include <hwloc.h>
+#if HWLOC_API_VERSION < 0x00010b00
+#define HWLOC_OBJ_NUMANODE HWLOC_OBJ_NODE
+#define HWLOC_OBJ_PACKAGE HWLOC_OBJ_SOCKET
+#endif
+</pre><p>The hwloc interface will be deeply modified in release 2.0 to fix several issues of the 1.x interface. The ABI will be broken, which means <b>applications must be recompiled against the new 2.0 interface</b>.</p>
+<p>To check that you are not mixing old/recent headers with a recent/old runtime library, check the major revision number in the API version: </p><pre class="fragment">#include <hwloc.h>
+ unsigned version = hwloc_get_api_version();
+ if ((version >> 16) != (HWLOC_API_VERSION >> 16)) {
+ fprintf(stderr,
+ "%s compiled for hwloc API 0x%x but running on library API 0x%x.\n"
+ "You may need to point LD_LIBRARY_PATH to the right hwloc library.\n"
+ "Aborting since the new ABI is not backward compatible.\n",
+ callname, HWLOC_API_VERSION, version);
+ exit(EXIT_FAILURE);
+ }
+</pre><p> To specifically detect v2.0 issues: </p><pre class="fragment">#include <hwloc.h>
+#if HWLOC_API_VERSION >= 0x00020000
+ /* headers are recent */
+ if (hwloc_get_api_version() < 0x20000)
+ ... error out, the hwloc runtime library is older than 2.0 ...
+#else
+ /* headers are pre-2.0 */
+ if (hwloc_get_api_version() >= 0x20000)
+ ... error out, the hwloc runtime library is more recent than 2.0 ...
+#endif
+</pre><p>You should not try to remain compatible with very old releases such as 1.1.x or earlier because <code><a class="el" href="a00149.html#ga8f4dfb8eef138af55dd1a0fa802e5476" title="Indicate at build time which hwloc API version is being used. ">HWLOC_API_VERSION</a></code> was added in 1.0.0 and <code><a class="el" href="a00149.html#ga9c0b50c98add1adf57ed1ce85bb5190d" title="Indicate at runtime which hwloc API version was used at build time. ">hwloc_get_api_version()</a></code> came only in 1.1.1. Also do not use the old cpuset API since it was deprecated and superseded by the bitmap API in 1.1, and later removed in 1.5.</p>
+<p>
+</div><div class="section" id="faq4">
+ </p>
+<h1><a class="anchor" id="faq4"></a>
+Platform-specific</h1>
+<h2><a class="anchor" id="faq_knl_numa"></a>
+How do I find the local MCDRAM NUMA node on Intel Xeon Phi processor?</h2>
+<p>Intel Xeon Phi processors introduced a new memory architecture by possibly having two distinct local memories: some normal memory (DDR) and some high-bandwidth on-package memory (MCDRAM). Processors can be configured in various clustering modes to have up to 4 <em>Clusters</em>. Moreover, each <em>Cluster</em> (quarter, half or whole processor) of the processor may have its own local parts of the DDR and of the MCDRAM. This memory and clustering configuration may be probed by looking at MemoryMode and ClusterMode attributes, see <a class="el" href="a00316.html#attributes_info">Custom string infos</a> and doc/examples/get-knl-modes.c in the source directory.</p>
+<p>The upcoming hwloc 2.0 will address this new architecture by presenting memory in an improved way. For now, starting with 1.11.2, hwloc releases use the following approximate representation:</p>
+<p>If a cluster only contains DDR or MCDRAM but not both, that memory is available as a local NUMA node above cores as usual.</p>
+<p>If a cluster contains both, two distinct NUMA nodes appear. They are sibling children of a Group object of type <code>Cluster</code> (or sibling children of the Package object for non-clustered processors).</p>
+<p>The DDR memory is the local NUMA node above cores as usual. Allocating memory from one core to its local NUMA node will therefore actually allocate it on the normal memory by default.</p>
+<p>The local high-bandwidth MCDRAM is the second NUMA node (without any Core or PU below it). It is the next sibling of the local DDR NUMA node below the same parent object. To allocate on the faster MCDRAM, one should first find the local NUMA node (the DDR memory, by looking up parent objects), and then take the next sibling to reach the local MCDRAM NUMA node (if any).</p>
+<p>The MCDRAM NUMA nodes may also be identified thanks to the <code>Type</code> info attribute which is set to <code>MCDRAM</code>.</p>
+<p>Command-line tools such as <code>hwloc-bind</code> may bind memory on the MCDRAM by using the <em>hbm</em> keyword. For instance, to bind on the first MCDRAM NUMA node:</p>
+<pre class="fragment">$ hwloc-bind --membind --hbm numa:0 -- myprogram
+$ hwloc-bind --membind numa:0 -- myprogram
+</pre><h2><a class="anchor" id="faq_knl_dump"></a>
+Why do I need hwloc-dump-hwdata for memory on Intel Xeon Phi processor?</h2>
+<p>Intel Xeon Phi processors may use the on-package memory (MCDRAM) as either memory or a memory-side cache (currently reported as a L3 cache by hwloc). There are also several clustering modes that significantly affect the memory organization (see <a class="el" href="a00323.html#faq_knl_numa">How do I find the local MCDRAM NUMA node on Intel Xeon Phi processor?</a> for more information about these modes). Details about these are currently only available to privileged users. Without them, hwloc relies on a heuristic for guessing the modes.</p>
+<p>The hwloc-dump-hwdata utility may be used to dump this privileged binary information into human-readable and world-accessible files that the hwloc library will later load. The utility should usually run as root once during boot, in order to update dumped information (stored under /var/run/hwloc by default) in case the MCDRAM or clustering configuration changed between reboots.</p>
+<p>When SELinux MLS policy is enabled, a specific hwloc policy module may be required so that all users get access to the dumped files (in /var/run/hwloc by default). One may use hwloc policy files from the SELinux Reference Policy at <a href="https://github.com/TresysTechnology/refpolicy-contrib">https://github.com/TresysTechnology/refpolicy-contrib</a> (see also the documentation at <a href="https://github.com/TresysTechnology/refpolicy/wiki/GettingStarted">https://github.com/TresysTechnology/refpolicy/wiki/GettingStarted</a>).</p>
+<p>hwloc-dump-hwdata requires <code>dmi-sysfs</code> kernel module loaded.</p>
+<p>The utility is currently unneeded on platforms without Intel Xeon Phi processors.</p>
+<p>See <code>HWLOC_DUMPED_HWDATA_DIR</code> in <a class="el" href="a00311.html">Environment Variables</a> for details about the location of dumped files.</p>
+<h2><a class="anchor" id="faq_phi"></a>
+How do I build for Intel Xeon Phi coprocessor?</h2>
+<dl class="section note"><dt>Note</dt><dd>This section does not apply to standalone Intel Xeon Phi processors (Knights Landing and Knights Mill).</dd></dl>
+<p>Intel Xeon Phi coprocessors (Knights Corner) usually runs a Linux environment but cross-compiling from the host is required. hwloc uses standard autotools options for cross-compiling.</p>
+<p>If building with <code>icc</code>: </p><pre class="fragment">./configure CC="icc -mmic" --host=x86_64-k1om-linux --build=x86_64-unknown-linux-gnu
+</pre><p>If building with the Xeon Phi-specific GCC that comes with the MPSS environment, for instance <code>/usr/linux-k1om-4.7/bin/x86_64-k1om-linux-gcc</code>: </p><pre class="fragment">export PATH=$PATH:/usr/linux-k1om-4.7/bin/
+./configure --host=x86_64-k1om-linux --build=x86_64-unknown-linux-gnu
+</pre><h2><a class="anchor" id="faq_bgq"></a>
+How do I build hwloc for BlueGene/Q?</h2>
+<p>IBM BlueGene/Q machines run a standard Linux on the login/frontend nodes and a custom CNK (<em>Compute Node Kernel</em>) on the compute nodes.</p>
+<p>To discover the topology of a login/frontend node, hwloc should be configured as usual, without any BlueGene/Q-specific option.</p>
+<p>However, one would likely rather discover the topology of the compute nodes where parallel jobs are actually running. If so, hwloc must be cross-compiled with the following configuration line: </p><pre class="fragment">./configure --host=powerpc64-bgq-linux --disable-shared --enable-static \
+ CPPFLAGS='-I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk/'
+</pre><p>CPPFLAGS may have to be updated if your platform headers are installed in a different directory.</p>
+<h2><a class="anchor" id="faq_windows"></a>
+How do I build hwloc for Windows?</h2>
+<p>hwloc releases are available as pre-built ZIPs for Windows on both 32bits and 64bits x86 platforms. They are built using MSYS2 and MinGW on a Windows host. Such an environment allows using the Unix-like <code>configure</code>, <code>make</code> and <code>make install</code> steps without having to tweak too many variables or options. One may look at <code>contrib/ci.inria.fr/job-3-mingw.sh</code> in the hwloc repository for an example used for nightly testing.</p>
+<p>hwloc releases also contain a basic Microsoft Visual Studio solution under <code>contrib/windows/</code>.</p>
+<h2><a class="anchor" id="faq_netbsd_bind"></a>
+How to get useful topology information on NetBSD?</h2>
+<p>The NetBSD (and FreeBSD) backend uses x86-specific topology discovery (through the x86 component). This implementation requires CPU binding so as to query topology information from each individual logical processor. This means that hwloc cannot find any useful topology information unless user-level process binding is allowed by the NetBSD kernel. The <code>security.models.extensions.user_set_cpu_affinity</code> sysctl variable must be set to 1 to do so. Otherwise, only the number of logical processors will be detected.</p>
+<h2><a class="anchor" id="faq_aix_bind"></a>
+Why does binding fail on AIX?</h2>
+<p>The AIX operating system requires specific user capabilities for attaching processes to resource sets (CAP_NUMA_ATTACH). Otherwise functions such as <a class="el" href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48" title="Bind current process or thread on cpus given in physical bitmap set. ">hwloc_set_cpubind()</a> fail (return -1 with errno set to EPERM).</p>
+<p>This capability must also be inherited (through the additional CAP_PROPAGATE capability) if you plan to bind a process before forking another process, for instance with <code>hwloc-bind</code>.</p>
+<p>These capabilities may be given by the administrator with: </p><pre class="fragment">chuser "capabilities=CAP_PROPAGATE,CAP_NUMA_ATTACH" <username>
+</pre> </div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Data Structures</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Data Structures</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock">Here are the data structures with brief descriptions:</div><div class="directory">
+<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00304.html" target="_self">hwloc_backend</a></td><td class="desc">Discovery backend structure </td></tr>
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00308.html" target="_self">hwloc_component</a></td><td class="desc">Generic component structure </td></tr>
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00300.html" target="_self">hwloc_disc_component</a></td><td class="desc">Discovery component structure </td></tr>
+<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00244.html" target="_self">hwloc_distances_s</a></td><td class="desc">Distances between objects </td></tr>
+<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00204.html" target="_self">hwloc_obj</a></td><td class="desc">Structure of a topology object </td></tr>
+<tr id="row_5_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_5_" class="arrow" onclick="toggleFolder('5_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00208.html" target="_self">hwloc_obj_attr_u</a></td><td class="desc">Object type-specific Attributes </td></tr>
+<tr id="row_5_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00224.html" target="_self">hwloc_bridge_attr_s</a></td><td class="desc">Bridge specific Object Attribues </td></tr>
+<tr id="row_5_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00212.html" target="_self">hwloc_cache_attr_s</a></td><td class="desc">Cache-specific Object Attributes </td></tr>
+<tr id="row_5_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00216.html" target="_self">hwloc_group_attr_s</a></td><td class="desc">Group-specific Object Attributes </td></tr>
+<tr id="row_5_3_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00240.html" target="_self">hwloc_osdev_attr_s</a></td><td class="desc">OS Device specific Object Attributes </td></tr>
+<tr id="row_5_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00220.html" target="_self">hwloc_pcidev_attr_s</a></td><td class="desc">PCI Device specific Object Attributes </td></tr>
+<tr id="row_6_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00248.html" target="_self">hwloc_obj_info_s</a></td><td class="desc">Object info </td></tr>
+<tr id="row_7_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_7_" class="arrow" onclick="toggleFolder('7_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00196.html" target="_self">hwloc_obj_memory_s</a></td><td class="desc">Object memory </td></tr>
+<tr id="row_7_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00200.html" target="_self">hwloc_obj_memory_page_type_s</a></td><td class="desc">Array of local memory page types, <code>NULL</code> if no local memory and <code>page_types</code> is 0 </td></tr>
+<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00256.html" target="_self">hwloc_topology_cpubind_support</a></td><td class="desc">Flags describing actual PU binding support for this topology </td></tr>
+<tr id="row_9_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_9_" class="arrow" onclick="toggleFolder('9_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00268.html" target="_self">hwloc_topology_diff_obj_attr_u</a></td><td class="desc">One object attribute difference </td></tr>
+<tr id="row_9_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00272.html" target="_self">hwloc_topology_diff_obj_attr_generic_s</a></td><td class="desc"></td></tr>
+<tr id="row_9_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00280.html" target="_self">hwloc_topology_diff_obj_attr_string_s</a></td><td class="desc">String attribute modification with an optional name </td></tr>
+<tr id="row_9_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00276.html" target="_self">hwloc_topology_diff_obj_attr_uint64_s</a></td><td class="desc">Integer attribute modification with an optional index </td></tr>
+<tr id="row_10_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_10_" class="arrow" onclick="toggleFolder('10_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00284.html" target="_self">hwloc_topology_diff_u</a></td><td class="desc">One element of a difference list between two topologies </td></tr>
+<tr id="row_10_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00288.html" target="_self">hwloc_topology_diff_generic_s</a></td><td class="desc"></td></tr>
+<tr id="row_10_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00292.html" target="_self">hwloc_topology_diff_obj_attr_s</a></td><td class="desc"></td></tr>
+<tr id="row_10_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00296.html" target="_self">hwloc_topology_diff_too_complex_s</a></td><td class="desc"></td></tr>
+<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00252.html" target="_self">hwloc_topology_discovery_support</a></td><td class="desc">Flags describing actual discovery support for this topology </td></tr>
+<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00260.html" target="_self">hwloc_topology_membind_support</a></td><td class="desc">Flags describing actual memory binding support for this topology </td></tr>
+<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="a00264.html" target="_self">hwloc_topology_support</a></td><td class="desc">Set of flags describing actual support for this topology </td></tr>
+</table>
+</div><!-- directory -->
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Data Structure Index</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Data Structure Index</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="qindex"><a class="qindex" href="#letter_h">h</a></div>
+<table class="classindex">
+<tr><td rowspan="2" valign="bottom"><a name="letter_h"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  h  </div></td></tr></table>
+</td><td valign="top"><a class="el" href="a00300.html">hwloc_disc_component</a>   </td><td valign="top"><a class="el" href="a00200.html">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a>   </td><td valign="top"><a class="el" href="a00272.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</a>   </td><td valign="top"><a class="el" href="a00284.html">hwloc_topology_diff_u</a>   </td></tr>
+<tr><td valign="top"><a class="el" href="a00244.html">hwloc_distances_s</a>   </td><td valign="top"><a class="el" href="a00196.html">hwloc_obj_memory_s</a>   </td><td valign="top"><a class="el" href="a00292.html">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>   </td><td valign="top"><a class="el" href="a00252.html">hwloc_topology_discovery_support</a>   </td></tr>
+<tr><td valign="top"><a class="el" href="a00304.html">hwloc_backend</a>   </td><td valign="top"><a class="el" href="a00216.html">hwloc_obj_attr_u::hwloc_group_attr_s</a>   </td><td valign="top"><a class="el" href="a00240.html">hwloc_obj_attr_u::hwloc_osdev_attr_s</a>   </td><td valign="top"><a class="el" href="a00280.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>   </td><td valign="top"><a class="el" href="a00260.html">hwloc_topology_membind_support</a>   </td></tr>
+<tr><td valign="top"><a class="el" href="a00224.html">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>   </td><td valign="top"><a class="el" href="a00204.html">hwloc_obj</a>   </td><td valign="top"><a class="el" href="a00220.html">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>   </td><td valign="top"><a class="el" href="a00268.html">hwloc_topology_diff_obj_attr_u</a>   </td><td valign="top"><a class="el" href="a00264.html">hwloc_topology_support</a>   </td></tr>
+<tr><td valign="top"><a class="el" href="a00212.html">hwloc_obj_attr_u::hwloc_cache_attr_s</a>   </td><td valign="top"><a class="el" href="a00208.html">hwloc_obj_attr_u</a>   </td><td valign="top"><a class="el" href="a00256.html">hwloc_topology_cpubind_support</a>   </td><td valign="top"><a class="el" href="a00276.html">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>   </td><td></td></tr>
+<tr><td valign="top"><a class="el" href="a00308.html">hwloc_component</a>   </td><td valign="top"><a class="el" href="a00248.html">hwloc_obj_info_s</a>   </td><td valign="top"><a class="el" href="a00288.html">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a>   </td><td valign="top"><a class="el" href="a00296.html">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>   </td><td></td></tr>
+<tr><td></td><td></td><td></td><td></td><td></td></tr>
+</table>
+<div class="qindex"><a class="qindex" href="#letter_h">h</a></div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): hwloc Directory Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">hwloc Directory Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a>
+Files</h2></td></tr>
+<tr class="memitem:a00107"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>bitmap.h</b> <a href="a00107_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00122"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>cuda.h</b> <a href="a00122_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00125"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>cudart.h</b> <a href="a00125_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00143"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>diff.h</b> <a href="a00143_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00131"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>gl.h</b> <a href="a00131_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00116"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>glibc-sched.h</b> <a href="a00116_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00104"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>helper.h</b> <a href="a00104_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00134"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>intel-mic.h</b> <a href="a00134_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00113"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>linux-libnuma.h</b> <a href="a00113_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00110"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>linux.h</b> <a href="a00110_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00140"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>myriexpress.h</b> <a href="a00140_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00128"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>nvml.h</b> <a href="a00128_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00119"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>opencl.h</b> <a href="a00119_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00137"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>openfabrics-verbs.h</b> <a href="a00137_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00146"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>plugins.h</b> <a href="a00146_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): include Directory Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">include Directory Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="subdirs"></a>
+Directories</h2></td></tr>
+<tr class="memitem:dir_5cb306d949c7931a3b6c77517393dd34"><td class="memItemLeft" align="right" valign="top">directory  </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a>
+Files</h2></td></tr>
+<tr class="memitem:a00101"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>hwloc.h</b> <a href="a00101_source.html">[code]</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+body {
+ font-size: 13px;
+/* margin-top: 0px; */
+}
+
+div.menu {
+ text-align: center;
+ margin-top: 12px;
+ margin-bottom: 3px;
+ background: #eeeeff;
+ font-variant: small-caps;
+/* position: fixed;*/
+ width: 100%;
+}
+div.menu a {
+ text-decoration: none;
+ color: #0020a0;
+}
+div.menu hr.menu {
+ height: 4px;
+ background: #fe0;
+ border: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+}
+
+div.title {
+ font: bold normal 2em sans-serif ;
+ margin: 0px;
+ color: #0020a0;
+}
+
+h1 {
+ font: bold normal 1.7em sans-serif ;
+ margin: 0px;
+ color: #0020a0;
+}
+h1.sub {
+ font: bold normal 1.3em sans-serif ;
+ text-align: right ;
+ color: #0020a0;
+}
+h1 a {
+ color: #0020a0;
+ text-decoration: none;
+}
+
+h2 {
+ font: bold normal small-caps 1.3em sans-serif ;
+ color: #0020a0;
+ margin-top: 8px;
+ margin-bottom: 8px;
+}
+
+h4 {
+ font: bold normal small-caps 1em sans-serif ;
+ color: #0020a0;
+ margin-top: 8px;
+ margin-bottom: 4px;
+}
+
+h6.mirrors {
+ text-align: right;
+ margin: 0px;
+ font-size: 10px;
+}
+
+div.section {
+ background: #eeeeff;
+ padding-left: 2px;
+ padding-bottom: 2px;
+ margin-top: 12px;
+ margin-bottom: 12px;
+}
+
+p {
+ margin-top: 8px;
+ margin-bottom: 4px;
+ margin-left: 6px;
+ margin-right: 6px;
+}
+
+hr {
+ height: 8px;
+ background: #fe0;
+ border: 0px;
+ margin-top: 6px;
+ margin-bottom: 6px;
+}
+
+pre {
+ font-size: 12px;
+ background: #dddddd;
+ padding: 3px;
+ padding-left: 0px;
+ margin-left: 12px;
+}
+
+a {
+ font-weight: bold;
+}
+
+div.publis-desc {
+ text-align: right;
+ font-style: italic;
+ font-size: 12px;
+ padding-left: 15%;
+}
+
+p.updated {
+ text-align: right;
+ font-size: 10px;
+ font-style: italic;
+}
+
+div.line {
+ font-family: monospace, fixed;
+ font-size: 13px;
+ min-height: 13px;
+ line-height: 1.0;
+ text-wrap: unrestricted;
+ white-space: -moz-pre-wrap; /* Moz */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ white-space: pre-wrap; /* CSS3 */
+ word-wrap: break-word; /* IE 5.5+ */
+ text-indent: -53px;
+ padding-left: 53px;
+ padding-bottom: 0px;
+ margin: 0px;
+ -webkit-transition-property: background-color, box-shadow;
+ -webkit-transition-duration: 0.5s;
+ -moz-transition-property: background-color, box-shadow;
+ -moz-transition-duration: 0.5s;
+ -ms-transition-property: background-color, box-shadow;
+ -ms-transition-duration: 0.5s;
+ -o-transition-property: background-color, box-shadow;
+ -o-transition-duration: 0.5s;
+ transition-property: background-color, box-shadow;
+ transition-duration: 0.5s;
+}
+
+div.line.glow {
+ background-color: cyan;
+ box-shadow: 0 0 10px cyan;
+}
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Data Fields</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="contents">
+<div class="textblock">Here is a list of all struct and union fields with links to the structures/unions they belong to:</div>
+
+<h3><a id="index_a"></a>- a -</h3><ul>
+<li>abi
+: <a class="el" href="a00308.html#a3250bd6fc9713946991d805e48091b2e">hwloc_component</a>
+</li>
+<li>alloc_membind
+: <a class="el" href="a00260.html#ae551abb27d2aa9ce008583488b845b98">hwloc_topology_membind_support</a>
+</li>
+<li>allowed_cpuset
+: <a class="el" href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34">hwloc_obj</a>
+</li>
+<li>allowed_nodeset
+: <a class="el" href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531">hwloc_obj</a>
+</li>
+<li>arity
+: <a class="el" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">hwloc_obj</a>
+</li>
+<li>associativity
+: <a class="el" href="a00212.html#ad06525e474d1e2d1423ed71bb998592d">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+</li>
+<li>attr
+: <a class="el" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_b"></a>- b -</h3><ul>
+<li>bind_membind
+: <a class="el" href="a00260.html#ae7cdb1f1b5f0242a69f85b5a5538c764">hwloc_topology_membind_support</a>
+</li>
+<li>bridge
+: <a class="el" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">hwloc_obj_attr_u</a>
+</li>
+<li>bus
+: <a class="el" href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_c"></a>- c -</h3><ul>
+<li>cache
+: <a class="el" href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">hwloc_obj_attr_u</a>
+</li>
+<li>children
+: <a class="el" href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">hwloc_obj</a>
+</li>
+<li>class_id
+: <a class="el" href="a00220.html#aee735352d9f1686fd290fc6d6397c334">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>complete_cpuset
+: <a class="el" href="a00204.html#a91788a9da687beb7224cc1fd7b75208c">hwloc_obj</a>
+</li>
+<li>complete_nodeset
+: <a class="el" href="a00204.html#ac38c4012127525ef74c5615c526f4c2e">hwloc_obj</a>
+</li>
+<li>count
+: <a class="el" href="a00200.html#aa5b9fa36f1dc47ff3c345fe4dd06b260">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a>
+</li>
+<li>cpubind
+: <a class="el" href="a00264.html#adef2bb91f74c3e70a2a071393caf5f56">hwloc_topology_support</a>
+</li>
+<li>cpuset
+: <a class="el" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_d"></a>- d -</h3><ul>
+<li>data
+: <a class="el" href="a00308.html#a4b8cffd1d943c29fdc102b841b8598d4">hwloc_component</a>
+</li>
+<li>depth
+: <a class="el" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">hwloc_obj</a>
+, <a class="el" href="a00224.html#a336c8b22893d5d734d8c9dfca4066b46">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+, <a class="el" href="a00212.html#a5c8f7f39193736c2187ed626940835d5">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+, <a class="el" href="a00216.html#ad914eac61c77481e1b7037877bcc5579">hwloc_obj_attr_u::hwloc_group_attr_s</a>
+</li>
+<li>dev
+: <a class="el" href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>device_id
+: <a class="el" href="a00220.html#a35b66064ab7d768caf7154e410caf0fa">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>diff
+: <a class="el" href="a00292.html#a91f0645f9062e892652357cd141c8ebb">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+</li>
+<li>disable
+: <a class="el" href="a00304.html#a36c4fa86350525b46340c67b802c69c7">hwloc_backend</a>
+</li>
+<li>discover
+: <a class="el" href="a00304.html#aeb9e1dcf68853a65355082b359a3a2d7">hwloc_backend</a>
+</li>
+<li>discovery
+: <a class="el" href="a00264.html#aea3fbd7653d987d81f848636c420504d">hwloc_topology_support</a>
+</li>
+<li>distances
+: <a class="el" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">hwloc_obj</a>
+</li>
+<li>distances_count
+: <a class="el" href="a00204.html#a8be6f63eca4da91000c832280db927b7">hwloc_obj</a>
+</li>
+<li>domain
+: <a class="el" href="a00224.html#a2c31e565a5f0d23d0a0a3dd3ec8f4b17">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+, <a class="el" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>dont_merge
+: <a class="el" href="a00216.html#afa253d4b70f92e940c226d61f192054f">hwloc_obj_attr_u::hwloc_group_attr_s</a>
+</li>
+<li>downstream
+: <a class="el" href="a00224.html#acaf1ae02e37182bbb6966f8c4f35e499">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>downstream_type
+: <a class="el" href="a00224.html#ac6a169b672d0e9f75756fd5665828b93">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_e"></a>- e -</h3><ul>
+<li>excludes
+: <a class="el" href="a00300.html#a34144f4d59bf46524e4875194652412b">hwloc_disc_component</a>
+</li>
+</ul>
+
+
+<h3><a id="index_f"></a>- f -</h3><ul>
+<li>finalize
+: <a class="el" href="a00308.html#a4612015451a1c706e8ba19114cb8baae">hwloc_component</a>
+</li>
+<li>first_child
+: <a class="el" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">hwloc_obj</a>
+</li>
+<li>firsttouch_membind
+: <a class="el" href="a00260.html#a221098c339dbfab27bd2c9f5d32f123b">hwloc_topology_membind_support</a>
+</li>
+<li>flags
+: <a class="el" href="a00304.html#aaa8eafe495aadd81c2e3c4ec527c10ba">hwloc_backend</a>
+, <a class="el" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">hwloc_component</a>
+</li>
+<li>func
+: <a class="el" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_g"></a>- g -</h3><ul>
+<li>generic
+: <a class="el" href="a00268.html#a68039c178e9961023345e0728382773b">hwloc_topology_diff_obj_attr_u</a>
+, <a class="el" href="a00284.html#af1882d9c9d37c735a0e9b04069fab01f">hwloc_topology_diff_u</a>
+</li>
+<li>get_area_membind
+: <a class="el" href="a00260.html#a0a84e24a06f2fa487fe8c9605c6f68b3">hwloc_topology_membind_support</a>
+</li>
+<li>get_area_memlocation
+: <a class="el" href="a00260.html#a30173553a68e0a4dd1672d26f8e892b1">hwloc_topology_membind_support</a>
+</li>
+<li>get_obj_cpuset
+: <a class="el" href="a00304.html#ab3d1836eeda1970a4c51342df186581e">hwloc_backend</a>
+</li>
+<li>get_proc_cpubind
+: <a class="el" href="a00256.html#aae705bc447adc163ead377362c4dfe9f">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_proc_last_cpu_location
+: <a class="el" href="a00256.html#a2554620148b7992a5093f338f5ae254f">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_proc_membind
+: <a class="el" href="a00260.html#a9880cd2d605e316fc020167c49ca69ad">hwloc_topology_membind_support</a>
+</li>
+<li>get_thisproc_cpubind
+: <a class="el" href="a00256.html#a77a09ddd78ee3e9ff5f532a6ac74f7eb">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisproc_last_cpu_location
+: <a class="el" href="a00256.html#ad2d5c94b738d92b7d2ede87e4e96321d">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisproc_membind
+: <a class="el" href="a00260.html#a3fd51e6fa5f0dd800322301b46b08559">hwloc_topology_membind_support</a>
+</li>
+<li>get_thisthread_cpubind
+: <a class="el" href="a00256.html#a80d762e532d677dff262d83cc7bb1c60">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisthread_last_cpu_location
+: <a class="el" href="a00256.html#a6be1f042fdce6bf41b4ea39f6f193808">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisthread_membind
+: <a class="el" href="a00260.html#a63b0b2e26157b472f5717ee93cc7c535">hwloc_topology_membind_support</a>
+</li>
+<li>get_thread_cpubind
+: <a class="el" href="a00256.html#a8dd4d8531ed2eebdce1507e7d104154e">hwloc_topology_cpubind_support</a>
+</li>
+<li>group
+: <a class="el" href="a00208.html#ae4ba157cc313e2cdd9a82f1c1df7aaa6">hwloc_obj_attr_u</a>
+</li>
+</ul>
+
+
+<h3><a id="index_i"></a>- i -</h3><ul>
+<li>index
+: <a class="el" href="a00276.html#adb772c3f1761ecadf496c80ae14afce3">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+</li>
+<li>infos
+: <a class="el" href="a00204.html#ad59bcd73a10260a0e239be5c4b5888bb">hwloc_obj</a>
+</li>
+<li>infos_count
+: <a class="el" href="a00204.html#a9843acc28cfbba903b63ea14b137ff70">hwloc_obj</a>
+</li>
+<li>init
+: <a class="el" href="a00308.html#aea613546886d9b8221cadba920fe3ebc">hwloc_component</a>
+</li>
+<li>instantiate
+: <a class="el" href="a00300.html#ab8390b4bc16e44d5dfcbc35f38065eb7">hwloc_disc_component</a>
+</li>
+<li>interleave_membind
+: <a class="el" href="a00260.html#a3c44c6012860bbeba8a0f4c19710858d">hwloc_topology_membind_support</a>
+</li>
+<li>is_custom
+: <a class="el" href="a00304.html#a5209e6508c110dcd4c3c296466f07cb3">hwloc_backend</a>
+</li>
+<li>is_thissystem
+: <a class="el" href="a00304.html#ab8806f6db077f1bb2e9d63ec99223f7a">hwloc_backend</a>
+</li>
+</ul>
+
+
+<h3><a id="index_l"></a>- l -</h3><ul>
+<li>last_child
+: <a class="el" href="a00204.html#a84bd65634dbc55f4158b74443a9bd04f">hwloc_obj</a>
+</li>
+<li>latency
+: <a class="el" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">hwloc_distances_s</a>
+</li>
+<li>latency_base
+: <a class="el" href="a00244.html#a204416418049a272bfb51602fc676342">hwloc_distances_s</a>
+</li>
+<li>latency_max
+: <a class="el" href="a00244.html#aab61bd1d1ae2e121bfe793c973ec829e">hwloc_distances_s</a>
+</li>
+<li>linesize
+: <a class="el" href="a00212.html#a801e8a668e28caf06c8b88e9ae5c10db">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+</li>
+<li>linkspeed
+: <a class="el" href="a00220.html#a59b2fce35f7cbde86c4fd305d0ccda5f">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>local_memory
+: <a class="el" href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">hwloc_obj_memory_s</a>
+</li>
+<li>logical_index
+: <a class="el" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_m"></a>- m -</h3><ul>
+<li>membind
+: <a class="el" href="a00264.html#ac6eb62ae8bc0a68dce679a7107a36194">hwloc_topology_support</a>
+</li>
+<li>memory
+: <a class="el" href="a00204.html#a1dc830816716213b5f797e4052487864">hwloc_obj</a>
+</li>
+<li>migrate_membind
+: <a class="el" href="a00260.html#aafa7683871a6a760246f9b35209caec5">hwloc_topology_membind_support</a>
+</li>
+</ul>
+
+
+<h3><a id="index_n"></a>- n -</h3><ul>
+<li>name
+: <a class="el" href="a00300.html#a4064c3b5d9213027e87caebef380a840">hwloc_disc_component</a>
+, <a class="el" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj</a>
+, <a class="el" href="a00248.html#a115dde58f40338a2d3276d59c099857d">hwloc_obj_info_s</a>
+, <a class="el" href="a00280.html#a7ef48c66ccddf34d90edb4e4314b41c6">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+</li>
+<li>nbobjs
+: <a class="el" href="a00244.html#a4ca2af858cebbce7324ec49903d09474">hwloc_distances_s</a>
+</li>
+<li>newvalue
+: <a class="el" href="a00280.html#a75f37f4add21cece50fee2701c3b77db">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+, <a class="el" href="a00276.html#ae63aa59ad65aa783b730a4f213304eb4">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+</li>
+<li>next
+: <a class="el" href="a00288.html#a720aa94eb73cddfd8d6bf9fcbbfc035e">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a>
+, <a class="el" href="a00292.html#acb9170a8eb3392656d70f7f3ef3e3eed">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a375afbaa043b109be689a7d9a3c7d153">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+<li>next_cousin
+: <a class="el" href="a00204.html#a85a788017457129589318b6c39451acf">hwloc_obj</a>
+</li>
+<li>next_sibling
+: <a class="el" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">hwloc_obj</a>
+</li>
+<li>nexttouch_membind
+: <a class="el" href="a00260.html#ab0921af6e0cd6975812a80b8e5c7435c">hwloc_topology_membind_support</a>
+</li>
+<li>nodeset
+: <a class="el" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">hwloc_obj</a>
+</li>
+<li>notify_new_object
+: <a class="el" href="a00304.html#a5a4803e23309be318d7cdb641a5f1037">hwloc_backend</a>
+</li>
+</ul>
+
+
+<h3><a id="index_o"></a>- o -</h3><ul>
+<li>obj_attr
+: <a class="el" href="a00284.html#a7245713f0f49e9f08fda28401a4f98fd">hwloc_topology_diff_u</a>
+</li>
+<li>obj_depth
+: <a class="el" href="a00292.html#aa28a121d9e158b1e610fb844ae1c8824">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a77e9eac7db8b073c9bf996f19eda1631">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+<li>obj_index
+: <a class="el" href="a00292.html#adb9f4d414470b6670cde8d90759a6c1c">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a6dc6b3c4adb10db74d993e37afaa0580">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+<li>oldvalue
+: <a class="el" href="a00280.html#a33cc281d4417129064295a6ae7b79818">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+, <a class="el" href="a00276.html#a44c0894dce563335d347fde6595c49c9">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+</li>
+<li>online_cpuset
+: <a class="el" href="a00204.html#a8842d56c2975380f327ea401c5f53564">hwloc_obj</a>
+</li>
+<li>os_index
+: <a class="el" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">hwloc_obj</a>
+</li>
+<li>os_level
+: <a class="el" href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde">hwloc_obj</a>
+</li>
+<li>osdev
+: <a class="el" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u</a>
+</li>
+</ul>
+
+
+<h3><a id="index_p"></a>- p -</h3><ul>
+<li>page_types
+: <a class="el" href="a00196.html#a865eba7b12b986d72dbe7a2cfd97c50d">hwloc_obj_memory_s</a>
+</li>
+<li>page_types_len
+: <a class="el" href="a00196.html#a208c27f4491077d7fb9ba5db8b29cb57">hwloc_obj_memory_s</a>
+</li>
+<li>parent
+: <a class="el" href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj</a>
+</li>
+<li>pci
+: <a class="el" href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>pcidev
+: <a class="el" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">hwloc_obj_attr_u</a>
+</li>
+<li>prev_cousin
+: <a class="el" href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0">hwloc_obj</a>
+</li>
+<li>prev_sibling
+: <a class="el" href="a00204.html#a7b89e8c189876c0158a9282aaaf17f50">hwloc_obj</a>
+</li>
+<li>priority
+: <a class="el" href="a00300.html#ae86d283c272c5ae24073a235efbf6b59">hwloc_disc_component</a>
+</li>
+<li>private_data
+: <a class="el" href="a00304.html#a2ea5bd36b7f06efdb65b98b32af16c68">hwloc_backend</a>
+</li>
+<li>pu
+: <a class="el" href="a00252.html#ad7bb4ecf7a82f5a04fc632e9592ad3ab">hwloc_topology_discovery_support</a>
+</li>
+</ul>
+
+
+<h3><a id="index_r"></a>- r -</h3><ul>
+<li>relative_depth
+: <a class="el" href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">hwloc_distances_s</a>
+</li>
+<li>replicate_membind
+: <a class="el" href="a00260.html#afe608fb85eb2aa9706221ccb5fc4d415">hwloc_topology_membind_support</a>
+</li>
+<li>revision
+: <a class="el" href="a00220.html#a13ad54c93d08d8ac808e4de9674c5ee7">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_s"></a>- s -</h3><ul>
+<li>secondary_bus
+: <a class="el" href="a00224.html#ae2d9dd73ef1d32045c584a8e66d2f83f">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>set_area_membind
+: <a class="el" href="a00260.html#a476c06f96b65c08b287cf2369966123b">hwloc_topology_membind_support</a>
+</li>
+<li>set_proc_cpubind
+: <a class="el" href="a00256.html#aa166223d1c2a6de7256ab2d8b675a87e">hwloc_topology_cpubind_support</a>
+</li>
+<li>set_proc_membind
+: <a class="el" href="a00260.html#a756f44912894b176bf979a1b65f12aac">hwloc_topology_membind_support</a>
+</li>
+<li>set_thisproc_cpubind
+: <a class="el" href="a00256.html#a9403d51657a4d546b3ea9553a2973a27">hwloc_topology_cpubind_support</a>
+</li>
+<li>set_thisproc_membind
+: <a class="el" href="a00260.html#a36b3e388df9c6a249427cab7e3724749">hwloc_topology_membind_support</a>
+</li>
+<li>set_thisthread_cpubind
+: <a class="el" href="a00256.html#a57a89a4b5f1f74fa6cfe176f1e8b0798">hwloc_topology_cpubind_support</a>
+</li>
+<li>set_thisthread_membind
+: <a class="el" href="a00260.html#a0697af2e41f2e82b8ce71e3cc13f7eac">hwloc_topology_membind_support</a>
+</li>
+<li>set_thread_cpubind
+: <a class="el" href="a00256.html#a46fba33e307909ce256624687799dd6d">hwloc_topology_cpubind_support</a>
+</li>
+<li>sibling_rank
+: <a class="el" href="a00204.html#aaa6043eee6f55869933c1d974efd9acd">hwloc_obj</a>
+</li>
+<li>size
+: <a class="el" href="a00212.html#abe5e788943ed04302976740c829674c0">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+, <a class="el" href="a00200.html#a3f1d261766352288791512974665ce01">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a>
+</li>
+<li>string
+: <a class="el" href="a00268.html#a518a48e13168c31957589ce78820163e">hwloc_topology_diff_obj_attr_u</a>
+</li>
+<li>subdevice_id
+: <a class="el" href="a00220.html#acac741aecd7a6db64f33409427e3971f">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>subordinate_bus
+: <a class="el" href="a00224.html#af3f3f7d76bf03e8d2afa721c2b8d6771">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>subvendor_id
+: <a class="el" href="a00220.html#a499db3d8cc89eaba04fcaef3df1cba97">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>symmetric_subtree
+: <a class="el" href="a00204.html#a0f41a1d67dc6b661906f2217563637f3">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_t"></a>- t -</h3><ul>
+<li>too_complex
+: <a class="el" href="a00284.html#adaaabee4029a455119ec3695c19632d6">hwloc_topology_diff_u</a>
+</li>
+<li>total_memory
+: <a class="el" href="a00196.html#a8befd0b3f4f8b695cafed04b31f36a44">hwloc_obj_memory_s</a>
+</li>
+<li>type
+: <a class="el" href="a00308.html#a789208ada7e17492cfd3a5a88a6bb0ee">hwloc_component</a>
+, <a class="el" href="a00300.html#ad070350354cbd665803fc86fe48cdb3d">hwloc_disc_component</a>
+, <a class="el" href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj</a>
+, <a class="el" href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+, <a class="el" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s</a>
+, <a class="el" href="a00272.html#a43f8133b7c30129b002c2d295e6580fc">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</a>
+, <a class="el" href="a00280.html#a784ab5827c1bf531b86d1f02f199d04d">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+, <a class="el" href="a00276.html#afe262b9aa558fe7bfecbd37a7a129197">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+, <a class="el" href="a00288.html#a373005489fcddeba6319163e60263ae8">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a>
+, <a class="el" href="a00292.html#a70a118ad288bd98f18c8ce6dc52e2d10">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a92084295a4d6faf17a95a7eea526ddbd">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_u"></a>- u -</h3><ul>
+<li>uint64
+: <a class="el" href="a00268.html#abb15bfa7039ca8c97cd7ddfbdf779efa">hwloc_topology_diff_obj_attr_u</a>
+</li>
+<li>upstream
+: <a class="el" href="a00224.html#a00ce9d99fc8792d1044fe25dc58605fe">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>upstream_type
+: <a class="el" href="a00224.html#a265dd2164aa2df4972e25a029da72125">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>userdata
+: <a class="el" href="a00204.html#a76fd3ac94401cf32dfccc3a3a8de68a5">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_v"></a>- v -</h3><ul>
+<li>value
+: <a class="el" href="a00248.html#a522efd7f5262a4493a73fa3476a041ce">hwloc_obj_info_s</a>
+</li>
+<li>vendor_id
+: <a class="el" href="a00220.html#aad970ad19b62eb2d5df30e4802da4f4c">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Data Fields - Variables</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="contents">
+ 
+
+<h3><a id="index_a"></a>- a -</h3><ul>
+<li>abi
+: <a class="el" href="a00308.html#a3250bd6fc9713946991d805e48091b2e">hwloc_component</a>
+</li>
+<li>alloc_membind
+: <a class="el" href="a00260.html#ae551abb27d2aa9ce008583488b845b98">hwloc_topology_membind_support</a>
+</li>
+<li>allowed_cpuset
+: <a class="el" href="a00204.html#afa3c59a6dd3da8ffa48710780a1bfb34">hwloc_obj</a>
+</li>
+<li>allowed_nodeset
+: <a class="el" href="a00204.html#a19e3d0a5951a7510fc4fc4722a9bf531">hwloc_obj</a>
+</li>
+<li>arity
+: <a class="el" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">hwloc_obj</a>
+</li>
+<li>associativity
+: <a class="el" href="a00212.html#ad06525e474d1e2d1423ed71bb998592d">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+</li>
+<li>attr
+: <a class="el" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_b"></a>- b -</h3><ul>
+<li>bind_membind
+: <a class="el" href="a00260.html#ae7cdb1f1b5f0242a69f85b5a5538c764">hwloc_topology_membind_support</a>
+</li>
+<li>bridge
+: <a class="el" href="a00208.html#adbdf280699dd84c7619cd8d9edc0d958">hwloc_obj_attr_u</a>
+</li>
+<li>bus
+: <a class="el" href="a00220.html#aae99e035e8d1387d7b8768aaa8eceb0a">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_c"></a>- c -</h3><ul>
+<li>cache
+: <a class="el" href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">hwloc_obj_attr_u</a>
+</li>
+<li>children
+: <a class="el" href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">hwloc_obj</a>
+</li>
+<li>class_id
+: <a class="el" href="a00220.html#aee735352d9f1686fd290fc6d6397c334">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>complete_cpuset
+: <a class="el" href="a00204.html#a91788a9da687beb7224cc1fd7b75208c">hwloc_obj</a>
+</li>
+<li>complete_nodeset
+: <a class="el" href="a00204.html#ac38c4012127525ef74c5615c526f4c2e">hwloc_obj</a>
+</li>
+<li>count
+: <a class="el" href="a00200.html#aa5b9fa36f1dc47ff3c345fe4dd06b260">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a>
+</li>
+<li>cpubind
+: <a class="el" href="a00264.html#adef2bb91f74c3e70a2a071393caf5f56">hwloc_topology_support</a>
+</li>
+<li>cpuset
+: <a class="el" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_d"></a>- d -</h3><ul>
+<li>data
+: <a class="el" href="a00308.html#a4b8cffd1d943c29fdc102b841b8598d4">hwloc_component</a>
+</li>
+<li>depth
+: <a class="el" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">hwloc_obj</a>
+, <a class="el" href="a00224.html#a336c8b22893d5d734d8c9dfca4066b46">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+, <a class="el" href="a00212.html#a5c8f7f39193736c2187ed626940835d5">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+, <a class="el" href="a00216.html#ad914eac61c77481e1b7037877bcc5579">hwloc_obj_attr_u::hwloc_group_attr_s</a>
+</li>
+<li>dev
+: <a class="el" href="a00220.html#a3d70c84a12f7e93d14c8d47bf4fd9dc5">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>device_id
+: <a class="el" href="a00220.html#a35b66064ab7d768caf7154e410caf0fa">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>diff
+: <a class="el" href="a00292.html#a91f0645f9062e892652357cd141c8ebb">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+</li>
+<li>disable
+: <a class="el" href="a00304.html#a36c4fa86350525b46340c67b802c69c7">hwloc_backend</a>
+</li>
+<li>discover
+: <a class="el" href="a00304.html#aeb9e1dcf68853a65355082b359a3a2d7">hwloc_backend</a>
+</li>
+<li>discovery
+: <a class="el" href="a00264.html#aea3fbd7653d987d81f848636c420504d">hwloc_topology_support</a>
+</li>
+<li>distances
+: <a class="el" href="a00204.html#a9a5dd75596edc48fe834f81988cdc0d6">hwloc_obj</a>
+</li>
+<li>distances_count
+: <a class="el" href="a00204.html#a8be6f63eca4da91000c832280db927b7">hwloc_obj</a>
+</li>
+<li>domain
+: <a class="el" href="a00224.html#a2c31e565a5f0d23d0a0a3dd3ec8f4b17">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+, <a class="el" href="a00220.html#a8fba44988deb98613c1505a4019a34dc">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>dont_merge
+: <a class="el" href="a00216.html#afa253d4b70f92e940c226d61f192054f">hwloc_obj_attr_u::hwloc_group_attr_s</a>
+</li>
+<li>downstream
+: <a class="el" href="a00224.html#acaf1ae02e37182bbb6966f8c4f35e499">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>downstream_type
+: <a class="el" href="a00224.html#ac6a169b672d0e9f75756fd5665828b93">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_e"></a>- e -</h3><ul>
+<li>excludes
+: <a class="el" href="a00300.html#a34144f4d59bf46524e4875194652412b">hwloc_disc_component</a>
+</li>
+</ul>
+
+
+<h3><a id="index_f"></a>- f -</h3><ul>
+<li>finalize
+: <a class="el" href="a00308.html#a4612015451a1c706e8ba19114cb8baae">hwloc_component</a>
+</li>
+<li>first_child
+: <a class="el" href="a00204.html#af51d08a0a79dba517c06c5afedc8d2dc">hwloc_obj</a>
+</li>
+<li>firsttouch_membind
+: <a class="el" href="a00260.html#a221098c339dbfab27bd2c9f5d32f123b">hwloc_topology_membind_support</a>
+</li>
+<li>flags
+: <a class="el" href="a00304.html#aaa8eafe495aadd81c2e3c4ec527c10ba">hwloc_backend</a>
+, <a class="el" href="a00308.html#ab8043c5b4cc0e81aabba586ccb194335">hwloc_component</a>
+</li>
+<li>func
+: <a class="el" href="a00220.html#a695f32df53f4ef728670bfcf31b74e0f">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_g"></a>- g -</h3><ul>
+<li>generic
+: <a class="el" href="a00268.html#a68039c178e9961023345e0728382773b">hwloc_topology_diff_obj_attr_u</a>
+, <a class="el" href="a00284.html#af1882d9c9d37c735a0e9b04069fab01f">hwloc_topology_diff_u</a>
+</li>
+<li>get_area_membind
+: <a class="el" href="a00260.html#a0a84e24a06f2fa487fe8c9605c6f68b3">hwloc_topology_membind_support</a>
+</li>
+<li>get_area_memlocation
+: <a class="el" href="a00260.html#a30173553a68e0a4dd1672d26f8e892b1">hwloc_topology_membind_support</a>
+</li>
+<li>get_obj_cpuset
+: <a class="el" href="a00304.html#ab3d1836eeda1970a4c51342df186581e">hwloc_backend</a>
+</li>
+<li>get_proc_cpubind
+: <a class="el" href="a00256.html#aae705bc447adc163ead377362c4dfe9f">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_proc_last_cpu_location
+: <a class="el" href="a00256.html#a2554620148b7992a5093f338f5ae254f">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_proc_membind
+: <a class="el" href="a00260.html#a9880cd2d605e316fc020167c49ca69ad">hwloc_topology_membind_support</a>
+</li>
+<li>get_thisproc_cpubind
+: <a class="el" href="a00256.html#a77a09ddd78ee3e9ff5f532a6ac74f7eb">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisproc_last_cpu_location
+: <a class="el" href="a00256.html#ad2d5c94b738d92b7d2ede87e4e96321d">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisproc_membind
+: <a class="el" href="a00260.html#a3fd51e6fa5f0dd800322301b46b08559">hwloc_topology_membind_support</a>
+</li>
+<li>get_thisthread_cpubind
+: <a class="el" href="a00256.html#a80d762e532d677dff262d83cc7bb1c60">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisthread_last_cpu_location
+: <a class="el" href="a00256.html#a6be1f042fdce6bf41b4ea39f6f193808">hwloc_topology_cpubind_support</a>
+</li>
+<li>get_thisthread_membind
+: <a class="el" href="a00260.html#a63b0b2e26157b472f5717ee93cc7c535">hwloc_topology_membind_support</a>
+</li>
+<li>get_thread_cpubind
+: <a class="el" href="a00256.html#a8dd4d8531ed2eebdce1507e7d104154e">hwloc_topology_cpubind_support</a>
+</li>
+<li>group
+: <a class="el" href="a00208.html#ae4ba157cc313e2cdd9a82f1c1df7aaa6">hwloc_obj_attr_u</a>
+</li>
+</ul>
+
+
+<h3><a id="index_i"></a>- i -</h3><ul>
+<li>index
+: <a class="el" href="a00276.html#adb772c3f1761ecadf496c80ae14afce3">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+</li>
+<li>infos
+: <a class="el" href="a00204.html#ad59bcd73a10260a0e239be5c4b5888bb">hwloc_obj</a>
+</li>
+<li>infos_count
+: <a class="el" href="a00204.html#a9843acc28cfbba903b63ea14b137ff70">hwloc_obj</a>
+</li>
+<li>init
+: <a class="el" href="a00308.html#aea613546886d9b8221cadba920fe3ebc">hwloc_component</a>
+</li>
+<li>instantiate
+: <a class="el" href="a00300.html#ab8390b4bc16e44d5dfcbc35f38065eb7">hwloc_disc_component</a>
+</li>
+<li>interleave_membind
+: <a class="el" href="a00260.html#a3c44c6012860bbeba8a0f4c19710858d">hwloc_topology_membind_support</a>
+</li>
+<li>is_custom
+: <a class="el" href="a00304.html#a5209e6508c110dcd4c3c296466f07cb3">hwloc_backend</a>
+</li>
+<li>is_thissystem
+: <a class="el" href="a00304.html#ab8806f6db077f1bb2e9d63ec99223f7a">hwloc_backend</a>
+</li>
+</ul>
+
+
+<h3><a id="index_l"></a>- l -</h3><ul>
+<li>last_child
+: <a class="el" href="a00204.html#a84bd65634dbc55f4158b74443a9bd04f">hwloc_obj</a>
+</li>
+<li>latency
+: <a class="el" href="a00244.html#a0f70f48d1bfb18e5e2008825da2967c9">hwloc_distances_s</a>
+</li>
+<li>latency_base
+: <a class="el" href="a00244.html#a204416418049a272bfb51602fc676342">hwloc_distances_s</a>
+</li>
+<li>latency_max
+: <a class="el" href="a00244.html#aab61bd1d1ae2e121bfe793c973ec829e">hwloc_distances_s</a>
+</li>
+<li>linesize
+: <a class="el" href="a00212.html#a801e8a668e28caf06c8b88e9ae5c10db">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+</li>
+<li>linkspeed
+: <a class="el" href="a00220.html#a59b2fce35f7cbde86c4fd305d0ccda5f">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>local_memory
+: <a class="el" href="a00196.html#aace044c7f3fd9dffe50202296bf1dc5a">hwloc_obj_memory_s</a>
+</li>
+<li>logical_index
+: <a class="el" href="a00204.html#a0d07fb7b8935e137c94d75a3eb492ae9">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_m"></a>- m -</h3><ul>
+<li>membind
+: <a class="el" href="a00264.html#ac6eb62ae8bc0a68dce679a7107a36194">hwloc_topology_support</a>
+</li>
+<li>memory
+: <a class="el" href="a00204.html#a1dc830816716213b5f797e4052487864">hwloc_obj</a>
+</li>
+<li>migrate_membind
+: <a class="el" href="a00260.html#aafa7683871a6a760246f9b35209caec5">hwloc_topology_membind_support</a>
+</li>
+</ul>
+
+
+<h3><a id="index_n"></a>- n -</h3><ul>
+<li>name
+: <a class="el" href="a00300.html#a4064c3b5d9213027e87caebef380a840">hwloc_disc_component</a>
+, <a class="el" href="a00204.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj</a>
+, <a class="el" href="a00248.html#a115dde58f40338a2d3276d59c099857d">hwloc_obj_info_s</a>
+, <a class="el" href="a00280.html#a7ef48c66ccddf34d90edb4e4314b41c6">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+</li>
+<li>nbobjs
+: <a class="el" href="a00244.html#a4ca2af858cebbce7324ec49903d09474">hwloc_distances_s</a>
+</li>
+<li>newvalue
+: <a class="el" href="a00280.html#a75f37f4add21cece50fee2701c3b77db">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+, <a class="el" href="a00276.html#ae63aa59ad65aa783b730a4f213304eb4">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+</li>
+<li>next
+: <a class="el" href="a00288.html#a720aa94eb73cddfd8d6bf9fcbbfc035e">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a>
+, <a class="el" href="a00292.html#acb9170a8eb3392656d70f7f3ef3e3eed">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a375afbaa043b109be689a7d9a3c7d153">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+<li>next_cousin
+: <a class="el" href="a00204.html#a85a788017457129589318b6c39451acf">hwloc_obj</a>
+</li>
+<li>next_sibling
+: <a class="el" href="a00204.html#a7f2343ed476fe4942e6fffd4cade1b40">hwloc_obj</a>
+</li>
+<li>nexttouch_membind
+: <a class="el" href="a00260.html#ab0921af6e0cd6975812a80b8e5c7435c">hwloc_topology_membind_support</a>
+</li>
+<li>nodeset
+: <a class="el" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">hwloc_obj</a>
+</li>
+<li>notify_new_object
+: <a class="el" href="a00304.html#a5a4803e23309be318d7cdb641a5f1037">hwloc_backend</a>
+</li>
+</ul>
+
+
+<h3><a id="index_o"></a>- o -</h3><ul>
+<li>obj_attr
+: <a class="el" href="a00284.html#a7245713f0f49e9f08fda28401a4f98fd">hwloc_topology_diff_u</a>
+</li>
+<li>obj_depth
+: <a class="el" href="a00292.html#aa28a121d9e158b1e610fb844ae1c8824">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a77e9eac7db8b073c9bf996f19eda1631">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+<li>obj_index
+: <a class="el" href="a00292.html#adb9f4d414470b6670cde8d90759a6c1c">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a6dc6b3c4adb10db74d993e37afaa0580">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+<li>oldvalue
+: <a class="el" href="a00280.html#a33cc281d4417129064295a6ae7b79818">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+, <a class="el" href="a00276.html#a44c0894dce563335d347fde6595c49c9">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+</li>
+<li>online_cpuset
+: <a class="el" href="a00204.html#a8842d56c2975380f327ea401c5f53564">hwloc_obj</a>
+</li>
+<li>os_index
+: <a class="el" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">hwloc_obj</a>
+</li>
+<li>os_level
+: <a class="el" href="a00204.html#a68766f0b1c4d61b5bad87e3b81dacfde">hwloc_obj</a>
+</li>
+<li>osdev
+: <a class="el" href="a00208.html#a22904c25fe44b323bab5c9bc52660fca">hwloc_obj_attr_u</a>
+</li>
+</ul>
+
+
+<h3><a id="index_p"></a>- p -</h3><ul>
+<li>page_types
+: <a class="el" href="a00196.html#a865eba7b12b986d72dbe7a2cfd97c50d">hwloc_obj_memory_s</a>
+</li>
+<li>page_types_len
+: <a class="el" href="a00196.html#a208c27f4491077d7fb9ba5db8b29cb57">hwloc_obj_memory_s</a>
+</li>
+<li>parent
+: <a class="el" href="a00204.html#adc494f6aed939992be1c55cca5822900">hwloc_obj</a>
+</li>
+<li>pci
+: <a class="el" href="a00224.html#ab5c564e7c95b747dae9eb84ec0a2c31e">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>pcidev
+: <a class="el" href="a00208.html#a4203d713ce0f5beaa6ee0e9bdac70828">hwloc_obj_attr_u</a>
+</li>
+<li>prev_cousin
+: <a class="el" href="a00204.html#ac715989f55ff5a0eb6be2969ee477ec0">hwloc_obj</a>
+</li>
+<li>prev_sibling
+: <a class="el" href="a00204.html#a7b89e8c189876c0158a9282aaaf17f50">hwloc_obj</a>
+</li>
+<li>priority
+: <a class="el" href="a00300.html#ae86d283c272c5ae24073a235efbf6b59">hwloc_disc_component</a>
+</li>
+<li>private_data
+: <a class="el" href="a00304.html#a2ea5bd36b7f06efdb65b98b32af16c68">hwloc_backend</a>
+</li>
+<li>pu
+: <a class="el" href="a00252.html#ad7bb4ecf7a82f5a04fc632e9592ad3ab">hwloc_topology_discovery_support</a>
+</li>
+</ul>
+
+
+<h3><a id="index_r"></a>- r -</h3><ul>
+<li>relative_depth
+: <a class="el" href="a00244.html#a6fe066eaf62ee448aa05bab8e7217ff7">hwloc_distances_s</a>
+</li>
+<li>replicate_membind
+: <a class="el" href="a00260.html#afe608fb85eb2aa9706221ccb5fc4d415">hwloc_topology_membind_support</a>
+</li>
+<li>revision
+: <a class="el" href="a00220.html#a13ad54c93d08d8ac808e4de9674c5ee7">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_s"></a>- s -</h3><ul>
+<li>secondary_bus
+: <a class="el" href="a00224.html#ae2d9dd73ef1d32045c584a8e66d2f83f">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>set_area_membind
+: <a class="el" href="a00260.html#a476c06f96b65c08b287cf2369966123b">hwloc_topology_membind_support</a>
+</li>
+<li>set_proc_cpubind
+: <a class="el" href="a00256.html#aa166223d1c2a6de7256ab2d8b675a87e">hwloc_topology_cpubind_support</a>
+</li>
+<li>set_proc_membind
+: <a class="el" href="a00260.html#a756f44912894b176bf979a1b65f12aac">hwloc_topology_membind_support</a>
+</li>
+<li>set_thisproc_cpubind
+: <a class="el" href="a00256.html#a9403d51657a4d546b3ea9553a2973a27">hwloc_topology_cpubind_support</a>
+</li>
+<li>set_thisproc_membind
+: <a class="el" href="a00260.html#a36b3e388df9c6a249427cab7e3724749">hwloc_topology_membind_support</a>
+</li>
+<li>set_thisthread_cpubind
+: <a class="el" href="a00256.html#a57a89a4b5f1f74fa6cfe176f1e8b0798">hwloc_topology_cpubind_support</a>
+</li>
+<li>set_thisthread_membind
+: <a class="el" href="a00260.html#a0697af2e41f2e82b8ce71e3cc13f7eac">hwloc_topology_membind_support</a>
+</li>
+<li>set_thread_cpubind
+: <a class="el" href="a00256.html#a46fba33e307909ce256624687799dd6d">hwloc_topology_cpubind_support</a>
+</li>
+<li>sibling_rank
+: <a class="el" href="a00204.html#aaa6043eee6f55869933c1d974efd9acd">hwloc_obj</a>
+</li>
+<li>size
+: <a class="el" href="a00212.html#abe5e788943ed04302976740c829674c0">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+, <a class="el" href="a00200.html#a3f1d261766352288791512974665ce01">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</a>
+</li>
+<li>string
+: <a class="el" href="a00268.html#a518a48e13168c31957589ce78820163e">hwloc_topology_diff_obj_attr_u</a>
+</li>
+<li>subdevice_id
+: <a class="el" href="a00220.html#acac741aecd7a6db64f33409427e3971f">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>subordinate_bus
+: <a class="el" href="a00224.html#af3f3f7d76bf03e8d2afa721c2b8d6771">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>subvendor_id
+: <a class="el" href="a00220.html#a499db3d8cc89eaba04fcaef3df1cba97">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+<li>symmetric_subtree
+: <a class="el" href="a00204.html#a0f41a1d67dc6b661906f2217563637f3">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_t"></a>- t -</h3><ul>
+<li>too_complex
+: <a class="el" href="a00284.html#adaaabee4029a455119ec3695c19632d6">hwloc_topology_diff_u</a>
+</li>
+<li>total_memory
+: <a class="el" href="a00196.html#a8befd0b3f4f8b695cafed04b31f36a44">hwloc_obj_memory_s</a>
+</li>
+<li>type
+: <a class="el" href="a00308.html#a789208ada7e17492cfd3a5a88a6bb0ee">hwloc_component</a>
+, <a class="el" href="a00300.html#ad070350354cbd665803fc86fe48cdb3d">hwloc_disc_component</a>
+, <a class="el" href="a00204.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj</a>
+, <a class="el" href="a00212.html#ad8edc8ded2b7a70d6abbc874801930f4">hwloc_obj_attr_u::hwloc_cache_attr_s</a>
+, <a class="el" href="a00240.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s</a>
+, <a class="el" href="a00272.html#a43f8133b7c30129b002c2d295e6580fc">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</a>
+, <a class="el" href="a00280.html#a784ab5827c1bf531b86d1f02f199d04d">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</a>
+, <a class="el" href="a00276.html#afe262b9aa558fe7bfecbd37a7a129197">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</a>
+, <a class="el" href="a00288.html#a373005489fcddeba6319163e60263ae8">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</a>
+, <a class="el" href="a00292.html#a70a118ad288bd98f18c8ce6dc52e2d10">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</a>
+, <a class="el" href="a00296.html#a92084295a4d6faf17a95a7eea526ddbd">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</a>
+</li>
+</ul>
+
+
+<h3><a id="index_u"></a>- u -</h3><ul>
+<li>uint64
+: <a class="el" href="a00268.html#abb15bfa7039ca8c97cd7ddfbdf779efa">hwloc_topology_diff_obj_attr_u</a>
+</li>
+<li>upstream
+: <a class="el" href="a00224.html#a00ce9d99fc8792d1044fe25dc58605fe">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>upstream_type
+: <a class="el" href="a00224.html#a265dd2164aa2df4972e25a029da72125">hwloc_obj_attr_u::hwloc_bridge_attr_s</a>
+</li>
+<li>userdata
+: <a class="el" href="a00204.html#a76fd3ac94401cf32dfccc3a3a8de68a5">hwloc_obj</a>
+</li>
+</ul>
+
+
+<h3><a id="index_v"></a>- v -</h3><ul>
+<li>value
+: <a class="el" href="a00248.html#a522efd7f5262a4493a73fa3476a041ce">hwloc_obj_info_s</a>
+</li>
+<li>vendor_id
+: <a class="el" href="a00220.html#aad970ad19b62eb2d5df30e4802da4f4c">hwloc_obj_attr_u::hwloc_pcidev_attr_s</a>
+</li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Hardware Locality</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Hardware Locality </div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><h1 class="sub">Portable abstraction of hierarchical architectures for high-performance computing</h1>
+<hr/>
+<p>
+<div class="section">
+ See also <a class="el" href="index.html#further_reading">Further Reading</a>
+or the Related pages tab above
+ for links to more sections about hwloc concepts.
+</div>
+</p>
+<p>
+<div class="section" id="introduction">
+ </p>
+<h1><a class="anchor" id="Introduction"></a>
+Introduction</h1>
+<p>hwloc provides command line tools and a C API to obtain the hierarchical map of key computing elements, such as: NUMA memory nodes, shared caches, processor packages, processor cores, processing units (logical processors or "threads") and even I/O devices. hwloc also gathers various attributes such as cache and memory information, and is portable across a variety of different operating systems and platforms. Additionally it may assemble the topologies of multiple machines into a single one so as to let applications consult the topology of an entire fabric or cluster at once.</p>
+<p>hwloc primarily aims at helping high-performance computing (HPC) applications, but is also applicable to any project seeking to exploit code and/or data locality on modern computing platforms.</p>
+<p>hwloc supports the following operating systems:</p>
+<ul>
+<li>
+Linux (including old kernels not having sysfs topology information, with knowledge of cpusets, ScaleMP vSMP and Kerrighed support, etc.) on all supported hardware, including Intel Xeon Phi and NumaScale NumaConnect. </li>
+<li>
+Solaris (with support for processor sets and logical domains) </li>
+<li>
+AIX </li>
+<li>
+Darwin / OS X </li>
+<li>
+FreeBSD and its variants (such as kFreeBSD/GNU) </li>
+<li>
+NetBSD </li>
+<li>
+OSF/1 (a.k.a., Tru64) </li>
+<li>
+HP-UX </li>
+<li>
+Microsoft Windows </li>
+<li>
+IBM BlueGene/Q Compute Node Kernel (CNK) </li>
+</ul>
+<p>Since it uses standard Operating System information, hwloc's support is mostly independant from the processor type (x86, powerpc, ...) and just relies on the Operating System support. The main exception is BSD operating systems (NetBSD, FreeBSD, etc.) because they do not provide support topology information, hence hwloc uses an x86-only CPUID-based backend (which can be used for other OSes too, see the <a class="el" href="a00321.html">Components and plugins</a> section).</p>
+<p>To check whether hwloc works on a particular machine, just try to build it and run <code>lstopo</code> or <code>lstopo-no-graphics</code>. If some things do not look right (e.g. bogus or missing cache information), see <a class="el" href="index.html#bugs">Questions and Bugs</a> below.</p>
+<p>hwloc only reports the number of processors on unsupported operating systems; no topology information is available.</p>
+<p>For development and debugging purposes, hwloc also offers the ability to work on "fake" topologies:</p>
+<ul>
+<li>
+Symmetrical tree of resources generated from a list of level arities, see <a class="el" href="a00318.html">Synthetic topologies</a>. </li>
+<li>
+Remote machine simulation through the gathering of topology as XML files, see <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a>. </li>
+</ul>
+<p>hwloc can display the topology in a human-readable format, either in graphical mode (X11), or by exporting in one of several different formats, including: plain text, PDF, PNG, and FIG (see <a class="el" href="index.html#cli_examples">Command-line Examples</a> below). Note that some of the export formats require additional support libraries.</p>
+<p>hwloc offers a programming interface for manipulating topologies and objects. It also brings a powerful CPU bitmap API that is used to describe topology objects location on physical/logical processors. See the <a class="el" href="index.html#interface">Programming Interface</a> below. It may also be used to binding applications onto certain cores or memory nodes. Several utility programs are also provided to ease command-line manipulation of topology objects, binding of processes, and so on.</p>
+<p>Perl bindings are available from Bernd Kallies on <a href="http://search.cpan.org/~bka/Sys-Hwloc-0.10/">CPAN</a>.</p>
+<p>Python bindings are available from Guy Streeter: </p><ul>
+<li>
+<a href="http://people.redhat.com/streeter/">Fedora RPM and tarball</a>. </li>
+<li>
+<a href="git://git.fedorahosted.org/python-hwloc.git">git tree</a> (<a href="http://git.fedorahosted.org/git/python-hwloc.git">html</a>). </li>
+</ul>
+<p>
+</div><div class="section" id="installation">
+ </p>
+<h1><a class="anchor" id="installation"></a>
+Installation</h1>
+<p>hwloc (<a href="http://www.open-mpi.org/projects/hwloc/">http://www.open-mpi.org/projects/hwloc/</a>) is available under the BSD license. It is hosted as a sub-project of the overall Open MPI project (<a href="http://www.open-mpi.org/">http://www.open-mpi.org/</a>). Note that hwloc does not require any functionality from Open MPI – it is a wholly separate (and much smaller!) project and code base. It just happens to be hosted as part of the overall Open MPI project.</p>
+<h2><a class="anchor" id="basic_installation"></a>
+Basic Installation</h2>
+<p>Installation is the fairly common GNU-based process:</p>
+<pre class="fragment">shell$ ./configure --prefix=...
+shell$ make
+shell$ make install
+</pre><p>The hwloc command-line tool "lstopo" produces human-readable topology maps, as mentioned above. It can also export maps to the "fig" file format. Support for PDF, Postscript, and PNG exporting is provided if the "Cairo" development package (usually <code>cairo-devel</code> or <code>libcairo2-dev</code>) can be found in "lstopo" when hwloc is configured and build.</p>
+<h2><a class="anchor" id="gitclone_installation"></a>
+Installing from a Git clone</h2>
+<p>Additionally, the code can be directly cloned from Git:</p>
+<pre class="fragment">shell$ git clone https://github.com/open-mpi/hwloc.git
+shell$ cd hwloc
+shell$ ./autogen.sh
+</pre><p>Note that GNU Autoconf >=2.63, Automake >=1.10 and Libtool >=2.2.6 are required when building from a Git clone.</p>
+<p>Nightly development snapshots are available on the web site, they can be configured and built without any need for Git or GNU Autotools.</p>
+<h2><a class="anchor" id="depends_installation"></a>
+Optional Dependencies</h2>
+<p>The hwloc core may also benefit from the following development packages: </p><ul>
+<li>
+libnuma for memory binding and migration support on Linux (<code>numactl-devel</code> or <code>libnuma-dev</code> package). </li>
+<li>
+<p class="startli">libpciaccess for full I/O device discovery (<code>libpciaccess-devel</code> or <code>libpciaccess-dev</code> package). On Linux, PCI discovery may still be performed (without vendor/device names) even if libpciaccess cannot be used. </p>
+<p class="endli"></p>
+</li>
+<li>
+the AMD OpenCL implementation for OpenCL device discovery. </li>
+<li>
+the NVIDIA CUDA Toolkit for CUDA device discovery. </li>
+<li>
+the NVIDIA Management Library (NVML) for NVML device discovery. It is included in CUDA since version 8.0. Older NVML releases were available within the NVIDIA GPU Deployment Kit from <a href="https://developer.nvidia.com/gpu-deployment-kit">https://developer.nvidia.com/gpu-deployment-kit</a> . </li>
+<li>
+the NV-CONTROL X extension library (NVCtrl) for NVIDIA display discovery. The relevant development package is usually <code>libXNVCtrl-devel</code> or <code>libxnvctrl-dev</code>. It is also available within nvidia-settings from <a href="ftp://download.nvidia.com/XFree86/nvidia-settings/">ftp://download.nvidia.com/XFree86/nvidia-settings/</a> and <a href="https://github.com/NVIDIA/nvidia-settings/">https://github.com/NVIDIA/nvidia-settings/</a> . </li>
+<li>
+libxml2 for full XML import/export support (otherwise, the internal minimalistic parser will only be able to import XML files that were exported by the same hwloc release). See <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a> for details. The relevant development package is usually <code>libxml2-devel</code> or <code>libxml2-dev</code>. </li>
+<li>
+libudev on Linux for easier discovery of OS device information (otherwise hwloc will try to manually parse udev raw files). The relevant development package is usually <code>libudev-devel</code> or <code>libudev-dev</code>. </li>
+<li>
+libtool's ltdl library for dynamic plugin loading. The relevant development package is usually <code>libtool-ltdl-devel</code> or <code>libltdl-dev</code>. </li>
+</ul>
+<p>PCI and XML support may be statically built inside the main hwloc library, or as separate dynamically-loaded plugins (see the <a class="el" href="a00321.html">Components and plugins</a> section).</p>
+<p>Note that because of the possibility of GPL taint, the <code>pciutils</code> library <code>libpci</code> will not be used (remember that hwloc is BSD-licensed).</p>
+<p>Also note that if you install supplemental libraries in non-standard locations, hwloc's configure script may not be able to find them without some help. You may need to specify additional CPPFLAGS, LDFLAGS, or PKG_CONFIG_PATH values on the configure command line.</p>
+<p>For example, if libpciaccess was installed into /opt/pciaccess, hwloc's configure script may not find it be default. Try adding PKG_CONFIG_PATH to the ./configure command line, like this:</p>
+<pre class="fragment">./configure PKG_CONFIG_PATH=/opt/pciaccess/lib/pkgconfig ...
+</pre><p>
+</div><div class="section" id="cli_examples">
+ </p>
+<h1><a class="anchor" id="cli_examples"></a>
+Command-line Examples</h1>
+<p>On a 4-package 2-core machine with hyper-threading, the <code>lstopo</code> tool may show the following graphical output:</p>
+<div class="image">
+<img src="dudley.png" alt="dudley.png"/>
+</div>
+ <p>Here's the equivalent output in textual form:</p>
+<pre class="fragment">Machine
+ Package L#0 + L3 L#0 (4096KB)
+ L2 L#0 (1024KB) + L1 L#0 (16KB) + Core L#0
+ PU L#0 (P#0)
+ PU L#1 (P#8)
+ L2 L#1 (1024KB) + L1 L#1 (16KB) + Core L#1
+ PU L#2 (P#4)
+ PU L#3 (P#12)
+ Package L#1 + L3 L#1 (4096KB)
+ L2 L#2 (1024KB) + L1 L#2 (16KB) + Core L#2
+ PU L#4 (P#1)
+ PU L#5 (P#9)
+ L2 L#3 (1024KB) + L1 L#3 (16KB) + Core L#3
+ PU L#6 (P#5)
+ PU L#7 (P#13)
+ Package L#2 + L3 L#2 (4096KB)
+ L2 L#4 (1024KB) + L1 L#4 (16KB) + Core L#4
+ PU L#8 (P#2)
+ PU L#9 (P#10)
+ L2 L#5 (1024KB) + L1 L#5 (16KB) + Core L#5
+ PU L#10 (P#6)
+ PU L#11 (P#14)
+ Package L#3 + L3 L#3 (4096KB)
+ L2 L#6 (1024KB) + L1 L#6 (16KB) + Core L#6
+ PU L#12 (P#3)
+ PU L#13 (P#11)
+ L2 L#7 (1024KB) + L1 L#7 (16KB) + Core L#7
+ PU L#14 (P#7)
+ PU L#15 (P#15)
+</pre><p>Note that there is also an equivalent output in XML that is meant for exporting/importing topologies but it is hardly readable to human-beings (see <a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a> for details).</p>
+<p>On a 4-package 2-core Opteron NUMA machine (with two core cores disallowed by the administrator, and two offline cores), the <code>lstopo</code> tool may show the following graphical output (with <code>--whole-system</code> for displaying disallowed/offline objects):</p>
+<div class="image">
+<img src="hagrid.png" alt="hagrid.png"/>
+</div>
+ <p>Here's the equivalent output in textual form:</p>
+<pre class="fragment">Machine (32GB total)
+ NUMANode L#0 (P#0 8190MB) + Package L#0
+ L2 L#0 (1024KB) + L1 L#0 (64KB) + Core L#0 + PU L#0 (P#0)
+ L2 L#1 (1024KB) + L1 L#1 (64KB) + Core L#1 + PU L#1 (P#1)
+ NUMANode L#1 (P#1 8192MB) + Package L#1
+ L2 L#2 (1024KB) + L1 L#2 (64KB) + Core L#2 + PU L#2 (P#2)
+ L2 L#3 (1024KB) + L1 L#3 (64KB) + Core L#3 + PU L#3 (P#3)
+ NUMANode L#2 (P#2 8192MB) + Package L#2
+ L2 L#4 (1024KB) + L1 L#4 (64KB) + Core L#4 + PU L#4 (P#4)
+ L2 L#5 (1024KB) + L1 L#5 (64KB) + Core L#5 + PU L#5 (P#5)
+ NUMANode L#3 (P#3 8192MB) + Package L#3
+ L2 L#6 (1024KB) + L1 L#6 (64KB) + Core L#6 + PU L#6 (P#6)
+ L2 L#7 (1024KB) + L1 L#7 (64KB) + Core L#7 + PU L#7 (P#7)
+</pre><p>On a 2-package quad-core Xeon (pre-Nehalem, with 2 dual-core dies into each package):</p>
+<div class="image">
+<img src="emmett.png" alt="emmett.png"/>
+</div>
+ <p>Here's the same output in textual form:</p>
+<pre class="fragment">Machine (16GB)
+ Package L#0
+ L2 L#0 (4096KB)
+ L1 L#0 (32KB) + Core L#0 + PU L#0 (P#0)
+ L1 L#1 (32KB) + Core L#1 + PU L#1 (P#4)
+ L2 L#1 (4096KB)
+ L1 L#2 (32KB) + Core L#2 + PU L#2 (P#2)
+ L1 L#3 (32KB) + Core L#3 + PU L#3 (P#6)
+ Package L#1
+ L2 L#2 (4096KB)
+ L1 L#4 (32KB) + Core L#4 + PU L#4 (P#1)
+ L1 L#5 (32KB) + Core L#5 + PU L#5 (P#5)
+ L2 L#3 (4096KB)
+ L1 L#6 (32KB) + Core L#6 + PU L#6 (P#3)
+ L1 L#7 (32KB) + Core L#7 + PU L#7 (P#7)
+</pre><p>
+</div><div class="section" id="interface">
+ </p>
+<h1><a class="anchor" id="interface"></a>
+Programming Interface</h1>
+<p>The basic interface is available in <a class="el" href="a00101_source.html" title="The hwloc API. ">hwloc.h</a>. Some higher-level functions are available in <a class="el" href="a00104_source.html" title="High-level hwloc traversal helpers. ">hwloc/helper.h</a> to reduce the need to manually manipulate objects and follow links between them. Documentation for all these is provided later in this document. Developers may also want to look at hwloc/inlines.h which contains the actual inline code of some <a class="el" href="a00101_source.html" title="The hwloc API. ">hwloc.h</a> routines, and at this document, which provides good higher-level topology traversal examples.</p>
+<p>To precisely define the vocabulary used by hwloc, a <a class="el" href="a00309.html">Terms and Definitions</a> section is available and should probably be read first.</p>
+<p>Each hwloc object contains a cpuset describing the list of processing units that it contains. These bitmaps may be used for <a class="el" href="a00158.html">CPU binding</a> and <a class="el" href="a00159.html">Memory binding</a>. hwloc offers an extensive bitmap manipulation interface in <a class="el" href="a00107_source.html" title="The bitmap API, for use in hwloc itself. ">hwloc/bitmap.h</a>.</p>
+<p>Moreover, hwloc also comes with additional helpers for interoperability with several commonly used environments. See the <a class="el" href="a00319.html">Interoperability With Other Software</a> section for details.</p>
+<p>The complete API documentation is available in a full set of HTML pages, man pages, and self-contained PDF files (formatted for both both US letter and A4 formats) in the source tarball in doc/doxygen-doc/.</p>
+<p><b>NOTE:</b> If you are building the documentation from a Git clone, you will need to have Doxygen and pdflatex installed – the documentation will be built during the normal "make" process. The documentation is installed during "make install" to $prefix/share/doc/hwloc/ and your systems default man page tree (under $prefix, of course).</p>
+<h2><a class="anchor" id="portability"></a>
+Portability</h2>
+<p>Operating System have varying support for CPU and memory binding, e.g. while some Operating Systems provide interfaces for all kinds of CPU and memory bindings, some others provide only interfaces for a limited number of kinds of CPU and memory binding, and some do not provide any binding interface at all. Hwloc's binding functions would then simply return the ENOSYS error (Function not implemented), meaning that the underlying Operating System does not provide any interface for them. <a class="el" href="a00158.html">CPU binding</a> and <a class="el" href="a00159.html">Memory binding</a> provide more information on which hwloc binding functions should be preferred because interfaces for them are usually available on the supported Operating Systems.</p>
+<p>Similarly, the ability of reporting topology information varies from one platform to another. As shown in <a class="el" href="index.html#cli_examples">Command-line Examples</a>, hwloc can obtain information on a wide variety of hardware topologies. However, some platforms and/or operating system versions will only report a subset of this information. For example, on an PPC64-based system with 8 cores (each with 2 hardware threads) running a default 2.6.18-based kernel from RHEL 5.4, hwloc is only able to glean information about NUMA nodes and processor units (PUs). No information about caches, packages, or cores is available.</p>
+<p>Here's the graphical output from lstopo on this platform when Simultaneous Multi-Threading (SMT) is enabled:</p>
+<div class="image">
+<img src="ppc64-with-smt.png" alt="ppc64-with-smt.png"/>
+</div>
+ <p>And here's the graphical output from lstopo on this platform when SMT is disabled:</p>
+<div class="image">
+<img src="ppc64-without-smt.png" alt="ppc64-without-smt.png"/>
+</div>
+ <p>Notice that hwloc only sees half the PUs when SMT is disabled. PU L#6, for example, seems to change location from NUMA node #0 to #1. In reality, no PUs "moved" – they were simply re-numbered when hwloc only saw half as many (see also Logical index in <a class="el" href="a00309.html#termsanddefs_indexes">Indexes and Sets</a>). Hence, PU L#6 in the SMT-disabled picture probably corresponds to PU L#12 in the SMT-enabled picture.</p>
+<p>This same "PUs have disappeared" effect can be seen on other platforms – even platforms / OSs that provide much more information than the above PPC64 system. This is an unfortunate side-effect of how operating systems report information to hwloc.</p>
+<p>Note that upgrading the Linux kernel on the same PPC64 system mentioned above to 2.6.34, hwloc is able to discover all the topology information. The following picture shows the entire topology layout when SMT is enabled:</p>
+<div class="image">
+<img src="ppc64-full-with-smt.png" alt="ppc64-full-with-smt.png"/>
+</div>
+ <p>Developers using the hwloc API or XML output for portable applications should therefore be extremely careful to not make any assumptions about the structure of data that is returned. For example, per the above reported PPC topology, it is not safe to assume that PUs will always be descendants of cores.</p>
+<p>Additionally, future hardware may insert new topology elements that are not available in this version of hwloc. Long-lived applications that are meant to span multiple different hardware platforms should also be careful about making structure assumptions. For example, a new element may someday exist between a core and a PU.</p>
+<h2><a class="anchor" id="interface_example"></a>
+API Example</h2>
+<p>The following small C example (available in the source tree as ``doc/examples/hwloc-hello.c'') prints the topology of the machine and performs some thread and memory binding. More examples are available in the doc/examples/ directory of the source tree.</p>
+<div class="fragment"><div class="line"><span class="comment">/* Example hwloc API program.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * See other examples under doc/examples/ in the source tree</span></div><div class="line"><span class="comment"> * for more details.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * Copyright © 2009-2015 Inria. All rights reserved.</span></div><div class="line"><span class="comment"> * Copyright © 2009-2011 Université Bordeaux</span></div><div class="line"><span class="comment"> * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.</span></div><div class="line"><span class="comment"> * See COPYING in top-level directory.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * hwloc-hello.c</span></div><div class="line"><span class="comment"> */</span></div><div class="line"></div><div class="line"><span class="preprocessor">#include <hwloc.h></span></div><div class="line"><span class="preprocessor">#include <errno.h></span></div><div class="line"><span class="preprocessor">#include <stdio.h></span></div><div class="line"><span class="preprocessor">#include <string.h></span></div><div class="line"></div><div class="line"><span class="keyword">static</span> <span class="keywordtype">void</span> print_children(<a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code" href="a00204.html">hwloc_obj_t</a> obj, </div><div class="line"> <span class="keywordtype">int</span> <a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>)</div><div class="line">{</div><div class="line"> <span class="keywordtype">char</span> <a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a>[32], <a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>[1024];</div><div class="line"> <span class="keywordtype">unsigned</span> i;</div><div class="line"></div><div class="line"> <a class="code" href="a00156.html#gadb8765c260edea80c52cd06a76639ba4">hwloc_obj_type_snprintf</a>(type, <span class="keyword">sizeof</span>(type), obj, 0);</div><div class="line"> printf(<span class="stringliteral">"%*s%s"</span>, 2*depth, <span class="stringliteral">""</span>, type);</div><div class="line"> <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a> != (<span class="keywordtype">unsigned</span>) -1)</div><div class="line"> printf(<span class="stringliteral">"#%u"</span>, obj-><a class="code" href="a00204.html#a61a7a80a68eaccbaaa28269e678c81a9">os_index</a>);</div><div class="line"> <a class="code" href="a00156.html#ga870e876931c282a1c7aee2f031912ce3">hwloc_obj_attr_snprintf</a>(attr, <span class="keyword">sizeof</span>(attr), obj, <span class="stringliteral">" "</span>, 0);</div><div class="line"> <span class="keywordflow">if</span> (*attr)</div><div class="line"> printf(<span class="stringliteral">"(%s)"</span>, attr);</div><div class="line"> printf(<span class="stringliteral">"\n"</span>);</div><div class="line"> <span class="keywordflow">for</span> (i = 0; i < obj-><a class="code" href="a00204.html#aac3f6da35c9b57599909a44ce2b716c1">arity</a>; i++) {</div><div class="line"> print_children(topology, obj-><a class="code" href="a00204.html#a04d05403da37bfe17cd63b7c7dd07b1f">children</a>[i], depth + 1);</div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">void</span>)</div><div class="line">{</div><div class="line"> <span class="keywordtype">int</span> <a class="code" href="a00204.html#a9d82690370275d42d652eccdea5d3ee5">depth</a>;</div><div class="line"> <span class="keywordtype">unsigned</span> i, n;</div><div class="line"> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> size;</div><div class="line"> <span class="keywordtype">int</span> levels;</div><div class="line"> <span class="keywordtype">char</span> <span class="keywordtype">string</span>[128];</div><div class="line"> <span class="keywordtype">int</span> topodepth;</div><div class="line"> <a class="code" href="a00153.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology;</div><div class="line"> <a class="code" href="a00150.html#ga4bbf39b68b6f568fb92739e7c0ea7801">hwloc_cpuset_t</a> <a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>;</div><div class="line"> <a class="code" href="a00204.html">hwloc_obj_t</a> obj;</div><div class="line"></div><div class="line"> <span class="comment">/* Allocate and initialize topology object. */</span></div><div class="line"> <a class="code" href="a00153.html#ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa">hwloc_topology_init</a>(&topology);</div><div class="line"></div><div class="line"> <span class="comment">/* ... Optionally, put detection configuration here to ignore</span></div><div class="line"><span class="comment"> some objects types, define a synthetic topology, etc.... </span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment"> The default is to detect all the objects of the machine that</span></div><div class="line"><span class="comment"> the caller is allowed to access. See Configure Topology</span></div><div class="line"><span class="comment"> Detection. */</span></div><div class="line"></div><div class="line"> <span class="comment">/* Perform the topology detection. */</span></div><div class="line"> <a class="code" href="a00153.html#gabdf58d87ad77f6615fccdfe0535ff826">hwloc_topology_load</a>(topology);</div><div class="line"></div><div class="line"> <span class="comment">/* Optionally, get some additional topology information</span></div><div class="line"><span class="comment"> in case we need the topology depth later. */</span></div><div class="line"> topodepth = <a class="code" href="a00155.html#gafa4f8dbc4c2e74c0da8019446353eed1">hwloc_topology_get_depth</a>(topology);</div><div class="line"></div><div class="line"> <span class="comment">/*****************************************************************</span></div><div class="line"><span class="comment"> * First example:</span></div><div class="line"><span class="comment"> * Walk the topology with an array style, from level 0 (always</span></div><div class="line"><span class="comment"> * the system level) to the lowest level (always the proc level).</span></div><div class="line"><span class="comment"> *****************************************************************/</span></div><div class="line"> <span class="keywordflow">for</span> (depth = 0; depth < topodepth; depth++) {</div><div class="line"> printf(<span class="stringliteral">"*** Objects at level %d\n"</span>, depth);</div><div class="line"> <span class="keywordflow">for</span> (i = 0; i < <a class="code" href="a00155.html#gab17065e3d53455973844568d9f21c72c">hwloc_get_nbobjs_by_depth</a>(topology, depth); </div><div class="line"> i++) {</div><div class="line"> <a class="code" href="a00156.html#gadb8765c260edea80c52cd06a76639ba4">hwloc_obj_type_snprintf</a>(<span class="keywordtype">string</span>, <span class="keyword">sizeof</span>(<span class="keywordtype">string</span>),</div><div class="line"> <a class="code" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a>(topology, depth, i), 0);</div><div class="line"> printf(<span class="stringliteral">"Index %u: %s\n"</span>, i, <span class="keywordtype">string</span>);</div><div class="line"> }</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="comment">/*****************************************************************</span></div><div class="line"><span class="comment"> * Second example:</span></div><div class="line"><span class="comment"> * Walk the topology with a tree style.</span></div><div class="line"><span class="comment"> *****************************************************************/</span></div><div class="line"> printf(<span class="stringliteral">"*** Printing overall tree\n"</span>);</div><div class="line"> print_children(topology, <a class="code" href="a00155.html#ga2d4b12fc187dfc53b35f2fa21d21044d">hwloc_get_root_obj</a>(topology), 0);</div><div class="line"></div><div class="line"> <span class="comment">/*****************************************************************</span></div><div class="line"><span class="comment"> * Third example:</span></div><div class="line"><span class="comment"> * Print the number of packages.</span></div><div class="line"><span class="comment"> *****************************************************************/</span></div><div class="line"> depth = <a class="code" href="a00155.html#ga8bec782e21be313750da70cf7428b374">hwloc_get_type_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129">HWLOC_OBJ_PACKAGE</a>);</div><div class="line"> <span class="keywordflow">if</span> (depth == <a class="code" href="a00155.html#ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad">HWLOC_TYPE_DEPTH_UNKNOWN</a>) {</div><div class="line"> printf(<span class="stringliteral">"*** The number of packages is unknown\n"</span>);</div><div class="line"> } <span class="keywordflow">else</span> {</div><div class="line"> printf(<span class="stringliteral">"*** %u package(s)\n"</span>,</div><div class="line"> <a class="code" href="a00155.html#gab17065e3d53455973844568d9f21c72c">hwloc_get_nbobjs_by_depth</a>(topology, depth));</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="comment">/*****************************************************************</span></div><div class="line"><span class="comment"> * Fourth example:</span></div><div class="line"><span class="comment"> * Compute the amount of cache that the first logical processor</span></div><div class="line"><span class="comment"> * has above it.</span></div><div class="line"><span class="comment"> *****************************************************************/</span></div><div class="line"> levels = 0;</div><div class="line"> size = 0;</div><div class="line"> <span class="keywordflow">for</span> (obj = <a class="code" href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2">hwloc_get_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661">HWLOC_OBJ_PU</a>, 0);</div><div class="line"> obj;</div><div class="line"> obj = obj-><a class="code" href="a00204.html#adc494f6aed939992be1c55cca5822900">parent</a>)</div><div class="line"> <span class="keywordflow">if</span> (obj-><a class="code" href="a00204.html#acc4f0803f244867e68fe0036800be5de">type</a> == <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc">HWLOC_OBJ_CACHE</a>) {</div><div class="line"> levels++;</div><div class="line"> size += obj-><a class="code" href="a00204.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-><a class="code" href="a00208.html#ab5a8ae3bf490e6b1071fea53f7382836">cache</a>.<a class="code" href="a00212.html#abe5e788943ed04302976740c829674c0">size</a>;</div><div class="line"> }</div><div class="line"> printf(<span class="stringliteral">"*** Logical processor 0 has %d caches totaling %luKB\n"</span>, </div><div class="line"> levels, size / 1024);</div><div class="line"></div><div class="line"> <span class="comment">/*****************************************************************</span></div><div class="line"><span class="comment"> * Fifth example:</span></div><div class="line"><span class="comment"> * Bind to only one thread of the last core of the machine.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * First find out where cores are, or else smaller sets of CPUs if</span></div><div class="line"><span class="comment"> * the OS doesn't have the notion of a "core".</span></div><div class="line"><span class="comment"> *****************************************************************/</span></div><div class="line"> depth = <a class="code" href="a00155.html#ga8125328e69eba709c33ea8055c12589b">hwloc_get_type_or_below_depth</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f">HWLOC_OBJ_CORE</a>);</div><div class="line"></div><div class="line"> <span class="comment">/* Get last core. */</span></div><div class="line"> obj = <a class="code" href="a00155.html#gabf8a98ad085460a4982cc7b74c344b71">hwloc_get_obj_by_depth</a>(topology, depth,</div><div class="line"> <a class="code" href="a00155.html#gab17065e3d53455973844568d9f21c72c">hwloc_get_nbobjs_by_depth</a>(topology, depth) - 1);</div><div class="line"> <span class="keywordflow">if</span> (obj) {</div><div class="line"> <span class="comment">/* Get a copy of its cpuset that we may modify. */</span></div><div class="line"> cpuset = <a class="code" href="a00174.html#gae679434c1a5f41d3560a8a7e2c1b0dee">hwloc_bitmap_dup</a>(obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"></div><div class="line"> <span class="comment">/* Get only one logical processor (in case the core is</span></div><div class="line"><span class="comment"> SMT/hyper-threaded). */</span></div><div class="line"> <a class="code" href="a00174.html#ga36d802130aa5d96bc1b5a90d2f0f3765">hwloc_bitmap_singlify</a>(cpuset);</div><div class="line"></div><div class="line"> <span class="comment">/* And try to bind ourself there. */</span></div><div class="line"> <span class="keywordflow">if</span> (<a class="code" href="a00158.html#ga80bc07473a8edf840cae17bd7ec21d48">hwloc_set_cpubind</a>(topology, cpuset, 0)) {</div><div class="line"> <span class="keywordtype">char</span> *str;</div><div class="line"> <span class="keywordtype">int</span> error = errno;</div><div class="line"> <a class="code" href="a00174.html#ga0fece972134fdecf2da9bc7a11dd827e">hwloc_bitmap_asprintf</a>(&str, obj-><a class="code" href="a00204.html#a67925e0f2c47f50408fbdb9bddd0790f">cpuset</a>);</div><div class="line"> printf(<span class="stringliteral">"Couldn't bind to cpuset %s: %s\n"</span>, str, strerror(error));</div><div class="line"> free(str);</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="comment">/* Free our cpuset copy */</span></div><div class="line"> <a class="code" href="a00174.html#ga156130d85b3a0674d6e0e6770fe68fbe">hwloc_bitmap_free</a>(cpuset);</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="comment">/*****************************************************************</span></div><div class="line"><span class="comment"> * Sixth example:</span></div><div class="line"><span class="comment"> * Allocate some memory on the last NUMA node, bind some existing</span></div><div class="line"><span class="comment"> * memory to the last NUMA node.</span></div><div class="line"><span class="comment"> *****************************************************************/</span></div><div class="line"> <span class="comment">/* Get last node. */</span></div><div class="line"> n = <a class="code" href="a00155.html#ga789a3f65aedff644be64a18526a03065">hwloc_get_nbobjs_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>);</div><div class="line"> <span class="keywordflow">if</span> (n) {</div><div class="line"> <span class="keywordtype">void</span> *m;</div><div class="line"> size = 1024*1024;</div><div class="line"></div><div class="line"> obj = <a class="code" href="a00155.html#ga6f414dd80a2b943967a0ac92da3181a2">hwloc_get_obj_by_type</a>(topology, <a class="code" href="a00151.html#ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a">HWLOC_OBJ_NUMANODE</a>, n - 1);</div><div class="line"> m = <a class="code" href="a00159.html#ga0ff3076f7f3633637699b809bcceceb1">hwloc_alloc_membind_nodeset</a>(topology, size, obj-><a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>,</div><div class="line"> <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c">HWLOC_MEMBIND_BIND</a>, 0);</div><div class="line"> <a class="code" href="a00159.html#ga32dbd4f54e9e4a7179f2dde37ffe6ad7">hwloc_free</a>(topology, m, size);</div><div class="line"></div><div class="line"> m = malloc(size);</div><div class="line"> <a class="code" href="a00159.html#ga7f11bd709ac0cb93af613e2dd84165ad">hwloc_set_area_membind_nodeset</a>(topology, m, size, obj-><a class="code" href="a00204.html#a08f0d0e16c619a6e653526cbee4ffea3">nodeset</a>,</div><div class="line"> <a class="code" href="a00159.html#ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c">HWLOC_MEMBIND_BIND</a>, 0);</div><div class="line"> free(m);</div><div class="line"> }</div><div class="line"></div><div class="line"> <span class="comment">/* Destroy topology object. */</span></div><div class="line"> <a class="code" href="a00153.html#ga9f34a640b6fd28d23699d4d084667b15">hwloc_topology_destroy</a>(topology);</div><div class="line"></div><div class="line"> <span class="keywordflow">return</span> 0;</div><div class="line">}</div></div><!-- fragment --><p>hwloc provides a <code>pkg-config</code> executable to obtain relevant compiler and linker flags. For example, it can be used thusly to compile applications that utilize the hwloc library (assuming GNU Make):</p>
+<pre class="fragment">CFLAGS += $(shell pkg-config --cflags hwloc)
+LDLIBS += $(shell pkg-config --libs hwloc)
+
+hwloc-hello: hwloc-hello.c
+ $(CC) hwloc-hello.c $(CFLAGS) -o hwloc-hello $(LDLIBS)
+</pre><p>On a machine with 4GB of RAM and 2 processor packages – each package of which has two processing cores – the output from running <code>hwloc-hello</code> could be something like the following:</p>
+<pre class="fragment">shell$ ./hwloc-hello
+*** Objects at level 0
+Index 0: Machine(3938MB)
+*** Objects at level 1
+Index 0: Package#0
+Index 1: Package#1
+*** Objects at level 2
+Index 0: Core#0
+Index 1: Core#1
+Index 2: Core#3
+Index 3: Core#2
+*** Objects at level 3
+Index 0: PU#0
+Index 1: PU#1
+Index 2: PU#2
+Index 3: PU#3
+*** Printing overall tree
+Machine(3938MB)
+ Package#0
+ Core#0
+ PU#0
+ Core#1
+ PU#1
+ Package#1
+ Core#3
+ PU#2
+ Core#2
+ PU#3
+*** 2 package(s)
+shell$
+</pre><p>
+</div><div class="section" id="bugs">
+ </p>
+<h1><a class="anchor" id="bugs"></a>
+Questions and Bugs</h1>
+<p>Bugs should be reported in the tracker (<a href="https://github.com/open-mpi/hwloc/issues">https://github.com/open-mpi/hwloc/issues</a>). Opening a new issue automatically displays lots of hints about how to debug and report issues.</p>
+<p>Questions may be sent to the users or developers mailing lists (<a href="http://www.open-mpi.org/community/lists/hwloc.php">http://www.open-mpi.org/community/lists/hwloc.php</a>).</p>
+<p>There is also a <code>#hwloc</code> IRC channel on Freenode (<code>irc.freenode.net</code>).</p>
+<p>
+</div><div class="section" id="history">
+ </p>
+<h1><a class="anchor" id="history"></a>
+History / Credits</h1>
+<p>hwloc is the evolution and merger of the libtopology (<a href="http://runtime.bordeaux.inria.fr/libtopology/">http://runtime.bordeaux.inria.fr/libtopology/</a>) project and the Portable Linux Processor Affinity (PLPA) (<a href="http://www.open-mpi.org/projects/plpa/">http://www.open-mpi.org/projects/plpa/</a>) project. Because of functional and ideological overlap, these two code bases and ideas were merged and released under the name "hwloc" as an Open MPI sub-project.</p>
+<p>libtopology was initially developed by the inria Runtime Team-Project (<a href="http://runtime.bordeaux.inria.fr/">http://runtime.bordeaux.inria.fr/</a>) (headed by Raymond Namyst (<a href="http://dept-info.labri.fr/~namyst/">http://dept-info.labri.fr/~namyst/</a>). PLPA was initially developed by the Open MPI development team as a sub-project. Both are now deprecated in favor of hwloc, which is distributed as an Open MPI sub-project.</p>
+<p>
+</div><div class="section" id="further_reading">
+ </p>
+<h1><a class="anchor" id="further_reading"></a>
+Further Reading</h1>
+<p>The documentation chapters include</p>
+<ul>
+<li>
+<a class="el" href="a00309.html">Terms and Definitions</a> </li>
+<li>
+<a class="el" href="a00310.html">Command-Line Tools</a> </li>
+<li>
+<a class="el" href="a00311.html">Environment Variables</a> </li>
+<li>
+<a class="el" href="a00312.html">CPU and Memory Binding Overview</a> </li>
+<li>
+<a class="el" href="a00313.html">I/O Devices</a> </li>
+<li>
+<a class="el" href="a00314.html">Miscellaneous objects</a> </li>
+<li>
+<a class="el" href="a00315.html">Multi-node Topologies</a> </li>
+<li>
+<a class="el" href="a00316.html">Object attributes</a> </li>
+<li>
+<a class="el" href="a00317.html">Importing and exporting topologies from/to XML files</a> </li>
+<li>
+<a class="el" href="a00318.html">Synthetic topologies</a> </li>
+<li>
+<a class="el" href="a00319.html">Interoperability With Other Software</a> </li>
+<li>
+<a class="el" href="a00320.html">Thread Safety</a> </li>
+<li>
+<a class="el" href="a00321.html">Components and plugins</a> </li>
+<li>
+<a class="el" href="a00322.html">Embedding hwloc in Other Software</a> </li>
+<li>
+<a class="el" href="a00323.html">Frequently Asked Questions</a> </li>
+</ul>
+<p>Make sure to have had a look at those too!</p>
+<p>
+</div>
+ </p>
+</div></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+/*!
+ * jQuery JavaScript Library v1.7.1
+ * http://jquery.com/
+ *
+ * Copyright 2011, John Resig
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ * Copyright 2011, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ *
+ * Date: Mon Nov 21 21:11:03 2011 -0500
+ */
+(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b4<b3;b4++){if((b9=arguments[b4])!=null){for(b2 in b9){b0=b5[b2];b1=b9[b2];if(b5===b1){continue}if(b8&&b1&&(bF.isPlainObject(b1)||(b6=bF.isArray(b1)))){if(b6){b6=false;b7=b0&&bF.isArray(b0)?b0:[]}else{b7=b0&&bF.isPlainObject(b0)?b0:{}}b5[b2]=bF.extend(b8,b7,b1)}else{if(b1!==L){b5[b2]=b1}}}}}return b5};bF.extend({noConflict:function(b0){if(bb.$===bF){bb.$=bH}if(b0&&bb.jQuery===bF){bb.jQuery=bU}return bF},isReady:false,readyWait:1,holdReady:function(b0){if(b0){bF.readyWait++}else{bF.ready(true)}},ready:function(b0){if((b0===true&&!--bF.readyWait)||(b0!==true&&!bF.isReady)){if(!av.body){return setTimeout(bF.ready,1)}bF.isReady=true;if(b0!==true&&--bF.readyWait>0){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b4<b5;){if(b6.apply(b3[b4++],b2)===false){break}}}}else{if(b0){for(b1 in b3){if(b6.call(b3[b1],b1,b3[b1])===false){break}}}else{for(;b4<b5;){if(b6.call(b3[b4],b4,b3[b4++])===false){break}}}}return b3},trim:bO?function(b0){return b0==null?"":bO.call(b0)}:function(b0){return b0==null?"":b0.toString().replace(bI,"").replace(bE,"")},makeArray:function(b3,b1){var b0=b1||[];if(b3!=null){var b2=bF.type(b3);if(b3.length==null||b2==="string"||b2==="function"||b2==="regexp"||bF.isWindow(b3)){bz.call(b0,b3)}else{bF.merge(b0,b3)}}return b0},inArray:function(b2,b3,b1){var b0;if(b3){if(bv){return bv.call(b3,b2,b1)}b0=b3.length;b1=b1?b1<0?Math.max(0,b0+b1):b1:0;for(;b1<b0;b1++){if(b1 in b3&&b3[b1]===b2){return b1}}}return -1},merge:function(b4,b2){var b3=b4.length,b1=0;if(typeof b2.length==="number"){for(var b0=b2.length;b1<b0;b1++){b4[b3++]=b2[b1]}}else{while(b2[b1]!==L){b4[b3++]=b2[b1++]}}b4.length=b3;return b4},grep:function(b1,b6,b0){var b2=[],b5;b0=!!b0;for(var b3=0,b4=b1.length;b3<b4;b3++){b5=!!b6(b1[b3],b3);if(b0!==b5){b2.push(b1[b3])}}return b2},map:function(b0,b7,b8){var b5,b6,b4=[],b2=0,b1=b0.length,b3=b0 instanceof bF||b1!==L&&typeof b1==="number"&&((b1>0&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b2<b1;b2++){b5=b7(b0[b2],b2,b8);if(b5!=null){b4[b4.length]=b5}}}else{for(b6 in b0){b5=b7(b0[b6],b6,b8);if(b5!=null){b4[b4.length]=b5}}}return b4.concat.apply([],b4)},guid:1,proxy:function(b4,b3){if(typeof b3==="string"){var b2=b4[b3];b3=b4;b4=b2}if(!bF.isFunction(b4)){return L}var b0=bK.call(arguments,2),b1=function(){return b4.apply(b3,b0.concat(bK.call(arguments)))};b1.guid=b4.guid=b4.guid||b1.guid||bF.guid++;return b1},access:function(b0,b8,b6,b2,b5,b7){var b1=b0.length;if(typeof b8==="object"){for(var b3 in b8){bF.access(b0,b3,b8[b3],b2,b5,b6)}return b0}if(b6!==L){b2=!b7&&b2&&bF.isFunction(b6);for(var b4=0;b4<b1;b4++){b5(b0[b4],b8,b2?b6.call(b0[b4],b4,b5(b0[b4],b8)):b6,b7)}return b0}return b1?b5(b0[0],b8):L},now:function(){return(new Date()).getTime()},uaMatch:function(b1){b1=b1.toLowerCase();var b0=by.exec(b1)||bR.exec(b1)||bQ.exec(b1)||b1.indexOf("compatible")<0&&bS.exec(b1)||[];return{browser:b0[1]||"",version:b0[2]||"0"}},sub:function(){function b0(b3,b4){return new b0.fn.init(b3,b4)}bF.extend(true,b0,this);b0.superclass=this;b0.fn=b0.prototype=this();b0.fn.constructor=b0;b0.sub=this.sub;b0.fn.init=function b2(b3,b4){if(b4&&b4 instanceof bF&&!(b4 instanceof b0)){b4=b0(b4)}return bF.fn.init.call(this,b3,b4,b1)};b0.fn.init.prototype=b0.fn;var b1=b0(av);return b0},browser:{}});bF.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b1,b0){bx["[object "+b0+"]"]=b0.toLowerCase()});bV=bF.uaMatch(bX);if(bV.browser){bF.browser[bV.browser]=true;bF.browser.version=bV.version}if(bF.browser.webkit){bF.browser.safari=true}if(bM.test("\xA0")){bI=/^[\s\xA0]+/;bE=/[\s\xA0]+$/}bD=bF(av);if(av.addEventListener){e=function(){av.removeEventListener("DOMContentLoaded",e,false);bF.ready()}}else{if(av.attachEvent){e=function(){if(av.readyState==="complete"){av.detachEvent("onreadystatechange",e);bF.ready()}}}}function bw(){if(bF.isReady){return}try{av.documentElement.doScroll("left")}catch(b0){setTimeout(bw,1);return}bF.ready()}return bF})();var a2={};function X(e){var bv=a2[e]={},bw,bx;e=e.split(/\s+/);for(bw=0,bx=e.length;bw<bx;bw++){bv[e[bw]]=true}return bv}b.Callbacks=function(bw){bw=bw?(a2[bw]||X(bw)):{};var bB=[],bC=[],bx,by,bv,bz,bA,bE=function(bF){var bG,bJ,bI,bH,bK;for(bG=0,bJ=bF.length;bG<bJ;bG++){bI=bF[bG];bH=b.type(bI);if(bH==="array"){bE(bI)}else{if(bH==="function"){if(!bw.unique||!bD.has(bI)){bB.push(bI)}}}}},e=function(bG,bF){bF=bF||[];bx=!bw.memory||[bG,bF];by=true;bA=bv||0;bv=0;bz=bB.length;for(;bB&&bA<bz;bA++){if(bB[bA].apply(bG,bF)===false&&bw.stopOnFalse){bx=true;break}}by=false;if(bB){if(!bw.once){if(bC&&bC.length){bx=bC.shift();bD.fireWith(bx[0],bx[1])}}else{if(bx===true){bD.disable()}else{bB=[]}}}},bD={add:function(){if(bB){var bF=bB.length;bE(arguments);if(by){bz=bB.length}else{if(bx&&bx!==true){bv=bF;e(bx[0],bx[1])}}}return this},remove:function(){if(bB){var bF=arguments,bH=0,bI=bF.length;for(;bH<bI;bH++){for(var bG=0;bG<bB.length;bG++){if(bF[bH]===bB[bG]){if(by){if(bG<=bz){bz--;if(bG<=bA){bA--}}}bB.splice(bG--,1);if(bw.unique){break}}}}}return this},has:function(bG){if(bB){var bF=0,bH=bB.length;for(;bF<bH;bF++){if(bG===bB[bF]){return true}}}return false},empty:function(){bB=[];return this},disable:function(){bB=bC=bx=L;return this},disabled:function(){return !bB},lock:function(){bC=L;if(!bx||bx===true){bD.disable()}return this},locked:function(){return !bC},fireWith:function(bG,bF){if(bC){if(by){if(!bw.once){bC.push([bG,bF])}}else{if(!(bw.once&&bx)){e(bG,bF)}}}return this},fire:function(){bD.fireWith(this,arguments);return this},fired:function(){return !!bx}};return bD};var aJ=[].slice;b.extend({Deferred:function(by){var bx=b.Callbacks("once memory"),bw=b.Callbacks("once memory"),bv=b.Callbacks("memory"),e="pending",bA={resolve:bx,reject:bw,notify:bv},bC={done:bx.add,fail:bw.add,progress:bv.add,state:function(){return e},isResolved:bx.fired,isRejected:bw.fired,then:function(bE,bD,bF){bB.done(bE).fail(bD).progress(bF);return this},always:function(){bB.done.apply(bB,arguments).fail.apply(bB,arguments);return this},pipe:function(bF,bE,bD){return b.Deferred(function(bG){b.each({done:[bF,"resolve"],fail:[bE,"reject"],progress:[bD,"notify"]},function(bI,bL){var bH=bL[0],bK=bL[1],bJ;if(b.isFunction(bH)){bB[bI](function(){bJ=bH.apply(this,arguments);if(bJ&&b.isFunction(bJ.promise)){bJ.promise().then(bG.resolve,bG.reject,bG.notify)}else{bG[bK+"With"](this===bB?bG:this,[bJ])}})}else{bB[bI](bG[bK])}})}).promise()},promise:function(bE){if(bE==null){bE=bC}else{for(var bD in bC){bE[bD]=bC[bD]}}return bE}},bB=bC.promise({}),bz;for(bz in bA){bB[bz]=bA[bz].fire;bB[bz+"With"]=bA[bz].fireWith}bB.done(function(){e="resolved"},bw.disable,bv.lock).fail(function(){e="rejected"},bx.disable,bv.lock);if(by){by.call(bB,bB)}return bB},when:function(bA){var bx=aJ.call(arguments,0),bv=0,e=bx.length,bB=new Array(e),bw=e,by=e,bC=e<=1&&bA&&b.isFunction(bA.promise)?bA:b.Deferred(),bE=bC.promise();function bD(bF){return function(bG){bx[bF]=arguments.length>1?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv<e;bv++){if(bx[bv]&&bx[bv].promise&&b.isFunction(bx[bv].promise)){bx[bv].promise().then(bD(bv),bC.reject,bz(bv))}else{--bw}}if(!bw){bC.resolveWith(bC,bx)}}else{if(bC!==bA){bC.resolveWith(bC,e?[bA]:[])}}return bE}});b.support=(function(){var bJ,bI,bF,bG,bx,bE,bA,bD,bz,bK,bB,by,bw,bv=av.createElement("div"),bH=av.documentElement;bv.setAttribute("className","t");bv.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="<div "+e+"><div></div></div><table "+e+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="<div style='width:4px;'></div>";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA<bz;bA++){delete bB[bv[bA]]}if(!(by?S:b.isEmptyObject)(bB)){return}}}if(!by){delete e[bw].data;if(!S(e[bw])){return}}if(b.support.deleteExpando||!e.setInterval){delete e[bw]}else{e[bw]=null}if(bD){if(b.support.deleteExpando){delete bx[bC]}else{if(bx.removeAttribute){bx.removeAttribute(bC)}else{bx[bC]=null}}}},_data:function(bv,e,bw){return b.data(bv,e,bw,true)},acceptData:function(bv){if(bv.nodeName){var e=b.noData[bv.nodeName.toLowerCase()];if(e){return !(e===true||bv.getAttribute("classid")!==e)}}return true}});b.fn.extend({data:function(by,bA){var bB,e,bw,bz=null;if(typeof by==="undefined"){if(this.length){bz=b.data(this[0]);if(this[0].nodeType===1&&!b._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var bx=0,bv=e.length;bx<bv;bx++){bw=e[bx].name;if(bw.indexOf("data-")===0){bw=b.camelCase(bw.substring(5));a5(this[0],bw,bz[bw])}}b._data(this[0],"parsedAttrs",true)}}return bz}else{if(typeof by==="object"){return this.each(function(){b.data(this,by)})}}bB=by.split(".");bB[1]=bB[1]?"."+bB[1]:"";if(bA===L){bz=this.triggerHandler("getData"+bB[1]+"!",[bB[0]]);if(bz===L&&this.length){bz=b.data(this[0],by);bz=a5(this[0],by,bz)}return bz===L&&bB[1]?this.data(bB[0]):bz}else{return this.each(function(){var bC=b(this),bD=[bB[0],bA];bC.triggerHandler("setData"+bB[1]+"!",bD);b.data(this,by,bA);bC.triggerHandler("changeData"+bB[1]+"!",bD)})}},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a5(bx,bw,by){if(by===L&&bx.nodeType===1){var bv="data-"+bw.replace(aA,"-$1").toLowerCase();by=bx.getAttribute(bv);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:b.isNumeric(by)?parseFloat(by):aS.test(by)?b.parseJSON(by):by}catch(bz){}b.data(bx,bw,by)}else{by=L}}return by}function S(bv){for(var e in bv){if(e==="data"&&b.isEmptyObject(bv[e])){continue}if(e!=="toJSON"){return false}}return true}function bi(by,bx,bA){var bw=bx+"defer",bv=bx+"queue",e=bx+"mark",bz=b._data(by,bw);if(bz&&(bA==="queue"||!b._data(by,bv))&&(bA==="mark"||!b._data(by,e))){setTimeout(function(){if(!b._data(by,bv)&&!b._data(by,e)){b.removeData(by,bw,true);bz.fire()}},0)}}b.extend({_mark:function(bv,e){if(bv){e=(e||"fx")+"mark";b._data(bv,e,(b._data(bv,e)||0)+1)}},_unmark:function(by,bx,bv){if(by!==true){bv=bx;bx=by;by=false}if(bx){bv=bv||"fx";var e=bv+"mark",bw=by?0:((b._data(bx,e)||1)-1);if(bw){b._data(bx,e,bw)}else{b.removeData(bx,e,true);bi(bx,bv,"mark")}}},queue:function(bv,e,bx){var bw;if(bv){e=(e||"fx")+"queue";bw=b._data(bv,e);if(bx){if(!bw||b.isArray(bx)){bw=b._data(bv,e,b.makeArray(bx))}else{bw.push(bx)}}return bw||[]}},dequeue:function(by,bx){bx=bx||"fx";var bv=b.queue(by,bx),bw=bv.shift(),e={};if(bw==="inprogress"){bw=bv.shift()}if(bw){if(bx==="fx"){bv.unshift("inprogress")}b._data(by,bx+".run",e);bw.call(by,function(){b.dequeue(by,bx)},e)}if(!bv.length){b.removeData(by,bx+"queue "+bx+".run",true);bi(by,bx,"queue")}}});b.fn.extend({queue:function(e,bv){if(typeof e!=="string"){bv=e;e="fx"}if(bv===L){return b.queue(this[0],e)}return this.each(function(){var bw=b.queue(this,e,bv);if(e==="fx"&&bw[0]!=="inprogress"){b.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(bv,e){bv=b.fx?b.fx.speeds[bv]||bv:bv;e=e||"fx";return this.queue(e,function(bx,bw){var by=setTimeout(bx,bv);bw.stop=function(){clearTimeout(by)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(bD,bw){if(typeof bD!=="string"){bw=bD;bD=L}bD=bD||"fx";var e=b.Deferred(),bv=this,by=bv.length,bB=1,bz=bD+"defer",bA=bD+"queue",bC=bD+"mark",bx;function bE(){if(!(--bB)){e.resolveWith(bv,[bv])}}while(by--){if((bx=b.data(bv[by],bz,L,true)||(b.data(bv[by],bA,L,true)||b.data(bv[by],bC,L,true))&&b.data(bv[by],bz,b.Callbacks("once memory"),true))){bB++;bx.add(bE)}}bE();return e.promise()}});var aP=/[\n\t\r]/g,af=/\s+/,aU=/\r/g,g=/^(?:button|input)$/i,D=/^(?:button|input|object|select|textarea)$/i,l=/^a(?:rea)?$/i,ao=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,F=b.support.getSetAttribute,be,aY,aF;b.fn.extend({attr:function(e,bv){return b.access(this,e,bv,true,b.attr)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,bv){return b.access(this,e,bv,true,b.prop)},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=L;delete this[e]}catch(bv){}})},addClass:function(by){var bA,bw,bv,bx,bz,bB,e;if(b.isFunction(by)){return this.each(function(bC){b(this).addClass(by.call(this,bC,this.className))})}if(by&&typeof by==="string"){bA=by.split(af);for(bw=0,bv=this.length;bw<bv;bw++){bx=this[bw];if(bx.nodeType===1){if(!bx.className&&bA.length===1){bx.className=by}else{bz=" "+bx.className+" ";for(bB=0,e=bA.length;bB<e;bB++){if(!~bz.indexOf(" "+bA[bB]+" ")){bz+=bA[bB]+" "}}bx.className=b.trim(bz)}}}}return this},removeClass:function(bz){var bA,bw,bv,by,bx,bB,e;if(b.isFunction(bz)){return this.each(function(bC){b(this).removeClass(bz.call(this,bC,this.className))})}if((bz&&typeof bz==="string")||bz===L){bA=(bz||"").split(af);for(bw=0,bv=this.length;bw<bv;bw++){by=this[bw];if(by.nodeType===1&&by.className){if(bz){bx=(" "+by.className+" ").replace(aP," ");for(bB=0,e=bA.length;bB<e;bB++){bx=bx.replace(" "+bA[bB]+" "," ")}by.className=b.trim(bx)}else{by.className=""}}}}return this},toggleClass:function(bx,bv){var bw=typeof bx,e=typeof bv==="boolean";if(b.isFunction(bx)){return this.each(function(by){b(this).toggleClass(bx.call(this,by,this.className,bv),bv)})}return this.each(function(){if(bw==="string"){var bA,bz=0,by=b(this),bB=bv,bC=bx.split(af);while((bA=bC[bz++])){bB=e?bB:!by.hasClass(bA);by[bB?"addClass":"removeClass"](bA)}}else{if(bw==="undefined"||bw==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||bx===false?"":b._data(this,"__className__")||""}}})},hasClass:function(e){var bx=" "+e+" ",bw=0,bv=this.length;for(;bw<bv;bw++){if(this[bw].nodeType===1&&(" "+this[bw].className+" ").replace(aP," ").indexOf(bx)>-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv<bz;bv++){bx=bC[bv];if(bx.selected&&(b.support.optDisabled?!bx.disabled:bx.getAttribute("disabled")===null)&&(!bx.parentNode.disabled||!b.nodeName(bx.parentNode,"optgroup"))){bA=b(bx).val();if(bw){return bA}bB.push(bA)}}if(bw&&!bB.length&&bC.length){return b(bC[by]).val()}return bB},set:function(bv,bw){var e=b.makeArray(bw);b(bv).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw<e;bw++){bv=bA[bw];if(bv){by=b.propFix[bv]||bv;b.attr(bx,bv,"");bx.removeAttribute(F?bv:by);if(ao.test(bv)&&by in bx){bx[by]=false}}}}},attrHooks:{type:{set:function(e,bv){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bv==="radio"&&b.nodeName(e,"input")){var bw=e.value;e.setAttribute("type",bv);if(bw){e.value=bw}return bv}}}},value:{get:function(bv,e){if(be&&b.nodeName(bv,"button")){return be.get(bv,e)}return e in bv?bv.value:null},set:function(bv,bw,e){if(be&&b.nodeName(bv,"button")){return be.set(bv,bw,e)}bv.value=bw}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bz,bx,bA){var bw,e,by,bv=bz.nodeType;if(!bz||bv===3||bv===8||bv===2){return}by=bv!==1||!b.isXMLDoc(bz);if(by){bx=b.propFix[bx]||bx;e=b.propHooks[bx]}if(bA!==L){if(e&&"set" in e&&(bw=e.set(bz,bA,bx))!==L){return bw}else{return(bz[bx]=bA)}}else{if(e&&"get" in e&&(bw=e.get(bz,bx))!==null){return bw}else{return bz[bx]}}},propHooks:{tabIndex:{get:function(bv){var e=bv.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):D.test(bv.nodeName)||l.test(bv.nodeName)&&bv.href?0:L}}}});b.attrHooks.tabindex=b.propHooks.tabIndex;aY={get:function(bv,e){var bx,bw=b.prop(bv,e);return bw===true||typeof bw!=="boolean"&&(bx=bv.getAttributeNode(e))&&bx.nodeValue!==false?e.toLowerCase():L},set:function(bv,bx,e){var bw;if(bx===false){b.removeAttr(bv,e)}else{bw=b.propFix[e]||e;if(bw in bv){bv[bw]=true}bv.setAttribute(e,e.toLowerCase())}return e}};if(!F){aF={name:true,id:true};be=b.valHooks.button={get:function(bw,bv){var e;e=bw.getAttributeNode(bv);return e&&(aF[bv]?e.nodeValue!=="":e.specified)?e.nodeValue:L},set:function(bw,bx,bv){var e=bw.getAttributeNode(bv);if(!e){e=av.createAttribute(bv);bw.setAttributeNode(e)}return(e.nodeValue=bx+"")}};b.attrHooks.tabindex.set=be.set;b.each(["width","height"],function(bv,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bw,bx){if(bx===""){bw.setAttribute(e,"auto");return bx}}})});b.attrHooks.contenteditable={get:be.get,set:function(bv,bw,e){if(bw===""){bw="false"}be.set(bv,bw,e)}}}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bv,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bx){var bw=bx.getAttribute(e,2);return bw===null?L:bw}})})}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||L},set:function(e,bv){return(e.style.cssText=""+bv)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bv){var e=bv.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}return null}})}if(!b.support.enctype){b.propFix.enctype="encoding"}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,bv){if(b.isArray(bv)){return(e.checked=b.inArray(b(e).val(),bv)>=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI<bC.length;bI++){bH=n.exec(bC[bI])||[];bF=bH[1];e=(bH[2]||"").split(".").sort();bE=b.event.special[bF]||{};bF=(by?bE.delegateType:bE.bindType)||bF;bE=b.event.special[bF]||{};bG=b.extend({type:bF,origType:bH[1],data:bA,handler:bJ,guid:bJ.guid,selector:by,quick:Y(by),namespace:e.join(".")},bv);bw=bK[bF];if(!bw){bw=bK[bF]=[];bw.delegateCount=0;if(!bE.setup||bE.setup.call(bx,bA,e,bB)===false){if(bx.addEventListener){bx.addEventListener(bF,bB,false)}else{if(bx.attachEvent){bx.attachEvent("on"+bF,bB)}}}}if(bE.add){bE.add.call(bx,bG);if(!bG.handler.guid){bG.handler.guid=bJ.guid}}if(by){bw.splice(bw.delegateCount++,0,bG)}else{bw.push(bG)}b.event.global[bF]=true}bx=null},global:{},remove:function(bJ,bE,bv,bH,bB){var bI=b.hasData(bJ)&&b._data(bJ),bF,bx,bz,bL,bC,bA,bG,bw,by,bK,bD,e;if(!bI||!(bw=bI.events)){return}bE=b.trim(bt(bE||"")).split(" ");for(bF=0;bF<bE.length;bF++){bx=n.exec(bE[bF])||[];bz=bL=bx[1];bC=bx[2];if(!bz){for(bz in bw){b.event.remove(bJ,bz+bE[bF],bv,bH,true)}continue}by=b.event.special[bz]||{};bz=(bH?by.delegateType:by.bindType)||bz;bD=bw[bz]||[];bA=bD.length;bC=bC?new RegExp("(^|\\.)"+bC.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(bG=0;bG<bD.length;bG++){e=bD[bG];if((bB||bL===e.origType)&&(!bv||bv.guid===e.guid)&&(!bC||bC.test(e.namespace))&&(!bH||bH===e.selector||bH==="**"&&e.selector)){bD.splice(bG--,1);if(e.selector){bD.delegateCount--}if(by.remove){by.remove.call(bJ,e)}}}if(bD.length===0&&bA!==bD.length){if(!by.teardown||by.teardown.call(bJ,bC)===false){b.removeEvent(bJ,bz,bI.handle)}delete bw[bz]}}if(b.isEmptyObject(bw)){bK=bI.handle;if(bK){bK.elem=null}b.removeData(bJ,["events","handle"],true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(bv,bD,bA,bJ){if(bA&&(bA.nodeType===3||bA.nodeType===8)){return}var bG=bv.type||bv,bx=[],e,bw,bC,bH,bz,by,bF,bE,bB,bI;if(T.test(bG+b.event.triggered)){return}if(bG.indexOf("!")>=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bC<bB.length&&!bv.isPropagationStopped();bC++){bH=bB[bC][0];bv.type=bB[bC][1];bE=(b._data(bH,"events")||{})[bv.type]&&b._data(bH,"handle");if(bE){bE.apply(bH,bD)}bE=by&&bH[by];if(bE&&b.acceptData(bH)&&bE.apply(bH,bD)===false){bv.preventDefault()}}bv.type=bG;if(!bJ&&!bv.isDefaultPrevented()){if((!bF._default||bF._default.apply(bA.ownerDocument,bD)===false)&&!(bG==="click"&&b.nodeName(bA,"a"))&&b.acceptData(bA)){if(by&&bA[bG]&&((bG!=="focus"&&bG!=="blur")||bv.target.offsetWidth!==0)&&!b.isWindow(bA)){bz=bA[by];if(bz){bA[by]=null}b.event.triggered=bG;bA[bG]();b.event.triggered=L;if(bz){bA[by]=bz}}}}return bv.result},dispatch:function(e){e=b.event.fix(e||bb.event);var bz=((b._data(this,"events")||{})[e.type]||[]),bA=bz.delegateCount,bG=[].slice.call(arguments,0),by=!e.exclusive&&!e.namespace,bH=[],bC,bB,bK,bx,bF,bE,bv,bD,bI,bw,bJ;bG[0]=e;e.delegateTarget=this;if(bA&&!e.target.disabled&&!(e.button&&e.type==="click")){bx=b(this);bx.context=this.ownerDocument||this;for(bK=e.target;bK!=this;bK=bK.parentNode||this){bE={};bD=[];bx[0]=bK;for(bC=0;bC<bA;bC++){bI=bz[bC];bw=bI.selector;if(bE[bw]===L){bE[bw]=(bI.quick?j(bK,bI.quick):bx.is(bw))}if(bE[bw]){bD.push(bI)}}if(bD.length){bH.push({elem:bK,matches:bD})}}}if(bz.length>bA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC<bH.length&&!e.isPropagationStopped();bC++){bv=bH[bC];e.currentTarget=bv.elem;for(bB=0;bB<bv.matches.length&&!e.isImmediatePropagationStopped();bB++){bI=bv.matches[bB];if(by||(!e.namespace&&!bI.namespace)||e.namespace_re&&e.namespace_re.test(bI.namespace)){e.data=bI.data;e.handleObj=bI;bF=((b.event.special[bI.origType]||{}).handle||bI.handler).apply(bv.elem,bG);if(bF!==L){e.result=bF;if(bF===false){e.preventDefault();e.stopPropagation()}}}}}return e.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(bv,e){if(bv.which==null){bv.which=e.charCode!=null?e.charCode:e.keyCode}return bv}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(bx,bw){var by,bz,e,bv=bw.button,bA=bw.fromElement;if(bx.pageX==null&&bw.clientX!=null){by=bx.target.ownerDocument||av;bz=by.documentElement;e=by.body;bx.pageX=bw.clientX+(bz&&bz.scrollLeft||e&&e.scrollLeft||0)-(bz&&bz.clientLeft||e&&e.clientLeft||0);bx.pageY=bw.clientY+(bz&&bz.scrollTop||e&&e.scrollTop||0)-(bz&&bz.clientTop||e&&e.clientTop||0)}if(!bx.relatedTarget&&bA){bx.relatedTarget=bA===bx.target?bw.toElement:bA}if(!bx.which&&bv!==L){bx.which=(bv&1?1:(bv&2?3:(bv&4?2:0)))}return bx}},fix:function(bw){if(bw[b.expando]){return bw}var bv,bz,e=bw,bx=b.event.fixHooks[bw.type]||{},by=bx.props?this.props.concat(bx.props):this.props;bw=b.Event(e);for(bv=by.length;bv;){bz=by[--bv];bw[bz]=e[bz]}if(!bw.target){bw.target=e.srcElement||av}if(bw.target.nodeType===3){bw.target=bw.target.parentNode}if(bw.metaKey===L){bw.metaKey=bw.ctrlKey}return bx.filter?bx.filter(bw,e):bw},special:{ready:{setup:b.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(bw,bv,e){if(b.isWindow(this)){this.onbeforeunload=e}},teardown:function(bv,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}},simulate:function(bw,by,bx,bv){var bz=b.extend(new b.Event(),bx,{type:bw,isSimulated:true,originalEvent:{}});if(bv){b.event.trigger(bz,null,by)}else{b.event.dispatch.call(by,bz)}if(bz.isDefaultPrevented()){bx.preventDefault()}}};b.event.handle=b.event.dispatch;b.removeEvent=av.removeEventListener?function(bv,e,bw){if(bv.removeEventListener){bv.removeEventListener(e,bw,false)}}:function(bv,e,bw){if(bv.detachEvent){bv.detachEvent("on"+e,bw)}};b.Event=function(bv,e){if(!(this instanceof b.Event)){return new b.Event(bv,e)}if(bv&&bv.type){this.originalEvent=bv;this.type=bv.type;this.isDefaultPrevented=(bv.defaultPrevented||bv.returnValue===false||bv.getPreventDefault&&bv.getPreventDefault())?i:bk}else{this.type=bv}if(e){b.extend(this,e)}this.timeStamp=bv&&bv.timeStamp||b.now();this[b.expando]=true};function bk(){return false}function i(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=i;var bv=this.originalEvent;if(!bv){return}if(bv.preventDefault){bv.preventDefault()}else{bv.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=i;var bv=this.originalEvent;if(!bv){return}if(bv.stopPropagation){bv.stopPropagation()}bv.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i;this.stopPropagation()},isDefaultPrevented:bk,isPropagationStopped:bk,isImmediatePropagationStopped:bk};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bv,e){b.event.special[bv]={delegateType:e,bindType:e,handle:function(bz){var bB=this,bA=bz.relatedTarget,by=bz.handleObj,bw=by.selector,bx;if(!bA||(bA!==bB&&!b.contains(bB,bA))){bz.type=by.origType;bx=by.handler.apply(this,arguments);bz.type=e}return bx}}});if(!b.support.submitBubbles){b.event.special.submit={setup:function(){if(b.nodeName(this,"form")){return false}b.event.add(this,"click._submit keypress._submit",function(bx){var bw=bx.target,bv=b.nodeName(bw,"input")||b.nodeName(bw,"button")?bw.form:L;if(bv&&!bv._submit_attached){b.event.add(bv,"submit._submit",function(e){if(this.parentNode&&!e.isTrigger){b.event.simulate("submit",this.parentNode,e,true)}});bv._submit_attached=true}})},teardown:function(){if(b.nodeName(this,"form")){return false}b.event.remove(this,"._submit")}}}if(!b.support.changeBubbles){b.event.special.change={setup:function(){if(bd.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){b.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});b.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false;b.event.simulate("change",this,e,true)}})}return false}b.event.add(this,"beforeactivate._change",function(bw){var bv=bw.target;if(bd.test(bv.nodeName)&&!bv._change_attached){b.event.add(bv,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){b.event.simulate("change",this.parentNode,e,true)}});bv._change_attached=true}})},handle:function(bv){var e=bv.target;if(this!==e||bv.isSimulated||bv.isTrigger||(e.type!=="radio"&&e.type!=="checkbox")){return bv.handleObj.handler.apply(this,arguments)}},teardown:function(){b.event.remove(this,"._change");return bd.test(this.nodeName)}}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bx,e){var bv=0,bw=function(by){b.event.simulate(e,by.target,b.event.fix(by),true)};b.event.special[e]={setup:function(){if(bv++===0){av.addEventListener(bx,bw,true)}},teardown:function(){if(--bv===0){av.removeEventListener(bx,bw,true)}}}})}b.fn.extend({on:function(bw,e,bz,by,bv){var bA,bx;if(typeof bw==="object"){if(typeof e!=="string"){bz=e;e=L}for(bx in bw){this.on(bx,e,bz,bw[bx],bv)}return this}if(bz==null&&by==null){by=e;bz=e=L}else{if(by==null){if(typeof e==="string"){by=bz;bz=L}else{by=bz;bz=e;e=L}}}if(by===false){by=bk}else{if(!by){return this}}if(bv===1){bA=by;by=function(bB){b().off(bB);return bA.apply(this,arguments)};by.guid=bA.guid||(bA.guid=b.guid++)}return this.each(function(){b.event.add(this,bw,by,bz,e)})},one:function(bv,e,bx,bw){return this.on.call(this,bv,e,bx,bw,1)},off:function(bw,e,by){if(bw&&bw.preventDefault&&bw.handleObj){var bv=bw.handleObj;b(bw.delegateTarget).off(bv.namespace?bv.type+"."+bv.namespace:bv.type,bv.selector,bv.handler);return this}if(typeof bw==="object"){for(var bx in bw){this.off(bx,e,bw[bx])}return this}if(e===false||typeof e==="function"){by=e;e=L}if(by===false){by=bk}return this.each(function(){b.event.remove(this,bw,by,e)})},bind:function(e,bw,bv){return this.on(e,null,bw,bv)},unbind:function(e,bv){return this.off(e,null,bv)},live:function(e,bw,bv){b(this.context).on(e,this.selector,bw,bv);return this},die:function(e,bv){b(this.context).off(e,this.selector||"**",bv);return this},delegate:function(e,bv,bx,bw){return this.on(bv,e,bx,bw)},undelegate:function(e,bv,bw){return arguments.length==1?this.off(e,"**"):this.off(bv,e,bw)},trigger:function(e,bv){return this.each(function(){b.event.trigger(e,bv,this)})},triggerHandler:function(e,bv){if(this[0]){return b.event.trigger(e,bv,this[0],true)}},toggle:function(bx){var bv=arguments,e=bx.guid||b.guid++,bw=0,by=function(bz){var bA=(b._data(this,"lastToggle"+bx.guid)||0)%bw;b._data(this,"lastToggle"+bx.guid,bA+1);bz.preventDefault();return bv[bA].apply(this,arguments)||false};by.guid=e;while(bw<bv.length){bv[bw++].guid=e}return this.click(by)},hover:function(e,bv){return this.mouseenter(e).mouseleave(bv||e)}});b.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu").split(" "),function(bv,e){b.fn[e]=function(bx,bw){if(bw==null){bw=bx;bx=null}return arguments.length>0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}});
+/*!
+ * Sizzle CSS Selector Engine
+ * Copyright 2011, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ * More information: http://sizzlejs.com/
+ */
+(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e<bR.length;e++){if(bR[e]===bR[e-1]){bR.splice(e--,1)}}}}return bR};by.matches=function(e,bR){return by(e,null,null,bR)};by.matchesSelector=function(e,bR){return by(bR,null,null,[e]).length>0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS<bU;bS++){bV=bE.order[bS];if((bT=bE.leftMatch[bV].exec(bX))){bR=bT[1];bT.splice(1,1);if(bR.substr(bR.length-1)!=="\\"){bT[1]=(bT[1]||"").replace(bK,"");bW=bE.find[bV](bT,e,bY);if(bW!=null){bX=bX.replace(bE.match[bV],"");break}}}}if(!bW){bW=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:bW,expr:bX}};by.filter=function(b1,b0,b4,bU){var bW,e,bZ,b6,b3,bR,bT,bV,b2,bS=b1,b5=[],bY=b0,bX=b0&&b0[0]&&by.isXML(b0[0]);while(b1&&b0.length){for(bZ in bE.filter){if((bW=bE.leftMatch[bZ].exec(b1))!=null&&bW[2]){bR=bE.filter[bZ];bT=bW[1];e=false;bW.splice(1,1);if(bT.substr(bT.length-1)==="\\"){continue}if(bY===b5){b5=[]}if(bE.preFilter[bZ]){bW=bE.preFilter[bZ](bW,bY,b4,b5,bU,bX);if(!bW){e=b6=true}else{if(bW===true){continue}}}if(bW){for(bV=0;(b3=bY[bV])!=null;bV++){if(b3){b6=bR(b3,bW,bV,bY);b2=bU^b6;if(b4&&b6!=null){if(b2){e=true}else{bY[bV]=false}}else{if(b2){b5.push(b3);e=true}}}}}if(b6!==L){if(!b4){bY=b5}b1=b1.replace(bE.match[bZ],"");if(!e){return[]}break}}}if(b1===bS){if(e==null){by.error(b1)}else{break}}bS=b1}return bY};by.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};var bw=by.getText=function(bU){var bS,bT,e=bU.nodeType,bR="";if(e){if(e===1||e===9){if(typeof bU.textContent==="string"){return bU.textContent}else{if(typeof bU.innerText==="string"){return bU.innerText.replace(bO,"")}else{for(bU=bU.firstChild;bU;bU=bU.nextSibling){bR+=bw(bU)}}}}else{if(e===3||e===4){return bU.nodeValue}}}else{for(bS=0;(bT=bU[bS]);bS++){if(bT.nodeType!==8){bR+=bw(bT)}}}return bR};var bE=by.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(bW,bR){var bT=typeof bR==="string",bV=bT&&!bQ.test(bR),bX=bT&&!bV;if(bV){bR=bR.toLowerCase()}for(var bS=0,e=bW.length,bU;bS<e;bS++){if((bU=bW[bS])){while((bU=bU.previousSibling)&&bU.nodeType!==1){}bW[bS]=bX||bU&&bU.nodeName.toLowerCase()===bR?bU||false:bU===bR}}if(bX){by.filter(bR,bW,true)}},">":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS<e;bS++){bV=bW[bS];if(bV){var bT=bV.parentNode;bW[bS]=bT.nodeName.toLowerCase()===bR?bT:false}}}else{for(;bS<e;bS++){bV=bW[bS];if(bV){bW[bS]=bU?bV.parentNode:bV.parentNode===bR}}if(bU){by.filter(bR,bW,true)}}},"":function(bT,bR,bV){var bU,bS=bI++,e=bN;if(typeof bR==="string"&&!bQ.test(bR)){bR=bR.toLowerCase();bU=bR;e=bv}e("parentNode",bR,bS,bT,bU,bV)},"~":function(bT,bR,bV){var bU,bS=bI++,e=bN;if(typeof bR==="string"&&!bQ.test(bR)){bR=bR.toLowerCase();bU=bR;e=bv}e("previousSibling",bR,bS,bT,bU,bV)}},find:{ID:function(bR,bS,bT){if(typeof bS.getElementById!=="undefined"&&!bT){var e=bS.getElementById(bR[1]);return e&&e.parentNode?[e]:[]}},NAME:function(bS,bV){if(typeof bV.getElementsByName!=="undefined"){var bR=[],bU=bV.getElementsByName(bS[1]);for(var bT=0,e=bU.length;bT<e;bT++){if(bU[bT].getAttribute("name")===bS[1]){bR.push(bU[bT])}}return bR.length===0?null:bR}},TAG:function(e,bR){if(typeof bR.getElementsByTagName!=="undefined"){return bR.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(bT,bR,bS,e,bW,bX){bT=" "+bT[1].replace(bK,"")+" ";if(bX){return bT}for(var bU=0,bV;(bV=bR[bU])!=null;bU++){if(bV){if(bW^(bV.className&&(" "+bV.className+" ").replace(/[\t\n\r]/g," ").indexOf(bT)>=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bR<e[3]-0},gt:function(bS,bR,e){return bR>e[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV<bU;bV++){if(bT[bV]===bS){return false}}return true}else{by.error(e)}}}},CHILD:function(bS,bU){var bT,b0,bW,bZ,e,bV,bY,bX=bU[1],bR=bS;switch(bX){case"only":case"first":while((bR=bR.previousSibling)){if(bR.nodeType===1){return false}}if(bX==="first"){return true}bR=bS;case"last":while((bR=bR.nextSibling)){if(bR.nodeType===1){return false}}return true;case"nth":bT=bU[2];b0=bU[3];if(bT===1&&b0===0){return true}bW=bU[0];bZ=bS.parentNode;if(bZ&&(bZ[bC]!==bW||!bS.nodeIndex)){bV=0;for(bR=bZ.firstChild;bR;bR=bR.nextSibling){if(bR.nodeType===1){bR.nodeIndex=++bV}}bZ[bC]=bW}bY=bS.nodeIndex-b0;if(bT===0){return bY===0}else{return(bY%bT===0&&bY/bT>=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS<e;bS++){bR.push(bU[bS])}}else{for(;bU[bS];bS++){bR.push(bU[bS])}}}return bR}}var bJ,bG;if(av.documentElement.compareDocumentPosition){bJ=function(bR,e){if(bR===e){bB=true;return 0}if(!bR.compareDocumentPosition||!e.compareDocumentPosition){return bR.compareDocumentPosition?-1:1}return bR.compareDocumentPosition(e)&4?-1:1}}else{bJ=function(bY,bX){if(bY===bX){bB=true;return 0}else{if(bY.sourceIndex&&bX.sourceIndex){return bY.sourceIndex-bX.sourceIndex}}var bV,bR,bS=[],e=[],bU=bY.parentNode,bW=bX.parentNode,bZ=bU;if(bU===bW){return bG(bY,bX)}else{if(!bU){return -1}else{if(!bW){return 1}}}while(bZ){bS.unshift(bZ);bZ=bZ.parentNode}bZ=bW;while(bZ){e.unshift(bZ);bZ=bZ.parentNode}bV=bS.length;bR=e.length;for(var bT=0;bT<bV&&bT<bR;bT++){if(bS[bT]!==e[bT]){return bG(bS[bT],e[bT])}}return bT===bV?bG(bY,e[bT],-1):bG(bS[bT],bX,1)};bG=function(bR,e,bS){if(bR===e){return bS}var bT=bR.nextSibling;while(bT){if(bT===e){return -1}bT=bT.nextSibling}return 1}}(function(){var bR=av.createElement("div"),bS="script"+(new Date()).getTime(),e=av.documentElement;bR.innerHTML="<a name='"+bS+"'/>";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="<p class='TEST'></p>";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT<bS;bT++){var e=bZ[bT];if(e){var bU=false;e=e[bR];while(e){if(e[bC]===bV){bU=bZ[e.sizset];break}if(e.nodeType===1&&!bY){e[bC]=bV;e.sizset=bT}if(e.nodeName.toLowerCase()===bW){bU=e;break}e=e[bR]}bZ[bT]=bU}}}function bN(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT<bS;bT++){var e=bZ[bT];if(e){var bU=false;e=e[bR];while(e){if(e[bC]===bV){bU=bZ[e.sizset];break}if(e.nodeType===1){if(!bY){e[bC]=bV;e.sizset=bT}if(typeof bW!=="string"){if(e===bW){bU=true;break}}else{if(by.filter(bW,[e]).length>0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT<bR;bT++){by(bS,bY[bT],bX,bW)}return by.filter(bU,bX)};by.attr=b.attr;by.selectors.attrMap={};b.find=by;b.expr=by.selectors;b.expr[":"]=b.expr.filters;b.unique=by.uniqueSort;b.text=by.getText;b.isXMLDoc=by.isXML;b.contains=by.contains})();var ab=/Until$/,aq=/^(?:parents|prevUntil|prevAll)/,a9=/,/,bp=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,H=b.expr.match.POS,ay={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(e){var bw=this,by,bv;if(typeof e!=="string"){return b(e).filter(function(){for(by=0,bv=bw.length;by<bv;by++){if(b.contains(bw[by],this)){return true}}})}var bx=this.pushStack("","find",e),bA,bB,bz;for(by=0,bv=this.length;by<bv;by++){bA=bx.length;b.find(e,this[by],bx);if(by>0){for(bB=bA;bB<bx.length;bB++){for(bz=0;bz<bA;bz++){if(bx[bz]===bx[bB]){bx.splice(bB--,1);break}}}}}return bx},has:function(bv){var e=b(bv);return this.filter(function(){for(var bx=0,bw=e.length;bx<bw;bx++){if(b.contains(this,e[bx])){return true}}})},not:function(e){return this.pushStack(aG(this,e,false),"not",e)},filter:function(e){return this.pushStack(aG(this,e,true),"filter",e)},is:function(e){return !!e&&(typeof e==="string"?H.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw<by.length;bw++){if(b(bz).is(by[bw])){bv.push({selector:by[bw],elem:bz,level:bB})}}bz=bz.parentNode;bB++}return bv}var bA=H.test(by)||typeof by!=="string"?b(by,bx||this.context):0;for(bw=0,e=this.length;bw<e;bw++){bz=this[bw];while(bz){if(bA?bA.index(bz)>-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/<tbody/i,W=/<|&#?\w+;/,ae=/<(?:script|style)/i,O=/<(?:script|object|embed|option|style)/i,ah=new RegExp("<(?:"+aR+")","i"),o=/checked\s*(?:[^=]|=\s*.checked.)/i,bm=/\/(java|ecma)script/i,aN=/^\s*<!(?:\[CDATA\[|\-\-)/,ax={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1></$2>");try{for(var bw=0,bv=this.length;bw<bv;bw++){if(this[bw].nodeType===1){b.cleanData(this[bw].getElementsByTagName("*"));this[bw].innerHTML=bx}}}catch(by){this.empty().append(bx)}}else{if(b.isFunction(bx)){this.each(function(bz){var e=b(this);e.html(bx.call(this,bz,e.html()))})}else{this.empty().append(bx)}}}return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(bx){var bw=b(this),bv=bw.html();bw.replaceWith(e.call(this,bx,bv))})}if(typeof e!=="string"){e=b(e).detach()}return this.each(function(){var bw=this.nextSibling,bv=this.parentNode;b(this).remove();if(bw){b(bw).before(e)}else{b(bv).append(e)}})}else{return this.length?this.pushStack(b(b.isFunction(e)?e():e),"replaceWith",e):this}},detach:function(e){return this.remove(e,true)},domManip:function(bB,bF,bE){var bx,by,bA,bD,bC=bB[0],bv=[];if(!b.support.checkClone&&arguments.length===3&&typeof bC==="string"&&o.test(bC)){return this.each(function(){b(this).domManip(bB,bF,bE,true)})}if(b.isFunction(bC)){return this.each(function(bH){var bG=b(this);bB[0]=bC.call(this,bH,bF?bG.html():L);bG.domManip(bB,bF,bE)})}if(this[0]){bD=bC&&bC.parentNode;if(b.support.parentNode&&bD&&bD.nodeType===11&&bD.childNodes.length===this.length){bx={fragment:bD}}else{bx=b.buildFragment(bB,this,bv)}bA=bx.fragment;if(bA.childNodes.length===1){by=bA=bA.firstChild}else{by=bA.firstChild}if(by){bF=bF&&b.nodeName(by,"tr");for(var bw=0,e=this.length,bz=e-1;bw<e;bw++){bE.call(bF?ba(this[bw],by):this[bw],bx.cacheable||(e>1&&bw<bz)?b.clone(bA,true,true):bA)}}if(bv.length){b.each(bv,bo)}}return this}});function ba(e,bv){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e}function t(bB,bv){if(bv.nodeType!==1||!b.hasData(bB)){return}var by,bx,e,bA=b._data(bB),bz=b._data(bv,bA),bw=bA.events;if(bw){delete bz.handle;bz.events={};for(by in bw){for(bx=0,e=bw[by].length;bx<e;bx++){b.event.add(bv,by+(bw[by][bx].namespace?".":"")+bw[by][bx].namespace,bw[by][bx],bw[by][bx].data)}}}if(bz.data){bz.data=b.extend({},bz.data)}}function ai(bv,e){var bw;if(e.nodeType!==1){return}if(e.clearAttributes){e.clearAttributes()}if(e.mergeAttributes){e.mergeAttributes(bv)}bw=e.nodeName.toLowerCase();if(bw==="object"){e.outerHTML=bv.outerHTML}else{if(bw==="input"&&(bv.type==="checkbox"||bv.type==="radio")){if(bv.checked){e.defaultChecked=e.checked=bv.checked}if(e.value!==bv.value){e.value=bv.value}}else{if(bw==="option"){e.selected=bv.defaultSelected}else{if(bw==="input"||bw==="textarea"){e.defaultValue=bv.defaultValue}}}}e.removeAttribute(b.expando)}b.buildFragment=function(bz,bx,bv){var by,e,bw,bA,bB=bz[0];if(bx&&bx[0]){bA=bx[0].ownerDocument||bx[0]}if(!bA.createDocumentFragment){bA=av}if(bz.length===1&&typeof bB==="string"&&bB.length<512&&bA===av&&bB.charAt(0)==="<"&&!O.test(bB)&&(b.support.checkClone||!o.test(bB))&&(b.support.html5Clone||!ah.test(bB))){e=true;bw=b.fragments[bB];if(bw&&bw!==1){by=bw}}if(!by){by=bA.createDocumentFragment();b.clean(bz,bA,by,bv)}if(e){b.fragments[bB]=bw?by:1}return{fragment:by,cacheable:e}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bv){b.fn[e]=function(bw){var bz=[],bC=b(bw),bB=this.length===1&&this[0].parentNode;if(bB&&bB.nodeType===11&&bB.childNodes.length===1&&bC.length===1){bC[bv](this[0]);return this}else{for(var bA=0,bx=bC.length;bA<bx;bA++){var by=(bA>0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1></$2>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]==="<table>"&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB<bG;bB++){E(bz[bB])}}else{E(bz)}}if(bz.nodeType){bI.push(bz)}else{bI=b.merge(bI,bz)}}if(bH){bF=function(bL){return !bL.type||bm.test(bL.type)};for(bE=0;bI[bE];bE++){if(bA&&b.nodeName(bI[bE],"script")&&(!bI[bE].type||bI[bE].type.toLowerCase()==="text/javascript")){bA.push(bI[bE].parentNode?bI[bE].parentNode.removeChild(bI[bE]):bI[bE])}else{if(bI[bE].nodeType===1){var bJ=b.grep(bI[bE].getElementsByTagName("script"),bF);bI.splice.apply(bI,[bE+1,0].concat(bJ))}bH.appendChild(bI[bE])}}}return bI},cleanData:function(bv){var by,bw,e=b.cache,bB=b.event.special,bA=b.support.deleteExpando;for(var bz=0,bx;(bx=bv[bz])!=null;bz++){if(bx.nodeName&&b.noData[bx.nodeName.toLowerCase()]){continue}bw=bx[b.expando];if(bw){by=e[bw];if(by&&by.events){for(var bC in by.events){if(bB[bC]){b.event.remove(bx,bC)}else{b.removeEvent(bx,bC,by.handle)}}if(by.handle){by.handle.elem=null}}if(bA){delete bx[b.expando]}else{if(bx.removeAttribute){bx.removeAttribute(b.expando)}}delete e[bw]}}}});function bo(e,bv){if(bv.src){b.ajax({url:bv.src,async:false,dataType:"script"})}else{b.globalEval((bv.text||bv.textContent||bv.innerHTML||"").replace(aN,"/*$0*/"))}if(bv.parentNode){bv.parentNode.removeChild(bv)}}var ak=/alpha\([^)]*\)/i,au=/opacity=([^)]*)/,z=/([A-Z]|^ms)/g,bc=/^-?\d+(?:px)?$/i,bn=/^-?\d/,I=/^([\-+])=([\-+.\de]+)/,a7={position:"absolute",visibility:"hidden",display:"block"},an=["Left","Right"],a1=["Top","Bottom"],Z,aI,aX;b.fn.css=function(e,bv){if(arguments.length===2&&bv===L){return this}return b.access(this,e,bv,true,function(bx,bw,by){return by!==L?b.style(bx,bw,by):b.css(bx,bw)})};b.extend({cssHooks:{opacity:{get:function(bw,bv){if(bv){var e=Z(bw,"opacity","opacity");return e===""?"1":e}else{return bw.style.opacity}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bx,bw,bD,by){if(!bx||bx.nodeType===3||bx.nodeType===8||!bx.style){return}var bB,bC,bz=b.camelCase(bw),bv=bx.style,bE=b.cssHooks[bz];bw=b.cssProps[bz]||bz;if(bD!==L){bC=typeof bD;if(bC==="string"&&(bB=I.exec(bD))){bD=(+(bB[1]+1)*+bB[2])+parseFloat(b.css(bx,bw));bC="number"}if(bD==null||bC==="number"&&isNaN(bD)){return}if(bC==="number"&&!b.cssNumber[bz]){bD+="px"}if(!bE||!("set" in bE)||(bD=bE.set(bx,bD))!==L){try{bv[bw]=bD}catch(bA){}}}else{if(bE&&"get" in bE&&(bB=bE.get(bx,false,by))!==L){return bB}return bv[bw]}},css:function(by,bx,bv){var bw,e;bx=b.camelCase(bx);e=b.cssHooks[bx];bx=b.cssProps[bx]||bx;if(bx==="cssFloat"){bx="float"}if(e&&"get" in e&&(bw=e.get(by,true,bv))!==L){return bw}else{if(Z){return Z(by,bx)}}},swap:function(bx,bw,by){var e={};for(var bv in bw){e[bv]=bx.style[bv];bx.style[bv]=bw[bv]}by.call(bx);for(bv in bw){bx.style[bv]=e[bv]}}});b.curCSS=b.css;b.each(["height","width"],function(bv,e){b.cssHooks[e]={get:function(by,bx,bw){var bz;if(bx){if(by.offsetWidth!==0){return p(by,e,bw)}else{b.swap(by,a7,function(){bz=p(by,e,bw)})}return bz}},set:function(bw,bx){if(bc.test(bx)){bx=parseFloat(bx);if(bx>=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx<e;bx++){if(!bv){bA-=parseFloat(b.css(by,"padding"+bz[bx]))||0}if(bv==="margin"){bA+=parseFloat(b.css(by,bv+bz[bx]))||0}else{bA-=parseFloat(b.css(by,"border"+bz[bx]+"Width"))||0}}}return bA+"px"}bA=Z(by,bw,bw);if(bA<0||bA==null){bA=by.style[bw]||0}bA=parseFloat(bA)||0;if(bv){for(;bx<e;bx++){bA+=parseFloat(b.css(by,"padding"+bz[bx]))||0;if(bv!=="padding"){bA+=parseFloat(b.css(by,"border"+bz[bx]+"Width"))||0}if(bv==="margin"){bA+=parseFloat(b.css(by,bv+bz[bx]))||0}}}return bA+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bw){var bv=bw.offsetWidth,e=bw.offsetHeight;return(bv===0&&e===0)||(!b.support.reliableHiddenOffsets&&((bw.style&&bw.style.display)||b.css(bw,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}var k=/%20/g,ap=/\[\]$/,bs=/\r?\n/g,bq=/#.*$/,aD=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aZ=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aM=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aQ=/^(?:GET|HEAD)$/,c=/^\/\//,M=/\?/,a6=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw<bz;bw++){bv=bx[bw];bC=/^\+/.test(bv);if(bC){bv=bv.substr(1)||"*"}bB=e[bv]=e[bv]||[];bB[bC?"unshift":"push"](bA)}}}}function aW(bv,bE,bz,bD,bB,bx){bB=bB||bE.dataTypes[0];bx=bx||{};bx[bB]=true;var bA=bv[bB],bw=0,e=bA?bA.length:0,by=(bv===aa),bC;for(;bw<e&&(by||!bC);bw++){bC=bA[bw](bE,bz,bD);if(typeof bC==="string"){if(!by||bx[bC]){bC=L}else{bE.dataTypes.unshift(bC);bC=aW(bv,bE,bz,bD,bC,bx)}}}if((by||!bC)&&!bx["*"]){bC=aW(bv,bE,bz,bD,"*",bx)}return bC}function am(bw,bx){var bv,e,by=b.ajaxSettings.flatOptions||{};for(bv in bx){if(bx[bv]!==L){(by[bv]?bw:(e||(e={})))[bv]=bx[bv]}}if(e){b.extend(true,bw,e)}}b.fn.extend({load:function(bw,bz,bA){if(typeof bw!=="string"&&A){return A.apply(this,arguments)}else{if(!this.length){return this}}var by=bw.indexOf(" ");if(by>=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("<div>").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA<bw;bA++){if(bA===1){for(bE in bH.converters){if(typeof bE==="string"){bG[bE.toLowerCase()]=bH.converters[bE]}}}bx=bC;bC=bD[bA];if(bC==="*"){bC=bx}else{if(bx!=="*"&&bx!==bC){by=bx+" "+bC;bF=bG[by]||bG["* "+bC];if(!bF){e=L;for(bv in bG){bB=bv.split(" ");if(bB[0]===bx||bB[0]==="*"){e=bG[bB[1]+" "+bC];if(e){bv=bG[bv];if(bv===true){bF=e}else{if(e===true){bF=bv}}break}}}}if(!(bF||e)){b.error("No conversion from "+by.replace(" "," to "))}if(bF!==true){bz=bF?bF(bz):e(bv(bz))}}}}return bz}var aC=b.now(),u=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(aC++)}});b.ajaxPrefilter("json jsonp",function(bD,bA,bC){var bx=bD.contentType==="application/x-www-form-urlencoded"&&(typeof bD.data==="string");if(bD.dataTypes[0]==="jsonp"||bD.jsonp!==false&&(u.test(bD.url)||bx&&u.test(bD.data))){var bB,bw=bD.jsonpCallback=b.isFunction(bD.jsonpCallback)?bD.jsonpCallback():bD.jsonpCallback,bz=bb[bw],e=bD.url,by=bD.data,bv="$1"+bw+"$2";if(bD.jsonp!==false){e=e.replace(u,bv);if(bD.url===e){if(bx){by=by.replace(u,bv)}if(bD.data===by){e+=(/\?/.test(e)?"&":"?")+bD.jsonp+"="+bw}}}bD.url=e;bD.data=by;bb[bw]=function(bE){bB=[bE]};bC.always(function(){bb[bw]=bz;if(bB&&b.isFunction(bz)){bb[bw](bB[0])}});bD.converters["script json"]=function(){if(!bB){b.error(bw+" was not called")}return bB[0]};bD.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){b.globalEval(e);return e}}});b.ajaxPrefilter("script",function(e){if(e.cache===L){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});b.ajaxTransport("script",function(bw){if(bw.crossDomain){var e,bv=av.head||av.getElementsByTagName("head")[0]||av.documentElement;return{send:function(bx,by){e=av.createElement("script");e.async="async";if(bw.scriptCharset){e.charset=bw.scriptCharset}e.src=bw.url;e.onload=e.onreadystatechange=function(bA,bz){if(bz||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(bv&&e.parentNode){bv.removeChild(e)}e=L;if(!bz){by(200,"success")}}};bv.insertBefore(e,bv.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var B=bb.ActiveXObject?function(){for(var e in N){N[e](0,1)}}:false,y=0,N;function aL(){try{return new bb.XMLHttpRequest()}catch(bv){}}function aj(){try{return new bb.ActiveXObject("Microsoft.XMLHTTP")}catch(bv){}}b.ajaxSettings.xhr=bb.ActiveXObject?function(){return !this.isLocal&&aL()||aj()}:aL;(function(e){b.extend(b.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(e){if(!e.crossDomain||b.support.cors){var bv;return{send:function(bB,bw){var bA=e.xhr(),bz,by;if(e.username){bA.open(e.type,e.url,e.async,e.username,e.password)}else{bA.open(e.type,e.url,e.async)}if(e.xhrFields){for(by in e.xhrFields){bA[by]=e.xhrFields[by]}}if(e.mimeType&&bA.overrideMimeType){bA.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!bB["X-Requested-With"]){bB["X-Requested-With"]="XMLHttpRequest"}try{for(by in bB){bA.setRequestHeader(by,bB[by])}}catch(bx){}bA.send((e.hasContent&&e.data)||null);bv=function(bK,bE){var bF,bD,bC,bI,bH;try{if(bv&&(bE||bA.readyState===4)){bv=L;if(bz){bA.onreadystatechange=b.noop;if(B){delete N[bz]}}if(bE){if(bA.readyState!==4){bA.abort()}}else{bF=bA.status;bC=bA.getAllResponseHeaders();bI={};bH=bA.responseXML;if(bH&&bH.documentElement){bI.xml=bH}bI.text=bA.responseText;try{bD=bA.statusText}catch(bJ){bD=""}if(!bF&&e.isLocal&&!e.crossDomain){bF=bI.text?200:404}else{if(bF===1223){bF=204}}}}}catch(bG){if(!bE){bw(-1,bG)}}if(bI){bw(bF,bD,bI,bC)}};if(!e.async||bA.readyState===4){bv()}else{bz=++y;if(B){if(!N){N={};b(bb).unload(B)}N[bz]=bv}bA.onreadystatechange=bv}},abort:function(){if(bv){bv(0,1)}}}}})}var Q={},a8,m,aB=/^(?:toggle|show|hide)$/,aT=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a3,aH=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a4;b.fn.extend({show:function(bx,bA,bz){var bw,by;if(bx||bx===0){return this.animate(a0("show",3),bx,bA,bz)}else{for(var bv=0,e=this.length;bv<e;bv++){bw=this[bv];if(bw.style){by=bw.style.display;if(!b._data(bw,"olddisplay")&&by==="none"){by=bw.style.display=""}if(by===""&&b.css(bw,"display")==="none"){b._data(bw,"olddisplay",x(bw.nodeName))}}}for(bv=0;bv<e;bv++){bw=this[bv];if(bw.style){by=bw.style.display;if(by===""||by==="none"){bw.style.display=b._data(bw,"olddisplay")||""}}}return this}},hide:function(bx,bA,bz){if(bx||bx===0){return this.animate(a0("hide",3),bx,bA,bz)}else{var bw,by,bv=0,e=this.length;for(;bv<e;bv++){bw=this[bv];if(bw.style){by=b.css(bw,"display");if(by!=="none"&&!b._data(bw,"olddisplay")){b._data(bw,"olddisplay",by)}}}for(bv=0;bv<e;bv++){if(this[bv].style){this[bv].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(bw,bv,bx){var e=typeof bw==="boolean";if(b.isFunction(bw)&&b.isFunction(bv)){this._toggle.apply(this,arguments)}else{if(bw==null||e){this.each(function(){var by=e?bw:b(this).is(":hidden");b(this)[by?"show":"hide"]()})}else{this.animate(a0("toggle",3),bw,bv,bx)}}return this},fadeTo:function(e,bx,bw,bv){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bx},e,bw,bv)},animate:function(bz,bw,by,bx){var e=b.speed(bw,by,bx);if(b.isEmptyObject(bz)){return this.each(e.complete,[false])}bz=b.extend({},bz);function bv(){if(e.queue===false){b._mark(this)}var bE=b.extend({},e),bK=this.nodeType===1,bI=bK&&b(this).is(":hidden"),bB,bF,bD,bJ,bH,bC,bG,bL,bA;bE.animatedProperties={};for(bD in bz){bB=b.camelCase(bD);if(bD!==bB){bz[bB]=bz[bD];delete bz[bD]}bF=bz[bB];if(b.isArray(bF)){bE.animatedProperties[bB]=bF[1];bF=bz[bB]=bF[0]}else{bE.animatedProperties[bB]=bE.specialEasing&&bE.specialEasing[bB]||bE.easing||"swing"}if(bF==="hide"&&bI||bF==="show"&&!bI){return bE.complete.call(this)}if(bK&&(bB==="height"||bB==="width")){bE.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout||x(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.zoom=1}}}}if(bE.overflow!=null){this.style.overflow="hidden"}for(bD in bz){bJ=new b.fx(this,bE,bD);bF=bz[bD];if(aB.test(bF)){bA=b._data(this,"toggle"+bD)||(bF==="toggle"?bI?"show":"hide":0);if(bA){b._data(this,"toggle"+bD,bA==="show"?"hide":"show");bJ[bA]()}else{bJ[bF]()}}else{bH=aT.exec(bF);bC=bJ.cur();if(bH){bG=parseFloat(bH[2]);bL=bH[3]||(b.cssNumber[bD]?"":"px");if(bL!=="px"){b.style(this,bD,(bG||1)+bL);bC=((bG||1)/bJ.cur())*bC;b.style(this,bD,bC+bL)}if(bH[1]){bG=((bH[1]==="-="?-1:1)*bG)+bC}bJ.custom(bC,bG,bL)}else{bJ.custom(bC,bF,"")}}}return true}return e.queue===false?this.each(bv):this.queue(e.queue,bv)},stop:function(bw,bv,e){if(typeof bw!=="string"){e=bv;bv=bw;bw=L}if(bv&&bw!==false){this.queue(bw||"fx",[])}return this.each(function(){var bx,by=false,bA=b.timers,bz=b._data(this);if(!e){b._unmark(true,this)}function bB(bE,bF,bD){var bC=bF[bD];b.removeData(bE,bD,true);bC.stop(e)}if(bw==null){for(bx in bz){if(bz[bx]&&bz[bx].stop&&bx.indexOf(".run")===bx.length-4){bB(this,bz,bx)}}}else{if(bz[bx=bw+".run"]&&bz[bx].stop){bB(this,bz,bx)}}for(bx=bA.length;bx--;){if(bA[bx].elem===this&&(bw==null||bA[bx].queue===bw)){if(e){bA[bx](true)}else{bA[bx].saveState()}by=true;bA.splice(bx,1)}}if(!(e&&by)){b.dequeue(this,bw)}})}});function bh(){setTimeout(at,0);return(a4=b.now())}function at(){a4=L}function a0(bv,e){var bw={};b.each(aH.concat.apply([],aH.slice(0,e)),function(){bw[this]=bv});return bw}b.each({slideDown:a0("show",1),slideUp:a0("hide",1),slideToggle:a0("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bv){b.fn[e]=function(bw,by,bx){return this.animate(bv,bw,by,bx)}});b.extend({speed:function(bw,bx,bv){var e=bw&&typeof bw==="object"?b.extend({},bw):{complete:bv||!bv&&bx||b.isFunction(bw)&&bw,duration:bw,easing:bv&&bx||bx&&!b.isFunction(bx)&&bx};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;if(e.queue==null||e.queue===true){e.queue="fx"}e.old=e.complete;e.complete=function(by){if(b.isFunction(e.old)){e.old.call(this)}if(e.queue){b.dequeue(this,e.queue)}else{if(by!==false){b._unmark(this)}}};return e},easing:{linear:function(bw,bx,e,bv){return e+bv*bw},swing:function(bw,bx,e,bv){return((-Math.cos(bw*Math.PI)/2)+0.5)*bv+e}},timers:[],fx:function(bv,e,bw){this.options=e;this.elem=bv;this.prop=bw;e.orig=e.orig||{}}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var e,bv=b.css(this.elem,this.prop);return isNaN(e=parseFloat(bv))?!bv||bv==="auto"?0:bv:e},custom:function(bz,by,bx){var e=this,bw=b.fx;this.startTime=a4||bh();this.end=by;this.now=this.start=bz;this.pos=this.state=0;this.unit=bx||this.unit||(b.cssNumber[this.prop]?"":"px");function bv(bA){return e.step(bA)}bv.queue=this.options.queue;bv.elem=this.elem;bv.saveState=function(){if(e.options.hide&&b._data(e.elem,"fxshow"+e.prop)===L){b._data(e.elem,"fxshow"+e.prop,e.start)}};if(bv()&&b.timers.push(bv)&&!a3){a3=setInterval(bw.tick,bw.interval)}},show:function(){var e=b._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||b.style(this.elem,this.prop);this.options.show=true;if(e!==L){this.custom(this.cur(),e)}else{this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur())}b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b._data(this.elem,"fxshow"+this.prop)||b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(by){var bA,bB,bv,bx=a4||bh(),e=true,bz=this.elem,bw=this.options;if(by||bx>=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e<bv.length;e++){bw=bv[e];if(!bw()&&bv[e]===bw){bv.splice(e--,1)}}if(!bv.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(a3);a3=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){b.style(e.elem,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=e.now+e.unit}else{e.elem[e.prop]=e.now}}}});b.each(["width","height"],function(e,bv){b.fx.step[bv]=function(bw){b.style(bw.elem,bv,Math.max(0,bw.now)+bw.unit)}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(bv){return e===bv.elem}).length}}function x(bx){if(!Q[bx]){var e=av.body,bv=b("<"+bx+">").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*!
+ * jQuery UI 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI
+ */
+(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h<j.length;h++){if(e.options[j[h][0]]){j[h][1].apply(e.element,f)}}}},contains:function(f,e){return document.compareDocumentPosition?f.compareDocumentPosition(e)&16:f!==e&&f.contains(e)},hasScroll:function(h,f){if(a(h).css("overflow")==="hidden"){return false}var e=(f&&f==="left")?"scrollLeft":"scrollTop",g=false;if(h[e]>0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*!
+ * jQuery UI Widget 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Widget
+ */
+(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*!
+ * jQuery UI Mouse 1.8.18
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Mouse
+ *
+ * Depends:
+ * jquery.ui.widget.js
+ */
+(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g<l.length;g++){var j=c.trim(l[g]),e="ui-resizable-"+j;var h=c('<div class="ui-resizable-handle '+e+'"></div>');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(h<e.maxWidth){e.maxWidth=h}if(k<e.maxHeight){e.maxHeight=k}}this._vBoundaries=e},_updateCache:function(e){var f=this.options;this.offset=this.helper.offset();if(a(e.left)){this.position.left=e.left}if(a(e.top)){this.position.top=e.top}if(a(e.height)){this.size.height=e.height}if(a(e.width)){this.size.width=e.width}},_updateRatio:function(h,g){var i=this.options,j=this.position,f=this.size,e=this.axis;if(a(h.height)){h.width=(h.height*this.aspectRatio)}else{if(a(h.width)){h.height=(h.width/this.aspectRatio)}}if(e=="sw"){h.left=j.left+(f.width-h.width);h.top=null}if(e=="nw"){h.top=j.top+(f.height-h.height);h.left=j.left+(f.width-h.width)}return h},_respectSize:function(l,g){var j=this.helper,i=this._vBoundaries,r=this._aspectRatio||g.shiftKey,q=this.axis,t=a(l.width)&&i.maxWidth&&(i.maxWidth<l.width),m=a(l.height)&&i.maxHeight&&(i.maxHeight<l.height),h=a(l.width)&&i.minWidth&&(i.minWidth>l.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f<this._proportionallyResizeElements.length;f++){var h=this._proportionallyResizeElements[f];if(!this.borderDif){var e=[h.css("borderTopWidth"),h.css("borderRightWidth"),h.css("borderBottomWidth"),h.css("borderLeftWidth")],j=[h.css("paddingTop"),h.css("paddingRight"),h.css("paddingBottom"),h.css("paddingLeft")];this.borderDif=c.map(e,function(l,n){var m=parseInt(l,10)||0,o=parseInt(j[n],10)||0;return m+o})}if(c.browser.msie&&!(!(c(g).is(":hidden")||c(g).parents(":hidden").length))){continue}h.css({height:(g.height()-this.borderDif[0]-this.borderDif[2])||0,width:(g.width()-this.borderDif[1]-this.borderDif[3])||0})}},_renderProxy:function(){var f=this.element,i=this.options;this.elementOffset=f.offset();if(this._helper){this.helper=this.helper||c('<div style="overflow:hidden;"></div>');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*!
+ * jQuery hashchange event - v1.3 - 7/21/2010
+ * http://benalman.com/projects/jquery-hashchange-plugin/
+ *
+ * Copyright (c) 2010 "Cowboy" Ben Alman
+ * Dual licensed under the MIT and GPL licenses.
+ * http://benalman.com/about/license/
+ */
+(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(c){var a=c.scrollTo=function(f,e,d){c(window).scrollTo(f,e,d)};a.defaults={axis:"xy",duration:parseFloat(c.fn.jquery)>=1.3?0:1};a.window=function(d){return c(window)._scrollable()};c.fn._scrollable=function(){return this.map(function(){var e=this,d=!e.nodeName||c.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!d){return e}var f=(e.contentWindow||e).document||e.ownerDocument||e;return c.browser.safari||f.compatMode=="BackCompat"?f.body:f.documentElement})};c.fn.scrollTo=function(f,e,d){if(typeof e=="object"){d=e;e=0}if(typeof d=="function"){d={onAfter:d}}if(f=="max"){f=9000000000}d=c.extend({},a.defaults,d);e=e||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){e/=2}d.offset=b(d.offset);d.over=b(d.over);return this._scrollable().each(function(){var l=this,j=c(l),k=f,i,g={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}k=c(k,this);case"object":if(k.is||k.style){i=(k=c(k)).offset()}}c.each(d.axis.split(""),function(q,r){var s=r=="x"?"Left":"Top",u=s.toLowerCase(),p="scroll"+s,o=l[p],n=a.max(l,r);if(i){g[p]=i[u]+(m?0:o-j.offset()[u]);if(d.margin){g[p]-=parseInt(k.css("margin"+s))||0;g[p]-=parseInt(k.css("border"+s+"Width"))||0}g[p]+=d.offset[u]||0;if(d.over[u]){g[p]+=k[r=="x"?"width":"height"]()*d.over[u]}}else{var t=k[u];g[p]=t.slice&&t.slice(-1)=="%"?parseFloat(t)/100*n:t}if(/^\d+$/.test(g[p])){g[p]=g[p]<=0?0:Math.min(g[p],n)}if(!q&&d.queue){if(o!=g[p]){h(d.onAfterFirst)}delete g[p]}});h(d.onAfter);function h(n){j.animate(g,e,d.easing,n&&function(){n.call(this,f,d)})}}).end()};a.max=function(j,i){var h=i=="x"?"Width":"Height",e="scroll"+h;if(!c(j).is("html,body")){return j[e]-c(j)[h.toLowerCase()]()}var g="client"+h,f=j.ownerDocument.documentElement,d=j.ownerDocument.body;return Math.max(f[e],d[e])-Math.min(f[g],d[g])};function b(d){return typeof d=="object"?d:{top:d,left:d}}})(jQuery);/*!
+ PowerTip - v1.2.0 - 2013-04-03
+ http://stevenbenner.github.com/jquery-powertip/
+ Copyright (c) 2013 Steven Benner (http://stevenbenner.com/).
+ Released under MIT license.
+ https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt
+*/
+(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}}(function(k){var A=k(document),s=k(window),w=k("body");var n="displayController",e="hasActiveHover",d="forcedOpen",u="hasMouseMove",f="mouseOnToPopup",g="originalTitle",y="powertip",o="powertipjq",l="powertiptarget",E=180/Math.PI;var c={isTipOpen:false,isFixedTipOpen:false,isClosing:false,tipOpenImminent:false,activeHover:null,currentX:0,currentY:0,previousX:0,previousY:0,desyncTimeout:null,mouseTrackingActive:false,delayInProgress:false,windowWidth:0,windowHeight:0,scrollTop:0,scrollLeft:0};var p={none:0,top:1,bottom:2,left:4,right:8};k.fn.powerTip=function(F,N){if(!this.length){return this}if(k.type(F)==="string"&&k.powerTip[F]){return k.powerTip[F].call(this,this,N)}var O=k.extend({},k.fn.powerTip.defaults,F),G=new x(O);h();this.each(function M(){var R=k(this),Q=R.data(y),P=R.data(o),T=R.data(l),S;if(R.data(n)){k.powerTip.destroy(R)}S=R.attr("title");if(!Q&&!T&&!P&&S){R.data(y,S);R.data(g,S);R.removeAttr("title")}R.data(n,new t(R,O,G))});if(!O.manual){this.on({"mouseenter.powertip":function J(P){k.powerTip.show(this,P)},"mouseleave.powertip":function L(){k.powerTip.hide(this)},"focus.powertip":function K(){k.powerTip.show(this)},"blur.powertip":function H(){k.powerTip.hide(this,true)},"keydown.powertip":function I(P){if(P.keyCode===27){k.powerTip.hide(this,true)}}})}return this};k.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false};k.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};k.powerTip={show:function z(F,G){if(G){i(G);c.previousX=G.pageX;c.previousY=G.pageY;k(F).data(n).show()}else{k(F).first().data(n).show(true,true)}return F},reposition:function r(F){k(F).first().data(n).resetPosition();return F},hide:function D(G,F){if(G){k(G).first().data(n).hide(F)}else{if(c.activeHover){c.activeHover.data(n).hide(true)}}return G},destroy:function C(G){k(G).off(".powertip").each(function F(){var I=k(this),H=[g,n,e,d];if(I.data(g)){I.attr("title",I.data(g));H.push(y)}I.removeData(H)});return G}};k.powerTip.showTip=k.powerTip.show;k.powerTip.closeTip=k.powerTip.hide;function b(){var F=this;F.top="auto";F.left="auto";F.right="auto";F.bottom="auto";F.set=function(H,G){if(k.isNumeric(G)){F[H]=Math.round(G)}}}function t(K,N,F){var J=null;function L(P,Q){M();if(!K.data(e)){if(!P){c.tipOpenImminent=true;J=setTimeout(function O(){J=null;I()},N.intentPollInterval)}else{if(Q){K.data(d,true)}F.showTip(K)}}}function G(P){M();c.tipOpenImminent=false;if(K.data(e)){K.data(d,false);if(!P){c.delayInProgress=true;J=setTimeout(function O(){J=null;F.hideTip(K);c.delayInProgress=false},N.closeDelay)}else{F.hideTip(K)}}}function I(){var Q=Math.abs(c.previousX-c.currentX),O=Math.abs(c.previousY-c.currentY),P=Q+O;if(P<N.intentSensitivity){F.showTip(K)}else{c.previousX=c.currentX;c.previousY=c.currentY;L()}}function M(){J=clearTimeout(J);c.delayInProgress=false}function H(){F.resetPosition(K)}this.show=L;this.hide=G;this.cancel=M;this.resetPosition=H}function j(){function G(M,L,J,O,P){var K=L.split("-")[0],N=new b(),I;if(q(M)){I=H(M,K)}else{I=F(M,K)}switch(L){case"n":N.set("left",I.left-(J/2));N.set("bottom",c.windowHeight-I.top+P);break;case"e":N.set("left",I.left+P);N.set("top",I.top-(O/2));break;case"s":N.set("left",I.left-(J/2));N.set("top",I.top+P);break;case"w":N.set("top",I.top-(O/2));N.set("right",c.windowWidth-I.left+P);break;case"nw":N.set("bottom",c.windowHeight-I.top+P);N.set("right",c.windowWidth-I.left-20);break;case"nw-alt":N.set("left",I.left);N.set("bottom",c.windowHeight-I.top+P);break;case"ne":N.set("left",I.left-20);N.set("bottom",c.windowHeight-I.top+P);break;case"ne-alt":N.set("bottom",c.windowHeight-I.top+P);N.set("right",c.windowWidth-I.left);break;case"sw":N.set("top",I.top+P);N.set("right",c.windowWidth-I.left-20);break;case"sw-alt":N.set("left",I.left);N.set("top",I.top+P);break;case"se":N.set("left",I.left-20);N.set("top",I.top+P);break;case"se-alt":N.set("top",I.top+P);N.set("right",c.windowWidth-I.left);break}return N}function F(K,J){var O=K.offset(),N=K.outerWidth(),I=K.outerHeight(),M,L;switch(J){case"n":M=O.left+N/2;L=O.top;break;case"e":M=O.left+N;L=O.top+I/2;break;case"s":M=O.left+N/2;L=O.top+I;break;case"w":M=O.left;L=O.top+I/2;break;case"nw":M=O.left;L=O.top;break;case"ne":M=O.left+N;L=O.top;break;case"sw":M=O.left;L=O.top+I;break;case"se":M=O.left+N;L=O.top+I;break}return{top:L,left:M}}function H(O,K){var S=O.closest("svg")[0],N=O[0],W=S.createSVGPoint(),L=N.getBBox(),V=N.getScreenCTM(),M=L.width/2,Q=L.height/2,P=[],I=["nw","n","ne","e","se","s","sw","w"],U,X,R,T;function J(){P.push(W.matrixTransform(V))}W.x=L.x;W.y=L.y;J();W.x+=M;J();W.x+=M;J();W.y+=Q;J();W.y+=Q;J();W.x-=M;J();W.x-=M;J();W.y-=Q;J();if(P[0].y!==P[1].y||P[0].x!==P[7].x){X=Math.atan2(V.b,V.a)*E;R=Math.ceil(((X%360)-22.5)/45);if(R<1){R+=8}while(R--){I.push(I.shift())}}for(T=0;T<P.length;T++){if(I[T]===K){U=P[T];break}}return{top:U.y+c.scrollTop,left:U.x+c.scrollLeft}}this.compute=G}function x(Q){var P=new j(),O=k("#"+Q.popupId);if(O.length===0){O=k("<div/>",{id:Q.popupId});if(w.length===0){w=k("body")}w.append(O)}if(Q.followMouse){if(!O.data(u)){A.on("mousemove",M);s.on("scroll",M);O.data(u,true)}}if(Q.mouseOnToPopup){O.on({mouseenter:function L(){if(O.data(f)){if(c.activeHover){c.activeHover.data(n).cancel()}}},mouseleave:function N(){if(c.activeHover){c.activeHover.data(n).hide()}}})}function I(S){S.data(e,true);O.queue(function R(T){H(S);T()})}function H(S){var U;if(!S.data(e)){return}if(c.isTipOpen){if(!c.isClosing){K(c.activeHover)}O.delay(100).queue(function R(V){H(S);V()});return}S.trigger("powerTipPreRender");U=B(S);if(U){O.empty().append(U)}else{return}S.trigger("powerTipRender");c.activeHover=S;c.isTipOpen=true;O.data(f,Q.mouseOnToPopup);if(!Q.followMouse){G(S);c.isFixedTipOpen=true}else{M()}O.fadeIn(Q.fadeInTime,function T(){if(!c.desyncTimeout){c.desyncTimeout=setInterval(J,500)}S.trigger("powerTipOpen")})}function K(R){c.isClosing=true;c.activeHover=null;c.isTipOpen=false;c.desyncTimeout=clearInterval(c.desyncTimeout);R.data(e,false);R.data(d,false);O.fadeOut(Q.fadeOutTime,function S(){var T=new b();c.isClosing=false;c.isFixedTipOpen=false;O.removeClass();T.set("top",c.currentY+Q.offset);T.set("left",c.currentX+Q.offset);O.css(T);R.trigger("powerTipClose")})}function M(){if(!c.isFixedTipOpen&&(c.isTipOpen||(c.tipOpenImminent&&O.data(u)))){var R=O.outerWidth(),V=O.outerHeight(),U=new b(),S,T;U.set("top",c.currentY+Q.offset);U.set("left",c.currentX+Q.offset);S=m(U,R,V);if(S!==p.none){T=a(S);if(T===1){if(S===p.right){U.set("left",c.windowWidth-R)}else{if(S===p.bottom){U.set("top",c.scrollTop+c.windowHeight-V)}}}else{U.set("left",c.currentX-R-Q.offset);U.set("top",c.currentY-V-Q.offset)}}O.css(U)}}function G(S){var R,T;if(Q.smartPlacement){R=k.fn.powerTip.smartPlacementLists[Q.placement];k.each(R,function(U,W){var V=m(F(S,W),O.outerWidth(),O.outerHeight());T=W;if(V===p.none){return false}})}else{F(S,Q.placement);T=Q.placement}O.addClass(T)}function F(U,T){var R=0,S,W,V=new b();V.set("top",0);V.set("left",0);O.css(V);do{S=O.outerWidth();W=O.outerHeight();V=P.compute(U,T,S,W,Q.offset);O.css(V)}while(++R<=5&&(S!==O.outerWidth()||W!==O.outerHeight()));return V}function J(){var R=false;if(c.isTipOpen&&!c.isClosing&&!c.delayInProgress){if(c.activeHover.data(e)===false||c.activeHover.is(":disabled")){R=true}else{if(!v(c.activeHover)&&!c.activeHover.is(":focus")&&!c.activeHover.data(d)){if(O.data(f)){if(!v(O)){R=true}}else{R=true}}}if(R){K(c.activeHover)}}}this.showTip=I;this.hideTip=K;this.resetPosition=G}function q(F){return window.SVGElement&&F[0] instanceof SVGElement}function h(){if(!c.mouseTrackingActive){c.mouseTrackingActive=true;k(function H(){c.scrollLeft=s.scrollLeft();c.scrollTop=s.scrollTop();c.windowWidth=s.width();c.windowHeight=s.height()});A.on("mousemove",i);s.on({resize:function G(){c.windowWidth=s.width();c.windowHeight=s.height()},scroll:function F(){var I=s.scrollLeft(),J=s.scrollTop();if(I!==c.scrollLeft){c.currentX+=I-c.scrollLeft;c.scrollLeft=I}if(J!==c.scrollTop){c.currentY+=J-c.scrollTop;c.scrollTop=J}}})}}function i(F){c.currentX=F.pageX;c.currentY=F.pageY}function v(F){var H=F.offset(),J=F[0].getBoundingClientRect(),I=J.right-J.left,G=J.bottom-J.top;return c.currentX>=H.left&&c.currentX<=H.left+I&&c.currentY>=H.top&&c.currentY<=H.top+G}function B(I){var G=I.data(y),F=I.data(o),K=I.data(l),H,J;if(G){if(k.isFunction(G)){G=G.call(I[0])}J=G}else{if(F){if(k.isFunction(F)){F=F.call(I[0])}if(F.length>0){J=F.clone(true,true)}}else{if(K){H=k("#"+K);if(H.length>0){J=H.html()}}}}return J}function m(M,L,K){var G=c.scrollTop,J=c.scrollLeft,I=G+c.windowHeight,F=J+c.windowWidth,H=p.none;if(M.top<G||Math.abs(M.bottom-c.windowHeight)-K<G){H|=p.top}if(M.top+K>I||Math.abs(M.bottom-c.windowHeight)>I){H|=p.bottom}if(M.left<J||M.right+L>F){H|=p.left}if(M.left+L>F||M.right<J){H|=p.right}return H}function a(G){var F=0;while(G){G&=G-1;F++}return F}}));/*!
+ * jQuery UI Touch Punch 0.2.3
+ *
+ * Copyright 2011–2014, Dave Furfero
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ *
+ * Depends:
+ * jquery.ui.widget.js
+ * jquery.ui.mouse.js
+ */
+(function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return}var d=b.ui.mouse.prototype,f=d._mouseInit,c=d._mouseDestroy,a;function e(h,i){if(h.originalEvent.touches.length>1){return}h.preventDefault();var j=h.originalEvent.changedTouches[0],g=document.createEvent("MouseEvents");g.initMouseEvent(i,true,true,window,1,j.screenX,j.screenY,j.clientX,j.clientY,false,false,false,false,0,null);h.target.dispatchEvent(g)}d._touchStart=function(h){var g=this;if(a||!g._mouseCapture(h.originalEvent.changedTouches[0])){return}a=true;g._touchMoved=false;e(h,"mouseover");e(h,"mousemove");e(h,"mousedown")};d._touchMove=function(g){if(!a){return}this._touchMoved=true;e(g,"mousemove")};d._touchEnd=function(g){if(!a){return}e(g,"mouseup");e(g,"mouseout");if(!this._touchMoved){e(g,"click")}a=false};d._mouseInit=function(){var g=this;g.element.bind({touchstart:b.proxy(g,"_touchStart"),touchmove:b.proxy(g,"_touchMove"),touchend:b.proxy(g,"_touchEnd")});f.call(g)};d._mouseDestroy=function(){var g=this;g.element.unbind({touchstart:b.proxy(g,"_touchStart"),touchmove:b.proxy(g,"_touchMove"),touchend:b.proxy(g,"_touchEnd")});c.call(g)}})(jQuery);/*!
+ * SmartMenus jQuery Plugin - v1.0.0 - January 27, 2016
+ * http://www.smartmenus.org/
+ *
+ * Copyright Vasil Dinkov, Vadikom Web Ltd.
+ * http://vadikom.com
+ *
+ * Licensed MIT
+ */
+(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof module==="object"&&typeof module.exports==="object"){module.exports=a(require("jquery"))}else{a(jQuery)}}}(function(a){var b=[],e=!!window.createPopup,f=false,d="ontouchstart" in window,h=false,g=window.requestAnimationFrame||function(l){return setTimeout(l,1000/60)},c=window.cancelAnimationFrame||function(l){clearTimeout(l)};function k(m){var n=".smartmenus_mouse";if(!h&&!m){var o=true,l=null;a(document).bind(i([["mousemove",function(s){var t={x:s.pageX,y:s.pageY,timeStamp:new Date().getTime()};if(l){var q=Math.abs(l.x-t.x),p=Math.abs(l.y-t.y);if((q>0||p>0)&&q<=2&&p<=2&&t.timeStamp-l.timeStamp<=300){f=true;if(o){var r=a(s.target).closest("a");if(r.is("a")){a.each(b,function(){if(a.contains(this.$root[0],r[0])){this.itemEnter({currentTarget:r[0]});return false}})}o=false}}}l=t}],[d?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut",function(p){if(j(p.originalEvent)){f=false}}]],n));h=true}else{if(h&&m){a(document).unbind(n);h=false}}}function j(l){return !/^(4|mouse)$/.test(l.pointerType)}function i(l,n){if(!n){n=""}var m={};a.each(l,function(o,p){m[p[0].split(" ").join(n+" ")+n]=p[1]});return m}a.SmartMenus=function(m,l){this.$root=a(m);this.opts=l;this.rootId="";this.accessIdPrefix="";this.$subArrow=null;this.activatedItems=[];this.visibleSubMenus=[];this.showTimeout=0;this.hideTimeout=0;this.scrollTimeout=0;this.clickActivated=false;this.focusActivated=false;this.zIndexInc=0;this.idInc=0;this.$firstLink=null;this.$firstSub=null;this.disabled=false;this.$disableOverlay=null;this.$touchScrollingSub=null;this.cssTransforms3d="perspective" in m.style||"webkitPerspective" in m.style;this.wasCollapsible=false;this.init()};a.extend(a.SmartMenus,{hideAll:function(){a.each(b,function(){this.menuHideAll()})},destroy:function(){while(b.length){b[0].destroy()}k(true)},prototype:{init:function(n){var l=this;if(!n){b.push(this);this.rootId=(new Date().getTime()+Math.random()+"").replace(/\D/g,"");this.accessIdPrefix="sm-"+this.rootId+"-";if(this.$root.hasClass("sm-rtl")){this.opts.rightToLeftSubMenus=true}var r=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).bind(i([["mouseover focusin",a.proxy(this.rootOver,this)],["mouseout focusout",a.proxy(this.rootOut,this)],["keydown",a.proxy(this.rootKeyDown,this)]],r)).delegate("a",i([["mouseenter",a.proxy(this.itemEnter,this)],["mouseleave",a.proxy(this.itemLeave,this)],["mousedown",a.proxy(this.itemDown,this)],["focus",a.proxy(this.itemFocus,this)],["blur",a.proxy(this.itemBlur,this)],["click",a.proxy(this.itemClick,this)]],r));r+=this.rootId;if(this.opts.hideOnClick){a(document).bind(i([["touchstart",a.proxy(this.docTouchStart,this)],["touchmove",a.proxy(this.docTouchMove,this)],["touchend",a.proxy(this.docTouchEnd,this)],["click",a.proxy(this.docClick,this)]],r))}a(window).bind(i([["resize orientationchange",a.proxy(this.winResize,this)]],r));if(this.opts.subIndicators){this.$subArrow=a("<span/>").addClass("sub-arrow");if(this.opts.subIndicatorsText){this.$subArrow.html(this.opts.subIndicatorsText)}}k()}this.$firstSub=this.$root.find("ul").each(function(){l.menuInit(a(this))}).eq(0);this.$firstLink=this.$root.find("a").eq(0);if(this.opts.markCurrentItem){var p=/(index|default)\.[^#\?\/]*/i,m=/#.*/,q=window.location.href.replace(p,""),o=q.replace(m,"");this.$root.find("a").each(function(){var s=this.href.replace(p,""),t=a(this);if(s==q||s==o){t.addClass("current");if(l.opts.markCurrentTree){t.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")})}}})}this.wasCollapsible=this.isCollapsible()},destroy:function(m){if(!m){var n=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").unbind(n).undelegate(n);n+=this.rootId;a(document).unbind(n);a(window).unbind(n);if(this.opts.subIndicators){this.$subArrow=null}}this.menuHideAll();var l=this;this.$root.find("ul").each(function(){var o=a(this);if(o.dataSM("scroll-arrows")){o.dataSM("scroll-arrows").remove()}if(o.dataSM("shown-before")){if(l.opts.subMenusMinWidth||l.opts.subMenusMaxWidth){o.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap")}if(o.dataSM("scroll-arrows")){o.dataSM("scroll-arrows").remove()}o.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})}if((o.attr("id")||"").indexOf(l.accessIdPrefix)==0){o.removeAttr("id")}}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("ie-shim").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded");this.$root.find("a.has-submenu").each(function(){var o=a(this);if(o.attr("id").indexOf(l.accessIdPrefix)==0){o.removeAttr("id")}}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub");if(this.opts.subIndicators){this.$root.find("span.sub-arrow").remove()}if(this.opts.markCurrentItem){this.$root.find("a.current").removeClass("current")}if(!m){this.$root=null;this.$firstLink=null;this.$firstSub=null;if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}b.splice(a.inArray(this,b),1)}},disable:function(l){if(!this.disabled){this.menuHideAll();if(!l&&!this.opts.isPopup&&this.$root.is(":visible")){var m=this.$root.offset();this.$disableOverlay=a('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:m.top,left:m.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(true),opacity:0}).appendTo(document.body)}this.disabled=true}},docClick:function(l){if(this.$touchScrollingSub){this.$touchScrollingSub=null;return}if(this.visibleSubMenus.length&&!a.contains(this.$root[0],l.target)||a(l.target).is("a")){this.menuHideAll()}},docTouchEnd:function(m){if(!this.lastTouch){return}if(this.visibleSubMenus.length&&(this.lastTouch.x2===undefined||this.lastTouch.x1==this.lastTouch.x2)&&(this.lastTouch.y2===undefined||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}var l=this;this.hideTimeout=setTimeout(function(){l.menuHideAll()},350)}this.lastTouch=null},docTouchMove:function(m){if(!this.lastTouch){return}var l=m.originalEvent.touches[0];this.lastTouch.x2=l.pageX;this.lastTouch.y2=l.pageY},docTouchStart:function(m){var l=m.originalEvent.touches[0];this.lastTouch={x1:l.pageX,y1:l.pageY,target:l.target}},enable:function(){if(this.disabled){if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}this.disabled=false}},getClosestMenu:function(m){var l=a(m).closest("ul");while(l.dataSM("in-mega")){l=l.parent().closest("ul")}return l[0]||null},getHeight:function(l){return this.getOffset(l,true)},getOffset:function(n,l){var m;if(n.css("display")=="none"){m={position:n[0].style.position,visibility:n[0].style.visibility};n.css({position:"absolute",visibility:"hidden"}).show()}var o=n[0].getBoundingClientRect&&n[0].getBoundingClientRect(),p=o&&(l?o.height||o.bottom-o.top:o.width||o.right-o.left);if(!p&&p!==0){p=l?n[0].offsetHeight:n[0].offsetWidth}if(m){n.hide().css(m)}return p},getStartZIndex:function(l){var m=parseInt(this[l?"$root":"$firstSub"].css("z-index"));if(!l&&isNaN(m)){m=parseInt(this.$root.css("z-index"))}return !isNaN(m)?m:1},getTouchPoint:function(l){return l.touches&&l.touches[0]||l.changedTouches&&l.changedTouches[0]||l},getViewport:function(l){var m=l?"Height":"Width",o=document.documentElement["client"+m],n=window["inner"+m];if(n){o=Math.min(o,n)}return o},getViewportHeight:function(){return this.getViewport(true)},getViewportWidth:function(){return this.getViewport()},getWidth:function(l){return this.getOffset(l)},handleEvents:function(){return !this.disabled&&this.isCSSOn()},handleItemEvents:function(l){return this.handleEvents()&&!this.isLinkInMegaMenu(l)},isCollapsible:function(){return this.$firstSub.css("position")=="static"},isCSSOn:function(){return this.$firstLink.css("display")=="block"},isFixed:function(){var l=this.$root.css("position")=="fixed";if(!l){this.$root.parentsUntil("body").each(function(){if(a(this).css("position")=="fixed"){l=true;return false}})}return l},isLinkInMegaMenu:function(l){return a(this.getClosestMenu(l[0])).hasClass("mega-menu")},isTouchMode:function(){return !f||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(p,l){var n=p.closest("ul"),q=n.dataSM("level");if(q>1&&(!this.activatedItems[q-2]||this.activatedItems[q-2][0]!=n.dataSM("parent-a")[0])){var m=this;a(n.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(n).each(function(){m.itemActivate(a(this).dataSM("parent-a"))})}if(!this.isCollapsible()||l){this.menuHideSubMenus(!this.activatedItems[q-1]||this.activatedItems[q-1][0]!=p[0]?q-1:q)}this.activatedItems[q-1]=p;if(this.$root.triggerHandler("activate.smapi",p[0])===false){return}var o=p.dataSM("sub");if(o&&(this.isTouchMode()||(!this.opts.showOnClick||this.clickActivated))){this.menuShow(o)}},itemBlur:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}this.$root.triggerHandler("blur.smapi",l[0])},itemClick:function(o){var n=a(o.currentTarget);if(!this.handleItemEvents(n)){return}if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==n.closest("ul")[0]){this.$touchScrollingSub=null;o.stopPropagation();return false}if(this.$root.triggerHandler("click.smapi",n[0])===false){return false}var p=a(o.target).is("span.sub-arrow"),m=n.dataSM("sub"),l=m?m.dataSM("level")==2:false;if(m&&!m.is(":visible")){if(this.opts.showOnClick&&l){this.clickActivated=true}this.itemActivate(n);if(m.is(":visible")){this.focusActivated=true;return false}}else{if(this.isCollapsible()&&p){this.itemActivate(n);this.menuHide(m);return false}}if(this.opts.showOnClick&&l||n.hasClass("disabled")||this.$root.triggerHandler("select.smapi",n[0])===false){return false}},itemDown:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}l.dataSM("mousedown",true)},itemEnter:function(n){var m=a(n.currentTarget);if(!this.handleItemEvents(m)){return}if(!this.isTouchMode()){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}var l=this;this.showTimeout=setTimeout(function(){l.itemActivate(m)},this.opts.showOnClick&&m.closest("ul").dataSM("level")==1?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",m[0])},itemFocus:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}if(this.focusActivated&&(!this.isTouchMode()||!l.dataSM("mousedown"))&&(!this.activatedItems.length||this.activatedItems[this.activatedItems.length-1][0]!=l[0])){this.itemActivate(l,true)}this.$root.triggerHandler("focus.smapi",l[0])},itemLeave:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}if(!this.isTouchMode()){l[0].blur();if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}}l.removeDataSM("mousedown");this.$root.triggerHandler("mouseleave.smapi",l[0])},menuHide:function(m){if(this.$root.triggerHandler("beforehide.smapi",m[0])===false){return}m.stop(true,true);if(m.css("display")!="none"){var l=function(){m.css("z-index","")};if(this.isCollapsible()){if(this.opts.collapsibleHideFunction){this.opts.collapsibleHideFunction.call(this,m,l)}else{m.hide(this.opts.collapsibleHideDuration,l)}}else{if(this.opts.hideFunction){this.opts.hideFunction.call(this,m,l)}else{m.hide(this.opts.hideDuration,l)}}if(m.dataSM("ie-shim")){m.dataSM("ie-shim").remove().css({"-webkit-transform":"",transform:""})}if(m.dataSM("scroll")){this.menuScrollStop(m);m.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).unbind(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()}m.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false");m.attr({"aria-expanded":"false","aria-hidden":"true"});var n=m.dataSM("level");this.activatedItems.splice(n-1,1);this.visibleSubMenus.splice(a.inArray(m,this.visibleSubMenus),1);this.$root.triggerHandler("hide.smapi",m[0])}},menuHideAll:function(){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}var m=this.opts.isPopup?1:0;for(var l=this.visibleSubMenus.length-1;l>=m;l--){this.menuHide(this.visibleSubMenus[l])}if(this.opts.isPopup){this.$root.stop(true,true);if(this.$root.is(":visible")){if(this.opts.hideFunction){this.opts.hideFunction.call(this,this.$root)}else{this.$root.hide(this.opts.hideDuration)}if(this.$root.dataSM("ie-shim")){this.$root.dataSM("ie-shim").remove()}}}this.activatedItems=[];this.visibleSubMenus=[];this.clickActivated=false;this.focusActivated=false;this.zIndexInc=0;this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(n){for(var l=this.activatedItems.length-1;l>=n;l--){var m=this.activatedItems[l].dataSM("sub");if(m){this.menuHide(m)}}},menuIframeShim:function(l){if(e&&this.opts.overlapControlsInIE&&!l.dataSM("ie-shim")){l.dataSM("ie-shim",a("<iframe/>").attr({src:"javascript:0",tabindex:-9}).css({position:"absolute",top:"auto",left:"0",opacity:0,border:"0"}))}},menuInit:function(l){if(!l.dataSM("in-mega")){if(l.hasClass("mega-menu")){l.find("ul").dataSM("in-mega",true)}var q=2,m=l[0];while((m=m.parentNode.parentNode)!=this.$root[0]){q++}var n=l.prevAll("a").eq(-1);if(!n.length){n=l.prevAll().find("a").eq(-1)}n.addClass("has-submenu").dataSM("sub",l);l.dataSM("parent-a",n).dataSM("level",q).parent().dataSM("sub",l);var o=n.attr("id")||this.accessIdPrefix+(++this.idInc),p=l.attr("id")||this.accessIdPrefix+(++this.idInc);n.attr({id:o,"aria-haspopup":"true","aria-controls":p,"aria-expanded":"false"});l.attr({id:p,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"});if(this.opts.subIndicators){n[this.opts.subIndicatorsPos](this.$subArrow.clone())}}},menuPosition:function(K){var r=K.dataSM("parent-a"),D=r.closest("li"),E=D.parent(),l=K.dataSM("level"),t=this.getWidth(K),J=this.getHeight(K),u=r.offset(),o=u.left,m=u.top,q=this.getWidth(r),F=this.getHeight(r),H=a(window),v=H.scrollLeft(),s=H.scrollTop(),z=this.getViewportWidth(),L=this.getViewportHeight(),w=E.parent().is("[data-sm-horizontal-sub]")||l==2&&!E.hasClass("sm-vertical"),B=this.opts.rightToLeftSubMenus&&!D.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&D.is("[data-sm-reverse]"),p=l==2?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,n=l==2?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY,C,A;if(w){C=B?q-t-p:p;A=this.opts.bottomToTopSubMenus?-J-n:F+n}else{C=B?p-t:q-p;A=this.opts.bottomToTopSubMenus?F-n-J:n}if(this.opts.keepInViewport){var N=o+C,M=m+A;if(B&&N<v){C=w?v-N+C:q-p}else{if(!B&&N+t>v+z){C=w?v+z-t-N+C:p-t}}if(!w){if(J<L&&M+J>s+L){A+=s+L-J-M}else{if(J>=L||M<s){A+=s-M}}}if(w&&(M+J>s+L+0.49||M<s)||!w&&J>L+0.49){var G=this;if(!K.dataSM("scroll-arrows")){K.dataSM("scroll-arrows",a([a('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],a('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).bind({mouseenter:function(){K.dataSM("scroll").up=a(this).hasClass("scroll-up");G.menuScroll(K)},mouseleave:function(x){G.menuScrollStop(K);G.menuScrollOut(K,x)},"mousewheel DOMMouseScroll":function(x){x.preventDefault()}}).insertAfter(K))}var I=".smartmenus_scroll";K.dataSM("scroll",{y:this.cssTransforms3d?0:A-F,step:1,itemH:F,subH:J,arrowDownH:this.getHeight(K.dataSM("scroll-arrows").eq(1))}).bind(i([["mouseover",function(x){G.menuScrollOver(K,x)}],["mouseout",function(x){G.menuScrollOut(K,x)}],["mousewheel DOMMouseScroll",function(x){G.menuScrollMousewheel(K,x)}]],I)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:C+(parseInt(K.css("border-left-width"))||0),width:t-(parseInt(K.css("border-left-width"))||0)-(parseInt(K.css("border-right-width"))||0),zIndex:K.css("z-index")}).eq(w&&this.opts.bottomToTopSubMenus?0:1).show();if(this.isFixed()){K.css({"touch-action":"none","-ms-touch-action":"none"}).bind(i([[d?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp",function(x){G.menuScrollTouch(K,x)}]],I))}}}K.css({top:"auto",left:"0",marginLeft:C,marginTop:A-F});this.menuIframeShim(K);if(K.dataSM("ie-shim")){K.dataSM("ie-shim").css({zIndex:K.css("z-index"),width:t,height:J,marginLeft:C,marginTop:A-F})}},menuScroll:function(r,m,n){var p=r.dataSM("scroll"),q=r.dataSM("scroll-arrows"),o=p.up?p.upEnd:p.downEnd,s;if(!m&&p.momentum){p.momentum*=0.92;s=p.momentum;if(s<0.5){this.menuScrollStop(r);return}}else{s=n||(m||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(p.step))}var l=r.dataSM("level");if(this.activatedItems[l-1]&&this.activatedItems[l-1].dataSM("sub")&&this.activatedItems[l-1].dataSM("sub").is(":visible")){this.menuHideSubMenus(l-1)}p.y=p.up&&o<=p.y||!p.up&&o>=p.y?p.y:(Math.abs(o-p.y)>s?p.y+(p.up?s:-s):o);r.add(r.dataSM("ie-shim")).css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+p.y+"px, 0)",transform:"translate3d(0, "+p.y+"px, 0)"}:{marginTop:p.y});if(f&&(p.up&&p.y>p.downEnd||!p.up&&p.y<p.upEnd)){q.eq(p.up?1:0).show()}if(p.y==o){if(f){q.eq(p.up?0:1).hide()}this.menuScrollStop(r)}else{if(!m){if(this.opts.scrollAccelerate&&p.step<this.opts.scrollStep){p.step+=0.2}var t=this;this.scrollTimeout=g(function(){t.menuScroll(r)})}}},menuScrollMousewheel:function(m,n){if(this.getClosestMenu(n.target)==m[0]){n=n.originalEvent;var l=(n.wheelDelta||-n.detail)>0;if(m.dataSM("scroll-arrows").eq(l?0:1).is(":visible")){m.dataSM("scroll").up=l;this.menuScroll(m,true)}}n.preventDefault()},menuScrollOut:function(l,m){if(f){if(!/^scroll-(up|down)/.test((m.relatedTarget||"").className)&&(l[0]!=m.relatedTarget&&!a.contains(l[0],m.relatedTarget)||this.getClosestMenu(m.relatedTarget)!=l[0])){l.dataSM("scroll-arrows").css("visibility","hidden")}}},menuScrollOver:function(n,o){if(f){if(!/^scroll-(up|down)/.test(o.target.className)&&this.getClosestMenu(o.target)==n[0]){this.menuScrollRefreshData(n);var m=n.dataSM("scroll"),l=a(window).scrollTop()-n.dataSM("parent-a").offset().top-m.itemH;n.dataSM("scroll-arrows").eq(0).css("margin-top",l).end().eq(1).css("margin-top",l+this.getViewportHeight()-m.arrowDownH).end().css("visibility","visible")}}},menuScrollRefreshData:function(n){var m=n.dataSM("scroll"),l=a(window).scrollTop()-n.dataSM("parent-a").offset().top-m.itemH;if(this.cssTransforms3d){l=-(parseFloat(n.css("margin-top"))-l)}a.extend(m,{upEnd:l,downEnd:l+this.getViewportHeight()-m.subH})},menuScrollStop:function(l){if(this.scrollTimeout){c(this.scrollTimeout);this.scrollTimeout=0;l.dataSM("scroll").step=1;return true}},menuScrollTouch:function(p,q){q=q.originalEvent;if(j(q)){var m=this.getTouchPoint(q);if(this.getClosestMenu(m.target)==p[0]){var o=p.dataSM("scroll");if(/(start|down)$/i.test(q.type)){if(this.menuScrollStop(p)){q.preventDefault();this.$touchScrollingSub=p}else{this.$touchScrollingSub=null}this.menuScrollRefreshData(p);a.extend(o,{touchStartY:m.pageY,touchStartTime:q.timeStamp})}else{if(/move$/i.test(q.type)){var n=o.touchY!==undefined?o.touchY:o.touchStartY;if(n!==undefined&&n!=m.pageY){this.$touchScrollingSub=p;var l=n<m.pageY;if(o.up!==undefined&&o.up!=l){a.extend(o,{touchStartY:m.pageY,touchStartTime:q.timeStamp})}a.extend(o,{up:l,touchY:m.pageY});this.menuScroll(p,true,Math.abs(m.pageY-n))}q.preventDefault()}else{if(o.touchY!==undefined){if(o.momentum=Math.pow(Math.abs(m.pageY-o.touchStartY)/(q.timeStamp-o.touchStartTime),2)*15){this.menuScrollStop(p);this.menuScroll(p);q.preventDefault()}delete o.touchY}}}}}},menuShow:function(n){if(!n.dataSM("beforefirstshowfired")){n.dataSM("beforefirstshowfired",true);if(this.$root.triggerHandler("beforefirstshow.smapi",n[0])===false){return}}if(this.$root.triggerHandler("beforeshow.smapi",n[0])===false){return}n.dataSM("shown-before",true).stop(true,true);if(!n.is(":visible")){var m=n.dataSM("parent-a");if(this.opts.keepHighlighted||this.isCollapsible()){m.addClass("highlighted")}if(this.isCollapsible()){n.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""})}else{n.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1);if(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth){n.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap");if(this.opts.subMenusMinWidth){n.css("min-width",this.opts.subMenusMinWidth)}if(this.opts.subMenusMaxWidth){var o=this.getWidth(n);n.css("max-width",this.opts.subMenusMaxWidth);if(o>this.getWidth(n)){n.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}}}this.menuPosition(n);if(n.dataSM("ie-shim")){n.dataSM("ie-shim").insertBefore(n)}}var l=function(){n.css("overflow","")};if(this.isCollapsible()){if(this.opts.collapsibleShowFunction){this.opts.collapsibleShowFunction.call(this,n,l)}else{n.show(this.opts.collapsibleShowDuration,l)}}else{if(this.opts.showFunction){this.opts.showFunction.call(this,n,l)}else{n.show(this.opts.showDuration,l)}}m.attr("aria-expanded","true");n.attr({"aria-expanded":"true","aria-hidden":"false"});this.visibleSubMenus.push(n);this.$root.triggerHandler("show.smapi",n[0])}},popupHide:function(l){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}var m=this;this.hideTimeout=setTimeout(function(){m.menuHideAll()},l?1:this.opts.hideTimeout)},popupShow:function(o,n){if(!this.opts.isPopup){alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');return}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}this.$root.dataSM("shown-before",true).stop(true,true);if(!this.$root.is(":visible")){this.$root.css({left:o,top:n});this.menuIframeShim(this.$root);if(this.$root.dataSM("ie-shim")){this.$root.dataSM("ie-shim").css({zIndex:this.$root.css("z-index"),width:this.getWidth(this.$root),height:this.getHeight(this.$root),left:o,top:n}).insertBefore(this.$root)}var m=this,l=function(){m.$root.css("overflow","")};if(this.opts.showFunction){this.opts.showFunction.call(this,this.$root,l)}else{this.$root.show(this.opts.showDuration,l)}this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(true);this.init(true)},rootKeyDown:function(o){if(!this.handleEvents()){return}switch(o.keyCode){case 27:var m=this.activatedItems[0];if(m){this.menuHideAll();m[0].focus();var n=m.dataSM("sub");if(n){this.menuHide(n)}}break;case 32:var l=a(o.target);if(l.is("a")&&this.handleItemEvents(l)){var n=l.dataSM("sub");if(n&&!n.is(":visible")){this.itemClick({currentTarget:o.target});o.preventDefault()}}break}},rootOut:function(m){if(!this.handleEvents()||this.isTouchMode()||m.target==this.$root[0]){return}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}if(!this.opts.showOnClick||!this.opts.hideOnClick){var l=this;this.hideTimeout=setTimeout(function(){l.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(l){if(!this.handleEvents()||this.isTouchMode()||l.target==this.$root[0]){return}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}},winResize:function(m){if(!this.handleEvents()){if(this.$disableOverlay){var n=this.$root.offset();this.$disableOverlay.css({top:n.top,left:n.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}return}if(!("onorientationchange" in window)||m.type=="orientationchange"){var l=this.isCollapsible();if(!(this.wasCollapsible&&l)){if(this.activatedItems.length){this.activatedItems[this.activatedItems.length-1][0].blur()}this.menuHideAll()}this.wasCollapsible=l}}}});a.fn.dataSM=function(l,m){if(m){return this.data(l+"_smartmenus",m)}return this.data(l+"_smartmenus")};a.fn.removeDataSM=function(l){return this.removeData(l+"_smartmenus")};a.fn.smartmenus=function(m){if(typeof m=="string"){var l=arguments,o=m;Array.prototype.shift.call(l);return this.each(function(){var p=a(this).data("smartmenus");if(p&&p[o]){p[o].apply(p,l)}})}var n=a.extend({},a.fn.smartmenus.defaults,m);return this.each(function(){new a.SmartMenus(this,n)})};a.fn.smartmenus.defaults={isPopup:false,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:true,subIndicatorsPos:"prepend",subIndicatorsText:"+",scrollStep:30,scrollAccelerate:true,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(m,l){m.fadeOut(200,l)},collapsibleShowDuration:0,collapsibleShowFunction:function(m,l){m.slideDown(200,l)},collapsibleHideDuration:0,collapsibleHideFunction:function(m,l){m.slideUp(200,l)},showOnClick:false,hideOnClick:true,noMouseOver:false,keepInViewport:true,keepHighlighted:true,markCurrentItem:false,markCurrentTree:true,rightToLeftSubMenus:false,bottomToTopSubMenus:false,overlapControlsInIE:true};return a}));
\ No newline at end of file
--- /dev/null
+function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
+ function makeTree(data,relPath) {
+ var result='';
+ if ('children' in data) {
+ result+='<ul>';
+ for (var i in data.children) {
+ result+='<li><a href="'+relPath+data.children[i].url+'">'+
+ data.children[i].text+'</a>'+
+ makeTree(data.children[i],relPath)+'</li>';
+ }
+ result+='</ul>';
+ }
+ return result;
+ }
+
+ $('#main-nav').append(makeTree(menudata,relPath));
+ $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
+ if (searchEnabled) {
+ if (serverSide) {
+ $('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><div class="left"><form id="FSearchBox" action="'+searchPage+'" method="get"><img id="MSearchSelect" src="'+relPath+'search/mag.png" alt=""/><input type="text" id="MSearchField" name="query" value="'+search+'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"></form></div><div class="right"></div></div></li>');
+ } else {
+ $('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><span class="left"><img id="MSearchSelect" src="'+relPath+'search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/><input type="text" id="MSearchField" value="'+search+'" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/></span><span class="right"><a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="'+relPath+'search/close.png" alt=""/></a></span></div></li>');
+ }
+ }
+ $('#main-menu').smartmenus();
+}
--- /dev/null
+var menudata={children:[
+{text:"Main Page",url:"index.html"},
+{text:"Related Pages",url:"pages.html"},
+{text:"Modules",url:"modules.html"},
+{text:"Data Structures",url:"annotated.html",children:[
+{text:"Data Structures",url:"annotated.html"},
+{text:"Data Fields",url:"functions.html",children:[
+{text:"All",url:"functions.html",children:[
+{text:"a",url:"functions.html#index_a"},
+{text:"b",url:"functions.html#index_b"},
+{text:"c",url:"functions.html#index_c"},
+{text:"d",url:"functions.html#index_d"},
+{text:"e",url:"functions.html#index_e"},
+{text:"f",url:"functions.html#index_f"},
+{text:"g",url:"functions.html#index_g"},
+{text:"i",url:"functions.html#index_i"},
+{text:"l",url:"functions.html#index_l"},
+{text:"m",url:"functions.html#index_m"},
+{text:"n",url:"functions.html#index_n"},
+{text:"o",url:"functions.html#index_o"},
+{text:"p",url:"functions.html#index_p"},
+{text:"r",url:"functions.html#index_r"},
+{text:"s",url:"functions.html#index_s"},
+{text:"t",url:"functions.html#index_t"},
+{text:"u",url:"functions.html#index_u"},
+{text:"v",url:"functions.html#index_v"}]},
+{text:"Variables",url:"functions_vars.html",children:[
+{text:"a",url:"functions_vars.html#index_a"},
+{text:"b",url:"functions_vars.html#index_b"},
+{text:"c",url:"functions_vars.html#index_c"},
+{text:"d",url:"functions_vars.html#index_d"},
+{text:"e",url:"functions_vars.html#index_e"},
+{text:"f",url:"functions_vars.html#index_f"},
+{text:"g",url:"functions_vars.html#index_g"},
+{text:"i",url:"functions_vars.html#index_i"},
+{text:"l",url:"functions_vars.html#index_l"},
+{text:"m",url:"functions_vars.html#index_m"},
+{text:"n",url:"functions_vars.html#index_n"},
+{text:"o",url:"functions_vars.html#index_o"},
+{text:"p",url:"functions_vars.html#index_p"},
+{text:"r",url:"functions_vars.html#index_r"},
+{text:"s",url:"functions_vars.html#index_s"},
+{text:"t",url:"functions_vars.html#index_t"},
+{text:"u",url:"functions_vars.html#index_u"},
+{text:"v",url:"functions_vars.html#index_v"}]}]}]}]}
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Modules</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Modules</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock">Here is a list of all modules:</div><div class="directory">
+<table class="directory">
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00149.html" target="_self">API version</a></td><td class="desc"></td></tr>
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00150.html" target="_self">Object Sets (hwloc_cpuset_t and hwloc_nodeset_t)</a></td><td class="desc"></td></tr>
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00151.html" target="_self">Object Types</a></td><td class="desc"></td></tr>
+<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00152.html" target="_self">Object Structure and Attributes</a></td><td class="desc"></td></tr>
+<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00153.html" target="_self">Topology Creation and Destruction</a></td><td class="desc"></td></tr>
+<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00154.html" target="_self">Topology Detection Configuration and Query</a></td><td class="desc"></td></tr>
+<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00155.html" target="_self">Object levels, depths and types</a></td><td class="desc"></td></tr>
+<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00156.html" target="_self">Converting between Object Types, Sets and Attributes, and Strings</a></td><td class="desc"></td></tr>
+<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00157.html" target="_self">Consulting and Adding Key-Value Info Attributes</a></td><td class="desc"></td></tr>
+<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00158.html" target="_self">CPU binding</a></td><td class="desc"></td></tr>
+<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00159.html" target="_self">Memory binding</a></td><td class="desc"></td></tr>
+<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00160.html" target="_self">Modifying a loaded Topology</a></td><td class="desc"></td></tr>
+<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00161.html" target="_self">Building Custom Topologies</a></td><td class="desc"></td></tr>
+<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00162.html" target="_self">Exporting Topologies to XML</a></td><td class="desc"></td></tr>
+<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00163.html" target="_self">Exporting Topologies to Synthetic</a></td><td class="desc"></td></tr>
+<tr id="row_15_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00164.html" target="_self">Finding Objects inside a CPU set</a></td><td class="desc"></td></tr>
+<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00165.html" target="_self">Finding Objects covering at least CPU set</a></td><td class="desc"></td></tr>
+<tr id="row_17_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00166.html" target="_self">Looking at Ancestor and Child Objects</a></td><td class="desc"></td></tr>
+<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00167.html" target="_self">Looking at Cache Objects</a></td><td class="desc"></td></tr>
+<tr id="row_19_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00168.html" target="_self">Finding objects, miscellaneous helpers</a></td><td class="desc"></td></tr>
+<tr id="row_20_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00169.html" target="_self">Distributing items over a topology</a></td><td class="desc"></td></tr>
+<tr id="row_21_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00170.html" target="_self">CPU and node sets of entire topologies</a></td><td class="desc"></td></tr>
+<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00171.html" target="_self">Converting between CPU sets and node sets</a></td><td class="desc"></td></tr>
+<tr id="row_23_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00172.html" target="_self">Manipulating Distances</a></td><td class="desc"></td></tr>
+<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00173.html" target="_self">Finding I/O objects</a></td><td class="desc"></td></tr>
+<tr id="row_25_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00174.html" target="_self">The bitmap API</a></td><td class="desc"></td></tr>
+<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00175.html" target="_self">Linux-specific helpers</a></td><td class="desc"></td></tr>
+<tr id="row_27_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00176.html" target="_self">Interoperability with Linux libnuma unsigned long masks</a></td><td class="desc"></td></tr>
+<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00177.html" target="_self">Interoperability with Linux libnuma bitmask</a></td><td class="desc"></td></tr>
+<tr id="row_29_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00178.html" target="_self">Interoperability with glibc sched affinity</a></td><td class="desc"></td></tr>
+<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00179.html" target="_self">Interoperability with OpenCL</a></td><td class="desc"></td></tr>
+<tr id="row_31_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00180.html" target="_self">Interoperability with the CUDA Driver API</a></td><td class="desc"></td></tr>
+<tr id="row_32_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00181.html" target="_self">Interoperability with the CUDA Runtime API</a></td><td class="desc"></td></tr>
+<tr id="row_33_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00182.html" target="_self">Interoperability with the NVIDIA Management Library</a></td><td class="desc"></td></tr>
+<tr id="row_34_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00183.html" target="_self">Interoperability with OpenGL displays</a></td><td class="desc"></td></tr>
+<tr id="row_35_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00184.html" target="_self">Interoperability with Intel Xeon Phi (MIC)</a></td><td class="desc"></td></tr>
+<tr id="row_36_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00185.html" target="_self">Interoperability with OpenFabrics</a></td><td class="desc"></td></tr>
+<tr id="row_37_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00186.html" target="_self">Interoperability with Myrinet Express</a></td><td class="desc"></td></tr>
+<tr id="row_38_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00187.html" target="_self">Topology differences</a></td><td class="desc"></td></tr>
+<tr id="row_39_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00188.html" target="_self">Components and Plugins: Discovery components</a></td><td class="desc"></td></tr>
+<tr id="row_40_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00189.html" target="_self">Components and Plugins: Discovery backends</a></td><td class="desc"></td></tr>
+<tr id="row_41_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00190.html" target="_self">Components and Plugins: Generic components</a></td><td class="desc"></td></tr>
+<tr id="row_42_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00191.html" target="_self">Components and Plugins: Core functions to be used by components</a></td><td class="desc"></td></tr>
+<tr id="row_43_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00192.html" target="_self">Components and Plugins: PCI functions to be used by components</a></td><td class="desc"></td></tr>
+</table>
+</div><!-- directory -->
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>Hardware Locality (hwloc): Related Pages</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Hardware Locality (hwloc)
+  <span id="projectnumber">1.11.13</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Related Pages</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock">Here is a list of all related documentation pages:</div><div class="directory">
+<table class="directory">
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00309.html" target="_self">Terms and Definitions</a></td><td class="desc"></td></tr>
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00310.html" target="_self">Command-Line Tools</a></td><td class="desc"></td></tr>
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00311.html" target="_self">Environment Variables</a></td><td class="desc"></td></tr>
+<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00312.html" target="_self">CPU and Memory Binding Overview</a></td><td class="desc"></td></tr>
+<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00313.html" target="_self">I/O Devices</a></td><td class="desc"></td></tr>
+<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00314.html" target="_self">Miscellaneous objects</a></td><td class="desc"></td></tr>
+<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00315.html" target="_self">Multi-node Topologies</a></td><td class="desc"></td></tr>
+<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00316.html" target="_self">Object attributes</a></td><td class="desc"></td></tr>
+<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00317.html" target="_self">Importing and exporting topologies from/to XML files</a></td><td class="desc"></td></tr>
+<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00318.html" target="_self">Synthetic topologies</a></td><td class="desc"></td></tr>
+<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00319.html" target="_self">Interoperability With Other Software</a></td><td class="desc"></td></tr>
+<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00320.html" target="_self">Thread Safety</a></td><td class="desc"></td></tr>
+<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00321.html" target="_self">Components and plugins</a></td><td class="desc"></td></tr>
+<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00322.html" target="_self">Embedding hwloc in Other Software</a></td><td class="desc"></td></tr>
+<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="a00323.html" target="_self">Frequently Asked Questions</a></td><td class="desc"></td></tr>
+</table>
+</div><!-- directory -->
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:transparent}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0px 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0px 1px 1px rgba(255,255,255,0.9);color:#283A5D;outline:none}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a.current{color:#D23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media (min-width: 768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283A5D transparent transparent transparent;background:transparent;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0px 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a:hover span.sub-arrow{border-color:#fff transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;border-radius:5px !important;box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent #fff}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #D23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#D23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}}
--- /dev/null
+<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
+<tagfile>
+ <compound kind="struct">
+ <name>hwloc_backend</name>
+ <filename>a00304.html</filename>
+ <member kind="variable">
+ <type>unsigned long</type>
+ <name>flags</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>aaa8eafe495aadd81c2e3c4ec527c10ba</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>int</type>
+ <name>is_custom</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>a5209e6508c110dcd4c3c296466f07cb3</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>int</type>
+ <name>is_thissystem</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>ab8806f6db077f1bb2e9d63ec99223f7a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>void *</type>
+ <name>private_data</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>a2ea5bd36b7f06efdb65b98b32af16c68</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>void(*</type>
+ <name>disable</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>a36c4fa86350525b46340c67b802c69c7</anchor>
+ <arglist>)(struct hwloc_backend *backend)</arglist>
+ </member>
+ <member kind="variable">
+ <type>int(*</type>
+ <name>discover</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>aeb9e1dcf68853a65355082b359a3a2d7</anchor>
+ <arglist>)(struct hwloc_backend *backend)</arglist>
+ </member>
+ <member kind="variable">
+ <type>int(*</type>
+ <name>get_obj_cpuset</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>ab3d1836eeda1970a4c51342df186581e</anchor>
+ <arglist>)(struct hwloc_backend *backend, struct hwloc_backend *caller, struct hwloc_obj *obj, hwloc_bitmap_t cpuset)</arglist>
+ </member>
+ <member kind="variable">
+ <type>int(*</type>
+ <name>notify_new_object</name>
+ <anchorfile>a00304.html</anchorfile>
+ <anchor>a5a4803e23309be318d7cdb641a5f1037</anchor>
+ <arglist>)(struct hwloc_backend *backend, struct hwloc_backend *caller, struct hwloc_obj *obj)</arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_attr_u::hwloc_bridge_attr_s</name>
+ <filename>a00224.html</filename>
+ <member kind="variable">
+ <type>struct hwloc_pcidev_attr_s</type>
+ <name>pci</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>ab5c564e7c95b747dae9eb84ec0a2c31e</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>union hwloc_obj_attr_u::hwloc_bridge_attr_s::@0</type>
+ <name>upstream</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>a00ce9d99fc8792d1044fe25dc58605fe</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_obj_bridge_type_t</type>
+ <name>upstream_type</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>a265dd2164aa2df4972e25a029da72125</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned short</type>
+ <name>domain</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>a2c31e565a5f0d23d0a0a3dd3ec8f4b17</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>secondary_bus</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>ae2d9dd73ef1d32045c584a8e66d2f83f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>subordinate_bus</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>af3f3f7d76bf03e8d2afa721c2b8d6771</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_attr_u::hwloc_bridge_attr_s::@1::@2</type>
+ <name>pci</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>a5a20be20e09d811d141b6332ff864706</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>union hwloc_obj_attr_u::hwloc_bridge_attr_s::@1</type>
+ <name>downstream</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>acaf1ae02e37182bbb6966f8c4f35e499</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_obj_bridge_type_t</type>
+ <name>downstream_type</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>ac6a169b672d0e9f75756fd5665828b93</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>depth</name>
+ <anchorfile>a00224.html</anchorfile>
+ <anchor>a336c8b22893d5d734d8c9dfca4066b46</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_attr_u::hwloc_cache_attr_s</name>
+ <filename>a00212.html</filename>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>size</name>
+ <anchorfile>a00212.html</anchorfile>
+ <anchor>abe5e788943ed04302976740c829674c0</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>depth</name>
+ <anchorfile>a00212.html</anchorfile>
+ <anchor>a5c8f7f39193736c2187ed626940835d5</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>linesize</name>
+ <anchorfile>a00212.html</anchorfile>
+ <anchor>a801e8a668e28caf06c8b88e9ae5c10db</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>int</type>
+ <name>associativity</name>
+ <anchorfile>a00212.html</anchorfile>
+ <anchor>ad06525e474d1e2d1423ed71bb998592d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_obj_cache_type_t</type>
+ <name>type</name>
+ <anchorfile>a00212.html</anchorfile>
+ <anchor>ad8edc8ded2b7a70d6abbc874801930f4</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_component</name>
+ <filename>a00308.html</filename>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>abi</name>
+ <anchorfile>a00308.html</anchorfile>
+ <anchor>a3250bd6fc9713946991d805e48091b2e</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>int(*</type>
+ <name>init</name>
+ <anchorfile>a00308.html</anchorfile>
+ <anchor>aea613546886d9b8221cadba920fe3ebc</anchor>
+ <arglist>)(unsigned long flags)</arglist>
+ </member>
+ <member kind="variable">
+ <type>void(*</type>
+ <name>finalize</name>
+ <anchorfile>a00308.html</anchorfile>
+ <anchor>a4612015451a1c706e8ba19114cb8baae</anchor>
+ <arglist>)(unsigned long flags)</arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_component_type_t</type>
+ <name>type</name>
+ <anchorfile>a00308.html</anchorfile>
+ <anchor>a789208ada7e17492cfd3a5a88a6bb0ee</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned long</type>
+ <name>flags</name>
+ <anchorfile>a00308.html</anchorfile>
+ <anchor>ab8043c5b4cc0e81aabba586ccb194335</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>void *</type>
+ <name>data</name>
+ <anchorfile>a00308.html</anchorfile>
+ <anchor>a4b8cffd1d943c29fdc102b841b8598d4</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_disc_component</name>
+ <filename>a00300.html</filename>
+ <member kind="variable">
+ <type>hwloc_disc_component_type_t</type>
+ <name>type</name>
+ <anchorfile>a00300.html</anchorfile>
+ <anchor>ad070350354cbd665803fc86fe48cdb3d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>const char *</type>
+ <name>name</name>
+ <anchorfile>a00300.html</anchorfile>
+ <anchor>a4064c3b5d9213027e87caebef380a840</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>excludes</name>
+ <anchorfile>a00300.html</anchorfile>
+ <anchor>a34144f4d59bf46524e4875194652412b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_backend *(*</type>
+ <name>instantiate</name>
+ <anchorfile>a00300.html</anchorfile>
+ <anchor>ab8390b4bc16e44d5dfcbc35f38065eb7</anchor>
+ <arglist>)(struct hwloc_disc_component *component, const void *data1, const void *data2, const void *data3)</arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>priority</name>
+ <anchorfile>a00300.html</anchorfile>
+ <anchor>ae86d283c272c5ae24073a235efbf6b59</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_distances_s</name>
+ <filename>a00244.html</filename>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>relative_depth</name>
+ <anchorfile>a00244.html</anchorfile>
+ <anchor>a6fe066eaf62ee448aa05bab8e7217ff7</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>nbobjs</name>
+ <anchorfile>a00244.html</anchorfile>
+ <anchor>a4ca2af858cebbce7324ec49903d09474</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>float *</type>
+ <name>latency</name>
+ <anchorfile>a00244.html</anchorfile>
+ <anchor>a0f70f48d1bfb18e5e2008825da2967c9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>float</type>
+ <name>latency_max</name>
+ <anchorfile>a00244.html</anchorfile>
+ <anchor>aab61bd1d1ae2e121bfe793c973ec829e</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>float</type>
+ <name>latency_base</name>
+ <anchorfile>a00244.html</anchorfile>
+ <anchor>a204416418049a272bfb51602fc676342</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_attr_u::hwloc_group_attr_s</name>
+ <filename>a00216.html</filename>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>depth</name>
+ <anchorfile>a00216.html</anchorfile>
+ <anchor>ad914eac61c77481e1b7037877bcc5579</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>dont_merge</name>
+ <anchorfile>a00216.html</anchorfile>
+ <anchor>afa253d4b70f92e940c226d61f192054f</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj</name>
+ <filename>a00204.html</filename>
+ <member kind="variable">
+ <type>hwloc_obj_type_t</type>
+ <name>type</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>acc4f0803f244867e68fe0036800be5de</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>os_index</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a61a7a80a68eaccbaaa28269e678c81a9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>char *</type>
+ <name>name</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>abb709ec38f2970677e4e57d1d30be96d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_memory_s</type>
+ <name>memory</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a1dc830816716213b5f797e4052487864</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>union hwloc_obj_attr_u *</type>
+ <name>attr</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>accd40e29f71f19e88db62ea3df02adc8</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>depth</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a9d82690370275d42d652eccdea5d3ee5</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>logical_index</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a0d07fb7b8935e137c94d75a3eb492ae9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>signed</type>
+ <name>os_level</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a68766f0b1c4d61b5bad87e3b81dacfde</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj *</type>
+ <name>next_cousin</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a85a788017457129589318b6c39451acf</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj *</type>
+ <name>prev_cousin</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>ac715989f55ff5a0eb6be2969ee477ec0</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj *</type>
+ <name>parent</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>adc494f6aed939992be1c55cca5822900</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>sibling_rank</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>aaa6043eee6f55869933c1d974efd9acd</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj *</type>
+ <name>next_sibling</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a7f2343ed476fe4942e6fffd4cade1b40</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj *</type>
+ <name>prev_sibling</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a7b89e8c189876c0158a9282aaaf17f50</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>arity</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>aac3f6da35c9b57599909a44ce2b716c1</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj **</type>
+ <name>children</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a04d05403da37bfe17cd63b7c7dd07b1f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj *</type>
+ <name>first_child</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>af51d08a0a79dba517c06c5afedc8d2dc</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj *</type>
+ <name>last_child</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a84bd65634dbc55f4158b74443a9bd04f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>void *</type>
+ <name>userdata</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a76fd3ac94401cf32dfccc3a3a8de68a5</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_cpuset_t</type>
+ <name>cpuset</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a67925e0f2c47f50408fbdb9bddd0790f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_cpuset_t</type>
+ <name>complete_cpuset</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a91788a9da687beb7224cc1fd7b75208c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_cpuset_t</type>
+ <name>online_cpuset</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a8842d56c2975380f327ea401c5f53564</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_cpuset_t</type>
+ <name>allowed_cpuset</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>afa3c59a6dd3da8ffa48710780a1bfb34</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_nodeset_t</type>
+ <name>nodeset</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a08f0d0e16c619a6e653526cbee4ffea3</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_nodeset_t</type>
+ <name>complete_nodeset</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>ac38c4012127525ef74c5615c526f4c2e</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_nodeset_t</type>
+ <name>allowed_nodeset</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a19e3d0a5951a7510fc4fc4722a9bf531</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_distances_s **</type>
+ <name>distances</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a9a5dd75596edc48fe834f81988cdc0d6</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>distances_count</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a8be6f63eca4da91000c832280db927b7</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_info_s *</type>
+ <name>infos</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>ad59bcd73a10260a0e239be5c4b5888bb</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>infos_count</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a9843acc28cfbba903b63ea14b137ff70</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>int</type>
+ <name>symmetric_subtree</name>
+ <anchorfile>a00204.html</anchorfile>
+ <anchor>a0f41a1d67dc6b661906f2217563637f3</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="union">
+ <name>hwloc_obj_attr_u</name>
+ <filename>a00208.html</filename>
+ <class kind="struct">hwloc_obj_attr_u::hwloc_bridge_attr_s</class>
+ <class kind="struct">hwloc_obj_attr_u::hwloc_cache_attr_s</class>
+ <class kind="struct">hwloc_obj_attr_u::hwloc_group_attr_s</class>
+ <class kind="struct">hwloc_obj_attr_u::hwloc_osdev_attr_s</class>
+ <class kind="struct">hwloc_obj_attr_u::hwloc_pcidev_attr_s</class>
+ <member kind="variable">
+ <type>struct hwloc_obj_attr_u::hwloc_cache_attr_s</type>
+ <name>cache</name>
+ <anchorfile>a00208.html</anchorfile>
+ <anchor>ab5a8ae3bf490e6b1071fea53f7382836</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_attr_u::hwloc_group_attr_s</type>
+ <name>group</name>
+ <anchorfile>a00208.html</anchorfile>
+ <anchor>ae4ba157cc313e2cdd9a82f1c1df7aaa6</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_attr_u::hwloc_pcidev_attr_s</type>
+ <name>pcidev</name>
+ <anchorfile>a00208.html</anchorfile>
+ <anchor>a4203d713ce0f5beaa6ee0e9bdac70828</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_attr_u::hwloc_bridge_attr_s</type>
+ <name>bridge</name>
+ <anchorfile>a00208.html</anchorfile>
+ <anchor>adbdf280699dd84c7619cd8d9edc0d958</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_attr_u::hwloc_osdev_attr_s</type>
+ <name>osdev</name>
+ <anchorfile>a00208.html</anchorfile>
+ <anchor>a22904c25fe44b323bab5c9bc52660fca</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_info_s</name>
+ <filename>a00248.html</filename>
+ <member kind="variable">
+ <type>char *</type>
+ <name>name</name>
+ <anchorfile>a00248.html</anchorfile>
+ <anchor>a115dde58f40338a2d3276d59c099857d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>char *</type>
+ <name>value</name>
+ <anchorfile>a00248.html</anchorfile>
+ <anchor>a522efd7f5262a4493a73fa3476a041ce</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</name>
+ <filename>a00200.html</filename>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>size</name>
+ <anchorfile>a00200.html</anchorfile>
+ <anchor>a3f1d261766352288791512974665ce01</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>count</name>
+ <anchorfile>a00200.html</anchorfile>
+ <anchor>aa5b9fa36f1dc47ff3c345fe4dd06b260</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_memory_s</name>
+ <filename>a00196.html</filename>
+ <class kind="struct">hwloc_obj_memory_s::hwloc_obj_memory_page_type_s</class>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>total_memory</name>
+ <anchorfile>a00196.html</anchorfile>
+ <anchor>a8befd0b3f4f8b695cafed04b31f36a44</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>local_memory</name>
+ <anchorfile>a00196.html</anchorfile>
+ <anchor>aace044c7f3fd9dffe50202296bf1dc5a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>page_types_len</name>
+ <anchorfile>a00196.html</anchorfile>
+ <anchor>a208c27f4491077d7fb9ba5db8b29cb57</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_obj_memory_s::hwloc_obj_memory_page_type_s *</type>
+ <name>page_types</name>
+ <anchorfile>a00196.html</anchorfile>
+ <anchor>a865eba7b12b986d72dbe7a2cfd97c50d</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_attr_u::hwloc_osdev_attr_s</name>
+ <filename>a00240.html</filename>
+ <member kind="variable">
+ <type>hwloc_obj_osdev_type_t</type>
+ <name>type</name>
+ <anchorfile>a00240.html</anchorfile>
+ <anchor>a31e019e27e54ac6138d04be639bb96f9</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_obj_attr_u::hwloc_pcidev_attr_s</name>
+ <filename>a00220.html</filename>
+ <member kind="variable">
+ <type>unsigned short</type>
+ <name>domain</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>a8fba44988deb98613c1505a4019a34dc</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>bus</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>aae99e035e8d1387d7b8768aaa8eceb0a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>dev</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>a3d70c84a12f7e93d14c8d47bf4fd9dc5</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>func</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>a695f32df53f4ef728670bfcf31b74e0f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned short</type>
+ <name>class_id</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>aee735352d9f1686fd290fc6d6397c334</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned short</type>
+ <name>vendor_id</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>aad970ad19b62eb2d5df30e4802da4f4c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned short</type>
+ <name>device_id</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>a35b66064ab7d768caf7154e410caf0fa</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned short</type>
+ <name>subvendor_id</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>a499db3d8cc89eaba04fcaef3df1cba97</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned short</type>
+ <name>subdevice_id</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>acac741aecd7a6db64f33409427e3971f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>revision</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>a13ad54c93d08d8ac808e4de9674c5ee7</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>float</type>
+ <name>linkspeed</name>
+ <anchorfile>a00220.html</anchorfile>
+ <anchor>a59b2fce35f7cbde86c4fd305d0ccda5f</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_cpubind_support</name>
+ <filename>a00256.html</filename>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_thisproc_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a9403d51657a4d546b3ea9553a2973a27</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_thisproc_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a77a09ddd78ee3e9ff5f532a6ac74f7eb</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_proc_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>aa166223d1c2a6de7256ab2d8b675a87e</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_proc_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>aae705bc447adc163ead377362c4dfe9f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_thisthread_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a57a89a4b5f1f74fa6cfe176f1e8b0798</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_thisthread_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a80d762e532d677dff262d83cc7bb1c60</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_thread_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a46fba33e307909ce256624687799dd6d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_thread_cpubind</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a8dd4d8531ed2eebdce1507e7d104154e</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_thisproc_last_cpu_location</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>ad2d5c94b738d92b7d2ede87e4e96321d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_proc_last_cpu_location</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a2554620148b7992a5093f338f5ae254f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_thisthread_last_cpu_location</name>
+ <anchorfile>a00256.html</anchorfile>
+ <anchor>a6be1f042fdce6bf41b4ea39f6f193808</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_diff_u::hwloc_topology_diff_generic_s</name>
+ <filename>a00288.html</filename>
+ <member kind="variable">
+ <type>hwloc_topology_diff_type_t</type>
+ <name>type</name>
+ <anchorfile>a00288.html</anchorfile>
+ <anchor>a373005489fcddeba6319163e60263ae8</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>union hwloc_topology_diff_u *</type>
+ <name>next</name>
+ <anchorfile>a00288.html</anchorfile>
+ <anchor>a720aa94eb73cddfd8d6bf9fcbbfc035e</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</name>
+ <filename>a00272.html</filename>
+ <member kind="variable">
+ <type>hwloc_topology_diff_obj_attr_type_t</type>
+ <name>type</name>
+ <anchorfile>a00272.html</anchorfile>
+ <anchor>a43f8133b7c30129b002c2d295e6580fc</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</name>
+ <filename>a00292.html</filename>
+ <member kind="variable">
+ <type>hwloc_topology_diff_type_t</type>
+ <name>type</name>
+ <anchorfile>a00292.html</anchorfile>
+ <anchor>a70a118ad288bd98f18c8ce6dc52e2d10</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>union hwloc_topology_diff_u *</type>
+ <name>next</name>
+ <anchorfile>a00292.html</anchorfile>
+ <anchor>acb9170a8eb3392656d70f7f3ef3e3eed</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>obj_depth</name>
+ <anchorfile>a00292.html</anchorfile>
+ <anchor>aa28a121d9e158b1e610fb844ae1c8824</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>obj_index</name>
+ <anchorfile>a00292.html</anchorfile>
+ <anchor>adb9f4d414470b6670cde8d90759a6c1c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>union hwloc_topology_diff_obj_attr_u</type>
+ <name>diff</name>
+ <anchorfile>a00292.html</anchorfile>
+ <anchor>a91f0645f9062e892652357cd141c8ebb</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</name>
+ <filename>a00280.html</filename>
+ <member kind="variable">
+ <type>hwloc_topology_diff_obj_attr_type_t</type>
+ <name>type</name>
+ <anchorfile>a00280.html</anchorfile>
+ <anchor>a784ab5827c1bf531b86d1f02f199d04d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>char *</type>
+ <name>name</name>
+ <anchorfile>a00280.html</anchorfile>
+ <anchor>a7ef48c66ccddf34d90edb4e4314b41c6</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>char *</type>
+ <name>oldvalue</name>
+ <anchorfile>a00280.html</anchorfile>
+ <anchor>a33cc281d4417129064295a6ae7b79818</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>char *</type>
+ <name>newvalue</name>
+ <anchorfile>a00280.html</anchorfile>
+ <anchor>a75f37f4add21cece50fee2701c3b77db</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="union">
+ <name>hwloc_topology_diff_obj_attr_u</name>
+ <filename>a00268.html</filename>
+ <class kind="struct">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</class>
+ <class kind="struct">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</class>
+ <class kind="struct">hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</class>
+ <member kind="variable">
+ <type>struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s</type>
+ <name>generic</name>
+ <anchorfile>a00268.html</anchorfile>
+ <anchor>a68039c178e9961023345e0728382773b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</type>
+ <name>uint64</name>
+ <anchorfile>a00268.html</anchorfile>
+ <anchor>abb15bfa7039ca8c97cd7ddfbdf779efa</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s</type>
+ <name>string</name>
+ <anchorfile>a00268.html</anchorfile>
+ <anchor>a518a48e13168c31957589ce78820163e</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s</name>
+ <filename>a00276.html</filename>
+ <member kind="variable">
+ <type>hwloc_topology_diff_obj_attr_type_t</type>
+ <name>type</name>
+ <anchorfile>a00276.html</anchorfile>
+ <anchor>afe262b9aa558fe7bfecbd37a7a129197</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>index</name>
+ <anchorfile>a00276.html</anchorfile>
+ <anchor>adb772c3f1761ecadf496c80ae14afce3</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>oldvalue</name>
+ <anchorfile>a00276.html</anchorfile>
+ <anchor>a44c0894dce563335d347fde6595c49c9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>hwloc_uint64_t</type>
+ <name>newvalue</name>
+ <anchorfile>a00276.html</anchorfile>
+ <anchor>ae63aa59ad65aa783b730a4f213304eb4</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</name>
+ <filename>a00296.html</filename>
+ <member kind="variable">
+ <type>hwloc_topology_diff_type_t</type>
+ <name>type</name>
+ <anchorfile>a00296.html</anchorfile>
+ <anchor>a92084295a4d6faf17a95a7eea526ddbd</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>union hwloc_topology_diff_u *</type>
+ <name>next</name>
+ <anchorfile>a00296.html</anchorfile>
+ <anchor>a375afbaa043b109be689a7d9a3c7d153</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>obj_depth</name>
+ <anchorfile>a00296.html</anchorfile>
+ <anchor>a77e9eac7db8b073c9bf996f19eda1631</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned</type>
+ <name>obj_index</name>
+ <anchorfile>a00296.html</anchorfile>
+ <anchor>a6dc6b3c4adb10db74d993e37afaa0580</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="union">
+ <name>hwloc_topology_diff_u</name>
+ <filename>a00284.html</filename>
+ <class kind="struct">hwloc_topology_diff_u::hwloc_topology_diff_generic_s</class>
+ <class kind="struct">hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</class>
+ <class kind="struct">hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</class>
+ <member kind="variable">
+ <type>struct hwloc_topology_diff_u::hwloc_topology_diff_generic_s</type>
+ <name>generic</name>
+ <anchorfile>a00284.html</anchorfile>
+ <anchor>af1882d9c9d37c735a0e9b04069fab01f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s</type>
+ <name>obj_attr</name>
+ <anchorfile>a00284.html</anchorfile>
+ <anchor>a7245713f0f49e9f08fda28401a4f98fd</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s</type>
+ <name>too_complex</name>
+ <anchorfile>a00284.html</anchorfile>
+ <anchor>adaaabee4029a455119ec3695c19632d6</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_discovery_support</name>
+ <filename>a00252.html</filename>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>pu</name>
+ <anchorfile>a00252.html</anchorfile>
+ <anchor>ad7bb4ecf7a82f5a04fc632e9592ad3ab</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_membind_support</name>
+ <filename>a00260.html</filename>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_thisproc_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a36b3e388df9c6a249427cab7e3724749</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_thisproc_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a3fd51e6fa5f0dd800322301b46b08559</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_proc_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a756f44912894b176bf979a1b65f12aac</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_proc_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a9880cd2d605e316fc020167c49ca69ad</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_thisthread_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a0697af2e41f2e82b8ce71e3cc13f7eac</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_thisthread_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a63b0b2e26157b472f5717ee93cc7c535</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>set_area_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a476c06f96b65c08b287cf2369966123b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_area_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a0a84e24a06f2fa487fe8c9605c6f68b3</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>alloc_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>ae551abb27d2aa9ce008583488b845b98</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>firsttouch_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a221098c339dbfab27bd2c9f5d32f123b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>bind_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>ae7cdb1f1b5f0242a69f85b5a5538c764</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>interleave_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a3c44c6012860bbeba8a0f4c19710858d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>replicate_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>afe608fb85eb2aa9706221ccb5fc4d415</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>nexttouch_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>ab0921af6e0cd6975812a80b8e5c7435c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>migrate_membind</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>aafa7683871a6a760246f9b35209caec5</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>unsigned char</type>
+ <name>get_area_memlocation</name>
+ <anchorfile>a00260.html</anchorfile>
+ <anchor>a30173553a68e0a4dd1672d26f8e892b1</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="struct">
+ <name>hwloc_topology_support</name>
+ <filename>a00264.html</filename>
+ <member kind="variable">
+ <type>struct hwloc_topology_discovery_support *</type>
+ <name>discovery</name>
+ <anchorfile>a00264.html</anchorfile>
+ <anchor>aea3fbd7653d987d81f848636c420504d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_topology_cpubind_support *</type>
+ <name>cpubind</name>
+ <anchorfile>a00264.html</anchorfile>
+ <anchor>adef2bb91f74c3e70a2a071393caf5f56</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="variable">
+ <type>struct hwloc_topology_membind_support *</type>
+ <name>membind</name>
+ <anchorfile>a00264.html</anchorfile>
+ <anchor>ac6eb62ae8bc0a68dce679a7107a36194</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_api_version</name>
+ <title>API version</title>
+ <filename>a00149.html</filename>
+ <member kind="define">
+ <type>#define</type>
+ <name>HWLOC_API_VERSION</name>
+ <anchorfile>a00149.html</anchorfile>
+ <anchor>ga8f4dfb8eef138af55dd1a0fa802e5476</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="define">
+ <type>#define</type>
+ <name>HWLOC_COMPONENT_ABI</name>
+ <anchorfile>a00149.html</anchorfile>
+ <anchor>gaac5bc1f46f55e10ef0141a68ce70e21f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned</type>
+ <name>hwloc_get_api_version</name>
+ <anchorfile>a00149.html</anchorfile>
+ <anchor>ga9c0b50c98add1adf57ed1ce85bb5190d</anchor>
+ <arglist>(void)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_object_sets</name>
+ <title>Object Sets (hwloc_cpuset_t and hwloc_nodeset_t)</title>
+ <filename>a00150.html</filename>
+ <member kind="typedef">
+ <type>hwloc_bitmap_t</type>
+ <name>hwloc_cpuset_t</name>
+ <anchorfile>a00150.html</anchorfile>
+ <anchor>ga4bbf39b68b6f568fb92739e7c0ea7801</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>hwloc_const_bitmap_t</type>
+ <name>hwloc_const_cpuset_t</name>
+ <anchorfile>a00150.html</anchorfile>
+ <anchor>ga1f784433e9b606261f62d1134f6a3b25</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>hwloc_bitmap_t</type>
+ <name>hwloc_nodeset_t</name>
+ <anchorfile>a00150.html</anchorfile>
+ <anchor>ga37e35730fa7e775b5bb0afe893d6d508</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>hwloc_const_bitmap_t</type>
+ <name>hwloc_const_nodeset_t</name>
+ <anchorfile>a00150.html</anchorfile>
+ <anchor>ga2f5276235841ad66a79bedad16a5a10c</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_object_types</name>
+ <title>Object Types</title>
+ <filename>a00151.html</filename>
+ <member kind="typedef">
+ <type>enum hwloc_obj_cache_type_e</type>
+ <name>hwloc_obj_cache_type_t</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gab6e1e7efedae8b341f3ee14fbe53d66c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>enum hwloc_obj_bridge_type_e</type>
+ <name>hwloc_obj_bridge_type_t</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ga0a947e8c5adcc729b126bd09c01a0153</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>enum hwloc_obj_osdev_type_e</type>
+ <name>hwloc_obj_osdev_type_t</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ga90c1e82a60ba5871d07645169e636987</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_obj_type_t</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gacd37bb612667dc437d66bfb175a8dc55</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_SYSTEM</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_MACHINE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_NUMANODE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a9d917a3e5497950c6d8948b8e183db5a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_PACKAGE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55ab16ab8c0dbffc234921d86f3dfb63129</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_CACHE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_CORE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_PU</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_GROUP</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_MISC</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_BRIDGE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a6825f10895fea60aca7a6ba9fe273db0</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_PCI_DEVICE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_OS_DEVICE</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_obj_cache_type_e</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ga791c9875c8fe20f3e1e5871e0657e59b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_CACHE_UNIFIED</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga791c9875c8fe20f3e1e5871e0657e59ba3900b3b2db54941aac249e5a638a2d7a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_CACHE_DATA</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga791c9875c8fe20f3e1e5871e0657e59bacac60ecad4206f85aeb79bef1604b488</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_CACHE_INSTRUCTION</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga791c9875c8fe20f3e1e5871e0657e59ba6f98b0d422b38ba90c5f5c79a11b0658</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_obj_bridge_type_e</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ga48a4803c72574191d7ead1c62aaf9860</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_BRIDGE_HOST</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga48a4803c72574191d7ead1c62aaf9860a2c7660f3864ad2810c1e72aad285e574</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_BRIDGE_PCI</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga48a4803c72574191d7ead1c62aaf9860a8f3b4cecf3dab6073d74696d10863c60</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_obj_osdev_type_e</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ga64f5d539df299c97ae80ce53fc4b56c0</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_OSDEV_BLOCK</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga64f5d539df299c97ae80ce53fc4b56c0a689b0488c3c0d08d116751c6b9cb8871</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_OSDEV_GPU</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga64f5d539df299c97ae80ce53fc4b56c0aa3a09798ef2836abb236dc3a645ffc90</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_OSDEV_NETWORK</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga64f5d539df299c97ae80ce53fc4b56c0ab715d81155f771573c8682dffc65021b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_OSDEV_OPENFABRICS</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga64f5d539df299c97ae80ce53fc4b56c0a52157d03694fdae82dddd57ca8c973b6</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_OSDEV_DMA</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_OBJ_OSDEV_COPROC</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga64f5d539df299c97ae80ce53fc4b56c0a46f8927e1c3e137eaa86cc8f6861fb83</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_compare_types_e</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ga46323568968005137c32f6a1cd405b74</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TYPE_UNORDERED</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_compare_types</name>
+ <anchorfile>a00151.html</anchorfile>
+ <anchor>ga1820ea0dfd8e9dca28f9ea7624df5ae2</anchor>
+ <arglist>(hwloc_obj_type_t type1, hwloc_obj_type_t type2)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_objects</name>
+ <title>Object Structure and Attributes</title>
+ <filename>a00152.html</filename>
+ <class kind="struct">hwloc_obj_memory_s</class>
+ <class kind="struct">hwloc_obj</class>
+ <class kind="union">hwloc_obj_attr_u</class>
+ <class kind="struct">hwloc_distances_s</class>
+ <class kind="struct">hwloc_obj_info_s</class>
+ <member kind="typedef">
+ <type>struct hwloc_obj *</type>
+ <name>hwloc_obj_t</name>
+ <anchorfile>a00152.html</anchorfile>
+ <anchor>ga79b8ab56877ef99ac59b833203391c7d</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_creation</name>
+ <title>Topology Creation and Destruction</title>
+ <filename>a00153.html</filename>
+ <member kind="typedef">
+ <type>struct hwloc_topology *</type>
+ <name>hwloc_topology_t</name>
+ <anchorfile>a00153.html</anchorfile>
+ <anchor>ga9d1e76ee15a7dee158b786c30b6a6e38</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_init</name>
+ <anchorfile>a00153.html</anchorfile>
+ <anchor>ga03fd4a16d8b9ee1ffc32b25fd2f6bdfa</anchor>
+ <arglist>(hwloc_topology_t *topologyp)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_load</name>
+ <anchorfile>a00153.html</anchorfile>
+ <anchor>gabdf58d87ad77f6615fccdfe0535ff826</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_topology_destroy</name>
+ <anchorfile>a00153.html</anchorfile>
+ <anchor>ga9f34a640b6fd28d23699d4d084667b15</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_dup</name>
+ <anchorfile>a00153.html</anchorfile>
+ <anchor>ga62a161fc5e6f120344dc69a7bee4e587</anchor>
+ <arglist>(hwloc_topology_t *newtopology, hwloc_topology_t oldtopology)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_topology_check</name>
+ <anchorfile>a00153.html</anchorfile>
+ <anchor>gaf6746bc3a558ef1ac8348b4491d091b5</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_configuration</name>
+ <title>Topology Detection Configuration and Query</title>
+ <filename>a00154.html</filename>
+ <class kind="struct">hwloc_topology_discovery_support</class>
+ <class kind="struct">hwloc_topology_cpubind_support</class>
+ <class kind="struct">hwloc_topology_membind_support</class>
+ <class kind="struct">hwloc_topology_support</class>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_topology_flags_e</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>gada025d3ec20b4b420f8038d23d6e7bde</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_FLAG_IO_DEVICES</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ggada025d3ec20b4b420f8038d23d6e7bdea46ae25e8896278840b1800ae9ce4de41</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_FLAG_IO_BRIDGES</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ggada025d3ec20b4b420f8038d23d6e7bdea426b18c349f15d7046bb391d96fa947c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_FLAG_WHOLE_IO</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ggada025d3ec20b4b420f8038d23d6e7bdea4a41dc181649ef81c2dcd44a54e271b9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_FLAG_ICACHES</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ggada025d3ec20b4b420f8038d23d6e7bdeaae509a0bed4a7067e0116c75c661178d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ggada025d3ec20b4b420f8038d23d6e7bdea1b66bbd66e900e5c837f71defb32ad89</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_ignore_type</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>gafcf30842e8cb47b4c3dcaebecea31e17</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_ignore_type_keep_structure</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga1f987bca941d6949faf7b1554dd7bc12</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_ignore_all_keep_structure</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga7c9cf147442d65d755c664ccde3bb3ef</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_flags</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>gaaeed4df656979e5f16befea9d29b814b</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned long flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned long</type>
+ <name>hwloc_topology_get_flags</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga09318f81c1d4713be907d64748a6f93c</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_pid</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga341fc17b5867a4715570baab131f68cd</anchor>
+ <arglist>(hwloc_topology_t restrict topology, hwloc_pid_t pid)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_fsroot</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>gac0ea95d5f2ad78408bc267a0441c7c97</anchor>
+ <arglist>(hwloc_topology_t restrict topology, const char *restrict fsroot_path)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_synthetic</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga4fab186bb6181a00bcf585825fddd38d</anchor>
+ <arglist>(hwloc_topology_t restrict topology, const char *restrict description)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_xml</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga879439b7ee99407ee911b3ac64e9a25e</anchor>
+ <arglist>(hwloc_topology_t restrict topology, const char *restrict xmlpath)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_xmlbuffer</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga2745616b65595e1c1e579ecc7e461fa8</anchor>
+ <arglist>(hwloc_topology_t restrict topology, const char *restrict buffer, int size)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_custom</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>gad1f15795219e2c3ca6d44ba0db604c4f</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_set_distance_matrix</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga90ed5733946b2e9aba90d2e2c1fbfbd7</anchor>
+ <arglist>(hwloc_topology_t restrict topology, hwloc_obj_type_t type, unsigned nbobjs, unsigned *os_index, float *distances)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_is_thissystem</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga68ffdcfd9175cdf40709801092f18017</anchor>
+ <arglist>(hwloc_topology_t restrict topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>const struct hwloc_topology_support *</type>
+ <name>hwloc_topology_get_support</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>gab8c76173c4a8ce1a9a9366012b1388e6</anchor>
+ <arglist>(hwloc_topology_t restrict topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_topology_set_userdata</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga2cc7b7b155cba58dda203e54f1637b9c</anchor>
+ <arglist>(hwloc_topology_t topology, const void *userdata)</arglist>
+ </member>
+ <member kind="function">
+ <type>void *</type>
+ <name>hwloc_topology_get_userdata</name>
+ <anchorfile>a00154.html</anchorfile>
+ <anchor>ga91f992f8d6c4905b2d3c4f43e509c2a3</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_levels</name>
+ <title>Object levels, depths and types</title>
+ <filename>a00155.html</filename>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_get_type_depth_e</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>gaf4e663cf42bbe20756b849c6293ef575</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TYPE_DEPTH_UNKNOWN</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TYPE_DEPTH_MULTIPLE</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TYPE_DEPTH_BRIDGE</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ggaf4e663cf42bbe20756b849c6293ef575af93b50182973e4a718d9d4db9e253a90</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TYPE_DEPTH_PCI_DEVICE</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ggaf4e663cf42bbe20756b849c6293ef575ad8b1516e699b57ce1c8d107fbd2f674c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TYPE_DEPTH_OS_DEVICE</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ggaf4e663cf42bbe20756b849c6293ef575afe9a2131073eebbe129d4aa2928d3f46</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned</type>
+ <name>hwloc_topology_get_depth</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>gafa4f8dbc4c2e74c0da8019446353eed1</anchor>
+ <arglist>(hwloc_topology_t restrict topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_type_depth</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga8bec782e21be313750da70cf7428b374</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_get_type_or_below_depth</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga8125328e69eba709c33ea8055c12589b</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_get_type_or_above_depth</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga8a9ee573b7d2190272095d10712a7cca</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_obj_type_t</type>
+ <name>hwloc_get_depth_type</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga8cc04ad9eb03b0b74d420adf8cc11ad2</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned depth)</arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned</type>
+ <name>hwloc_get_nbobjs_by_depth</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>gab17065e3d53455973844568d9f21c72c</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned depth)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_get_nbobjs_by_type</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga789a3f65aedff644be64a18526a03065</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_root_obj</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga2d4b12fc187dfc53b35f2fa21d21044d</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_obj_t</type>
+ <name>hwloc_get_obj_by_depth</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>gabf8a98ad085460a4982cc7b74c344b71</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned depth, unsigned idx)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_obj_by_type</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga6f414dd80a2b943967a0ac92da3181a2</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_obj_by_depth</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga8cf03328ed09901a03664d9498177126</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned depth, hwloc_obj_t prev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_obj_by_type</name>
+ <anchorfile>a00155.html</anchorfile>
+ <anchor>ga759e88eaf5a230ad283e9d4c42486735</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t prev)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_object_strings</name>
+ <title>Converting between Object Types, Sets and Attributes, and Strings</title>
+ <filename>a00156.html</filename>
+ <member kind="function">
+ <type>const char *</type>
+ <name>hwloc_obj_type_string</name>
+ <anchorfile>a00156.html</anchorfile>
+ <anchor>ga5ca0bf94bbbb080d0eff17a57bd90422</anchor>
+ <arglist>(hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_obj_type_snprintf</name>
+ <anchorfile>a00156.html</anchorfile>
+ <anchor>gadb8765c260edea80c52cd06a76639ba4</anchor>
+ <arglist>(char *restrict string, size_t size, hwloc_obj_t obj, int verbose)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_obj_attr_snprintf</name>
+ <anchorfile>a00156.html</anchorfile>
+ <anchor>ga870e876931c282a1c7aee2f031912ce3</anchor>
+ <arglist>(char *restrict string, size_t size, hwloc_obj_t obj, const char *restrict separator, int verbose)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_obj_cpuset_snprintf</name>
+ <anchorfile>a00156.html</anchorfile>
+ <anchor>ga8e0472dfa655c68c0c9072e1ee3a1e03</anchor>
+ <arglist>(char *restrict str, size_t size, size_t nobj, const hwloc_obj_t *restrict objs)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_obj_type_sscanf</name>
+ <anchorfile>a00156.html</anchorfile>
+ <anchor>ga8f8452fa8e707cad59b8a73a6fa06059</anchor>
+ <arglist>(const char *string, hwloc_obj_type_t *typep, int *depthattrp, void *typeattrp, size_t typeattrsize)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_info_attr</name>
+ <title>Consulting and Adding Key-Value Info Attributes</title>
+ <filename>a00157.html</filename>
+ <member kind="function" static="yes">
+ <type>static const char *</type>
+ <name>hwloc_obj_get_info_by_name</name>
+ <anchorfile>a00157.html</anchorfile>
+ <anchor>gab358661a92bb27d8542b255cc9f6f25e</anchor>
+ <arglist>(hwloc_obj_t obj, const char *name)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_obj_add_info</name>
+ <anchorfile>a00157.html</anchorfile>
+ <anchor>ga7e90c5398a9d77df31d7d45faf0f316b</anchor>
+ <arglist>(hwloc_obj_t obj, const char *name, const char *value)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_cpubinding</name>
+ <title>CPU binding</title>
+ <filename>a00158.html</filename>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_cpubind_flags_t</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>ga217dc8d373f8958cc93c154ebce1c71c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_CPUBIND_PROCESS</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gga217dc8d373f8958cc93c154ebce1c71ca2e0dd0128dac6b03408c7dd170477fdc</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_CPUBIND_THREAD</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gga217dc8d373f8958cc93c154ebce1c71caf1b6bbad00d7b1017b918e3719f4d421</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_CPUBIND_STRICT</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gga217dc8d373f8958cc93c154ebce1c71ca679a7e0f0c7ee06b123565f90d98e7fa</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_CPUBIND_NOMEMBIND</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gga217dc8d373f8958cc93c154ebce1c71ca41ce440443cc3087caed95ab60edcad6</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_cpubind</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>ga80bc07473a8edf840cae17bd7ec21d48</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_cpubind</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gacba7ecb979baf824d5240fa2cb2a8be6</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_cpuset_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_proc_cpubind</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>ga296db8a3c6d49b51fb83d6f3e45c02a6</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_proc_cpubind</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gac82de91f788fa82dacf99c6e0d4b7158</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_thread_cpubind</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gae42c01b2addcfbf6048b9a516dd7a906</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_const_cpuset_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_thread_cpubind</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gaf13f765642b5d0d9a9813e6bb043671b</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_cpuset_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_last_cpu_location</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>gafdb374627358bf09203b5a4215b13032</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_cpuset_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_proc_last_cpu_location</name>
+ <anchorfile>a00158.html</anchorfile>
+ <anchor>ga910a05c2d47f68a3155bf176b50fa555</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_membinding</name>
+ <title>Memory binding</title>
+ <filename>a00159.html</filename>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_membind_policy_t</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gac9764f79505775d06407b40f5e4661e8</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_DEFAULT</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggac9764f79505775d06407b40f5e4661e8a18675bb80ebc1bce5b652e9de8f3998c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_FIRSTTOUCH</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggac9764f79505775d06407b40f5e4661e8a979c7aa78dd32780858f30f47a72cca0</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_BIND</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggac9764f79505775d06407b40f5e4661e8ad811fa4b2a6002c4d63695a408ffde2c</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_INTERLEAVE</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggac9764f79505775d06407b40f5e4661e8ae370075e5af016d42310f87ea5af236b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_REPLICATE</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggac9764f79505775d06407b40f5e4661e8afb37480fe5f4236eb7dd4aef26f691e9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_NEXTTOUCH</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggac9764f79505775d06407b40f5e4661e8aecdd4164d647708fbb51a00d98dbb138</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_MIXED</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggac9764f79505775d06407b40f5e4661e8a3185bd869b67817fb2bd5164bf360402</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_membind_flags_t</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gab00475fd98815bf4fb9aaf752030e7d2</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_PROCESS</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggab00475fd98815bf4fb9aaf752030e7d2a1b1b74aef138f64aff214a8cbdfe8eb4</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_THREAD</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggab00475fd98815bf4fb9aaf752030e7d2a1dc7dd5cdcd5796893a325a524555298</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_STRICT</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggab00475fd98815bf4fb9aaf752030e7d2a0335311a0ee04166df2888d52b4a42c6</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_MIGRATE</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggab00475fd98815bf4fb9aaf752030e7d2aa6e49e54f52827cb143cc869cfd748af</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_NOCPUBIND</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggab00475fd98815bf4fb9aaf752030e7d2aad6b9eaf2ee324ca58dc8f58094b9997</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_MEMBIND_BYNODESET</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ggab00475fd98815bf4fb9aaf752030e7d2a71f19fe4505f1c083dc8e6f7bdea6256</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_membind_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga5cac0bcbe770b43fc63a6b00ea4a7a9d</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_membind</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga020951efa0ce3862bd4faec295501a7f</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_membind_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga84ee275e84286d17a5853c52272a6a95</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_membind</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gae21f0a1a884929c784bebf070252aa56</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_bitmap_t set, hwloc_membind_policy_t *policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_proc_membind_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga21b042d94266a26a9c82b98c4bb30d01</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_proc_membind</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gabc91ff16f7e41047924e3a4ae6d9da7e</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_proc_membind_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gac5075b7a2bf55f48f4622351817addad</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_proc_membind</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga1730ceb18ec6ee3b7bd3d0db81f07dc8</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, hwloc_membind_policy_t *policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_area_membind_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga7f11bd709ac0cb93af613e2dd84165ad</anchor>
+ <arglist>(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_set_area_membind</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gaf881faefe20701229f07dd7dbd0125ed</anchor>
+ <arglist>(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_area_membind_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga5b674a9e043814bfd1c927fd0137fb19</anchor>
+ <arglist>(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_area_membind</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gaa87e0a6946ff145914fdf0b1c60567f8</anchor>
+ <arglist>(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, hwloc_membind_policy_t *policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_area_memlocation</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga537c7508a4e2d1db05673ec5be6e805c</anchor>
+ <arglist>(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>void *</type>
+ <name>hwloc_alloc</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga972b335a86a7d5e7b34bce2b243c41bc</anchor>
+ <arglist>(hwloc_topology_t topology, size_t len)</arglist>
+ </member>
+ <member kind="function">
+ <type>void *</type>
+ <name>hwloc_alloc_membind_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga0ff3076f7f3633637699b809bcceceb1</anchor>
+ <arglist>(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>void *</type>
+ <name>hwloc_alloc_membind</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga04736461780fadcf193af218c0122273</anchor>
+ <arglist>(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static void *</type>
+ <name>hwloc_alloc_membind_policy_nodeset</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga7d473e80f11d774421688e36e9926136</anchor>
+ <arglist>(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static void *</type>
+ <name>hwloc_alloc_membind_policy</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>gab1b77b8408bacaf03c7e8878f7577922</anchor>
+ <arglist>(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_free</name>
+ <anchorfile>a00159.html</anchorfile>
+ <anchor>ga32dbd4f54e9e4a7179f2dde37ffe6ad7</anchor>
+ <arglist>(hwloc_topology_t topology, void *addr, size_t len)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_tinker</name>
+ <title>Modifying a loaded Topology</title>
+ <filename>a00160.html</filename>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_restrict_flags_e</name>
+ <anchorfile>a00160.html</anchorfile>
+ <anchor>ga9d80f08eb25b7ac22f1b998dc8bf521f</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES</name>
+ <anchorfile>a00160.html</anchorfile>
+ <anchor>gga9d80f08eb25b7ac22f1b998dc8bf521fa4d18407f5520793b50b9e892f5bb55d1</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_RESTRICT_FLAG_ADAPT_MISC</name>
+ <anchorfile>a00160.html</anchorfile>
+ <anchor>gga9d80f08eb25b7ac22f1b998dc8bf521fa699969227a09bbc1a7de51dc9fb7be4b</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_RESTRICT_FLAG_ADAPT_IO</name>
+ <anchorfile>a00160.html</anchorfile>
+ <anchor>gga9d80f08eb25b7ac22f1b998dc8bf521faa95d6985e36ec1e55f68b210297a85cb</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_obj_t</type>
+ <name>hwloc_topology_insert_misc_object_by_cpuset</name>
+ <anchorfile>a00160.html</anchorfile>
+ <anchor>ga77c753751f3b90fac14117523fe604df</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, const char *name)</arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_obj_t</type>
+ <name>hwloc_topology_insert_misc_object_by_parent</name>
+ <anchorfile>a00160.html</anchorfile>
+ <anchor>ga1472cdf93327dfff4b5b2aedfde29cf3</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t parent, const char *name)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_restrict</name>
+ <anchorfile>a00160.html</anchorfile>
+ <anchor>gaffdb5403e5178b0d29852dd3319de3fc</anchor>
+ <arglist>(hwloc_topology_t restrict topology, hwloc_const_cpuset_t cpuset, unsigned long flags)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_custom</name>
+ <title>Building Custom Topologies</title>
+ <filename>a00161.html</filename>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_custom_insert_topology</name>
+ <anchorfile>a00161.html</anchorfile>
+ <anchor>ga58220f648a972140865d11940bccec81</anchor>
+ <arglist>(hwloc_topology_t newtopology, hwloc_obj_t newparent, hwloc_topology_t oldtopology, hwloc_obj_t oldroot)</arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_obj_t</type>
+ <name>hwloc_custom_insert_group_object_by_parent</name>
+ <anchorfile>a00161.html</anchorfile>
+ <anchor>ga60c404d4f0544e1070f549af8be6bd73</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t parent, int groupdepth)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_xmlexport</name>
+ <title>Exporting Topologies to XML</title>
+ <filename>a00162.html</filename>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_export_xml</name>
+ <anchorfile>a00162.html</anchorfile>
+ <anchor>ga2bf166eda4d3605362ac86f77684002a</anchor>
+ <arglist>(hwloc_topology_t topology, const char *xmlpath)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_export_xmlbuffer</name>
+ <anchorfile>a00162.html</anchorfile>
+ <anchor>ga7cbf8a2d8579d192911007650366fc8a</anchor>
+ <arglist>(hwloc_topology_t topology, char **xmlbuffer, int *buflen)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_free_xmlbuffer</name>
+ <anchorfile>a00162.html</anchorfile>
+ <anchor>ga293e4a6489f15fd16ad22a5734561cf1</anchor>
+ <arglist>(hwloc_topology_t topology, char *xmlbuffer)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_topology_set_userdata_export_callback</name>
+ <anchorfile>a00162.html</anchorfile>
+ <anchor>ga9d6ff0f7a8dd45be9aa8575ef31978cc</anchor>
+ <arglist>(hwloc_topology_t topology, void(*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj))</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_export_obj_userdata</name>
+ <anchorfile>a00162.html</anchorfile>
+ <anchor>gaa541bdd628416dbbe97d0df69d3de958</anchor>
+ <arglist>(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_export_obj_userdata_base64</name>
+ <anchorfile>a00162.html</anchorfile>
+ <anchor>ga1b7358137cec27bd073f58a606ecbaba</anchor>
+ <arglist>(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_topology_set_userdata_import_callback</name>
+ <anchorfile>a00162.html</anchorfile>
+ <anchor>ga5ac6917ea7289955fb1ffda4353af9b0</anchor>
+ <arglist>(hwloc_topology_t topology, void(*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length))</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_syntheticexport</name>
+ <title>Exporting Topologies to Synthetic</title>
+ <filename>a00163.html</filename>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_topology_export_synthetic_flags_e</name>
+ <anchorfile>a00163.html</anchorfile>
+ <anchor>ga7ac6f97cc40bd50c40285084f869ba63</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES</name>
+ <anchorfile>a00163.html</anchorfile>
+ <anchor>gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS</name>
+ <anchorfile>a00163.html</anchorfile>
+ <anchor>gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_export_synthetic</name>
+ <anchorfile>a00163.html</anchorfile>
+ <anchor>ga24b7864a1c588309c4749f621f03b4c7</anchor>
+ <arglist>(hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_find_inside</name>
+ <title>Finding Objects inside a CPU set</title>
+ <filename>a00164.html</filename>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_first_largest_obj_inside_cpuset</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga547325a4193dbc215d07c23097519d79</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_get_largest_objs_inside_cpuset</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga34ca563fa3a6a4e05268f36a87668511</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t *restrict objs, int max)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_obj_inside_cpuset_by_depth</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga468b8bef96f9677d6fe04a0d81044c85</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_obj_inside_cpuset_by_type</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>gafe859176cf9233f215fea0e87cef47e7</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_obj_inside_cpuset_by_depth</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga9442c310da87de6d09d3a4b8399ec14f</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, unsigned idx)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_obj_inside_cpuset_by_type</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga2edf924e5a0cca9cb22f65cc77c6ddb5</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, unsigned idx)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static unsigned</type>
+ <name>hwloc_get_nbobjs_inside_cpuset_by_depth</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga8874c24e73ba2b04c76ec8b9e54f49f8</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_get_nbobjs_inside_cpuset_by_type</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga133c40415de008518608f8bff52a5ab9</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_get_obj_index_inside_cpuset</name>
+ <anchorfile>a00164.html</anchorfile>
+ <anchor>ga4c3a20d61e9beb06c667b21688c772c5</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t obj)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_find_covering</name>
+ <title>Finding Objects covering at least CPU set</title>
+ <filename>a00165.html</filename>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_child_covering_cpuset</name>
+ <anchorfile>a00165.html</anchorfile>
+ <anchor>ga0e66aa2dc6b2527cfd10723af646c9d7</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t parent)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_obj_covering_cpuset</name>
+ <anchorfile>a00165.html</anchorfile>
+ <anchor>ga41acdcdbb8b95d70ecf6c572a3f67dca</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_obj_covering_cpuset_by_depth</name>
+ <anchorfile>a00165.html</anchorfile>
+ <anchor>gaeea0d93522c85c3ef0acfbb00733a69c</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_obj_covering_cpuset_by_type</name>
+ <anchorfile>a00165.html</anchorfile>
+ <anchor>ga91cfae08b092e7966002e15d1e987213</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_ancestors</name>
+ <title>Looking at Ancestor and Child Objects</title>
+ <filename>a00166.html</filename>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_ancestor_obj_by_depth</name>
+ <anchorfile>a00166.html</anchorfile>
+ <anchor>gaa367c98dea402386c040a47a2f414f86</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned depth, hwloc_obj_t obj)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_ancestor_obj_by_type</name>
+ <anchorfile>a00166.html</anchorfile>
+ <anchor>ga70f0c7583291da707c15ae4daa850f41</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t obj)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_common_ancestor_obj</name>
+ <anchorfile>a00166.html</anchorfile>
+ <anchor>gab1fa883021928b5c476911c4102e9be3</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t obj1, hwloc_obj_t obj2)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_obj_is_in_subtree</name>
+ <anchorfile>a00166.html</anchorfile>
+ <anchor>ga408cf74f5bf9ed497911a320c7f8cc56</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t obj, hwloc_obj_t subtree_root)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_child</name>
+ <anchorfile>a00166.html</anchorfile>
+ <anchor>ga12d8565a3436c565e791ed02a0353621</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t parent, hwloc_obj_t prev)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_find_cache</name>
+ <title>Looking at Cache Objects</title>
+ <filename>a00167.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_get_cache_type_depth</name>
+ <anchorfile>a00167.html</anchorfile>
+ <anchor>gad108a09ce400222fe45545257d575489</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned cachelevel, hwloc_obj_cache_type_t cachetype)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_cache_covering_cpuset</name>
+ <anchorfile>a00167.html</anchorfile>
+ <anchor>gac4cd480a5deaa4ada047fdd11ae4c070</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_shared_cache_covering_obj</name>
+ <anchorfile>a00167.html</anchorfile>
+ <anchor>ga36f48c32837c7a70b424706e213dcd71</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t obj)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_find_misc</name>
+ <title>Finding objects, miscellaneous helpers</title>
+ <filename>a00168.html</filename>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_pu_obj_by_os_index</name>
+ <anchorfile>a00168.html</anchorfile>
+ <anchor>ga751c238a4931db5cc0ca3181b7dd7479</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned os_index)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_numanode_obj_by_os_index</name>
+ <anchorfile>a00168.html</anchorfile>
+ <anchor>gab89d9ed9edfaa3dd526fb6ee1a1618ea</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned os_index)</arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned</type>
+ <name>hwloc_get_closest_objs</name>
+ <anchorfile>a00168.html</anchorfile>
+ <anchor>ga2cd22a34360643f7f5bad09576dec205</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t src, hwloc_obj_t *restrict objs, unsigned max)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_obj_below_by_type</name>
+ <anchorfile>a00168.html</anchorfile>
+ <anchor>ga7a0c1046851f7a88bd52f5a1d4ba0a97</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type1, unsigned idx1, hwloc_obj_type_t type2, unsigned idx2)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_obj_below_array_by_type</name>
+ <anchorfile>a00168.html</anchorfile>
+ <anchor>gacb51295ff3fbd3a96f990f20c6492b1d</anchor>
+ <arglist>(hwloc_topology_t topology, int nr, hwloc_obj_type_t *typev, unsigned *idxv)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_distribute</name>
+ <title>Distributing items over a topology</title>
+ <filename>a00169.html</filename>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_distrib_flags_e</name>
+ <anchorfile>a00169.html</anchorfile>
+ <anchor>ga8b835295a52b6768a5e6c8abb1f9c54d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_DISTRIB_FLAG_REVERSE</name>
+ <anchorfile>a00169.html</anchorfile>
+ <anchor>gga8b835295a52b6768a5e6c8abb1f9c54da2ca08404bfbebe9ed5f34c3d7635425a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_distrib</name>
+ <anchorfile>a00169.html</anchorfile>
+ <anchor>ga2e3db06f766509ae2004ee4c8bbf5204</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t *roots, unsigned n_roots, hwloc_cpuset_t *set, unsigned n, unsigned until, unsigned long flags)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_topology_sets</name>
+ <title>CPU and node sets of entire topologies</title>
+ <filename>a00170.html</filename>
+ <member kind="function" static="yes">
+ <type>static hwloc_const_cpuset_t</type>
+ <name>hwloc_topology_get_complete_cpuset</name>
+ <anchorfile>a00170.html</anchorfile>
+ <anchor>ga69fbad44c685e46d80ecf51a714ba9ce</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_const_cpuset_t</type>
+ <name>hwloc_topology_get_topology_cpuset</name>
+ <anchorfile>a00170.html</anchorfile>
+ <anchor>ga5c3ddcb2d19bc0b58042c9fc974f0fa5</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_const_cpuset_t</type>
+ <name>hwloc_topology_get_online_cpuset</name>
+ <anchorfile>a00170.html</anchorfile>
+ <anchor>gacec35bb7656c1944c514044ca4ce9c6f</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_const_cpuset_t</type>
+ <name>hwloc_topology_get_allowed_cpuset</name>
+ <anchorfile>a00170.html</anchorfile>
+ <anchor>ga8cb598b3bce8d67cbdfc1f29caad28f6</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_const_nodeset_t</type>
+ <name>hwloc_topology_get_complete_nodeset</name>
+ <anchorfile>a00170.html</anchorfile>
+ <anchor>ga22002d6fc14a25a3947c42cba0a70134</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_const_nodeset_t</type>
+ <name>hwloc_topology_get_topology_nodeset</name>
+ <anchorfile>a00170.html</anchorfile>
+ <anchor>ga2f1cb5bc87dabb252b691c5c15555d21</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_const_nodeset_t</type>
+ <name>hwloc_topology_get_allowed_nodeset</name>
+ <anchorfile>a00170.html</anchorfile>
+ <anchor>ga706182498ac92528e274e9b8d944273d</anchor>
+ <arglist>(hwloc_topology_t topology)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_helper_nodeset_convert</name>
+ <title>Converting between CPU sets and node sets</title>
+ <filename>a00171.html</filename>
+ <member kind="function" static="yes">
+ <type>static void</type>
+ <name>hwloc_cpuset_to_nodeset</name>
+ <anchorfile>a00171.html</anchorfile>
+ <anchor>ga8fbd641f284673a3e884e8e556044eba</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static void</type>
+ <name>hwloc_cpuset_to_nodeset_strict</name>
+ <anchorfile>a00171.html</anchorfile>
+ <anchor>ga014490779e7012ffec2b5ccee020c0ae</anchor>
+ <arglist>(struct hwloc_topology *topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static void</type>
+ <name>hwloc_cpuset_from_nodeset</name>
+ <anchorfile>a00171.html</anchorfile>
+ <anchor>ga2ed57313ce5bf85f3ac156932ecf639d</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static void</type>
+ <name>hwloc_cpuset_from_nodeset_strict</name>
+ <anchorfile>a00171.html</anchorfile>
+ <anchor>gacde800e58b8cdb746706b371ca4b97e0</anchor>
+ <arglist>(struct hwloc_topology *topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_distances</name>
+ <title>Manipulating Distances</title>
+ <filename>a00172.html</filename>
+ <member kind="function" static="yes">
+ <type>static const struct hwloc_distances_s *</type>
+ <name>hwloc_get_whole_distance_matrix_by_depth</name>
+ <anchorfile>a00172.html</anchorfile>
+ <anchor>ga07219dc0fd6e4553a658eaa73f038c42</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned depth)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static const struct hwloc_distances_s *</type>
+ <name>hwloc_get_whole_distance_matrix_by_type</name>
+ <anchorfile>a00172.html</anchorfile>
+ <anchor>ga64529254be72b3c4343b25926c84b12f</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_type_t type)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static const struct hwloc_distances_s *</type>
+ <name>hwloc_get_distance_matrix_covering_obj_by_depth</name>
+ <anchorfile>a00172.html</anchorfile>
+ <anchor>ga2d159b21a49964cc629dde03cbf05702</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t obj, unsigned depth, unsigned *firstp)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_get_latency</name>
+ <anchorfile>a00172.html</anchorfile>
+ <anchor>ga79ed880a55f9d03b4ae58ef5116812d7</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t obj1, hwloc_obj_t obj2, float *latency, float *reverse_latency)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_advanced_io</name>
+ <title>Finding I/O objects</title>
+ <filename>a00173.html</filename>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_non_io_ancestor_obj</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>gaf139bb61375178e90cc3f1835b452ab6</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t ioobj)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_pcidev</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>ga66470dabce9db19a57c5940a909d0baa</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t prev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_pcidev_by_busid</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>gacdbaf0db98872e224b7883a84bfb0455</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_pcidev_by_busidstring</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>ga23a978469353134b3104b846fe2efceb</anchor>
+ <arglist>(hwloc_topology_t topology, const char *busid)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_osdev</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>ga8b4584c8949e2c5f1c97ba7fe92b8145</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t prev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_next_bridge</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>ga9dba22a3f4f701f2a46780ba9a0bbbe7</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t prev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_bridge_covers_pcibus</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>ga0d92a9462a3d317f29ecb4442a307fb1</anchor>
+ <arglist>(hwloc_obj_t bridge, unsigned domain, unsigned bus)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_get_hostbridge_by_pcibus</name>
+ <anchorfile>a00173.html</anchorfile>
+ <anchor>ga06442aedfd6414798ed66a68e4e90e44</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned domain, unsigned bus)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_bitmap</name>
+ <title>The bitmap API</title>
+ <filename>a00174.html</filename>
+ <member kind="define">
+ <type>#define</type>
+ <name>hwloc_bitmap_foreach_begin</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga3f6861045a8029ade373510ffa727d2a</anchor>
+ <arglist>(id, bitmap)</arglist>
+ </member>
+ <member kind="define">
+ <type>#define</type>
+ <name>hwloc_bitmap_foreach_end</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gafcf3246db406218d4e155735b3fa6528</anchor>
+ <arglist>()</arglist>
+ </member>
+ <member kind="typedef">
+ <type>struct hwloc_bitmap_s *</type>
+ <name>hwloc_bitmap_t</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaa3c2bf4c776d603dcebbb61b0c923d84</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>const struct hwloc_bitmap_s *</type>
+ <name>hwloc_const_bitmap_t</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gae991a108af01d408be2776c5b2c467b2</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_bitmap_t</type>
+ <name>hwloc_bitmap_alloc</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gadece3d1eb5199fc2fb99bc7dcf1ccc05</anchor>
+ <arglist>(void)</arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_bitmap_t</type>
+ <name>hwloc_bitmap_alloc_full</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga02853b4a224970587b9d7a0e20d857c0</anchor>
+ <arglist>(void)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_free</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga156130d85b3a0674d6e0e6770fe68fbe</anchor>
+ <arglist>(hwloc_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>hwloc_bitmap_t</type>
+ <name>hwloc_bitmap_dup</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gae679434c1a5f41d3560a8a7e2c1b0dee</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_copy</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga036068a22d1aa5cb9ff1df348b525ff3</anchor>
+ <arglist>(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_snprintf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga9511644657030a021dce9941e3cda583</anchor>
+ <arglist>(char *restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_asprintf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga0fece972134fdecf2da9bc7a11dd827e</anchor>
+ <arglist>(char **strp, hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_sscanf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga064a85c643a364b60acbfa0f3663fc18</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, const char *restrict string)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_list_snprintf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga3d06e6447edeb61e56a9ad83f31f0a37</anchor>
+ <arglist>(char *restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_list_asprintf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga39c0f1b02053de66d205c9f8260b3665</anchor>
+ <arglist>(char **strp, hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_list_sscanf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaf9314311d482c621e17c6a53a9fe993e</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, const char *restrict string)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_taskset_snprintf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga5beb68a987fe48e5c5edef06ab260e14</anchor>
+ <arglist>(char *restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_taskset_asprintf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga391312513f17c985d871f18367c59512</anchor>
+ <arglist>(char **strp, hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_taskset_sscanf</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga4f23db5041240e03e348752f8bd6ec2d</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, const char *restrict string)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_zero</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaa97c5217613c8cae9862287170ea2132</anchor>
+ <arglist>(hwloc_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_fill</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga07b2de8786b3cdb22f21d9dd42588275</anchor>
+ <arglist>(hwloc_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_only</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga037032ba6aaf49c2e6836e2dbb7855c4</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned id)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_allbut</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga3b944660dcfcb8d655883742b3ea86a7</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned id)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_from_ulong</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaba53aebd49962acea4e3e0ff160172e3</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned long mask)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_from_ith_ulong</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga6066e095e6f23302f0a1ca7284d0b651</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned i, unsigned long mask)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_set</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga55480e96ab47941bfebb9aed676526a2</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned id)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_set_range</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga7a1d8530b282397f56b0d82b17e6d13d</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned begin, int end)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_set_ith_ulong</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gab16b6f6383b51f9c314abe15478ff6ff</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned i, unsigned long mask)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_clr</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gabddf36d47882c0a4f1e2b3c76cac877c</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned id)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_clr_range</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga207ae23381d7b37fb97fd1f906c9c5ba</anchor>
+ <arglist>(hwloc_bitmap_t bitmap, unsigned begin, int end)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_singlify</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga36d802130aa5d96bc1b5a90d2f0f3765</anchor>
+ <arglist>(hwloc_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned long</type>
+ <name>hwloc_bitmap_to_ulong</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gab6a6bae22a33ec6adfc169a953c13e6c</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned long</type>
+ <name>hwloc_bitmap_to_ith_ulong</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gac92e6404f648d6b99d2c626b05b2ffa4</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap, unsigned i)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_isset</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga11340dd487f110bb84f0a6e4ae90bd06</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap, unsigned id)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_iszero</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga5b64be28f5a7176ed8ad0d6a90bdf108</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_isfull</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga5fdcb8c19c336511c37076d649e74af4</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_first</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga3ec1ced43afadf8c0a7197320bc016ed</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_next</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaab7240b4b644693b775dad17b44ffd68</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap, int prev)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_last</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga3d9b08b060a59bbab5a4ea6d0a1ed7a6</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_weight</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga0200466842c0e1f5da75e84dde460b10</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_or</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga1281994d6cc3b5079224190ca820ad93</anchor>
+ <arglist>(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_and</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga4a3e12ab9e20cfec66a3dc2db16806be</anchor>
+ <arglist>(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_andnot</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga091e9039ce7b6fe927260cd1b08d25c4</anchor>
+ <arglist>(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_xor</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaf462ead487d1891e37f4443a397d3c42</anchor>
+ <arglist>(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_bitmap_not</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga8cd2c26d71510138b22a12db41419742</anchor>
+ <arglist>(hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_intersects</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaefa070f9232857ba5a57297ea9a08ea2</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_isincluded</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga0526e03db81956fb02acc8260b66d6a4</anchor>
+ <arglist>(hwloc_const_bitmap_t sub_bitmap, hwloc_const_bitmap_t super_bitmap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_isequal</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga32376b1405e57472b73c3aa53bb39663</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_compare_first</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>gaa39cda1510ab721b5c012c76ead72365</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_bitmap_compare</name>
+ <anchorfile>a00174.html</anchorfile>
+ <anchor>ga14cdbc0ef0a705e84999bd48a2e649f3</anchor>
+ <arglist>(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_linux</name>
+ <title>Linux-specific helpers</title>
+ <filename>a00175.html</filename>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_linux_parse_cpumap_file</name>
+ <anchorfile>a00175.html</anchorfile>
+ <anchor>gaa5a608236c3c0757b0b79818f1d429fb</anchor>
+ <arglist>(FILE *file, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_linux_set_tid_cpubind</name>
+ <anchorfile>a00175.html</anchorfile>
+ <anchor>ga630e699c56b5f3d2e534b475944c216e</anchor>
+ <arglist>(hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_linux_get_tid_cpubind</name>
+ <anchorfile>a00175.html</anchorfile>
+ <anchor>gaddcb985cb56337a4d6693cee72e7bf94</anchor>
+ <arglist>(hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_linux_get_tid_last_cpu_location</name>
+ <anchorfile>a00175.html</anchorfile>
+ <anchor>gacc7945c2d06c6db1e58f8fd953009134</anchor>
+ <arglist>(hwloc_topology_t topology, pid_t tid, hwloc_bitmap_t set)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_linux_libnuma_ulongs</name>
+ <title>Interoperability with Linux libnuma unsigned long masks</title>
+ <filename>a00176.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cpuset_to_linux_libnuma_ulongs</name>
+ <anchorfile>a00176.html</anchorfile>
+ <anchor>gae577962390f84b0b12f503314ab0f972</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, unsigned long *mask, unsigned long *maxnode)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_nodeset_to_linux_libnuma_ulongs</name>
+ <anchorfile>a00176.html</anchorfile>
+ <anchor>ga585ccf818d2f217f4e53f9c6506c3128</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, unsigned long *mask, unsigned long *maxnode)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cpuset_from_linux_libnuma_ulongs</name>
+ <anchorfile>a00176.html</anchorfile>
+ <anchor>ga0e9d051e068940f722f6fdc61814149d</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_cpuset_t cpuset, const unsigned long *mask, unsigned long maxnode)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_nodeset_from_linux_libnuma_ulongs</name>
+ <anchorfile>a00176.html</anchorfile>
+ <anchor>gad8491c672eb2594cc5e7b0a026867192</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_nodeset_t nodeset, const unsigned long *mask, unsigned long maxnode)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_linux_libnuma_bitmask</name>
+ <title>Interoperability with Linux libnuma bitmask</title>
+ <filename>a00177.html</filename>
+ <member kind="function" static="yes">
+ <type>static struct bitmask *</type>
+ <name>hwloc_cpuset_to_linux_libnuma_bitmask</name>
+ <anchorfile>a00177.html</anchorfile>
+ <anchor>gad8769b4544c0aeef154fc8223144e343</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static struct bitmask *</type>
+ <name>hwloc_nodeset_to_linux_libnuma_bitmask</name>
+ <anchorfile>a00177.html</anchorfile>
+ <anchor>gadfaa14c1bec76965ac2e05f0c3f3473b</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cpuset_from_linux_libnuma_bitmask</name>
+ <anchorfile>a00177.html</anchorfile>
+ <anchor>ga37c8421110b1842414809019098794ef</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_cpuset_t cpuset, const struct bitmask *bitmask)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_nodeset_from_linux_libnuma_bitmask</name>
+ <anchorfile>a00177.html</anchorfile>
+ <anchor>gaaca6bff3086aad5bdbd2f4c5f0ad14cc</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_nodeset_t nodeset, const struct bitmask *bitmask)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_glibc_sched</name>
+ <title>Interoperability with glibc sched affinity</title>
+ <filename>a00178.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cpuset_to_glibc_sched_affinity</name>
+ <anchorfile>a00178.html</anchorfile>
+ <anchor>ga88699a0c86c66a9b7baa3468cd9d24c3</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_const_cpuset_t hwlocset, cpu_set_t *schedset, size_t schedsetsize)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cpuset_from_glibc_sched_affinity</name>
+ <anchorfile>a00178.html</anchorfile>
+ <anchor>ga8ec807ec17de57fa77aa5cfd6c8e4bfb</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_cpuset_t hwlocset, const cpu_set_t *schedset, size_t schedsetsize)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_opencl</name>
+ <title>Interoperability with OpenCL</title>
+ <filename>a00179.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_opencl_get_device_cpuset</name>
+ <anchorfile>a00179.html</anchorfile>
+ <anchor>gacc32737d4648d16b0d292438f210ec90</anchor>
+ <arglist>(hwloc_topology_t topology, cl_device_id device, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_opencl_get_device_osdev_by_index</name>
+ <anchorfile>a00179.html</anchorfile>
+ <anchor>gae39352d124cb330eb37b84b418ed6cc5</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned platform_index, unsigned device_index)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_opencl_get_device_osdev</name>
+ <anchorfile>a00179.html</anchorfile>
+ <anchor>gadabfa6516aa12e5d8f79b9b4dd9f3cf8</anchor>
+ <arglist>(hwloc_topology_t topology, cl_device_id device)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_cuda</name>
+ <title>Interoperability with the CUDA Driver API</title>
+ <filename>a00180.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cuda_get_device_pci_ids</name>
+ <anchorfile>a00180.html</anchorfile>
+ <anchor>ga1084285e8ff8b7df91c28917637481c6</anchor>
+ <arglist>(hwloc_topology_t topology, CUdevice cudevice, int *domain, int *bus, int *dev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cuda_get_device_cpuset</name>
+ <anchorfile>a00180.html</anchorfile>
+ <anchor>gaec41c6b4dc3361156beb7dea2a74f5a3</anchor>
+ <arglist>(hwloc_topology_t topology, CUdevice cudevice, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_cuda_get_device_pcidev</name>
+ <anchorfile>a00180.html</anchorfile>
+ <anchor>ga11fed607fa404e29e8da010f3ec128e4</anchor>
+ <arglist>(hwloc_topology_t topology, CUdevice cudevice)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_cuda_get_device_osdev</name>
+ <anchorfile>a00180.html</anchorfile>
+ <anchor>ga252cb72175f1a2d682f883a0add80a66</anchor>
+ <arglist>(hwloc_topology_t topology, CUdevice cudevice)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_cuda_get_device_osdev_by_index</name>
+ <anchorfile>a00180.html</anchorfile>
+ <anchor>ga12ee892994ed037e8f64bbffda02cf2e</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned idx)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_cudart</name>
+ <title>Interoperability with the CUDA Runtime API</title>
+ <filename>a00181.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cudart_get_device_pci_ids</name>
+ <anchorfile>a00181.html</anchorfile>
+ <anchor>gad8b701d9a34923e34bd58defd4c1e704</anchor>
+ <arglist>(hwloc_topology_t topology, int idx, int *domain, int *bus, int *dev)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_cudart_get_device_cpuset</name>
+ <anchorfile>a00181.html</anchorfile>
+ <anchor>ga187ca00c6e12800a25151ce331620980</anchor>
+ <arglist>(hwloc_topology_t topology, int idx, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_cudart_get_device_pcidev</name>
+ <anchorfile>a00181.html</anchorfile>
+ <anchor>gaeda4e6efbb36b518b2c286434ad23bb2</anchor>
+ <arglist>(hwloc_topology_t topology, int idx)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_cudart_get_device_osdev_by_index</name>
+ <anchorfile>a00181.html</anchorfile>
+ <anchor>gac0f3eeaf7712919f298097b1a21307b0</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned idx)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_nvml</name>
+ <title>Interoperability with the NVIDIA Management Library</title>
+ <filename>a00182.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_nvml_get_device_cpuset</name>
+ <anchorfile>a00182.html</anchorfile>
+ <anchor>ga26cf0036d09ec4d7cb692380fac9659d</anchor>
+ <arglist>(hwloc_topology_t topology, nvmlDevice_t device, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_nvml_get_device_osdev_by_index</name>
+ <anchorfile>a00182.html</anchorfile>
+ <anchor>gacd50fd0e2766ee05bc13234b46714756</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned idx)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_nvml_get_device_osdev</name>
+ <anchorfile>a00182.html</anchorfile>
+ <anchor>gaf176159b5760a191871eff23f5a69ee9</anchor>
+ <arglist>(hwloc_topology_t topology, nvmlDevice_t device)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_gl</name>
+ <title>Interoperability with OpenGL displays</title>
+ <filename>a00183.html</filename>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_gl_get_display_osdev_by_port_device</name>
+ <anchorfile>a00183.html</anchorfile>
+ <anchor>ga4d66a77e4fe4051d6e5b772c1b8fcec5</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned port, unsigned device)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_gl_get_display_osdev_by_name</name>
+ <anchorfile>a00183.html</anchorfile>
+ <anchor>ga2d36ef441d1dfddf49cfb5c01bd58d8e</anchor>
+ <arglist>(hwloc_topology_t topology, const char *name)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_gl_get_display_by_osdev</name>
+ <anchorfile>a00183.html</anchorfile>
+ <anchor>ga936665ab5f0d29a081c4b78d11f4ad07</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_obj_t osdev, unsigned *port, unsigned *device)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_intel_mic</name>
+ <title>Interoperability with Intel Xeon Phi (MIC)</title>
+ <filename>a00184.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_intel_mic_get_device_cpuset</name>
+ <anchorfile>a00184.html</anchorfile>
+ <anchor>ga91bafa51abe81527f72437e24ad5944e</anchor>
+ <arglist>(hwloc_topology_t topology, int idx, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_intel_mic_get_device_osdev_by_index</name>
+ <anchorfile>a00184.html</anchorfile>
+ <anchor>gabce0465e853de74be84cafcb96dd48ab</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned idx)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_openfabrics</name>
+ <title>Interoperability with OpenFabrics</title>
+ <filename>a00185.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_ibv_get_device_cpuset</name>
+ <anchorfile>a00185.html</anchorfile>
+ <anchor>ga3ea0d838c1e7f1671b35687aae2da6ae</anchor>
+ <arglist>(hwloc_topology_t topology, struct ibv_device *ibdev, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_ibv_get_device_osdev_by_name</name>
+ <anchorfile>a00185.html</anchorfile>
+ <anchor>ga31d794567f4420bbdc8baa7bf8bf6138</anchor>
+ <arglist>(hwloc_topology_t topology, const char *ibname)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static hwloc_obj_t</type>
+ <name>hwloc_ibv_get_device_osdev</name>
+ <anchorfile>a00185.html</anchorfile>
+ <anchor>ga7324cdfd5db6ed2669c051ef7e1b64e1</anchor>
+ <arglist>(hwloc_topology_t topology, struct ibv_device *ibdev)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_myriexpress</name>
+ <title>Interoperability with Myrinet Express</title>
+ <filename>a00186.html</filename>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_mx_board_get_device_cpuset</name>
+ <anchorfile>a00186.html</anchorfile>
+ <anchor>ga868dfb8232333858e1e159c62ff9b682</anchor>
+ <arglist>(hwloc_topology_t topology, unsigned id, hwloc_cpuset_t set)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_mx_endpoint_get_device_cpuset</name>
+ <anchorfile>a00186.html</anchorfile>
+ <anchor>ga1d01f76cdd4a408ad01f105deeef3bba</anchor>
+ <arglist>(hwloc_topology_t topology, mx_endpoint_t endpoint, hwloc_cpuset_t set)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_diff</name>
+ <title>Topology differences</title>
+ <filename>a00187.html</filename>
+ <class kind="union">hwloc_topology_diff_obj_attr_u</class>
+ <class kind="union">hwloc_topology_diff_u</class>
+ <member kind="typedef">
+ <type>enum hwloc_topology_diff_obj_attr_type_e</type>
+ <name>hwloc_topology_diff_obj_attr_type_t</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga5f2dd099de2cacdc0d0d4858154b971a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>enum hwloc_topology_diff_type_e</type>
+ <name>hwloc_topology_diff_type_t</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga4b86adb00c8b2d09ebc4ef8f3bfd92b2</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="typedef">
+ <type>union hwloc_topology_diff_u *</type>
+ <name>hwloc_topology_diff_t</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga2cf1b17332fe5d95f2198f6340cfd288</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_topology_diff_obj_attr_type_e</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga86f044210b0a9e9fa83acbdbbf7e05fd</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gga86f044210b0a9e9fa83acbdbbf7e05fdabc7f0c7ed0b6864e902f4b70f2c7bc94</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gga86f044210b0a9e9fa83acbdbbf7e05fda94a8f37c51d62d15ac6192665dd49310</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gga86f044210b0a9e9fa83acbdbbf7e05fda63430bf932434bc456282f636d39c2c2</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_topology_diff_type_e</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga38b28b7423b85a3321e6d0062d5f83d0</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_DIFF_OBJ_ATTR</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gga38b28b7423b85a3321e6d0062d5f83d0accbcaee230f79989debb284c8626f0c0</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gga38b28b7423b85a3321e6d0062d5f83d0a3dc01fdeff355efe3fb2516bb454a147</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_topology_diff_apply_flags_e</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gada4c1273ce020afaf02b649496f7edf5</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ggada4c1273ce020afaf02b649496f7edf5a821a160512d67ea0dd05dab873d2fc54</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_diff_build</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga8a1754f69fbb31364ea3ea2c39827c9f</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_topology_t newtopology, unsigned long flags, hwloc_topology_diff_t *diff)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_diff_apply</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gae7b350d7e7478a4c6047b08aa6544f40</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_topology_diff_t diff, unsigned long flags)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_diff_destroy</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gab531db0e4ca3e590d48358c90f59c197</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_topology_diff_t diff)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_diff_load_xml</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gae82a885a377aff78936c5f175b5980f8</anchor>
+ <arglist>(hwloc_topology_t topology, const char *xmlpath, hwloc_topology_diff_t *diff, char **refname)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_diff_export_xml</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>gacceb7e97b5689d0405db618bb5541012</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, const char *xmlpath)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_diff_load_xmlbuffer</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga09afc24f1c9860465ec352c4ac518dd4</anchor>
+ <arglist>(hwloc_topology_t topology, const char *xmlbuffer, int buflen, hwloc_topology_diff_t *diff, char **refname)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_topology_diff_export_xmlbuffer</name>
+ <anchorfile>a00187.html</anchorfile>
+ <anchor>ga88e72855746c81e2341580fa8d619a51</anchor>
+ <arglist>(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, char **xmlbuffer, int *buflen)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_disc_components</name>
+ <title>Components and Plugins: Discovery components</title>
+ <filename>a00188.html</filename>
+ <class kind="struct">hwloc_disc_component</class>
+ <member kind="typedef">
+ <type>enum hwloc_disc_component_type_e</type>
+ <name>hwloc_disc_component_type_t</name>
+ <anchorfile>a00188.html</anchorfile>
+ <anchor>ga5c6112c1a7497e5f481b9634059d47b1</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_disc_component_type_e</name>
+ <anchorfile>a00188.html</anchorfile>
+ <anchor>ga0dceb95fada01e5e4558429912053ca7</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_DISC_COMPONENT_TYPE_CPU</name>
+ <anchorfile>a00188.html</anchorfile>
+ <anchor>gga0dceb95fada01e5e4558429912053ca7aa09e6a39b61eda5364eada626da88ecc</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_DISC_COMPONENT_TYPE_GLOBAL</name>
+ <anchorfile>a00188.html</anchorfile>
+ <anchor>gga0dceb95fada01e5e4558429912053ca7a7d7e7114cca4165eee72efb9b39b3d6d</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_DISC_COMPONENT_TYPE_MISC</name>
+ <anchorfile>a00188.html</anchorfile>
+ <anchor>gga0dceb95fada01e5e4558429912053ca7aaf4d61f8e2c7c28e88cd81bb565695b7</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_disc_backends</name>
+ <title>Components and Plugins: Discovery backends</title>
+ <filename>a00189.html</filename>
+ <class kind="struct">hwloc_backend</class>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_backend_flag_e</name>
+ <anchorfile>a00189.html</anchorfile>
+ <anchor>ga21513209613570877b6bfa9898106f2a</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_BACKEND_FLAG_NEED_LEVELS</name>
+ <anchorfile>a00189.html</anchorfile>
+ <anchor>gga21513209613570877b6bfa9898106f2aadc96f2cf3bdd5d41e102dfa1e1976b24</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="function">
+ <type>struct hwloc_backend *</type>
+ <name>hwloc_backend_alloc</name>
+ <anchorfile>a00189.html</anchorfile>
+ <anchor>ga330a0b581de4817d0cf1e7401db22436</anchor>
+ <arglist>(struct hwloc_disc_component *component)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_backend_enable</name>
+ <anchorfile>a00189.html</anchorfile>
+ <anchor>gaa4edf46c5d88eef53b3b8f572d88b9c5</anchor>
+ <arglist>(struct hwloc_topology *topology, struct hwloc_backend *backend)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_backends_get_obj_cpuset</name>
+ <anchorfile>a00189.html</anchorfile>
+ <anchor>ga505a5470745bf0b601f4d25a69601411</anchor>
+ <arglist>(struct hwloc_backend *caller, struct hwloc_obj *obj, hwloc_bitmap_t cpuset)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_backends_notify_new_object</name>
+ <anchorfile>a00189.html</anchorfile>
+ <anchor>gad8ac8bba9ab6b9af423baba0c8337c6b</anchor>
+ <arglist>(struct hwloc_backend *caller, struct hwloc_obj *obj)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_generic_components</name>
+ <title>Components and Plugins: Generic components</title>
+ <filename>a00190.html</filename>
+ <class kind="struct">hwloc_component</class>
+ <member kind="typedef">
+ <type>enum hwloc_component_type_e</type>
+ <name>hwloc_component_type_t</name>
+ <anchorfile>a00190.html</anchorfile>
+ <anchor>ga0aebfa65317af10bb18d7d35f6dc05b8</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumeration">
+ <type></type>
+ <name>hwloc_component_type_e</name>
+ <anchorfile>a00190.html</anchorfile>
+ <anchor>ga397a1bf7d21dd073320ad0045340f463</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_COMPONENT_TYPE_DISC</name>
+ <anchorfile>a00190.html</anchorfile>
+ <anchor>gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900</anchor>
+ <arglist></arglist>
+ </member>
+ <member kind="enumvalue">
+ <name>HWLOC_COMPONENT_TYPE_XML</name>
+ <anchorfile>a00190.html</anchorfile>
+ <anchor>gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd</anchor>
+ <arglist></arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_components_core_funcs</name>
+ <title>Components and Plugins: Core functions to be used by components</title>
+ <filename>a00191.html</filename>
+ <member kind="typedef">
+ <type>void(*</type>
+ <name>hwloc_report_error_t</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>ga1ac8191022b0d3b1bf0070e11d1f1155</anchor>
+ <arglist>)(const char *msg, int line)</arglist>
+ </member>
+ <member kind="function">
+ <type>struct hwloc_obj *</type>
+ <name>hwloc_insert_object_by_cpuset</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>gafd853fd67e12c32916201d8303ef39d2</anchor>
+ <arglist>(struct hwloc_topology *topology, hwloc_obj_t obj)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_report_os_error</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>ga3ae154590328522a864f4a7fb453b562</anchor>
+ <arglist>(const char *msg, int line)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_hide_errors</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>gab527c1e0f243f057d31a724794ad9f88</anchor>
+ <arglist>(void)</arglist>
+ </member>
+ <member kind="function">
+ <type>struct hwloc_obj *</type>
+ <name>hwloc__insert_object_by_cpuset</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>ga56d4e5fec377bf09f136b4e8e280e30f</anchor>
+ <arglist>(struct hwloc_topology *topology, hwloc_obj_t obj, hwloc_report_error_t report_error)</arglist>
+ </member>
+ <member kind="function">
+ <type>void</type>
+ <name>hwloc_insert_object_by_parent</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>ga0ef97debde503b56367689b07bb3e901</anchor>
+ <arglist>(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_obj_t obj)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static struct hwloc_obj *</type>
+ <name>hwloc_alloc_setup_object</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>ga64d210fcfd7e517095319420bf40ed0a</anchor>
+ <arglist>(hwloc_obj_type_t type, signed os_index)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_fill_object_sets</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>gabb240e5b856a34963078ccec9a785ac1</anchor>
+ <arglist>(hwloc_obj_t obj)</arglist>
+ </member>
+ <member kind="function" static="yes">
+ <type>static int</type>
+ <name>hwloc_plugin_check_namespace</name>
+ <anchorfile>a00191.html</anchorfile>
+ <anchor>gac2eaed287bb215cf0bd33014e9e1d374</anchor>
+ <arglist>(const char *pluginname, const char *symbol)</arglist>
+ </member>
+ </compound>
+ <compound kind="group">
+ <name>hwlocality_components_pci_funcs</name>
+ <title>Components and Plugins: PCI functions to be used by components</title>
+ <filename>a00192.html</filename>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_insert_pci_device_list</name>
+ <anchorfile>a00192.html</anchorfile>
+ <anchor>ga2ea3e9c02eabd8c5768745c8a99d7fed</anchor>
+ <arglist>(struct hwloc_backend *backend, struct hwloc_obj *first_obj)</arglist>
+ </member>
+ <member kind="function">
+ <type>unsigned</type>
+ <name>hwloc_pci_find_cap</name>
+ <anchorfile>a00192.html</anchorfile>
+ <anchor>ga4bed8bd79337d4bc84b884a6ccd14f16</anchor>
+ <arglist>(const unsigned char *config, unsigned cap)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_pci_find_linkspeed</name>
+ <anchorfile>a00192.html</anchorfile>
+ <anchor>ga749e75eeea108be0608fcba7c113f736</anchor>
+ <arglist>(const unsigned char *config, unsigned offset, float *linkspeed)</arglist>
+ </member>
+ <member kind="function">
+ <type>int</type>
+ <name>hwloc_pci_prepare_bridge</name>
+ <anchorfile>a00192.html</anchorfile>
+ <anchor>ga80fa1e3d882b5c2225dd6dd01e098ad0</anchor>
+ <arglist>(hwloc_obj_t obj, const unsigned char *config)</arglist>
+ </member>
+ </compound>
+ <compound kind="page">
+ <name>termsanddefs</name>
+ <title>Terms and Definitions</title>
+ <filename>a00309</filename>
+ <docanchor file="a00309" title="Objects">termsanddefs_objects</docanchor>
+ <docanchor file="a00309" title="Indexes and Sets">termsanddefs_indexes</docanchor>
+ <docanchor file="a00309" title="Hierarchy, Tree and Levels">termsanddefs_tree</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>tools</name>
+ <title>Command-Line Tools</title>
+ <filename>a00310</filename>
+ <docanchor file="a00310" title="lstopo and lstopo-no-graphics">cli_lstopo</docanchor>
+ <docanchor file="a00310" title="hwloc-bind">cli_hwloc_bind</docanchor>
+ <docanchor file="a00310" title="hwloc-calc">cli_hwloc_calc</docanchor>
+ <docanchor file="a00310" title="hwloc-info">cli_hwloc_info</docanchor>
+ <docanchor file="a00310" title="hwloc-distrib">cli_hwloc_distrib</docanchor>
+ <docanchor file="a00310" title="hwloc-ps">cli_hwloc_ps</docanchor>
+ <docanchor file="a00310" title="hwloc-distances">cli_hwloc_distances</docanchor>
+ <docanchor file="a00310" title="hwloc-annotate">cli_hwloc_annotate</docanchor>
+ <docanchor file="a00310" title="hwloc-diff, hwloc-patch and hwloc-compress-dir">cli_hwloc_diffpatchcompress</docanchor>
+ <docanchor file="a00310" title="hwloc-assembler">cli_hwloc_assembler</docanchor>
+ <docanchor file="a00310" title="hwloc-assembler-remote">cli_hwloc_assembler_remote</docanchor>
+ <docanchor file="a00310" title="hwloc-dump-hwdata">cli_hwloc_dump_hwdata</docanchor>
+ <docanchor file="a00310" title="hwloc-gather-topology">cli_hwloc_gather</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>envvar</name>
+ <title>Environment Variables</title>
+ <filename>a00311</filename>
+ </compound>
+ <compound kind="page">
+ <name>cpu_mem_bind</name>
+ <title>CPU and Memory Binding Overview</title>
+ <filename>a00312</filename>
+ </compound>
+ <compound kind="page">
+ <name>iodevices</name>
+ <title>I/O Devices</title>
+ <filename>a00313</filename>
+ <docanchor file="a00313" title="Enabling and requirements">iodevices_enabling</docanchor>
+ <docanchor file="a00313" title="I/O objects">iodevices_objects</docanchor>
+ <docanchor file="a00313" title="OS devices">iodevices_osdev</docanchor>
+ <docanchor file="a00313" title="PCI devices and bridges">iodevices_pci</docanchor>
+ <docanchor file="a00313" title="Consulting I/O devices and binding">iodevices_consult</docanchor>
+ <docanchor file="a00313" title="Examples">iodevices_examples</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>miscobjs</name>
+ <title>Miscellaneous objects</title>
+ <filename>a00314</filename>
+ <docanchor file="a00314" title="Misc objects added by hwloc">miscobjs_auto</docanchor>
+ <docanchor file="a00314" title="Annotating topologies with Misc objects">miscobjs_annotate</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>multinode</name>
+ <title>Multi-node Topologies</title>
+ <filename>a00315</filename>
+ <docanchor file="a00315" title="Multi-node Objects Specifities">multinode_cpusets</docanchor>
+ <docanchor file="a00315" title="Assembling topologies with command-line tools">multinode_tools</docanchor>
+ <docanchor file="a00315" title="Assembling topologies with the programming interface">multinode_interface</docanchor>
+ <docanchor file="a00315" title="Example of assembly with the programming interface">multinode_example</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>attributes</name>
+ <title>Object attributes</title>
+ <filename>a00316</filename>
+ <docanchor file="a00316" title="Normal attributes">attributes_normal</docanchor>
+ <docanchor file="a00316" title="Custom string infos">attributes_info</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>xml</name>
+ <title>Importing and exporting topologies from/to XML files</title>
+ <filename>a00317</filename>
+ <docanchor file="a00317" title="libxml2 and minimalistic XML backends">xml_backends</docanchor>
+ <docanchor file="a00317" title="XML import error management">xml_errors</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>synthetic</name>
+ <title>Synthetic topologies</title>
+ <filename>a00318</filename>
+ <docanchor file="a00318" title="Synthetic description string">synthetic_string</docanchor>
+ <docanchor file="a00318" title="Loading a synthetic topology">synthetic_use</docanchor>
+ <docanchor file="a00318" title="Exporting a topology as a synthetic string">synthetic_export</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>interoperability</name>
+ <title>Interoperability With Other Software</title>
+ <filename>a00319</filename>
+ </compound>
+ <compound kind="page">
+ <name>threadsafety</name>
+ <title>Thread Safety</title>
+ <filename>a00320</filename>
+ </compound>
+ <compound kind="page">
+ <name>plugins</name>
+ <title>Components and plugins</title>
+ <filename>a00321</filename>
+ <docanchor file="a00321" title="Components enabled by default">plugins_default</docanchor>
+ <docanchor file="a00321" title="Selecting which components to use">plugins_select</docanchor>
+ <docanchor file="a00321" title="Loading components from plugins">plugins_load</docanchor>
+ <docanchor file="a00321" title="Adding new discovery components and plugins">plugins_adding</docanchor>
+ <docanchor file="a00321" title="Basics of discovery components">plugins_disc_basic</docanchor>
+ <docanchor file="a00321" title="Registering a new discovery component">plugins_disc_register</docanchor>
+ <docanchor file="a00321" title="Existing components and plugins">plugins_list</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>embed</name>
+ <title>Embedding hwloc in Other Software</title>
+ <filename>a00322</filename>
+ <docanchor file="a00322" title="Using hwloc's M4 Embedding Capabilities">embedding_m4</docanchor>
+ <docanchor file="a00322" title="Example Embedding hwloc">embedding_example</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>faq</name>
+ <title>Frequently Asked Questions</title>
+ <filename>a00323</filename>
+ <docanchor file="a00323" title="Concepts">faq1</docanchor>
+ <docanchor file="a00323" title="I only need binding, why should I use hwloc ?">faq_why</docanchor>
+ <docanchor file="a00323" title="Should I use logical or physical/OS indexes? and how?">faq_indexes</docanchor>
+ <docanchor file="a00323" title="hwloc is only a structural model, it ignores performance models, memory bandwidth, etc.?">faq_structural</docanchor>
+ <docanchor file="a00323" title="hwloc only has a one-dimensional view of the architecture, it ignores distances?">faq_onedim</docanchor>
+ <docanchor file="a00323" title="What are these Group objects in my topology?">faq_groups</docanchor>
+ <docanchor file="a00323" title="What happens if my topology is asymmetric?">faq_asymmetric</docanchor>
+ <docanchor file="a00323" title="What happens to my topology if I disable symmetric multithreading, hyper-threading, etc. in the system?">faq_nosmt</docanchor>
+ <docanchor file="a00323" title="How may I ignore symmetric multithreading, hyper-threading, etc. in hwloc?">faq_smt</docanchor>
+ <docanchor file="a00323" title="Advanced">faq2</docanchor>
+ <docanchor file="a00323" title="I do not want hwloc to rediscover my enormous machine topology every time I rerun a process">faq_xml</docanchor>
+ <docanchor file="a00323" title="How many topologies may I use in my program?">faq_multitopo</docanchor>
+ <docanchor file="a00323" title="How to avoid memory waste when manipulating multiple similar topologies?">faq_diff</docanchor>
+ <docanchor file="a00323" title="How do I annotate the topology with private notes?">faq_annotate</docanchor>
+ <docanchor file="a00323" title="Caveats">faq3</docanchor>
+ <docanchor file="a00323" title="Why is hwloc slow?">faq_slow_lstopo</docanchor>
+ <docanchor file="a00323" title="Does hwloc require privileged access?">faq_privileged</docanchor>
+ <docanchor file="a00323" title="What should I do when hwloc reports "operating system" warnings?">faq_os_error</docanchor>
+ <docanchor file="a00323" title="Why does Valgrind complain about hwloc memory leaks?">faq_valgrind</docanchor>
+ <docanchor file="a00323" title="How do I handle ABI breaks and API upgrades?">faq_upgrade</docanchor>
+ <docanchor file="a00323" title="Platform-specific">faq4</docanchor>
+ <docanchor file="a00323" title="How do I find the local MCDRAM NUMA node on Intel Xeon Phi processor?">faq_knl_numa</docanchor>
+ <docanchor file="a00323" title="Why do I need hwloc-dump-hwdata for memory on Intel Xeon Phi processor?">faq_knl_dump</docanchor>
+ <docanchor file="a00323" title="How do I build for Intel Xeon Phi coprocessor?">faq_phi</docanchor>
+ <docanchor file="a00323" title="How do I build hwloc for BlueGene/Q?">faq_bgq</docanchor>
+ <docanchor file="a00323" title="How do I build hwloc for Windows?">faq_windows</docanchor>
+ <docanchor file="a00323" title="How to get useful topology information on NetBSD?">faq_netbsd_bind</docanchor>
+ <docanchor file="a00323" title="Why does binding fail on AIX?">faq_aix_bind</docanchor>
+ </compound>
+ <compound kind="page">
+ <name>index</name>
+ <title>Hardware Locality</title>
+ <filename>index</filename>
+ <docanchor file="index">Introduction</docanchor>
+ <docanchor file="index" title="Installation">installation</docanchor>
+ <docanchor file="index" title="Basic Installation">basic_installation</docanchor>
+ <docanchor file="index" title="Installing from a Git clone">gitclone_installation</docanchor>
+ <docanchor file="index" title="Optional Dependencies">depends_installation</docanchor>
+ <docanchor file="index" title="Command-line Examples">cli_examples</docanchor>
+ <docanchor file="index" title="Programming Interface">interface</docanchor>
+ <docanchor file="index" title="Portability">portability</docanchor>
+ <docanchor file="index" title="API Example">interface_example</docanchor>
+ <docanchor file="index" title="Questions and Bugs">bugs</docanchor>
+ <docanchor file="index" title="History / Credits">history</docanchor>
+ <docanchor file="index" title="Further Reading">further_reading</docanchor>
+ </compound>
+</tagfile>
--- /dev/null
+.so man3/hwlocality_api_version.3
--- /dev/null
+.so man3/hwlocality_disc_backends.3
--- /dev/null
+.so man3/hwlocality_api_version.3
--- /dev/null
+.so man3/hwlocality_generic_components.3
--- /dev/null
+.so man3/hwlocality_generic_components.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_disc_components.3
--- /dev/null
+.so man3/hwlocality_disc_components.3
--- /dev/null
+.so man3/hwlocality_disc_components.3
--- /dev/null
+.so man3/hwlocality_helper_distribute.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_tinker.3
--- /dev/null
+.so man3/hwlocality_tinker.3
--- /dev/null
+.so man3/hwlocality_tinker.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_syntheticexport.3
--- /dev/null
+.so man3/hwlocality_syntheticexport.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.TH "hwloc_backend" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_backend
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <plugins\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned long \fBflags\fP"
+.br
+.ti -1c
+.RI "int \fBis_custom\fP"
+.br
+.ti -1c
+.RI "int \fBis_thissystem\fP"
+.br
+.ti -1c
+.RI "void * \fBprivate_data\fP"
+.br
+.ti -1c
+.RI "void(* \fBdisable\fP )(struct \fBhwloc_backend\fP *backend)"
+.br
+.ti -1c
+.RI "int(* \fBdiscover\fP )(struct \fBhwloc_backend\fP *backend)"
+.br
+.ti -1c
+.RI "int(* \fBget_obj_cpuset\fP )(struct \fBhwloc_backend\fP *backend, struct \fBhwloc_backend\fP *caller, struct \fBhwloc_obj\fP *obj, \fBhwloc_bitmap_t\fP cpuset)"
+.br
+.ti -1c
+.RI "int(* \fBnotify_new_object\fP )(struct \fBhwloc_backend\fP *backend, struct \fBhwloc_backend\fP *caller, struct \fBhwloc_obj\fP *obj)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Discovery backend structure\&.
+
+A backend is the instantiation of a discovery component\&. When a component gets enabled for a topology, its instantiate() callback creates a backend\&.
+.PP
+\fBhwloc_backend_alloc()\fP initializes all fields to default values that the component may change (except 'component' and 'next') before enabling the backend with \fBhwloc_backend_enable()\fP\&.
+.SH "Field Documentation"
+.PP
+.SS "void(* hwloc_backend::disable) (struct \fBhwloc_backend\fP *backend)"
+
+.PP
+Callback for freeing the private_data\&. May be NULL\&.
+.SS "int(* hwloc_backend::discover) (struct \fBhwloc_backend\fP *backend)"
+
+.PP
+Main discovery callback\&. returns > 0 if it modified the topology tree, -1 on error, 0 otherwise\&. May be NULL if type is \fBHWLOC_DISC_COMPONENT_TYPE_MISC\fP\&.
+.SS "unsigned long hwloc_backend::flags"
+
+.PP
+Backend flags, as an OR'ed set of \fBhwloc_backend_flag_e\fP\&.
+.SS "int(* hwloc_backend::get_obj_cpuset) (struct \fBhwloc_backend\fP *backend, struct \fBhwloc_backend\fP *caller, struct \fBhwloc_obj\fP *obj, \fBhwloc_bitmap_t\fP cpuset)"
+
+.PP
+Callback used by the PCI backend to retrieve the locality of a PCI object from the OS/cpu backend\&. May be NULL\&.
+.SS "int hwloc_backend::is_custom"
+
+.PP
+Backend-specific 'is_custom' property\&. Shortcut on !strcmp(\&.\&.->component->name, 'custom')\&. Only the custom component should touch this\&.
+.SS "int hwloc_backend::is_thissystem"
+
+.PP
+Backend-specific 'is_thissystem' property\&. Set to 0 or 1 if the backend should enforce the thissystem flag when it gets enabled\&. Set to -1 if the backend doesn't care (default)\&.
+.SS "int(* hwloc_backend::notify_new_object) (struct \fBhwloc_backend\fP *backend, struct \fBhwloc_backend\fP *caller, struct \fBhwloc_obj\fP *obj)"
+
+.PP
+Callback called by backends to notify this backend that a new object was added\&. returns > 0 if it modified the topology tree, 0 otherwise\&. May be NULL\&.
+.SS "void* hwloc_backend::private_data"
+
+.PP
+Backend private data, or NULL if none\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_disc_backends.3
--- /dev/null
+.so man3/hwlocality_disc_backends.3
--- /dev/null
+.so man3/hwlocality_disc_backends.3
--- /dev/null
+.so man3/hwlocality_disc_backends.3
--- /dev/null
+.so man3/hwlocality_disc_backends.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.TH "hwloc_component" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_component
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <plugins\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned \fBabi\fP"
+.br
+.ti -1c
+.RI "int(* \fBinit\fP )(unsigned long \fBflags\fP)"
+.br
+.ti -1c
+.RI "void(* \fBfinalize\fP )(unsigned long \fBflags\fP)"
+.br
+.ti -1c
+.RI "\fBhwloc_component_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "unsigned long \fBflags\fP"
+.br
+.ti -1c
+.RI "void * \fBdata\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Generic component structure\&.
+
+Generic components structure, either statically listed by configure in static-components\&.h or dynamically loaded as a plugin\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned hwloc_component::abi"
+
+.PP
+Component ABI version, set to \fBHWLOC_COMPONENT_ABI\fP\&.
+.SS "void* hwloc_component::data"
+
+.PP
+Component data, pointing to a struct \fBhwloc_disc_component\fP or struct hwloc_xml_component\&.
+.SS "void(* hwloc_component::finalize) (unsigned long \fBflags\fP)"
+
+.PP
+Process-wide component termination callback\&. This optional callback is called after unregistering the component from the hwloc core (before unloading the plugin)\&.
+.PP
+\fCflags\fP is always 0 for now\&.
+.PP
+\fBNote:\fP
+.RS 4
+If the component uses ltdl for loading its own plugins, it should load/unload them only in \fBinit()\fP and \fBfinalize()\fP, to avoid race conditions with hwloc's use of ltdl\&.
+.RE
+.PP
+
+.SS "unsigned long hwloc_component::flags"
+
+.PP
+Component flags, unused for now\&.
+.SS "int(* hwloc_component::init) (unsigned long \fBflags\fP)"
+
+.PP
+Process-wide component initialization callback\&. This optional callback is called when the component is registered to the hwloc core (after loading the plugin)\&.
+.PP
+When the component is built as a plugin, this callback should call hwloc_check_plugin_namespace() and return an negative error code on error\&.
+.PP
+\fCflags\fP is always 0 for now\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 on success, or a negative code on error\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+If the component uses ltdl for loading its own plugins, it should load/unload them only in \fBinit()\fP and \fBfinalize()\fP, to avoid race conditions with hwloc's use of ltdl\&.
+.RE
+.PP
+
+.SS "\fBhwloc_component_type_t\fP hwloc_component::type"
+
+.PP
+Component type\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_generic_components.3
--- /dev/null
+.so man3/hwlocality_generic_components.3
--- /dev/null
+.so man3/hwlocality_bitmap.3
--- /dev/null
+.so man3/hwlocality_object_sets.3
--- /dev/null
+.so man3/hwlocality_object_sets.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_glibc_sched.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_bitmask.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_ulongs.3
--- /dev/null
+.so man3/hwlocality_helper_nodeset_convert.3
--- /dev/null
+.so man3/hwlocality_helper_nodeset_convert.3
--- /dev/null
+.so man3/hwlocality_object_sets.3
--- /dev/null
+.so man3/hwlocality_glibc_sched.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_bitmask.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_ulongs.3
--- /dev/null
+.so man3/hwlocality_helper_nodeset_convert.3
--- /dev/null
+.so man3/hwlocality_helper_nodeset_convert.3
--- /dev/null
+.so man3/hwlocality_cuda.3
--- /dev/null
+.so man3/hwlocality_cuda.3
--- /dev/null
+.so man3/hwlocality_cuda.3
--- /dev/null
+.so man3/hwlocality_cuda.3
--- /dev/null
+.so man3/hwlocality_cuda.3
--- /dev/null
+.so man3/hwlocality_cudart.3
--- /dev/null
+.so man3/hwlocality_cudart.3
--- /dev/null
+.so man3/hwlocality_cudart.3
--- /dev/null
+.so man3/hwlocality_cudart.3
--- /dev/null
+.so man3/hwlocality_custom.3
--- /dev/null
+.so man3/hwlocality_custom.3
--- /dev/null
+.TH "hwloc_disc_component" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_disc_component
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <plugins\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_disc_component_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "const char * \fBname\fP"
+.br
+.ti -1c
+.RI "unsigned \fBexcludes\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_backend\fP *(* \fBinstantiate\fP )(struct \fBhwloc_disc_component\fP *component, const void *data1, const void *data2, const void *data3)"
+.br
+.ti -1c
+.RI "unsigned \fBpriority\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Discovery component structure\&.
+
+This is the major kind of components, taking care of the discovery\&. They are registered by generic components, either statically-built or as plugins\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned hwloc_disc_component::excludes"
+
+.PP
+Component types to exclude, as an OR'ed set of \fBhwloc_disc_component_type_e\fP\&. For a GLOBAL component, this usually includes all other types (~0)\&.
+.PP
+Other components only exclude types that may bring conflicting topology information\&. MISC components should likely not be excluded since they usually bring non-primary additional information\&.
+.SS "struct \fBhwloc_backend\fP*(* hwloc_disc_component::instantiate) (struct \fBhwloc_disc_component\fP *component, const void *data1, const void *data2, const void *data3)"
+
+.PP
+Instantiate callback to create a backend from the component\&. Parameters data1, data2, data3 are NULL except for components that have special enabling routines such as \fBhwloc_topology_set_xml()\fP\&.
+.SS "const char* hwloc_disc_component::name"
+
+.PP
+Name\&. If this component is built as a plugin, this name does not have to match the plugin filename\&.
+.SS "unsigned hwloc_disc_component::priority"
+
+.PP
+Component priority\&. Used to sort topology->components, higher priority first\&. Also used to decide between two components with the same name\&. Usual values are 50 for native OS (or platform) components, 45 for x86, 40 for no-OS fallback, 30 for global components (xml/synthetic/custom), 20 for pci, 10 for other misc components (opencl etc\&.)\&.
+.SS "\fBhwloc_disc_component_type_t\fP hwloc_disc_component::type"
+
+.PP
+Discovery component type\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_disc_components.3
--- /dev/null
+.so man3/hwlocality_disc_components.3
--- /dev/null
+.TH "hwloc_distances_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_distances_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned \fBrelative_depth\fP"
+.br
+.ti -1c
+.RI "unsigned \fBnbobjs\fP"
+.br
+.ti -1c
+.RI "float * \fBlatency\fP"
+.br
+.ti -1c
+.RI "float \fBlatency_max\fP"
+.br
+.ti -1c
+.RI "float \fBlatency_base\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Distances between objects\&.
+
+One object may contain a distance structure describing distances between all its descendants at a given relative depth\&. If the containing object is the root object of the topology, then the distances are available for all objects in the machine\&.
+.PP
+If the \fClatency\fP pointer is not \fCNULL\fP, the pointed array contains memory latencies (non-zero values), see below\&.
+.PP
+In the future, some other types of distances may be considered\&. In these cases, \fClatency\fP may be \fCNULL\fP\&.
+.SH "Field Documentation"
+.PP
+.SS "float* hwloc_distances_s::latency"
+
+.PP
+Matrix of latencies between objects, stored as a one-dimension array\&. May be \fCNULL\fP if the distances considered here are not latencies\&. Unless defined by the user, this currently contains latencies between NUMA nodes (as reported in the System Locality Distance Information Table (SLIT) in the ACPI specification), which may or may not be accurate\&. It corresponds to the latency for accessing the memory of one node from a core in another node\&.
+.PP
+Values are normalized to get 1\&.0 as the minimal value in the matrix\&. Latency from i-th to j-th object is stored in slot i*nbobjs+j\&.
+.SS "float hwloc_distances_s::latency_base"
+
+.PP
+The multiplier that should be applied to latency matrix to retrieve the original OS-provided latencies\&. Usually 10 on Linux since ACPI SLIT uses 10 for local latency\&.
+.SS "float hwloc_distances_s::latency_max"
+
+.PP
+The maximal value in the latency matrix\&.
+.SS "unsigned hwloc_distances_s::nbobjs"
+
+.PP
+Number of objects considered in the matrix\&. It is the number of descendant objects at \fCrelative_depth\fP below the containing object\&. It corresponds to the result of \fBhwloc_get_nbobjs_inside_cpuset_by_depth()\fP\&.
+.SS "unsigned hwloc_distances_s::relative_depth"
+
+.PP
+Relative depth of the considered objects below the object containing this distance information\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_helper_distribute.3
--- /dev/null
+.so man3/hwlocality_helper_distribute.3
--- /dev/null
+.so man3/hwlocality_xmlexport.3
--- /dev/null
+.so man3/hwlocality_xmlexport.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_xmlexport.3
--- /dev/null
+.so man3/hwlocality_helper_ancestors.3
--- /dev/null
+.so man3/hwlocality_helper_ancestors.3
--- /dev/null
+.so man3/hwlocality_api_version.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_helper_find_cache.3
--- /dev/null
+.so man3/hwlocality_helper_find_cache.3
--- /dev/null
+.so man3/hwlocality_helper_find_covering.3
--- /dev/null
+.so man3/hwlocality_helper_find_misc.3
--- /dev/null
+.so man3/hwlocality_helper_ancestors.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_distances.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_distances.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_helper_ancestors.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_helper_find_covering.3
--- /dev/null
+.so man3/hwlocality_helper_find_covering.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_helper_find_misc.3
--- /dev/null
+.so man3/hwlocality_helper_find_misc.3
--- /dev/null
+.so man3/hwlocality_helper_find_misc.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_helper_find_covering.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_helper_find_inside.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_advanced_io.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_helper_find_misc.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_helper_find_cache.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_distances.3
--- /dev/null
+.so man3/hwlocality_distances.3
--- /dev/null
+.so man3/hwlocality_gl.3
--- /dev/null
+.so man3/hwlocality_gl.3
--- /dev/null
+.so man3/hwlocality_gl.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_openfabrics.3
--- /dev/null
+.so man3/hwlocality_openfabrics.3
--- /dev/null
+.so man3/hwlocality_openfabrics.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_components_pci_funcs.3
--- /dev/null
+.so man3/hwlocality_intel_mic.3
--- /dev/null
+.so man3/hwlocality_intel_mic.3
--- /dev/null
+.so man3/hwlocality_linux.3
--- /dev/null
+.so man3/hwlocality_linux.3
--- /dev/null
+.so man3/hwlocality_linux.3
--- /dev/null
+.so man3/hwlocality_linux.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_myriexpress.3
--- /dev/null
+.so man3/hwlocality_myriexpress.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_bitmask.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_ulongs.3
--- /dev/null
+.so man3/hwlocality_object_sets.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_bitmask.3
--- /dev/null
+.so man3/hwlocality_linux_libnuma_ulongs.3
--- /dev/null
+.so man3/hwlocality_nvml.3
--- /dev/null
+.so man3/hwlocality_nvml.3
--- /dev/null
+.so man3/hwlocality_nvml.3
--- /dev/null
+.TH "hwloc_obj" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_obj_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "unsigned \fBos_index\fP"
+.br
+.ti -1c
+.RI "char * \fBname\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_memory_s\fP \fBmemory\fP"
+.br
+.ti -1c
+.RI "union \fBhwloc_obj_attr_u\fP * \fBattr\fP"
+.br
+.ti -1c
+.RI "unsigned \fBdepth\fP"
+.br
+.ti -1c
+.RI "unsigned \fBlogical_index\fP"
+.br
+.ti -1c
+.RI "signed \fBos_level\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBnext_cousin\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBprev_cousin\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBparent\fP"
+.br
+.ti -1c
+.RI "unsigned \fBsibling_rank\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBnext_sibling\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBprev_sibling\fP"
+.br
+.ti -1c
+.RI "unsigned \fBarity\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP ** \fBchildren\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBfirst_child\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBlast_child\fP"
+.br
+.ti -1c
+.RI "void * \fBuserdata\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_cpuset_t\fP \fBcpuset\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_cpuset_t\fP \fBcomplete_cpuset\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_cpuset_t\fP \fBonline_cpuset\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_cpuset_t\fP \fBallowed_cpuset\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_nodeset_t\fP \fBnodeset\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_nodeset_t\fP \fBcomplete_nodeset\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_nodeset_t\fP \fBallowed_nodeset\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_distances_s\fP ** \fBdistances\fP"
+.br
+.ti -1c
+.RI "unsigned \fBdistances_count\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_info_s\fP * \fBinfos\fP"
+.br
+.ti -1c
+.RI "unsigned \fBinfos_count\fP"
+.br
+.ti -1c
+.RI "int \fBsymmetric_subtree\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Structure of a topology object\&.
+
+Applications must not modify any field except \fBhwloc_obj\&.userdata\fP\&.
+.SH "Field Documentation"
+.PP
+.SS "\fBhwloc_cpuset_t\fP hwloc_obj::allowed_cpuset"
+
+.PP
+The CPU set of allowed logical processors\&. This includes the CPUs contained in this object which are allowed for binding, i\&.e\&. passing them to the hwloc binding functions should not return permission errors\&. This is usually restricted by administration rules\&. Some of them may however be offline so binding to them may still not be possible, see online_cpuset\&.
+.PP
+\fBNote:\fP
+.RS 4
+Its value must not be changed, \fBhwloc_bitmap_dup()\fP must be used instead\&.
+.RE
+.PP
+
+.SS "\fBhwloc_nodeset_t\fP hwloc_obj::allowed_nodeset"
+
+.PP
+The set of allowed NUMA memory nodes\&. This includes the NUMA memory nodes contained in this object which are allowed for memory allocation, i\&.e\&. passing them to NUMA node-directed memory allocation should not return permission errors\&. This is usually restricted by administration rules\&.
+.PP
+If there are no NUMA nodes in the machine, all the memory is close to this object, so \fCallowed_nodeset\fP is full\&.
+.PP
+\fBNote:\fP
+.RS 4
+Its value must not be changed, \fBhwloc_bitmap_dup()\fP must be used instead\&.
+.RE
+.PP
+
+.SS "unsigned hwloc_obj::arity"
+
+.PP
+Number of children\&.
+.SS "union \fBhwloc_obj_attr_u\fP* hwloc_obj::attr"
+
+.PP
+Object type-specific Attributes, may be \fCNULL\fP if no attribute value was found\&.
+.SS "struct \fBhwloc_obj\fP** hwloc_obj::children"
+
+.PP
+Children, \fCchildren\fP[0 \&.\&. arity -1]\&.
+.SS "\fBhwloc_cpuset_t\fP hwloc_obj::complete_cpuset"
+
+.PP
+The complete CPU set of logical processors of this object,\&. This includes not only the same as the cpuset field, but also some CPUs for which topology information is unknown or incomplete, and the CPUs that are ignored when the \fBHWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM\fP flag is not set\&. Thus no corresponding PU object may be found in the topology, because the precise position is undefined\&. It is however known that it would be somewhere under this object\&.
+.PP
+\fBNote:\fP
+.RS 4
+Its value must not be changed, \fBhwloc_bitmap_dup()\fP must be used instead\&.
+.RE
+.PP
+
+.SS "\fBhwloc_nodeset_t\fP hwloc_obj::complete_nodeset"
+
+.PP
+The complete NUMA node set of this object,\&. This includes not only the same as the nodeset field, but also some NUMA nodes for which topology information is unknown or incomplete, and the nodes that are ignored when the \fBHWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM\fP flag is not set\&. Thus no corresponding NUMA node object may be found in the topology, because the precise position is undefined\&. It is however known that it would be somewhere under this object\&.
+.PP
+If there are no NUMA nodes in the machine, all the memory is close to this object, so \fCcomplete_nodeset\fP is full\&.
+.PP
+\fBNote:\fP
+.RS 4
+Its value must not be changed, \fBhwloc_bitmap_dup()\fP must be used instead\&.
+.RE
+.PP
+
+.SS "\fBhwloc_cpuset_t\fP hwloc_obj::cpuset"
+
+.PP
+CPUs covered by this object\&. This is the set of CPUs for which there are PU objects in the topology under this object, i\&.e\&. which are known to be physically contained in this object and known how (the children path between this object and the PU objects)\&.
+.PP
+If the \fBHWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM\fP configuration flag is set, some of these CPUs may be offline, or not allowed for binding, see online_cpuset and allowed_cpuset\&.
+.PP
+\fBNote:\fP
+.RS 4
+Its value must not be changed, \fBhwloc_bitmap_dup()\fP must be used instead\&.
+.RE
+.PP
+
+.SS "unsigned hwloc_obj::depth"
+
+.PP
+Vertical index in the hierarchy\&. For normal objects, this is the depth of the horizontal level that contains this object and its cousins of the same type\&. If the topology is symmetric, this is equal to the parent depth plus one, and also equal to the number of parent/child links from the root object to here\&.
+.PP
+For special objects (I/O and Misc) that are not in the main tree, this is a special negative value that corresponds to their dedicated level, see \fBhwloc_get_type_depth()\fP and \fBhwloc_get_type_depth_e\fP\&. Those special values can be passed to hwloc functions such \fBhwloc_get_nbobjs_by_depth()\fP as usual\&.
+.SS "struct \fBhwloc_distances_s\fP** hwloc_obj::distances"
+
+.PP
+Distances between all objects at same depth below this object\&.
+.SS "unsigned hwloc_obj::distances_count"
+
+.SS "struct \fBhwloc_obj\fP* hwloc_obj::first_child"
+
+.PP
+First child\&.
+.SS "struct \fBhwloc_obj_info_s\fP* hwloc_obj::infos"
+
+.PP
+Array of stringified info type=name\&.
+.SS "unsigned hwloc_obj::infos_count"
+
+.PP
+Size of infos array\&.
+.SS "struct \fBhwloc_obj\fP* hwloc_obj::last_child"
+
+.PP
+Last child\&.
+.SS "unsigned hwloc_obj::logical_index"
+
+.PP
+Horizontal index in the whole list of similar objects, hence guaranteed unique across the entire machine\&. Could be a 'cousin_rank' since it's the rank within the 'cousin' list below\&.
+.SS "struct \fBhwloc_obj_memory_s\fP hwloc_obj::memory"
+
+.PP
+Memory attributes\&.
+.SS "char* hwloc_obj::name"
+
+.PP
+Object-specific name if any\&. Mostly used for identifying OS devices and Misc objects where a name string is more useful than numerical indexes\&.
+.SS "struct \fBhwloc_obj\fP* hwloc_obj::next_cousin"
+
+.PP
+Next object of same type and depth\&.
+.SS "struct \fBhwloc_obj\fP* hwloc_obj::next_sibling"
+
+.PP
+Next object below the same parent\&.
+.SS "\fBhwloc_nodeset_t\fP hwloc_obj::nodeset"
+
+.PP
+NUMA nodes covered by this object or containing this object\&. This is the set of NUMA nodes for which there are NUMA node objects in the topology under or above this object, i\&.e\&. which are known to be physically contained in this object or containing it and known how (the children path between this object and the NUMA node objects)\&.
+.PP
+In the end, these nodes are those that are close to the current object\&.
+.PP
+If the \fBHWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM\fP configuration flag is set, some of these nodes may not be allowed for allocation, see allowed_nodeset\&.
+.PP
+If there are no NUMA nodes in the machine, all the memory is close to this object, so \fCnodeset\fP is full\&.
+.PP
+\fBNote:\fP
+.RS 4
+Its value must not be changed, \fBhwloc_bitmap_dup()\fP must be used instead\&.
+.RE
+.PP
+
+.SS "\fBhwloc_cpuset_t\fP hwloc_obj::online_cpuset"
+
+.PP
+The CPU set of online logical processors\&. This includes the CPUs contained in this object that are online, i\&.e\&. draw power and can execute threads\&. It may however not be allowed to bind to them due to administration rules, see allowed_cpuset\&.
+.PP
+\fBNote:\fP
+.RS 4
+Its value must not be changed, \fBhwloc_bitmap_dup()\fP must be used instead\&.
+.RE
+.PP
+
+.SS "unsigned hwloc_obj::os_index"
+
+.PP
+OS-provided physical index number\&. It is not guaranteed unique across the entire machine, except for PUs and NUMA nodes\&.
+.SS "signed hwloc_obj::os_level"
+
+.PP
+OS-provided physical level, -1 if unknown or meaningless\&.
+.SS "struct \fBhwloc_obj\fP* hwloc_obj::parent"
+
+.PP
+Parent, \fCNULL\fP if root (system object)
+.SS "struct \fBhwloc_obj\fP* hwloc_obj::prev_cousin"
+
+.PP
+Previous object of same type and depth\&.
+.SS "struct \fBhwloc_obj\fP* hwloc_obj::prev_sibling"
+
+.PP
+Previous object below the same parent\&.
+.SS "unsigned hwloc_obj::sibling_rank"
+
+.PP
+Index in parent's \fCchildren\fP[] array\&.
+.SS "int hwloc_obj::symmetric_subtree"
+
+.PP
+Set if the subtree of objects below this object is symmetric, which means all children and their children have identical subtrees\&. If set in the topology root object, lstopo may export the topology as a synthetic string\&.
+.SS "\fBhwloc_obj_type_t\fP hwloc_obj::type"
+
+.PP
+Type of object\&.
+.SS "void* hwloc_obj::userdata"
+
+.PP
+Application-given private data pointer, initialized to \fCNULL\fP, use it as you wish\&. See \fBhwloc_topology_set_userdata_export_callback()\fP if you wish to export this field to XML\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_info_attr.3
--- /dev/null
+.so man3/hwlocality_object_strings.3
--- /dev/null
+.TH "hwloc_obj_attr_u" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_attr_u
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_bridge_attr_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_cache_attr_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_group_attr_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_osdev_attr_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_pcidev_attr_s\fP"
+.br
+.in -1c
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_obj_attr_u::hwloc_cache_attr_s\fP \fBcache\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_attr_u::hwloc_group_attr_s\fP \fBgroup\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_attr_u::hwloc_pcidev_attr_s\fP \fBpcidev\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_attr_u::hwloc_bridge_attr_s\fP \fBbridge\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_attr_u::hwloc_osdev_attr_s\fP \fBosdev\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Object type-specific Attributes\&.
+.SH "Field Documentation"
+.PP
+.SS "struct \fBhwloc_obj_attr_u::hwloc_bridge_attr_s\fP hwloc_obj_attr_u::bridge"
+
+.SS "struct \fBhwloc_obj_attr_u::hwloc_cache_attr_s\fP hwloc_obj_attr_u::cache"
+
+.SS "struct \fBhwloc_obj_attr_u::hwloc_group_attr_s\fP hwloc_obj_attr_u::group"
+
+.SS "struct \fBhwloc_obj_attr_u::hwloc_osdev_attr_s\fP hwloc_obj_attr_u::osdev"
+
+.SS "struct \fBhwloc_obj_attr_u::hwloc_pcidev_attr_s\fP hwloc_obj_attr_u::pcidev"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_obj_attr_u::hwloc_bridge_attr_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_attr_u::hwloc_bridge_attr_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "union {"
+.br
+.ti -1c
+.RI " struct \fBhwloc_pcidev_attr_s\fP \fBpci\fP"
+.br
+.ti -1c
+.RI "} \fBupstream\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_obj_bridge_type_t\fP \fBupstream_type\fP"
+.br
+.ti -1c
+.RI "union {"
+.br
+.ti -1c
+.RI " struct {"
+.br
+.ti -1c
+.RI " unsigned short \fBdomain\fP"
+.br
+.ti -1c
+.RI " unsigned char \fBsecondary_bus\fP"
+.br
+.ti -1c
+.RI " unsigned char \fBsubordinate_bus\fP"
+.br
+.ti -1c
+.RI " } \fBpci\fP"
+.br
+.ti -1c
+.RI "} \fBdownstream\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_obj_bridge_type_t\fP \fBdownstream_type\fP"
+.br
+.ti -1c
+.RI "unsigned \fBdepth\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Bridge specific Object Attribues\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned hwloc_obj_attr_u::hwloc_bridge_attr_s::depth"
+
+.SS "unsigned short hwloc_obj_attr_u::hwloc_bridge_attr_s::domain"
+
+.SS "union { \&.\&.\&. } hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream"
+
+.SS "\fBhwloc_obj_bridge_type_t\fP hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream_type"
+
+.SS "struct { \&.\&.\&. } hwloc_obj_attr_u::hwloc_bridge_attr_s::pci"
+
+.SS "struct \fBhwloc_pcidev_attr_s\fP hwloc_obj_attr_u::hwloc_bridge_attr_s::pci"
+
+.SS "unsigned char hwloc_obj_attr_u::hwloc_bridge_attr_s::secondary_bus"
+
+.SS "unsigned char hwloc_obj_attr_u::hwloc_bridge_attr_s::subordinate_bus"
+
+.SS "union { \&.\&.\&. } hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream"
+
+.SS "\fBhwloc_obj_bridge_type_t\fP hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream_type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_obj_attr_u::hwloc_cache_attr_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_attr_u::hwloc_cache_attr_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "hwloc_uint64_t \fBsize\fP"
+.br
+.ti -1c
+.RI "unsigned \fBdepth\fP"
+.br
+.ti -1c
+.RI "unsigned \fBlinesize\fP"
+.br
+.ti -1c
+.RI "int \fBassociativity\fP"
+.br
+.ti -1c
+.RI "\fBhwloc_obj_cache_type_t\fP \fBtype\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Cache-specific Object Attributes\&.
+.SH "Field Documentation"
+.PP
+.SS "int hwloc_obj_attr_u::hwloc_cache_attr_s::associativity"
+
+.PP
+Ways of associativity, -1 if fully associative, 0 if unknown\&.
+.SS "unsigned hwloc_obj_attr_u::hwloc_cache_attr_s::depth"
+
+.PP
+Depth of cache (e\&.g\&., L1, L2, \&.\&.\&.etc\&.)
+.SS "unsigned hwloc_obj_attr_u::hwloc_cache_attr_s::linesize"
+
+.PP
+Cache-line size in bytes\&. 0 if unknown\&.
+.SS "hwloc_uint64_t hwloc_obj_attr_u::hwloc_cache_attr_s::size"
+
+.PP
+Size of cache in bytes\&.
+.SS "\fBhwloc_obj_cache_type_t\fP hwloc_obj_attr_u::hwloc_cache_attr_s::type"
+
+.PP
+Cache type\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_obj_attr_u::hwloc_group_attr_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_attr_u::hwloc_group_attr_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned \fBdepth\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBdont_merge\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Group-specific Object Attributes\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned hwloc_obj_attr_u::hwloc_group_attr_s::depth"
+
+.PP
+Depth of group object\&.
+.SS "unsigned char hwloc_obj_attr_u::hwloc_group_attr_s::dont_merge"
+
+.PP
+Flag preventing groups from being automatically merged with identical parent or children\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_obj_attr_u::hwloc_osdev_attr_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_attr_u::hwloc_osdev_attr_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_obj_osdev_type_t\fP \fBtype\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+OS Device specific Object Attributes\&.
+.SH "Field Documentation"
+.PP
+.SS "\fBhwloc_obj_osdev_type_t\fP hwloc_obj_attr_u::hwloc_osdev_attr_s::type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_obj_attr_u::hwloc_pcidev_attr_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_attr_u::hwloc_pcidev_attr_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned short \fBdomain\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBbus\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBdev\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBfunc\fP"
+.br
+.ti -1c
+.RI "unsigned short \fBclass_id\fP"
+.br
+.ti -1c
+.RI "unsigned short \fBvendor_id\fP"
+.br
+.ti -1c
+.RI "unsigned short \fBdevice_id\fP"
+.br
+.ti -1c
+.RI "unsigned short \fBsubvendor_id\fP"
+.br
+.ti -1c
+.RI "unsigned short \fBsubdevice_id\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBrevision\fP"
+.br
+.ti -1c
+.RI "float \fBlinkspeed\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+PCI Device specific Object Attributes\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::bus"
+
+.SS "unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::class_id"
+
+.SS "unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::dev"
+
+.SS "unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::device_id"
+
+.SS "unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::domain"
+
+.SS "unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::func"
+
+.SS "float hwloc_obj_attr_u::hwloc_pcidev_attr_s::linkspeed"
+
+.SS "unsigned char hwloc_obj_attr_u::hwloc_pcidev_attr_s::revision"
+
+.SS "unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::subdevice_id"
+
+.SS "unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::subvendor_id"
+
+.SS "unsigned short hwloc_obj_attr_u::hwloc_pcidev_attr_s::vendor_id"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_strings.3
--- /dev/null
+.so man3/hwlocality_info_attr.3
--- /dev/null
+.TH "hwloc_obj_info_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_info_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "char * \fBname\fP"
+.br
+.ti -1c
+.RI "char * \fBvalue\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Object info\&.
+
+
+.PP
+\fBSee also:\fP
+.RS 4
+\fBConsulting and Adding Key-Value Info Attributes\fP
+.RE
+.PP
+
+.SH "Field Documentation"
+.PP
+.SS "char* hwloc_obj_info_s::name"
+
+.PP
+Info name\&.
+.SS "char* hwloc_obj_info_s::value"
+
+.PP
+Info value\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_helper_ancestors.3
--- /dev/null
+.TH "hwloc_obj_memory_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_memory_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_obj_memory_page_type_s\fP"
+.br
+.in -1c
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "hwloc_uint64_t \fBtotal_memory\fP"
+.br
+.ti -1c
+.RI "hwloc_uint64_t \fBlocal_memory\fP"
+.br
+.ti -1c
+.RI "unsigned \fBpage_types_len\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_memory_s::hwloc_obj_memory_page_type_s\fP * \fBpage_types\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Object memory\&.
+.SH "Field Documentation"
+.PP
+.SS "hwloc_uint64_t hwloc_obj_memory_s::local_memory"
+
+.PP
+Local memory (in bytes)
+.SS "struct \fBhwloc_obj_memory_s::hwloc_obj_memory_page_type_s\fP * hwloc_obj_memory_s::page_types"
+
+.SS "unsigned hwloc_obj_memory_s::page_types_len"
+
+.PP
+Size of array \fCpage_types\fP\&.
+.SS "hwloc_uint64_t hwloc_obj_memory_s::total_memory"
+
+.PP
+Total memory (in bytes) in this object and its children\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_obj_memory_s::hwloc_obj_memory_page_type_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_obj_memory_s::hwloc_obj_memory_page_type_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "hwloc_uint64_t \fBsize\fP"
+.br
+.ti -1c
+.RI "hwloc_uint64_t \fBcount\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Array of local memory page types, \fCNULL\fP if no local memory and \fCpage_types\fP is 0\&.
+
+The array is sorted by increasing \fCsize\fP fields\&. It contains \fCpage_types_len\fP slots\&.
+.SH "Field Documentation"
+.PP
+.SS "hwloc_uint64_t hwloc_obj_memory_s::hwloc_obj_memory_page_type_s::count"
+
+.PP
+Number of pages of this size\&.
+.SS "hwloc_uint64_t hwloc_obj_memory_s::hwloc_obj_memory_page_type_s::size"
+
+.PP
+Size of pages\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_objects.3
--- /dev/null
+.so man3/hwlocality_object_strings.3
--- /dev/null
+.so man3/hwlocality_object_strings.3
--- /dev/null
+.so man3/hwlocality_object_strings.3
--- /dev/null
+.so man3/hwlocality_object_types.3
--- /dev/null
+.so man3/hwlocality_opencl.3
--- /dev/null
+.so man3/hwlocality_opencl.3
--- /dev/null
+.so man3/hwlocality_opencl.3
--- /dev/null
+.so man3/hwlocality_components_pci_funcs.3
--- /dev/null
+.so man3/hwlocality_components_pci_funcs.3
--- /dev/null
+.so man3/hwlocality_components_pci_funcs.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_components_core_funcs.3
--- /dev/null
+.so man3/hwlocality_tinker.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_membinding.3
--- /dev/null
+.so man3/hwlocality_cpubinding.3
--- /dev/null
+.so man3/hwlocality_creation.3
--- /dev/null
+.TH "hwloc_topology_cpubind_support" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_cpubind_support
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned char \fBset_thisproc_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_thisproc_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBset_proc_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_proc_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBset_thisthread_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_thisthread_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBset_thread_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_thread_cpubind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_thisproc_last_cpu_location\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_proc_last_cpu_location\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_thisthread_last_cpu_location\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Flags describing actual PU binding support for this topology\&.
+
+A flag may be set even if the feature isn't supported in all cases (e\&.g\&. binding to random sets of non-contiguous objects)\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned char hwloc_topology_cpubind_support::get_proc_cpubind"
+Getting the binding of a whole given process is supported\&.
+.SS "unsigned char hwloc_topology_cpubind_support::get_proc_last_cpu_location"
+Getting the last processors where a whole process ran is supported
+.SS "unsigned char hwloc_topology_cpubind_support::get_thisproc_cpubind"
+Getting the binding of the whole current process is supported\&.
+.SS "unsigned char hwloc_topology_cpubind_support::get_thisproc_last_cpu_location"
+Getting the last processors where the whole current process ran is supported
+.SS "unsigned char hwloc_topology_cpubind_support::get_thisthread_cpubind"
+Getting the binding of the current thread only is supported\&.
+.SS "unsigned char hwloc_topology_cpubind_support::get_thisthread_last_cpu_location"
+Getting the last processors where the current thread ran is supported
+.SS "unsigned char hwloc_topology_cpubind_support::get_thread_cpubind"
+Getting the binding of a given thread only is supported\&.
+.SS "unsigned char hwloc_topology_cpubind_support::set_proc_cpubind"
+Binding a whole given process is supported\&.
+.SS "unsigned char hwloc_topology_cpubind_support::set_thisproc_cpubind"
+Binding the whole current process is supported\&.
+.SS "unsigned char hwloc_topology_cpubind_support::set_thisthread_cpubind"
+Binding the current thread only is supported\&.
+.SS "unsigned char hwloc_topology_cpubind_support::set_thread_cpubind"
+Binding a given thread only is supported\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_creation.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.TH "hwloc_topology_diff_obj_attr_u" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_obj_attr_u
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_obj_attr_generic_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_obj_attr_string_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_obj_attr_uint64_s\fP"
+.br
+.in -1c
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s\fP \fBgeneric\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s\fP \fBuint64\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s\fP \fBstring\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+One object attribute difference\&.
+.SH "Field Documentation"
+.PP
+.SS "struct \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s\fP hwloc_topology_diff_obj_attr_u::generic"
+
+.SS "struct \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s\fP hwloc_topology_diff_obj_attr_u::string"
+
+.SS "struct \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s\fP hwloc_topology_diff_obj_attr_u::uint64"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_topology_diff_obj_attr_type_t\fP \fBtype\fP"
+.br
+.in -1c
+.SH "Field Documentation"
+.PP
+.SS "\fBhwloc_topology_diff_obj_attr_type_t\fP hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_generic_s::type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_topology_diff_obj_attr_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "char * \fBname\fP"
+.br
+.ti -1c
+.RI "char * \fBoldvalue\fP"
+.br
+.ti -1c
+.RI "char * \fBnewvalue\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+String attribute modification with an optional name\&.
+.SH "Field Documentation"
+.PP
+.SS "char* hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::name"
+
+.SS "char* hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::newvalue"
+
+.SS "char* hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::oldvalue"
+
+.SS "\fBhwloc_topology_diff_obj_attr_type_t\fP hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s::type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_topology_diff_obj_attr_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "hwloc_uint64_t \fBindex\fP"
+.br
+.ti -1c
+.RI "hwloc_uint64_t \fBoldvalue\fP"
+.br
+.ti -1c
+.RI "hwloc_uint64_t \fBnewvalue\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Integer attribute modification with an optional index\&.
+.SH "Field Documentation"
+.PP
+.SS "hwloc_uint64_t hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::index"
+
+.SS "hwloc_uint64_t hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::newvalue"
+
+.SS "hwloc_uint64_t hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::oldvalue"
+
+.SS "\fBhwloc_topology_diff_obj_attr_type_t\fP hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s::type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.so man3/hwlocality_diff.3
--- /dev/null
+.TH "hwloc_topology_diff_u" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_u
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_generic_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_obj_attr_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_too_complex_s\fP"
+.br
+.in -1c
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_u::hwloc_topology_diff_generic_s\fP \fBgeneric\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s\fP \fBobj_attr\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_diff_u::hwloc_topology_diff_too_complex_s\fP \fBtoo_complex\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+One element of a difference list between two topologies\&.
+.SH "Field Documentation"
+.PP
+.SS "struct \fBhwloc_topology_diff_u::hwloc_topology_diff_generic_s\fP hwloc_topology_diff_u::generic"
+
+.SS "struct \fBhwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s\fP hwloc_topology_diff_u::obj_attr"
+
+.SS "struct \fBhwloc_topology_diff_u::hwloc_topology_diff_too_complex_s\fP hwloc_topology_diff_u::too_complex"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_topology_diff_u::hwloc_topology_diff_generic_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_u::hwloc_topology_diff_generic_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_topology_diff_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "union \fBhwloc_topology_diff_u\fP * \fBnext\fP"
+.br
+.in -1c
+.SH "Field Documentation"
+.PP
+.SS "union \fBhwloc_topology_diff_u\fP* hwloc_topology_diff_u::hwloc_topology_diff_generic_s::next"
+
+.SS "\fBhwloc_topology_diff_type_t\fP hwloc_topology_diff_u::hwloc_topology_diff_generic_s::type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_topology_diff_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "union \fBhwloc_topology_diff_u\fP * \fBnext\fP"
+.br
+.ti -1c
+.RI "unsigned \fBobj_depth\fP"
+.br
+.ti -1c
+.RI "unsigned \fBobj_index\fP"
+.br
+.ti -1c
+.RI "union \fBhwloc_topology_diff_obj_attr_u\fP \fBdiff\fP"
+.br
+.in -1c
+.SH "Field Documentation"
+.PP
+.SS "union \fBhwloc_topology_diff_obj_attr_u\fP hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::diff"
+
+.SS "union \fBhwloc_topology_diff_u\fP* hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::next"
+
+.SS "unsigned hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::obj_depth"
+
+.SS "unsigned hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::obj_index"
+
+.SS "\fBhwloc_topology_diff_type_t\fP hwloc_topology_diff_u::hwloc_topology_diff_obj_attr_s::type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <diff\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_topology_diff_type_t\fP \fBtype\fP"
+.br
+.ti -1c
+.RI "union \fBhwloc_topology_diff_u\fP * \fBnext\fP"
+.br
+.ti -1c
+.RI "unsigned \fBobj_depth\fP"
+.br
+.ti -1c
+.RI "unsigned \fBobj_index\fP"
+.br
+.in -1c
+.SH "Field Documentation"
+.PP
+.SS "union \fBhwloc_topology_diff_u\fP* hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::next"
+
+.SS "unsigned hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::obj_depth"
+
+.SS "unsigned hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::obj_index"
+
+.SS "\fBhwloc_topology_diff_type_t\fP hwloc_topology_diff_u::hwloc_topology_diff_too_complex_s::type"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwloc_topology_discovery_support" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_discovery_support
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned char \fBpu\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Flags describing actual discovery support for this topology\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned char hwloc_topology_discovery_support::pu"
+
+.PP
+Detecting the number of PU objects is supported\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_creation.3
--- /dev/null
+.so man3/hwlocality_syntheticexport.3
--- /dev/null
+.so man3/hwlocality_syntheticexport.3
--- /dev/null
+.so man3/hwlocality_xmlexport.3
--- /dev/null
+.so man3/hwlocality_xmlexport.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_helper_topology_sets.3
--- /dev/null
+.so man3/hwlocality_helper_topology_sets.3
--- /dev/null
+.so man3/hwlocality_helper_topology_sets.3
--- /dev/null
+.so man3/hwlocality_helper_topology_sets.3
--- /dev/null
+.so man3/hwlocality_levels.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_helper_topology_sets.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_helper_topology_sets.3
--- /dev/null
+.so man3/hwlocality_helper_topology_sets.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_creation.3
--- /dev/null
+.so man3/hwlocality_tinker.3
--- /dev/null
+.so man3/hwlocality_tinker.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_creation.3
--- /dev/null
+.TH "hwloc_topology_membind_support" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_membind_support
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "unsigned char \fBset_thisproc_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_thisproc_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBset_proc_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_proc_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBset_thisthread_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_thisthread_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBset_area_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_area_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBalloc_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBfirsttouch_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBbind_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBinterleave_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBreplicate_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBnexttouch_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBmigrate_membind\fP"
+.br
+.ti -1c
+.RI "unsigned char \fBget_area_memlocation\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Flags describing actual memory binding support for this topology\&.
+
+A flag may be set even if the feature isn't supported in all cases (e\&.g\&. binding to random sets of non-contiguous objects)\&.
+.SH "Field Documentation"
+.PP
+.SS "unsigned char hwloc_topology_membind_support::alloc_membind"
+Allocating a bound memory area is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::bind_membind"
+Bind policy is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::firsttouch_membind"
+First-touch policy is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::get_area_membind"
+Getting the binding of a given memory area is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::get_area_memlocation"
+Getting the last NUMA nodes where a memory area was allocated is supported
+.SS "unsigned char hwloc_topology_membind_support::get_proc_membind"
+Getting the binding of a whole given process is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::get_thisproc_membind"
+Getting the binding of the whole current process is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::get_thisthread_membind"
+Getting the binding of the current thread only is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::interleave_membind"
+Interleave policy is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::migrate_membind"
+Migration flags is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::nexttouch_membind"
+Next-touch migration policy is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::replicate_membind"
+Replication policy is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::set_area_membind"
+Binding a given memory area is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::set_proc_membind"
+Binding a whole given process is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::set_thisproc_membind"
+Binding the whole current process is supported\&.
+.SS "unsigned char hwloc_topology_membind_support::set_thisthread_membind"
+Binding the current thread only is supported\&.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_tinker.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_xmlexport.3
--- /dev/null
+.so man3/hwlocality_xmlexport.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.so man3/hwlocality_configuration.3
--- /dev/null
+.TH "hwloc_topology_support" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwloc_topology_support
+.SH SYNOPSIS
+.br
+.PP
+.PP
+\fC#include <hwloc\&.h>\fP
+.SS "Data Fields"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_topology_discovery_support\fP * \fBdiscovery\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_cpubind_support\fP * \fBcpubind\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_membind_support\fP * \fBmembind\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Set of flags describing actual support for this topology\&.
+
+This is retrieved with \fBhwloc_topology_get_support()\fP and will be valid until the topology object is destroyed\&. Note: the values are correct only after discovery\&.
+.SH "Field Documentation"
+.PP
+.SS "struct \fBhwloc_topology_cpubind_support\fP* hwloc_topology_support::cpubind"
+
+.SS "struct \fBhwloc_topology_discovery_support\fP* hwloc_topology_support::discovery"
+
+.SS "struct \fBhwloc_topology_membind_support\fP* hwloc_topology_support::membind"
+
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.so man3/hwlocality_creation.3
--- /dev/null
+.TH "hwlocality_advanced_io" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_advanced_io
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_non_io_ancestor_obj\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP ioobj)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_pcidev\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP prev)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_pcidev_by_busid\fP (\fBhwloc_topology_t\fP topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_pcidev_by_busidstring\fP (\fBhwloc_topology_t\fP topology, const char *busid)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_osdev\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP prev)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_bridge\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP prev)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_bridge_covers_pcibus\fP (\fBhwloc_obj_t\fP bridge, unsigned domain, unsigned bus)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_hostbridge_by_pcibus\fP (\fBhwloc_topology_t\fP topology, unsigned domain, unsigned bus)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_bridge_covers_pcibus (\fBhwloc_obj_t\fP bridge, unsigned domain, unsigned bus)\fC [inline]\fP, \fC [static]\fP"
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_hostbridge_by_pcibus (\fBhwloc_topology_t\fP topology, unsigned domain, unsigned bus)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Find the hostbridge that covers the given PCI bus\&. This is useful for finding the locality of a bus because it is the hostbridge parent cpuset\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_bridge (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the next bridge in the system\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the first bridge if \fCprev\fP is \fCNULL\fP\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_osdev (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the next OS device in the system\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the first OS device if \fCprev\fP is \fCNULL\fP\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_pcidev (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the next PCI device in the system\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the first PCI device if \fCprev\fP is \fCNULL\fP\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_non_io_ancestor_obj (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP ioobj)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the first non-I/O ancestor object\&. Given the I/O object \fCioobj\fP, find the smallest non-I/O ancestor object\&. This regular object may then be used for binding because its locality is the same as \fCioobj\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_pcidev_by_busid (\fBhwloc_topology_t\fP topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_pcidev_by_busidstring (\fBhwloc_topology_t\fP topology, const char * busid)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Find the PCI device object matching the PCI bus id given as a string xxxx:yy:zz\&.t or yy:zz\&.t\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_api_version" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_api_version
+.SH SYNOPSIS
+.br
+.PP
+.SS "Macros"
+
+.in +1c
+.ti -1c
+.RI "#define \fBHWLOC_API_VERSION\fP 0x00010b06"
+.br
+.ti -1c
+.RI "#define \fBHWLOC_COMPONENT_ABI\fP 4"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "unsigned \fBhwloc_get_api_version\fP (void)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Macro Definition Documentation"
+.PP
+.SS "#define HWLOC_API_VERSION 0x00010b06"
+
+.PP
+Indicate at build time which hwloc API version is being used\&. This number is updated to (X<<16)+(Y<<8)+Z when a new release X\&.Y\&.Z actually modifies the API\&.
+.PP
+Users may check for available features at build time using this number (see \fBHow do I handle ABI breaks and API upgrades?\fP)\&.
+.SS "#define HWLOC_COMPONENT_ABI 4"
+
+.PP
+Current component and plugin ABI version (see \fBhwloc/plugins\&.h\fP)
+.SH "Function Documentation"
+.PP
+.SS "unsigned hwloc_get_api_version (void)"
+
+.PP
+Indicate at runtime which hwloc API version was used at build time\&. Should be \fBHWLOC_API_VERSION\fP if running on the same version\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_bitmap" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_bitmap
+.SH SYNOPSIS
+.br
+.PP
+.SS "Macros"
+
+.in +1c
+.ti -1c
+.RI "#define \fBhwloc_bitmap_foreach_begin\fP(id, bitmap)"
+.br
+.ti -1c
+.RI "#define \fBhwloc_bitmap_foreach_end\fP()"
+.br
+.in -1c
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef struct hwloc_bitmap_s * \fBhwloc_bitmap_t\fP"
+.br
+.ti -1c
+.RI "typedef const struct hwloc_bitmap_s * \fBhwloc_const_bitmap_t\fP"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_bitmap_t\fP \fBhwloc_bitmap_alloc\fP (void)"
+.br
+.ti -1c
+.RI "\fBhwloc_bitmap_t\fP \fBhwloc_bitmap_alloc_full\fP (void)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_free\fP (\fBhwloc_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "\fBhwloc_bitmap_t\fP \fBhwloc_bitmap_dup\fP (\fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_copy\fP (\fBhwloc_bitmap_t\fP dst, \fBhwloc_const_bitmap_t\fP src)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_snprintf\fP (char *restrict buf, size_t buflen, \fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_asprintf\fP (char **strp, \fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_sscanf\fP (\fBhwloc_bitmap_t\fP bitmap, const char *restrict string)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_list_snprintf\fP (char *restrict buf, size_t buflen, \fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_list_asprintf\fP (char **strp, \fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_list_sscanf\fP (\fBhwloc_bitmap_t\fP bitmap, const char *restrict string)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_taskset_snprintf\fP (char *restrict buf, size_t buflen, \fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_taskset_asprintf\fP (char **strp, \fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_taskset_sscanf\fP (\fBhwloc_bitmap_t\fP bitmap, const char *restrict string)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_zero\fP (\fBhwloc_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_fill\fP (\fBhwloc_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_only\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_allbut\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_from_ulong\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned long mask)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_from_ith_ulong\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned i, unsigned long mask)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_set\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_set_range\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned begin, int end)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_set_ith_ulong\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned i, unsigned long mask)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_clr\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_clr_range\fP (\fBhwloc_bitmap_t\fP bitmap, unsigned begin, int end)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_singlify\fP (\fBhwloc_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "unsigned long \fBhwloc_bitmap_to_ulong\fP (\fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "unsigned long \fBhwloc_bitmap_to_ith_ulong\fP (\fBhwloc_const_bitmap_t\fP bitmap, unsigned i)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_isset\fP (\fBhwloc_const_bitmap_t\fP bitmap, unsigned id)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_iszero\fP (\fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_isfull\fP (\fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_first\fP (\fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_next\fP (\fBhwloc_const_bitmap_t\fP bitmap, int prev)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_last\fP (\fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_weight\fP (\fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_or\fP (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_and\fP (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_andnot\fP (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_xor\fP (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.ti -1c
+.RI "void \fBhwloc_bitmap_not\fP (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_intersects\fP (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_isincluded\fP (\fBhwloc_const_bitmap_t\fP sub_bitmap, \fBhwloc_const_bitmap_t\fP super_bitmap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_isequal\fP (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_compare_first\fP (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.ti -1c
+.RI "int \fBhwloc_bitmap_compare\fP (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+The \fBhwloc_bitmap_t\fP type represents a set of integers (positive or null)\&. A bitmap may be of infinite size (all bits are set after some point)\&. A bitmap may even be full if all bits are set\&.
+.PP
+Bitmaps are used by hwloc for sets of OS processors (which may actually be hardware threads) as by \fBhwloc_cpuset_t\fP (a typedef for \fBhwloc_bitmap_t\fP), or sets of NUMA memory nodes as \fBhwloc_nodeset_t\fP (also a typedef for \fBhwloc_bitmap_t\fP)\&. Those are used for cpuset and nodeset fields in the \fBhwloc_obj\fP structure, see \fBObject Sets (hwloc_cpuset_t and hwloc_nodeset_t)\fP\&.
+.PP
+\fIBoth CPU and node sets are always indexed by OS physical number\&.\fP However users should usually not build CPU and node sets manually (e\&.g\&. with \fBhwloc_bitmap_set()\fP)\&. One should rather use existing object sets and combine them with \fBhwloc_bitmap_or()\fP, etc\&. For instance, binding the current thread on a pair of cores may be performed with:
+.PP
+.nf
+hwloc_obj_t core1 = \&.\&.\&. , core2 = \&.\&.\&. ;
+hwloc_bitmap_t set = hwloc_bitmap_alloc();
+hwloc_bitmap_or(set, core1->cpuset, core2->cpuset);
+hwloc_set_cpubind(topology, set, HWLOC_CPUBIND_THREAD);
+hwloc_bitmap_free(set);
+
+.fi
+.PP
+.PP
+\fBNote:\fP
+.RS 4
+Several examples of using the bitmap API are available under the doc/examples/ directory in the source tree\&. Regression tests such as tests/hwloc_bitmap*\&.c also make intensive use of this API\&.
+.RE
+.PP
+
+.SH "Macro Definition Documentation"
+.PP
+.SS "#define hwloc_bitmap_foreach_begin(id, bitmap)"
+
+.PP
+Loop macro iterating on bitmap \fCbitmap\fP\&. The loop must start with \fBhwloc_bitmap_foreach_begin()\fP and end with \fBhwloc_bitmap_foreach_end()\fP followed by a terminating ';'\&.
+.PP
+\fCindex\fP is the loop variable; it should be an unsigned int\&. The first iteration will set \fCindex\fP to the lowest index in the bitmap\&. Successive iterations will iterate through, in order, all remaining indexes set in the bitmap\&. To be specific: each iteration will return a value for \fCindex\fP such that hwloc_bitmap_isset(bitmap, index) is true\&.
+.PP
+The assert prevents the loop from being infinite if the bitmap is infinitely set\&.
+.SS "#define hwloc_bitmap_foreach_end()"
+
+.PP
+End of loop macro iterating on a bitmap\&. Needs a terminating ';'\&.
+.PP
+\fBSee also:\fP
+.RS 4
+\fBhwloc_bitmap_foreach_begin()\fP
+.RE
+.PP
+
+.SH "Typedef Documentation"
+.PP
+.SS "typedef struct hwloc_bitmap_s* \fBhwloc_bitmap_t\fP"
+
+.PP
+Set of bits represented as an opaque pointer to an internal bitmap\&.
+.SS "typedef const struct hwloc_bitmap_s* \fBhwloc_const_bitmap_t\fP"
+
+.PP
+a non-modifiable \fBhwloc_bitmap_t\fP
+.SH "Function Documentation"
+.PP
+.SS "void hwloc_bitmap_allbut (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+
+.PP
+Fill the bitmap \fCand\fP clear the index \fCid\fP\&.
+.SS "\fBhwloc_bitmap_t\fP hwloc_bitmap_alloc (void)"
+
+.PP
+Allocate a new empty bitmap\&.
+.PP
+\fBReturns:\fP
+.RS 4
+A valid bitmap or \fCNULL\fP\&.
+.RE
+.PP
+The bitmap should be freed by a corresponding call to \fBhwloc_bitmap_free()\fP\&.
+.SS "\fBhwloc_bitmap_t\fP hwloc_bitmap_alloc_full (void)"
+
+.PP
+Allocate a new full bitmap\&.
+.SS "void hwloc_bitmap_and (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+And bitmaps \fCbitmap1\fP and \fCbitmap2\fP and store the result in bitmap \fCres\fP\&. \fCres\fP can be the same as \fCbitmap1\fP or \fCbitmap2\fP
+.SS "void hwloc_bitmap_andnot (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+And bitmap \fCbitmap1\fP and the negation of \fCbitmap2\fP and store the result in bitmap \fCres\fP\&. \fCres\fP can be the same as \fCbitmap1\fP or \fCbitmap2\fP
+.SS "int hwloc_bitmap_asprintf (char ** strp, \fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Stringify a bitmap into a newly allocated string\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 on error\&.
+.RE
+.PP
+
+.SS "void hwloc_bitmap_clr (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+
+.PP
+Remove index \fCid\fP from bitmap \fCbitmap\fP\&.
+.SS "void hwloc_bitmap_clr_range (\fBhwloc_bitmap_t\fP bitmap, unsigned begin, int end)"
+
+.PP
+Remove indexes from \fCbegin\fP to \fCend\fP in bitmap \fCbitmap\fP\&. If \fCend\fP is \fC-1\fP, the range is infinite\&.
+.SS "int hwloc_bitmap_compare (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+Compare bitmaps \fCbitmap1\fP and \fCbitmap2\fP in lexicographic order\&. Lexicographic comparison of bitmaps, starting for their highest indexes\&. Compare last indexes first, then second, etc\&. The empty bitmap is considered lower than anything\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if \fCbitmap1\fP is considered smaller than \fCbitmap2\fP\&.
+.PP
+1 if \fCbitmap1\fP is considered larger than \fCbitmap2\fP\&.
+.PP
+0 if bitmaps are equal (contrary to \fBhwloc_bitmap_compare_first()\fP)\&.
+.RE
+.PP
+For instance comparing binary bitmaps 0011 and 0110 returns -1 (hence 0011 is considered smaller than 0110)\&. Comparing 00101 and 01010 returns -1 too\&.
+.PP
+\fBNote:\fP
+.RS 4
+This is different from the non-existing hwloc_bitmap_compare_last() which would only compare the highest index of each bitmap\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_compare_first (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+Compare bitmaps \fCbitmap1\fP and \fCbitmap2\fP using their lowest index\&. A bitmap is considered smaller if its least significant bit is smaller\&. The empty bitmap is considered higher than anything (because its least significant bit does not exist)\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if \fCbitmap1\fP is considered smaller than \fCbitmap2\fP\&.
+.PP
+1 if \fCbitmap1\fP is considered larger than \fCbitmap2\fP\&.
+.RE
+.PP
+For instance comparing binary bitmaps 0011 and 0110 returns -1 (hence 0011 is considered smaller than 0110) because least significant bit of 0011 (0001) is smaller than least significant bit of 0110 (0010)\&. Comparing 01001 and 00110 would also return -1 for the same reason\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 if bitmaps are considered equal, even if they are not strictly equal\&. They just need to have the same least significant bit\&. For instance, comparing binary bitmaps 0010 and 0110 returns 0 because they have the same least significant bit\&.
+.RE
+.PP
+
+.SS "void hwloc_bitmap_copy (\fBhwloc_bitmap_t\fP dst, \fBhwloc_const_bitmap_t\fP src)"
+
+.PP
+Copy the contents of bitmap \fCsrc\fP into the already allocated bitmap \fCdst\fP\&.
+.SS "\fBhwloc_bitmap_t\fP hwloc_bitmap_dup (\fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Duplicate bitmap \fCbitmap\fP by allocating a new bitmap and copying \fCbitmap\fP contents\&. If \fCbitmap\fP is \fCNULL\fP, \fCNULL\fP is returned\&.
+.SS "void hwloc_bitmap_fill (\fBhwloc_bitmap_t\fP bitmap)"
+
+.PP
+Fill bitmap \fCbitmap\fP with all possible indexes (even if those objects don't exist or are otherwise unavailable)
+.SS "int hwloc_bitmap_first (\fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Compute the first index (least significant bit) in bitmap \fCbitmap\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if no index is set in \fCbitmap\fP\&.
+.RE
+.PP
+
+.SS "void hwloc_bitmap_free (\fBhwloc_bitmap_t\fP bitmap)"
+
+.PP
+Free bitmap \fCbitmap\fP\&. If \fCbitmap\fP is \fCNULL\fP, no operation is performed\&.
+.SS "void hwloc_bitmap_from_ith_ulong (\fBhwloc_bitmap_t\fP bitmap, unsigned i, unsigned long mask)"
+
+.PP
+Setup bitmap \fCbitmap\fP from unsigned long \fCmask\fP used as \fCi\fP -th subset\&.
+.SS "void hwloc_bitmap_from_ulong (\fBhwloc_bitmap_t\fP bitmap, unsigned long mask)"
+
+.PP
+Setup bitmap \fCbitmap\fP from unsigned long \fCmask\fP\&.
+.SS "int hwloc_bitmap_intersects (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+Test whether bitmaps \fCbitmap1\fP and \fCbitmap2\fP intersects\&.
+.PP
+\fBReturns:\fP
+.RS 4
+1 if bitmaps intersect, 0 otherwise\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_isequal (\fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+Test whether bitmap \fCbitmap1\fP is equal to bitmap \fCbitmap2\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+1 if bitmaps are equal, 0 otherwise\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_isfull (\fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Test whether bitmap \fCbitmap\fP is completely full\&.
+.PP
+\fBReturns:\fP
+.RS 4
+1 if bitmap is full, 0 otherwise\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+A full bitmap is always infinitely set\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_isincluded (\fBhwloc_const_bitmap_t\fP sub_bitmap, \fBhwloc_const_bitmap_t\fP super_bitmap)"
+
+.PP
+Test whether bitmap \fCsub_bitmap\fP is part of bitmap \fCsuper_bitmap\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+1 if \fCsub_bitmap\fP is included in \fCsuper_bitmap\fP, 0 otherwise\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The empty bitmap is considered included in any other bitmap\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_isset (\fBhwloc_const_bitmap_t\fP bitmap, unsigned id)"
+
+.PP
+Test whether index \fCid\fP is part of bitmap \fCbitmap\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+1 if the bit at index \fCid\fP is set in bitmap \fCbitmap\fP, 0 otherwise\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_iszero (\fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Test whether bitmap \fCbitmap\fP is empty\&.
+.PP
+\fBReturns:\fP
+.RS 4
+1 if bitmap is empty, 0 otherwise\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_last (\fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Compute the last index (most significant bit) in bitmap \fCbitmap\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if no index is set in \fCbitmap\fP, or if \fCbitmap\fP is infinitely set\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_list_asprintf (char ** strp, \fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Stringify a bitmap into a newly allocated list string\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 on error\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_list_snprintf (char *restrict buf, size_t buflen, \fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Stringify a bitmap in the list format\&. Lists are comma-separated indexes or ranges\&. Ranges are dash separated indexes\&. The last range may not have an ending indexes if the bitmap is infinitely set\&.
+.PP
+Up to \fCbuflen\fP characters may be written in buffer \fCbuf\fP\&.
+.PP
+If \fCbuflen\fP is 0, \fCbuf\fP may safely be \fCNULL\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of character that were actually written if not truncating, or that would have been written (not including the ending \\0)\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_list_sscanf (\fBhwloc_bitmap_t\fP bitmap, const char *restrict string)"
+
+.PP
+Parse a list string and stores it in bitmap \fCbitmap\fP\&.
+.SS "int hwloc_bitmap_next (\fBhwloc_const_bitmap_t\fP bitmap, int prev)"
+
+.PP
+Compute the next index in bitmap \fCbitmap\fP which is after index \fCprev\fP\&. If \fCprev\fP is -1, the first index is returned\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if no index with higher index is set in \fCbitmap\fP\&.
+.RE
+.PP
+
+.SS "void hwloc_bitmap_not (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Negate bitmap \fCbitmap\fP and store the result in bitmap \fCres\fP\&. \fCres\fP can be the same as \fCbitmap\fP
+.SS "void hwloc_bitmap_only (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+
+.PP
+Empty the bitmap \fCbitmap\fP and add bit \fCid\fP\&.
+.SS "void hwloc_bitmap_or (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+Or bitmaps \fCbitmap1\fP and \fCbitmap2\fP and store the result in bitmap \fCres\fP\&. \fCres\fP can be the same as \fCbitmap1\fP or \fCbitmap2\fP
+.SS "void hwloc_bitmap_set (\fBhwloc_bitmap_t\fP bitmap, unsigned id)"
+
+.PP
+Add index \fCid\fP in bitmap \fCbitmap\fP\&.
+.SS "void hwloc_bitmap_set_ith_ulong (\fBhwloc_bitmap_t\fP bitmap, unsigned i, unsigned long mask)"
+
+.PP
+Replace \fCi\fP -th subset of bitmap \fCbitmap\fP with unsigned long \fCmask\fP\&.
+.SS "void hwloc_bitmap_set_range (\fBhwloc_bitmap_t\fP bitmap, unsigned begin, int end)"
+
+.PP
+Add indexes from \fCbegin\fP to \fCend\fP in bitmap \fCbitmap\fP\&. If \fCend\fP is \fC-1\fP, the range is infinite\&.
+.SS "void hwloc_bitmap_singlify (\fBhwloc_bitmap_t\fP bitmap)"
+
+.PP
+Keep a single index among those set in bitmap \fCbitmap\fP\&. May be useful before binding so that the process does not have a chance of migrating between multiple logical CPUs in the original mask\&. Instead of running the task on any PU inside the given CPU set, the operating system scheduler will be forced to run it on a single of these PUs\&. It avoids a migration overhead and cache-line ping-pongs between PUs\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function is NOT meant to distribute multiple processes within a single CPU set\&. It always return the same single bit when called multiple times on the same input set\&. \fBhwloc_distrib()\fP may be used for generating CPU sets to distribute multiple tasks below a single multi-PU object\&.
+.PP
+This function cannot be applied to an object set directly\&. It should be applied to a copy (which may be obtained with \fBhwloc_bitmap_dup()\fP)\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_snprintf (char *restrict buf, size_t buflen, \fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Stringify a bitmap\&. Up to \fCbuflen\fP characters may be written in buffer \fCbuf\fP\&.
+.PP
+If \fCbuflen\fP is 0, \fCbuf\fP may safely be \fCNULL\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of character that were actually written if not truncating, or that would have been written (not including the ending \\0)\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_sscanf (\fBhwloc_bitmap_t\fP bitmap, const char *restrict string)"
+
+.PP
+Parse a bitmap string and stores it in bitmap \fCbitmap\fP\&.
+.SS "int hwloc_bitmap_taskset_asprintf (char ** strp, \fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Stringify a bitmap into a newly allocated taskset-specific string\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 on error\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_taskset_snprintf (char *restrict buf, size_t buflen, \fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Stringify a bitmap in the taskset-specific format\&. The taskset command manipulates bitmap strings that contain a single (possible very long) hexadecimal number starting with 0x\&.
+.PP
+Up to \fCbuflen\fP characters may be written in buffer \fCbuf\fP\&.
+.PP
+If \fCbuflen\fP is 0, \fCbuf\fP may safely be \fCNULL\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of character that were actually written if not truncating, or that would have been written (not including the ending \\0)\&.
+.RE
+.PP
+
+.SS "int hwloc_bitmap_taskset_sscanf (\fBhwloc_bitmap_t\fP bitmap, const char *restrict string)"
+
+.PP
+Parse a taskset-specific bitmap string and stores it in bitmap \fCbitmap\fP\&.
+.SS "unsigned long hwloc_bitmap_to_ith_ulong (\fBhwloc_const_bitmap_t\fP bitmap, unsigned i)"
+
+.PP
+Convert the \fCi\fP -th subset of bitmap \fCbitmap\fP into unsigned long mask\&.
+.SS "unsigned long hwloc_bitmap_to_ulong (\fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Convert the beginning part of bitmap \fCbitmap\fP into unsigned long \fCmask\fP\&.
+.SS "int hwloc_bitmap_weight (\fBhwloc_const_bitmap_t\fP bitmap)"
+
+.PP
+Compute the 'weight' of bitmap \fCbitmap\fP (i\&.e\&., number of indexes that are in the bitmap)\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of indexes that are in the bitmap\&.
+.PP
+-1 if \fCbitmap\fP is infinitely set\&.
+.RE
+.PP
+
+.SS "void hwloc_bitmap_xor (\fBhwloc_bitmap_t\fP res, \fBhwloc_const_bitmap_t\fP bitmap1, \fBhwloc_const_bitmap_t\fP bitmap2)"
+
+.PP
+Xor bitmaps \fCbitmap1\fP and \fCbitmap2\fP and store the result in bitmap \fCres\fP\&. \fCres\fP can be the same as \fCbitmap1\fP or \fCbitmap2\fP
+.SS "void hwloc_bitmap_zero (\fBhwloc_bitmap_t\fP bitmap)"
+
+.PP
+Empty the bitmap \fCbitmap\fP\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_components_core_funcs" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_components_core_funcs
+.SH SYNOPSIS
+.br
+.PP
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef void(* \fBhwloc_report_error_t\fP) (const char *msg, int line)"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBhwloc_insert_object_by_cpuset\fP (struct hwloc_topology *topology, \fBhwloc_obj_t\fP obj)"
+.br
+.ti -1c
+.RI "void \fBhwloc_report_os_error\fP (const char *msg, int line)"
+.br
+.ti -1c
+.RI "int \fBhwloc_hide_errors\fP (void)"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP * \fBhwloc__insert_object_by_cpuset\fP (struct hwloc_topology *topology, \fBhwloc_obj_t\fP obj, \fBhwloc_report_error_t\fP report_error)"
+.br
+.ti -1c
+.RI "void \fBhwloc_insert_object_by_parent\fP (struct hwloc_topology *topology, \fBhwloc_obj_t\fP parent, \fBhwloc_obj_t\fP obj)"
+.br
+.ti -1c
+.RI "static struct \fBhwloc_obj\fP * \fBhwloc_alloc_setup_object\fP (\fBhwloc_obj_type_t\fP type, signed os_index)"
+.br
+.ti -1c
+.RI "int \fBhwloc_fill_object_sets\fP (\fBhwloc_obj_t\fP obj)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_plugin_check_namespace\fP (const char *pluginname, const char *symbol)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Typedef Documentation"
+.PP
+.SS "typedef void(* hwloc_report_error_t) (const char *msg, int line)"
+
+.PP
+Type of error callbacks during object insertion\&.
+.SH "Function Documentation"
+.PP
+.SS "struct \fBhwloc_obj\fP* hwloc__insert_object_by_cpuset (struct hwloc_topology * topology, \fBhwloc_obj_t\fP obj, \fBhwloc_report_error_t\fP report_error)"
+
+.PP
+Add an object to the topology and specify which error callback to use\&. Aside from the error callback selection, this function is identical to \fBhwloc_insert_object_by_cpuset()\fP
+.SS "static struct \fBhwloc_obj\fP* hwloc_alloc_setup_object (\fBhwloc_obj_type_t\fP type, signed os_index)\fC [static]\fP"
+
+.PP
+Allocate and initialize an object of the given type and physical index\&.
+.SS "int hwloc_fill_object_sets (\fBhwloc_obj_t\fP obj)"
+
+.PP
+Setup object cpusets/nodesets by OR'ing its children\&. Used when adding an object late in the topology, after propagating sets up and down\&. The caller should use this after inserting by cpuset (which means the cpusets is already OK)\&. Typical case: PCI backend adding a hostbridge parent\&.
+.SS "int hwloc_hide_errors (void)"
+
+.PP
+Check whether insertion errors are hidden\&.
+.SS "struct \fBhwloc_obj\fP* hwloc_insert_object_by_cpuset (struct hwloc_topology * topology, \fBhwloc_obj_t\fP obj)"
+
+.PP
+Add an object to the topology\&. It is sorted along the tree of other objects according to the inclusion of cpusets, to eventually be added as a child of the smallest object including this object\&.
+.PP
+If the cpuset is empty, the type of the object (and maybe some attributes) must be enough to find where to insert the object\&. This is especially true for NUMA nodes with memory and no CPUs\&.
+.PP
+The given object should not have children\&.
+.PP
+This shall only be called before levels are built\&.
+.PP
+In case of error, \fBhwloc_report_os_error()\fP is called\&.
+.PP
+Returns the object on success\&. Returns NULL and frees obj on error\&. Returns another object and frees obj if it was merged with an identical pre-existing object\&.
+.SS "void hwloc_insert_object_by_parent (struct hwloc_topology * topology, \fBhwloc_obj_t\fP parent, \fBhwloc_obj_t\fP obj)"
+
+.PP
+Insert an object somewhere in the topology\&. It is added as the last child of the given parent\&. The cpuset is completely ignored, so strange objects such as I/O devices should preferably be inserted with this\&.
+.PP
+When used for 'normal' children with cpusets (when importing from XML when duplicating a topology), the caller should make sure children are inserted in order\&.
+.PP
+The given object may have children\&.
+.PP
+Remember to call topology_connect() afterwards to fix handy pointers\&.
+.SS "static int hwloc_plugin_check_namespace (const char * pluginname, const char * symbol)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Make sure that plugins can lookup core symbols\&. This is a sanity check to avoid lazy-lookup failures when libhwloc is loaded within a plugin, and later tries to load its own plugins\&. This may fail (and abort the program) if libhwloc symbols are in a private namespace\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 on success\&.
+.PP
+-1 if the plugin cannot be successfully loaded\&. The caller plugin init() callback should return a negative error code as well\&.
+.RE
+.PP
+Plugins should call this function in their init() callback to avoid later crashes if lazy symbol resolution is used by the upper layer that loaded hwloc (e\&.g\&. OpenCL implementations using dlopen with RTLD_LAZY)\&.
+.PP
+\fBNote:\fP
+.RS 4
+The build system must define HWLOC_INSIDE_PLUGIN if and only if building the caller as a plugin\&.
+.PP
+This function should remain inline so plugins can call it even when they cannot find libhwloc symbols\&.
+.RE
+.PP
+
+.SS "void hwloc_report_os_error (const char * msg, int line)"
+
+.PP
+Report an insertion error from a backend\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_components_pci_funcs" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_components_pci_funcs
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_insert_pci_device_list\fP (struct \fBhwloc_backend\fP *backend, struct \fBhwloc_obj\fP *first_obj)"
+.br
+.ti -1c
+.RI "unsigned \fBhwloc_pci_find_cap\fP (const unsigned char *config, unsigned cap)"
+.br
+.ti -1c
+.RI "int \fBhwloc_pci_find_linkspeed\fP (const unsigned char *config, unsigned offset, float *linkspeed)"
+.br
+.ti -1c
+.RI "int \fBhwloc_pci_prepare_bridge\fP (\fBhwloc_obj_t\fP obj, const unsigned char *config)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_insert_pci_device_list (struct \fBhwloc_backend\fP * backend, struct \fBhwloc_obj\fP * first_obj)"
+
+.PP
+Insert a list of PCI devices and bridges in the backend topology\&. Insert a list of objects (either PCI device or bridges) starting at first_obj (linked by next_sibling in the topology, and ending with NULL)\&. Objects are placed under the right bridges, and the remaining upstream bridges are then inserted in the topology by calling the get_obj_cpuset() callback to find their locality\&.
+.SS "unsigned hwloc_pci_find_cap (const unsigned char * config, unsigned cap)"
+
+.PP
+Return the offset of the given capability in the PCI config space buffer\&. This function requires a 256-bytes config space\&. Unknown/unavailable bytes should be set to 0xff\&.
+.SS "int hwloc_pci_find_linkspeed (const unsigned char * config, unsigned offset, float * linkspeed)"
+
+.PP
+Fill linkspeed by reading the PCI config space where PCI_CAP_ID_EXP is at position offset\&. Needs 20 bytes of EXP capability block starting at offset in the config space for registers up to link status\&.
+.SS "int hwloc_pci_prepare_bridge (\fBhwloc_obj_t\fP obj, const unsigned char * config)"
+
+.PP
+Modify the PCI device object into a bridge and fill its attribute if a bridge is found in the PCI config space\&. This function requires 64 bytes of common configuration header at the beginning of config\&.
+.PP
+Returns -1 and destroys /p obj if bridge fields are invalid\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_configuration" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_configuration
+.SH SYNOPSIS
+.br
+.PP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_topology_discovery_support\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_cpubind_support\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_membind_support\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_topology_support\fP"
+.br
+.in -1c
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_topology_flags_e\fP { \fBHWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM\fP, \fBHWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM\fP, \fBHWLOC_TOPOLOGY_FLAG_IO_DEVICES\fP, \fBHWLOC_TOPOLOGY_FLAG_IO_BRIDGES\fP, \fBHWLOC_TOPOLOGY_FLAG_WHOLE_IO\fP, \fBHWLOC_TOPOLOGY_FLAG_ICACHES\fP, \fBHWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_topology_ignore_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_ignore_type_keep_structure\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_ignore_all_keep_structure\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_flags\fP (\fBhwloc_topology_t\fP topology, unsigned long flags)"
+.br
+.ti -1c
+.RI "unsigned long \fBhwloc_topology_get_flags\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_pid\fP (\fBhwloc_topology_t\fP restrict topology, hwloc_pid_t pid)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_fsroot\fP (\fBhwloc_topology_t\fP restrict topology, const char *restrict fsroot_path)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_synthetic\fP (\fBhwloc_topology_t\fP restrict topology, const char *restrict description)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_xml\fP (\fBhwloc_topology_t\fP restrict topology, const char *restrict xmlpath)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_xmlbuffer\fP (\fBhwloc_topology_t\fP restrict topology, const char *restrict buffer, int size)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_custom\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_set_distance_matrix\fP (\fBhwloc_topology_t\fP restrict topology, \fBhwloc_obj_type_t\fP type, unsigned nbobjs, unsigned *os_index, float *distances)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_is_thissystem\fP (\fBhwloc_topology_t\fP restrict topology)"
+.br
+.ti -1c
+.RI "const struct \fBhwloc_topology_support\fP * \fBhwloc_topology_get_support\fP (\fBhwloc_topology_t\fP restrict topology)"
+.br
+.ti -1c
+.RI "void \fBhwloc_topology_set_userdata\fP (\fBhwloc_topology_t\fP topology, const void *userdata)"
+.br
+.ti -1c
+.RI "void * \fBhwloc_topology_get_userdata\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Several functions can optionally be called between \fBhwloc_topology_init()\fP and \fBhwloc_topology_load()\fP to configure how the detection should be performed, e\&.g\&. to ignore some objects types, define a synthetic topology, etc\&.
+.PP
+If none of them is called, the default is to detect all the objects of the machine that the caller is allowed to access\&.
+.PP
+This default behavior may also be modified through environment variables if the application did not modify it already\&. Setting HWLOC_XMLFILE in the environment enforces the discovery from a XML file as if \fBhwloc_topology_set_xml()\fP had been called\&. HWLOC_FSROOT switches to reading the topology from the specified Linux filesystem root as if \fBhwloc_topology_set_fsroot()\fP had been called\&. Finally, HWLOC_THISSYSTEM enforces the return value of \fBhwloc_topology_is_thissystem()\fP\&.
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_topology_flags_e\fP"
+
+.PP
+Flags to be set onto a topology context before load\&. Flags should be given to \fBhwloc_topology_set_flags()\fP\&. They may also be returned by \fBhwloc_topology_get_flags()\fP\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM \fP\fP
+Detect the whole system, ignore reservations and offline settings\&. Gather all resources, even if some were disabled by the administrator\&. For instance, ignore Linux Cgroup/Cpusets and gather all processors and memory nodes, and ignore the fact that some resources may be offline\&.
+.PP
+When this flag is not set, PUs that are disallowed are not added to the topology\&. Parent objects (package, core, cache, etc\&.) are added only if some of their children are allowed\&. NUMA nodes are always added but their available memory is set to 0 when disallowed\&.
+.PP
+If the current topology is exported to XML and reimported later, this flag should be set again in the reimported topology so that disallowed resources are reimported as well\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM \fP\fP
+Assume that the selected backend provides the topology for the system on which we are running\&. This forces \fBhwloc_topology_is_thissystem()\fP to return 1, i\&.e\&. makes hwloc assume that the selected backend provides the topology for the system on which we are running, even if it is not the OS-specific backend but the XML backend for instance\&. This means making the binding functions actually call the OS-specific system calls and really do binding, while the XML backend would otherwise provide empty hooks just returning success\&.
+.PP
+Setting the environment variable HWLOC_THISSYSTEM may also result in the same behavior\&.
+.PP
+This can be used for efficiency reasons to first detect the topology once, save it to an XML file, and quickly reload it later through the XML backend, but still having binding functions actually do bind\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_FLAG_IO_DEVICES \fP\fP
+Detect PCI devices\&. By default, I/O devices are ignored\&. This flag enables I/O device detection using the pci backend\&. Only the common PCI devices (GPUs, NICs, block devices, \&.\&.\&.) and host bridges (objects that connect the host objects to an I/O subsystem) will be added to the topology\&. Additionally it also enables MemoryModule misc objects\&. Uncommon devices and other bridges (such as PCI-to-PCI bridges) will be ignored\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_FLAG_IO_BRIDGES \fP\fP
+Detect PCI bridges\&. This flag should be combined with \fBHWLOC_TOPOLOGY_FLAG_IO_DEVICES\fP to enable the detection of both common devices and of all useful bridges (bridges that have at least one device behind them)\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_FLAG_WHOLE_IO \fP\fP
+Detect the whole PCI hierarchy\&. This flag enables detection of all I/O devices (even the uncommon ones such as DMA channels) and bridges (even those that have no device behind them) using the pci backend\&. This implies \fBHWLOC_TOPOLOGY_FLAG_IO_DEVICES\fP\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_FLAG_ICACHES \fP\fP
+Detect instruction caches\&. This flag enables detection of Instruction caches, instead of only Data and Unified caches\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES \fP\fP
+Get the set of allowed resources from the local operating system even if the topology was loaded from XML or synthetic description\&. If the topology was loaded from XML or from a synthetic string, restrict it by applying the current process restrictions such as Linux Cgroup/Cpuset\&.
+.PP
+This is useful when the topology is not loaded directly from the local machine (e\&.g\&. for performance reason) and it comes with all resources, while the running process is restricted to only parts of the machine\&.
+.PP
+This flag is ignored unless \fBHWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM\fP is also set since the loaded topology must match the underlying machine where restrictions will be gathered from\&.
+.PP
+Setting the environment variable HWLOC_THISSYSTEM_ALLOWED_RESOURCES would result in the same behavior\&.
+.SH "Function Documentation"
+.PP
+.SS "unsigned long hwloc_topology_get_flags (\fBhwloc_topology_t\fP topology)"
+
+.PP
+Get OR'ed flags of a topology\&. Get the OR'ed set of \fBhwloc_topology_flags_e\fP of a topology\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the flags previously set with \fBhwloc_topology_set_flags()\fP\&.
+.RE
+.PP
+
+.SS "const struct \fBhwloc_topology_support\fP* hwloc_topology_get_support (\fBhwloc_topology_t\fP restrict topology)"
+
+.PP
+Retrieve the topology support\&. Each flag indicates whether a feature is supported\&. If set to 0, the feature is not supported\&. If set to 1, the feature is supported, but the corresponding call may still fail in some corner cases\&.
+.PP
+These features are also listed by hwloc-info --support
+.SS "void* hwloc_topology_get_userdata (\fBhwloc_topology_t\fP topology)"
+
+.PP
+Retrieve the topology-specific userdata pointer\&. Retrieve the application-given private data pointer that was previously set with \fBhwloc_topology_set_userdata()\fP\&.
+.SS "int hwloc_topology_ignore_all_keep_structure (\fBhwloc_topology_t\fP topology)"
+
+.PP
+Ignore all objects that do not bring any structure\&. Ignore all objects that do not bring any structure: This is equivalent to calling \fBhwloc_topology_ignore_type_keep_structure()\fP for all object types\&.
+.SS "int hwloc_topology_ignore_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+
+.PP
+Ignore an object type\&. Ignore all objects from the given type\&. The bottom-level type \fBHWLOC_OBJ_PU\fP may not be ignored\&. The top-level object of the hierarchy will never be ignored, even if this function succeeds\&. Group objects are always ignored if they do not bring any structure since they are designed to add structure to the topology\&. I/O objects may not be ignored, topology flags should be used to configure their discovery instead\&.
+.SS "int hwloc_topology_ignore_type_keep_structure (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+
+.PP
+Ignore an object type if it does not bring any structure\&. Ignore all objects from the given type as long as they do not bring any structure: Each ignored object should have a single children or be the only child of its parent\&. The bottom-level type \fBHWLOC_OBJ_PU\fP may not be ignored\&. I/O objects may not be ignored, topology flags should be used to configure their discovery instead\&.
+.SS "int hwloc_topology_is_thissystem (\fBhwloc_topology_t\fP restrict topology)"
+
+.PP
+Does the topology context come from this system?
+.PP
+\fBReturns:\fP
+.RS 4
+1 if this topology context was built using the system running this program\&.
+.PP
+0 instead (for instance if using another file-system root, a XML topology file, or a synthetic topology)\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_set_custom (\fBhwloc_topology_t\fP topology)"
+
+.PP
+Prepare the topology for custom assembly\&. The topology then contains a single root object\&. It must then be built by inserting other topologies with \fBhwloc_custom_insert_topology()\fP or single objects with \fBhwloc_custom_insert_group_object_by_parent()\fP\&. \fBhwloc_topology_load()\fP must be called to finalize the new topology as usual\&.
+.PP
+\fBNote:\fP
+.RS 4
+If nothing is inserted in the topology, \fBhwloc_topology_load()\fP will fail with errno set to EINVAL\&.
+.PP
+The cpuset and nodeset of the root object are NULL because these sets are meaningless when assembling multiple topologies\&.
+.PP
+On success, the custom component replaces the previously enabled component (if any), but the topology is not actually modified until \fBhwloc_topology_load()\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_set_distance_matrix (\fBhwloc_topology_t\fP restrict topology, \fBhwloc_obj_type_t\fP type, unsigned nbobjs, unsigned * os_index, float * distances)"
+
+.PP
+Provide a distance matrix\&. Provide the matrix of distances between a set of objects of the given type\&. \fCnbobjs\fP must be at least 2\&. The set may or may not contain all the existing objects of this type\&. The objects are specified by their OS/physical index in the \fCos_index\fP array\&. The \fCdistances\fP matrix follows the same order\&. The distance from object i to object j in the i*nbobjs+j\&.
+.PP
+A single latency matrix may be defined for each type\&. If another distance matrix already exists for the given type, either because the user specified it or because the OS offers it, it will be replaced by the given one\&. If \fCnbobjs\fP is \fC0\fP, \fCos_index\fP is \fCNULL\fP and \fCdistances\fP is \fCNULL\fP, the existing distance matrix for the given type is removed\&.
+.PP
+\fBNote:\fP
+.RS 4
+Distance matrices are ignored in multi-node topologies\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_set_flags (\fBhwloc_topology_t\fP topology, unsigned long flags)"
+
+.PP
+Set OR'ed flags to non-yet-loaded topology\&. Set a OR'ed set of \fBhwloc_topology_flags_e\fP onto a topology that was not yet loaded\&.
+.PP
+If this function is called multiple times, the last invokation will erase and replace the set of flags that was previously set\&.
+.PP
+The flags set in a topology may be retrieved with \fBhwloc_topology_get_flags()\fP
+.SS "int hwloc_topology_set_fsroot (\fBhwloc_topology_t\fP restrict topology, const char *restrict fsroot_path)"
+
+.PP
+Change the file-system root path when building the topology from sysfs/procfs\&. On Linux system, use sysfs and procfs files as if they were mounted on the given \fCfsroot_path\fP instead of the main file-system root\&. Setting the environment variable HWLOC_FSROOT may also result in this behavior\&. Not using the main file-system root causes \fBhwloc_topology_is_thissystem()\fP to return 0\&.
+.PP
+Note that this function does not actually load topology information; it just tells hwloc where to load it from\&. You'll still need to invoke \fBhwloc_topology_load()\fP to actually load the topology information\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to ENOSYS on non-Linux and on Linux systems that do not support it\&.
+.PP
+-1 with the appropriate errno if \fCfsroot_path\fP cannot be used\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+For convenience, this backend provides empty binding hooks which just return success\&. To have hwloc still actually call OS-specific hooks, the \fBHWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM\fP has to be set to assert that the loaded file is really the underlying system\&.
+.PP
+On success, the Linux component replaces the previously enabled component (if any), but the topology is not actually modified until \fBhwloc_topology_load()\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_set_pid (\fBhwloc_topology_t\fP restrict topology, hwloc_pid_t pid)"
+
+.PP
+Change which process the topology is viewed from\&. On some systems, processes may have different views of the machine, for instance the set of allowed CPUs\&. By default, hwloc exposes the view from the current process\&. Calling \fBhwloc_topology_set_pid()\fP permits to make it expose the topology of the machine from the point of view of another process\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.PP
+-1 is returned and errno is set to ENOSYS on platforms that do not support this feature\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_set_synthetic (\fBhwloc_topology_t\fP restrict topology, const char *restrict description)"
+
+.PP
+Enable synthetic topology\&. Gather topology information from the given \fCdescription\fP, a space-separated string of numbers describing the arity of each level\&. Each number may be prefixed with a type and a colon to enforce the type of a level\&. If only some level types are enforced, hwloc will try to choose the other types according to usual topologies, but it may fail and you may have to specify more level types manually\&. See also the \fBSynthetic topologies\fP\&.
+.PP
+If \fCdescription\fP was properly parsed and describes a valid topology configuration, this function returns 0\&. Otherwise -1 is returned and errno is set to EINVAL\&.
+.PP
+Note that this function does not actually load topology information; it just tells hwloc where to load it from\&. You'll still need to invoke \fBhwloc_topology_load()\fP to actually load the topology information\&.
+.PP
+\fBNote:\fP
+.RS 4
+For convenience, this backend provides empty binding hooks which just return success\&.
+.PP
+On success, the synthetic component replaces the previously enabled component (if any), but the topology is not actually modified until \fBhwloc_topology_load()\fP\&.
+.RE
+.PP
+
+.SS "void hwloc_topology_set_userdata (\fBhwloc_topology_t\fP topology, const void * userdata)"
+
+.PP
+Set the topology-specific userdata pointer\&. Each topology may store one application-given private data pointer\&. It is initialized to \fCNULL\fP\&. hwloc will never modify it\&.
+.PP
+Use it as you wish, after \fBhwloc_topology_init()\fP and until hwloc_topolog_destroy()\&.
+.PP
+This pointer is not exported to XML\&.
+.SS "int hwloc_topology_set_xml (\fBhwloc_topology_t\fP restrict topology, const char *restrict xmlpath)"
+
+.PP
+Enable XML-file based topology\&. Gather topology information from the XML file given at \fCxmlpath\fP\&. Setting the environment variable HWLOC_XMLFILE may also result in this behavior\&. This file may have been generated earlier with \fBhwloc_topology_export_xml()\fP or lstopo file\&.xml\&.
+.PP
+Note that this function does not actually load topology information; it just tells hwloc where to load it from\&. You'll still need to invoke \fBhwloc_topology_load()\fP to actually load the topology information\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to EINVAL on failure to read the XML file\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+See also \fBhwloc_topology_set_userdata_import_callback()\fP for importing application-specific object userdata\&.
+.PP
+For convenience, this backend provides empty binding hooks which just return success\&. To have hwloc still actually call OS-specific hooks, the \fBHWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM\fP has to be set to assert that the loaded file is really the underlying system\&.
+.PP
+On success, the XML component replaces the previously enabled component (if any), but the topology is not actually modified until \fBhwloc_topology_load()\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_set_xmlbuffer (\fBhwloc_topology_t\fP restrict topology, const char *restrict buffer, int size)"
+
+.PP
+Enable XML based topology using a memory buffer (instead of a file, as with \fBhwloc_topology_set_xml()\fP)\&. Gather topology information from the XML memory buffer given at \fCbuffer\fP and of length \fCsize\fP\&. This buffer may have been filled earlier with \fBhwloc_topology_export_xmlbuffer()\fP\&.
+.PP
+Note that this function does not actually load topology information; it just tells hwloc where to load it from\&. You'll still need to invoke \fBhwloc_topology_load()\fP to actually load the topology information\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to EINVAL on failure to read the XML buffer\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+See also \fBhwloc_topology_set_userdata_import_callback()\fP for importing application-specific object userdata\&.
+.PP
+For convenience, this backend provides empty binding hooks which just return success\&. To have hwloc still actually call OS-specific hooks, the \fBHWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM\fP has to be set to assert that the loaded file is really the underlying system\&.
+.PP
+On success, the XML component replaces the previously enabled component (if any), but the topology is not actually modified until \fBhwloc_topology_load()\fP\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_cpubinding" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_cpubinding
+.SH SYNOPSIS
+.br
+.PP
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_cpubind_flags_t\fP { \fBHWLOC_CPUBIND_PROCESS\fP, \fBHWLOC_CPUBIND_THREAD\fP, \fBHWLOC_CPUBIND_STRICT\fP, \fBHWLOC_CPUBIND_NOMEMBIND\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_set_cpubind\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_cpubind\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_set_proc_cpubind\fP (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_const_cpuset_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_proc_cpubind\fP (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_cpuset_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_set_thread_cpubind\fP (\fBhwloc_topology_t\fP topology, hwloc_thread_t thread, \fBhwloc_const_cpuset_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_thread_cpubind\fP (\fBhwloc_topology_t\fP topology, hwloc_thread_t thread, \fBhwloc_cpuset_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_last_cpu_location\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_proc_last_cpu_location\fP (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_cpuset_t\fP set, int flags)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Some operating systems only support binding threads or processes to a single PU\&. Others allow binding to larger sets such as entire Cores or Packages or even random sets of invididual PUs\&. In such operating system, the scheduler is free to run the task on one of these PU, then migrate it to another PU, etc\&. It is often useful to call \fBhwloc_bitmap_singlify()\fP on the target CPU set before passing it to the binding function to avoid these expensive migrations\&. See the documentation of \fBhwloc_bitmap_singlify()\fP for details\&.
+.PP
+Some operating systems do not provide all hwloc-supported mechanisms to bind processes, threads, etc\&. \fBhwloc_topology_get_support()\fP may be used to query about the actual CPU binding support in the currently used operating system\&.
+.PP
+When the requested binding operation is not available and the \fBHWLOC_CPUBIND_STRICT\fP flag was passed, the function returns -1\&. \fCerrno\fP is set to \fCENOSYS\fP when it is not possible to bind the requested kind of object processes/threads\&. errno is set to \fCEXDEV\fP when the requested cpuset can not be enforced (e\&.g\&. some systems only allow one CPU, and some other systems only allow one NUMA node)\&.
+.PP
+If \fBHWLOC_CPUBIND_STRICT\fP was not passed, the function may fail as well, or the operating system may use a slightly different operation (with side-effects, smaller binding set, etc\&.) when the requested operation is not exactly supported\&.
+.PP
+The most portable version that should be preferred over the others, whenever possible, is the following one which just binds the current program, assuming it is single-threaded:
+.PP
+.PP
+.nf
+hwloc_set_cpubind(topology, set, 0),
+.fi
+.PP
+.PP
+If the program may be multithreaded, the following one should be preferred to only bind the current thread:
+.PP
+.PP
+.nf
+hwloc_set_cpubind(topology, set, HWLOC_CPUBIND_THREAD),
+.fi
+.PP
+.PP
+\fBSee also:\fP
+.RS 4
+Some example codes are available under doc/examples/ in the source tree\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+To unbind, just call the binding function with either a full cpuset or a cpuset equal to the system cpuset\&.
+.PP
+On some operating systems, CPU binding may have effects on memory binding, see \fBHWLOC_CPUBIND_NOMEMBIND\fP
+.PP
+Running lstopo --top or hwloc-ps can be a very convenient tool to check how binding actually happened\&.
+.RE
+.PP
+
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_cpubind_flags_t\fP"
+
+.PP
+Process/Thread binding flags\&. These bit flags can be used to refine the binding policy\&.
+.PP
+The default (0) is to bind the current process, assumed to be single-threaded, in a non-strict way\&. This is the most portable way to bind as all operating systems usually provide it\&.
+.PP
+\fBNote:\fP
+.RS 4
+Not all systems support all kinds of binding\&. See the 'Detailed Description' section of \fBCPU binding\fP for a description of errors that can occur\&.
+.RE
+.PP
+
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_CPUBIND_PROCESS \fP\fP
+Bind all threads of the current (possibly) multithreaded process\&.
+.TP
+\fB\fIHWLOC_CPUBIND_THREAD \fP\fP
+Bind current thread of current process\&.
+.TP
+\fB\fIHWLOC_CPUBIND_STRICT \fP\fP
+Request for strict binding from the OS\&. By default, when the designated CPUs are all busy while other CPUs are idle, operating systems may execute the thread/process on those other CPUs instead of the designated CPUs, to let them progress anyway\&. Strict binding means that the thread/process will _never_ execute on other cpus than the designated CPUs, even when those are busy with other tasks and other CPUs are idle\&.
+.PP
+\fBNote:\fP
+.RS 4
+Depending on the operating system, strict binding may not be possible (e\&.g\&., the OS does not implement it) or not allowed (e\&.g\&., for an administrative reasons), and the function will fail in that case\&.
+.RE
+.PP
+When retrieving the binding of a process, this flag checks whether all its threads actually have the same binding\&. If the flag is not given, the binding of each thread will be accumulated\&.
+.PP
+\fBNote:\fP
+.RS 4
+This flag is meaningless when retrieving the binding of a thread\&.
+.RE
+.PP
+
+.TP
+\fB\fIHWLOC_CPUBIND_NOMEMBIND \fP\fP
+Avoid any effect on memory binding\&. On some operating systems, some CPU binding function would also bind the memory on the corresponding NUMA node\&. It is often not a problem for the application, but if it is, setting this flag will make hwloc avoid using OS functions that would also bind memory\&. This will however reduce the support of CPU bindings, i\&.e\&. potentially return -1 with errno set to ENOSYS in some cases\&.
+.PP
+This flag is only meaningful when used with functions that set the CPU binding\&. It is ignored when used with functions that get CPU binding information\&.
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_get_cpubind (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP set, int flags)"
+
+.PP
+Get current process or thread binding\&. Writes into \fCset\fP the physical cpuset which the process or thread (according to \fIflags\fP) was last bound to\&.
+.SS "int hwloc_get_last_cpu_location (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP set, int flags)"
+
+.PP
+Get the last physical CPU where the current process or thread ran\&. The operating system may move some tasks from one processor to another at any time according to their binding, so this function may return something that is already outdated\&.
+.PP
+\fCflags\fP can include either \fBHWLOC_CPUBIND_PROCESS\fP or \fBHWLOC_CPUBIND_THREAD\fP to specify whether the query should be for the whole process (union of all CPUs on which all threads are running), or only the current thread\&. If the process is single-threaded, flags can be set to zero to let hwloc use whichever method is available on the underlying OS\&.
+.SS "int hwloc_get_proc_cpubind (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_cpuset_t\fP set, int flags)"
+
+.PP
+Get the current physical binding of process \fCpid\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.PP
+As a special case on Linux, if a tid (thread ID) is supplied instead of a pid (process ID) and \fBHWLOC_CPUBIND_THREAD\fP is passed in flags, the binding for that specific thread is returned\&.
+.PP
+On non-Linux systems, \fBHWLOC_CPUBIND_THREAD\fP can not be used in \fCflags\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_get_proc_last_cpu_location (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_cpuset_t\fP set, int flags)"
+
+.PP
+Get the last physical CPU where a process ran\&. The operating system may move some tasks from one processor to another at any time according to their binding, so this function may return something that is already outdated\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.PP
+As a special case on Linux, if a tid (thread ID) is supplied instead of a pid (process ID) and \fBHWLOC_CPUBIND_THREAD\fP is passed in flags, the last CPU location of that specific thread is returned\&.
+.PP
+On non-Linux systems, \fBHWLOC_CPUBIND_THREAD\fP can not be used in \fCflags\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_get_thread_cpubind (\fBhwloc_topology_t\fP topology, hwloc_thread_t thread, \fBhwloc_cpuset_t\fP set, int flags)"
+
+.PP
+Get the current physical binding of thread \fCtid\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_thread_t\fP is \fCpthread_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.PP
+\fBHWLOC_CPUBIND_PROCESS\fP can not be used in \fCflags\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_set_cpubind (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, int flags)"
+
+.PP
+Bind current process or thread on cpus given in physical bitmap \fCset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to ENOSYS if the action is not supported
+.PP
+-1 with errno set to EXDEV if the binding cannot be enforced
+.RE
+.PP
+
+.SS "int hwloc_set_proc_cpubind (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_const_cpuset_t\fP set, int flags)"
+
+.PP
+Bind a process \fCpid\fP on cpus given in physical bitmap \fCset\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.PP
+As a special case on Linux, if a tid (thread ID) is supplied instead of a pid (process ID) and \fBHWLOC_CPUBIND_THREAD\fP is passed in flags, the binding is applied to that specific thread\&.
+.PP
+On non-Linux systems, \fBHWLOC_CPUBIND_THREAD\fP can not be used in \fCflags\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_set_thread_cpubind (\fBhwloc_topology_t\fP topology, hwloc_thread_t thread, \fBhwloc_const_cpuset_t\fP set, int flags)"
+
+.PP
+Bind a thread \fCthread\fP on cpus given in physical bitmap \fCset\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_thread_t\fP is \fCpthread_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.PP
+\fBHWLOC_CPUBIND_PROCESS\fP can not be used in \fCflags\fP\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_creation" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_creation
+.SH SYNOPSIS
+.br
+.PP
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef struct hwloc_topology * \fBhwloc_topology_t\fP"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_topology_init\fP (\fBhwloc_topology_t\fP *topologyp)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_load\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "void \fBhwloc_topology_destroy\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_dup\fP (\fBhwloc_topology_t\fP *newtopology, \fBhwloc_topology_t\fP oldtopology)"
+.br
+.ti -1c
+.RI "void \fBhwloc_topology_check\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Typedef Documentation"
+.PP
+.SS "typedef struct hwloc_topology* \fBhwloc_topology_t\fP"
+
+.PP
+Topology context\&. To be initialized with \fBhwloc_topology_init()\fP and built with \fBhwloc_topology_load()\fP\&.
+.SH "Function Documentation"
+.PP
+.SS "void hwloc_topology_check (\fBhwloc_topology_t\fP topology)"
+
+.PP
+Run internal checks on a topology structure\&. The program aborts if an inconsistency is detected in the given topology\&.
+.PP
+\fBParameters:\fP
+.RS 4
+\fItopology\fP is the topology to be checked
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+This routine is only useful to developers\&.
+.PP
+The input topology should have been previously loaded with \fBhwloc_topology_load()\fP\&.
+.RE
+.PP
+
+.SS "void hwloc_topology_destroy (\fBhwloc_topology_t\fP topology)"
+
+.PP
+Terminate and free a topology context\&.
+.PP
+\fBParameters:\fP
+.RS 4
+\fItopology\fP is the topology to be freed
+.RE
+.PP
+
+.SS "int hwloc_topology_dup (\fBhwloc_topology_t\fP * newtopology, \fBhwloc_topology_t\fP oldtopology)"
+
+.PP
+Duplicate a topology\&. The entire topology structure as well as its objects are duplicated into a new one\&.
+.PP
+This is useful for keeping a backup while modifying a topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+Object userdata is not duplicated since hwloc does not know what it point to\&. The objects of both old and new topologies will point to the same userdata\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_init (\fBhwloc_topology_t\fP * topologyp)"
+
+.PP
+Allocate a topology context\&.
+.PP
+\fBParameters:\fP
+.RS 4
+\fItopologyp\fP is assigned a pointer to the new allocated context\&.
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+0 on success, -1 on error\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_load (\fBhwloc_topology_t\fP topology)"
+
+.PP
+Build the actual topology\&. Build the actual topology once initialized with \fBhwloc_topology_init()\fP and tuned with \fBTopology Detection Configuration and Query\fP routines\&. No other routine may be called earlier using this topology context\&.
+.PP
+\fBParameters:\fP
+.RS 4
+\fItopology\fP is the topology to be loaded with objects\&.
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+0 on success, -1 on error\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+On failure, the topology is reinitialized\&. It should be either destroyed with \fBhwloc_topology_destroy()\fP or configured and loaded again\&.
+.PP
+This function may be called only once per topology\&.
+.PP
+The binding of the current thread or process may temporarily change during this call but it will be restored before it returns\&.
+.RE
+.PP
+\fBSee also:\fP
+.RS 4
+\fBTopology Detection Configuration and Query\fP
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_cuda" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_cuda
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_cuda_get_device_pci_ids\fP (\fBhwloc_topology_t\fP topology, CUdevice cudevice, int *domain, int *bus, int *dev)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_cuda_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, CUdevice cudevice, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_cuda_get_device_pcidev\fP (\fBhwloc_topology_t\fP topology, CUdevice cudevice)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_cuda_get_device_osdev\fP (\fBhwloc_topology_t\fP topology, CUdevice cudevice)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_cuda_get_device_osdev_by_index\fP (\fBhwloc_topology_t\fP topology, unsigned idx)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about CUDA devices when using the CUDA Driver API\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_cuda_get_device_cpuset (\fBhwloc_topology_t\fP topology, CUdevice cudevice, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close to device \fCcudevice\fP\&. Return the CPU set describing the locality of the CUDA device \fCcudevice\fP\&.
+.PP
+Topology \fCtopology\fP and device \fCcudevice\fP must match the local machine\&. I/O devices detection and the CUDA component are not needed in the topology\&.
+.PP
+The function only returns the locality of the device\&. If more information about the device is needed, OS objects should be used instead, see \fBhwloc_cuda_get_device_osdev()\fP and \fBhwloc_cuda_get_device_osdev_by_index()\fP\&.
+.PP
+This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_cuda_get_device_osdev (\fBhwloc_topology_t\fP topology, CUdevice cudevice)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to CUDA device \fCcudevice\fP\&. Return the hwloc OS device object that describes the given CUDA device \fCcudevice\fP\&. Return NULL if there is none\&.
+.PP
+Topology \fCtopology\fP and device \fCcudevice\fP must match the local machine\&. I/O devices detection and the CUDA component must be enabled in the topology\&. If not, the locality of the object may still be found using \fBhwloc_cuda_get_device_cpuset()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding hwloc PCI device may be found by looking at the result parent pointer\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_cuda_get_device_osdev_by_index (\fBhwloc_topology_t\fP topology, unsigned idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the CUDA device whose index is \fCidx\fP\&. Return the OS device object describing the CUDA device whose index is \fCidx\fP\&. Return NULL if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection and the CUDA component must be enabled in the topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.PP
+This function is identical to \fBhwloc_cudart_get_device_osdev_by_index()\fP\&.
+.RE
+.PP
+
+.SS "static int hwloc_cuda_get_device_pci_ids (\fBhwloc_topology_t\fP topology, CUdevice cudevice, int * domain, int * bus, int * dev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the domain, bus and device IDs of the CUDA device \fCcudevice\fP\&. Device \fCcudevice\fP must match the local machine\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_cuda_get_device_pcidev (\fBhwloc_topology_t\fP topology, CUdevice cudevice)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc PCI device object corresponding to the CUDA device \fCcudevice\fP\&. Return the PCI device object describing the CUDA device \fCcudevice\fP\&. Return NULL if there is none\&.
+.PP
+Topology \fCtopology\fP and device \fCcudevice\fP must match the local machine\&. I/O devices detection must be enabled in topology \fCtopology\fP\&. The CUDA component is not needed in the topology\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_cudart" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_cudart
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_cudart_get_device_pci_ids\fP (\fBhwloc_topology_t\fP topology, int idx, int *domain, int *bus, int *dev)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_cudart_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, int idx, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_cudart_get_device_pcidev\fP (\fBhwloc_topology_t\fP topology, int idx)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_cudart_get_device_osdev_by_index\fP (\fBhwloc_topology_t\fP topology, unsigned idx)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about CUDA devices when using the CUDA Runtime API\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_cudart_get_device_cpuset (\fBhwloc_topology_t\fP topology, int idx, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close to device \fCidx\fP\&. Return the CPU set describing the locality of the CUDA device whose index is \fCidx\fP\&.
+.PP
+Topology \fCtopology\fP and device \fCidx\fP must match the local machine\&. I/O devices detection and the CUDA component are not needed in the topology\&.
+.PP
+The function only returns the locality of the device\&. If more information about the device is needed, OS objects should be used instead, see \fBhwloc_cudart_get_device_osdev_by_index()\fP\&.
+.PP
+This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_cudart_get_device_osdev_by_index (\fBhwloc_topology_t\fP topology, unsigned idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the CUDA device whose index is \fCidx\fP\&. Return the OS device object describing the CUDA device whose index is \fCidx\fP\&. Return NULL if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection and the CUDA component must be enabled in the topology\&. If not, the locality of the object may still be found using \fBhwloc_cudart_get_device_cpuset()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.PP
+This function is identical to \fBhwloc_cuda_get_device_osdev_by_index()\fP\&.
+.RE
+.PP
+
+.SS "static int hwloc_cudart_get_device_pci_ids (\fBhwloc_topology_t\fP topology, int idx, int * domain, int * bus, int * dev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the domain, bus and device IDs of the CUDA device whose index is \fCidx\fP\&. Device index \fCidx\fP must match the local machine\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_cudart_get_device_pcidev (\fBhwloc_topology_t\fP topology, int idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc PCI device object corresponding to the CUDA device whose index is \fCidx\fP\&. Return the PCI device object describing the CUDA device whose index is \fCidx\fP\&. Return NULL if there is none\&.
+.PP
+Topology \fCtopology\fP and device \fCidx\fP must match the local machine\&. I/O devices detection must be enabled in topology \fCtopology\fP\&. The CUDA component is not needed in the topology\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_custom" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_custom
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_custom_insert_topology\fP (\fBhwloc_topology_t\fP newtopology, \fBhwloc_obj_t\fP newparent, \fBhwloc_topology_t\fP oldtopology, \fBhwloc_obj_t\fP oldroot)"
+.br
+.ti -1c
+.RI "\fBhwloc_obj_t\fP \fBhwloc_custom_insert_group_object_by_parent\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP parent, int groupdepth)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+A custom topology may be initialized by calling \fBhwloc_topology_set_custom()\fP after \fBhwloc_topology_init()\fP\&. It may then be modified by inserting objects or entire topologies\&. Once done assembling, \fBhwloc_topology_load()\fP should be invoked as usual to finalize the topology\&.
+.SH "Function Documentation"
+.PP
+.SS "\fBhwloc_obj_t\fP hwloc_custom_insert_group_object_by_parent (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP parent, int groupdepth)"
+
+.PP
+Insert a new group object inside a custom topology\&. An object with type \fBHWLOC_OBJ_GROUP\fP is inserted as a new child of object \fCparent\fP\&.
+.PP
+\fCgroupdepth\fP is the depth attribute to be given to the new object\&. It may for instance be 0 for top-level groups, 1 for their children, and so on\&.
+.PP
+The custom topology \fCnewtopology\fP must have been prepared with \fBhwloc_topology_set_custom()\fP and not loaded with \fBhwloc_topology_load()\fP yet\&.
+.PP
+\fCparent\fP may be either the root of \fCtopology\fP or an object that was added earlier through \fBhwloc_custom_insert_group_object_by_parent()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+The cpuset and nodeset of the new group object are NULL because these sets are meaningless when assembling multiple topologies\&.
+.PP
+The cpuset and nodeset of the \fCparent\fP object are not modified\&.
+.RE
+.PP
+
+.SS "int hwloc_custom_insert_topology (\fBhwloc_topology_t\fP newtopology, \fBhwloc_obj_t\fP newparent, \fBhwloc_topology_t\fP oldtopology, \fBhwloc_obj_t\fP oldroot)"
+
+.PP
+Insert an existing topology inside a custom topology\&. Duplicate the existing topology \fColdtopology\fP inside a new custom topology \fCnewtopology\fP as a leaf of object \fCnewparent\fP\&.
+.PP
+If \fColdroot\fP is not \fCNULL\fP, duplicate \fColdroot\fP and all its children instead of the entire \fColdtopology\fP\&. Passing the root object of \fColdtopology\fP in \fColdroot\fP is equivalent to passing \fCNULL\fP\&.
+.PP
+The custom topology \fCnewtopology\fP must have been prepared with \fBhwloc_topology_set_custom()\fP and not loaded with \fBhwloc_topology_load()\fP yet\&.
+.PP
+\fCnewparent\fP may be either the root of \fCnewtopology\fP or an object that was added through \fBhwloc_custom_insert_group_object_by_parent()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+The cpuset and nodeset of the \fCnewparent\fP object are not modified based on the contents of \fColdtopology\fP\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_diff" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_diff
+.SH SYNOPSIS
+.br
+.PP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "union \fBhwloc_topology_diff_obj_attr_u\fP"
+.br
+.ti -1c
+.RI "union \fBhwloc_topology_diff_u\fP"
+.br
+.in -1c
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef enum \fBhwloc_topology_diff_obj_attr_type_e\fP \fBhwloc_topology_diff_obj_attr_type_t\fP"
+.br
+.ti -1c
+.RI "typedef enum \fBhwloc_topology_diff_type_e\fP \fBhwloc_topology_diff_type_t\fP"
+.br
+.ti -1c
+.RI "typedef union \fBhwloc_topology_diff_u\fP * \fBhwloc_topology_diff_t\fP"
+.br
+.in -1c
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_topology_diff_obj_attr_type_e\fP { \fBHWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE\fP, \fBHWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME\fP, \fBHWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO\fP }"
+.br
+.ti -1c
+.RI "enum \fBhwloc_topology_diff_type_e\fP { \fBHWLOC_TOPOLOGY_DIFF_OBJ_ATTR\fP, \fBHWLOC_TOPOLOGY_DIFF_TOO_COMPLEX\fP }"
+.br
+.ti -1c
+.RI "enum \fBhwloc_topology_diff_apply_flags_e\fP { \fBHWLOC_TOPOLOGY_DIFF_APPLY_REVERSE\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_topology_diff_build\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_t\fP newtopology, unsigned long flags, \fBhwloc_topology_diff_t\fP *diff)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_diff_apply\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff, unsigned long flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_diff_destroy\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_diff_load_xml\fP (\fBhwloc_topology_t\fP topology, const char *xmlpath, \fBhwloc_topology_diff_t\fP *diff, char **refname)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_diff_export_xml\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff, const char *refname, const char *xmlpath)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_diff_load_xmlbuffer\fP (\fBhwloc_topology_t\fP topology, const char *xmlbuffer, int buflen, \fBhwloc_topology_diff_t\fP *diff, char **refname)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_diff_export_xmlbuffer\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff, const char *refname, char **xmlbuffer, int *buflen)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Applications that manipulate many similar topologies, for instance one for each node of a homogeneous cluster, may want to compress topologies to reduce the memory footprint\&.
+.PP
+This file offers a way to manipulate the difference between topologies and export/import it to/from XML\&. Compression may therefore be achieved by storing one topology entirely while the others are only described by their differences with the former\&. The actual topology can be reconstructed when actually needed by applying the precomputed difference to the reference topology\&.
+.PP
+This interface targets very similar nodes\&. Only very simple differences between topologies are actually supported, for instance a change in the memory size, the name of the object, or some info attribute\&. More complex differences such as adding or removing objects cannot be represented in the difference structures and therefore return errors\&. Differences between object sets cannot be represented either\&.
+.PP
+It means that there is no need to apply the difference when looking at the tree organization (how many levels, how many objects per level, what kind of objects, CPU and node sets, etc) and when binding to objects\&. However the difference must be applied when looking at object attributes such as the name, the memory size or info attributes\&.
+.SH "Typedef Documentation"
+.PP
+.SS "typedef enum \fBhwloc_topology_diff_obj_attr_type_e\fP \fBhwloc_topology_diff_obj_attr_type_t\fP"
+
+.PP
+Type of one object attribute difference\&.
+.SS "typedef union \fBhwloc_topology_diff_u\fP * \fBhwloc_topology_diff_t\fP"
+
+.PP
+One element of a difference list between two topologies\&.
+.SS "typedef enum \fBhwloc_topology_diff_type_e\fP \fBhwloc_topology_diff_type_t\fP"
+
+.PP
+Type of one element of a difference list\&.
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_topology_diff_apply_flags_e\fP"
+
+.PP
+Flags to be given to \fBhwloc_topology_diff_apply()\fP\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_TOPOLOGY_DIFF_APPLY_REVERSE \fP\fP
+Apply topology diff in reverse direction\&.
+.SS "enum \fBhwloc_topology_diff_obj_attr_type_e\fP"
+
+.PP
+Type of one object attribute difference\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE \fP\fP
+The object local memory is modified\&. The union is a \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s\fP (and the index field is ignored)\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME \fP\fP
+The object name is modified\&. The union is a \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s\fP (and the name field is ignored)\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO \fP\fP
+the value of an info attribute is modified\&. The union is a \fBhwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s\fP\&.
+.SS "enum \fBhwloc_topology_diff_type_e\fP"
+
+.PP
+Type of one element of a difference list\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_TOPOLOGY_DIFF_OBJ_ATTR \fP\fP
+An object attribute was changed\&. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_s\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_DIFF_TOO_COMPLEX \fP\fP
+The difference is too complex, it cannot be represented\&. The difference below this object has not been checked\&. \fBhwloc_topology_diff_build()\fP will return 1\&. The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_too_complex_s\&.
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_topology_diff_apply (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff, unsigned long flags)"
+
+.PP
+Apply a topology diff to an existing topology\&. \fCflags\fP is an OR'ed set of \fBhwloc_topology_diff_apply_flags_e\fP\&.
+.PP
+The new topology is modified in place\&. \fBhwloc_topology_dup()\fP may be used to duplicate it before patching\&.
+.PP
+If the difference cannot be applied entirely, all previous applied elements are unapplied before returning\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 on success\&.
+.PP
+-N if applying the difference failed while trying to apply the N-th part of the difference\&. For instance -1 is returned if the very first difference element could not be applied\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_diff_build (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_t\fP newtopology, unsigned long flags, \fBhwloc_topology_diff_t\fP * diff)"
+
+.PP
+Compute the difference between 2 topologies\&. The difference is stored as a list of \fBhwloc_topology_diff_t\fP entries starting at \fCdiff\fP\&. It is computed by doing a depth-first traversal of both topology trees simultaneously\&.
+.PP
+If the difference between 2 objects is too complex to be represented (for instance if some objects have different types, or different numbers of children), a special diff entry of type \fBHWLOC_TOPOLOGY_DIFF_TOO_COMPLEX\fP is queued\&. The computation of the diff does not continue below these objects\&. So each such diff entry means that the difference between two subtrees could not be computed\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 if the difference can be represented properly\&.
+.PP
+0 with \fCdiff\fP pointing to NULL if there is no difference between the topologies\&.
+.PP
+1 if the difference is too complex (see above)\&. Some entries in the list will be of type \fBHWLOC_TOPOLOGY_DIFF_TOO_COMPLEX\fP\&.
+.PP
+-1 on any other error\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+\fCflags\fP is currently not used\&. It should be 0\&.
+.PP
+The output diff has to be freed with \fBhwloc_topology_diff_destroy()\fP\&.
+.PP
+The output diff can only be exported to XML or passed to \fBhwloc_topology_diff_apply()\fP if 0 was returned, i\&.e\&. if no entry of type \fBHWLOC_TOPOLOGY_DIFF_TOO_COMPLEX\fP is listed\&.
+.PP
+The output diff may be modified by removing some entries from the list\&. The removed entries should be freed by passing them to to \fBhwloc_topology_diff_destroy()\fP (possible as another list)\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_diff_destroy (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff)"
+
+.PP
+Destroy a list of topology differences\&.
+.PP
+\fBNote:\fP
+.RS 4
+The \fCtopology\fP parameter must be a valid topology but it is not required that it is related to \fCdiff\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_diff_export_xml (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff, const char * refname, const char * xmlpath)"
+
+.PP
+Export a list of topology differences to a XML file\&. If not \fCNULL\fP, \fCrefname\fP defines an identifier string for the reference topology which was used as a base when computing this difference\&. This identifier is usually the name of the other XML file that contains the reference topology\&. This attribute is given back when reading the diff from XML\&.
+.PP
+\fBNote:\fP
+.RS 4
+The \fCtopology\fP parameter must be a valid topology but it is not required that it is related to \fCdiff\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_diff_export_xmlbuffer (\fBhwloc_topology_t\fP topology, \fBhwloc_topology_diff_t\fP diff, const char * refname, char ** xmlbuffer, int * buflen)"
+
+.PP
+Export a list of topology differences to a XML buffer\&. If not \fCNULL\fP, \fCrefname\fP defines an identifier string for the reference topology which was used as a base when computing this difference\&. This identifier is usually the name of the other XML file that contains the reference topology\&. This attribute is given back when reading the diff from XML\&.
+.PP
+The returned buffer ends with a \\0 that is included in the returned length\&.
+.PP
+\fBNote:\fP
+.RS 4
+The XML buffer should later be freed with \fBhwloc_free_xmlbuffer()\fP\&.
+.PP
+The \fCtopology\fP parameter must be a valid topology but it is not required that it is related to \fCdiff\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_diff_load_xml (\fBhwloc_topology_t\fP topology, const char * xmlpath, \fBhwloc_topology_diff_t\fP * diff, char ** refname)"
+
+.PP
+Load a list of topology differences from a XML file\&. If not \fCNULL\fP, \fCrefname\fP will be filled with the identifier string of the reference topology for the difference file, if any was specified in the XML file\&. This identifier is usually the name of the other XML file that contains the reference topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The \fCtopology\fP parameter must be a valid topology but it is not required that it is related to \fCdiff\fP\&.
+.PP
+the pointer returned in refname should later be freed by the caller\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_diff_load_xmlbuffer (\fBhwloc_topology_t\fP topology, const char * xmlbuffer, int buflen, \fBhwloc_topology_diff_t\fP * diff, char ** refname)"
+
+.PP
+Load a list of topology differences from a XML buffer\&. If not \fCNULL\fP, \fCrefname\fP will be filled with the identifier string of the reference topology for the difference file, if any was specified in the XML file\&. This identifier is usually the name of the other XML file that contains the reference topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The \fCtopology\fP parameter must be a valid topology but it is not required that it is related to \fCdiff\fP\&.
+.PP
+the pointer returned in refname should later be freed by the caller\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_disc_backends" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_disc_backends
+.SH SYNOPSIS
+.br
+.PP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_backend\fP"
+.br
+.in -1c
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_backend_flag_e\fP { \fBHWLOC_BACKEND_FLAG_NEED_LEVELS\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_backend\fP * \fBhwloc_backend_alloc\fP (struct \fBhwloc_disc_component\fP *component)"
+.br
+.ti -1c
+.RI "int \fBhwloc_backend_enable\fP (struct hwloc_topology *topology, struct \fBhwloc_backend\fP *backend)"
+.br
+.ti -1c
+.RI "int \fBhwloc_backends_get_obj_cpuset\fP (struct \fBhwloc_backend\fP *caller, struct \fBhwloc_obj\fP *obj, \fBhwloc_bitmap_t\fP cpuset)"
+.br
+.ti -1c
+.RI "int \fBhwloc_backends_notify_new_object\fP (struct \fBhwloc_backend\fP *caller, struct \fBhwloc_obj\fP *obj)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_backend_flag_e\fP"
+
+.PP
+Backend flags\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_BACKEND_FLAG_NEED_LEVELS \fP\fP
+Levels should be reconnected before this backend discover() is used\&.
+.SH "Function Documentation"
+.PP
+.SS "struct \fBhwloc_backend\fP* hwloc_backend_alloc (struct \fBhwloc_disc_component\fP * component)"
+
+.PP
+Allocate a backend structure, set good default values, initialize backend->component and topology, etc\&. The caller will then modify whatever needed, and call \fBhwloc_backend_enable()\fP\&.
+.SS "int hwloc_backend_enable (struct hwloc_topology * topology, struct \fBhwloc_backend\fP * backend)"
+
+.PP
+Enable a previously allocated and setup backend\&.
+.SS "int hwloc_backends_get_obj_cpuset (struct \fBhwloc_backend\fP * caller, struct \fBhwloc_obj\fP * obj, \fBhwloc_bitmap_t\fP cpuset)"
+
+.PP
+Used by backends discovery callbacks to request locality information from others\&. Traverse the list of enabled backends until one has a get_obj_cpuset() method, and call it\&.
+.SS "int hwloc_backends_notify_new_object (struct \fBhwloc_backend\fP * caller, struct \fBhwloc_obj\fP * obj)"
+
+.PP
+Used by backends discovery callbacks to notify other backends of new objects\&. Traverse the list of enabled backends (all but caller) and invoke their notify_new_object() method to notify them that a new object just got added to the topology\&.
+.PP
+Currently only used for notifying of new PCI device objects\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_disc_components" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_disc_components
+.SH SYNOPSIS
+.br
+.PP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_disc_component\fP"
+.br
+.in -1c
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef enum \fBhwloc_disc_component_type_e\fP \fBhwloc_disc_component_type_t\fP"
+.br
+.in -1c
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_disc_component_type_e\fP { \fBHWLOC_DISC_COMPONENT_TYPE_CPU\fP, \fBHWLOC_DISC_COMPONENT_TYPE_GLOBAL\fP, \fBHWLOC_DISC_COMPONENT_TYPE_MISC\fP }"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Typedef Documentation"
+.PP
+.SS "typedef enum \fBhwloc_disc_component_type_e\fP \fBhwloc_disc_component_type_t\fP"
+
+.PP
+Discovery component type\&.
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_disc_component_type_e\fP"
+
+.PP
+Discovery component type\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_DISC_COMPONENT_TYPE_CPU \fP\fP
+CPU-only discovery through the OS, or generic no-OS support\&.
+.TP
+\fB\fIHWLOC_DISC_COMPONENT_TYPE_GLOBAL \fP\fP
+xml, synthetic or custom, platform-specific components such as bgq\&. Anything the discovers CPU and everything else\&. No misc backend is expected to complement a global component\&.
+.TP
+\fB\fIHWLOC_DISC_COMPONENT_TYPE_MISC \fP\fP
+OpenCL, Cuda, etc\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_distances" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_distances
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static const struct \fBhwloc_distances_s\fP * \fBhwloc_get_whole_distance_matrix_by_depth\fP (\fBhwloc_topology_t\fP topology, unsigned depth)"
+.br
+.ti -1c
+.RI "static const struct \fBhwloc_distances_s\fP * \fBhwloc_get_whole_distance_matrix_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "static const struct \fBhwloc_distances_s\fP * \fBhwloc_get_distance_matrix_covering_obj_by_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, unsigned depth, unsigned *firstp)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_get_latency\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj1, \fBhwloc_obj_t\fP obj2, float *latency, float *reverse_latency)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static const struct \fBhwloc_distances_s\fP* hwloc_get_distance_matrix_covering_obj_by_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, unsigned depth, unsigned * firstp)\fC [static]\fP"
+
+.PP
+Get distances for the given depth and covering some objects\&. Return a distance matrix that describes depth \fCdepth\fP and covers at least object \fCobj\fP and all its children\&.
+.PP
+When looking for the distance between some objects, a common ancestor should be passed in \fCobj\fP\&.
+.PP
+\fCfirstp\fP is set to logical index of the first object described by the matrix\&.
+.PP
+The returned structure belongs to the hwloc library\&. The caller should not modify or free it\&.
+.SS "static int hwloc_get_latency (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj1, \fBhwloc_obj_t\fP obj2, float * latency, float * reverse_latency)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the latency in both directions between two objects\&. Look at ancestor objects from the bottom to the top until one of them contains a distance matrix that matches the objects exactly\&.
+.PP
+\fClatency\fP gets the value from object \fCobj1\fP to \fCobj2\fP, while \fCreverse_latency\fP gets the reverse-direction value, which may be different on some architectures\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if no ancestor contains a matching latency matrix\&.
+.RE
+.PP
+
+.SS "static const struct \fBhwloc_distances_s\fP* hwloc_get_whole_distance_matrix_by_depth (\fBhwloc_topology_t\fP topology, unsigned depth)\fC [static]\fP"
+
+.PP
+Get the distances between all objects at the given depth\&.
+.PP
+\fBReturns:\fP
+.RS 4
+a distances structure containing a matrix with all distances between all objects at the given depth\&.
+.RE
+.PP
+Slot i+nbobjs*j contains the distance from the object of logical index i the object of logical index j\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function only returns matrices covering the whole topology, without any unknown distance value\&. Those matrices are available in top-level object of the hierarchy\&. Matrices of lower objects are not reported here since they cover only part of the machine\&.
+.RE
+.PP
+The returned structure belongs to the hwloc library\&. The caller should not modify or free it\&.
+.PP
+\fBReturns:\fP
+.RS 4
+\fCNULL\fP if no such distance matrix exists\&.
+.RE
+.PP
+
+.SS "static const struct \fBhwloc_distances_s\fP* hwloc_get_whole_distance_matrix_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)\fC [static]\fP"
+
+.PP
+Get the distances between all objects of a given type\&.
+.PP
+\fBReturns:\fP
+.RS 4
+a distances structure containing a matrix with all distances between all objects of the given type\&.
+.RE
+.PP
+Slot i+nbobjs*j contains the distance from the object of logical index i the object of logical index j\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function only returns matrices covering the whole topology, without any unknown distance value\&. Those matrices are available in top-level object of the hierarchy\&. Matrices of lower objects are not reported here since they cover only part of the machine\&.
+.RE
+.PP
+The returned structure belongs to the hwloc library\&. The caller should not modify or free it\&.
+.PP
+\fBReturns:\fP
+.RS 4
+\fCNULL\fP if no such distance matrix exists\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_generic_components" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_generic_components
+.SH SYNOPSIS
+.br
+.PP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_component\fP"
+.br
+.in -1c
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef enum \fBhwloc_component_type_e\fP \fBhwloc_component_type_t\fP"
+.br
+.in -1c
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_component_type_e\fP { \fBHWLOC_COMPONENT_TYPE_DISC\fP, \fBHWLOC_COMPONENT_TYPE_XML\fP }"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Typedef Documentation"
+.PP
+.SS "typedef enum \fBhwloc_component_type_e\fP \fBhwloc_component_type_t\fP"
+
+.PP
+Generic component type\&.
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_component_type_e\fP"
+
+.PP
+Generic component type\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_COMPONENT_TYPE_DISC \fP\fP
+The data field must point to a struct \fBhwloc_disc_component\fP\&.
+.TP
+\fB\fIHWLOC_COMPONENT_TYPE_XML \fP\fP
+The data field must point to a struct hwloc_xml_component\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_gl" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_gl
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_gl_get_display_osdev_by_port_device\fP (\fBhwloc_topology_t\fP topology, unsigned port, unsigned device)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_gl_get_display_osdev_by_name\fP (\fBhwloc_topology_t\fP topology, const char *name)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_gl_get_display_by_osdev\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP osdev, unsigned *port, unsigned *device)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about OpenGL displays\&.
+.PP
+Only the NVIDIA display locality information is currently available, using the NV-CONTROL X11 extension and the NVCtrl library\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_gl_get_display_by_osdev (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP osdev, unsigned * port, unsigned * device)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the OpenGL display port and device corresponding to the given hwloc OS object\&. Return the OpenGL display port (server) in \fCport\fP and device (screen) in \fCscreen\fP that correspond to the given hwloc OS device object\&. Return \fC-1\fP if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection and the GL component must be enabled in the topology\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_gl_get_display_osdev_by_name (\fBhwloc_topology_t\fP topology, const char * name)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the OpenGL display given by name\&. Return the OS device object describing the OpenGL display whose name is \fCname\fP, built as ':port\&.device' such as ':0\&.0' \&. Return NULL if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection and the GL component must be enabled in the topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_gl_get_display_osdev_by_port_device (\fBhwloc_topology_t\fP topology, unsigned port, unsigned device)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the OpenGL display given by port and device index\&. Return the OS device object describing the OpenGL display whose port (server) is \fCport\fP and device (screen) is \fCdevice\fP\&. Return NULL if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection and the GL component must be enabled in the topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_glibc_sched" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_glibc_sched
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_cpuset_to_glibc_sched_affinity\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP hwlocset, cpu_set_t *schedset, size_t schedsetsize)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_cpuset_from_glibc_sched_affinity\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP hwlocset, const cpu_set_t *schedset, size_t schedsetsize)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to convert between hwloc cpusets and glibc cpusets such as those manipulated by sched_getaffinity() or pthread_attr_setaffinity_np()\&.
+.PP
+\fBNote:\fP
+.RS 4
+Topology \fCtopology\fP must match the current machine\&.
+.RE
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_cpuset_from_glibc_sched_affinity (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP hwlocset, const cpu_set_t * schedset, size_t schedsetsize)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert glibc sched affinity CPU set \fCschedset\fP into hwloc CPU set\&. This function may be used before calling sched_setaffinity or any other function that takes a cpu_set_t as input parameter\&.
+.PP
+\fCschedsetsize\fP should be sizeof(cpu_set_t) unless \fCschedset\fP was dynamically allocated with CPU_ALLOC
+.SS "static int hwloc_cpuset_to_glibc_sched_affinity (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP hwlocset, cpu_set_t * schedset, size_t schedsetsize)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert hwloc CPU set \fCtoposet\fP into glibc sched affinity CPU set \fCschedset\fP\&. This function may be used before calling sched_setaffinity or any other function that takes a cpu_set_t as input parameter\&.
+.PP
+\fCschedsetsize\fP should be sizeof(cpu_set_t) unless \fCschedset\fP was dynamically allocated with CPU_ALLOC
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_ancestors" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_ancestors
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_ancestor_obj_by_depth\fP (\fBhwloc_topology_t\fP topology, unsigned depth, \fBhwloc_obj_t\fP obj)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_ancestor_obj_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP obj)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_common_ancestor_obj\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj1, \fBhwloc_obj_t\fP obj2)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_obj_is_in_subtree\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, \fBhwloc_obj_t\fP subtree_root)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_child\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP parent, \fBhwloc_obj_t\fP prev)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Be sure to see the figure in \fBTerms and Definitions\fP that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one package has fewer caches than its peers\&.
+.SH "Function Documentation"
+.PP
+.SS "static \fBhwloc_obj_t\fP hwloc_get_ancestor_obj_by_depth (\fBhwloc_topology_t\fP topology, unsigned depth, \fBhwloc_obj_t\fP obj)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the ancestor object of \fCobj\fP at depth \fCdepth\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_ancestor_obj_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP obj)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the ancestor object of \fCobj\fP with type \fCtype\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_common_ancestor_obj (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj1, \fBhwloc_obj_t\fP obj2)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the common parent object to objects \fCobj1\fP and \fCobj2\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_child (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP parent, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the next child\&. If \fCprev\fP is \fCNULL\fP, return the first child\&.
+.SS "static int hwloc_obj_is_in_subtree (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, \fBhwloc_obj_t\fP subtree_root)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns true if \fCobj\fP is inside the subtree beginning with ancestor object \fCsubtree_root\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function assumes that both \fCobj\fP and \fCsubtree_root\fP have a \fCcpuset\fP\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_distribute" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_distribute
+.SH SYNOPSIS
+.br
+.PP
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_distrib_flags_e\fP { \fBHWLOC_DISTRIB_FLAG_REVERSE\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_distrib\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP *roots, unsigned n_roots, \fBhwloc_cpuset_t\fP *set, unsigned n, unsigned until, unsigned long flags)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_distrib_flags_e\fP"
+
+.PP
+Flags to be given to \fBhwloc_distrib()\fP\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_DISTRIB_FLAG_REVERSE \fP\fP
+Distrib in reverse order, starting from the last objects\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_distrib (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP * roots, unsigned n_roots, \fBhwloc_cpuset_t\fP * set, unsigned n, unsigned until, unsigned long flags)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Distribute \fCn\fP items over the topology under \fCroots\fP\&. Array \fCset\fP will be filled with \fCn\fP cpusets recursively distributed linearly over the topology under objects \fCroots\fP, down to depth \fCuntil\fP (which can be INT_MAX to distribute down to the finest level)\&.
+.PP
+\fCn_roots\fP is usually 1 and \fCroots\fP only contains the topology root object so as to distribute over the entire topology\&.
+.PP
+This is typically useful when an application wants to distribute \fCn\fP threads over a machine, giving each of them as much private cache as possible and keeping them locally in number order\&.
+.PP
+The caller may typically want to also call \fBhwloc_bitmap_singlify()\fP before binding a thread so that it does not move at all\&.
+.PP
+\fCflags\fP should be 0 or a OR'ed set of \fBhwloc_distrib_flags_e\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function requires the \fCroots\fP objects to have a CPU set\&.
+.PP
+This function replaces the now deprecated hwloc_distribute() and hwloc_distributev() functions\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_find_cache" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_find_cache
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_get_cache_type_depth\fP (\fBhwloc_topology_t\fP topology, unsigned cachelevel, \fBhwloc_obj_cache_type_t\fP cachetype)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_cache_covering_cpuset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_shared_cache_covering_obj\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static \fBhwloc_obj_t\fP hwloc_get_cache_covering_cpuset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the first cache covering a cpuset \fCset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+\fCNULL\fP if no cache matches\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+This function cannot work if the root object does not have a CPU set, e\&.g\&. if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static int hwloc_get_cache_type_depth (\fBhwloc_topology_t\fP topology, unsigned cachelevel, \fBhwloc_obj_cache_type_t\fP cachetype)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Find the depth of cache objects matching cache depth and type\&. Return the depth of the topology level that contains cache objects whose attributes match \fCcachedepth\fP and \fCcachetype\fP\&. This function intends to disambiguate the case where \fBhwloc_get_type_depth()\fP returns \fBHWLOC_TYPE_DEPTH_MULTIPLE\fP\&.
+.PP
+If no cache level matches, \fBHWLOC_TYPE_DEPTH_UNKNOWN\fP is returned\&.
+.PP
+If \fCcachetype\fP is \fBHWLOC_OBJ_CACHE_UNIFIED\fP, the depth of the unique matching unified cache level is returned\&.
+.PP
+If \fCcachetype\fP is \fBHWLOC_OBJ_CACHE_DATA\fP or \fBHWLOC_OBJ_CACHE_INSTRUCTION\fP, either a matching cache, or a unified cache is returned\&.
+.PP
+If \fCcachetype\fP is \fC-1\fP, it is ignored and multiple levels may match\&. The function returns either the depth of a uniquely matching level or \fBHWLOC_TYPE_DEPTH_MULTIPLE\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_shared_cache_covering_obj (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the first cache shared between an object and somebody else\&.
+.PP
+\fBReturns:\fP
+.RS 4
+\fCNULL\fP if no cache matches or if an invalid object is given\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_find_covering" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_find_covering
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_child_covering_cpuset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_t\fP parent)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_obj_covering_cpuset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_obj_covering_cpuset_by_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth, \fBhwloc_obj_t\fP prev)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_obj_covering_cpuset_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP prev)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static \fBhwloc_obj_t\fP hwloc_get_child_covering_cpuset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_t\fP parent)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the child covering at least CPU set \fCset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+\fCNULL\fP if no child matches or if \fCset\fP is empty\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+This function cannot work if parent does not have a CPU set\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_obj_covering_cpuset_by_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Iterate through same-depth objects covering at least CPU set \fCset\fP\&. If object \fCprev\fP is \fCNULL\fP, return the first object at depth \fCdepth\fP covering at least part of CPU set \fCset\fP\&. The next invokation should pass the previous return value in \fCprev\fP so as to obtain the next object covering at least another part of \fCset\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_obj_covering_cpuset_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Iterate through same-type objects covering at least CPU set \fCset\fP\&. If object \fCprev\fP is \fCNULL\fP, return the first object of type \fCtype\fP covering at least part of CPU set \fCset\fP\&. The next invokation should pass the previous return value in \fCprev\fP so as to obtain the next object of type \fCtype\fP covering at least another part of \fCset\fP\&.
+.PP
+If there are no or multiple depths for type \fCtype\fP, \fCNULL\fP is returned\&. The caller may fallback to \fBhwloc_get_next_obj_covering_cpuset_by_depth()\fP for each depth\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_obj_covering_cpuset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the lowest object covering at least CPU set \fCset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+\fCNULL\fP if no object matches or if \fCset\fP is empty\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+This function cannot work if the root object does not have a CPU set, e\&.g\&. if the topology is made of different machines\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_find_inside" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_find_inside
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_first_largest_obj_inside_cpuset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_largest_objs_inside_cpuset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_t\fP *restrict objs, int max)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_obj_inside_cpuset_by_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth, \fBhwloc_obj_t\fP prev)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_obj_inside_cpuset_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP prev)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_obj_inside_cpuset_by_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth, unsigned idx)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_obj_inside_cpuset_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type, unsigned idx)"
+.br
+.ti -1c
+.RI "static unsigned \fBhwloc_get_nbobjs_inside_cpuset_by_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_get_nbobjs_inside_cpuset_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_get_obj_index_inside_cpuset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_t\fP obj)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static \fBhwloc_obj_t\fP hwloc_get_first_largest_obj_inside_cpuset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the first largest object included in the given cpuset \fCset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the first object that is included in \fCset\fP and whose parent is not\&.
+.RE
+.PP
+This is convenient for iterating over all largest objects within a CPU set by doing a loop getting the first largest object and clearing its CPU set from the remaining CPU set\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function cannot work if the root object does not have a CPU set, e\&.g\&. if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "int hwloc_get_largest_objs_inside_cpuset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_t\fP *restrict objs, int max)"
+
+.PP
+Get the set of largest objects covering exactly a given cpuset \fCset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of objects returned in \fCobjs\fP\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+This function cannot work if the root object does not have a CPU set, e\&.g\&. if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static unsigned hwloc_get_nbobjs_inside_cpuset_by_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the number of objects at depth \fCdepth\fP included in CPU set \fCset\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set)\&.
+.PP
+This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static int hwloc_get_nbobjs_inside_cpuset_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the number of objects of type \fCtype\fP included in CPU set \fCset\fP\&. If no object for that type exists inside CPU set \fCset\fP, 0 is returned\&. If there are several levels with objects of that type inside CPU set \fCset\fP, -1 is returned\&.
+.PP
+\fBNote:\fP
+.RS 4
+Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set)\&.
+.PP
+This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_obj_inside_cpuset_by_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the next object at depth \fCdepth\fP included in CPU set \fCset\fP\&. If \fCprev\fP is \fCNULL\fP, return the first object at depth \fCdepth\fP included in \fCset\fP\&. The next invokation should pass the previous return value in \fCprev\fP so as to obtain the next object in \fCset\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set)\&.
+.PP
+This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_obj_inside_cpuset_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the next object of type \fCtype\fP included in CPU set \fCset\fP\&. If there are multiple or no depth for given type, return \fCNULL\fP and let the caller fallback to \fBhwloc_get_next_obj_inside_cpuset_by_depth()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set)\&.
+.PP
+This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static int hwloc_get_obj_index_inside_cpuset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_t\fP obj)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the logical index among the objects included in CPU set \fCset\fP\&. Consult all objects in the same level as \fCobj\fP and inside CPU set \fCset\fP in the logical order, and return the index of \fCobj\fP within them\&. If \fCset\fP covers the entire topology, this is the logical index of \fCobj\fP\&. Otherwise, this is similar to a logical index within the part of the topology defined by CPU set \fCset\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set)\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_obj_inside_cpuset_by_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, unsigned depth, unsigned idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the (logically) \fCidx\fP -th object at depth \fCdepth\fP included in CPU set \fCset\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set)\&.
+.PP
+This function cannot work if objects at the given depth do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_obj_inside_cpuset_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP set, \fBhwloc_obj_type_t\fP type, unsigned idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Return the \fCidx\fP -th object of type \fCtype\fP included in CPU set \fCset\fP\&. If there are multiple or no depth for given type, return \fCNULL\fP and let the caller fallback to \fBhwloc_get_obj_inside_cpuset_by_depth()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+Objects with empty CPU sets are ignored (otherwise they would be considered included in any given set)\&.
+.PP
+This function cannot work if objects of the given type do not have CPU sets or if the topology is made of different machines\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_find_misc" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_find_misc
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_pu_obj_by_os_index\fP (\fBhwloc_topology_t\fP topology, unsigned os_index)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_numanode_obj_by_os_index\fP (\fBhwloc_topology_t\fP topology, unsigned os_index)"
+.br
+.ti -1c
+.RI "unsigned \fBhwloc_get_closest_objs\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP src, \fBhwloc_obj_t\fP *restrict objs, unsigned max)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_obj_below_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type1, unsigned idx1, \fBhwloc_obj_type_t\fP type2, unsigned idx2)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_obj_below_array_by_type\fP (\fBhwloc_topology_t\fP topology, int nr, \fBhwloc_obj_type_t\fP *typev, unsigned *idxv)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Be sure to see the figure in \fBTerms and Definitions\fP that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one package has fewer caches than its peers\&.
+.SH "Function Documentation"
+.PP
+.SS "unsigned hwloc_get_closest_objs (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP src, \fBhwloc_obj_t\fP *restrict objs, unsigned max)"
+
+.PP
+Do a depth-first traversal of the topology to find and sort\&. all objects that are at the same depth than \fCsrc\fP\&. Report in \fCobjs\fP up to \fCmax\fP physically closest ones to \fCsrc\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of objects returned in \fCobjs\fP\&.
+.PP
+0 if \fCsrc\fP is an I/O object\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+This function requires the \fCsrc\fP object to have a CPU set\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_numanode_obj_by_os_index (\fBhwloc_topology_t\fP topology, unsigned os_index)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the object of type \fBHWLOC_OBJ_NUMANODE\fP with \fCos_index\fP\&. This function is useful for converting a nodeset into the NUMA node objects it contains\&. When retrieving the current binding (e\&.g\&. with \fBhwloc_get_membind_nodeset()\fP), one may iterate over the bits of the resulting nodeset with \fBhwloc_bitmap_foreach_begin()\fP, and find the corresponding NUMA nodes with this function\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_obj_below_array_by_type (\fBhwloc_topology_t\fP topology, int nr, \fBhwloc_obj_type_t\fP * typev, unsigned * idxv)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Find an object below a chain of objects specified by types and indexes\&. This is a generalized version of \fBhwloc_get_obj_below_by_type()\fP\&.
+.PP
+Arrays \fCtypev\fP and \fCidxv\fP must contain \fCnr\fP types and indexes\&.
+.PP
+Start from the top system object and walk the arrays \fCtypev\fP and \fCidxv\fP\&. For each type and logical index couple in the arrays, look under the previously found object to find the index-th object of the given type\&. Indexes are specified within the parent, not withing the entire system\&.
+.PP
+For instance, if nr is 3, typev contains NODE, PACKAGE and CORE, and idxv contains 0, 1 and 2, return the third core object below the second package below the first NUMA node\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function requires all these objects and the root object to have a CPU set\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_obj_below_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type1, unsigned idx1, \fBhwloc_obj_type_t\fP type2, unsigned idx2)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Find an object below another object, both specified by types and indexes\&. Start from the top system object and find object of type \fCtype1\fP and logical index \fCidx1\fP\&. Then look below this object and find another object of type \fCtype2\fP and logical index \fCidx2\fP\&. Indexes are specified within the parent, not withing the entire system\&.
+.PP
+For instance, if type1 is PACKAGE, idx1 is 2, type2 is CORE and idx2 is 3, return the fourth core object below the third package\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function requires these objects to have a CPU set\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_get_pu_obj_by_os_index (\fBhwloc_topology_t\fP topology, unsigned os_index)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the object of type \fBHWLOC_OBJ_PU\fP with \fCos_index\fP\&. This function is useful for converting a CPU set into the PU objects it contains\&. When retrieving the current binding (e\&.g\&. with \fBhwloc_get_cpubind()\fP), one may iterate over the bits of the resulting CPU set with \fBhwloc_bitmap_foreach_begin()\fP, and find the corresponding PUs with this function\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_nodeset_convert" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_nodeset_convert
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static void \fBhwloc_cpuset_to_nodeset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP _cpuset, \fBhwloc_nodeset_t\fP nodeset)"
+.br
+.ti -1c
+.RI "static void \fBhwloc_cpuset_to_nodeset_strict\fP (struct hwloc_topology *topology, \fBhwloc_const_cpuset_t\fP _cpuset, \fBhwloc_nodeset_t\fP nodeset)"
+.br
+.ti -1c
+.RI "static void \fBhwloc_cpuset_from_nodeset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP _cpuset, \fBhwloc_const_nodeset_t\fP nodeset)"
+.br
+.ti -1c
+.RI "static void \fBhwloc_cpuset_from_nodeset_strict\fP (struct hwloc_topology *topology, \fBhwloc_cpuset_t\fP _cpuset, \fBhwloc_const_nodeset_t\fP nodeset)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+There are two semantics for converting cpusets to nodesets depending on how non-NUMA machines are handled\&.
+.PP
+When manipulating nodesets for memory binding, non-NUMA machines should be considered as having a single NUMA node\&. The standard conversion routines below should be used so that marking the first bit of the nodeset means that memory should be bound to a non-NUMA whole machine\&.
+.PP
+When manipulating nodesets as an actual list of NUMA nodes without any need to handle memory binding on non-NUMA machines, the strict conversion routines may be used instead\&.
+.SH "Function Documentation"
+.PP
+.SS "static void hwloc_cpuset_from_nodeset (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP _cpuset, \fBhwloc_const_nodeset_t\fP nodeset)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert a NUMA node set into a CPU set and handle non-NUMA cases\&. If the topology contains no NUMA nodes, the machine is considered as a single memory node, and the following behavior is used: If \fCnodeset\fP is empty, \fCcpuset\fP will be emptied as well\&. Otherwise \fCcpuset\fP will be entirely filled\&. This is useful for manipulating memory binding sets\&.
+.SS "static void hwloc_cpuset_from_nodeset_strict (struct hwloc_topology * topology, \fBhwloc_cpuset_t\fP _cpuset, \fBhwloc_const_nodeset_t\fP nodeset)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert a NUMA node set into a CPU set without handling non-NUMA cases\&. This is the strict variant of \fBhwloc_cpuset_from_nodeset()\fP\&. It does not fix non-NUMA cases\&. If the topology contains some NUMA nodes, behave exactly the same\&. However, if the topology contains no NUMA nodes, return an empty cpuset\&.
+.SS "static void hwloc_cpuset_to_nodeset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP _cpuset, \fBhwloc_nodeset_t\fP nodeset)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert a CPU set into a NUMA node set and handle non-NUMA cases\&. If some NUMA nodes have no CPUs at all, this function never sets their indexes in the output node set, even if a full CPU set is given in input\&.
+.PP
+If the topology contains no NUMA nodes, the machine is considered as a single memory node, and the following behavior is used: If \fCcpuset\fP is empty, \fCnodeset\fP will be emptied as well\&. Otherwise \fCnodeset\fP will be entirely filled\&.
+.SS "static void hwloc_cpuset_to_nodeset_strict (struct hwloc_topology * topology, \fBhwloc_const_cpuset_t\fP _cpuset, \fBhwloc_nodeset_t\fP nodeset)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert a CPU set into a NUMA node set without handling non-NUMA cases\&. This is the strict variant of \fBhwloc_cpuset_to_nodeset()\fP\&. It does not fix non-NUMA cases\&. If the topology contains some NUMA nodes, behave exactly the same\&. However, if the topology contains no NUMA nodes, return an empty nodeset\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_helper_topology_sets" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_helper_topology_sets
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static \fBhwloc_const_cpuset_t\fP \fBhwloc_topology_get_complete_cpuset\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "static \fBhwloc_const_cpuset_t\fP \fBhwloc_topology_get_topology_cpuset\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "static \fBhwloc_const_cpuset_t\fP \fBhwloc_topology_get_online_cpuset\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "static \fBhwloc_const_cpuset_t\fP \fBhwloc_topology_get_allowed_cpuset\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "static \fBhwloc_const_nodeset_t\fP \fBhwloc_topology_get_complete_nodeset\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "static \fBhwloc_const_nodeset_t\fP \fBhwloc_topology_get_topology_nodeset\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "static \fBhwloc_const_nodeset_t\fP \fBhwloc_topology_get_allowed_nodeset\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static \fBhwloc_const_cpuset_t\fP hwloc_topology_get_allowed_cpuset (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get allowed CPU set\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the CPU set of allowed logical processors of the system\&. If the topology is the result of a combination of several systems, NULL is returned\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The returned cpuset is not newly allocated and should thus not be changed or freed, \fBhwloc_bitmap_dup()\fP must be used to obtain a local copy\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_const_nodeset_t\fP hwloc_topology_get_allowed_nodeset (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get allowed node set\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the node set of allowed memory of the system\&. If the topology is the result of a combination of several systems, NULL is returned\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The returned nodeset is not newly allocated and should thus not be changed or freed, \fBhwloc_bitmap_dup()\fP must be used to obtain a local copy\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_const_cpuset_t\fP hwloc_topology_get_complete_cpuset (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get complete CPU set\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the complete CPU set of logical processors of the system\&. If the topology is the result of a combination of several systems, NULL is returned\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The returned cpuset is not newly allocated and should thus not be changed or freed; \fBhwloc_bitmap_dup()\fP must be used to obtain a local copy\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_const_nodeset_t\fP hwloc_topology_get_complete_nodeset (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get complete node set\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the complete node set of memory of the system\&. If the topology is the result of a combination of several systems, NULL is returned\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The returned nodeset is not newly allocated and should thus not be changed or freed; \fBhwloc_bitmap_dup()\fP must be used to obtain a local copy\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_const_cpuset_t\fP hwloc_topology_get_online_cpuset (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get online CPU set\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the CPU set of online logical processors of the system\&. If the topology is the result of a combination of several systems, NULL is returned\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The returned cpuset is not newly allocated and should thus not be changed or freed; \fBhwloc_bitmap_dup()\fP must be used to obtain a local copy\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_const_cpuset_t\fP hwloc_topology_get_topology_cpuset (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get topology CPU set\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the CPU set of logical processors of the system for which hwloc provides topology information\&. This is equivalent to the cpuset of the system object\&. If the topology is the result of a combination of several systems, NULL is returned\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The returned cpuset is not newly allocated and should thus not be changed or freed; \fBhwloc_bitmap_dup()\fP must be used to obtain a local copy\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_const_nodeset_t\fP hwloc_topology_get_topology_nodeset (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get topology node set\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the node set of memory of the system for which hwloc provides topology information\&. This is equivalent to the nodeset of the system object\&. If the topology is the result of a combination of several systems, NULL is returned\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The returned nodeset is not newly allocated and should thus not be changed or freed; \fBhwloc_bitmap_dup()\fP must be used to obtain a local copy\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_info_attr" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_info_attr
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static const char * \fBhwloc_obj_get_info_by_name\fP (\fBhwloc_obj_t\fP obj, const char *name)"
+.br
+.ti -1c
+.RI "void \fBhwloc_obj_add_info\fP (\fBhwloc_obj_t\fP obj, const char *name, const char *value)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "void hwloc_obj_add_info (\fBhwloc_obj_t\fP obj, const char * name, const char * value)"
+
+.PP
+Add the given info name and value pair to the given object\&. The info is appended to the existing info array even if another key with the same name already exists\&.
+.PP
+The input strings are copied before being added in the object infos\&.
+.PP
+\fBNote:\fP
+.RS 4
+This function may be used to enforce object colors in the lstopo graphical output by using 'lstopoStyle' as a name and 'Background=#rrggbb' as a value\&. See CUSTOM COLORS in the lstopo(1) manpage for details\&.
+.PP
+If \fCvalue\fP contains some non-printable characters, they will be dropped when exporting to XML, see \fBhwloc_topology_export_xml()\fP\&.
+.RE
+.PP
+
+.SS "static const char* hwloc_obj_get_info_by_name (\fBhwloc_obj_t\fP obj, const char * name)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Search the given key name in object infos and return the corresponding value\&. If multiple keys match the given name, only the first one is returned\&.
+.PP
+\fBReturns:\fP
+.RS 4
+\fCNULL\fP if no such key exists\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_intel_mic" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_intel_mic
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_intel_mic_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, int idx, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_intel_mic_get_device_osdev_by_index\fP (\fBhwloc_topology_t\fP topology, unsigned idx)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about Intel Xeon Phi (MIC) devices\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_intel_mic_get_device_cpuset (\fBhwloc_topology_t\fP topology, int idx, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close to MIC device whose index is \fCidx\fP\&. Return the CPU set describing the locality of the MIC device whose index is \fCidx\fP\&.
+.PP
+Topology \fCtopology\fP and device index \fCidx\fP must match the local machine\&. I/O devices detection is not needed in the topology\&.
+.PP
+The function only returns the locality of the device\&. If more information about the device is needed, OS objects should be used instead, see \fBhwloc_intel_mic_get_device_osdev_by_index()\fP\&.
+.PP
+This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_intel_mic_get_device_osdev_by_index (\fBhwloc_topology_t\fP topology, unsigned idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the MIC device for the given index\&. Return the OS device object describing the MIC device whose index is \fCidx\fP\&. Return NULL if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection must be enabled in the topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_levels" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_levels
+.SH SYNOPSIS
+.br
+.PP
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_get_type_depth_e\fP { \fBHWLOC_TYPE_DEPTH_UNKNOWN\fP, \fBHWLOC_TYPE_DEPTH_MULTIPLE\fP, \fBHWLOC_TYPE_DEPTH_BRIDGE\fP, \fBHWLOC_TYPE_DEPTH_PCI_DEVICE\fP, \fBHWLOC_TYPE_DEPTH_OS_DEVICE\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "unsigned \fBhwloc_topology_get_depth\fP (\fBhwloc_topology_t\fP restrict topology)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_type_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_get_type_or_below_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_get_type_or_above_depth\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "\fBhwloc_obj_type_t\fP \fBhwloc_get_depth_type\fP (\fBhwloc_topology_t\fP topology, unsigned depth)"
+.br
+.ti -1c
+.RI "unsigned \fBhwloc_get_nbobjs_by_depth\fP (\fBhwloc_topology_t\fP topology, unsigned depth)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_get_nbobjs_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_root_obj\fP (\fBhwloc_topology_t\fP topology)"
+.br
+.ti -1c
+.RI "\fBhwloc_obj_t\fP \fBhwloc_get_obj_by_depth\fP (\fBhwloc_topology_t\fP topology, unsigned depth, unsigned idx)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_obj_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type, unsigned idx)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_obj_by_depth\fP (\fBhwloc_topology_t\fP topology, unsigned depth, \fBhwloc_obj_t\fP prev)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_get_next_obj_by_type\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP prev)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Be sure to see the figure in \fBTerms and Definitions\fP that shows a complete topology tree, including depths, child/sibling/cousin relationships, and an example of an asymmetric topology where one package has fewer caches than its peers\&.
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_get_type_depth_e\fP"
+
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_TYPE_DEPTH_UNKNOWN \fP\fP
+No object of given type exists in the topology\&.
+.TP
+\fB\fIHWLOC_TYPE_DEPTH_MULTIPLE \fP\fP
+Objects of given type exist at different depth in the topology\&.
+.TP
+\fB\fIHWLOC_TYPE_DEPTH_BRIDGE \fP\fP
+Virtual depth for bridge object level\&.
+.TP
+\fB\fIHWLOC_TYPE_DEPTH_PCI_DEVICE \fP\fP
+Virtual depth for PCI device object level\&.
+.TP
+\fB\fIHWLOC_TYPE_DEPTH_OS_DEVICE \fP\fP
+Virtual depth for software device object level\&.
+.SH "Function Documentation"
+.PP
+.SS "\fBhwloc_obj_type_t\fP hwloc_get_depth_type (\fBhwloc_topology_t\fP topology, unsigned depth)"
+
+.PP
+Returns the type of objects at depth \fCdepth\fP\&. \fCdepth\fP should between 0 and \fBhwloc_topology_get_depth()\fP-1\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if depth \fCdepth\fP does not exist\&.
+.RE
+.PP
+
+.SS "unsigned hwloc_get_nbobjs_by_depth (\fBhwloc_topology_t\fP topology, unsigned depth)"
+
+.PP
+Returns the width of level at depth \fCdepth\fP\&.
+.SS "static int hwloc_get_nbobjs_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the width of level type \fCtype\fP\&. If no object for that type exists, 0 is returned\&. If there are several levels with objects of that type, -1 is returned\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_obj_by_depth (\fBhwloc_topology_t\fP topology, unsigned depth, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the next object at depth \fCdepth\fP\&. If \fCprev\fP is \fCNULL\fP, return the first object at depth \fCdepth\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_next_obj_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type, \fBhwloc_obj_t\fP prev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the next object of type \fCtype\fP\&. If \fCprev\fP is \fCNULL\fP, return the first object at type \fCtype\fP\&. If there are multiple or no depth for given type, return \fCNULL\fP and let the caller fallback to \fBhwloc_get_next_obj_by_depth()\fP\&.
+.SS "\fBhwloc_obj_t\fP hwloc_get_obj_by_depth (\fBhwloc_topology_t\fP topology, unsigned depth, unsigned idx)"
+
+.PP
+Returns the topology object at logical index \fCidx\fP from depth \fCdepth\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_obj_by_type (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type, unsigned idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the topology object at logical index \fCidx\fP with type \fCtype\fP\&. If no object for that type exists, \fCNULL\fP is returned\&. If there are several levels with objects of that type, \fCNULL\fP is returned and ther caller may fallback to \fBhwloc_get_obj_by_depth()\fP\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_get_root_obj (\fBhwloc_topology_t\fP topology)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the top-object of the topology-tree\&. Its type is typically \fBHWLOC_OBJ_MACHINE\fP but it could be different for complex topologies\&.
+.SS "int hwloc_get_type_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)"
+
+.PP
+Returns the depth of objects of type \fCtype\fP\&. If no object of this type is present on the underlying architecture, or if the OS doesn't provide this kind of information, the function returns \fBHWLOC_TYPE_DEPTH_UNKNOWN\fP\&.
+.PP
+If type is absent but a similar type is acceptable, see also \fBhwloc_get_type_or_below_depth()\fP and \fBhwloc_get_type_or_above_depth()\fP\&.
+.PP
+If some objects of the given type exist in different levels, for instance L1 and L2 caches, or L1i and L1d caches, the function returns \fBHWLOC_TYPE_DEPTH_MULTIPLE\fP\&. See \fBhwloc_get_cache_type_depth()\fP in \fBhwloc/helper\&.h\fP to better handle this case\&.
+.PP
+If an I/O object type is given, the function returns a virtual value because I/O objects are stored in special levels that are not CPU-related\&. This virtual depth may be passed to other hwloc functions such as \fBhwloc_get_obj_by_depth()\fP but it should not be considered as an actual depth by the application\&. In particular, it should not be compared with any other object depth or with the entire topology depth\&.
+.PP
+If \fBHWLOC_OBJ_MISC\fP is given, the function returns \fBHWLOC_TYPE_DEPTH_UNKNOWN\fP\&.
+.SS "static int hwloc_get_type_or_above_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the depth of objects of type \fCtype\fP or above\&. If no object of this type is present on the underlying architecture, the function returns the depth of the first 'present' object typically containing \fCtype\fP\&.
+.PP
+This function is only meaningful for normal object types\&. If an I/O object type is given, the corresponding virtual depth is always returned (see \fBhwloc_get_type_depth()\fP)\&. If \fBHWLOC_OBJ_MISC\fP is given, the function returns \fBHWLOC_TYPE_DEPTH_UNKNOWN\fP\&.
+.PP
+If some objects of the given type exist in different levels, for instance L1 and L2 caches, the function returns \fBHWLOC_TYPE_DEPTH_MULTIPLE\fP\&.
+.SS "static int hwloc_get_type_or_below_depth (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_type_t\fP type)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Returns the depth of objects of type \fCtype\fP or below\&. If no object of this type is present on the underlying architecture, the function returns the depth of the first 'present' object typically found inside \fCtype\fP\&.
+.PP
+This function is only meaningful for normal object types\&. If an I/O object type is given, the corresponding virtual depth is always returned (see \fBhwloc_get_type_depth()\fP)\&. If \fBHWLOC_OBJ_MISC\fP is given, the function returns \fBHWLOC_TYPE_DEPTH_UNKNOWN\fP\&.
+.PP
+If some objects of the given type exist in different levels, for instance L1 and L2 caches, the function returns \fBHWLOC_TYPE_DEPTH_MULTIPLE\fP\&.
+.SS "unsigned hwloc_topology_get_depth (\fBhwloc_topology_t\fP restrict topology)"
+
+.PP
+Get the depth of the hierarchical tree of objects\&. This is the depth of \fBHWLOC_OBJ_PU\fP objects plus one\&.
+.PP
+\fBNote:\fP
+.RS 4
+I/O and Misc objects are ignored when computing the depth of the tree (they are placed on special levels, or none)\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_linux" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_linux
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_linux_parse_cpumap_file\fP (FILE *file, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "int \fBhwloc_linux_set_tid_cpubind\fP (\fBhwloc_topology_t\fP topology, pid_t tid, \fBhwloc_const_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "int \fBhwloc_linux_get_tid_cpubind\fP (\fBhwloc_topology_t\fP topology, pid_t tid, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "int \fBhwloc_linux_get_tid_last_cpu_location\fP (\fBhwloc_topology_t\fP topology, pid_t tid, \fBhwloc_bitmap_t\fP set)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This includes helpers for manipulating Linux kernel cpumap files, and hwloc equivalents of the Linux sched_setaffinity and sched_getaffinity system calls\&.
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_linux_get_tid_cpubind (\fBhwloc_topology_t\fP topology, pid_t tid, \fBhwloc_cpuset_t\fP set)"
+
+.PP
+Get the current binding of thread \fCtid\fP\&. The behavior is exactly the same as the Linux sched_getaffinity system call, but uses a hwloc cpuset\&.
+.PP
+\fBNote:\fP
+.RS 4
+This is equivalent to calling \fBhwloc_get_proc_cpubind()\fP with \fBHWLOC_CPUBIND_THREAD\fP as flags\&.
+.RE
+.PP
+
+.SS "int hwloc_linux_get_tid_last_cpu_location (\fBhwloc_topology_t\fP topology, pid_t tid, \fBhwloc_bitmap_t\fP set)"
+
+.PP
+Get the last physical CPU where thread \fCtid\fP ran\&.
+.PP
+\fBNote:\fP
+.RS 4
+This is equivalent to calling \fBhwloc_get_proc_last_cpu_location()\fP with \fBHWLOC_CPUBIND_THREAD\fP as flags\&.
+.RE
+.PP
+
+.SS "int hwloc_linux_parse_cpumap_file (FILE * file, \fBhwloc_cpuset_t\fP set)"
+
+.PP
+Convert a linux kernel cpumap file \fCfile\fP into hwloc CPU set\&. Might be used when reading CPU set from sysfs attributes such as topology and caches for processors, or local_cpus for devices\&.
+.SS "int hwloc_linux_set_tid_cpubind (\fBhwloc_topology_t\fP topology, pid_t tid, \fBhwloc_const_cpuset_t\fP set)"
+
+.PP
+Bind a thread \fCtid\fP on cpus given in cpuset \fCset\fP\&. The behavior is exactly the same as the Linux sched_setaffinity system call, but uses a hwloc cpuset\&.
+.PP
+\fBNote:\fP
+.RS 4
+This is equivalent to calling \fBhwloc_set_proc_cpubind()\fP with HWLOC_CPUBIND_THREAD as flags\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_linux_libnuma_bitmask" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_linux_libnuma_bitmask
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static struct bitmask * \fBhwloc_cpuset_to_linux_libnuma_bitmask\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP cpuset)"
+.br
+.ti -1c
+.RI "static struct bitmask * \fBhwloc_nodeset_to_linux_libnuma_bitmask\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_nodeset_t\fP nodeset)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_cpuset_from_linux_libnuma_bitmask\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP cpuset, const struct bitmask *bitmask)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_nodeset_from_linux_libnuma_bitmask\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_nodeset_t\fP nodeset, const struct bitmask *bitmask)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface helps converting between Linux libnuma bitmasks and hwloc cpusets and nodesets\&.
+.PP
+It also offers a consistent behavior on non-NUMA machines or non-NUMA-aware kernels by assuming that the machines have a single NUMA node\&.
+.PP
+\fBNote:\fP
+.RS 4
+Topology \fCtopology\fP must match the current machine\&.
+.PP
+The behavior of libnuma is undefined if the kernel is not NUMA-aware\&. (when CONFIG_NUMA is not set in the kernel configuration)\&. This helper and libnuma may thus not be strictly compatible in this case, which may be detected by checking whether numa_available() returns -1\&.
+.RE
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_cpuset_from_linux_libnuma_bitmask (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP cpuset, const struct bitmask * bitmask)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert libnuma bitmask \fCbitmask\fP into hwloc CPU set \fCcpuset\fP\&. This function may be used after calling many numa_ functions that use a struct bitmask as an output parameter\&.
+.SS "static struct bitmask * hwloc_cpuset_to_linux_libnuma_bitmask (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP cpuset)\fC [static]\fP"
+
+.PP
+Convert hwloc CPU set \fCcpuset\fP into the returned libnuma bitmask\&. The returned bitmask should later be freed with numa_bitmask_free\&.
+.PP
+This function may be used before calling many numa_ functions that use a struct bitmask as an input parameter\&.
+.PP
+\fBReturns:\fP
+.RS 4
+newly allocated struct bitmask\&.
+.RE
+.PP
+
+.SS "static int hwloc_nodeset_from_linux_libnuma_bitmask (\fBhwloc_topology_t\fP topology, \fBhwloc_nodeset_t\fP nodeset, const struct bitmask * bitmask)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert libnuma bitmask \fCbitmask\fP into hwloc NUMA node set \fCnodeset\fP\&. This function may be used after calling many numa_ functions that use a struct bitmask as an output parameter\&.
+.SS "static struct bitmask * hwloc_nodeset_to_linux_libnuma_bitmask (\fBhwloc_topology_t\fP topology, \fBhwloc_const_nodeset_t\fP nodeset)\fC [static]\fP"
+
+.PP
+Convert hwloc NUMA node set \fCnodeset\fP into the returned libnuma bitmask\&. The returned bitmask should later be freed with numa_bitmask_free\&.
+.PP
+This function may be used before calling many numa_ functions that use a struct bitmask as an input parameter\&.
+.PP
+\fBReturns:\fP
+.RS 4
+newly allocated struct bitmask\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_linux_libnuma_ulongs" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_linux_libnuma_ulongs
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_cpuset_to_linux_libnuma_ulongs\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP cpuset, unsigned long *mask, unsigned long *maxnode)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_nodeset_to_linux_libnuma_ulongs\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_nodeset_t\fP nodeset, unsigned long *mask, unsigned long *maxnode)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_cpuset_from_linux_libnuma_ulongs\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP cpuset, const unsigned long *mask, unsigned long maxnode)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_nodeset_from_linux_libnuma_ulongs\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_nodeset_t\fP nodeset, const unsigned long *mask, unsigned long maxnode)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface helps converting between Linux libnuma unsigned long masks and hwloc cpusets and nodesets\&.
+.PP
+It also offers a consistent behavior on non-NUMA machines or non-NUMA-aware kernels by assuming that the machines have a single NUMA node\&.
+.PP
+\fBNote:\fP
+.RS 4
+Topology \fCtopology\fP must match the current machine\&.
+.PP
+The behavior of libnuma is undefined if the kernel is not NUMA-aware\&. (when CONFIG_NUMA is not set in the kernel configuration)\&. This helper and libnuma may thus not be strictly compatible in this case, which may be detected by checking whether numa_available() returns -1\&.
+.RE
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_cpuset_from_linux_libnuma_ulongs (\fBhwloc_topology_t\fP topology, \fBhwloc_cpuset_t\fP cpuset, const unsigned long * mask, unsigned long maxnode)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert the array of unsigned long \fCmask\fP into hwloc CPU set\&. \fCmask\fP is a array of unsigned long that will be read\&. \fCmaxnode\fP contains the maximal node number that may be read in \fCmask\fP\&.
+.PP
+This function may be used after calling get_mempolicy or any other function that takes an array of unsigned long as output parameter (and possibly a maximal node number as input parameter)\&.
+.SS "static int hwloc_cpuset_to_linux_libnuma_ulongs (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP cpuset, unsigned long * mask, unsigned long * maxnode)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert hwloc CPU set \fCcpuset\fP into the array of unsigned long \fCmask\fP\&. \fCmask\fP is the array of unsigned long that will be filled\&. \fCmaxnode\fP contains the maximal node number that may be stored in \fCmask\fP\&. \fCmaxnode\fP will be set to the maximal node number that was found, plus one\&.
+.PP
+This function may be used before calling set_mempolicy, mbind, migrate_pages or any other function that takes an array of unsigned long and a maximal node number as input parameter\&.
+.SS "static int hwloc_nodeset_from_linux_libnuma_ulongs (\fBhwloc_topology_t\fP topology, \fBhwloc_nodeset_t\fP nodeset, const unsigned long * mask, unsigned long maxnode)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert the array of unsigned long \fCmask\fP into hwloc NUMA node set\&. \fCmask\fP is a array of unsigned long that will be read\&. \fCmaxnode\fP contains the maximal node number that may be read in \fCmask\fP\&.
+.PP
+This function may be used after calling get_mempolicy or any other function that takes an array of unsigned long as output parameter (and possibly a maximal node number as input parameter)\&.
+.SS "static int hwloc_nodeset_to_linux_libnuma_ulongs (\fBhwloc_topology_t\fP topology, \fBhwloc_const_nodeset_t\fP nodeset, unsigned long * mask, unsigned long * maxnode)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Convert hwloc NUMA node set \fCnodeset\fP into the array of unsigned long \fCmask\fP\&. \fCmask\fP is the array of unsigned long that will be filled\&. \fCmaxnode\fP contains the maximal node number that may be stored in \fCmask\fP\&. \fCmaxnode\fP will be set to the maximal node number that was found, plus one\&.
+.PP
+This function may be used before calling set_mempolicy, mbind, migrate_pages or any other function that takes an array of unsigned long and a maximal node number as input parameter\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_membinding" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_membinding
+.SH SYNOPSIS
+.br
+.PP
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_membind_policy_t\fP { \fBHWLOC_MEMBIND_DEFAULT\fP, \fBHWLOC_MEMBIND_FIRSTTOUCH\fP, \fBHWLOC_MEMBIND_BIND\fP, \fBHWLOC_MEMBIND_INTERLEAVE\fP, \fBHWLOC_MEMBIND_REPLICATE\fP, \fBHWLOC_MEMBIND_NEXTTOUCH\fP, \fBHWLOC_MEMBIND_MIXED\fP }"
+.br
+.ti -1c
+.RI "enum \fBhwloc_membind_flags_t\fP { \fBHWLOC_MEMBIND_PROCESS\fP, \fBHWLOC_MEMBIND_THREAD\fP, \fBHWLOC_MEMBIND_STRICT\fP, \fBHWLOC_MEMBIND_MIGRATE\fP, \fBHWLOC_MEMBIND_NOCPUBIND\fP, \fBHWLOC_MEMBIND_BYNODESET\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_set_membind_nodeset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_set_membind\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_membind_nodeset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP *policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_membind\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP *policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_set_proc_membind_nodeset\fP (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_set_proc_membind\fP (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_proc_membind_nodeset\fP (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP *policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_proc_membind\fP (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP *policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_set_area_membind_nodeset\fP (\fBhwloc_topology_t\fP topology, const void *addr, size_t len, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_set_area_membind\fP (\fBhwloc_topology_t\fP topology, const void *addr, size_t len, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_area_membind_nodeset\fP (\fBhwloc_topology_t\fP topology, const void *addr, size_t len, \fBhwloc_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP *policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_area_membind\fP (\fBhwloc_topology_t\fP topology, const void *addr, size_t len, \fBhwloc_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP *policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_get_area_memlocation\fP (\fBhwloc_topology_t\fP topology, const void *addr, size_t len, \fBhwloc_bitmap_t\fP set, int flags)"
+.br
+.ti -1c
+.RI "void * \fBhwloc_alloc\fP (\fBhwloc_topology_t\fP topology, size_t len)"
+.br
+.ti -1c
+.RI "void * \fBhwloc_alloc_membind_nodeset\fP (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "void * \fBhwloc_alloc_membind\fP (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "static void * \fBhwloc_alloc_membind_policy_nodeset\fP (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "static void * \fBhwloc_alloc_membind_policy\fP (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+.br
+.ti -1c
+.RI "int \fBhwloc_free\fP (\fBhwloc_topology_t\fP topology, void *addr, size_t len)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Memory binding can be done three ways:
+.PP
+.IP "\(bu" 2
+explicit memory allocation thanks to \fBhwloc_alloc_membind()\fP and friends: the binding will have effect on the memory allocated by these functions\&.
+.IP "\(bu" 2
+implicit memory binding through binding policy: \fBhwloc_set_membind()\fP and friends only define the current policy of the process, which will be applied to the subsequent calls to malloc() and friends\&.
+.IP "\(bu" 2
+migration of existing memory ranges, thanks to \fBhwloc_set_area_membind()\fP and friends, which move already-allocated data\&.
+.PP
+.PP
+Not all operating systems support all three ways\&. \fBhwloc_topology_get_support()\fP may be used to query about the actual memory binding support in the currently used operating system\&.
+.PP
+When the requested binding operation is not available and the \fBHWLOC_MEMBIND_STRICT\fP flag was passed, the function returns -1\&. \fCerrno\fP will be set to \fCENOSYS\fP when the system does support the specified action or policy (e\&.g\&., some systems only allow binding memory on a per-thread basis, whereas other systems only allow binding memory for all threads in a process)\&. \fCerrno\fP will be set to EXDEV when the requested set can not be enforced (e\&.g\&., some systems only allow binding memory to a single NUMA node)\&.
+.PP
+If \fBHWLOC_MEMBIND_STRICT\fP was not passed, the function may fail as well, or the operating system may use a slightly different operation (with side-effects, smaller binding set, etc\&.) when the requested operation is not exactly supported\&.
+.PP
+The most portable form that should be preferred over the others whenever possible is as follows\&. It allocates some memory hopefully bound to the specified set\&. To do so, hwloc will possibly have to change the current memory binding policy in order to actually get the memory bound, if the OS does not provide any other way to simply allocate bound memory without changing the policy for all allocations\&. That is the difference with \fBhwloc_alloc_membind()\fP, which will never change the current memory binding policy\&.
+.PP
+.PP
+.nf
+hwloc_alloc_membind_policy(topology, size, set,
+ HWLOC_MEMBIND_BIND, 0);
+.fi
+.PP
+.PP
+Each hwloc memory binding function is available in two forms: one that takes a bitmap argument (a CPU set by default, or a NUMA memory node set if the flag \fBHWLOC_MEMBIND_BYNODESET\fP is specified), and another one (whose name ends with _nodeset) that always takes a NUMA memory node set\&. See \fBObject Sets (hwloc_cpuset_t and hwloc_nodeset_t)\fP and \fBThe bitmap API\fP for a discussion of CPU sets and NUMA memory node sets\&. It is also possible to convert between CPU set and node set using \fBhwloc_cpuset_to_nodeset()\fP or \fBhwloc_cpuset_from_nodeset()\fP\&.
+.PP
+Memory binding by CPU set cannot work for CPU-less NUMA memory nodes\&. Binding by nodeset should therefore be preferred whenever possible\&.
+.PP
+\fBSee also:\fP
+.RS 4
+Some example codes are available under doc/examples/ in the source tree\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+On some operating systems, memory binding affects the CPU binding; see \fBHWLOC_MEMBIND_NOCPUBIND\fP
+.RE
+.PP
+
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_membind_flags_t\fP"
+
+.PP
+Memory binding flags\&. These flags can be used to refine the binding policy\&. All flags can be logically OR'ed together with the exception of \fBHWLOC_MEMBIND_PROCESS\fP and \fBHWLOC_MEMBIND_THREAD\fP; these two flags are mutually exclusive\&.
+.PP
+Not all systems support all kinds of binding\&. \fBhwloc_topology_get_support()\fP may be used to query about the actual memory binding support in the currently used operating system\&. See the 'Detailed Description' section of \fBMemory binding\fP for a description of errors that can occur\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_MEMBIND_PROCESS \fP\fP
+Set policy for all threads of the specified (possibly multithreaded) process\&. This flag is mutually exclusive with \fBHWLOC_MEMBIND_THREAD\fP\&.
+.TP
+\fB\fIHWLOC_MEMBIND_THREAD \fP\fP
+Set policy for a specific thread of the current process\&. This flag is mutually exclusive with \fBHWLOC_MEMBIND_PROCESS\fP\&.
+.TP
+\fB\fIHWLOC_MEMBIND_STRICT \fP\fP
+Request strict binding from the OS\&. The function will fail if the binding can not be guaranteed / completely enforced\&.
+.PP
+This flag has slightly different meanings depending on which function it is used with\&.
+.TP
+\fB\fIHWLOC_MEMBIND_MIGRATE \fP\fP
+Migrate existing allocated memory\&. If the memory cannot be migrated and the \fBHWLOC_MEMBIND_STRICT\fP flag is passed, an error will be returned\&.
+.TP
+\fB\fIHWLOC_MEMBIND_NOCPUBIND \fP\fP
+Avoid any effect on CPU binding\&. On some operating systems, some underlying memory binding functions also bind the application to the corresponding CPU(s)\&. Using this flag will cause hwloc to avoid using OS functions that could potentially affect CPU bindings\&. Note, however, that using NOCPUBIND may reduce hwloc's overall memory binding support\&. Specifically: some of hwloc's memory binding functions may fail with errno set to ENOSYS when used with NOCPUBIND\&.
+.TP
+\fB\fIHWLOC_MEMBIND_BYNODESET \fP\fP
+Consider the bitmap argument as a nodeset\&. Functions whose name ends with _nodeset() take a nodeset argument\&. Other functions take a bitmap argument that is considered a nodeset if this flag is given, or a cpuset otherwise\&.
+.PP
+Memory binding by CPU set cannot work for CPU-less NUMA memory nodes\&. Binding by nodeset should therefore be preferred whenever possible\&.
+.SS "enum \fBhwloc_membind_policy_t\fP"
+
+.PP
+Memory binding policy\&. These constants can be used to choose the binding policy\&. Only one policy can be used at a time (i\&.e\&., the values cannot be OR'ed together)\&.
+.PP
+Not all systems support all kinds of binding\&. \fBhwloc_topology_get_support()\fP may be used to query about the actual memory binding policy support in the currently used operating system\&. See the 'Detailed Description' section of \fBMemory binding\fP for a description of errors that can occur\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_MEMBIND_DEFAULT \fP\fP
+Reset the memory allocation policy to the system default\&. Depending on the operating system, this may correspond to \fBHWLOC_MEMBIND_FIRSTTOUCH\fP (Linux), or \fBHWLOC_MEMBIND_BIND\fP (AIX, HP-UX, OSF, Solaris, Windows)\&. This policy is never returned by get membind functions when running on normal machines\&. It is only returned when binding hooks are empty because the topology was loaded from XML, or HWLOC_THISSYSTEM=0, etc\&.
+.TP
+\fB\fIHWLOC_MEMBIND_FIRSTTOUCH \fP\fP
+Allocate memory but do not immediately bind it to a specific locality\&. Instead, each page in the allocation is bound only when it is first touched\&. Pages are individually bound to the local NUMA node of the first thread that touches it\&. If there is not enough memory on the node, allocation may be done in the specified nodes before allocating on other nodes\&.
+.TP
+\fB\fIHWLOC_MEMBIND_BIND \fP\fP
+Allocate memory on the specified nodes\&.
+.TP
+\fB\fIHWLOC_MEMBIND_INTERLEAVE \fP\fP
+Allocate memory on the given nodes in an interleaved / round-robin manner\&. The precise layout of the memory across multiple NUMA nodes is OS/system specific\&. Interleaving can be useful when threads distributed across the specified NUMA nodes will all be accessing the whole memory range concurrently, since the interleave will then balance the memory references\&.
+.TP
+\fB\fIHWLOC_MEMBIND_REPLICATE \fP\fP
+Replicate memory on the given nodes; reads from this memory will attempt to be serviced from the NUMA node local to the reading thread\&. Replicating can be useful when multiple threads from the specified NUMA nodes will be sharing the same read-only data\&. This policy can only be used with existing memory allocations (i\&.e\&., the hwloc_set_*membind*() functions); it cannot be used with functions that allocate new memory (i\&.e\&., the hwloc_alloc*() functions)\&.
+.TP
+\fB\fIHWLOC_MEMBIND_NEXTTOUCH \fP\fP
+For each page bound with this policy, by next time it is touched (and next time only), it is moved from its current location to the local NUMA node of the thread where the memory reference occurred (if it needs to be moved at all)\&.
+.TP
+\fB\fIHWLOC_MEMBIND_MIXED \fP\fP
+Returned by get_membind() functions when multiple threads or parts of a memory area have differing memory binding policies\&.
+.SH "Function Documentation"
+.PP
+.SS "void* hwloc_alloc (\fBhwloc_topology_t\fP topology, size_t len)"
+
+.PP
+Allocate some memory\&. This is equivalent to malloc(), except that it tries to allocate page-aligned memory from the OS\&.
+.PP
+\fBNote:\fP
+.RS 4
+The allocated memory should be freed with \fBhwloc_free()\fP\&.
+.RE
+.PP
+
+.SS "void* hwloc_alloc_membind (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Allocate some memory on NUMA memory nodes specified by \fCset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+NULL with errno set to ENOSYS if the action is not supported and \fBHWLOC_MEMBIND_STRICT\fP is given
+.PP
+NULL with errno set to EXDEV if the binding cannot be enforced and \fBHWLOC_MEMBIND_STRICT\fP is given
+.PP
+NULL with errno set to ENOMEM if the memory allocation failed even before trying to bind\&.
+.RE
+.PP
+If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+\fBNote:\fP
+.RS 4
+The allocated memory should be freed with \fBhwloc_free()\fP\&.
+.RE
+.PP
+
+.SS "void* hwloc_alloc_membind_nodeset (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Allocate some memory on NUMA memory nodes specified by \fCnodeset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+NULL with errno set to ENOSYS if the action is not supported and \fBHWLOC_MEMBIND_STRICT\fP is given
+.PP
+NULL with errno set to EXDEV if the binding cannot be enforced and \fBHWLOC_MEMBIND_STRICT\fP is given
+.PP
+NULL with errno set to ENOMEM if the memory allocation failed even before trying to bind\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+The allocated memory should be freed with \fBhwloc_free()\fP\&.
+.RE
+.PP
+
+.SS "static void* hwloc_alloc_membind_policy (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Allocate some memory on NUMA memory nodes specified by \fCset\fP\&. This is similar to \fBhwloc_alloc_membind_nodeset()\fP except that it is allowed to change the current memory binding policy, thus providing more binding support, at the expense of changing the current state\&.
+.PP
+If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.SS "static void* hwloc_alloc_membind_policy_nodeset (\fBhwloc_topology_t\fP topology, size_t len, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Allocate some memory on NUMA memory nodes specified by \fCnodeset\fP\&. This is similar to \fBhwloc_alloc_membind()\fP except that it is allowed to change the current memory binding policy, thus providing more binding support, at the expense of changing the current state\&.
+.SS "int hwloc_free (\fBhwloc_topology_t\fP topology, void * addr, size_t len)"
+
+.PP
+Free memory that was previously allocated by \fBhwloc_alloc()\fP or \fBhwloc_alloc_membind()\fP\&.
+.SS "int hwloc_get_area_membind (\fBhwloc_topology_t\fP topology, const void * addr, size_t len, \fBhwloc_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP * policy, int flags)"
+
+.PP
+Query the CPUs near the physical NUMA node(s) and binding policy of the memory identified by (\fCaddr\fP, \fClen\fP )\&. This function has two output parameters: \fCset\fP and \fCpolicy\fP\&. The values returned in these parameters depend on both the \fCflags\fP passed in and the memory binding policies and nodesets of the pages in the address range\&.
+.PP
+If \fBHWLOC_MEMBIND_STRICT\fP is specified, the target pages are first checked to see if they all have the same memory binding policy and nodeset\&. If they do not, -1 is returned and errno is set to EXDEV\&. If they are identical across all pages, the set and policy are returned in \fCset\fP and \fCpolicy\fP, respectively\&.
+.PP
+If \fBHWLOC_MEMBIND_STRICT\fP is not specified, the union of all NUMA node(s) containing pages in the address range is calculated\&. If all pages in the target have the same policy, it is returned in \fCpolicy\fP\&. Otherwise, \fCpolicy\fP is set to \fBHWLOC_MEMBIND_MIXED\fP\&.
+.PP
+If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+If \fClen\fP is 0, -1 is returned and errno is set to EINVAL\&.
+.PP
+If any other flags are specified, -1 is returned and errno is set to EINVAL\&.
+.SS "int hwloc_get_area_membind_nodeset (\fBhwloc_topology_t\fP topology, const void * addr, size_t len, \fBhwloc_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP * policy, int flags)"
+
+.PP
+Query the physical NUMA node(s) and binding policy of the memory identified by (\fCaddr\fP, \fClen\fP )\&. This function has two output parameters: \fCnodeset\fP and \fCpolicy\fP\&. The values returned in these parameters depend on both the \fCflags\fP passed in and the memory binding policies and nodesets of the pages in the address range\&.
+.PP
+If \fBHWLOC_MEMBIND_STRICT\fP is specified, the target pages are first checked to see if they all have the same memory binding policy and nodeset\&. If they do not, -1 is returned and errno is set to EXDEV\&. If they are identical across all pages, the nodeset and policy are returned in \fCnodeset\fP and \fCpolicy\fP, respectively\&.
+.PP
+If \fBHWLOC_MEMBIND_STRICT\fP is not specified, \fCnodeset\fP is set to the union of all NUMA node(s) containing pages in the address range\&. If all pages in the target have the same policy, it is returned in \fCpolicy\fP\&. Otherwise, \fCpolicy\fP is set to \fBHWLOC_MEMBIND_MIXED\fP\&.
+.PP
+If \fClen\fP is 0, -1 is returned and errno is set to EINVAL\&.
+.PP
+If any other flags are specified, -1 is returned and errno is set to EINVAL\&.
+.SS "int hwloc_get_area_memlocation (\fBhwloc_topology_t\fP topology, const void * addr, size_t len, \fBhwloc_bitmap_t\fP set, int flags)"
+
+.PP
+Get the NUMA nodes where memory identified by (\fCaddr\fP, \fClen\fP ) is physically allocated\&. Fills \fCset\fP according to the NUMA nodes where the memory area pages are physically allocated\&. If no page is actually allocated yet, \fCset\fP may be empty\&.
+.PP
+If pages spread to multiple nodes, it is not specified whether they spread equitably, or whether most of them are on a single node, etc\&.
+.PP
+The operating system may move memory pages from one processor to another at any time according to their binding, so this function may return something that is already outdated\&.
+.PP
+If \fBHWLOC_MEMBIND_BYNODESET\fP is specified in \fCflags\fP, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+If \fClen\fP is 0, \fCset\fP is emptied\&.
+.SS "int hwloc_get_membind (\fBhwloc_topology_t\fP topology, \fBhwloc_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP * policy, int flags)"
+
+.PP
+Query the default memory binding policy and physical locality of the current process or thread\&. This function has two output parameters: \fCset\fP and \fCpolicy\fP\&. The values returned in these parameters depend on both the \fCflags\fP passed in and the current memory binding policies and nodesets in the queried target\&.
+.PP
+Passing the \fBHWLOC_MEMBIND_PROCESS\fP flag specifies that the query target is the current policies and nodesets for all the threads in the current process\&. Passing \fBHWLOC_MEMBIND_THREAD\fP specifies that the query target is the current policy and nodeset for only the thread invoking this function\&.
+.PP
+If neither of these flags are passed (which is the most portable method), the process is assumed to be single threaded\&. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available\&.
+.PP
+\fBHWLOC_MEMBIND_STRICT\fP is only meaningful when \fBHWLOC_MEMBIND_PROCESS\fP is also specified\&. In this case, hwloc will check the default memory policies and nodesets for all threads in the process\&. If they are not identical, -1 is returned and errno is set to EXDEV\&. If they are identical, the values are returned in \fCset\fP and \fCpolicy\fP\&.
+.PP
+Otherwise, if \fBHWLOC_MEMBIND_PROCESS\fP is specified (and \fBHWLOC_MEMBIND_STRICT\fP is \fInot\fP specified), the default set from each thread is logically OR'ed together\&. If all threads' default policies are the same, \fCpolicy\fP is set to that policy\&. If they are different, \fCpolicy\fP is set to \fBHWLOC_MEMBIND_MIXED\fP\&.
+.PP
+In the \fBHWLOC_MEMBIND_THREAD\fP case (or when neither \fBHWLOC_MEMBIND_PROCESS\fP or \fBHWLOC_MEMBIND_THREAD\fP is specified), there is only one set and policy; they are returned in \fCset\fP and \fCpolicy\fP, respectively\&.
+.PP
+If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+If any other flags are specified, -1 is returned and errno is set to EINVAL\&.
+.SS "int hwloc_get_membind_nodeset (\fBhwloc_topology_t\fP topology, \fBhwloc_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP * policy, int flags)"
+
+.PP
+Query the default memory binding policy and physical locality of the current process or thread\&. This function has two output parameters: \fCnodeset\fP and \fCpolicy\fP\&. The values returned in these parameters depend on both the \fCflags\fP passed in and the current memory binding policies and nodesets in the queried target\&.
+.PP
+Passing the \fBHWLOC_MEMBIND_PROCESS\fP flag specifies that the query target is the current policies and nodesets for all the threads in the current process\&. Passing \fBHWLOC_MEMBIND_THREAD\fP specifies that the query target is the current policy and nodeset for only the thread invoking this function\&.
+.PP
+If neither of these flags are passed (which is the most portable method), the process is assumed to be single threaded\&. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available\&.
+.PP
+\fBHWLOC_MEMBIND_STRICT\fP is only meaningful when \fBHWLOC_MEMBIND_PROCESS\fP is also specified\&. In this case, hwloc will check the default memory policies and nodesets for all threads in the process\&. If they are not identical, -1 is returned and errno is set to EXDEV\&. If they are identical, the values are returned in \fCnodeset\fP and \fCpolicy\fP\&.
+.PP
+Otherwise, if \fBHWLOC_MEMBIND_PROCESS\fP is specified (and \fBHWLOC_MEMBIND_STRICT\fP is \fInot\fP specified), \fCnodeset\fP is set to the logical OR of all threads' default nodeset\&. If all threads' default policies are the same, \fCpolicy\fP is set to that policy\&. If they are different, \fCpolicy\fP is set to \fBHWLOC_MEMBIND_MIXED\fP\&.
+.PP
+In the \fBHWLOC_MEMBIND_THREAD\fP case (or when neither \fBHWLOC_MEMBIND_PROCESS\fP or \fBHWLOC_MEMBIND_THREAD\fP is specified), there is only one nodeset and policy; they are returned in \fCnodeset\fP and \fCpolicy\fP, respectively\&.
+.PP
+If any other flags are specified, -1 is returned and errno is set to EINVAL\&.
+.SS "int hwloc_get_proc_membind (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP * policy, int flags)"
+
+.PP
+Query the default memory binding policy and physical locality of the specified process\&. This function has two output parameters: \fCset\fP and \fCpolicy\fP\&. The values returned in these parameters depend on both the \fCflags\fP passed in and the current memory binding policies and nodesets in the queried target\&.
+.PP
+Passing the \fBHWLOC_MEMBIND_PROCESS\fP flag specifies that the query target is the current policies and nodesets for all the threads in the specified process\&. If \fBHWLOC_MEMBIND_PROCESS\fP is not specified (which is the most portable method), the process is assumed to be single threaded\&. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available\&.
+.PP
+Note that it does not make sense to pass \fBHWLOC_MEMBIND_THREAD\fP to this function\&.
+.PP
+If \fBHWLOC_MEMBIND_STRICT\fP is specified, hwloc will check the default memory policies and nodesets for all threads in the specified process\&. If they are not identical, -1 is returned and errno is set to EXDEV\&. If they are identical, the values are returned in \fCset\fP and \fCpolicy\fP\&.
+.PP
+Otherwise, \fCset\fP is set to the logical OR of all threads' default set\&. If all threads' default policies are the same, \fCpolicy\fP is set to that policy\&. If they are different, \fCpolicy\fP is set to \fBHWLOC_MEMBIND_MIXED\fP\&.
+.PP
+If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+If any other flags are specified, -1 is returned and errno is set to EINVAL\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.RE
+.PP
+
+.SS "int hwloc_get_proc_membind_nodeset (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP * policy, int flags)"
+
+.PP
+Query the default memory binding policy and physical locality of the specified process\&. This function has two output parameters: \fCnodeset\fP and \fCpolicy\fP\&. The values returned in these parameters depend on both the \fCflags\fP passed in and the current memory binding policies and nodesets in the queried target\&.
+.PP
+Passing the \fBHWLOC_MEMBIND_PROCESS\fP flag specifies that the query target is the current policies and nodesets for all the threads in the specified process\&. If \fBHWLOC_MEMBIND_PROCESS\fP is not specified (which is the most portable method), the process is assumed to be single threaded\&. This allows hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available\&.
+.PP
+Note that it does not make sense to pass \fBHWLOC_MEMBIND_THREAD\fP to this function\&.
+.PP
+If \fBHWLOC_MEMBIND_STRICT\fP is specified, hwloc will check the default memory policies and nodesets for all threads in the specified process\&. If they are not identical, -1 is returned and errno is set to EXDEV\&. If they are identical, the values are returned in \fCnodeset\fP and \fCpolicy\fP\&.
+.PP
+Otherwise, \fCnodeset\fP is set to the logical OR of all threads' default nodeset\&. If all threads' default policies are the same, \fCpolicy\fP is set to that policy\&. If they are different, \fCpolicy\fP is set to \fBHWLOC_MEMBIND_MIXED\fP\&.
+.PP
+If any other flags are specified, -1 is returned and errno is set to EINVAL\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.RE
+.PP
+
+.SS "int hwloc_set_area_membind (\fBhwloc_topology_t\fP topology, const void * addr, size_t len, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Bind the already-allocated memory identified by (addr, len) to the NUMA node(s) specified by \fCset\fP\&. If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 if \fClen\fP is 0\&.
+.PP
+-1 with errno set to ENOSYS if the action is not supported
+.PP
+-1 with errno set to EXDEV if the binding cannot be enforced
+.RE
+.PP
+
+.SS "int hwloc_set_area_membind_nodeset (\fBhwloc_topology_t\fP topology, const void * addr, size_t len, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Bind the already-allocated memory identified by (addr, len) to the NUMA node(s) specified by \fCnodeset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 if \fClen\fP is 0\&.
+.PP
+-1 with errno set to ENOSYS if the action is not supported
+.PP
+-1 with errno set to EXDEV if the binding cannot be enforced
+.RE
+.PP
+
+.SS "int hwloc_set_membind (\fBhwloc_topology_t\fP topology, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Set the default memory binding policy of the current process or thread to prefer the NUMA node(s) specified by \fCset\fP\&. If neither \fBHWLOC_MEMBIND_PROCESS\fP nor \fBHWLOC_MEMBIND_THREAD\fP is specified, the current process is assumed to be single-threaded\&. This is the most portable form as it permits hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available\&.
+.PP
+If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to ENOSYS if the action is not supported
+.PP
+-1 with errno set to EXDEV if the binding cannot be enforced
+.RE
+.PP
+
+.SS "int hwloc_set_membind_nodeset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Set the default memory binding policy of the current process or thread to prefer the NUMA node(s) specified by \fCnodeset\fP\&. If neither \fBHWLOC_MEMBIND_PROCESS\fP nor \fBHWLOC_MEMBIND_THREAD\fP is specified, the current process is assumed to be single-threaded\&. This is the most portable form as it permits hwloc to use either process-based OS functions or thread-based OS functions, depending on which are available\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to ENOSYS if the action is not supported
+.PP
+-1 with errno set to EXDEV if the binding cannot be enforced
+.RE
+.PP
+
+.SS "int hwloc_set_proc_membind (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_const_bitmap_t\fP set, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Set the default memory binding policy of the specified process to prefer the NUMA node(s) specified by \fCset\fP\&. If \fBHWLOC_MEMBIND_BYNODESET\fP is specified, set is considered a nodeset\&. Otherwise it's a cpuset\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to ENOSYS if the action is not supported
+.PP
+-1 with errno set to EXDEV if the binding cannot be enforced
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.RE
+.PP
+
+.SS "int hwloc_set_proc_membind_nodeset (\fBhwloc_topology_t\fP topology, hwloc_pid_t pid, \fBhwloc_const_nodeset_t\fP nodeset, \fBhwloc_membind_policy_t\fP policy, int flags)"
+
+.PP
+Set the default memory binding policy of the specified process to prefer the NUMA node(s) specified by \fCnodeset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 with errno set to ENOSYS if the action is not supported
+.PP
+-1 with errno set to EXDEV if the binding cannot be enforced
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+\fChwloc_pid_t\fP is \fCpid_t\fP on Unix platforms, and \fCHANDLE\fP on native Windows platforms\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_myriexpress" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_myriexpress
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_mx_board_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, unsigned id, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static int \fBhwloc_mx_endpoint_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, mx_endpoint_t endpoint, \fBhwloc_cpuset_t\fP set)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about Myrinet Express hardware\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_mx_board_get_device_cpuset (\fBhwloc_topology_t\fP topology, unsigned id, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close the MX board \fCid\fP\&. Return the CPU set describing the locality of the Myrinet Express board whose index is \fCid\fP\&.
+.PP
+Topology \fCtopology\fP and device \fCid\fP must match the local machine\&. I/O devices detection is not needed in the topology\&.
+.PP
+The function only returns the locality of the device\&. No additional information about the device is available\&.
+.SS "static int hwloc_mx_endpoint_get_device_cpuset (\fBhwloc_topology_t\fP topology, mx_endpoint_t endpoint, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close the MX endpoint \fCendpoint\fP\&. Return the CPU set describing the locality of the Myrinet Express board that runs the MX endpoint \fCendpoint\fP\&.
+.PP
+Topology \fCtopology\fP and device \fCid\fP must match the local machine\&. I/O devices detection is not needed in the topology\&.
+.PP
+The function only returns the locality of the endpoint\&. No additional information about the endpoint or device is available\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_nvml" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_nvml
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_nvml_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, nvmlDevice_t device, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_nvml_get_device_osdev_by_index\fP (\fBhwloc_topology_t\fP topology, unsigned idx)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_nvml_get_device_osdev\fP (\fBhwloc_topology_t\fP topology, nvmlDevice_t device)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about devices managed by the NVIDIA Management Library (NVML)\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_nvml_get_device_cpuset (\fBhwloc_topology_t\fP topology, nvmlDevice_t device, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close to NVML device \fCdevice\fP\&. Return the CPU set describing the locality of the NVML device \fCdevice\fP\&.
+.PP
+Topology \fCtopology\fP and device \fCdevice\fP must match the local machine\&. I/O devices detection and the NVML component are not needed in the topology\&.
+.PP
+The function only returns the locality of the device\&. If more information about the device is needed, OS objects should be used instead, see \fBhwloc_nvml_get_device_osdev()\fP and \fBhwloc_nvml_get_device_osdev_by_index()\fP\&.
+.PP
+This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_nvml_get_device_osdev (\fBhwloc_topology_t\fP topology, nvmlDevice_t device)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to NVML device \fCdevice\fP\&. Return the hwloc OS device object that describes the given NVML device \fCdevice\fP\&. Return NULL if there is none\&.
+.PP
+Topology \fCtopology\fP and device \fCdevice\fP must match the local machine\&. I/O devices detection and the NVML component must be enabled in the topology\&. If not, the locality of the object may still be found using \fBhwloc_nvml_get_device_cpuset()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding hwloc PCI device may be found by looking at the result parent pointer\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_nvml_get_device_osdev_by_index (\fBhwloc_topology_t\fP topology, unsigned idx)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the NVML device whose index is \fCidx\fP\&. Return the OS device object describing the NVML device whose index is \fCidx\fP\&. Returns NULL if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection and the NVML component must be enabled in the topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_object_sets" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_object_sets
+.SH SYNOPSIS
+.br
+.PP
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef \fBhwloc_bitmap_t\fP \fBhwloc_cpuset_t\fP"
+.br
+.ti -1c
+.RI "typedef \fBhwloc_const_bitmap_t\fP \fBhwloc_const_cpuset_t\fP"
+.br
+.ti -1c
+.RI "typedef \fBhwloc_bitmap_t\fP \fBhwloc_nodeset_t\fP"
+.br
+.ti -1c
+.RI "typedef \fBhwloc_const_bitmap_t\fP \fBhwloc_const_nodeset_t\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+Hwloc uses bitmaps to represent two distinct kinds of object sets: CPU sets (\fBhwloc_cpuset_t\fP) and NUMA node sets (\fBhwloc_nodeset_t\fP)\&. These types are both typedefs to a common back end type (\fBhwloc_bitmap_t\fP), and therefore all the hwloc bitmap functions are applicable to both \fBhwloc_cpuset_t\fP and \fBhwloc_nodeset_t\fP (see \fBThe bitmap API\fP)\&.
+.PP
+The rationale for having two different types is that even though the actions one wants to perform on these types are the same (e\&.g\&., enable and disable individual items in the set/mask), they're used in very different contexts: one for specifying which processors to use and one for specifying which NUMA nodes to use\&. Hence, the name difference is really just to reflect the intent of where the type is used\&.
+.SH "Typedef Documentation"
+.PP
+.SS "typedef \fBhwloc_const_bitmap_t\fP \fBhwloc_const_cpuset_t\fP"
+
+.PP
+A non-modifiable \fBhwloc_cpuset_t\fP\&.
+.SS "typedef \fBhwloc_const_bitmap_t\fP \fBhwloc_const_nodeset_t\fP"
+
+.PP
+A non-modifiable \fBhwloc_nodeset_t\fP\&.
+.SS "typedef \fBhwloc_bitmap_t\fP \fBhwloc_cpuset_t\fP"
+
+.PP
+A CPU set is a bitmap whose bits are set according to CPU physical OS indexes\&. It may be consulted and modified with the bitmap API as any \fBhwloc_bitmap_t\fP (see \fBhwloc/bitmap\&.h\fP)\&.
+.PP
+Each bit may be converted into a PU object using \fBhwloc_get_pu_obj_by_os_index()\fP\&.
+.SS "typedef \fBhwloc_bitmap_t\fP \fBhwloc_nodeset_t\fP"
+
+.PP
+A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes\&. It may be consulted and modified with the bitmap API as any \fBhwloc_bitmap_t\fP (see \fBhwloc/bitmap\&.h\fP)\&. Each bit may be converted into a NUMA node object using \fBhwloc_get_numanode_obj_by_os_index()\fP\&.
+.PP
+When binding memory on a system without any NUMA node (when the whole memory is considered as a single memory bank), the nodeset may be either empty (no memory selected) or full (whole system memory selected)\&.
+.PP
+See also \fBConverting between CPU sets and node sets\fP\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_object_strings" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_object_strings
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "const char * \fBhwloc_obj_type_string\fP (\fBhwloc_obj_type_t\fP type)"
+.br
+.ti -1c
+.RI "int \fBhwloc_obj_type_snprintf\fP (char *restrict string, size_t size, \fBhwloc_obj_t\fP obj, int verbose)"
+.br
+.ti -1c
+.RI "int \fBhwloc_obj_attr_snprintf\fP (char *restrict string, size_t size, \fBhwloc_obj_t\fP obj, const char *restrict separator, int verbose)"
+.br
+.ti -1c
+.RI "int \fBhwloc_obj_cpuset_snprintf\fP (char *restrict str, size_t size, size_t nobj, const \fBhwloc_obj_t\fP *restrict objs)"
+.br
+.ti -1c
+.RI "int \fBhwloc_obj_type_sscanf\fP (const char *string, \fBhwloc_obj_type_t\fP *typep, int *depthattrp, void *typeattrp, size_t typeattrsize)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_obj_attr_snprintf (char *restrict string, size_t size, \fBhwloc_obj_t\fP obj, const char *restrict separator, int verbose)"
+
+.PP
+Stringify the attributes of a given topology object into a human-readable form\&. Attribute values are separated by \fCseparator\fP\&.
+.PP
+Only the major attributes are printed in non-verbose mode\&.
+.PP
+If \fCsize\fP is 0, \fCstring\fP may safely be \fCNULL\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of character that were actually written if not truncating, or that would have been written (not including the ending \\0)\&.
+.RE
+.PP
+
+.SS "int hwloc_obj_cpuset_snprintf (char *restrict str, size_t size, size_t nobj, const \fBhwloc_obj_t\fP *restrict objs)"
+
+.PP
+Stringify the cpuset containing a set of objects\&. If \fCsize\fP is 0, \fCstring\fP may safely be \fCNULL\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of character that were actually written if not truncating, or that would have been written (not including the ending \\0)\&.
+.RE
+.PP
+
+.SS "int hwloc_obj_type_snprintf (char *restrict string, size_t size, \fBhwloc_obj_t\fP obj, int verbose)"
+
+.PP
+Stringify the type of a given topology object into a human-readable form\&. Contrary to \fBhwloc_obj_type_string()\fP, this function includes object-specific attributes (such as the Group depth, the Bridge type, or OS device type) in the output, and it requires the caller to provide the output buffer\&.
+.PP
+The output is guaranteed to be the same for all objects of a same topology level\&.
+.PP
+If \fCsize\fP is 0, \fCstring\fP may safely be \fCNULL\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the number of character that were actually written if not truncating, or that would have been written (not including the ending \\0)\&.
+.RE
+.PP
+
+.SS "int hwloc_obj_type_sscanf (const char * string, \fBhwloc_obj_type_t\fP * typep, int * depthattrp, void * typeattrp, size_t typeattrsize)"
+
+.PP
+Return an object type and attributes from a type string\&. Convert strings such as 'Package' or 'Cache' into the corresponding types\&. Matching is case-insensitive, and only the first letters are actually required to match\&.
+.PP
+This function is guaranteed to match any string returned by \fBhwloc_obj_type_string()\fP or \fBhwloc_obj_type_snprintf()\fP\&.
+.PP
+Types that have specific attributes, for instance caches and groups, may be returned in \fCdepthattrp\fP and \fCtypeattrp\fP\&. They are ignored when these pointers are \fCNULL\fP\&.
+.PP
+For instance 'L2i' or 'L2iCache' would return type HWLOC_OBJ_CACHE in \fCtypep\fP, 2 in \fCdepthattrp\fP, and HWLOC_OBJ_CACHE_TYPE_INSTRUCTION in \fCtypeattrp\fP (this last pointer should point to a hwloc_obj_cache_type_t)\&. 'Group3' would return type HWLOC_OBJ_GROUP type and 3 in \fCdepthattrp\fP\&. Attributes that are not specified in the string (for instance 'Group' without a depth, or 'L2Cache' without a cache type) are set to -1\&.
+.PP
+\fCtypeattrp\fP is only filled if the size specified in \fCtypeattrsize\fP is large enough\&. It is currently only used for caches, and the required size is at least the size of hwloc_obj_cache_type_t\&.
+.PP
+\fBReturns:\fP
+.RS 4
+0 if a type was correctly identified, otherwise -1\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+This is an extended version of the now deprecated hwloc_obj_type_of_string()
+.RE
+.PP
+
+.SS "const char* hwloc_obj_type_string (\fBhwloc_obj_type_t\fP type)"
+
+.PP
+Return a constant stringified object type\&. This function is the basic way to convert a generic type into a string\&.
+.PP
+\fBhwloc_obj_type_snprintf()\fP may return a more precise output for a specific object, but it requires the caller to provide the output buffer\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_object_types" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_object_types
+.SH SYNOPSIS
+.br
+.PP
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef enum \fBhwloc_obj_cache_type_e\fP \fBhwloc_obj_cache_type_t\fP"
+.br
+.ti -1c
+.RI "typedef enum \fBhwloc_obj_bridge_type_e\fP \fBhwloc_obj_bridge_type_t\fP"
+.br
+.ti -1c
+.RI "typedef enum \fBhwloc_obj_osdev_type_e\fP \fBhwloc_obj_osdev_type_t\fP"
+.br
+.in -1c
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_obj_type_t\fP { \fBHWLOC_OBJ_SYSTEM\fP, \fBHWLOC_OBJ_MACHINE\fP, \fBHWLOC_OBJ_NUMANODE\fP, \fBHWLOC_OBJ_PACKAGE\fP, \fBHWLOC_OBJ_CACHE\fP, \fBHWLOC_OBJ_CORE\fP, \fBHWLOC_OBJ_PU\fP, \fBHWLOC_OBJ_GROUP\fP, \fBHWLOC_OBJ_MISC\fP, \fBHWLOC_OBJ_BRIDGE\fP, \fBHWLOC_OBJ_PCI_DEVICE\fP, \fBHWLOC_OBJ_OS_DEVICE\fP }"
+.br
+.ti -1c
+.RI "enum \fBhwloc_obj_cache_type_e\fP { \fBHWLOC_OBJ_CACHE_UNIFIED\fP, \fBHWLOC_OBJ_CACHE_DATA\fP, \fBHWLOC_OBJ_CACHE_INSTRUCTION\fP }"
+.br
+.ti -1c
+.RI "enum \fBhwloc_obj_bridge_type_e\fP { \fBHWLOC_OBJ_BRIDGE_HOST\fP, \fBHWLOC_OBJ_BRIDGE_PCI\fP }"
+.br
+.ti -1c
+.RI "enum \fBhwloc_obj_osdev_type_e\fP { \fBHWLOC_OBJ_OSDEV_BLOCK\fP, \fBHWLOC_OBJ_OSDEV_GPU\fP, \fBHWLOC_OBJ_OSDEV_NETWORK\fP, \fBHWLOC_OBJ_OSDEV_OPENFABRICS\fP, \fBHWLOC_OBJ_OSDEV_DMA\fP, \fBHWLOC_OBJ_OSDEV_COPROC\fP }"
+.br
+.ti -1c
+.RI "enum \fBhwloc_compare_types_e\fP { \fBHWLOC_TYPE_UNORDERED\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_compare_types\fP (\fBhwloc_obj_type_t\fP type1, \fBhwloc_obj_type_t\fP type2)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Typedef Documentation"
+.PP
+.SS "typedef enum \fBhwloc_obj_bridge_type_e\fP \fBhwloc_obj_bridge_type_t\fP"
+
+.PP
+Type of one side (upstream or downstream) of an I/O bridge\&.
+.SS "typedef enum \fBhwloc_obj_cache_type_e\fP \fBhwloc_obj_cache_type_t\fP"
+
+.PP
+Cache type\&.
+.SS "typedef enum \fBhwloc_obj_osdev_type_e\fP \fBhwloc_obj_osdev_type_t\fP"
+
+.PP
+Type of a OS device\&.
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_compare_types_e\fP"
+
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_TYPE_UNORDERED \fP\fP
+Value returned by \fBhwloc_compare_types()\fP when types can not be compared\&.
+.SS "enum \fBhwloc_obj_bridge_type_e\fP"
+
+.PP
+Type of one side (upstream or downstream) of an I/O bridge\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_OBJ_BRIDGE_HOST \fP\fP
+Host-side of a bridge, only possible upstream\&.
+.TP
+\fB\fIHWLOC_OBJ_BRIDGE_PCI \fP\fP
+PCI-side of a bridge\&.
+.SS "enum \fBhwloc_obj_cache_type_e\fP"
+
+.PP
+Cache type\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_OBJ_CACHE_UNIFIED \fP\fP
+Unified cache\&.
+.TP
+\fB\fIHWLOC_OBJ_CACHE_DATA \fP\fP
+Data cache\&.
+.TP
+\fB\fIHWLOC_OBJ_CACHE_INSTRUCTION \fP\fP
+Instruction cache\&. Only used when the \fBHWLOC_TOPOLOGY_FLAG_ICACHES\fP topology flag is set\&.
+.SS "enum \fBhwloc_obj_osdev_type_e\fP"
+
+.PP
+Type of a OS device\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_OBJ_OSDEV_BLOCK \fP\fP
+Operating system block device\&. For instance 'sda' on Linux\&.
+.TP
+\fB\fIHWLOC_OBJ_OSDEV_GPU \fP\fP
+Operating system GPU device\&. For instance ':0\&.0' for a GL display, 'card0' for a Linux DRM device\&.
+.TP
+\fB\fIHWLOC_OBJ_OSDEV_NETWORK \fP\fP
+Operating system network device\&. For instance the 'eth0' interface on Linux\&.
+.TP
+\fB\fIHWLOC_OBJ_OSDEV_OPENFABRICS \fP\fP
+Operating system openfabrics device\&. For instance the 'mlx4_0' InfiniBand HCA, or 'hfi1_0' Omni-Path interface on Linux\&.
+.TP
+\fB\fIHWLOC_OBJ_OSDEV_DMA \fP\fP
+Operating system dma engine device\&. For instance the 'dma0chan0' DMA channel on Linux\&.
+.TP
+\fB\fIHWLOC_OBJ_OSDEV_COPROC \fP\fP
+Operating system co-processor device\&. For instance 'mic0' for a Xeon Phi (MIC) on Linux, 'opencl0d0' for a OpenCL device, 'cuda0' for a CUDA device\&.
+.SS "enum \fBhwloc_obj_type_t\fP"
+
+.PP
+Type of topology object\&.
+.PP
+\fBNote:\fP
+.RS 4
+Do not rely on the ordering or completeness of the values as new ones may be defined in the future! If you need to compare types, use \fBhwloc_compare_types()\fP instead\&.
+.RE
+.PP
+
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_OBJ_SYSTEM \fP\fP
+Whole system (may be a cluster of machines)\&. The whole system that is accessible to hwloc\&. That may comprise several machines in SSI systems like Kerrighed\&.
+.TP
+\fB\fIHWLOC_OBJ_MACHINE \fP\fP
+Machine\&. The typical root object type\&. A set of processors and memory with cache coherency\&.
+.TP
+\fB\fIHWLOC_OBJ_NUMANODE \fP\fP
+NUMA node\&. An object that contains memory that is directly and byte-accessible to the host processors\&. It is usually close to some cores (the corresponding objects are descendants of the NUMA node object in the hwloc tree)\&. There is always at one such object in the topology even if the machine is not NUMA\&.
+.TP
+\fB\fIHWLOC_OBJ_PACKAGE \fP\fP
+Physical package\&. The physical package that usually gets inserted into a socket on the motherboard\&. A processor package usually contains multiple cores\&.
+.TP
+\fB\fIHWLOC_OBJ_CACHE \fP\fP
+Cache\&. Can be L1i, L1d, L2, L3, \&.\&.\&.
+.TP
+\fB\fIHWLOC_OBJ_CORE \fP\fP
+Core\&. A computation unit (may be shared by several logical processors)\&.
+.TP
+\fB\fIHWLOC_OBJ_PU \fP\fP
+Processing Unit, or (Logical) Processor\&. An execution unit (may share a core with some other logical processors, e\&.g\&. in the case of an SMT core)\&. Objects of this kind are always reported and can thus be used as fallback when others are not\&.
+.TP
+\fB\fIHWLOC_OBJ_GROUP \fP\fP
+Group objects\&. Objects which do not fit in the above but are detected by hwloc and are useful to take into account for affinity\&. For instance, some operating systems expose their arbitrary processors aggregation this way\&. And hwloc may insert such objects to group NUMA nodes according to their distances\&. See also \fBWhat are these Group objects in my topology?\fP\&. These objects are ignored when they do not bring any structure\&.
+.TP
+\fB\fIHWLOC_OBJ_MISC \fP\fP
+Miscellaneous objects\&. Objects without particular meaning, that can e\&.g\&. be added by the application for its own use, or by hwloc for miscellaneous objects such as MemoryModule (DIMMs)\&.
+.TP
+\fB\fIHWLOC_OBJ_BRIDGE \fP\fP
+Bridge\&. Any bridge that connects the host or an I/O bus, to another I/O bus\&. Bridge objects have neither CPU sets nor node sets\&. They are not added to the topology unless I/O discovery is enabled with \fBhwloc_topology_set_flags()\fP\&.
+.TP
+\fB\fIHWLOC_OBJ_PCI_DEVICE \fP\fP
+PCI device\&. These objects have neither CPU sets nor node sets\&. They are not added to the topology unless I/O discovery is enabled with \fBhwloc_topology_set_flags()\fP\&.
+.TP
+\fB\fIHWLOC_OBJ_OS_DEVICE \fP\fP
+Operating system device\&. These objects have neither CPU sets nor node sets\&. They are not added to the topology unless I/O discovery is enabled with \fBhwloc_topology_set_flags()\fP\&.
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_compare_types (\fBhwloc_obj_type_t\fP type1, \fBhwloc_obj_type_t\fP type2)"
+
+.PP
+Compare the depth of two object types\&. Types shouldn't be compared as they are, since newer ones may be added in the future\&. This function returns less than, equal to, or greater than zero respectively if \fCtype1\fP objects usually include \fCtype2\fP objects, are the same as \fCtype2\fP objects, or are included in \fCtype2\fP objects\&. If the types can not be compared (because neither is usually contained in the other), \fBHWLOC_TYPE_UNORDERED\fP is returned\&. Object types containing CPUs can always be compared (usually, a system contains machines which contain nodes which contain packages which contain caches, which contain cores, which contain processors)\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fBHWLOC_OBJ_PU\fP will always be the deepest\&.
+.PP
+This does not mean that the actual topology will respect that order: e\&.g\&. as of today cores may also contain caches, and packages may also contain nodes\&. This is thus just to be seen as a fallback comparison method\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_objects" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_objects
+.SH SYNOPSIS
+.br
+.PP
+.SS "Data Structures"
+
+.in +1c
+.ti -1c
+.RI "struct \fBhwloc_obj_memory_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj\fP"
+.br
+.ti -1c
+.RI "union \fBhwloc_obj_attr_u\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_distances_s\fP"
+.br
+.ti -1c
+.RI "struct \fBhwloc_obj_info_s\fP"
+.br
+.in -1c
+.SS "Typedefs"
+
+.in +1c
+.ti -1c
+.RI "typedef struct \fBhwloc_obj\fP * \fBhwloc_obj_t\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Typedef Documentation"
+.PP
+.SS "typedef struct \fBhwloc_obj\fP* \fBhwloc_obj_t\fP"
+
+.PP
+Convenience typedef; a pointer to a struct \fBhwloc_obj\fP\&.
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_opencl" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_opencl
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_opencl_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, cl_device_id device, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_opencl_get_device_osdev_by_index\fP (\fBhwloc_topology_t\fP topology, unsigned platform_index, unsigned device_index)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_opencl_get_device_osdev\fP (\fBhwloc_topology_t\fP topology, cl_device_id device)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about OpenCL devices\&.
+.PP
+Only the AMD OpenCL interface currently offers useful locality information about its devices\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_opencl_get_device_cpuset (\fBhwloc_topology_t\fP topology, cl_device_id device, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close to OpenCL device \fCdevice\fP\&. Return the CPU set describing the locality of the OpenCL device \fCdevice\fP\&.
+.PP
+Topology \fCtopology\fP and device \fCdevice\fP must match the local machine\&. I/O devices detection and the OpenCL component are not needed in the topology\&.
+.PP
+The function only returns the locality of the device\&. If more information about the device is needed, OS objects should be used instead, see \fBhwloc_opencl_get_device_osdev()\fP and \fBhwloc_opencl_get_device_osdev_by_index()\fP\&.
+.PP
+This function is currently only implemented in a meaningful way for Linux with the AMD OpenCL implementation; other systems will simply get a full cpuset\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_opencl_get_device_osdev (\fBhwloc_topology_t\fP topology, cl_device_id device)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to OpenCL device \fCdevice\fP\&. Return the hwloc OS device object that describes the given OpenCL device \fCdevice\fP\&. Return NULL if there is none\&.
+.PP
+Topology \fCtopology\fP and device \fCdevice\fP must match the local machine\&. I/O devices detection and the OpenCL component must be enabled in the topology\&. If not, the locality of the object may still be found using \fBhwloc_opencl_get_device_cpuset()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding hwloc PCI device may be found by looking at the result parent pointer\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_opencl_get_device_osdev_by_index (\fBhwloc_topology_t\fP topology, unsigned platform_index, unsigned device_index)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the OpenCL device for the given indexes\&. Return the OS device object describing the OpenCL device whose platform index is \fCplatform_index\fP, and whose device index within this platform if \fCdevice_index\fP\&. Return NULL if there is none\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection and the OpenCL component must be enabled in the topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_openfabrics" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_openfabrics
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "static int \fBhwloc_ibv_get_device_cpuset\fP (\fBhwloc_topology_t\fP topology, struct ibv_device *ibdev, \fBhwloc_cpuset_t\fP set)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_ibv_get_device_osdev_by_name\fP (\fBhwloc_topology_t\fP topology, const char *ibname)"
+.br
+.ti -1c
+.RI "static \fBhwloc_obj_t\fP \fBhwloc_ibv_get_device_osdev\fP (\fBhwloc_topology_t\fP topology, struct ibv_device *ibdev)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+This interface offers ways to retrieve topology information about OpenFabrics devices (InfiniBand, Omni-Path, usNIC, etc)\&.
+.SH "Function Documentation"
+.PP
+.SS "static int hwloc_ibv_get_device_cpuset (\fBhwloc_topology_t\fP topology, struct ibv_device * ibdev, \fBhwloc_cpuset_t\fP set)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the CPU set of logical processors that are physically close to device \fCibdev\fP\&. Return the CPU set describing the locality of the OpenFabrics device \fCibdev\fP (InfiniBand, etc)\&.
+.PP
+Topology \fCtopology\fP and device \fCibdev\fP must match the local machine\&. I/O devices detection is not needed in the topology\&.
+.PP
+The function only returns the locality of the device\&. If more information about the device is needed, OS objects should be used instead, see \fBhwloc_ibv_get_device_osdev()\fP and \fBhwloc_ibv_get_device_osdev_by_name()\fP\&.
+.PP
+This function is currently only implemented in a meaningful way for Linux; other systems will simply get a full cpuset\&.
+.SS "static \fBhwloc_obj_t\fP hwloc_ibv_get_device_osdev (\fBhwloc_topology_t\fP topology, struct ibv_device * ibdev)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the OpenFabrics device \fCibdev\fP\&. Return the OS device object describing the OpenFabrics device \fCibdev\fP (InfiniBand, etc)\&. Returns NULL if there is none\&.
+.PP
+Topology \fCtopology\fP and device \fCibdev\fP must match the local machine\&. I/O devices detection must be enabled in the topology\&. If not, the locality of the object may still be found using \fBhwloc_ibv_get_device_cpuset()\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.RE
+.PP
+
+.SS "static \fBhwloc_obj_t\fP hwloc_ibv_get_device_osdev_by_name (\fBhwloc_topology_t\fP topology, const char * ibname)\fC [inline]\fP, \fC [static]\fP"
+
+.PP
+Get the hwloc OS device object corresponding to the OpenFabrics device named \fCibname\fP\&. Return the OS device object describing the OpenFabrics device (InfiniBand, Omni-Path, usNIC, etc) whose name is \fCibname\fP (mlx5_0, hfi1_0, usnic_0, qib0, etc)\&. Returns NULL if there is none\&. The name \fCibname\fP is usually obtained from ibv_get_device_name()\&.
+.PP
+The topology \fCtopology\fP does not necessarily have to match the current machine\&. For instance the topology may be an XML import of a remote host\&. I/O devices detection must be enabled in the topology\&.
+.PP
+\fBNote:\fP
+.RS 4
+The corresponding PCI device object can be obtained by looking at the OS device parent object\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_syntheticexport" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_syntheticexport
+.SH SYNOPSIS
+.br
+.PP
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_topology_export_synthetic_flags_e\fP { \fBHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES\fP, \fBHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_topology_export_synthetic\fP (\fBhwloc_topology_t\fP topology, char *buffer, size_t buflen, unsigned long flags)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_topology_export_synthetic_flags_e\fP"
+
+.PP
+Flags for exporting synthetic topologies\&. Flags to be given as a OR'ed set to \fBhwloc_topology_export_synthetic()\fP\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES \fP\fP
+Export extended types such as L2dcache as basic types such as Cache\&. This is required if loading the synthetic description with hwloc < 1\&.9\&.
+.TP
+\fB\fIHWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS \fP\fP
+Do not export level attributes\&. Ignore level attributes such as memory/cache sizes or PU indexes\&. This is required if loading the synthetic description with hwloc < 1\&.10\&.
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_topology_export_synthetic (\fBhwloc_topology_t\fP topology, char * buffer, size_t buflen, unsigned long flags)"
+
+.PP
+Export the topology as a synthetic string\&. At most \fCbuflen\fP characters will be written in \fCbuffer\fP, including the terminating \\0\&.
+.PP
+This exported string may be given back to \fBhwloc_topology_set_synthetic()\fP\&.
+.PP
+\fCflags\fP is a OR'ed set of hwloc_topology_export_synthetic_flags_e\&.
+.PP
+\fBReturns:\fP
+.RS 4
+The number of characters that were written, not including the terminating \\0\&.
+.PP
+-1 if the topology could not be exported, for instance if it is not symmetric\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+A 1024-byte buffer should be large enough for exporting topologies in the vast majority of cases\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_tinker" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_tinker
+.SH SYNOPSIS
+.br
+.PP
+.SS "Enumerations"
+
+.in +1c
+.ti -1c
+.RI "enum \fBhwloc_restrict_flags_e\fP { \fBHWLOC_RESTRICT_FLAG_ADAPT_DISTANCES\fP, \fBHWLOC_RESTRICT_FLAG_ADAPT_MISC\fP, \fBHWLOC_RESTRICT_FLAG_ADAPT_IO\fP }"
+.br
+.in -1c
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "\fBhwloc_obj_t\fP \fBhwloc_topology_insert_misc_object_by_cpuset\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP cpuset, const char *name)"
+.br
+.ti -1c
+.RI "\fBhwloc_obj_t\fP \fBhwloc_topology_insert_misc_object_by_parent\fP (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP parent, const char *name)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_restrict\fP (\fBhwloc_topology_t\fP restrict topology, \fBhwloc_const_cpuset_t\fP cpuset, unsigned long flags)"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Enumeration Type Documentation"
+.PP
+.SS "enum \fBhwloc_restrict_flags_e\fP"
+
+.PP
+Flags to be given to \fBhwloc_topology_restrict()\fP\&.
+.PP
+\fBEnumerator\fP
+.in +1c
+.TP
+\fB\fIHWLOC_RESTRICT_FLAG_ADAPT_DISTANCES \fP\fP
+Adapt distance matrices according to objects being removed during restriction\&. If this flag is not set, distance matrices are removed\&.
+.TP
+\fB\fIHWLOC_RESTRICT_FLAG_ADAPT_MISC \fP\fP
+Move Misc objects to ancestors if their parents are removed during restriction\&. If this flag is not set, Misc objects are removed when their parents are removed\&.
+.TP
+\fB\fIHWLOC_RESTRICT_FLAG_ADAPT_IO \fP\fP
+Move I/O objects to ancestors if their parents are removed during restriction\&. If this flag is not set, I/O devices and bridges are removed when their parents are removed\&.
+.SH "Function Documentation"
+.PP
+.SS "\fBhwloc_obj_t\fP hwloc_topology_insert_misc_object_by_cpuset (\fBhwloc_topology_t\fP topology, \fBhwloc_const_cpuset_t\fP cpuset, const char * name)"
+
+.PP
+Add a MISC object to the topology\&. A new MISC object will be created and inserted into the topology at the position given by bitmap \fCcpuset\fP\&. This offers a way to add new intermediate levels to the topology hierarchy\&.
+.PP
+\fCcpuset\fP and \fCname\fP will be copied to setup the new object attributes\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the newly-created object\&.
+.PP
+\fCNULL\fP if the insertion conflicts with the existing topology tree\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+If \fCname\fP contains some non-printable characters, they will be dropped when exporting to XML, see \fBhwloc_topology_export_xml()\fP\&.
+.RE
+.PP
+
+.SS "\fBhwloc_obj_t\fP hwloc_topology_insert_misc_object_by_parent (\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP parent, const char * name)"
+
+.PP
+Add a MISC object as a leaf of the topology\&. A new MISC object will be created and inserted into the topology at the position given by parent\&. It is appended to the list of existing children, without ever adding any intermediate hierarchy level\&. This is useful for annotating the topology without actually changing the hierarchy\&.
+.PP
+\fCname\fP will be copied to the setup the new object attributes\&. However, the new leaf object will not have any \fCcpuset\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+the newly-created object
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+If \fCname\fP contains some non-printable characters, they will be dropped when exporting to XML, see \fBhwloc_topology_export_xml()\fP\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_restrict (\fBhwloc_topology_t\fP restrict topology, \fBhwloc_const_cpuset_t\fP cpuset, unsigned long flags)"
+
+.PP
+Restrict the topology to the given CPU set\&. Topology \fCtopology\fP is modified so as to remove all objects that are not included (or partially included) in the CPU set \fCcpuset\fP\&. All objects CPU and node sets are restricted accordingly\&.
+.PP
+\fCflags\fP is a OR'ed set of \fBhwloc_restrict_flags_e\fP\&.
+.PP
+\fBNote:\fP
+.RS 4
+This call may not be reverted by restricting back to a larger cpuset\&. Once dropped during restriction, objects may not be brought back, except by loading another topology with \fBhwloc_topology_load()\fP\&.
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+0 on success\&.
+.PP
+-1 with errno set to EINVAL if the input cpuset is invalid\&. The topology is not modified in this case\&.
+.PP
+-1 with errno set to ENOMEM on failure to allocate internal data\&. The topology is reinitialized in this case\&. It should be either destroyed with \fBhwloc_topology_destroy()\fP or configured and loaded again\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+.TH "hwlocality_xmlexport" 3 "Mon Jun 3 2019" "Version 1.11.13" "Hardware Locality (hwloc)" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+hwlocality_xmlexport
+.SH SYNOPSIS
+.br
+.PP
+.SS "Functions"
+
+.in +1c
+.ti -1c
+.RI "int \fBhwloc_topology_export_xml\fP (\fBhwloc_topology_t\fP topology, const char *xmlpath)"
+.br
+.ti -1c
+.RI "int \fBhwloc_topology_export_xmlbuffer\fP (\fBhwloc_topology_t\fP topology, char **xmlbuffer, int *buflen)"
+.br
+.ti -1c
+.RI "void \fBhwloc_free_xmlbuffer\fP (\fBhwloc_topology_t\fP topology, char *xmlbuffer)"
+.br
+.ti -1c
+.RI "void \fBhwloc_topology_set_userdata_export_callback\fP (\fBhwloc_topology_t\fP topology, void(*export_cb)(void *reserved, \fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj))"
+.br
+.ti -1c
+.RI "int \fBhwloc_export_obj_userdata\fP (void *reserved, \fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, const char *name, const void *buffer, size_t length)"
+.br
+.ti -1c
+.RI "int \fBhwloc_export_obj_userdata_base64\fP (void *reserved, \fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, const char *name, const void *buffer, size_t length)"
+.br
+.ti -1c
+.RI "void \fBhwloc_topology_set_userdata_import_callback\fP (\fBhwloc_topology_t\fP topology, void(*import_cb)(\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, const char *name, const void *buffer, size_t length))"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+
+.SH "Function Documentation"
+.PP
+.SS "int hwloc_export_obj_userdata (void * reserved, \fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, const char * name, const void * buffer, size_t length)"
+
+.PP
+Export some object userdata to XML\&. This function may only be called from within the export() callback passed to \fBhwloc_topology_set_userdata_export_callback()\fP\&. It may be invoked one of multiple times to export some userdata to XML\&. The \fCbuffer\fP content of length \fClength\fP is stored with optional name \fCname\fP\&.
+.PP
+When importing this XML file, the import() callback (if set) will be called exactly as many times as \fBhwloc_export_obj_userdata()\fP was called during export()\&. It will receive the corresponding \fCname\fP, \fCbuffer\fP and \fClength\fP arguments\&.
+.PP
+\fCreserved\fP, \fCtopology\fP and \fCobj\fP must be the first three parameters that were given to the export callback\&.
+.PP
+Only printable characters may be exported to XML string attributes\&. If a non-printable character is passed in \fCname\fP or \fCbuffer\fP, the function returns -1 with errno set to EINVAL\&.
+.PP
+If exporting binary data, the application should first encode into printable characters only (or use \fBhwloc_export_obj_userdata_base64()\fP)\&. It should also take care of portability issues if the export may be reimported on a different architecture\&.
+.SS "int hwloc_export_obj_userdata_base64 (void * reserved, \fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, const char * name, const void * buffer, size_t length)"
+
+.PP
+Encode and export some object userdata to XML\&. This function is similar to \fBhwloc_export_obj_userdata()\fP but it encodes the input buffer into printable characters before exporting\&. On import, decoding is automatically performed before the data is given to the import() callback if any\&.
+.PP
+This function may only be called from within the export() callback passed to \fBhwloc_topology_set_userdata_export_callback()\fP\&.
+.PP
+The function does not take care of portability issues if the export may be reimported on a different architecture\&.
+.SS "void hwloc_free_xmlbuffer (\fBhwloc_topology_t\fP topology, char * xmlbuffer)"
+
+.PP
+Free a buffer allocated by \fBhwloc_topology_export_xmlbuffer()\fP
+.SS "int hwloc_topology_export_xml (\fBhwloc_topology_t\fP topology, const char * xmlpath)"
+
+.PP
+Export the topology into an XML file\&. This file may be loaded later through \fBhwloc_topology_set_xml()\fP\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if a failure occured\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+See also \fBhwloc_topology_set_userdata_export_callback()\fP for exporting application-specific object userdata\&.
+.PP
+The topology-specific userdata pointer is ignored when exporting to XML\&.
+.PP
+Only printable characters may be exported to XML string attributes\&. Any other character, especially any non-ASCII character, will be silently dropped\&.
+.PP
+If \fCname\fP is '-', the XML output is sent to the standard output\&.
+.RE
+.PP
+
+.SS "int hwloc_topology_export_xmlbuffer (\fBhwloc_topology_t\fP topology, char ** xmlbuffer, int * buflen)"
+
+.PP
+Export the topology into a newly-allocated XML memory buffer\&. \fCxmlbuffer\fP is allocated by the callee and should be freed with \fBhwloc_free_xmlbuffer()\fP later in the caller\&.
+.PP
+This memory buffer may be loaded later through \fBhwloc_topology_set_xmlbuffer()\fP\&.
+.PP
+The returned buffer ends with a \\0 that is included in the returned length\&.
+.PP
+\fBReturns:\fP
+.RS 4
+-1 if a failure occured\&.
+.RE
+.PP
+\fBNote:\fP
+.RS 4
+See also \fBhwloc_topology_set_userdata_export_callback()\fP for exporting application-specific object userdata\&.
+.PP
+The topology-specific userdata pointer is ignored when exporting to XML\&.
+.PP
+Only printable characters may be exported to XML string attributes\&. Any other character, especially any non-ASCII character, will be silently dropped\&.
+.RE
+.PP
+
+.SS "void hwloc_topology_set_userdata_export_callback (\fBhwloc_topology_t\fP topology, void(*)(void *reserved, \fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj) export_cb)"
+
+.PP
+Set the application-specific callback for exporting object userdata\&. The object userdata pointer is not exported to XML by default because hwloc does not know what it contains\&.
+.PP
+This function lets applications set \fCexport_cb\fP to a callback function that converts this opaque userdata into an exportable string\&.
+.PP
+\fCexport_cb\fP is invoked during XML export for each object whose \fCuserdata\fP pointer is not \fCNULL\fP\&. The callback should use \fBhwloc_export_obj_userdata()\fP or \fBhwloc_export_obj_userdata_base64()\fP to actually export something to XML (possibly multiple times per object)\&.
+.PP
+\fCexport_cb\fP may be set to \fCNULL\fP if userdata should not be exported to XML\&.
+.PP
+\fBNote:\fP
+.RS 4
+The topology-specific userdata pointer is ignored when exporting to XML\&.
+.RE
+.PP
+
+.SS "void hwloc_topology_set_userdata_import_callback (\fBhwloc_topology_t\fP topology, void(*)(\fBhwloc_topology_t\fP topology, \fBhwloc_obj_t\fP obj, const char *name, const void *buffer, size_t length) import_cb)"
+
+.PP
+Set the application-specific callback for importing userdata\&. On XML import, userdata is ignored by default because hwloc does not know how to store it in memory\&.
+.PP
+This function lets applications set \fCimport_cb\fP to a callback function that will get the XML-stored userdata and store it in the object as expected by the application\&.
+.PP
+\fCimport_cb\fP is called during \fBhwloc_topology_load()\fP as many times as \fBhwloc_export_obj_userdata()\fP was called during export\&. The topology is not entirely setup yet\&. Object attributes are ready to consult, but links between objects are not\&.
+.PP
+\fCimport_cb\fP may be \fCNULL\fP if userdata should be ignored during import\&.
+.PP
+\fBNote:\fP
+.RS 4
+\fCbuffer\fP contains \fClength\fP characters followed by a null byte ('\\0')\&.
+.PP
+This function should be called before \fBhwloc_topology_load()\fP\&.
+.PP
+The topology-specific userdata pointer is ignored when importing from XML\&.
+.RE
+.PP
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.
--- /dev/null
+# Copyright © 2010-2014 Inria. All rights reserved.
+# Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+# Doxyfile 1.5.9
+
+# This file describes the settings to be used by the documentation system
+# doxygen (www.doxygen.org) for a project
+#
+# All text after a hash (#) is considered a comment and will be ignored
+# The format is:
+# TAG = value [value, ...]
+# For lists items can also be appended using:
+# TAG += value [value, ...]
+# Values that contain spaces should be placed between quotes (" ")
+
+# We include a file here that is generated by hwloc's configure
+# script. This file will contain some configure-set values, such as
+# version, source dir, etc. We don't put them here in this file
+# directly because Automake has established that this file is a
+# dependency on running doxygen. Specifically: if we modify this
+# file, doxygen will be run again. In distribution tarballs, we do
+# *not* want to run doxygen, hence, we can't have configure modify
+# this file -- we have to have it modify a file that Automake is
+# unaware of (i.e., doxygen-config.cfg, that we include here).
+
+@INCLUDE = doxygen-config.cfg
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+
+# This tag specifies the encoding used for all characters in the config file
+# that follow. The default is UTF-8 which is also the encoding used for all
+# text before the first occurrence of this tag. Doxygen uses libiconv (or the
+# iconv built into libc) for the transcoding. See
+# http://www.gnu.org/software/libiconv for the list of possible encodings.
+
+DOXYFILE_ENCODING = UTF-8
+
+# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
+# by quotes) that should identify the project.
+
+PROJECT_NAME = "Hardware Locality (hwloc)"
+
+# The PROJECT_NUMBER tag can be used to enter a project or revision number.
+# This could be handy for archiving the generated documentation or
+# if some version control system is used.
+
+# Comes from @INCLUDE, above
+#PROJECT_NUMBER = bogus_number
+
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
+# base path where the generated documentation will be put.
+# If a relative path is entered, it will be relative to the location
+# where doxygen was started. If left blank the current directory will be used.
+
+OUTPUT_DIRECTORY = ../doc/doxygen-doc
+
+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
+# 4096 sub-directories (in 2 levels) under the output directory of each output
+# format and will distribute the generated files over these directories.
+# Enabling this option can be useful when feeding doxygen a huge amount of
+# source files, where putting all generated files in the same directory would
+# otherwise cause performance problems for the file system.
+
+CREATE_SUBDIRS = NO
+
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
+# documentation generated by doxygen is written. Doxygen will use this
+# information to generate all constant output in the proper language.
+# The default language is English, other supported languages are:
+# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
+# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
+# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
+# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
+# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
+# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
+
+OUTPUT_LANGUAGE = English
+
+# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
+# include brief member descriptions after the members that are listed in
+# the file and class documentation (similar to JavaDoc).
+# Set to NO to disable this.
+
+BRIEF_MEMBER_DESC = NO
+
+# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
+# the brief description of a member or function before the detailed description.
+# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
+# brief descriptions will be completely suppressed.
+
+REPEAT_BRIEF = YES
+
+# This tag implements a quasi-intelligent brief description abbreviator
+# that is used to form the text in various listings. Each string
+# in this list, if found as the leading text of the brief description, will be
+# stripped from the text and the result after processing the whole list, is
+# used as the annotated text. Otherwise, the brief description is used as-is.
+# If left blank, the following values are used ("$name" is automatically
+# replaced with the name of the entity): "The $name class" "The $name widget"
+# "The $name file" "is" "provides" "specifies" "contains"
+# "represents" "a" "an" "the"
+
+ABBREVIATE_BRIEF =
+
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
+# Doxygen will generate a detailed section even if there is only a brief
+# description.
+
+ALWAYS_DETAILED_SEC = NO
+
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
+# inherited members of a class in the documentation of that class as if those
+# members were ordinary class members. Constructors, destructors and assignment
+# operators of the base classes will not be shown.
+
+INLINE_INHERITED_MEMB = NO
+
+# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
+# path before files name in the file list and in the header files. If set
+# to NO the shortest path that makes the file name unique will be used.
+
+FULL_PATH_NAMES = NO
+
+# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
+# can be used to strip a user-defined part of the path. Stripping is
+# only done if one of the specified strings matches the left-hand part of
+# the path. The tag can be used to show relative paths in the file list.
+# If left blank the directory from which doxygen is run is used as the
+# path to strip.
+
+STRIP_FROM_PATH =
+
+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
+# the path mentioned in the documentation of a class, which tells
+# the reader which header file to include in order to use a class.
+# If left blank only the name of the header file containing the class
+# definition is used. Otherwise one should specify the include paths that
+# are normally passed to the compiler using the -I flag.
+
+STRIP_FROM_INC_PATH =
+
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
+# (but less readable) file names. This can be useful is your file systems
+# doesn't support long names like on DOS, Mac, or CD-ROM.
+
+SHORT_NAMES = YES
+
+# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
+# will interpret the first line (until the first dot) of a JavaDoc-style
+# comment as the brief description. If set to NO, the JavaDoc
+# comments will behave just like regular Qt-style comments
+# (thus requiring an explicit @brief command for a brief description.)
+
+JAVADOC_AUTOBRIEF = NO
+
+# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
+# interpret the first line (until the first dot) of a Qt-style
+# comment as the brief description. If set to NO, the comments
+# will behave just like regular Qt-style comments (thus requiring
+# an explicit \brief command for a brief description.)
+
+QT_AUTOBRIEF = NO
+
+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
+# treat a multi-line C++ special comment block (i.e. a block of //! or ///
+# comments) as a brief description. This used to be the default behaviour.
+# The new default is to treat a multi-line C++ comment block as a detailed
+# description. Set this tag to YES if you prefer the old behaviour instead.
+
+MULTILINE_CPP_IS_BRIEF = NO
+
+# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
+# member inherits the documentation from any documented member that it
+# re-implements.
+
+INHERIT_DOCS = YES
+
+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
+# a new page for each member. If set to NO, the documentation of a member will
+# be part of the file/class/namespace that contains it.
+
+SEPARATE_MEMBER_PAGES = NO
+
+# The TAB_SIZE tag can be used to set the number of spaces in a tab.
+# Doxygen uses this value to replace tabs by spaces in code fragments.
+
+TAB_SIZE = 8
+
+# This tag can be used to specify a number of aliases that acts
+# as commands in the documentation. An alias has the form "name=value".
+# For example adding "sideeffect=\par Side Effects:\n" will allow you to
+# put the command \sideeffect (or @sideeffect) in the documentation, which
+# will result in a user-defined paragraph with heading "Side Effects:".
+# You can put \n's in the value part of an alias to insert newlines.
+
+ALIASES =
+
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
+# sources only. Doxygen will then generate output that is more tailored for C.
+# For instance, some of the names that are used will be different. The list
+# of all members will be omitted, etc.
+
+OPTIMIZE_OUTPUT_FOR_C = YES
+
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
+# sources only. Doxygen will then generate output that is more tailored for
+# Java. For instance, namespaces will be presented as packages, qualified
+# scopes will look different, etc.
+
+OPTIMIZE_OUTPUT_JAVA = NO
+
+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
+# sources only. Doxygen will then generate output that is more tailored for
+# Fortran.
+
+OPTIMIZE_FOR_FORTRAN = NO
+
+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
+# sources. Doxygen will then generate output that is tailored for
+# VHDL.
+
+OPTIMIZE_OUTPUT_VHDL = NO
+
+# Doxygen selects the parser to use depending on the extension of the files it parses.
+# With this tag you can assign which parser to use for a given extension.
+# Doxygen has a built-in mapping, but you can override or extend it using this tag.
+# The format is ext=language, where ext is a file extension, and language is one of
+# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
+# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
+# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
+# use: inc=Fortran f=C. Note that for custom extensions you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
+
+EXTENSION_MAPPING =
+
+# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all
+# comments according to the Markdown format, which allows for more readable
+# documentation. See http://daringfireball.net/projects/markdown/ for details.
+# The output of markdown processing is further processed by doxygen, so you
+# can mix doxygen, HTML, and XML commands with Markdown formatting.
+# Disable only in case of backward compatibilities issues.
+
+MARKDOWN_SUPPORT = NO
+
+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
+# to include (a tag file for) the STL sources as input, then you should
+# set this tag to YES in order to let doxygen match functions declarations and
+# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
+# func(std::string) {}). This also make the inheritance and collaboration
+# diagrams that involve STL classes more complete and accurate.
+
+BUILTIN_STL_SUPPORT = NO
+
+# If you use Microsoft's C++/CLI language, you should set this option to YES to
+# enable parsing support.
+
+CPP_CLI_SUPPORT = NO
+
+# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
+# Doxygen will parse them like normal C++ but will assume all classes use public
+# instead of private inheritance when no explicit protection keyword is present.
+
+SIP_SUPPORT = NO
+
+# For Microsoft's IDL there are propget and propput attributes to indicate getter
+# and setter methods for a property. Setting this option to YES (the default)
+# will make doxygen to replace the get and set methods by a property in the
+# documentation. This will only work if the methods are indeed getting or
+# setting a simple type. If this is not the case, or you want to show the
+# methods anyway, you should set this option to NO.
+
+IDL_PROPERTY_SUPPORT = YES
+
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
+# tag is set to YES, then doxygen will reuse the documentation of the first
+# member in the group (if any) for the other members of the group. By default
+# all members of a group must be documented explicitly.
+
+DISTRIBUTE_GROUP_DOC = NO
+
+# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
+# the same type (for instance a group of public functions) to be put as a
+# subgroup of that type (e.g. under the Public Functions section). Set it to
+# NO to prevent subgrouping. Alternatively, this can be done per class using
+# the \nosubgrouping command.
+
+SUBGROUPING = YES
+
+# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
+# is documented as struct, union, or enum with the name of the typedef. So
+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
+# with name TypeT. When disabled the typedef will appear as a member of a file,
+# namespace, or class. And the struct will be named TypeS. This can typically
+# be useful for C code in case the coding convention dictates that all compound
+# types are typedef'ed and only the typedef is referenced, never the tag name.
+
+TYPEDEF_HIDES_STRUCT = NO
+
+# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
+# determine which symbols to keep in memory and which to flush to disk.
+# When the cache is full, less often used symbols will be written to disk.
+# For small to medium size projects (<1000 input files) the default value is
+# probably good enough. For larger projects a too small cache size can cause
+# doxygen to be busy swapping symbols to and from disk most of the time
+# causing a significant performance penality.
+# If the system has enough physical memory increasing the cache will improve the
+# performance by keeping more symbols in memory. Note that the value works on
+# a logarithmic scale so increasing the size by one will rougly double the
+# memory usage. The cache size is given by this formula:
+# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
+# corresponding to a cache size of 2^16 = 65536 symbols
+
+SYMBOL_CACHE_SIZE = 0
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+
+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
+# documentation are documented, even if no documentation was available.
+# Private class members and static file members will be hidden unless
+# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
+
+EXTRACT_ALL = YES
+
+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
+# will be included in the documentation.
+
+EXTRACT_PRIVATE = NO
+
+# If the EXTRACT_STATIC tag is set to YES all static members of a file
+# will be included in the documentation.
+
+EXTRACT_STATIC = YES
+
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
+# defined locally in source files will be included in the documentation.
+# If set to NO only classes defined in header files are included.
+
+EXTRACT_LOCAL_CLASSES = YES
+
+# This flag is only useful for Objective-C code. When set to YES local
+# methods, which are defined in the implementation section but not in
+# the interface are included in the documentation.
+# If set to NO (the default) only methods in the interface are included.
+
+EXTRACT_LOCAL_METHODS = NO
+
+# If this flag is set to YES, the members of anonymous namespaces will be
+# extracted and appear in the documentation as a namespace called
+# 'anonymous_namespace{file}', where file will be replaced with the base
+# name of the file that contains the anonymous namespace. By default
+# anonymous namespace are hidden.
+
+EXTRACT_ANON_NSPACES = NO
+
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
+# undocumented members of documented classes, files or namespaces.
+# If set to NO (the default) these members will be included in the
+# various overviews, but no documentation section is generated.
+# This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_MEMBERS = NO
+
+# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
+# undocumented classes that are normally visible in the class hierarchy.
+# If set to NO (the default) these classes will be included in the various
+# overviews. This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_CLASSES = NO
+
+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
+# friend (class|struct|union) declarations.
+# If set to NO (the default) these declarations will be included in the
+# documentation.
+
+HIDE_FRIEND_COMPOUNDS = NO
+
+# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
+# documentation blocks found inside the body of a function.
+# If set to NO (the default) these blocks will be appended to the
+# function's detailed documentation block.
+
+HIDE_IN_BODY_DOCS = NO
+
+# The INTERNAL_DOCS tag determines if documentation
+# that is typed after a \internal command is included. If the tag is set
+# to NO (the default) then the documentation will be excluded.
+# Set it to YES to include the internal documentation.
+
+INTERNAL_DOCS = NO
+
+# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
+# file names in lower-case letters. If set to YES upper-case letters are also
+# allowed. This is useful if you have classes or files whose names only differ
+# in case and if your file system supports case sensitive file names. Windows
+# and Mac users are advised to set this option to NO.
+
+CASE_SENSE_NAMES = YES
+
+# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
+# will show members with their full class and namespace scopes in the
+# documentation. If set to YES the scope will be hidden.
+
+HIDE_SCOPE_NAMES = NO
+
+# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
+# will put a list of the files that are included by a file in the documentation
+# of that file.
+
+SHOW_INCLUDE_FILES = YES
+
+# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
+# is inserted in the documentation for inline members.
+
+INLINE_INFO = YES
+
+# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
+# will sort the (detailed) documentation of file and class members
+# alphabetically by member name. If set to NO the members will appear in
+# declaration order.
+
+SORT_MEMBER_DOCS = YES
+
+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
+# brief documentation of file, namespace and class members alphabetically
+# by member name. If set to NO (the default) the members will appear in
+# declaration order.
+
+SORT_BRIEF_DOCS = NO
+
+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
+# hierarchy of group names into alphabetical order. If set to NO (the default)
+# the group names will appear in their defined order.
+
+SORT_GROUP_NAMES = NO
+
+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
+# sorted by fully-qualified names, including namespaces. If set to
+# NO (the default), the class list will be sorted only by class name,
+# not including the namespace part.
+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
+# Note: This option applies only to the class list, not to the
+# alphabetical list.
+
+SORT_BY_SCOPE_NAME = NO
+
+# The GENERATE_TODOLIST tag can be used to enable (YES) or
+# disable (NO) the todo list. This list is created by putting \todo
+# commands in the documentation.
+
+GENERATE_TODOLIST = YES
+
+# The GENERATE_TESTLIST tag can be used to enable (YES) or
+# disable (NO) the test list. This list is created by putting \test
+# commands in the documentation.
+
+GENERATE_TESTLIST = YES
+
+# The GENERATE_BUGLIST tag can be used to enable (YES) or
+# disable (NO) the bug list. This list is created by putting \bug
+# commands in the documentation.
+
+GENERATE_BUGLIST = YES
+
+# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
+# disable (NO) the deprecated list. This list is created by putting
+# \deprecated commands in the documentation.
+
+GENERATE_DEPRECATEDLIST= YES
+
+# The ENABLED_SECTIONS tag can be used to enable conditional
+# documentation sections, marked by \if sectionname ... \endif.
+
+ENABLED_SECTIONS =
+
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
+# the initial value of a variable or define consists of for it to appear in
+# the documentation. If the initializer consists of more lines than specified
+# here it will be hidden. Use a value of 0 to hide initializers completely.
+# The appearance of the initializer of individual variables and defines in the
+# documentation can be controlled using \showinitializer or \hideinitializer
+# command in the documentation regardless of this setting.
+
+MAX_INITIALIZER_LINES = 30
+
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
+# at the bottom of the documentation of classes and structs. If set to YES the
+# list will mention the files that were used to generate the documentation.
+
+SHOW_USED_FILES = YES
+
+# If the sources in your project are distributed over multiple directories
+# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
+# in the documentation. The default is NO.
+
+SHOW_DIRECTORIES = NO
+
+# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
+# This will remove the Files entry from the Quick Index and from the
+# Folder Tree View (if specified). The default is YES.
+
+SHOW_FILES = NO
+
+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
+# Namespaces page.
+# This will remove the Namespaces entry from the Quick Index
+# and from the Folder Tree View (if specified). The default is YES.
+
+SHOW_NAMESPACES = YES
+
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
+# doxygen should invoke to get the current version for each file (typically from
+# the version control system). Doxygen will invoke the program by executing (via
+# popen()) the command <command> <input-file>, where <command> is the value of
+# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
+# provided by doxygen. Whatever the program writes to standard output
+# is used as the file version. See the manual for examples.
+
+FILE_VERSION_FILTER =
+
+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
+# doxygen. The layout file controls the global structure of the generated output files
+# in an output format independent way. The create the layout file that represents
+# doxygen's defaults, run doxygen with the -l option. You can optionally specify a
+# file name after the option, if omitted DoxygenLayout.xml will be used as the name
+# of the layout file.
+
+LAYOUT_FILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+# The QUIET tag can be used to turn on/off the messages that are generated
+# by doxygen. Possible values are YES and NO. If left blank NO is used.
+
+QUIET = NO
+
+# The WARNINGS tag can be used to turn on/off the warning messages that are
+# generated by doxygen. Possible values are YES and NO. If left blank
+# NO is used.
+
+WARNINGS = YES
+
+# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
+# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
+# automatically be disabled.
+
+WARN_IF_UNDOCUMENTED = YES
+
+# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
+# potential errors in the documentation, such as not documenting some
+# parameters in a documented function, or documenting parameters that
+# don't exist or using markup commands wrongly.
+
+WARN_IF_DOC_ERROR = YES
+
+# This WARN_NO_PARAMDOC option can be abled to get warnings for
+# functions that are documented, but have no documentation for their parameters
+# or return value. If set to NO (the default) doxygen will only warn about
+# wrong or incomplete parameter documentation, but not about the absence of
+# documentation.
+
+WARN_NO_PARAMDOC = NO
+
+# The WARN_FORMAT tag determines the format of the warning messages that
+# doxygen can produce. The string should contain the $file, $line, and $text
+# tags, which will be replaced by the file and line number from which the
+# warning originated and the warning text. Optionally the format may contain
+# $version, which will be replaced by the version of the file (if it could
+# be obtained via FILE_VERSION_FILTER)
+
+WARN_FORMAT = "$file:$line: $text"
+
+# The WARN_LOGFILE tag can be used to specify a file to which warning
+# and error messages should be written. If left blank the output is written
+# to stderr.
+
+WARN_LOGFILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+
+# The INPUT tag can be used to specify the files and/or directories that contain
+# documented source files. You may enter file names like "myfile.cpp" or
+# directories like "/usr/src/myproject". Separate the files or directories
+# with spaces.
+
+# Comes from @INCLUDE, above
+#INPUT =
+
+# This tag can be used to specify the character encoding of the source files
+# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
+# also the default input encoding. Doxygen uses libiconv (or the iconv built
+# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
+# the list of possible encodings.
+
+INPUT_ENCODING = UTF-8
+
+# If the value of the INPUT tag contains directories, you can use the
+# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank the following patterns are tested:
+# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
+# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
+
+FILE_PATTERNS = *.h *.doc
+
+# The RECURSIVE tag can be used to turn specify whether or not subdirectories
+# should be searched for input files as well. Possible values are YES and NO.
+# If left blank NO is used.
+
+RECURSIVE = NO
+
+# The EXCLUDE tag can be used to specify files and/or directories that should
+# excluded from the INPUT source files. This way you can easily exclude a
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
+
+EXCLUDE =
+
+# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
+# directories that are symbolic links (a Unix filesystem feature) are excluded
+# from the input.
+
+EXCLUDE_SYMLINKS = NO
+
+# If the value of the INPUT tag contains directories, you can use the
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
+# certain files from those directories. Note that the wildcards are matched
+# against the file with absolute path, so to exclude all test directories
+# for example use the pattern */test/*
+
+EXCLUDE_PATTERNS =
+
+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
+# (namespaces, classes, functions, etc.) that should be excluded from the
+# output. The symbol name can be a fully qualified name, a word, or if the
+# wildcard * is used, a substring. Examples: ANamespace, AClass,
+# AClass::ANamespace, ANamespace::*Test
+
+EXCLUDE_SYMBOLS =
+
+# The EXAMPLE_PATH tag can be used to specify one or more files or
+# directories that contain example code fragments that are included (see
+# the \include command).
+
+# From @INCLUDE, above
+#EXAMPLE_PATH = ../doc
+
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank all files are included.
+
+EXAMPLE_PATTERNS =
+
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
+# searched for input files to be used with the \include or \dontinclude
+# commands irrespective of the value of the RECURSIVE tag.
+# Possible values are YES and NO. If left blank NO is used.
+
+EXAMPLE_RECURSIVE = NO
+
+# The IMAGE_PATH tag can be used to specify one or more files or
+# directories that contain image that are included in the documentation (see
+# the \image command).
+
+# From @INCLUDE, above
+#IMAGE_PATH = ../doc/images images
+
+# The INPUT_FILTER tag can be used to specify a program that doxygen should
+# invoke to filter for each input file. Doxygen will invoke the filter program
+# by executing (via popen()) the command <filter> <input-file>, where <filter>
+# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
+# input file. Doxygen will then use the output that the filter program writes
+# to standard output.
+# If FILTER_PATTERNS is specified, this tag will be
+# ignored.
+
+INPUT_FILTER =
+
+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
+# basis.
+# Doxygen will compare the file name with each pattern and apply the
+# filter if there is a match.
+# The filters are a list of the form:
+# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
+# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
+# is applied to all files.
+
+FILTER_PATTERNS =
+
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
+# INPUT_FILTER) will be used to filter the input files when producing source
+# files to browse (i.e. when SOURCE_BROWSER is set to YES).
+
+FILTER_SOURCE_FILES = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will
+# be generated. Documented entities will be cross-referenced with these sources.
+# Note: To get rid of all source code in the generated output, make sure also
+# VERBATIM_HEADERS is set to NO.
+
+SOURCE_BROWSER = NO
+
+# Setting the INLINE_SOURCES tag to YES will include the body
+# of functions and classes directly in the documentation.
+
+INLINE_SOURCES = NO
+
+# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
+# doxygen to hide any special comment blocks from generated source code
+# fragments. Normal C and C++ comments will always remain visible.
+
+STRIP_CODE_COMMENTS = YES
+
+# If the REFERENCED_BY_RELATION tag is set to YES
+# then for each documented function all documented
+# functions referencing it will be listed.
+
+REFERENCED_BY_RELATION = NO
+
+# If the REFERENCES_RELATION tag is set to YES
+# then for each documented function all documented entities
+# called/used by that function will be listed.
+
+REFERENCES_RELATION = NO
+
+# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
+# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
+# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
+# link to the source code.
+# Otherwise they will link to the documentation.
+
+REFERENCES_LINK_SOURCE = YES
+
+# If the USE_HTAGS tag is set to YES then the references to source code
+# will point to the HTML generated by the htags(1) tool instead of doxygen
+# built-in source browser. The htags tool is part of GNU's global source
+# tagging system (see http://www.gnu.org/software/global/global.html). You
+# will need version 4.8.6 or higher.
+
+USE_HTAGS = NO
+
+# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
+# will generate a verbatim copy of the header file for each class for
+# which an include is specified. Set to NO to disable this.
+
+VERBATIM_HEADERS = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
+# of all compounds will be generated. Enable this if the project
+# contains a lot of classes, structs, unions or interfaces.
+
+ALPHABETICAL_INDEX = NO
+
+# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
+# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
+# in which this list will be split (can be a number in the range [1..20])
+
+COLS_IN_ALPHA_INDEX = 5
+
+# In case all classes in a project start with a common prefix, all
+# classes will be put under the same header in the alphabetical index.
+# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
+# should be ignored while generating the index headers.
+
+IGNORE_PREFIX =
+
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
+# generate HTML output.
+
+GENERATE_HTML = YES
+
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `html' will be used as the default path.
+
+HTML_OUTPUT = html
+
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
+# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
+# doxygen will generate files with .html extension.
+
+HTML_FILE_EXTENSION = .html
+
+# The HTML_HEADER tag can be used to specify a personal HTML header for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard header.
+
+HTML_HEADER =
+
+# The HTML_FOOTER tag can be used to specify a personal HTML footer for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard footer.
+
+HTML_FOOTER =
+
+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
+# style sheet that is used by each HTML page. It can be used to
+# fine-tune the look of the HTML output. If the tag is left blank doxygen
+# will generate a default style sheet. Note that doxygen will try to copy
+# the style sheet file to the HTML output directory, so don't put your own
+# stylesheet in the HTML output directory as well, or it will be erased!
+
+HTML_STYLESHEET =
+
+# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
+# files or namespaces will be aligned in HTML using tables. If set to
+# NO a bullet list will be used.
+
+HTML_ALIGN_MEMBERS = YES
+
+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
+# documentation will contain sections that can be hidden and shown after the
+# page has loaded. For this to work a browser that supports
+# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
+# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
+
+HTML_DYNAMIC_SECTIONS = NO
+
+# If the GENERATE_DOCSET tag is set to YES, additional index files
+# will be generated that can be used as input for Apple's Xcode 3
+# integrated development environment, introduced with OSX 10.5 (Leopard).
+# To create a documentation set, doxygen will generate a Makefile in the
+# HTML output directory. Running make will produce the docset in that
+# directory and running "make install" will install the docset in
+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
+# it at startup.
+# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
+
+GENERATE_DOCSET = NO
+
+# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
+# feed. A documentation feed provides an umbrella under which multiple
+# documentation sets from a single provider (such as a company or product suite)
+# can be grouped.
+
+DOCSET_FEEDNAME = "Doxygen generated docs"
+
+# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
+# should uniquely identify the documentation set bundle. This should be a
+# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
+# will append .docset to the name.
+
+DOCSET_BUNDLE_ID = org.doxygen.Project
+
+# If the GENERATE_HTMLHELP tag is set to YES, additional index files
+# will be generated that can be used as input for tools like the
+# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
+# of the generated HTML documentation.
+
+GENERATE_HTMLHELP = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
+# be used to specify the file name of the resulting .chm file. You
+# can add a path in front of the file if the result should not be
+# written to the html output directory.
+
+CHM_FILE =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
+# be used to specify the location (absolute path including file name) of
+# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
+# the HTML help compiler on the generated index.hhp.
+
+HHC_LOCATION =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
+# controls if a separate .chi index file is generated (YES) or that
+# it should be included in the master .chm file (NO).
+
+GENERATE_CHI = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
+# is used to encode HtmlHelp index (hhk), content (hhc) and project file
+# content.
+
+CHM_INDEX_ENCODING =
+
+# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
+# controls whether a binary table of contents is generated (YES) or a
+# normal table of contents (NO) in the .chm file.
+
+BINARY_TOC = NO
+
+# The TOC_EXPAND flag can be set to YES to add extra items for group members
+# to the contents of the HTML help documentation and to the tree view.
+
+TOC_EXPAND = NO
+
+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER
+# are set, an additional index file will be generated that can be used as input for
+# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
+# HTML documentation.
+
+GENERATE_QHP = NO
+
+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
+# be used to specify the file name of the resulting .qch file.
+# The path specified is relative to the HTML output folder.
+
+QCH_FILE =
+
+# The QHP_NAMESPACE tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#namespace
+
+QHP_NAMESPACE =
+
+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
+# Qt Help Project output. For more information please see
+# http://doc.trolltech.com/qthelpproject.html#virtual-folders
+
+QHP_VIRTUAL_FOLDER = doc
+
+# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add.
+# For more information please see
+# http://doc.trolltech.com/qthelpproject.html#custom-filters
+
+QHP_CUST_FILTER_NAME =
+
+# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see
+# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">Qt Help Project / Custom Filters</a>.
+
+QHP_CUST_FILTER_ATTRS =
+
+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's
+# filter section matches.
+# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">Qt Help Project / Filter Attributes</a>.
+
+QHP_SECT_FILTER_ATTRS =
+
+# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
+# be used to specify the location of Qt's qhelpgenerator.
+# If non-empty doxygen will try to run qhelpgenerator on the generated
+# .qhp file.
+
+QHG_LOCATION =
+
+# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
+# top of each HTML page. The value NO (the default) enables the index and
+# the value YES disables it.
+
+DISABLE_INDEX = NO
+
+# This tag can be used to set the number of enum values (range [1..20])
+# that doxygen will group on one line in the generated HTML documentation.
+
+ENUM_VALUES_PER_LINE = 4
+
+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
+# structure should be generated to display hierarchical information.
+# If the tag value is set to FRAME, a side panel will be generated
+# containing a tree-like index structure (just like the one that
+# is generated for HTML Help). For this to work a browser that supports
+# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+,
+# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are
+# probably better off using the HTML help feature. Other possible values
+# for this tag are: HIERARCHIES, which will generate the Groups, Directories,
+# and Class Hierarchy pages using a tree view instead of an ordered list;
+# ALL, which combines the behavior of FRAME and HIERARCHIES; and NONE, which
+# disables this behavior completely. For backwards compatibility with previous
+# releases of Doxygen, the values YES and NO are equivalent to FRAME and NONE
+# respectively.
+
+GENERATE_TREEVIEW = NONE
+
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
+# used to set the initial width (in pixels) of the frame in which the tree
+# is shown.
+
+TREEVIEW_WIDTH = 250
+
+# Use this tag to change the font size of Latex formulas included
+# as images in the HTML documentation. The default is 10. Note that
+# when you change the font size after a successful doxygen run you need
+# to manually remove any form_*.png images from the HTML output directory
+# to force them to be regenerated.
+
+FORMULA_FONTSIZE = 10
+
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
+# generate Latex output.
+
+GENERATE_LATEX = YES
+
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `latex' will be used as the default path.
+
+LATEX_OUTPUT = latex
+
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
+# invoked. If left blank `latex' will be used as the default command name.
+
+LATEX_CMD_NAME = pdflatex
+
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
+# generate index for LaTeX. If left blank `makeindex' will be used as the
+# default command name.
+
+MAKEINDEX_CMD_NAME = makeindex
+
+# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
+# LaTeX documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_LATEX = NO
+
+# The PAPER_TYPE tag can be used to set the paper type that is used
+# by the printer. Possible values are: a4, a4wide, letter, legal and
+# executive. If left blank a4wide will be used.
+
+PAPER_TYPE = a4wide
+
+# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
+# packages that should be included in the LaTeX output.
+
+EXTRA_PACKAGES = times
+
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
+# the generated latex document. The header should contain everything until
+# the first chapter. If it is left blank doxygen will generate a
+# standard header. Notice: only use this tag if you know what you are doing!
+
+LATEX_HEADER =
+
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
+# is prepared for conversion to pdf (using ps2pdf). The pdf file will
+# contain links (just like the HTML output) instead of page references
+# This makes the output suitable for online browsing using a pdf viewer.
+
+PDF_HYPERLINKS = YES
+
+# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
+# plain latex in the generated Makefile. Set this option to YES to get a
+# higher quality PDF documentation.
+
+USE_PDFLATEX = YES
+
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
+# command to the generated LaTeX files. This will instruct LaTeX to keep
+# running if errors occur, instead of asking the user for help.
+# This option is also used when generating formulas in HTML.
+
+LATEX_BATCHMODE = NO
+
+# If LATEX_HIDE_INDICES is set to YES then doxygen will not
+# include the index chapters (such as File Index, Compound Index, etc.)
+# in the output.
+
+LATEX_HIDE_INDICES = NO
+
+# If LATEX_SOURCE_CODE is set to YES then doxygen will include source code with syntax highlighting in the LaTeX output. Note that which sources are shown also depends on other settings such as SOURCE_BROWSER.
+
+LATEX_SOURCE_CODE = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
+# The RTF output is optimized for Word 97 and may not look very pretty with
+# other RTF readers or editors.
+
+GENERATE_RTF = NO
+
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `rtf' will be used as the default path.
+
+RTF_OUTPUT = rtf
+
+# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
+# RTF documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_RTF = NO
+
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
+# will contain hyperlink fields. The RTF file will
+# contain links (just like the HTML output) instead of page references.
+# This makes the output suitable for online browsing using WORD or other
+# programs which support those fields.
+# Note: wordpad (write) and others do not support links.
+
+RTF_HYPERLINKS = NO
+
+# Load stylesheet definitions from file. Syntax is similar to doxygen's
+# config file, i.e. a series of assignments. You only have to provide
+# replacements, missing definitions are set to their default value.
+
+RTF_STYLESHEET_FILE =
+
+# Set optional variables used in the generation of an rtf document.
+# Syntax is similar to doxygen's config file.
+
+RTF_EXTENSIONS_FILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
+# generate man pages
+
+GENERATE_MAN = YES
+
+# The MAN_OUTPUT tag is used to specify where the man pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `man' will be used as the default path.
+
+MAN_OUTPUT = man
+
+# The MAN_EXTENSION tag determines the extension that is added to
+# the generated man pages (default is the subroutine's section .3)
+
+MAN_EXTENSION = .3
+
+# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
+# then it will generate one additional man file for each entity
+# documented in the real man page(s). These additional files
+# only source the real man page, but without them the man command
+# would be unable to find the correct page. The default is NO.
+
+MAN_LINKS = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_XML tag is set to YES Doxygen will
+# generate an XML file that captures the structure of
+# the code including all documentation.
+
+GENERATE_XML = NO
+
+# The XML_OUTPUT tag is used to specify where the XML pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `xml' will be used as the default path.
+
+XML_OUTPUT = xml
+
+# The XML_SCHEMA tag can be used to specify an XML schema,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_SCHEMA =
+
+# The XML_DTD tag can be used to specify an XML DTD,
+# which can be used by a validating XML parser to check the
+# syntax of the XML files.
+
+XML_DTD =
+
+# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
+# dump the program listings (including syntax highlighting
+# and cross-referencing information) to the XML output. Note that
+# enabling this will significantly increase the size of the XML output.
+
+XML_PROGRAMLISTING = YES
+
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
+# generate an AutoGen Definitions (see autogen.sf.net) file
+# that captures the structure of the code including all
+# documentation. Note that this feature is still experimental
+# and incomplete at the moment.
+
+GENERATE_AUTOGEN_DEF = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_PERLMOD tag is set to YES Doxygen will
+# generate a Perl module file that captures the structure of
+# the code including all documentation. Note that this
+# feature is still experimental and incomplete at the
+# moment.
+
+GENERATE_PERLMOD = NO
+
+# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
+# the necessary Makefile rules, Perl scripts and LaTeX code to be able
+# to generate PDF and DVI output from the Perl module output.
+
+PERLMOD_LATEX = NO
+
+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
+# nicely formatted so it can be parsed by a human reader.
+# This is useful
+# if you want to understand what is going on.
+# On the other hand, if this
+# tag is set to NO the size of the Perl module output will be much smaller
+# and Perl will parse it just the same.
+
+PERLMOD_PRETTY = YES
+
+# The names of the make variables in the generated doxyrules.make file
+# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
+# This is useful so different doxyrules.make files included by the same
+# Makefile don't overwrite each other's variables.
+
+PERLMOD_MAKEVAR_PREFIX =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
+# evaluate all C-preprocessor directives found in the sources and include
+# files.
+
+ENABLE_PREPROCESSING = YES
+
+# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
+# names in the source code. If set to NO (the default) only conditional
+# compilation will be performed. Macro expansion can be done in a controlled
+# way by setting EXPAND_ONLY_PREDEF to YES.
+
+MACRO_EXPANSION = YES
+
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
+# then the macro expansion is limited to the macros specified with the
+# PREDEFINED and EXPAND_AS_DEFINED tags.
+
+EXPAND_ONLY_PREDEF = YES
+
+# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
+# in the INCLUDE_PATH (see below) will be search if a #include is found.
+
+SEARCH_INCLUDES = YES
+
+# The INCLUDE_PATH tag can be used to specify one or more directories that
+# contain include files that are not input files but should be processed by
+# the preprocessor.
+
+# From @INCLUDE, above
+#INCLUDE_PATH = ../doc
+
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
+# patterns (like *.h and *.hpp) to filter out the header-files in the
+# directories. If left blank, the patterns specified with FILE_PATTERNS will
+# be used.
+
+INCLUDE_FILE_PATTERNS =
+
+# The PREDEFINED tag can be used to specify one or more macro names that
+# are defined before the preprocessor is started (similar to the -D option of
+# gcc). The argument of the tag is a list of macros of the form: name
+# or name=definition (no spaces). If the definition and the = are
+# omitted =1 is assumed. To prevent a macro definition from being
+# undefined via #undef or recursively expanded use the := operator
+# instead of the = operator.
+
+PREDEFINED = hwloc_thread_t=hwloc_thread_t HWLOC_HAVE_CPU_SET=1 NUMA_VERSION1_COMPATIBILITY=1 __GNUC__=1 __hwloc_inline=inline __hwloc_restrict=restrict __hwloc_attribute_const= __hwloc_attribute_deprecated= __hwloc_attribute_malloc= __hwloc_attribute_pure= __hwloc_attribute_unused= HWLOC_DECLSPEC=
+
+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
+# this tag can be used to specify a list of macro names that should be expanded.
+# The macro definition that is found in the sources will be used.
+# Use the PREDEFINED tag if you want to use a different macro definition.
+
+EXPAND_AS_DEFINED =
+
+# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
+# doxygen's preprocessor will remove all function-like macros that are alone
+# on a line, have an all uppercase name, and do not end with a semicolon. Such
+# function macros are typically used for boiler-plate code, and will confuse
+# the parser if not removed.
+
+SKIP_FUNCTION_MACROS = YES
+
+#---------------------------------------------------------------------------
+# Configuration::additions related to external references
+#---------------------------------------------------------------------------
+
+# The TAGFILES option can be used to specify one or more tagfiles.
+# Optionally an initial location of the external documentation
+# can be added for each tagfile. The format of a tag file without
+# this location is as follows:
+#
+# TAGFILES = file1 file2 ...
+# Adding location for the tag files is done as follows:
+#
+# TAGFILES = file1=loc1 "file2 = loc2" ...
+# where "loc1" and "loc2" can be relative or absolute paths or
+# URLs. If a location is present for each tag, the installdox tool
+# does not have to be run to correct the links.
+# Note that each tag file must have a unique name
+# (where the name does NOT include the path)
+# If a tag file is not located in the directory in which doxygen
+# is run, you must also specify the path to the tagfile here.
+
+TAGFILES =
+
+# When a file name is specified after GENERATE_TAGFILE, doxygen will create
+# a tag file that is based on the input files it reads.
+
+GENERATE_TAGFILE = ../doc/doxygen-doc/hwloc.tag
+
+# If the ALLEXTERNALS tag is set to YES all external classes will be listed
+# in the class index. If set to NO only the inherited external classes
+# will be listed.
+
+ALLEXTERNALS = NO
+
+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
+# in the modules index. If set to NO, only the current project's groups will
+# be listed.
+
+EXTERNAL_GROUPS = YES
+
+# The PERL_PATH should be the absolute path and name of the perl script
+# interpreter (i.e. the result of `which perl').
+
+PERL_PATH = /usr/bin/perl
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
+# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
+# or super classes. Setting the tag to NO turns the diagrams off. Note that
+# this option is superseded by the HAVE_DOT option below. This is only a
+# fallback. It is recommended to install and use dot, since it yields more
+# powerful graphs.
+
+CLASS_DIAGRAMS = YES
+
+# You can define message sequence charts within doxygen comments using the \msc
+# command. Doxygen will then run the mscgen tool (see
+# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
+# the mscgen tool resides. If left empty the tool is assumed to be found in the
+# default search path.
+
+MSCGEN_PATH =
+
+# If set to YES, the inheritance and collaboration graphs will hide
+# inheritance and usage relations if the target is undocumented
+# or is not a class.
+
+HIDE_UNDOC_RELATIONS = YES
+
+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
+# available from the path. This tool is part of Graphviz, a graph visualization
+# toolkit from AT&T and Lucent Bell Labs. The other options in this section
+# have no effect if this option is set to NO (the default)
+
+HAVE_DOT = NO
+
+# By default doxygen will write a font called FreeSans.ttf to the output
+# directory and reference it in all dot files that doxygen generates. This
+# font does not include all possible unicode characters however, so when you need
+# these (or just want a differently looking font) you can specify the font name
+# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
+# which can be done by putting it in a standard location or by setting the
+# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
+# containing the font.
+
+DOT_FONTNAME = FreeSans
+
+# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
+# The default size is 10pt.
+
+DOT_FONTSIZE = 10
+
+# By default doxygen will tell dot to use the output directory to look for the
+# FreeSans.ttf font (which doxygen will put there itself). If you specify a
+# different font using DOT_FONTNAME you can set the path where dot
+# can find it using this tag.
+
+DOT_FONTPATH =
+
+# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect inheritance relations. Setting this tag to YES will force the
+# the CLASS_DIAGRAMS tag to NO.
+
+CLASS_GRAPH = YES
+
+# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect implementation dependencies (inheritance, containment, and
+# class references variables) of the class with other documented classes.
+
+COLLABORATION_GRAPH = YES
+
+# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for groups, showing the direct groups dependencies
+
+GROUP_GRAPHS = YES
+
+# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
+# collaboration diagrams in a style similar to the OMG's Unified Modeling
+# Language.
+
+UML_LOOK = NO
+
+# If set to YES, the inheritance and collaboration graphs will show the
+# relations between templates and their instances.
+
+TEMPLATE_RELATIONS = NO
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
+# tags are set to YES then doxygen will generate a graph for each documented
+# file showing the direct and indirect include dependencies of the file with
+# other documented files.
+
+INCLUDE_GRAPH = YES
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
+# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
+# documented header file showing the documented files that directly or
+# indirectly include this file.
+
+INCLUDED_BY_GRAPH = YES
+
+# If the CALL_GRAPH and HAVE_DOT options are set to YES then
+# doxygen will generate a call dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable call graphs
+# for selected functions only using the \callgraph command.
+
+CALL_GRAPH = NO
+
+# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
+# doxygen will generate a caller dependency graph for every global function
+# or class method. Note that enabling this option will significantly increase
+# the time of a run. So in most cases it will be better to enable caller
+# graphs for selected functions only using the \callergraph command.
+
+CALLER_GRAPH = NO
+
+# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
+# will graphical hierarchy of all classes instead of a textual one.
+
+GRAPHICAL_HIERARCHY = YES
+
+# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
+# then doxygen will show the dependencies a directory has on other directories
+# in a graphical way. The dependency relations are determined by the #include
+# relations between the files in the directories.
+
+DIRECTORY_GRAPH = YES
+
+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
+# generated by dot. Possible values are png, jpg, or gif
+# If left blank png will be used.
+
+DOT_IMAGE_FORMAT = png
+
+# The tag DOT_PATH can be used to specify the path where the dot tool can be
+# found. If left blank, it is assumed the dot tool can be found in the path.
+
+DOT_PATH =
+
+# The DOTFILE_DIRS tag can be used to specify one or more directories that
+# contain dot files that are included in the documentation (see the
+# \dotfile command).
+
+DOTFILE_DIRS =
+
+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
+# nodes that will be shown in the graph. If the number of nodes in a graph
+# becomes larger than this value, doxygen will truncate the graph, which is
+# visualized by representing a node as a red box. Note that doxygen if the
+# number of direct children of the root node in a graph is already larger than
+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
+# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
+
+DOT_GRAPH_MAX_NODES = 50
+
+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
+# graphs generated by dot. A depth value of 3 means that only nodes reachable
+# from the root by following a path via at most 3 edges will be shown. Nodes
+# that lay further from the root node will be omitted. Note that setting this
+# option to 1 or 2 may greatly reduce the computation time needed for large
+# code bases. Also note that the size of a graph can be further restricted by
+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
+
+MAX_DOT_GRAPH_DEPTH = 0
+
+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
+# background. This is disabled by default, because dot on Windows does not
+# seem to support this out of the box. Warning: Depending on the platform used,
+# enabling this option may lead to badly anti-aliased labels on the edges of
+# a graph (i.e. they become hard to read).
+
+DOT_TRANSPARENT = NO
+
+# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
+# files in one run (i.e. multiple -o and -T options on the command line). This
+# makes dot run faster, but since only newer versions of dot (>1.8.10)
+# support this, this feature is disabled by default.
+
+DOT_MULTI_TARGETS = YES
+
+# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
+# generate a legend page explaining the meaning of the various boxes and
+# arrows in the dot generated graphs.
+
+GENERATE_LEGEND = YES
+
+# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
+# remove the intermediate dot files that are used to generate
+# the various graphs.
+
+DOT_CLEANUP = YES
+
+#---------------------------------------------------------------------------
+# Options related to the search engine
+#---------------------------------------------------------------------------
+
+# The SEARCHENGINE tag specifies whether or not a search engine should be
+# used. If set to NO the values of all tags below this one will be ignored.
+
+SEARCHENGINE = NO
--- /dev/null
+body {
+ font-size: 13px;
+/* margin-top: 0px; */
+}
+
+div.menu {
+ text-align: center;
+ margin-top: 12px;
+ margin-bottom: 3px;
+ background: #eeeeff;
+ font-variant: small-caps;
+/* position: fixed;*/
+ width: 100%;
+}
+div.menu a {
+ text-decoration: none;
+ color: #0020a0;
+}
+div.menu hr.menu {
+ height: 4px;
+ background: #fe0;
+ border: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+}
+
+div.title {
+ font: bold normal 2em sans-serif ;
+ margin: 0px;
+ color: #0020a0;
+}
+
+h1 {
+ font: bold normal 1.7em sans-serif ;
+ margin: 0px;
+ color: #0020a0;
+}
+h1.sub {
+ font: bold normal 1.3em sans-serif ;
+ text-align: right ;
+ color: #0020a0;
+}
+h1 a {
+ color: #0020a0;
+ text-decoration: none;
+}
+
+h2 {
+ font: bold normal small-caps 1.3em sans-serif ;
+ color: #0020a0;
+ margin-top: 8px;
+ margin-bottom: 8px;
+}
+
+h4 {
+ font: bold normal small-caps 1em sans-serif ;
+ color: #0020a0;
+ margin-top: 8px;
+ margin-bottom: 4px;
+}
+
+h6.mirrors {
+ text-align: right;
+ margin: 0px;
+ font-size: 10px;
+}
+
+div.section {
+ background: #eeeeff;
+ padding-left: 2px;
+ padding-bottom: 2px;
+ margin-top: 12px;
+ margin-bottom: 12px;
+}
+
+p {
+ margin-top: 8px;
+ margin-bottom: 4px;
+ margin-left: 6px;
+ margin-right: 6px;
+}
+
+hr {
+ height: 8px;
+ background: #fe0;
+ border: 0px;
+ margin-top: 6px;
+ margin-bottom: 6px;
+}
+
+pre {
+ font-size: 12px;
+ background: #dddddd;
+ padding: 3px;
+ padding-left: 0px;
+ margin-left: 12px;
+}
+
+a {
+ font-weight: bold;
+}
+
+div.publis-desc {
+ text-align: right;
+ font-style: italic;
+ font-size: 12px;
+ padding-left: 15%;
+}
+
+p.updated {
+ text-align: right;
+ font-size: 10px;
+ font-style: italic;
+}
+
+div.line {
+ font-family: monospace, fixed;
+ font-size: 13px;
+ min-height: 13px;
+ line-height: 1.0;
+ text-wrap: unrestricted;
+ white-space: -moz-pre-wrap; /* Moz */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ white-space: pre-wrap; /* CSS3 */
+ word-wrap: break-word; /* IE 5.5+ */
+ text-indent: -53px;
+ padding-left: 53px;
+ padding-bottom: 0px;
+ margin: 0px;
+ -webkit-transition-property: background-color, box-shadow;
+ -webkit-transition-duration: 0.5s;
+ -moz-transition-property: background-color, box-shadow;
+ -moz-transition-duration: 0.5s;
+ -ms-transition-property: background-color, box-shadow;
+ -ms-transition-duration: 0.5s;
+ -o-transition-property: background-color, box-shadow;
+ -o-transition-duration: 0.5s;
+ transition-property: background-color, box-shadow;
+ transition-duration: 0.5s;
+}
+
+div.line.glow {
+ background-color: cyan;
+ box-shadow: 0 0 10px cyan;
+}
--- /dev/null
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2013, 2017 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+#
+# Make sure that the documentation examples work
+#
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+LDADD = $(HWLOC_top_builddir)/src/libhwloc.la
+DEPENDENCIES = $(LDADD)
+
+TESTS = hwloc-hello
+if HWLOC_HAVE_CXX
+TESTS += hwloc-hello-cpp
+endif HWLOC_HAVE_CXX
+
+check_PROGRAMS = $(TESTS) cpuset+bitmap+cpubind nodeset+membind+policy get-knl-modes gpu
+if !HWLOC_HAVE_WINDOWS
+check_PROGRAMS += sharedcaches
+endif
+
+hwloc-hello-cpp.cpp: $(srcdir)/hwloc-hello.c
+ cp -f $(srcdir)/hwloc-hello.c $@
+
+clean-local:
+ rm -f hwloc-hello-cpp.cpp
+
+hwloc_hello_cpp_SOURCES = hwloc-hello-cpp.cpp
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2013, 2017 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+#
+# Make sure that the documentation examples work
+#
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+TESTS = hwloc-hello$(EXEEXT) $(am__EXEEXT_1)
+@HWLOC_HAVE_CXX_TRUE@am__append_1 = hwloc-hello-cpp
+check_PROGRAMS = $(am__EXEEXT_2) cpuset+bitmap+cpubind$(EXEEXT) \
+ nodeset+membind+policy$(EXEEXT) get-knl-modes$(EXEEXT) \
+ gpu$(EXEEXT) $(am__EXEEXT_3)
+@HWLOC_HAVE_WINDOWS_FALSE@am__append_2 = sharedcaches
+subdir = doc/examples
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+@HWLOC_HAVE_CXX_TRUE@am__EXEEXT_1 = hwloc-hello-cpp$(EXEEXT)
+am__EXEEXT_2 = hwloc-hello$(EXEEXT) $(am__EXEEXT_1)
+@HWLOC_HAVE_WINDOWS_FALSE@am__EXEEXT_3 = sharedcaches$(EXEEXT)
+cpuset_bitmap_cpubind_SOURCES = cpuset+bitmap+cpubind.c
+cpuset_bitmap_cpubind_OBJECTS = cpuset+bitmap+cpubind.$(OBJEXT)
+cpuset_bitmap_cpubind_LDADD = $(LDADD)
+cpuset_bitmap_cpubind_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/libhwloc.la
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+get_knl_modes_SOURCES = get-knl-modes.c
+get_knl_modes_OBJECTS = get-knl-modes.$(OBJEXT)
+get_knl_modes_LDADD = $(LDADD)
+get_knl_modes_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+gpu_SOURCES = gpu.c
+gpu_OBJECTS = gpu.$(OBJEXT)
+gpu_LDADD = $(LDADD)
+gpu_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_hello_SOURCES = hwloc-hello.c
+hwloc_hello_OBJECTS = hwloc-hello.$(OBJEXT)
+hwloc_hello_LDADD = $(LDADD)
+hwloc_hello_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+am_hwloc_hello_cpp_OBJECTS = hwloc-hello-cpp.$(OBJEXT)
+hwloc_hello_cpp_OBJECTS = $(am_hwloc_hello_cpp_OBJECTS)
+hwloc_hello_cpp_LDADD = $(LDADD)
+hwloc_hello_cpp_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+nodeset_membind_policy_SOURCES = nodeset+membind+policy.c
+nodeset_membind_policy_OBJECTS = nodeset+membind+policy.$(OBJEXT)
+nodeset_membind_policy_LDADD = $(LDADD)
+nodeset_membind_policy_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/libhwloc.la
+sharedcaches_SOURCES = sharedcaches.c
+sharedcaches_OBJECTS = sharedcaches.$(OBJEXT)
+sharedcaches_LDADD = $(LDADD)
+sharedcaches_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/private/autogen -I$(top_builddir)/include/hwloc/autogen
+depcomp = $(SHELL) $(top_srcdir)/./config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CXXFLAGS) $(CXXFLAGS)
+AM_V_CXX = $(am__v_CXX_@AM_V@)
+am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
+am__v_CXX_0 = @echo " CXX " $@;
+am__v_CXX_1 =
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
+am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
+am__v_CXXLD_0 = @echo " CXXLD " $@;
+am__v_CXXLD_1 =
+SOURCES = cpuset+bitmap+cpubind.c get-knl-modes.c gpu.c hwloc-hello.c \
+ $(hwloc_hello_cpp_SOURCES) nodeset+membind+policy.c \
+ sharedcaches.c
+DIST_SOURCES = cpuset+bitmap+cpubind.c get-knl-modes.c gpu.c \
+ hwloc-hello.c $(hwloc_hello_cpp_SOURCES) \
+ nodeset+membind+policy.c sharedcaches.c
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/./config/depcomp \
+ $(top_srcdir)/./config/test-driver
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+LDADD = $(HWLOC_top_builddir)/src/libhwloc.la
+DEPENDENCIES = $(LDADD)
+hwloc_hello_cpp_SOURCES = hwloc-hello-cpp.cpp
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .cpp .lo .log .o .obj .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/examples/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign doc/examples/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-checkPROGRAMS:
+ @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
+ echo " rm -f" $$list; \
+ rm -f $$list || exit $$?; \
+ test -n "$(EXEEXT)" || exit 0; \
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+ echo " rm -f" $$list; \
+ rm -f $$list
+
+cpuset+bitmap+cpubind$(EXEEXT): $(cpuset_bitmap_cpubind_OBJECTS) $(cpuset_bitmap_cpubind_DEPENDENCIES) $(EXTRA_cpuset_bitmap_cpubind_DEPENDENCIES)
+ @rm -f cpuset+bitmap+cpubind$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(cpuset_bitmap_cpubind_OBJECTS) $(cpuset_bitmap_cpubind_LDADD) $(LIBS)
+
+get-knl-modes$(EXEEXT): $(get_knl_modes_OBJECTS) $(get_knl_modes_DEPENDENCIES) $(EXTRA_get_knl_modes_DEPENDENCIES)
+ @rm -f get-knl-modes$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(get_knl_modes_OBJECTS) $(get_knl_modes_LDADD) $(LIBS)
+
+gpu$(EXEEXT): $(gpu_OBJECTS) $(gpu_DEPENDENCIES) $(EXTRA_gpu_DEPENDENCIES)
+ @rm -f gpu$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(gpu_OBJECTS) $(gpu_LDADD) $(LIBS)
+
+hwloc-hello$(EXEEXT): $(hwloc_hello_OBJECTS) $(hwloc_hello_DEPENDENCIES) $(EXTRA_hwloc_hello_DEPENDENCIES)
+ @rm -f hwloc-hello$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_hello_OBJECTS) $(hwloc_hello_LDADD) $(LIBS)
+
+hwloc-hello-cpp$(EXEEXT): $(hwloc_hello_cpp_OBJECTS) $(hwloc_hello_cpp_DEPENDENCIES) $(EXTRA_hwloc_hello_cpp_DEPENDENCIES)
+ @rm -f hwloc-hello-cpp$(EXEEXT)
+ $(AM_V_CXXLD)$(CXXLINK) $(hwloc_hello_cpp_OBJECTS) $(hwloc_hello_cpp_LDADD) $(LIBS)
+
+nodeset+membind+policy$(EXEEXT): $(nodeset_membind_policy_OBJECTS) $(nodeset_membind_policy_DEPENDENCIES) $(EXTRA_nodeset_membind_policy_DEPENDENCIES)
+ @rm -f nodeset+membind+policy$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(nodeset_membind_policy_OBJECTS) $(nodeset_membind_policy_LDADD) $(LIBS)
+
+sharedcaches$(EXEEXT): $(sharedcaches_OBJECTS) $(sharedcaches_DEPENDENCIES) $(EXTRA_sharedcaches_DEPENDENCIES)
+ @rm -f sharedcaches$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(sharedcaches_OBJECTS) $(sharedcaches_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpuset+bitmap+cpubind.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get-knl-modes.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gpu.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-hello-cpp.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-hello.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nodeset+membind+policy.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sharedcaches.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+.cpp.o:
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+hwloc-hello.log: hwloc-hello$(EXEEXT)
+ @p='hwloc-hello$(EXEEXT)'; \
+ b='hwloc-hello'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc-hello-cpp.log: hwloc-hello-cpp$(EXEEXT)
+ @p='hwloc-hello-cpp$(EXEEXT)'; \
+ b='hwloc-hello-cpp'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+ clean-checkPROGRAMS clean-generic clean-libtool clean-local \
+ cscopelist-am ctags ctags-am distclean distclean-compile \
+ distclean-generic distclean-libtool distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ recheck tags tags-am uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+hwloc-hello-cpp.cpp: $(srcdir)/hwloc-hello.c
+ cp -f $(srcdir)/hwloc-hello.c $@
+
+clean-local:
+ rm -f hwloc-hello-cpp.cpp
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+/* This example program plays with:
+ * - retrieving and changing CPU binding of current process and thread
+ * - retrieving the location where the current thread executes
+ * - combining/modifying cpusets using the bitmap API
+ *
+ * Copyright © 2014-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_bitmap_t set, set2;
+ hwloc_const_bitmap_t cset_available, cset_all;
+ hwloc_obj_t obj;
+ char *buffer;
+ char type[64];
+ unsigned i;
+ int err;
+
+ /* create a topology */
+ err = hwloc_topology_init(&topology);
+ if (err < 0) {
+ fprintf(stderr, "failed to initialize the topology\n");
+ return EXIT_FAILURE;
+ }
+ err = hwloc_topology_load(topology);
+ if (err < 0) {
+ fprintf(stderr, "failed to load the topology\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+
+ /* retrieve the entire set of available PUs */
+ cset_available = hwloc_topology_get_topology_cpuset(topology);
+
+ /* retrieve the CPU binding of the current entire process */
+ set = hwloc_bitmap_alloc();
+ if (!set) {
+ fprintf(stderr, "failed to allocate a bitmap\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ err = hwloc_get_cpubind(topology, set, HWLOC_CPUBIND_PROCESS);
+ if (err < 0) {
+ fprintf(stderr, "failed to get cpu binding\n");
+ hwloc_bitmap_free(set);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+
+ /* display the processing units that cannot be used by this process */
+ if (hwloc_bitmap_isequal(set, cset_available)) {
+ printf("this process can use all available processing units in the system\n");
+ } else {
+ /* compute the set where we currently cannot run.
+ * we can't modify cset_available because it's a system read-only one,
+ * so we do set = available &~ set
+ */
+ hwloc_bitmap_andnot(set, cset_available, set);
+ hwloc_bitmap_asprintf(&buffer, set);
+ printf("process cannot use %d process units (%s) among %d in the system\n",
+ hwloc_bitmap_weight(set), buffer, hwloc_bitmap_weight(cset_available));
+ free(buffer);
+ /* restore set where it was before the &~ operation above */
+ hwloc_bitmap_andnot(set, cset_available, set);
+ }
+ /* print the smallest object covering the current process binding */
+ obj = hwloc_get_obj_covering_cpuset(topology, set);
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 0);
+ printf("process is bound within object %s logical index %u\n", type, obj->logical_index);
+
+ /* retrieve the single PU where the current thread actually runs within this process binding */
+ set2 = hwloc_bitmap_alloc();
+ if (!set2) {
+ fprintf(stderr, "failed to allocate a bitmap\n");
+ hwloc_bitmap_free(set);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ err = hwloc_get_last_cpu_location(topology, set2, HWLOC_CPUBIND_THREAD);
+ if (err < 0) {
+ fprintf(stderr, "failed to get last cpu location\n");
+ hwloc_bitmap_free(set);
+ hwloc_bitmap_free(set2);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ /* sanity checks that are not actually needed but help the reader */
+ /* this thread runs within the process binding */
+ assert(hwloc_bitmap_isincluded(set2, set));
+ /* this thread runs on a single PU at a time */
+ assert(hwloc_bitmap_weight(set2) == 1);
+
+ /* print the logical number of the PU where that thread runs */
+ /* extract the PU OS index from the bitmap */
+ i = hwloc_bitmap_first(set2);
+ obj = hwloc_get_pu_obj_by_os_index(topology, i);
+ printf("thread is now running on PU logical index %u (OS/physical index %u)\n",
+ obj->logical_index, i);
+
+ /* migrate this single thread to where other PUs within the current binding */
+ hwloc_bitmap_andnot(set2, set, set2);
+ err = hwloc_set_cpubind(topology, set2, HWLOC_CPUBIND_THREAD);
+ if (err < 0) {
+ fprintf(stderr, "failed to set thread binding\n");
+ hwloc_bitmap_free(set);
+ hwloc_bitmap_free(set2);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ /* reprint the PU where that thread runs */
+ err = hwloc_get_last_cpu_location(topology, set2, HWLOC_CPUBIND_THREAD);
+ if (err < 0) {
+ fprintf(stderr, "failed to get last cpu location\n");
+ hwloc_bitmap_free(set);
+ hwloc_bitmap_free(set2);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ /* print the logical number of the PU where that thread runs */
+ /* extract the PU OS index from the bitmap */
+ i = hwloc_bitmap_first(set2);
+ obj = hwloc_get_pu_obj_by_os_index(topology, i);
+ printf("thread is running on PU logical index %u (OS/physical index %u)\n",
+ obj->logical_index, i);
+
+ hwloc_bitmap_free(set);
+ hwloc_bitmap_free(set2);
+
+ /* retrieve the entire set of all PUs */
+ cset_all = hwloc_topology_get_complete_cpuset(topology);
+ if (hwloc_bitmap_isequal(cset_all, cset_available)) {
+ printf("all hardware PUs are available\n");
+ } else {
+ printf("only %d hardware PUs are available in the machine among %d\n",
+ hwloc_bitmap_weight(cset_available), hwloc_bitmap_weight(cset_all));
+ }
+
+ hwloc_topology_destroy(topology);
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/* This example program shows how to retrieve Knights Landing
+ * memory and cluster modes.
+ * See "Custom string infos" in the documentation for details
+ * about these attributes.
+ *
+ * Copyright © 2015-2016, 2015 Intel
+ * Copyright © 2016 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <hwloc.h>
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t root;
+ const char *cluster_mode;
+ const char *memory_mode;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+
+ root = hwloc_get_root_obj(topology);
+
+ cluster_mode = hwloc_obj_get_info_by_name(root, "ClusterMode");
+ memory_mode = hwloc_obj_get_info_by_name(root, "MemoryMode");
+
+ printf ("ClusterMode is '%s' MemoryMode is '%s'\n",
+ cluster_mode ? cluster_mode : "NULL",
+ memory_mode ? memory_mode : "NULL");
+
+ hwloc_topology_destroy(topology);
+ return 0;
+}
--- /dev/null
+/* This example program plays with:
+ * - finding GPU OS devices
+ * - getting CUDA and OpenCL attributes
+ * - displaying the locality of the GPU
+ *
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2011,2017 Université Bordeaux
+ * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj;
+ unsigned n, i;
+ int devid, platformid;
+ const char *dev;
+
+ /* Allocate, initialize and load topology object. */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
+ hwloc_topology_load(topology);
+
+ /* Find CUDA devices through the corresponding OS devices */
+ n = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_OS_DEVICE);
+
+ for (i = 0; i < n ; i++) {
+ const char *s;
+ obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_OS_DEVICE, i);
+ printf("%s:\n", obj->name);
+
+ /* obj->attr->osdev.type is HWLOC_OBJ_OSDEV_COPROC */
+
+ s = hwloc_obj_get_info_by_name(obj, "Backend");
+ /* CoProcType also contains CUDA or OpenCL in v1.x */
+ /* obj->subtype also contains CUDA or OpenCL since v2.0 */
+
+ if (s && !strcmp(s, "CUDA")) {
+ /* This is a CUDA device */
+ assert(!strncmp(obj->name, "cuda", 4));
+ devid = atoi(obj->name + 4);
+ printf("CUDA device %d\n", devid);
+
+ s = hwloc_obj_get_info_by_name(obj, "GPUModel");
+ if (s)
+ printf("Model: %s\n", s);
+
+ s = hwloc_obj_get_info_by_name(obj, "CUDAGlobalMemorySize");
+ if (s)
+ printf("Memory: %s\n", s);
+
+ s = hwloc_obj_get_info_by_name(obj, "CUDAMultiProcessors");
+ if (s)
+ {
+ int mp = atoi(s);
+ s = hwloc_obj_get_info_by_name(obj, "CUDACoresPerMP");
+ if (s) {
+ int mp_cores = atoi(s);
+ printf("Cores: %d\n", mp * mp_cores);
+ }
+ }
+ }
+
+ if (s && !strcmp(s, "OpenCL")) {
+ /* This is an OpenCL device */
+ assert(!strncmp(obj->name, "opencl", 6));
+ platformid = atoi(obj->name + 6);
+ printf("OpenCL platform %d\n", platformid);
+ dev = strchr(obj->name + 6, 'd');
+ devid = atoi(dev + 1);
+ printf("OpenCL device %d\n", devid);
+
+ s = hwloc_obj_get_info_by_name(obj, "GPUModel");
+ if (s)
+ printf("Model: %s\n", s);
+
+ s = hwloc_obj_get_info_by_name(obj, "OpenCLGlobalMemorySize");
+ if (s)
+ printf("Memory: %s\n", s);
+ }
+
+ /* One can also use helpers from hwloc/cuda.h, hwloc/cudart.h,
+ * hwloc/opencl.h */
+
+
+ /* Find out cpuset this is connected to */
+ while (obj && (!obj->cpuset || hwloc_bitmap_iszero(obj->cpuset)))
+ obj = obj->parent;
+
+ if (obj) {
+ char *cpuset_string;
+ char name[16];
+ hwloc_obj_type_snprintf(name, sizeof(name), obj, 0);
+ hwloc_bitmap_asprintf(&cpuset_string, obj->cpuset);
+ printf("Location: %s P#%d\n", name, obj->os_index);
+ printf("Cpuset: %s\n", cpuset_string);
+ }
+ printf("\n");
+ }
+
+ /* Destroy topology object. */
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/* Example hwloc API program.
+ *
+ * See other examples under doc/examples/ in the source tree
+ * for more details.
+ *
+ * Copyright © 2009-2015 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ *
+ * hwloc-hello.c
+ */
+
+#include <hwloc.h>
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+
+static void print_children(hwloc_topology_t topology, hwloc_obj_t obj,
+ int depth)
+{
+ char type[32], attr[1024];
+ unsigned i;
+
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 0);
+ printf("%*s%s", 2*depth, "", type);
+ if (obj->os_index != (unsigned) -1)
+ printf("#%u", obj->os_index);
+ hwloc_obj_attr_snprintf(attr, sizeof(attr), obj, " ", 0);
+ if (*attr)
+ printf("(%s)", attr);
+ printf("\n");
+ for (i = 0; i < obj->arity; i++) {
+ print_children(topology, obj->children[i], depth + 1);
+ }
+}
+
+int main(void)
+{
+ int depth;
+ unsigned i, n;
+ unsigned long size;
+ int levels;
+ char string[128];
+ int topodepth;
+ hwloc_topology_t topology;
+ hwloc_cpuset_t cpuset;
+ hwloc_obj_t obj;
+
+ /* Allocate and initialize topology object. */
+ hwloc_topology_init(&topology);
+
+ /* ... Optionally, put detection configuration here to ignore
+ some objects types, define a synthetic topology, etc....
+
+ The default is to detect all the objects of the machine that
+ the caller is allowed to access. See Configure Topology
+ Detection. */
+
+ /* Perform the topology detection. */
+ hwloc_topology_load(topology);
+
+ /* Optionally, get some additional topology information
+ in case we need the topology depth later. */
+ topodepth = hwloc_topology_get_depth(topology);
+
+ /*****************************************************************
+ * First example:
+ * Walk the topology with an array style, from level 0 (always
+ * the system level) to the lowest level (always the proc level).
+ *****************************************************************/
+ for (depth = 0; depth < topodepth; depth++) {
+ printf("*** Objects at level %d\n", depth);
+ for (i = 0; i < hwloc_get_nbobjs_by_depth(topology, depth);
+ i++) {
+ hwloc_obj_type_snprintf(string, sizeof(string),
+ hwloc_get_obj_by_depth(topology, depth, i), 0);
+ printf("Index %u: %s\n", i, string);
+ }
+ }
+
+ /*****************************************************************
+ * Second example:
+ * Walk the topology with a tree style.
+ *****************************************************************/
+ printf("*** Printing overall tree\n");
+ print_children(topology, hwloc_get_root_obj(topology), 0);
+
+ /*****************************************************************
+ * Third example:
+ * Print the number of packages.
+ *****************************************************************/
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PACKAGE);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ printf("*** The number of packages is unknown\n");
+ } else {
+ printf("*** %u package(s)\n",
+ hwloc_get_nbobjs_by_depth(topology, depth));
+ }
+
+ /*****************************************************************
+ * Fourth example:
+ * Compute the amount of cache that the first logical processor
+ * has above it.
+ *****************************************************************/
+ levels = 0;
+ size = 0;
+ for (obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 0);
+ obj;
+ obj = obj->parent)
+ if (obj->type == HWLOC_OBJ_CACHE) {
+ levels++;
+ size += obj->attr->cache.size;
+ }
+ printf("*** Logical processor 0 has %d caches totaling %luKB\n",
+ levels, size / 1024);
+
+ /*****************************************************************
+ * Fifth example:
+ * Bind to only one thread of the last core of the machine.
+ *
+ * First find out where cores are, or else smaller sets of CPUs if
+ * the OS doesn't have the notion of a "core".
+ *****************************************************************/
+ depth = hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_CORE);
+
+ /* Get last core. */
+ obj = hwloc_get_obj_by_depth(topology, depth,
+ hwloc_get_nbobjs_by_depth(topology, depth) - 1);
+ if (obj) {
+ /* Get a copy of its cpuset that we may modify. */
+ cpuset = hwloc_bitmap_dup(obj->cpuset);
+
+ /* Get only one logical processor (in case the core is
+ SMT/hyper-threaded). */
+ hwloc_bitmap_singlify(cpuset);
+
+ /* And try to bind ourself there. */
+ if (hwloc_set_cpubind(topology, cpuset, 0)) {
+ char *str;
+ int error = errno;
+ hwloc_bitmap_asprintf(&str, obj->cpuset);
+ printf("Couldn't bind to cpuset %s: %s\n", str, strerror(error));
+ free(str);
+ }
+
+ /* Free our cpuset copy */
+ hwloc_bitmap_free(cpuset);
+ }
+
+ /*****************************************************************
+ * Sixth example:
+ * Allocate some memory on the last NUMA node, bind some existing
+ * memory to the last NUMA node.
+ *****************************************************************/
+ /* Get last node. */
+ n = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_NUMANODE);
+ if (n) {
+ void *m;
+ size = 1024*1024;
+
+ obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, n - 1);
+ m = hwloc_alloc_membind_nodeset(topology, size, obj->nodeset,
+ HWLOC_MEMBIND_BIND, 0);
+ hwloc_free(topology, m, size);
+
+ m = malloc(size);
+ hwloc_set_area_membind_nodeset(topology, m, size, obj->nodeset,
+ HWLOC_MEMBIND_BIND, 0);
+ free(m);
+ }
+
+ /* Destroy topology object. */
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/* Example hwloc API program.
+ *
+ * See other examples under doc/examples/ in the source tree
+ * for more details.
+ *
+ * Copyright © 2009-2015 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ *
+ * hwloc-hello.c
+ */
+
+#include <hwloc.h>
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+
+static void print_children(hwloc_topology_t topology, hwloc_obj_t obj,
+ int depth)
+{
+ char type[32], attr[1024];
+ unsigned i;
+
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 0);
+ printf("%*s%s", 2*depth, "", type);
+ if (obj->os_index != (unsigned) -1)
+ printf("#%u", obj->os_index);
+ hwloc_obj_attr_snprintf(attr, sizeof(attr), obj, " ", 0);
+ if (*attr)
+ printf("(%s)", attr);
+ printf("\n");
+ for (i = 0; i < obj->arity; i++) {
+ print_children(topology, obj->children[i], depth + 1);
+ }
+}
+
+int main(void)
+{
+ int depth;
+ unsigned i, n;
+ unsigned long size;
+ int levels;
+ char string[128];
+ int topodepth;
+ hwloc_topology_t topology;
+ hwloc_cpuset_t cpuset;
+ hwloc_obj_t obj;
+
+ /* Allocate and initialize topology object. */
+ hwloc_topology_init(&topology);
+
+ /* ... Optionally, put detection configuration here to ignore
+ some objects types, define a synthetic topology, etc....
+
+ The default is to detect all the objects of the machine that
+ the caller is allowed to access. See Configure Topology
+ Detection. */
+
+ /* Perform the topology detection. */
+ hwloc_topology_load(topology);
+
+ /* Optionally, get some additional topology information
+ in case we need the topology depth later. */
+ topodepth = hwloc_topology_get_depth(topology);
+
+ /*****************************************************************
+ * First example:
+ * Walk the topology with an array style, from level 0 (always
+ * the system level) to the lowest level (always the proc level).
+ *****************************************************************/
+ for (depth = 0; depth < topodepth; depth++) {
+ printf("*** Objects at level %d\n", depth);
+ for (i = 0; i < hwloc_get_nbobjs_by_depth(topology, depth);
+ i++) {
+ hwloc_obj_type_snprintf(string, sizeof(string),
+ hwloc_get_obj_by_depth(topology, depth, i), 0);
+ printf("Index %u: %s\n", i, string);
+ }
+ }
+
+ /*****************************************************************
+ * Second example:
+ * Walk the topology with a tree style.
+ *****************************************************************/
+ printf("*** Printing overall tree\n");
+ print_children(topology, hwloc_get_root_obj(topology), 0);
+
+ /*****************************************************************
+ * Third example:
+ * Print the number of packages.
+ *****************************************************************/
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PACKAGE);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ printf("*** The number of packages is unknown\n");
+ } else {
+ printf("*** %u package(s)\n",
+ hwloc_get_nbobjs_by_depth(topology, depth));
+ }
+
+ /*****************************************************************
+ * Fourth example:
+ * Compute the amount of cache that the first logical processor
+ * has above it.
+ *****************************************************************/
+ levels = 0;
+ size = 0;
+ for (obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 0);
+ obj;
+ obj = obj->parent)
+ if (obj->type == HWLOC_OBJ_CACHE) {
+ levels++;
+ size += obj->attr->cache.size;
+ }
+ printf("*** Logical processor 0 has %d caches totaling %luKB\n",
+ levels, size / 1024);
+
+ /*****************************************************************
+ * Fifth example:
+ * Bind to only one thread of the last core of the machine.
+ *
+ * First find out where cores are, or else smaller sets of CPUs if
+ * the OS doesn't have the notion of a "core".
+ *****************************************************************/
+ depth = hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_CORE);
+
+ /* Get last core. */
+ obj = hwloc_get_obj_by_depth(topology, depth,
+ hwloc_get_nbobjs_by_depth(topology, depth) - 1);
+ if (obj) {
+ /* Get a copy of its cpuset that we may modify. */
+ cpuset = hwloc_bitmap_dup(obj->cpuset);
+
+ /* Get only one logical processor (in case the core is
+ SMT/hyper-threaded). */
+ hwloc_bitmap_singlify(cpuset);
+
+ /* And try to bind ourself there. */
+ if (hwloc_set_cpubind(topology, cpuset, 0)) {
+ char *str;
+ int error = errno;
+ hwloc_bitmap_asprintf(&str, obj->cpuset);
+ printf("Couldn't bind to cpuset %s: %s\n", str, strerror(error));
+ free(str);
+ }
+
+ /* Free our cpuset copy */
+ hwloc_bitmap_free(cpuset);
+ }
+
+ /*****************************************************************
+ * Sixth example:
+ * Allocate some memory on the last NUMA node, bind some existing
+ * memory to the last NUMA node.
+ *****************************************************************/
+ /* Get last node. */
+ n = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_NUMANODE);
+ if (n) {
+ void *m;
+ size = 1024*1024;
+
+ obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, n - 1);
+ m = hwloc_alloc_membind_nodeset(topology, size, obj->nodeset,
+ HWLOC_MEMBIND_BIND, 0);
+ hwloc_free(topology, m, size);
+
+ m = malloc(size);
+ hwloc_set_area_membind_nodeset(topology, m, size, obj->nodeset,
+ HWLOC_MEMBIND_BIND, 0);
+ free(m);
+ }
+
+ /* Destroy topology object. */
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/* This example program plays with:
+ * - finding and counting NUMA nodes
+ * - manipulating nodesets
+ * - memory binding and binding policies
+ *
+ * Copyright © 2014-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_bitmap_t set;
+ hwloc_const_bitmap_t cset;
+ hwloc_membind_policy_t policy;
+ const struct hwloc_topology_support *support;
+ int nbnodes;
+ hwloc_obj_t obj;
+ char *buffer, *s;
+ unsigned i;
+ int err;
+
+ /* create a topology */
+ err = hwloc_topology_init(&topology);
+ if (err < 0) {
+ fprintf(stderr, "failed to initialize the topology\n");
+ return EXIT_FAILURE;
+ }
+ err = hwloc_topology_load(topology);
+ if (err < 0) {
+ fprintf(stderr, "failed to load the topology\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+
+ /* retrieve the entire set of NUMA nodes and count them */
+ cset = hwloc_topology_get_topology_nodeset(topology);
+ nbnodes = hwloc_bitmap_weight(cset);
+ if (nbnodes <= 0) {
+ /* nbnodes may be -1 when there's no NUMA information,
+ * or 0 when the machine is known to be non-NUMA */
+ printf("this machine is not NUMA, nothing to do\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_SUCCESS;
+ }
+ printf("there are %d nodes in the machine\n", nbnodes);
+
+ /* get the process memory binding as a nodeset */
+ set = hwloc_bitmap_alloc();
+ if (!set) {
+ fprintf(stderr, "failed to allocate a bitmap\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ err = hwloc_get_membind_nodeset(topology, set, &policy, 0);
+ if (err < 0) {
+ fprintf(stderr, "failed to retrieve my memory binding and policy\n");
+ hwloc_topology_destroy(topology);
+ hwloc_bitmap_free(set);
+ return EXIT_FAILURE;
+ }
+
+ /* print the corresponding NUMA nodes */
+ hwloc_bitmap_asprintf(&s, set);
+ printf("bound to nodeset %s with contains:\n", s);
+ free(s);
+ hwloc_bitmap_foreach_begin(i, set) {
+ obj = hwloc_get_numanode_obj_by_os_index(topology, i);
+ printf(" node #%u (OS index %u) with %llu bytes of memory\n",
+ obj->logical_index, i, (unsigned long long) obj->memory.local_memory);
+ } hwloc_bitmap_foreach_end();
+ hwloc_bitmap_free(set);
+
+ /* allocate replicated memory of all nodes */
+ support = hwloc_topology_get_support(topology);
+ buffer = NULL;
+ if (support->membind->replicate_membind) {
+ printf("replicated memory binding is supported\n");
+ buffer = hwloc_alloc_membind_nodeset(topology, 4096, cset, HWLOC_MEMBIND_REPLICATE, HWLOC_MEMBIND_STRICT);
+ } else {
+ printf("replicated memory binding is NOT supported\n");
+ }
+ if (!buffer) {
+ /* could not allocate replicated memory, manually allocate of each node by iterating over them */
+ printf("manually allocating memory on each node\n");
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, obj)) != NULL) {
+ buffer = hwloc_alloc_membind_nodeset(topology, 4096, obj->nodeset, HWLOC_MEMBIND_BIND, HWLOC_MEMBIND_STRICT);
+ if (!buffer) {
+ fprintf(stderr, "failed to manually allocate memory on node %u\n", obj->os_index);
+ hwloc_topology_destroy(topology);
+ return EXIT_SUCCESS;
+ }
+ /* now the application must manually manage these different buffers on different nodes */
+ }
+ }
+
+ /* check where buffer is allocated */
+ set = hwloc_bitmap_alloc();
+ if (!set) {
+ fprintf(stderr, "failed to allocate a bitmap\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ err = hwloc_get_area_membind_nodeset(topology, buffer, 4096, set, &policy, 0);
+ if (err < 0) {
+ fprintf(stderr, "failed to retrieve the buffer binding and policy\n");
+ hwloc_topology_destroy(topology);
+ hwloc_bitmap_free(set);
+ return EXIT_FAILURE;
+ }
+
+ /* check the binding policy, it should be what we requested above,
+ * but may be different if the implementation of different policies
+ * is identical for the current operating system.
+ */
+ printf("buffer membind policy is %d while we requested %d or %d\n",
+ policy, HWLOC_MEMBIND_REPLICATE, HWLOC_MEMBIND_BIND);
+
+ /* print the corresponding NUMA nodes */
+ hwloc_bitmap_asprintf(&s, set);
+ printf("buffer bound to nodeset %s with contains:\n", s);
+ free(s);
+ hwloc_bitmap_foreach_begin(i, set) {
+ obj = hwloc_get_numanode_obj_by_os_index(topology, i);
+ printf(" node #%u (OS index %u) with %llu bytes of memory\n",
+ obj->logical_index, i, (unsigned long long) obj->memory.local_memory);
+ } hwloc_bitmap_foreach_end();
+ hwloc_bitmap_free(set);
+
+ /* try to migrate the buffer to the first node */
+ obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, 0);
+ err = hwloc_set_area_membind_nodeset(topology, buffer, 4096, obj->nodeset, HWLOC_MEMBIND_BIND, HWLOC_MEMBIND_MIGRATE);
+ if (err < 0) {
+ fprintf(stderr, "failed to migrate buffer\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+
+ hwloc_topology_destroy(topology);
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/* This example program looks for caches shared between this process
+ * and another one based on their current binding.
+ *
+ * Copyright © 2014-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+int main(int argc, char *argv[])
+{
+ pid_t hispid;
+ hwloc_topology_t topology;
+ hwloc_bitmap_t set, hisset;
+ hwloc_obj_t obj;
+ int err;
+
+ /* find the pid of the other process, otherwise use my own pid */
+ if (argc >= 2) {
+ hispid = atoi(argv[1]);
+ } else {
+ hispid = getpid();
+ }
+
+ /* create a topology with instruction caches enables */
+ err = hwloc_topology_init(&topology);
+ if (err < 0) {
+ fprintf(stderr, "failed to initialize the topology\n");
+ return EXIT_FAILURE;
+ }
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_ICACHES);
+ err = hwloc_topology_load(topology);
+ if (err < 0) {
+ fprintf(stderr, "failed to load the topology\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+
+ /* find where I am running */
+ set = hwloc_bitmap_alloc();
+ if (!set) {
+ fprintf(stderr, "failed to allocate my bitmap\n");
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ err = hwloc_get_cpubind(topology, set, 0);
+ if (err < 0) {
+ fprintf(stderr, "failed to get my binding\n");
+ hwloc_bitmap_free(set);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+
+ /* find where the other process is running */
+ hisset = hwloc_bitmap_alloc();
+ if (!hisset) {
+ fprintf(stderr, "failed to allocate his bitmap\n");
+ hwloc_bitmap_free(set);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+ err = hwloc_get_proc_cpubind(topology, hispid, hisset, 0);
+ if (err < 0) {
+ fprintf(stderr, "failed to get his binding\n");
+ hwloc_bitmap_free(hisset);
+ hwloc_bitmap_free(set);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+ }
+
+ /* merge both process binding into mine */
+ hwloc_bitmap_or(set, set, hisset);
+
+ /* find the smallest object covering this set */
+ obj = hwloc_get_obj_covering_cpuset(topology, set);
+
+ /* display parents of type cache */
+ while (obj) {
+ if (obj->type == HWLOC_OBJ_CACHE) {
+ char type[64];
+ char attr[64];
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 0);
+ hwloc_obj_attr_snprintf(attr, sizeof(attr), obj, ", ", 0);
+ printf("Found object %s with attributes %s\n", type, attr);
+ }
+ /* next parent up in the tree */
+ obj = obj->parent;
+ }
+
+ hwloc_bitmap_free(hisset);
+ hwloc_bitmap_free(set);
+ hwloc_topology_destroy(topology);
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2013 Université Bordeaux
+ * Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/*! \mainpage Hardware Locality
+
+<h1 class="sub">Portable abstraction of hierarchical architectures for high-performance computing</h1>
+
+<hr>
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+See also \ref further_reading
+\htmlonly
+or the Related pages tab above
+\endhtmlonly
+for links to more sections about hwloc concepts.
+\htmlonly
+</div>
+\endhtmlonly
+
+\htmlonly
+<div class="section" id="introduction">
+\endhtmlonly
+\section Introduction
+
+hwloc provides command line tools and a C API to obtain the
+hierarchical map of key computing elements, such as: NUMA memory
+nodes, shared caches, processor packages, processor cores,
+processing units (logical processors or "threads")
+and even I/O devices.
+hwloc also gathers various attributes such as
+cache and memory information, and is portable across a variety of
+different operating systems and platforms.
+Additionally it may assemble the topologies of multiple machines
+into a single one so as to let applications consult the topology
+of an entire fabric or cluster at once.
+
+hwloc primarily aims at helping high-performance computing (HPC)
+applications, but is also applicable to any project seeking to exploit
+code and/or data locality on modern computing platforms.
+
+hwloc supports the following operating systems:
+
+<ul>
+<li>Linux (including old kernels not having sysfs topology
+information, with knowledge of cpusets, ScaleMP vSMP and Kerrighed support, etc.)
+on all supported hardware, including Intel Xeon Phi
+and NumaScale NumaConnect.</li>
+<li>Solaris (with support for processor sets and logical domains)</li>
+<li>AIX</li>
+<li>Darwin / OS X</li>
+<li>FreeBSD and its variants (such as kFreeBSD/GNU)</li>
+<li>NetBSD</li>
+<li>OSF/1 (a.k.a., Tru64)</li>
+<li>HP-UX</li>
+<li>Microsoft Windows</li>
+<li>IBM BlueGene/Q Compute Node Kernel (CNK)</li>
+</ul>
+
+Since it uses standard Operating System information, hwloc's support is mostly
+independant from the processor type (x86, powerpc, ...) and just relies on the
+Operating System support. The main exception is BSD operating systems (NetBSD, FreeBSD, etc.)
+because they do not provide support topology information, hence hwloc uses an x86-only CPUID-based
+backend (which can be used for other OSes too, see the \ref plugins section).
+
+To check whether hwloc works on a particular machine, just try to build it
+and run <tt>lstopo</tt> or <tt>lstopo-no-graphics</tt>. If some things do not look right
+(e.g. bogus or missing cache information), see \ref bugs below.
+
+hwloc only reports the number of processors on unsupported operating
+systems; no topology information is available.
+
+For development and debugging purposes, hwloc also offers the ability to
+work on "fake" topologies:
+
+<ul>
+ <li> Symmetrical tree of resources generated from a list of level arities,
+ see \ref synthetic.</li>
+ <li> Remote machine simulation through the gathering of topology as XML files,
+ see \ref xml.</li>
+</ul>
+
+hwloc can display the topology in a human-readable format, either in
+graphical mode (X11), or by exporting in one of several different
+formats, including: plain text, PDF, PNG, and FIG (see \ref cli_examples
+below). Note that some of the export formats require additional
+support libraries.
+
+hwloc offers a programming interface for manipulating topologies and
+objects. It also brings a powerful CPU bitmap API that is used to
+describe topology objects location on physical/logical processors. See
+the \ref interface below. It may also be used to binding applications
+onto certain cores or memory nodes. Several utility programs are also
+provided to ease command-line manipulation of topology objects,
+binding of processes, and so on.
+
+Perl bindings are available from Bernd Kallies on
+<a href=http://search.cpan.org/~bka/Sys-Hwloc-0.10/>CPAN</a>.
+
+Python bindings are available from Guy Streeter:
+<ul>
+<li><a href=http://people.redhat.com/streeter/>Fedora RPM and tarball</a>.</li>
+<li><a href=git://git.fedorahosted.org/python-hwloc.git>git tree</a>
+(<a href=http://git.fedorahosted.org/git/python-hwloc.git>html</a>).</li>
+</ul>
+
+
+\htmlonly
+</div><div class="section" id="installation">
+\endhtmlonly
+\section installation Installation
+
+hwloc (http://www.open-mpi.org/projects/hwloc/) is available under the
+BSD license. It is hosted as a sub-project of the overall Open MPI
+project (http://www.open-mpi.org/). Note that hwloc does not require
+any functionality from Open MPI -- it is a wholly separate (and much
+smaller!) project and code base. It just happens to be hosted as part
+of the overall Open MPI project.
+
+\subsection basic_installation Basic Installation
+
+Installation is the fairly common GNU-based process:
+
+\verbatim
+shell$ ./configure --prefix=...
+shell$ make
+shell$ make install
+\endverbatim
+
+The hwloc command-line tool "lstopo" produces human-readable topology
+maps, as mentioned above. It can also export maps to the "fig" file
+format. Support for PDF, Postscript, and PNG exporting is provided if
+the "Cairo" development package (usually <tt>cairo-devel</tt> or
+<tt>libcairo2-dev</tt>) can be found in "lstopo" when hwloc
+is configured and build.
+
+\subsection gitclone_installation Installing from a Git clone
+
+Additionally, the code can be directly cloned from Git:
+
+\verbatim
+shell$ git clone https://github.com/open-mpi/hwloc.git
+shell$ cd hwloc
+shell$ ./autogen.sh
+\endverbatim
+
+Note that GNU Autoconf >=2.63, Automake >=1.10 and Libtool >=2.2.6 are
+required when building from a Git clone.
+
+Nightly development snapshots are available on the web site,
+they can be configured and built without any need for Git
+or GNU Autotools.
+
+\subsection depends_installation Optional Dependencies
+
+The hwloc core may also benefit from the following development packages:
+<ul>
+<li>libnuma for memory binding and migration support on Linux
+ (<tt>numactl-devel</tt> or <tt>libnuma-dev</tt> package).
+</li>
+<li>libpciaccess for full I/O device discovery
+ (<tt>libpciaccess-devel</tt> or <tt>libpciaccess-dev</tt> package).
+ On Linux, PCI discovery may still be performed (without vendor/device names)
+ even if libpciaccess cannot be used.
+</li>
+
+<li>the AMD OpenCL implementation for OpenCL device discovery.
+</li>
+<li>the NVIDIA CUDA Toolkit for CUDA device discovery.
+</li>
+<li>the NVIDIA Management Library (NVML) for NVML device discovery.
+ It is included in CUDA since version 8.0.
+ Older NVML releases were available within the NVIDIA GPU Deployment Kit
+ from https://developer.nvidia.com/gpu-deployment-kit .
+</li>
+<li>the NV-CONTROL X extension library (NVCtrl) for NVIDIA display discovery.
+ The relevant development package is usually <tt>libXNVCtrl-devel</tt>
+ or <tt>libxnvctrl-dev</tt>.
+ It is also available within nvidia-settings from ftp://download.nvidia.com/XFree86/nvidia-settings/
+ and https://github.com/NVIDIA/nvidia-settings/ .
+</li>
+<li>libxml2 for full XML import/export support (otherwise, the
+ internal minimalistic parser will only be able to import
+ XML files that were exported by the same hwloc release).
+ See \ref xml for details.
+ The relevant development package is usually <tt>libxml2-devel</tt>
+ or <tt>libxml2-dev</tt>.
+</li>
+<li>libudev on Linux for easier discovery of OS device information
+ (otherwise hwloc will try to manually parse udev raw files).
+ The relevant development package is usually <tt>libudev-devel</tt>
+ or <tt>libudev-dev</tt>.
+</li>
+<li>libtool's ltdl library for dynamic plugin loading.
+ The relevant development package is usually <tt>libtool-ltdl-devel</tt>
+ or <tt>libltdl-dev</tt>.
+</li>
+</ul>
+
+PCI and XML support may be statically built inside the main hwloc
+library, or as separate dynamically-loaded plugins (see the
+\ref plugins section).
+
+Note that because of the possibility of GPL taint, the
+<tt>pciutils</tt> library <tt>libpci</tt> will not be used (remember
+that hwloc is BSD-licensed).
+
+Also note that if you install supplemental libraries in non-standard
+locations, hwloc's configure script may not be able to find them
+without some help. You may need to specify additional CPPFLAGS,
+LDFLAGS, or PKG_CONFIG_PATH values on the configure command line.
+
+For example, if libpciaccess was installed into /opt/pciaccess,
+hwloc's configure script may not find it be default. Try adding
+PKG_CONFIG_PATH to the ./configure command line, like this:
+
+\verbatim
+./configure PKG_CONFIG_PATH=/opt/pciaccess/lib/pkgconfig ...
+\endverbatim
+
+
+\htmlonly
+</div><div class="section" id="cli_examples">
+\endhtmlonly
+\section cli_examples Command-line Examples
+
+On a 4-package 2-core machine with hyper-threading, the \c lstopo tool
+may show the following graphical output:
+
+\image html dudley.png
+\image latex dudley.png "" width=9cm
+
+Here's the equivalent output in textual form:
+
+\verbatim
+Machine
+ Package L#0 + L3 L#0 (4096KB)
+ L2 L#0 (1024KB) + L1 L#0 (16KB) + Core L#0
+ PU L#0 (P#0)
+ PU L#1 (P#8)
+ L2 L#1 (1024KB) + L1 L#1 (16KB) + Core L#1
+ PU L#2 (P#4)
+ PU L#3 (P#12)
+ Package L#1 + L3 L#1 (4096KB)
+ L2 L#2 (1024KB) + L1 L#2 (16KB) + Core L#2
+ PU L#4 (P#1)
+ PU L#5 (P#9)
+ L2 L#3 (1024KB) + L1 L#3 (16KB) + Core L#3
+ PU L#6 (P#5)
+ PU L#7 (P#13)
+ Package L#2 + L3 L#2 (4096KB)
+ L2 L#4 (1024KB) + L1 L#4 (16KB) + Core L#4
+ PU L#8 (P#2)
+ PU L#9 (P#10)
+ L2 L#5 (1024KB) + L1 L#5 (16KB) + Core L#5
+ PU L#10 (P#6)
+ PU L#11 (P#14)
+ Package L#3 + L3 L#3 (4096KB)
+ L2 L#6 (1024KB) + L1 L#6 (16KB) + Core L#6
+ PU L#12 (P#3)
+ PU L#13 (P#11)
+ L2 L#7 (1024KB) + L1 L#7 (16KB) + Core L#7
+ PU L#14 (P#7)
+ PU L#15 (P#15)
+\endverbatim
+
+Note that there is also an equivalent output in XML that is meant for
+exporting/importing topologies but it is hardly readable to human-beings
+(see \ref xml for details).
+
+On a 4-package 2-core Opteron NUMA machine
+(with two core cores disallowed by the administrator, and two offline cores),
+the \c lstopo tool may show the following graphical output
+(with <tt>\--whole-system</tt> for displaying disallowed/offline objects):
+
+\image html hagrid.png
+\image latex hagrid.png "" width=\textwidth
+
+Here's the equivalent output in textual form:
+
+\verbatim
+Machine (32GB total)
+ NUMANode L#0 (P#0 8190MB) + Package L#0
+ L2 L#0 (1024KB) + L1 L#0 (64KB) + Core L#0 + PU L#0 (P#0)
+ L2 L#1 (1024KB) + L1 L#1 (64KB) + Core L#1 + PU L#1 (P#1)
+ NUMANode L#1 (P#1 8192MB) + Package L#1
+ L2 L#2 (1024KB) + L1 L#2 (64KB) + Core L#2 + PU L#2 (P#2)
+ L2 L#3 (1024KB) + L1 L#3 (64KB) + Core L#3 + PU L#3 (P#3)
+ NUMANode L#2 (P#2 8192MB) + Package L#2
+ L2 L#4 (1024KB) + L1 L#4 (64KB) + Core L#4 + PU L#4 (P#4)
+ L2 L#5 (1024KB) + L1 L#5 (64KB) + Core L#5 + PU L#5 (P#5)
+ NUMANode L#3 (P#3 8192MB) + Package L#3
+ L2 L#6 (1024KB) + L1 L#6 (64KB) + Core L#6 + PU L#6 (P#6)
+ L2 L#7 (1024KB) + L1 L#7 (64KB) + Core L#7 + PU L#7 (P#7)
+\endverbatim
+
+On a 2-package quad-core Xeon (pre-Nehalem, with 2 dual-core dies into
+each package):
+
+\image html emmett.png
+\image latex emmett.png "" width=7cm
+
+Here's the same output in textual form:
+
+\verbatim
+Machine (16GB)
+ Package L#0
+ L2 L#0 (4096KB)
+ L1 L#0 (32KB) + Core L#0 + PU L#0 (P#0)
+ L1 L#1 (32KB) + Core L#1 + PU L#1 (P#4)
+ L2 L#1 (4096KB)
+ L1 L#2 (32KB) + Core L#2 + PU L#2 (P#2)
+ L1 L#3 (32KB) + Core L#3 + PU L#3 (P#6)
+ Package L#1
+ L2 L#2 (4096KB)
+ L1 L#4 (32KB) + Core L#4 + PU L#4 (P#1)
+ L1 L#5 (32KB) + Core L#5 + PU L#5 (P#5)
+ L2 L#3 (4096KB)
+ L1 L#6 (32KB) + Core L#6 + PU L#6 (P#3)
+ L1 L#7 (32KB) + Core L#7 + PU L#7 (P#7)
+\endverbatim
+
+
+\htmlonly
+</div><div class="section" id="interface">
+\endhtmlonly
+\section interface Programming Interface
+
+The basic interface is available in hwloc.h.
+Some higher-level functions are available in hwloc/helper.h to reduce
+the need to manually manipulate objects and follow links between them.
+Documentation for all these is provided later in this document.
+Developers may also want to look at hwloc/inlines.h which contains the
+actual inline code of some hwloc.h routines, and at this document,
+which provides good higher-level topology traversal examples.
+
+To precisely define the vocabulary used by hwloc, a \ref termsanddefs
+section is available and should probably be read first.
+
+Each hwloc object contains a cpuset describing the list of processing
+units that it contains. These bitmaps may be used for
+\ref hwlocality_cpubinding and \ref hwlocality_membinding.
+hwloc offers an extensive
+bitmap manipulation interface in hwloc/bitmap.h.
+
+Moreover, hwloc also comes with additional helpers for
+interoperability with several commonly used environments.
+See the \ref interoperability section for details.
+
+The complete API documentation is available in a full set of HTML
+pages, man pages, and self-contained PDF files (formatted for both
+both US letter and A4 formats) in the source tarball in
+doc/doxygen-doc/.
+
+<strong>NOTE:</strong> If you are building the documentation from a
+Git clone, you will need to have Doxygen and pdflatex
+installed -- the documentation will be built during the normal "make"
+process. The documentation is installed during "make install" to
+$prefix/share/doc/hwloc/ and your systems default man page tree (under
+$prefix, of course).
+
+\subsection portability Portability
+
+Operating System have varying support for CPU and memory binding,
+e.g. while some Operating Systems provide interfaces for all kinds of CPU and
+memory bindings, some others provide only interfaces for a limited number of
+kinds of CPU and memory binding, and some do not provide any binding interface
+at all. Hwloc's binding functions would then simply return the ENOSYS error
+(Function not implemented), meaning that the underlying Operating System
+does not provide any interface for them. \ref hwlocality_cpubinding and
+\ref hwlocality_membinding provide more information on which hwloc binding functions
+should be preferred because interfaces for them are usually available on the
+supported Operating Systems.
+
+Similarly, the ability of reporting topology information varies from
+one platform to another.
+As shown in \ref cli_examples, hwloc can obtain information on a wide
+variety of hardware topologies. However, some platforms and/or
+operating system versions will only report a subset of this
+information. For example, on an PPC64-based system with 8 cores
+(each with 2 hardware threads) running a default 2.6.18-based kernel
+from RHEL 5.4, hwloc is only able to glean information about NUMA
+nodes and processor units (PUs). No information about caches,
+packages, or cores is available.
+
+Here's the graphical output from lstopo on this platform when
+Simultaneous Multi-Threading (SMT) is enabled:
+
+\image html ppc64-with-smt.png
+\image latex ppc64-with-smt.png "" width=\textwidth
+
+And here's the graphical output from lstopo on this platform when SMT is
+disabled:
+
+\image html ppc64-without-smt.png
+\image latex ppc64-without-smt.png "" width=.5\textwidth
+
+Notice that hwloc only sees half the PUs when SMT is disabled.
+PU L#6, for example, seems to change location from NUMA node #0 to #1.
+In reality, no PUs "moved" -- they were simply re-numbered when hwloc
+only saw half as many (see also Logical index in \ref termsanddefs_indexes).
+Hence, PU L#6 in the SMT-disabled picture probably corresponds to
+PU L#12 in the SMT-enabled picture.
+
+This same "PUs have disappeared" effect can be seen on other platforms
+-- even platforms / OSs that provide much more information than the
+above PPC64 system. This is an unfortunate side-effect of how
+operating systems report information to hwloc.
+
+Note that upgrading the Linux kernel on the same PPC64 system
+mentioned above to 2.6.34, hwloc is able to discover all the topology
+information. The following picture shows the entire topology layout
+when SMT is enabled:
+
+\image html ppc64-full-with-smt.png
+\image latex ppc64-full-with-smt.png "" width=\textwidth
+
+Developers using the hwloc API or XML output for portable applications
+should therefore be extremely careful to not make any assumptions
+about the structure of data that is returned. For example, per the
+above reported PPC topology, it is not safe to assume that PUs will
+always be descendants of cores.
+
+Additionally, future hardware may insert new topology elements that
+are not available in this version of hwloc. Long-lived applications
+that are meant to span multiple different hardware platforms should
+also be careful about making structure assumptions. For example,
+a new element may someday exist between a core and a PU.
+
+
+\subsection interface_example API Example
+
+The following small C example (available in the source tree as ``doc/examples/hwloc-hello.c'')
+prints the topology of the machine and performs some thread and memory binding.
+More examples are available in the doc/examples/ directory of the source
+tree.
+
+\include examples/hwloc-hello.c
+
+hwloc provides a \c pkg-config executable to obtain relevant compiler
+and linker flags. For example, it can be used thusly to compile
+applications that utilize the hwloc library (assuming GNU Make):
+
+\verbatim
+CFLAGS += $(shell pkg-config --cflags hwloc)
+LDLIBS += $(shell pkg-config --libs hwloc)
+
+hwloc-hello: hwloc-hello.c
+ $(CC) hwloc-hello.c $(CFLAGS) -o hwloc-hello $(LDLIBS)
+\endverbatim
+
+On a machine with 4GB of RAM and 2 processor packages -- each package of
+which has two processing cores -- the output from running \c
+hwloc-hello could be something like the following:
+
+\verbatim
+shell$ ./hwloc-hello
+*** Objects at level 0
+Index 0: Machine(3938MB)
+*** Objects at level 1
+Index 0: Package#0
+Index 1: Package#1
+*** Objects at level 2
+Index 0: Core#0
+Index 1: Core#1
+Index 2: Core#3
+Index 3: Core#2
+*** Objects at level 3
+Index 0: PU#0
+Index 1: PU#1
+Index 2: PU#2
+Index 3: PU#3
+*** Printing overall tree
+Machine(3938MB)
+ Package#0
+ Core#0
+ PU#0
+ Core#1
+ PU#1
+ Package#1
+ Core#3
+ PU#2
+ Core#2
+ PU#3
+*** 2 package(s)
+shell$
+\endverbatim
+
+
+\htmlonly
+</div><div class="section" id="bugs">
+\endhtmlonly
+\section bugs Questions and Bugs
+
+Bugs should be reported in the tracker
+(https://github.com/open-mpi/hwloc/issues).
+Opening a new issue automatically displays lots of hints about
+how to debug and report issues.
+
+Questions may be sent to the users or developers mailing lists
+(http://www.open-mpi.org/community/lists/hwloc.php).
+
+There is also a <tt>\#hwloc</tt> IRC channel on Freenode (<tt>irc.freenode.net</tt>).
+
+
+\htmlonly
+</div><div class="section" id="history">
+\endhtmlonly
+\section history History / Credits
+
+hwloc is the evolution and merger of the libtopology
+(http://runtime.bordeaux.inria.fr/libtopology/) project and the Portable
+Linux Processor Affinity (PLPA) (http://www.open-mpi.org/projects/plpa/)
+project. Because of functional and ideological overlap, these two code bases
+and ideas were merged and released under the name "hwloc" as an Open MPI
+sub-project.
+
+libtopology was initially developed by the inria Runtime Team-Project
+(http://runtime.bordeaux.inria.fr/) (headed by Raymond Namyst
+(http://dept-info.labri.fr/~namyst/). PLPA was initially developed by
+the Open MPI development team as a sub-project. Both are now deprecated
+in favor of hwloc, which is distributed as an Open MPI sub-project.
+
+
+\htmlonly
+</div><div class="section" id="further_reading">
+\endhtmlonly
+\section further_reading Further Reading
+
+The documentation chapters include
+
+<ul>
+<li> \ref termsanddefs
+<li> \ref tools
+<li> \ref envvar
+<li> \ref cpu_mem_bind
+<li> \ref iodevices
+<li> \ref miscobjs
+<li> \ref multinode
+<li> \ref attributes
+<li> \ref xml
+<li> \ref synthetic
+<li> \ref interoperability
+<li> \ref threadsafety
+<li> \ref plugins
+<li> \ref embed
+<li> \ref faq
+</ul>
+
+Make sure to have had a look at those too!
+
+\htmlonly
+</div>
+\endhtmlonly
+
+
+
+\page termsanddefs Terms and Definitions
+
+\htmlonly
+<div class="section" id="termsanddefs_objects">
+\endhtmlonly
+\section termsanddefs_objects Objects
+
+<dl>
+
+<dt>Object</dt>
+ <dd>Interesting kind of part of the system, such as a Core, a Cache,
+ a NUMA memory node, etc. The different types detected by hwloc are
+ detailed in the ::hwloc_obj_type_t enumeration.
+
+ They are topologically sorted by CPU set into a tree (see \ref termsanddefs_tree).
+ </dd>
+
+<dt>Processing Unit (or Logical Processor)</dt>
+ <dd>The smallest processing element that can be represented by a hwloc
+ object. It may be a single-core processor, a core of a multicore
+ processor, or a single thread in a SMT processor.
+ hwloc's PU acronym stands for Processing Unit.
+
+ "Logical processor" should not be confused with "Logical index of a
+ processor".
+ </dd>
+
+<dt>Package</dt>
+ <dd>A processor Package is the physical package that usually gets
+ inserted into a socket on the motherboard.
+ It is also often called a physical processor or a CPU even if these
+ names bring confusion with respect to cores and processing units.
+ A processor package usually contains multiple cores
+ (and may also be composed of multiple dies).
+ hwloc Package objects were called Sockets up to hwloc 1.10.
+ </dd>
+
+<dt>NUMA Node</dt>
+ <dd>
+ An object that contains memory that is directly and byte-accessible
+ to the host processors.
+ It is usually close to some cores (the corresponding objects are
+ descendants of the NUMA node object in the hwloc tree,
+ see \ref termsanddefs_tree)
+ as specified by its CPU set.
+ </dd>
+
+</dl>
+
+
+\htmlonly
+</div><div class="section" id="termsanddefs_indexes">
+\endhtmlonly
+\section termsanddefs_indexes Indexes and Sets
+
+<dl>
+
+<dt>OS or physical index</dt>
+ <dd>The index that the operating system (OS) uses to identify the
+ object. This may be completely arbitrary, non-unique, non-contiguous, not
+ representative of logical proximity, and may depend on the BIOS
+ configuration. That is why hwloc almost never uses them, only in the default
+ lstopo output (<tt>P\#x</tt>) and cpuset masks.
+ See also \ref faq_indexes.</dd>
+
+<dt>Logical index</dt>
+ <dd>Index to uniquely identify objects of the same type and depth,
+ automatically computed by hwloc according to the topology. It expresses
+ logical proximity in a generic way, i.e. objects which have adjacent logical
+ indexes are adjacent in the topology. That is why hwloc almost always uses
+ it in its API, since it expresses logical proximity. They can be shown (as
+ <tt>L\#x</tt>) by <tt>lstopo</tt> thanks to the <tt>-l</tt> option. This index
+ is always linear and in
+ the range [0, num_objs_same_type_same_level-1]. Think of it as ``cousin
+ rank.'' The ordering is based on topology first, and then on OS CPU numbers,
+ so it is stable across everything except firmware CPU renumbering.
+ "Logical index" should not be confused with "Logical processor". A "Logical
+ processor" (which in hwloc we rather call "processing unit" to avoid the
+ confusion) has both a physical index (as chosen arbitrarily by BIOS/OS) and a logical
+ index (as computed according to logical proximity by hwloc).
+ See also \ref faq_indexes.</dd>
+
+<dt>CPU set</dt>
+ <dd>The set of logical processors (or processing units) logically included in an object
+ (if it makes sense). They are always expressed using physical logical
+ processor numbers (as announced by the OS). They are implemented as the
+ ::hwloc_bitmap_t opaque structure. hwloc CPU sets are just masks, they
+ do \em not have any relation with an operating system actual binding notion like
+ Linux' cpusets.</dd>
+
+<dt>Node set</dt>
+ <dd>The set of NUMA memory nodes logically included in an object
+ (if it makes sense). They are always expressed using physical node
+ numbers (as announced by the OS). They are implemented with the
+ ::hwloc_bitmap_t opaque structure.
+ as bitmaps.</dd>
+
+<dt>Bitmap</dt>
+ <dd>A possibly-infinite set of bits used for describing sets of objects
+ such as CPUs (CPU sets) or memory nodes (Node sets). They are implemented
+ with the ::hwloc_bitmap_t opaque structure.
+</dd>
+
+</dl>
+
+
+\htmlonly
+</div><div class="section" id="termsanddefs_tree">
+\endhtmlonly
+\section termsanddefs_tree Hierarchy, Tree and Levels
+
+<dl>
+
+<dt>Parent object</dt>
+ <dd>The object logically containing the current object, for example
+ because its CPU set includes the CPU set of the current object.</dd>
+
+<dt>Ancestor object</dt>
+ <dd>The parent object, or its own parent object, and so on.</dd>
+
+<dt>Children object(s)</dt>
+ <dd>The object (or objects) contained in the current object because
+ their CPU set is included in the CPU set of the current object.</dd>
+
+<dt>Arity</dt>
+ <dd>The number of children of an object.</dd>
+
+<dt>Sibling objects</dt>
+ <dd>Objects which have the same parent. They usually have the same type
+ (and hence are cousins, as well), but they may not if the topology
+ is asymmetric.</dd>
+
+<dt>Sibling rank</dt>
+ <dd>Index to uniquely identify objects which have
+ the same parent, and is always in the range [0, parent_arity).</dd>
+
+<dt>Cousin objects</dt>
+ <dd>Objects of the same type (and depth) as the current object,
+ even if they do not have the same parent.</dd>
+
+<dt>Level</dt>
+ <dd>Set of objects of the same type and depth. All these objects
+ are cousins.</dd>
+
+<dt>Depth</dt>
+ <dd>Nesting level in the object tree, starting from the root object.
+ If the topology is symmetric, the depth of a child is equal to the
+ parent depth plus one, and an object depth is also equal to the number
+ of parent/child links between the root object and the given object.
+ If the topology is asymmetric, the difference between some parent
+ and child depths may be larger than one when some intermediate levels
+ (for instance groups) are missing in only some parts of the machine.
+ </dd>
+
+</dl>
+
+The following diagram can help to understand the vocabulary of the relationships
+by showing the example of a machine with two dual core packages (with no
+hardware threads); thus, a topology with 5 levels. Each box with rounded corner
+corresponds to one ::hwloc_obj_t, containing the values of the different integer
+fields (depth, logical_index, etc.), and arrows show to which other ::hwloc_obj_t
+pointers point to (first_child, parent, etc.). The L2 cache of the last core is intentionally missing to show how asymmetric topologies are handled.
+See \ref faq_asymmetric for more information about such strange topologies.
+
+\image html diagram.png
+\image latex diagram.eps "" width=\textwidth
+
+It should be noted that for PU objects, the logical index -- as
+computed linearly by hwloc -- is not the same as the OS index.
+
+
+\page tools Command-Line Tools
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+hwloc comes with an extensive C programming interface and several
+command line utilities. Each of them is fully documented in its own
+manual page; the following is a summary of the available command line
+tools.
+
+
+\htmlonly
+</div><div class="section" id="cli_lstopo">
+\endhtmlonly
+\section cli_lstopo lstopo and lstopo-no-graphics
+
+lstopo (also known as hwloc-ls) displays the
+hierarchical topology map of the current system. The output may be
+graphical, ascii-art or textual, and can also be exported to numerous file
+formats such as PDF, PNG, XML, and others.
+Advanced graphical outputs require the "Cairo" development package
+(usually <tt>cairo-devel</tt> or <tt>libcairo2-dev</tt>).
+
+lstopo and lstopo-no-graphics accept the same command-line options.
+However graphical outputs are only available in lstopo.
+Textual outputs (those that do not depend on heavy external libraries
+such as Cairo) are supported in both lstopo and lstopo-no-graphics.
+
+This command can also display the processes currently bound to a part
+of the machine (via the <tt>\--ps</tt> option).
+
+Note that lstopo can read XML files and/or alternate chroot
+filesystems and display topological maps representing those systems
+(e.g., use lstopo to output an XML file on one system, and then use
+lstopo to read in that XML file and display it on a different system).
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_bind">
+\endhtmlonly
+\section cli_hwloc_bind hwloc-bind
+
+hwloc-bind binds processes to specific hardware objects through a
+flexible syntax. A simple example is binding an executable to
+specific cores (or packages or bitmaps or ...). The hwloc-bind(1) man
+page provides much more detail on what is possible.
+
+hwloc-bind can also be used to retrieve the current process' binding,
+or retrieve the last CPU(s) where a process ran,
+or operate on memory binding.
+
+Just like hwloc-calc, the input locations given to hwloc-bind may be
+either objects or cpusets (bitmaps as reported by hwloc-calc or hwloc-distrib).
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_calc">
+\endhtmlonly
+\section cli_hwloc_calc hwloc-calc
+
+hwloc-calc is hwloc's Swiss Army Knife command-line tool for converting things.
+The input may be either objects or cpusets (bitmaps as reported by another hwloc-calc instance or by hwloc-distrib),
+that may be combined by addition, intersection or subtraction.
+The output kinds include:
+<ul>
+<li>a cpuset bitmap: This compact opaque representation of objects is useful for shell scripts etc.
+It may passed to hwloc command-line tools such as hwloc-calc or hwloc-bind,
+or to hwloc command-line options such as <tt>lstopo \--restrict</tt>.</li>
+<li>the amount of the equivalent hwloc objects from a specific type, or the list of their indexes.
+This is useful for iterating over all similar objects (for instance all cores) within a given
+part of a platform.</li>
+<li>a hierarchical description of objects,
+for instance a thread index within a core within a package.
+This gives a better view of the actual location of an object.</li>
+</ul>
+
+Moreover, input and/or output may be use either physical/OS object
+indexes or as hwloc's logical object indexes.
+It eases cooperation with external tools such as taskset or numactl
+by exporting hwloc specifications into list of processor or NUMA node
+physical indexes.
+See also \ref faq_indexes.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_info">
+\endhtmlonly
+\section cli_hwloc_info hwloc-info
+
+hwloc-info dumps information about the given objects, as well as all its specific attributes.
+It is intended to be used with tools such as grep for filtering
+certain attribute lines.
+When no object is specified, or when <tt>\--topology</tt> is passed,
+hwloc-info prints a summary of the topology.
+When <tt>\--support</tt> is passed, hwloc-info lists the supported
+features for the topology.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_distrib">
+\endhtmlonly
+\section cli_hwloc_distrib hwloc-distrib
+
+hwloc-distrib generates a set of cpuset bitmaps that are uniformly
+distributed across the machine for the given number of processes.
+These strings may be used with hwloc-bind to run processes to maximize
+their memory bandwidth by properly distributing them across the
+machine.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_ps">
+\endhtmlonly
+\section cli_hwloc_ps hwloc-ps
+
+hwloc-ps is a tool to display the bindings of processes that are
+currently running on the local machine. By default, hwloc-ps only
+lists processes that are bound; unbound process (and Linux kernel
+threads) are not displayed.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_distances">
+\endhtmlonly
+\section cli_hwloc_distances hwloc-distances
+
+hwloc-distances displays all distance matrices attached to
+the topology. Note that lstopo may also display distance
+matrices in its verbose textual output. However lstopo only
+prints matrices that cover the entire topology while
+hwloc-distances also displays matrices that ignore part
+of the topology.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_annotate">
+\endhtmlonly
+\section cli_hwloc_annotate hwloc-annotate
+
+hwloc-annotate may modify object attributes such as string information
+(see \ref attributes_info for details) or Misc children objects.
+It reads an input topology from a XML file and outputs
+the annotated topology as another XML file.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_diffpatchcompress">
+\endhtmlonly
+\section cli_hwloc_diffpatchcompress hwloc-diff, hwloc-patch and hwloc-compress-dir
+
+hwloc-diff computes the difference between two topologies
+and outputs it to another XML file.
+
+hwloc-patch reads such a difference file and applies to
+another topology.
+
+hwloc-compress-dir compresses an entire directory of XML
+files by using hwloc-diff to save the differences between
+topologies instead of entire topologies.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_assembler">
+\endhtmlonly
+\section cli_hwloc_assembler hwloc-assembler
+
+hwloc-assembler combines several XML topology files into a single
+multi-node XML topology.
+It may then be used later as input with hwloc_topology_set_xml()
+or with the HWLOC_XMLFILE environment variable.
+See \ref multinode for details.
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_assembler_remote">
+\endhtmlonly
+\section cli_hwloc_assembler_remote hwloc-assembler-remote
+
+hwloc-assembler-remote is a frontend to hwloc-assembler.
+It takes care of contacting the given list of remote hosts
+(through ssh) and retrieving their topologies as XML before
+assembling them with hwloc-assembler.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_dump_hwdata">
+\endhtmlonly
+\section cli_hwloc_dump_hwdata hwloc-dump-hwdata
+
+hwloc-dump-hwdata is a Linux and x86-specific tool that dumps
+(during boot, privileged) some topology and locality information
+from raw hardware files (SMBIOS and ACPI tables) to human-readable
+and world-accessible files that the hwloc library will later reuse.
+
+Currently only used on Intel Xeon Phi processor platforms.
+See \ref faq_knl_dump.
+
+See <tt>HWLOC_DUMPED_HWDATA_DIR</tt> in \ref envvar for details
+about the location of dumped files.
+
+
+\htmlonly
+</div><div class="section" id="cli_hwloc_gather">
+\endhtmlonly
+\section cli_hwloc_gather hwloc-gather-topology
+
+hwloc-gather-topology is a Linux-specific tool that saves the
+relevant topology files of the current machine into a tarball
+(and the corresponding lstopo outputs).
+
+These files may be used later (possibly offline) for simulating
+or debugging a machine without actually running on it.
+
+
+
+
+\page envvar Environment Variables
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+The behavior of the hwloc library and tools may be tuned thanks to the
+following environment variables.
+
+<dl>
+
+<dt>HWLOC_XMLFILE=/path/to/file.xml</dt>
+ <dd>enforces the discovery from the given XML file as if
+ hwloc_topology_set_xml() had been called.
+ This file may have been generated earlier with lstopo file.xml.
+ For convenience, this backend provides empty binding hooks which just
+ return success. To have hwloc still actually call OS-specific hooks,
+ HWLOC_THISSYSTEM should be set 1 in the environment too, to assert that
+ the loaded file is really the underlying system.
+ See also \ref xml.
+ </dd>
+
+<dt>HWLOC_XML_VERBOSE=1</dt>
+<dt>HWLOC_SYNTHETIC_VERBOSE=1</dt>
+ <dd>enables verbose messages in the XML or synthetic topology backends.
+ hwloc XML backends (see \ref xml) can emit some error messages to
+ the error output stream.
+ Enabling these verbose messages within hwloc can be useful for
+ understanding failures to parse input XML topologies.
+ Similarly, enabling verbose messages in the synthetic topology
+ backend can help understand why the description string is invalid.
+ See also \ref synthetic.
+ </dd>
+
+<dt>HWLOC_FSROOT=/path/to/linux/filesystem-root/</dt>
+ <dd>switches to reading the topology from the specified
+ Linux filesystem root instead of the main file-system root, as if
+ hwloc_topology_set_fsroot() had been called.
+ Not using the main file-system root causes hwloc_topology_is_thissystem()
+ to return 0.
+ For convenience, this backend provides empty binding hooks which just
+ return success. To have hwloc still actually call OS-specific hooks,
+ HWLOC_THISSYSTEM should be set 1 in the environment too, to assert that
+ the loaded file is really the underlying system.
+ </dd>
+
+<dt>HWLOC_THISSYSTEM=1</dt>
+ <dd>enforces the return value of hwloc_topology_is_thissystem(), as if
+ ::HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM was set with hwloc_topology_set_flags().
+ It means that it makes hwloc assume that the selected backend provides the
+ topology for the system on which we are running, even if it is not the
+ OS-specific backend but the XML backend for instance.
+ This means making the binding functions actually call the OS-specific
+ system calls and really do binding, while the XML backend would otherwise
+ provide empty hooks just returning success.
+ This can be used for efficiency reasons to first detect the topology once,
+ save it to an XML file, and quickly reload it later through the XML
+ backend, but still having binding functions actually do bind.
+ This also enables support for the variable HWLOC_THISSYSTEM_ALLOWED_RESOURCES.
+ </dd>
+
+<dt>HWLOC_THISSYSTEM_ALLOWED_RESOURCES=1</dt>
+ <dd>Get the set of allowed resources from the native operating system
+ even if the topology was loaded from XML or synthetic description,
+ as if ::HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES was set
+ with hwloc_topology_set_flags().
+ This variable requires the topology to match the current system
+ (see the variable HWLOC_THISSYSTEM).
+ This is useful when the topology is not loaded directly from the
+ local machine (e.g. for performance reason) and it comes with all
+ resources, but the running process is restricted to only a part
+ of the machine (for instance because of Linux Cgroup/Cpuset).
+ </dd>
+
+<dt>HWLOC_HIDE_ERRORS=0</dt>
+ <dd>enables or disables verbose reporting of errors.
+ The hwloc library may issue warnings to the standard error stream
+ when it detects a problem during topology discovery, for instance
+ if the operating system (or user) gives contradictory topology
+ information. Setting this environment variable to 1 removes the
+ actual displaying of these error messages.
+ </dd>
+
+<dt>HWLOC_DONT_MERGE_DIE_GROUPS=0</dt>
+ <dd>always keep Group objects that describe CPU Dies.
+ CPU Dies are represented as generic Group objects.
+ By default, Groups are merged with identical children or parent
+ unless they bring some additional structure.
+ Setting this environment variable to 1 ensures these Die Groups
+ will never be merged.
+ </dd>
+
+<dt>HWLOC_GROUPING=1</dt>
+ <dd>enables or disables objects grouping based on distances.
+ By default, hwloc uses distance matrices between objects (either read
+ from the OS or given by the user) to find groups of close objects.
+ These groups are described by adding intermediate Group objects in the topology.
+ Setting this environment variable to 0 will disable this grouping.
+ This variable supersedes the obsolete HWLOC_IGNORE_DISTANCES variable.
+ </dd>
+
+<dt>HWLOC_GROUPING_ACCURACY=0.05</dt>
+ <dd>relaxes distance comparison during grouping.
+ By default, objects may be grouped if their distances form a minimal
+ distance graph. When setting this variable to 0.02, these distances
+ do not have to be strictly equal anymore, they may just be equal
+ with a 2% error.
+ If set to <tt>try</tt> instead of a numerical value, hwloc will try
+ to group with perfect accuracy (0, the default), then with 0.01, 0.02,
+ 0.05 and finally 0.1.
+ Numbers given in this environment variable should always use a dot
+ as a decimal mark (for instance 0.01 instead of 0,01).</dd>
+
+<dt>HWLOC_GROUPING_VERBOSE=0</dt>
+ <dd>enables or disables some verbose messages during grouping.
+ If this variable is set to 1, some debug messages will be displayed
+ during distance-based grouping of objects even if debug was not specific
+ at configure time.
+ This is useful when trying to find an interesting distance grouping
+ accuracy.</dd>
+
+<dt>HWLOC_<type>_DISTANCES=index,...:X*Y</dt>
+<dt>HWLOC_<type>_DISTANCES=begin-end:X*Y*Z</dt>
+<dt>HWLOC_<type>_DISTANCES=index,...:distance,...</dt>
+ <dd>sets a distance matrix for objects of the given type and physical indexes.
+ The type should be given as its case-sensitive stringified value
+ (e.g. <tt>NUMANode</tt>, <tt>Package</tt>, <tt>Cache</tt>, <tt>Core</tt>, <tt>PU</tt>).
+ If another distance matrix already exists for the given type,
+ either because the user specified it or because the OS offers it,
+ it will be replaced by the given one.
+
+ If the variable value is <tt>none</tt>, the existing distance matrix for
+ the given type is removed.
+ Otherwise, the variable value first consists in a list of physical indexes
+ that may be specified as a comma-separated list (e.g. <tt>0,2,4,1,3,5</tt>)
+ or as a range of consecutive indexes (<tt>0-5</tt>).
+ It is followed by a colon and the corresponding distances:
+ <ul>
+ <li>If <tt>X*Y</tt> is given, X groups of Y close objects are specified.</li>
+ <li>If <tt>X*Y*Z</tt> is given, X groups of Y groups of Z close objects are specified.</li>
+ <li>Otherwise, the comma-separated list of distances should be given.
+ If N objects are considered, the i*N+j-th value gives the
+ distance from the i-th object to the j-th object.
+ These distance values must use a dot as a decimal separator.</li>
+ </ul>
+
+ Note that distances are ignored in multi-node topologies.
+ </dd>
+
+<dt>HWLOC_PCI_<domain>_<bus>_LOCALCPUS=<cpuset></dt>
+ <dd>changes the locality of I/O devices behind the specified PCI hostbridge.
+ If no I/O locality information is available or if the BIOS reports
+ incorrect information, it is possible to move a I/O device tree (the
+ entire set of objects behind a host bridge) near a custom set of
+ processors.
+ <tt>domain</tt> and <tt>bus</tt> are the PCI domain and primary bus
+ of the corresponding host bridge.
+ </dd>
+
+<dt>HWLOC_PLUGINS_PATH=/path/to/hwloc/plugins/:...</dt>
+ <dd>changes the default search directory for plugins.
+ By default, <tt>$libdir/hwloc</tt> is used.
+ The variable may contain several colon-separated directories.
+ </dd>
+
+<dt>HWLOC_PLUGINS_VERBOSE=1</dt>
+ <dd>displays verbose information about plugins.
+ List which directories are scanned, which files are loaded,
+ and which components are successfully loaded.
+ </dd>
+
+<dt>HWLOC_PLUGINS_BLACKLIST=filename1,filename2,...</dt>
+ <dd>prevents plugins from being loaded if their filename
+ (without path) is listed.
+ Plugin filenames may be found in verbose messages outputted
+ when HWLOC_PLUGINS_VERBOSE=1.
+ </dd>
+
+<dt>HWLOC_DUMPED_HWDATA_DIR=/path/to/dumped/files/</dt>
+ <dd>loads files dumped by <tt>hwloc-dump-hwdata</tt> (on Linux)
+ from the given directory.
+ The default dump/load directory is configured during build based
+ on \--runstatedir, \--localstatedir, and \--prefix options.
+ It usually points to <tt>/var/run/hwloc/</tt> in Linux distribution
+ packages, but it may also point to <tt>$prefix/var/run/hwloc/</tt>
+ when manually installing and only specifying \--prefix.
+ </dd>
+
+<dt>HWLOC_COMPONENTS=list,of,components</dt>
+ <dd>forces a list of components to enable or disable.
+ Enable or disable the given comma-separated list of components
+ (if they do not conflict with each other). Component names prefixed with
+ <tt>-</tt> are disabled.
+ Once the end of the list is reached, hwloc falls back to
+ enabling the remaining components (sorted by priority) that do not
+ conflict with the already enabled ones, and unless explicitly disabled in the
+ list.
+ If <tt>stop</tt> is met, the enabling loop immediately stops, no
+ more component is enabled.
+ If the variable is set to an empty string, no specific component is
+ loaded first, all components are loaded in priority order,
+ this is strictly identical to not specifying any variable.
+ The <tt>xml</tt> component name may be followed by a XML file to
+ load (<tt>xml=file.xml</tt>).
+ The synthetic component may be followed by a basic synthetic topology
+ description (<tt>synthetic=node:2 pu:3</tt>, see \ref synthetic).
+ This variable does not take precedence over the application
+ selecting components with functions such as
+ hwloc_topology_set_xml().
+ See \ref plugins for details.
+ </dd>
+
+<dt>HWLOC_COMPONENTS_VERBOSE=1</dt>
+ <dd>displays verbose information about components.
+ Display messages when components are registered or enabled.
+ This is the recommended way to list the available components
+ with their priority
+ (all of them are <em>registered</em> at startup).
+ </dd>
+
+<dt>HWLOC_DEBUG_VERBOSE=0</dt>
+ <dd>disables all verbose messages that are enabled by default
+ when <tt>--enable-debug</tt> is passed to configure.
+ </dd>
+
+</dl>
+
+<!-- not documented:
+ HWLOC_FORCE_FSROOT/XMLFILE
+ force backend anyway (while variables without FORCE in their name do not
+ force the backend if the default was already changed)
+ HWLOC_LINUX_USE_CPUINFO
+ uses /proc/cpuinfo instead of sysfs.
+ may be useful in the doc for debugging?
+ HWLOC_KNL_NUMA_QUIRK
+ disables the KNL NUMA Cluster quirk in the linux backend
+ HWLOC_KNL_HDH_FALLBACK
+ if 1, ignore KNL info from hwloc-dump-hwdata and fallback to heuristic
+ if 0, never fallback to the hardwired heuristic, useful if the heuristic is wrong
+ HWLOC_DEBUG_CHECK
+ runs sanity checks during discovery, as if \--enable-debug was passed but
+ without debug messages
+ may be useful in the doc for debugging?
+ HWLOC_HIDE_DEPRECATED
+ hides some warnings about deprecated features.
+ listed in those warnings so no need to document it
+ HWLOC_TEST_GATHER_TOPOLOGY=0
+ disable the hwloc-gather-topology test when too long on large servers
+ HWLOC_FORCE_BGQ
+ makes the bgq component run even if it doesn't recognize the running platform as a BGQ/CNK
+ HWLOC_PICL_HETEROGENEOUS
+ don't apply PICL info from a single CPU to all CPUs since the machine isn't homogeneous
+ HWLOC_DEBUG_FAKE_COMPONENT
+ enables debugging message to check that the fake component gets loaded
+ HWLOC_DEBUG_PAGESIZE
+ forces the page size in the Linux code for debugging in topology chroots
+ HWLOC_LIBXML=0
+ HWLOC_LIBXML_EXPORT=0
+ HWLOC_LIBXML_IMPORT=0
+ forces the use of the nolibxml XML backend instead of libxml2 if available,
+ for both import and export, or only one
+ HWLOC_XML_USERDATA_NOT_DECODED
+ do not decode base64 userdata on import,
+ and reexport it the same (used by tools for leaving userdata untouched)
+-->
+
+
+
+
+\page cpu_mem_bind CPU and Memory Binding Overview
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+Some operating systems do not systematically provide separate
+functions for CPU and memory binding. This means that CPU binding
+functions may have have effects on the memory binding policy.
+Likewise, changing the memory binding policy may change the CPU
+binding of the current thread. This is often not a problem for
+applications, so by default hwloc will make use of these functions
+when they provide better binding support.
+
+If the application does not want the CPU binding to change when
+changing the memory policy, it needs to use the
+::HWLOC_MEMBIND_NOCPUBIND flag to prevent hwloc from using OS functions
+which would change the CPU binding. Additionally,
+::HWLOC_CPUBIND_NOMEMBIND can be passed to CPU binding function to
+prevent hwloc from using OS functions would change the memory binding
+policy. Of course, using these flags will reduce hwloc's overall support for
+binding, so their use is discouraged.
+
+One can avoid using these flags but still closely control both memory
+and CPU binding by allocating memory, touching each page in the
+allocated memory, and then changing the CPU binding. The
+already-really-allocated memory will then be "locked" to physical
+memory and will not be migrated. Thus, even if the memory binding
+policy gets changed by the CPU binding order, the already-allocated
+memory will not change with it. When binding and allocating further
+memory, the CPU binding should be performed again in case the memory
+binding altered the previously-selected CPU binding.
+
+Not all operating systems support the notion of a "current" memory
+binding policy for the current process, but such operating systems often still
+provide a way to allocate data on a given node set. Conversely, some
+operating systems support the notion of a "current" memory binding policy and do
+not permit allocating data on a specific node set without changing the
+current policy and allocate the data. To provide the most powerful coverage of
+these facilities, hwloc provides:
+
+<ul>
+<li>functions that set/get the current memory binding policies (if supported):
+hwloc_set/get_membind_*() and hwloc_set/get_proc_membind()
+<li>functions that allocate memory bound to specific node set without changing
+the current memory binding policy (if supported): hwloc_alloc_membind() and
+hwloc_alloc_membind_nodeset().
+<li>helpers which, if needed, change the current memory binding policy of the
+process in order to obtain memory binding: hwloc_alloc_membind_policy() and
+hwloc_alloc_membind_policy_nodeset()
+</ul>
+
+An application can thus use the two first sets of functions if it wants to
+manage separately the global process binding policy and directed allocation,
+or use the third set of functions if it does not care about the process memory
+binding policy.
+
+See \ref hwlocality_cpubinding and \ref hwlocality_membinding for
+hwloc's API functions regarding CPU and memory binding, respectively.
+There are some examples under doc/examples/ in the source tree.
+
+
+
+\page iodevices I/O Devices
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+hwloc usually manipulates processing units and memory but it can also
+discover I/O devices and report their locality as well.
+This is useful for placing I/O intensive applications on cores near the
+I/O devices they use, or for gathering information about all platform
+components.
+
+
+\htmlonly
+</div><div class="section" id="iodevices_enabling">
+\endhtmlonly
+\section iodevices_enabling Enabling and requirements
+
+I/O discovery is disabled by default (except in lstopo) so as not to
+break legacy application by adding unexpected I/O objects to the topology.
+It can be enabled by passing flags such as <tt>::HWLOC_TOPOLOGY_FLAG_IO_DEVICES</tt>
+to hwloc_topology_set_flags() before loading the topology.
+
+Note that I/O discovery requires significant help from the operating system.
+The pciaccess library (the development package is usually <tt>libpciaccess-devel</tt>
+or <tt>libpciaccess-dev</tt>) is needed to fully detect PCI devices and bridges.
+On Linux, PCI discovery may still be performed even if <tt>libpciaccess</tt> cannot
+be used. But it misses PCI device names.
+Moreover, some operating systems require privileges for probing PCI devices,
+see \ref faq_privileged for details.
+
+The actual locality of I/O devices is only currently detected on Linux.
+Other operating system will just report I/O devices as being attached
+to the topology root object.
+
+
+\htmlonly
+</div><div class="section" id="iodevices_objects">
+\endhtmlonly
+\section iodevices_objects I/O objects
+
+When I/O discovery is enabled and supported, some additional objects
+are added to the topology.
+The corresponding I/O object types are:
+<ul><li>
+<tt>::HWLOC_OBJ_OS_DEVICE</tt> describes an operating-system-specific
+handle such as the <em>sda</em> drive or the <em>eth0</em> network interface.
+See \ref iodevices_osdev.
+</li><li>
+<tt>::HWLOC_OBJ_PCI_DEVICE</tt> and <tt>::HWLOC_OBJ_BRIDGE</tt> build up
+a PCI hierarchy made of devices and bridges.
+See \ref iodevices_pci.
+</li><li>
+<tt>::HWLOC_OBJ_MISC</tt> describes miscellaneous devices such as
+memory modules (DIMMs).
+These are neither PCI nor OS handles, therefore they appear as Misc objects.
+See \ref miscobjs_auto.
+</li></ul>
+
+hwloc tries to attach these new objects to normal objects
+(usually NUMA nodes) to match their actual physical location.
+For instance, if a I/O Hub is physically connected to a package,
+the corresponding hwloc bridge object (and its PCI bridges and devices children)
+is inserted as a child of the corresponding hwloc Package object.
+
+I/O objects also have neither CPU sets nor node sets (NULL pointers) because
+they are not directly usable by the user applications for binding.
+Moreover I/O hierarchies may be highly complex (asymmetric trees of bridges).
+So I/O objects are placed in specific levels with custom depths.
+Their lists may still be traversed with regular helpers such as
+hwloc_get_next_obj_by_type().
+However, hwloc offers some dedicated helpers such as hwloc_get_next_pcidev()
+and hwloc_get_next_osdev() for convenience (see \ref hwlocality_advanced_io).
+
+
+\htmlonly
+</div><div class="section" id="iodevices_osdev">
+\endhtmlonly
+\section iodevices_osdev OS devices
+
+Although each PCI device is uniquely identified by its bus ID
+(e.g. 0000:01:02.3), a user-space application can hardly find out which
+PCI device it is actually using.
+Applications rather use software handles
+(such as the <em>eth0</em> network interface,
+ the <em>sda</em> hard drive,
+ or the <em>mlx4_0</em> OpenFabrics HCA).
+Therefore hwloc tries to add software devices
+(<tt>::HWLOC_OBJ_OS_DEVICE</tt>, also known as OS devices)
+below their PCI objects.
+
+hwloc first tries to discover OS devices from the operating system,
+e.g. <em>eth0</em>, <em>sda</em> or <em>mlx4_0</em>.
+However, this ability is currently only available on Linux for some
+classes of devices.
+
+hwloc then tries to discover software devices through additional
+I/O components using external libraries.
+For instance proprietary graphics drivers do not expose any named OS device,
+but hwloc may still create one OS object per software handle when
+supported.
+For instance the <tt>opencl</tt> and <tt>cuda</tt> components may
+add some <em>opencl0d0</em> and <em>cuda0</em> OS device objects.
+
+Here is a list of OS device objects commonly created by hwloc
+components when I/O discovery is enabled and supported.
+
+<ul>
+<li>Hard disks (::HWLOC_OBJ_OSDEV_BLOCK)
+ <ul>
+ <li><em>sda</em> (Linux component)</li>
+ </ul>
+</li>
+<li>Network interfaces (::HWLOC_OBJ_OSDEV_NETWORK)
+ <ul>
+ <li><em>eth0</em>, <em>wlan0</em>, <em>ib0</em> (Linux component)</li>
+ </ul>
+</li>
+<li>OpenFabrics (InfiniBand, Omni-Path, usNIC, etc) HCAs (::HWLOC_OBJ_OSDEV_OPENFABRICS)
+ <ul>
+ <li><em>mlx5_0</em>, <em>hfi1_0</em>, <em>qib0</em>, <em>usnic_0</em> (Linux component)</li>
+ </ul>
+</li>
+<li>GPUs (::HWLOC_OBJ_OSDEV_GPU)
+ <ul>
+ <li><em>nvml0</em> for the first NVML device
+ (NVML component, using the NVIDIA Management Library)</li>
+ <li><em>:0.0</em> for the first display
+ (GL component, using the NV-CONTROL X extension library, NVCtrl)</li>
+ </ul>
+</li>
+<li>Co-Processors (::HWLOC_OBJ_OSDEV_COPROC)
+ <ul>
+ <li><em>opencl0d0</em> for the first device of the first OpenCL platform,
+ <em>opencl1d3</em> for the fourth device of the second OpenCL platform
+ (OpenCL component)</li>
+ <li><em>cuda0</em> for the first NVIDIA CUDA device
+ (CUDA component, using the NVIDIA CUDA Library)</li>
+ <li><em>mic0</em> for the first Intel Xeon Phi (MIC) coprocessor
+ (Linux component)</li>
+ </ul>
+</li>
+<li>DMA engine channel (::HWLOC_OBJ_OSDEV_DMA)
+ <ul>
+ <li><em>dma0chan0</em> (Linux component) when full I/O discovery is enabled (::HWLOC_TOPOLOGY_FLAG_WHOLE_IO)</li>
+ </ul>
+</li>
+</ul>
+
+When none of the above strategies is supported and enabled,
+hwloc cannot place any OS object inside PCI objects.
+Note that some PCI devices may contain multiple software devices
+(see the example below).
+
+See also \ref interoperability for managing these devices without
+considering them as hwloc objects.
+
+\htmlonly
+</div><div class="section" id="iodevices_pci">
+\endhtmlonly
+\section iodevices_pci PCI devices and bridges
+
+A PCI hierarchy is usually organized as follows:
+A hostbridge object ( <tt>::HWLOC_OBJ_BRIDGE</tt> object with upstream
+type <em>Host</em> and downstream type <em>PCI</em>) is attached below
+a normal object (usually the entire machine or a NUMA node).
+There may be multiple hostbridges in the machine, attached to
+different places, but all PCI devices are below one of them.
+
+Each hostbridge contains one or several children, either other bridges
+(usually PCI to PCI) or PCI devices (<tt>::HWLOC_OBJ_PCI_DEVICE</tt>).
+The number of bridges between the hostbridge and a PCI device depends
+on the machine and on the topology flags.
+
+\htmlonly
+</div><div class="section" id="iodevices_consult">
+\endhtmlonly
+\section iodevices_consult Consulting I/O devices and binding
+
+I/O devices may be consulted by traversing the topology manually
+(with usual routines such as hwloc_get_obj_by_type()) or by using
+dedicated helpers (such as hwloc_get_pcidev_by_busid(), see
+\ref hwlocality_advanced_io).
+
+I/O objects do not actually contain any locality information because
+their CPU sets and node sets are NULL.
+Their locality must be retrieved by walking up the object tree
+(through the <tt>parent</tt> link) until an non-I/O object is found
+(see hwloc_get_non_io_ancestor_obj()).
+This regular object should have non-NULL CPU sets and node sets
+which describe the processing units and memory that are immediately
+close to the I/O device.
+For instance the path from a OS device to its locality may go
+across a PCI device parent, one or several bridges, up to
+a NUMA node with the same locality.
+
+Command-line tools are also aware of I/O devices.
+lstopo displays the interesting ones by default
+(passing <tt>\--no-io</tt> disables it).
+
+hwloc-calc and hwloc-bind may manipulate I/O devices specified
+by PCI bus ID or by OS device name.
+<ul>
+<li>
+ <tt>pci=0000:02:03.0</tt> is replaced by the set
+ of CPUs that are close to the PCI device whose bus ID is given.
+</li>
+<li>
+ <tt>os=eth0</tt> is replaced by CPUs that are close to the I/O
+ device whose software handle is called <tt>eth0</tt>.
+</li>
+</ul>
+This enables easy binding of I/O-intensive applications near the
+device they use.
+
+
+\htmlonly
+</div><div class="section" id="iodevices_examples">
+\endhtmlonly
+\section iodevices_examples Examples
+
+The following picture shows a dual-package dual-core host whose
+PCI bus is connected to the first package and NUMA node.
+
+\image html devel09-pci.png
+\image latex devel09-pci.png "" width=\textwidth
+
+Six interesting PCI devices were discovered.
+However hwloc found some corresponding software devices
+(<em>eth0</em>, <em>eth1</em>, <em>sda</em>, <em>mlx4_0</em>,
+<em>ib0</em>, and <em>ib1</em>) for only four of these physical
+devices.
+The other ones (<em>PCI 102b:0532</em> and <em>PCI 8086:3a20</em>)
+are an unused IDE controller (no disk attached)
+and a graphic card (no corresponding software device reported
+to the user by the operating system).
+
+On the contrary, it should be noted that three different software
+devices were found for the last PCI device (<em>PCI 15b3:634a</em>).
+Indeed this OpenFabrics HCA PCI device object contains one
+one OpenFabrics software device (<em>mlx4_0</em>) and two virtual
+network interface software devices (<em>ib0</em> and <em>ib1</em>).
+
+
+Here is the corresponding textual output:
+
+\verbatim
+Machine (24GB total)
+ NUMANode L#0 (P#0 12GB)
+ Package L#0 + L3 L#0 (8192KB)
+ L2 L#0 (256KB) + L1 L#0 (32KB) + Core L#0 + PU L#0 (P#0)
+ L2 L#1 (256KB) + L1 L#1 (32KB) + Core L#1 + PU L#1 (P#2)
+ HostBridge L#0
+ PCIBridge
+ PCI 14e4:163b
+ Net L#0 "eth0"
+ PCI 14e4:163b
+ Net L#1 "eth1"
+ PCIBridge
+ PCI 1000:0060
+ Block L#2 "sda"
+ PCIBridge
+ PCI 102b:0532
+ PCI 8086:3a20
+ PCI 15b3:634a
+ Net L#3 "ib0"
+ Net L#4 "ib1"
+ Net L#5 "mlx4_0"
+ NUMANode L#1 (P#1 12GB) + Package L#1 + L3 L#1 (8192KB)
+ L2 L#2 (256KB) + L1 L#2 (32KB) + Core L#2 + PU L#2 (P#1)
+ L2 L#3 (256KB) + L1 L#3 (32KB) + Core L#3 + PU L#3 (P#3)
+\endverbatim
+
+
+
+
+\page miscobjs Miscellaneous objects
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+hwloc topologies may be annotated with Misc objects
+(of type <tt>::HWLOC_OBJ_MISC</tt>)
+either automatically or by the user.
+This is an flexible way to annotate topologies with
+large sets of information since Misc objects may be inserted
+anywhere in the topology (to annotate specific objects or
+parts of the topology), even below other Misc objects, and each
+of them may contain multiple attributes (see also \ref faq_annotate).
+
+These Misc objects may have a <tt>Type</tt> info attribute
+to replace <tt>Misc</tt> with something else in the lstopo
+output.
+
+
+\htmlonly
+</div><div class="section" id="miscobjs_auto">
+\endhtmlonly
+\section miscobjs_auto Misc objects added by hwloc
+
+hwloc only uses Misc objects when other object types are not sufficient.
+This currently includes:
+<ul>
+<li>
+Memory modules (DIMMs), on Linux when privileged and when
+<tt>dmi-sysfs</tt> is supported by the kernel,
+and when I/O discovery is enabled.
+These objects have a <tt>Type</tt> info attribute of value <tt>MemoryModule</tt>.
+They are currently always attached to the root object.
+Their attributes describe the DIMM vendor, model, etc.
+<tt>lstopo -v</tt> displays them as:
+\code
+Misc(MemoryModule) (P#1 Type=MemoryModule DeviceLocation="Bottom-Slot 2(right)" BankLocation="BANK 2" Vendor=Elpida SerialNumber=21733667 AssetTag=9876543210 PartNumber="EBJ81UG8EFU0-GN-F ")
+\endcode
+</li>
+<li>
+Displaying process binding in <tt>lstopo \--top</tt>.
+These objects have a <tt>Type</tt> info attribute of value <tt>Process</tt>
+and a name attribute made of their PID and program name.
+They are attached below the object they are bound to.
+The textual <tt>lstopo</tt> displays them as:
+\code
+ PU L#0 (P#0)
+ Misc(Process) 4445 myprogram
+\endcode
+</li>
+</ul>
+
+
+\htmlonly
+</div><div class="section" id="miscobjs_annotate">
+\endhtmlonly
+\section miscobjs_annotate Annotating topologies with Misc objects
+
+The user may annotate hwloc topologies with its own Misc objects.
+A Misc object may be inserted anywhere in the topology by specifying
+its CPU set (using <tt>hwloc_topology_insert_misc_object_by_cpuset()</tt>).
+Or it may be inserted as a leaf of the topology by specifying its parent
+(with <tt>hwloc_topology_insert_misc_object_by_parent()</tt>).
+
+
+
+
+\page multinode Multi-node Topologies
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+hwloc is usually used for consulting and manipulating single machine
+topologies. This includes large systems as long as a single instance of
+the operating system manages the entire system. However it is sometimes
+desirable to have multiple independent hosts inside the same topology,
+for instance when applying algorithms to an entire cluster topology.
+hwloc therefore offers the ability to agregate multiple host topologies
+into a single global one.
+
+\note
+<b>
+ The multinode interface has been removed from hwloc starting
+ with release 2.0.0.
+</b>
+
+
+\htmlonly
+</div><div class="section" id="multinode_cpusets">
+\endhtmlonly
+\section multinode_cpusets Multi-node Objects Specifities
+
+A multi-node topology contains several single-node topologies.
+Those are assembled by making their own root objects (usually
+Machine object) children of higher objects.
+These higher objects include at least the root of the global
+topology (usually a System object).
+Some intermediate objects may also exists, for instance to
+represent switches in a large fabric.
+
+There are actually three possible types of objects that have different
+properties with respect to cpusets, nodesets and binding.
+Indeed those cpusets and nodesets were designed for execution and memory
+binding within a single operating system. Binding on another system or
+across several different systems would be meaningless.
+
+<dl>
+<dt>Local objects</dt>
+<dd>
+ Any object that corresponds to the local machine may be manipulated
+ as usual.
+ Obviously, if the multi-node topology does not contain the local
+ machine topology, no such local object exists.
+</dd>
+<dt>Objects from other nodes</dt>
+<dd>
+ Any object that comes from inside another node is represented as
+ usual but its cpusets and nodesets should not be used for binding
+ since binding on another system makes no sense.
+</dd>
+<dt>Objects above single nodes</dt>
+<dd>
+ Any object above single-node topologies does not have any cpuset or
+ nodeset pointer because binding across multiple systems makes no sense.
+ This includes the glocal root object of a multi-node topology and possibly
+ some intermediate objects between this global root and the local root
+ of single-node topologies.
+</dd>
+</dl>
+
+It is important to keep this in mind before binding using multi-node
+topologies.
+To make sure binding on an object is possible, one should first check
+that its cpuset or nodeset pointer is not NULL.
+Then, one should check whether the object is indeed local.
+
+To find out which machine a given object corresponds to, one may look
+at the info attributes of the parent Machine object. The <tt>HostName</tt>
+info is usually available in Machine objects, it may be retrieved with the
+following code:
+\verbatim
+ hwloc_obj_t machine_obj;
+ obj = hwloc_get_ancestor_obj_by_type(topology, HWLOC_OBJ_MACHINE, obj);
+ if (machine_obj)
+ return hwloc_obj_get_info_by_name(machine_obj, "HostName");
+ else
+ return NULL;
+\endverbatim
+The hwloc assembler scripts (see below) also add <tt>AssemblerName</tt>
+and <tt>AssemblerIndex</tt> info attributes to the Machine objects to
+identify the corresponding host name and index during assembly.
+
+
+\htmlonly
+</div><div class="section" id="multinode_tools">
+\endhtmlonly
+\section multinode_tools Assembling topologies with command-line tools
+
+One way to manipulate multinode topologies is to retrieve
+other nodes' topologies as XML files and combine them as a
+global XML topology.
+It may then be loaded with hwloc_topology_set_xml() or with
+the HWLOC_XMLFILE environment variable.
+
+The hwloc-assembler and hwloc-assembler-remote utilities
+offer the ability to combine XML topologies or remote
+nodes' topologies (see \ref tools).
+
+
+\htmlonly
+</div><div class="section" id="multinode_interface">
+\endhtmlonly
+\section multinode_interface Assembling topologies with the programming interface
+
+The hwloc programming interface offers the ability to build multinode
+topologies using the <em>custom</em> interface.
+A new multinode topology has to be initialized with hwloc_topology_init()
+and then set to custom with hwloc_topology_set_custom().
+Topologies and objects mat then be assembled.
+Later, the custom topology is finalized as usual with hwloc_topology_load().
+
+A custom topology starts with a single root object of type System.
+It may be modified by inserting a new child object with
+hwloc_custom_insert_group_object_by_parent() or by duplicating
+another topology with hwloc_custom_insert_topology().
+Both of these operations require to specify the parent object
+in the custom topology where the insertion will take place.
+This parent may be either the root
+(returned by hwloc_get_root_obj())
+or an already-inserted object
+(returned by hwloc_custom_insert_group_object_by_parent()).
+
+Ideally, any existing object in the custom topology could be the parent.
+However, special care should be taken when traversing the topology
+to find such an object because most links between objects
+(children, siblings, cousins) are not setup until hwloc_topology_load()
+is invoked.
+
+
+\htmlonly
+</div><div class="section" id="multinode_example">
+\endhtmlonly
+\section multinode_example Example of assembly with the programming interface
+
+If the topologies of two hosts have been previously gathered in XML
+files <tt>host1.xml</tt> and <tt>host2.xml</tt>, the global topology
+may be assembled with the following code.
+
+\verbatim
+hwloc_topology_t host1, host2, global;
+
+/* initialize global topology */
+hwloc_topology_init(&global);
+hwloc_topology_set_custom(global);
+
+/* insert host1 entire topology below the global topology root */
+hwloc_topology_init(&host1);
+hwloc_topology_load(host1);
+hwloc_custom_insert_topology(global, hwloc_get_root_obj(global),
+ host1, NULL);
+hwloc_topology_destroy(host1);
+
+/* insert host2 entire topology below the global topology root */
+hwloc_topology_init(&host2);
+hwloc_topology_load(host2);
+hwloc_custom_insert_topology(global, hwloc_get_root_obj(global),
+ host2, NULL);
+hwloc_topology_destroy(host2);
+
+/* load and play with the global topology */
+hwloc_topology_load(global);
+...
+\endverbatim
+
+If a intermediate object such as a switch should be inserted
+above one of the host topologies:
+\verbatim
+...
+/* insert a switch object below the global topology root */
+hwloc_obj_t sw =
+ hwloc_custom_insert_group_object_by_parent(global,
+ hwloc_get_root_obj(global), 0);
+
+/* insert host2 entire topology below the switch */
+hwloc_topology_init(&host2);
+hwloc_topology_load(host2);
+hwloc_custom_insert_topology(global, switch, host2, NULL);
+hwloc_topology_destroy(host2);
+
+/* load and play with the global topology */
+hwloc_topology_load(global);
+...
+\endverbatim
+
+
+
+
+\page attributes Object attributes
+
+
+\htmlonly
+<div class="section" id="attributes_normal">
+\endhtmlonly
+\section attributes_normal Normal attributes
+
+hwloc objects have many attributes.
+The ::hwloc_obj structure contains a common set of attributes that
+are available for object types, for instance their <tt>type</tt> or
+<tt>logical_index</tt>.
+
+Each object also contains an <tt>attr</tt> field that, if non NULL,
+points to a union ::hwloc_obj_attr_u of type-specific attribute
+structures.
+For instance, a Cache object <tt>obj</tt> contains cache-specific
+information in <tt>obj->attr->cache</tt>, such as its size and
+associativity.
+See ::hwloc_obj_attr_u for details.
+
+
+\htmlonly
+</div><div class="section" id="attributes_info">
+\endhtmlonly
+\section attributes_info Custom string infos
+
+Aside from the <tt>name</tt> field of each object, hwloc annotates
+many objects with string attributes that are made of a key and a
+value.
+Each object contains a list of such pairs that may be consulted
+manually (looking at the object <tt>infos</tt> array field)
+or using the hwloc_obj_get_info_by_name().
+The user may additionally add new key-value pairs to any object using
+hwloc_obj_add_info() or the \ref cli_hwloc_annotate program.
+
+Here is a non-exhaustive list of attributes that may be automatically
+added by hwloc (with the usual corresponding object in parentheses).
+Note that these attributes heavily depend on the ability of the
+operating system to report them.
+Many of them will therefore be missing on some OS.
+<dl>
+<dt>OSName, OSRelease, OSVersion, HostName, Architecture
+(Machine object)</dt>
+<dd>The operating system name, release, version, the hostname and the
+architecture name, as reported by the Unix <tt>uname</tt> command.
+</dd>
+<dt>Backend (Machine object, topology root object, or specific object added by that backend)</dt>
+<dd>The name of the hwloc backend/component that filled the topology.
+If several components were combined, multiple Backend keys may exist,
+with different values, for instance <tt>x86</tt> and <tt>Linux</tt> in the root
+object and <tt>CUDA</tt> in CUDA OS device objects.
+</dd>
+<dt>LinuxCgroup (Machine object)</dt>
+<dd>The name the Linux control group where the calling process is
+placed.
+</dd>
+<dt>SyntheticDescription (topology root object)</dt>
+<dd>The description string that was given to hwloc to build this
+synthetic topology.
+</dd>
+<dt>CPUModel (Package or Machine)</dt>
+<dd>The processor model name.
+Usually added to Package objects, but can be in Machine instead if
+hwloc failed to discover any package.
+</dd>
+<dt>CPUType (Package)</dt>
+<dd>
+A Solaris-specific general processor type name, such as "i86pc".
+</dd>
+<dt>CPUVendor, CPUModelNumber, CPUFamilyNumber, CPUStepping (Package or Machine)</dt>
+<dd>The processor vendor name, model number, family number, and stepping number.
+Currently available for x86 and Xeon Phi processors on most systems,
+and for ia64 processors on Linux (except CPUStepping).
+Usually added to Package objects, but can be in Machine instead if
+hwloc failed to discover any package.
+</dd>
+<dt>CPURevision (Package)</dt>
+<dd>
+A POWER/PowerPC-specific general processor revision number,
+currently only available on Linux.
+</dd>
+<dt>PlatformName, PlatformModel, PlatformVendor, PlatformBoardID, PlatformRevision,</dt>
+<dt> SystemVersionRegister, ProcessorVersionRegister (Machine)</dt>
+<dd>Some POWER/PowerPC-specific attributes describing the platform
+and processor.
+Currently only available on Linux.
+Usually added to Package objects, but can be in Machine instead if
+hwloc failed to discover any package.
+</dd>
+<dt>MemoryMode, ClusterMode (topology root object)</dt>
+<dd>
+Intel Xeon Phi processor configuration modes.
+Available if hwloc-dump-hwdata was used (see \ref faq_knl_dump)
+or if hwloc managed to guess them from the NUMA configuration.
+
+The memory mode may be <em>Cache</em>, <em>Flat</em>,
+<em>Hybrid50</em> (half the MCDRAM is used as a cache)
+or <em>Hybrid25</em> (25% of MCDRAM as cache).
+The cluster mode may be <em>Quadrant</em>, <em>Hemisphere</em>, <em>All2All</em>,
+<em>SNC2</em> or <em>SNC4</em>.
+See doc/examples/get-knl-modes.c in the source directory for an example of retrieving these attributes.
+</dd>
+<dt>Inclusive (Caches)</dt>
+<dd>The inclusiveness of a cache (1 if inclusive, 0 otherwise).
+Currently only available on x86 processors.
+</dd>
+<dt>SolarisProcessorGroup (Group)</dt>
+<dd>
+The Solaris kstat processor group name that was used to build this Group object.
+</dd>
+<dt>PCIVendor, PCIDevice (PCI devices and bridges)</dt>
+<dd>The vendor and device names of the PCI device.
+</dd>
+<dt>PCISlot (PCI devices or Bridges)</dt>
+<dd>The name/number of the physical slot where the device is plugged.
+ If the physical device contains PCI bridges above the actual PCI device,
+ the attribute may be attached to the highest bridge
+ (i.e. the first object that actually appears below the physical slot).
+</dd>
+<dt>Vendor, Model, Revision, SerialNumber (Block OS devices)</dt>
+<dd>The vendor and model names, revision, and serial number of a Block OS device.
+</dd>
+<dt>LinuxDeviceID (Block OS devices)</dt>
+<dd>The major/minor device number such as 8:0 of Linux device.
+</dd>
+<dt>CoProcType (Co-Processor OS devices)</dt>
+<dd>The type of co-processor, for instance <tt>"MIC"</tt>, <tt>"CUDA"</tt>
+ or <tt>"OpenCL"</tt>.
+</dd>
+<dt>GPUVendor, GPUModel (GPU or Co-Processor OS devices)</dt>
+<dd>The vendor and model names of the GPU device.
+</dd>
+<dt>OpenCLDeviceType, OpenCLPlatformIndex,</dt>
+<dt>OpenCLPlatformName, OpenCLPlatformDeviceIndex (OpenCL OS devices)</dt>
+<dd>The type of OpenCL device,
+ the OpenCL platform index and name,
+ and the index of the device within the platform.
+</dd>
+<dt>OpenCLComputeUnits, OpenCLGlobalMemorySize (OpenCL OS devices)</dt>
+<dd>The number of compute units and global memory size (in kB) of an OpenCL device.
+</dd>
+<dt>NVIDIAUUID, NVIDIASerial (NVML GPU OS devices)</dt>
+<dd>The UUID and Serial of NVIDIA GPUs.
+</dd>
+<dt>CUDAMultiProcessors, CUDACoresPerMP,</dt>
+<dt>CUDAGlobalMemorySize, CUDAL2CacheSize, CUDASharedMemorySizePerMP (CUDA OS devices)</dt>
+<dd>
+ The number of shared multiprocessors, the number of cores per
+ multiprocessor, the global memory size, the (global) L2 cache size,
+ and size of the shared memory in each multiprocessor of a CUDA device.
+ Sizes are in kB.
+</dd>
+<dt>MICSerialNumber (MIC coprocessor OS device)</dt>
+<dd>
+ The serial number of an Intel Xeon Phi (MIC) coprocessor.
+ hwloc may run either inside the coprocessor itself, or on the host processor.
+ That attribute is set in both cases, so that the exact same coprocessor may be
+ identified from both point of views, even if there are multiple nodes with
+ multiple MICs.
+ When running hwloc on the host, each hwloc OS device object that
+ corresponds to a Xeon Phi gets such an attribute.
+ When running hwloc inside a Xeon Phi coprocessor, the root object of the topology
+ gets this attribute.
+</dd>
+<dt>MICFamily, MICSKU, MICActiveCores, MICMemorySize (MIC coprocessor OS device)</dt>
+<dd>The family, SKU (model),
+ number of active cores, and memory size (in kB)
+ of an Intel Xeon Phi (MIC) coprocessor.
+</dd>
+<dt>DMIBoardVendor, DMIBoardName, etc. (Machine object)</dt>
+<dd>DMI hardware information such as the motherboard and chassis
+models and vendors, the BIOS revision, etc.,
+as reported by Linux under <tt>/sys/class/dmi/id/</tt>.
+</dd>
+<dt>Address, Port (Network interface OS devices)</dt>
+<dd>The MAC address and the port number of a software network
+interface, such as <tt>eth4</tt> on Linux.
+</dd>
+<dt>NodeGUID, SysImageGUID, Port1State, Port2LID, Port2LMC, Port3GID1
+(OpenFabrics OS devices)</dt>
+<dd>The node GUID and GUID mask,
+the state of a port #1 (value is 4 when active),
+the LID and LID mask count of port #2,
+and GID #1 of port #3.
+</dd>
+<dt>Type</dt>
+<dd>A better type name than the usual one.
+This may be used to specify where Groups come from.
+For instance Linux S/390 <em>books</em> appear as Groups of type <em>Book</em>
+(see also \ref faq_groups).
+Block OS devices may have a Type of "Disk", "Tape", "Removable Media Device"
+or "Other".
+The Type attribute value is displayed instead of the default object type name in lstopo.
+</dd>
+<dt>Vendor, AssetTag, PartNumber, DeviceLocation, BankLocation (MemoryModule Misc objects)</dt>
+<dd>
+Information about memory modules (DIMMs) extracted from SMBIOS.
+</dd>
+<dt>hwlocVersion (topology root, Machine object)</dt>
+<dd>The version number of the hwloc library that was used to generate
+the topology. If the topology was loaded from XML, this is not the hwloc
+version that loaded it, but rather the first hwloc instance that exported
+the topology to XML earlier.
+</dd>
+<dt>ProcessName (topology root, Machine object)</dt>
+<dd>The name of the process that contains the hwloc library that was used
+to generate the topology. If the topology was from XML, this is not the
+hwloc process that loaded it, but rather the first process that exported
+the topology to XML earlier.
+</dd>
+</dl>
+
+Here is a non-exhaustive list of user-provided info attributes
+that have a special meaning:
+<dl>
+<dt>lstopoStyle</dt>
+<dd>Enforces the style of an object (background and text colors)
+ in the graphical output of lstopo.
+ See CUSTOM COLORS in the lstopo(1) manpage for details.
+</dd>
+</dl>
+
+
+
+
+\page xml Importing and exporting topologies from/to XML files
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+hwloc offers the ability to export topologies to XML files and reload
+them later. This is for instance useful for loading topologies faster
+(see \ref faq_xml), manipulating other nodes' topology, or avoiding
+the need for privileged processes (see \ref faq_privileged).
+
+Topologies may be exported to XML files thanks to hwloc_topology_export_xml(),
+or to a XML memory buffer with hwloc_topology_export_xmlbuffer().
+The lstopo program can also serve as a XML topology export tool.
+
+XML topologies may then be reloaded later with hwloc_topology_set_xml()
+and hwloc_topology_set_xmlbuffer().
+The HWLOC_XMLFILE environment variable also tells hwloc to load the topology
+from the given XML file.
+
+\note Loading XML topologies disables binding because the loaded
+topology may not correspond to the physical machine that loads it.
+This behavior may be reverted by asserting that loaded file really
+matches the underlying system with the HWLOC_THISSYSTEM environment
+variable or the ::HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM topology flag.
+
+\note The topology flag ::HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES
+may be used to load a XML topology that contains the entire machine
+and restrict it to the part that is actually available to the current
+process (e.g. when Linux Cgroup/Cpuset are used to restrict the set
+of resources).
+
+\note hwloc also offers the ability to export/import \ref hwlocality_diff.
+
+\note XML topology files are not localized. They use a dot as a
+decimal separator. Therefore any exported topology can be
+reloaded on any other machine without requiring to change the
+locale.
+
+\note XML exports contain all details about the platform. It means
+that two very similar nodes still have different XML exports
+(e.g. some serial numbers or MAC addresses are different).
+If a less precise exporting/importing is required, one may want to
+look at \ref synthetic instead.
+
+
+\htmlonly
+</div><div class="section" id="xml_backends">
+\endhtmlonly
+\section xml_backends libxml2 and minimalistic XML backends
+
+hwloc offers two backends for importing/exporting XML.
+
+First, it can use the libxml2 library for importing/exporting XML
+files. It features full XML support, for instance when those files
+have to be manipulated by non-hwloc software (e.g. a XSLT parser).
+The libxml2 backend is enabled by default if libxml2 development
+headers are available (the relevant development package is usually
+<tt>libxml2-devel</tt> or <tt>libxml2-dev</tt>).
+
+If libxml2 is not available at configure time,
+or if <tt>\--disable-libxml2</tt> is passed, hwloc falls back to a
+custom backend.
+Contrary to the aforementioned full XML backend with libxml2, this
+minimalistic XML backend cannot be guaranteed to work with external
+programs.
+It should only be assumed to be compatible with the same hwloc
+release (even if using the libxml2 backend).
+Its advantage is however to always be available without requiring
+any external dependency.
+
+If libxml2 is available but the core hwloc library should not directly
+depend on it, the libxml2 support may be built as a dynamicall-loaded
+plugin.
+One should pass <tt>\--enable-plugins</tt> to enable plugin support
+(when supported) and build as plugins all component that support it.
+Or pass <tt>\--enable-plugins=xml_libxml</tt> to only build this
+libxml2 support as a plugin.
+
+
+\htmlonly
+</div><div class="section" id="xml_errors">
+\endhtmlonly
+\section xml_errors XML import error management
+
+Importing XML files can fail at least because of file access errors,
+invalid XML syntax or non-hwloc-valid XML contents.
+
+Both backend cannot detect all these errors when the input XML
+file or buffer is selected (when hwloc_topology_set_xml() or
+hwloc_topology_set_xmlbuffer() is called).
+Some errors such non-hwloc-valid contents can only be detected
+later when loading the topology with hwloc_topology_load().
+
+It is therefore strongly recommended to check the return value of
+both hwloc_topology_set_xml() (or hwloc_topology_set_xmlbuffer())
+and hwloc_topology_load() to handle all these errors.
+
+
+
+
+\page synthetic Synthetic topologies
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+hwloc may load fake or remote topologies so as to consult them
+without having the underlying hardware available.
+Aside from loading XML topologies, hwloc also enables the building of
+<em>synthetic</em> topologies that are described by a single string
+listing the arity of each levels.
+
+For instance, lstopo may create a topology made of 2 NUMA nodes,
+containing a single package each, with one cache above two
+single-threaded cores:
+
+\verbatim
+$ lstopo -i "node:2 pack:1 cache:1 core:2 pu:1" -
+Machine (2048MB)
+ NUMANode L#0 (P#0 1024MB) + Package L#0 + L2 L#0 (4096KB)
+ Core L#0 + PU L#0 (P#0)
+ Core L#1 + PU L#1 (P#1)
+ NUMANode L#1 (P#1 1024MB) + Package L#1 + L2 L#1 (4096KB)
+ Core L#2 + PU L#2 (P#2)
+ Core L#3 + PU L#3 (P#3)
+\endverbatim
+
+Replacing <tt>-</tt> with <tt>file.xml</tt> in this command line
+will export this topology to XML as usual.
+
+\note Synthetic topologies offer a very basic way to export a
+topology and reimport it on another machine. It is a lot less
+precise than XML but may still be enough when only the hierarchy
+of resources matters.
+
+
+\htmlonly
+</div><div class="section" id="synthetic_string">
+\endhtmlonly
+\section synthetic_string Synthetic description string
+
+Each item in the description string gives the type of the level and
+the number of such children under each object of the previous level.
+That is why the above topology contains 4 cores (2 cores times 2 nodes).
+
+These type names must be written as
+<tt>machine</tt>, <tt>numanode</tt>, <tt>package</tt>, <tt>core</tt>,
+<tt>cache</tt>, <tt>pu</tt>, <tt>group</tt>.
+They do not need to be written case-sensitively, nor entirely
+(as long as there is no ambiguity, 2 characters such as <tt>ma</tt>
+ select a Machine level).
+Type-specific attributes may also be given such as <tt>L2iCache</tt>
+(hwloc_obj_type_sscanf() is used for parsing the type names).
+Note that I/O and Misc objects are not available.
+
+The root object does not appear in the string.
+A Machine object is used by default, and a System object replaces it
+if a Machine level is specified in the string.
+
+Cache level depths are automatically chosen by hwloc (only a L2 first,
+then a L1 under it, then L3 above, then L4 etc.) unless they are specified.
+Memory and cache sizes are also automatically chosen if needed.
+
+Each item may be followed parentheses containing a list of
+space-separated attributes. For instance:
+<ul>
+<li>
+ <tt>L2iCache:2(size=32kB)</tt> specifies 2 children
+ of 32kB level-2 instruction caches.
+ The size may be specified in bytes (without any unit suffix) or as TB, GB, MB or kB.
+</li>
+<li>
+ <tt>NUMANode:3(memory=16MB)</tt> specifies 3 NUMA nodes with 16MB each.
+ The size may be specified in bytes (without any unit suffix) or as TB, GB, MB or kB.
+</li>
+<li>
+ <tt>PU:2(indexes=0,2,1,3)</tt> specifies 2 PU children and the
+ full list of OS indexes among the entire set of 4 PU objects.
+</li>
+<li>
+ <tt>PU:2(indexes=numa:core)</tt> specifies 2 PU children whose
+ OS indexes are interleaved by NUMA node first and then by package.
+</li>
+<li>
+ Attributes in parentheses at the very beginning of the description
+ apply to the root object.
+</li>
+</ul>
+
+
+\htmlonly
+</div><div class="section" id="synthetic_use">
+\endhtmlonly
+\section synthetic_use Loading a synthetic topology
+
+Aside from lstopo, the hwloc programming interface offers the same
+ability by passing the synthetic description string to
+hwloc_topology_set_synthetic() before hwloc_topology_load().
+
+Synthetic topologies are created by the <tt>synthetic</tt> component.
+This component may be enabled by force by setting the HWLOC_COMPONENTS
+environment variable to something such as
+<tt>synthetic="node:2 core:3 pu:4"</tt>.
+
+Loading a synthetic topology disables binding support since the
+topology usually does not match the underlying hardware.
+Binding may be reenabled as usual by setting HWLOC_THISSYSTEM=1 in the
+environment or by setting the ::HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM
+topology flag.
+
+
+\htmlonly
+</div><div class="section" id="synthetic_export">
+\endhtmlonly
+\section synthetic_export Exporting a topology as a synthetic string
+
+The function hwloc_topology_export_synthetic() may export
+a topology as a synthetic string.
+It offers a convenient way to quickly describe the contents of a machine.
+The lstopo tool may also perform such an export by forcing the output format.
+
+\verbatim
+$ lstopo --of synthetic --no-io
+Package:1 Cache:1 Cache:2 Cache:1 Cache:1 Core:1 PU:2
+\endverbatim
+
+The exported string may be passed back to hwloc for recreating
+another similar topology.
+The entire tree will be similar, but some attributes such as
+the processor model will be missing.
+
+Such an export is only possible if the topology is totally symmetric,
+which means the <tt>symmetric_subtree</tt> field of the root object
+is set.
+This usually implies that I/O objects are disabled since attaching I/O
+busses often cause the topology to become asymmetric.
+Passing <tt>\--no-io</tt> to lstopo is therefore often useful to make
+synthetic export work (as well as not passing any I/O topology flag
+before exporting with ::hwloc_topology_export_synthetic()).
+
+
+
+
+\page interoperability Interoperability With Other Software
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+Although hwloc offers its own portable interface, it still may have to
+interoperate with specific or non-portable libraries that manipulate
+similar kinds of objects. hwloc therefore offers several specific
+"helpers" to assist converting between those specific interfaces and
+hwloc.
+
+Some external libraries may be specific to a particular OS; others may
+not always be available. The hwloc core therefore generally does not
+explicitly depend on these types of libraries. However, when a custom
+application uses or otherwise depends on such a library, it may
+optionally include the corresponding hwloc helper to extend the hwloc
+interface with dedicated helpers.
+
+Most of these helpers use structures that are specific to these external
+libraries and only meaningful on the local machine. If so, the helper
+requires the input topology to match the current machine.
+Some helpers also require I/O device discovery to be supported and
+enabled for the current topology.
+
+<dl>
+
+<dt>Linux specific features</dt>
+ <dd>
+ hwloc/linux.h offers Linux-specific helpers that utilize some
+ non-portable features of the Linux system, such as binding threads
+ through their thread ID ("tid") or parsing kernel CPU mask files.
+ </dd>
+
+<dt>Linux libnuma</dt>
+ <dd>
+ hwloc/linux-libnuma.h provides conversion helpers between hwloc CPU
+ sets and libnuma-specific types, such as bitmasks. It
+ helps you use libnuma memory-binding functions with hwloc CPU sets.
+ </dd>
+
+<dt>Glibc</dt>
+ <dd>
+ hwloc/glibc-sched.h offers conversion routines between Glibc and
+ hwloc CPU sets in order to use hwloc with functions such as
+ sched_getaffinity() or pthread_attr_setaffinity_np().
+ </dd>
+
+<dt>OpenFabrics Verbs</dt>
+ <dd>
+ hwloc/openfabrics-verbs.h helps interoperability with the
+ OpenFabrics Verbs interface. For example, it can return a list of
+ processors near an OpenFabrics device.
+ It may also return the corresponding OS device hwloc object for further
+ information (if I/O device discovery is enabled).
+ </dd>
+
+<dt>Myrinet Express</dt>
+ <dd>
+ hwloc/myriexpress.h offers interoperability with the Myrinet
+ Express interface. It can return the list of processors near
+ a Myrinet board managed by the MX driver.
+ Note that if I/O device discovery is enabled, such boards may also
+ appear as PCI objects in the topology.
+ </dd>
+
+<dt>Intel Xeon Phi (MIC)</dt>
+ <dd>
+ hwloc/intel-mic.h helps interoperability with Intel Xeon Phi (MIC)
+ coprocessors by returning the list of processors near these devices.
+ It may also return the corresponding OS device hwloc object for further
+ information (if I/O device discovery is enabled).
+ </dd>
+
+<dt>AMD OpenCL</dt>
+ <dd>
+ hwloc/opencl.h enables interoperability with the OpenCL interface.
+ Only the AMD implementation currently offers locality information.
+ It may return the list of processors near an AMD/ATI GPU given as
+ a <tt>cl_device_id</tt>.
+ It may also return the corresponding OS device hwloc object for further
+ information (if I/O device discovery is enabled).
+ </dd>
+
+<dt>NVIDIA CUDA</dt>
+ <dd>
+ hwloc/cuda.h and hwloc/cudart.h enable interoperability with
+ NVIDIA CUDA Driver and Runtime interfaces. For instance, it may
+ return the list of processors near NVIDIA GPUs.
+ It may also return the corresponding OS device hwloc object for further
+ information (if I/O device discovery is enabled).
+ </dd>
+
+<dt>NVIDIA Management Library (NVML)</dt>
+ <dd>
+ hwloc/nvml.h enables interoperability with the NVIDIA NVML interface.
+ It may return the list of processors near a NVIDIA GPU given as
+ a <tt>nvmlDevice_t</tt>.
+ It may also return the corresponding OS device hwloc object for further
+ information (if I/O device discovery is enabled).
+ </dd>
+
+<dt>NVIDIA displays</dt>
+ <dd>
+ hwloc/gl.h enables interoperability with NVIDIA displays
+ using the NV-CONTROL X extension (NVCtrl library).
+ If I/O device discovery is enabled, it may return the OS device
+ hwloc object that corresponds to a display
+ given as a name such as <em>:0.0</em>
+ or given as a port/device pair (server/screen).
+ </dd>
+
+<dt>Taskset command-line tool</dt>
+ <dd>
+ The taskset command-line tool is widely used for binding
+ processes. It manipulates CPU set strings in a format that
+ is slightly different from hwloc's one (it does not divide the
+ string in fixed-size subsets and separates them with commas).
+ To ease interoperability, hwloc offers routines to convert
+ hwloc CPU sets from/to taskset-specific string format.
+ Most hwloc command-line tools also support the <tt>\--taskset</tt>
+ option to manipulate taskset-specific strings.
+ </dd>
+
+</dl>
+
+
+
+\page threadsafety Thread Safety
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+Like most libraries that mainly fill data structures, hwloc is not
+thread safe but rather reentrant: all state is held in a
+::hwloc_topology_t instance without mutex protection. That means, for
+example, that two threads can safely operate on and modify two
+different ::hwloc_topology_t instances, but they should not
+simultaneously invoke functions that modify the <em>same</em>
+instance. Similarly, one thread should not modify a
+::hwloc_topology_t instance while another thread is reading or
+traversing it. However, two threads can safely read or traverse the
+same ::hwloc_topology_t instance concurrently.
+
+When running in multiprocessor environments, be aware that proper thread
+synchronization and/or memory coherency protection is needed to pass hwloc
+data (such as ::hwloc_topology_t pointers) from one processor
+to another (e.g., a mutex, semaphore, or a memory barrier).
+Note that this is not a hwloc-specific requirement, but it is worth
+mentioning.
+
+For reference, ::hwloc_topology_t modification operations include
+(but may not be limited to):
+
+<dl>
+
+<dt>Creation and destruction</dt>
+ <dd><tt>hwloc_topology_init(), hwloc_topology_load(),
+ hwloc_topology_destroy()</tt> (see \ref hwlocality_creation) imply
+ major modifications of the structure, including freeing some
+ objects. No other thread cannot access the topology or any of its
+ objects at the same time.
+
+ Also references to objects inside the topology are not valid anymore
+ after these functions return. </dd>
+
+<dt>Runtime topology modifications</dt>
+ <dd><tt>hwloc_topology_insert_misc_object_by_*</tt> (see
+ \ref hwlocality_tinker) may modify the topology significantly by adding
+ objects inside the tree, changing the topology depth, etc.
+ <tt>hwloc_topology_restrict()</tt> modifies the topology even more
+ dramatically by removing some objects.
+
+ Although references to former objects <em>may</em> still be valid
+ after insertion or restriction, it is strongly advised to not rely on any such
+ guarantee and always re-consult the topology to reacquire new
+ instances of objects. </dd>
+
+<dt>Locating topologies</dt>
+
+ <dd><tt>hwloc_topology_ignore*</tt>, <tt>hwloc_topology_set*</tt>
+ (see \ref hwlocality_configuration) do not modify the topology
+ directly, but they do modify internal structures describing the
+ behavior of the upcoming invocation of <tt>hwloc_topology_load()</tt>.
+ Hence, all of these functions should not be used concurrently.
+ </dd>
+
+</dl>
+
+
+
+\page plugins Components and plugins
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+hwloc is organized in components that are responsible for discovering
+objects.
+Depending on the topology configuration, some components will be used,
+some will be ignored.
+The usual default is to enable the native operating system component,
+(e.g. <tt>linux</tt> or <tt>solaris</tt>) and the
+<tt>pci</tt> miscellaneous component.
+If available, an architecture-specific component (such as <tt>x86</tt>)
+may also improve the topology detection.
+
+If a XML topology is loaded, the <tt>xml</tt> discovery component
+will be used instead of all other components.
+It internally uses a specific class of components for the actual XML
+import/export routines (<tt>xml_libxml</tt> and <tt>xml_nolibxml</tt>)
+but these will not be discussed here (see \ref xml_backends).
+
+
+\htmlonly
+</div><div class="section" id="plugins_default">
+\endhtmlonly
+\section plugins_default Components enabled by default
+
+The hwloc core contains a list of components sorted by priority.
+Each one is enabled as long as it does not conflict with the
+previously enabled ones.
+This includes native operating system components,
+architecture-specific ones, and if available, I/O components
+such as <tt>pci</tt>.
+
+Usually the native operating system component
+(when it exists, e.g. <tt>linux</tt> or <tt>aix</tt>)
+is enabled first.
+Then hwloc looks for an architecture specific component
+(e.g. <tt>x86</tt>).
+Finally there also exist a basic component (<tt>no_os</tt>)
+that just tries to discover the number of PUs in the system.
+
+Each component discovers as much topology information as possible.
+Most of them, including most native OS components, do nothing
+unless the topology is still empty.
+Some others, such as <tt>x86</tt> and <tt>pci</tt>,
+can complete and annotate what other backends found earlier.
+
+Default priorities ensure that clever components are invoked first.
+Native operating system components have higher priorities,
+and are therefore invoked first, because they likely offer
+very detailed topology information.
+If needed, it will be later extended by architecture-specific
+information (e.g. from the <tt>x86</tt> component).
+
+If any configuration function such as hwloc_topology_set_xml()
+is used before loading the topology, the corresponding component
+is enabled first.
+Then, as usual, hwloc enables any other component (based on
+priorities) that does not conflict.
+
+Certain components that manage a virtual topology, for instance XML
+topology import, synthetic topology description, or custom building,
+conflict with all other components.
+Therefore, one of them may only be loaded
+(e.g. with <tt>hwloc_topology_set_xml()</tt>)
+if no other component is enabled.
+
+The environment variable <tt>HWLOC_COMPONENTS_VERBOSE</tt>
+may be set to get verbose messages about component registration
+(including their priority) and enabling.
+
+
+\htmlonly
+</div><div class="section" id="plugins_select">
+\endhtmlonly
+\section plugins_select Selecting which components to use
+
+Once topology configuration functions such as
+<tt>hwloc_topology_set_custom()</tt> have been taken care of,
+the priority order of the remaining components may be changed
+through the <tt>HWLOC_COMPONENTS</tt> environment
+variable (component names must be separated by commas).
+
+Specifying <tt>x86</tt> in this variable will cause the <tt>x86</tt>
+component to take precedence over any other component,
+including the native operating system component.
+It is therefore loaded first, before hwloc tries to load all remaining
+non-conflicting components.
+In this case, <tt>x86</tt> would take care of discovering everything
+it supports, instead of only completing what the native OS information.
+This may be useful if the native component is buggy on some platforms.
+
+It is possible to prevent some components from being loaded by prefixing their
+name with <tt>-</tt> in the list. For instance <tt>x86,-pci</tt> will load the
+<tt>x86</tt> component, then let hwloc load all the usual components except
+<tt>pci</tt>.
+
+It is possible to prevent all remaining components from being loaded
+by placing <tt>stop</tt> in the environment variable.
+Only the components listed before this keyword will be enabled.
+
+Certain component names (<tt>xml</tt> and <tt>synthetic</tt>)
+accept an argument (e.g. <tt>xml=file.xml</tt>).
+These arguments behave exactly as if the corresponding string had
+been passed to <tt>hwloc_topology_set_xml()</tt>
+or <tt>hwloc_topology_set_synthetic()</tt>.
+
+
+\htmlonly
+</div><div class="section" id="plugins_load">
+\endhtmlonly
+\section plugins_load Loading components from plugins
+
+Components may optionally be built as plugins so that the hwloc core
+library does not directly depend on their dependencies (for instance
+the <tt>libpciaccess</tt> library).
+Plugin support may be enabled with the <tt>\--enable-plugins</tt>
+configure option.
+All components buildable as plugins will then be built as plugins.
+The configure option may be given a comma-separated list of component
+names to specify the exact list of components to build as plugins.
+
+Plugins are built as independent dynamic libraries that are installed
+in <tt>$libdir/hwloc</tt>.
+All plugins found in this directory are loaded during
+<tt>topology_init()</tt>
+(unless blacklisted in <tt>HWLOC_PLUGINS_BLACKLIST</tt>, see \ref envvar).
+A specific list of directories (colon-separated) to scan may be
+specified in the <tt>HWLOC_PLUGINS_PATH</tt> environment variable.
+
+Note that loading a plugin just means that the corresponding component
+is registered to the hwloc core.
+Components are then only enabled if the topology configuration
+requests it, as explained in the previous sections.
+
+Also note that plugins should carefully be enabled and used when
+embedding hwloc in another project, see \ref embed for details.
+
+
+\htmlonly
+</div><div class="section" id="plugins_add">
+\endhtmlonly
+\section plugins_adding Adding new discovery components and plugins
+
+The types and functions cited below are declared in the hwloc/plugins.h header.
+Components are supposed to only use hwloc public headers (hwloc.h and
+anything under the <tt>include/hwloc</tt> subdirectory) and nothing from the
+<tt>include/private</tt> subdirectory in the source tree.
+
+\subsection plugins_disc_basic Basics of discovery components
+
+Each discovery component is defined by a <tt>::hwloc_disc_component</tt>
+structure which contains an <tt>instantiate()</tt> callback.
+This function is invoked when this component is actually used by a topology.
+It fills a new <tt>::hwloc_backend</tt> structure that usually contains
+<tt>discover()</tt> and/or <tt>notify_new_object()</tt> callbacks taking
+care of the actual topology discovery.
+
+\note If two discovery components have the same name, only the highest
+priority one is actually made available.
+This offers a way for third-party plugins to override existing components.
+
+\subsection plugins_disc_register Registering a new discovery component
+
+Registering components to the hwloc core relies on a <tt>::hwloc_component</tt> structure.
+Its <tt>data</tt> field points to the previously defined <tt>::hwloc_disc_component</tt>
+structure while its <tt>type</tt> should be ::HWLOC_COMPONENT_TYPE_DISC.
+This structure should be named <tt>hwloc_<name>_component</tt>.
+
+The configure script should be modified to add <tt><name></tt>
+to its <tt>hwloc_components</tt> shell variable so that the component
+is actually available.
+
+\note The symbol name of the <tt>::hwloc_component</tt> structure
+is independent of the name of the discovery component mentioned
+in the previous section.
+
+When the component is statically built inside the hwloc library,
+the symbol <tt>hwloc_<name>_component</tt> is added by configure
+to the <tt>src/static-components.h</tt>.
+The core then registers all components listed in this file.
+
+If the new component may be built as a plugin, the configure script
+should also define the shell variable
+<tt>hwloc_<name>_component_maybeplugin=1</tt>.
+When the configure script actually enables the component as a plugin,
+it will set the variable <tt>hwloc_<name>_component</tt>
+to <tt>plugin</tt>.
+The build system may then use this variable to change the way the component is built.
+It should create a <tt>hwloc_<name>.so</tt> shared object.
+All these files are loaded in alphabetic order, and the components
+they contain are registered to the hwloc core.
+
+
+\htmlonly
+</div><div class="section" id="plugins_list">
+\endhtmlonly
+\section plugins_list Existing components and plugins
+
+All components distributed within hwloc are listed below.
+The list of actually available components may be listed
+at running with the <tt>HWLOC_COMPONENTS_VERBOSE</tt>
+environment variable (see \ref envvar).
+
+<dl>
+
+<dt>aix, darwin, freebsd, hpux, linux, netbsd, osf, solaris, windows</dt>
+<dd>
+ Each officially supported operating system has its own native component,
+ which is statically built when supported, and which is used by default.
+</dd>
+<dt>x86</dt>
+<dd>
+ The x86 architecture (either 32 or 64 bits) has its own component
+ that may complete or replace the previously-found CPU information.
+ It is statically built when supported.
+</dd>
+<dt>bgq</dt>
+<dd>
+ This component is specific to IBM BlueGene/Q compute node (running CNK).
+ It is built and enabled by default when <tt>\--host=powerpc64-bgq-linux</tt>
+ is passed to configure (see \ref faq_bgq).
+</dd>
+<dt>no_os</dt>
+<dd>
+ A basic component that just tries to detect the number of processing
+ units in the system. It mostly serves on operating systems that are
+ not natively supported.
+ It is always statically built.
+</dd>
+<dt>pci</dt>
+<dd>
+ PCI object discovery uses the external pciaccess library (aka libpciaccess);
+ see \ref iodevices.
+ <b>It may be built as a plugin</b>.
+</dd>
+<dt>linuxpci</dt>
+<dd>
+ This component can probe PCI devices on Linux without the help of external
+ libraries such as libpciaccess. Its priority is lower than the pci component
+ because it misses device names.
+</dd>
+<dt>opencl</dt>
+<dd>
+ The OpenCL component creates co-processor OS device objects such as
+ <em>opencl0d0</em> (first device of the first OpenCL platform)
+ or <em>opencl1d3</em> (fourth device of the second platform).
+ Only the AMD OpenCL implementation currently offers locality
+ information.
+ <b>It may be built as a plugin</b>.
+</dd>
+<dt>cuda</dt>
+<dd>
+ This component creates co-processor OS device objects such as <em>cuda0</em>
+ that correspond to NVIDIA GPUs used with CUDA library.
+ <b>It may be built as a plugin</b>.
+</dd>
+<dt>nvml</dt>
+<dd>
+ Probing the NVIDIA Management Library creates OS device objects
+ such as <em>nvml0</em> that are useful for batch schedulers.
+ It also detects the actual PCIe link bandwidth without depending
+ on power management state and without requiring administrator
+ privileges.
+ <b>It may be built as a plugin</b>.
+</dd>
+<dt>gl</dt>
+<dd>
+ Probing the NV-CONTROL X extension (NVCtrl library) creates OS
+ device objects such as <em>:0.0</em> corresponding to NVIDIA
+ displays.
+ They are useful for graphical applications that need to place
+ computation and/or data near a rendering GPU.
+ <b>It may be built as a plugin</b>.
+</dd>
+<dt>synthetic</dt>
+<dd>
+ Synthetic topology support (see \ref synthetic) is always built statically.
+</dd>
+<dt>custom</dt>
+<dd>
+ Custom topology support (see \ref multinode) is always built statically.
+</dd>
+<dt>xml</dt>
+<dd>
+ XML topology import (see \ref xml) is always built statically.
+ It internally uses one of the XML backends (see \ref xml_backends).
+ <ul>
+ <li><b>xml_nolibxml</b> is a basic and hwloc-specific XML import/export.
+ It is always statically built.
+ </li>
+ <li><b>xml_libxml</b> relies on the external libxml2 library for
+ provinding a feature-complete XML import/export.
+ <b>It may be built as a plugin</b>.
+ </li>
+</dd>
+<dt>fake</dt>
+<dd>
+ A dummy plugin that does nothing but is used for debugging plugin support.
+</dd>
+</dl>
+
+
+
+
+\page embed Embedding hwloc in Other Software
+
+\htmlonly
+<div class="section">
+\endhtmlonly
+
+It can be desirable to include hwloc in a larger software package (be
+sure to check out the LICENSE file) so that users don't have to
+separately download and install it before installing your software.
+This can be advantageous to ensure that your software uses a
+known-tested/good version of hwloc, or for use on systems that do not
+have hwloc pre-installed.
+
+When used in "embedded" mode, hwloc will:
+
+- not install any header files
+- not build any documentation files
+- not build or install any executables or tests
+- not build <tt>libhwloc.*</tt> -- instead, it will build
+ <tt>libhwloc_embedded.*</tt>
+
+There are two ways to put hwloc into "embedded" mode. The first is
+directly from the configure command line:
+
+\verbatim
+shell$ ./configure --enable-embedded-mode ...
+\endverbatim
+
+The second requires that your software project uses the GNU Autoconf /
+Automake / Libtool tool chain to build your software. If you do this,
+you can directly integrate hwloc's m4 configure macro into your
+configure script. You can then invoke hwloc's configuration tests and
+build setup by calling an m4 macro (see below).
+
+Although hwloc dynamic shared object plugins may be used in embedded
+mode, the embedder project will have to manually setup libltdl in its
+build system so that hwloc can load its plugins at run time.
+Also, embedders should be aware of complications that can arise due to
+public and private linker namespaces (e.g., if the embedder project is
+loaded into a private namespace and then hwloc tries to dynamically
+load its plugins, such loading may fail since the hwloc plugins can't
+find the hwloc symbols they need).
+The embedder project is <b>strongly</b> advised not to use hwloc's
+dynamically loading plugins / libltdl capability.
+
+
+\htmlonly
+</div><div class="section" id="embedding_m4">
+\endhtmlonly
+\section embedding_m4 Using hwloc's M4 Embedding Capabilities
+
+Every project is different, and there are many different ways of
+integrating hwloc into yours. What follows is <em>one</em> example of
+how to do it.
+
+If your project uses recent versions Autoconf, Automake, and Libtool
+to build, you can use hwloc's embedded m4 capabilities. We have
+tested the embedded m4 with projects that use Autoconf 2.65, Automake
+1.11.1, and Libtool 2.2.6b. Slightly earlier versions of may also
+work but are untested. Autoconf versions prior to 2.65 are almost
+certain to not work.
+
+You can either copy all the config/hwloc*m4 files from the hwloc
+source tree to the directory where your project's m4 files reside, or
+you can tell aclocal to find more m4 files in the embedded hwloc's
+"config" subdirectory (e.g., add "-Ipath/to/embedded/hwloc/config" to
+your Makefile.am's ACLOCAL_AMFLAGS).
+
+The following macros can then be used from your configure script (only
+HWLOC_SETUP_CORE <em>must</em> be invoked if using the m4 macros):
+
+- HWLOC_SETUP_CORE(config-dir-prefix, action-upon-success,
+ action-upon-failure, print_banner_or_not): Invoke the hwloc
+ configuration tests and setup the hwloc tree to build. The first
+ argument is the prefix to use for AC_OUTPUT files -- it's where the
+ hwloc tree is located relative to <tt>$top_srcdir</tt>. Hence, if
+ your embedded hwloc is located in the source tree at contrib/hwloc,
+ you should pass <tt>[contrib/hwloc]</tt> as the first argument. If
+ HWLOC_SETUP_CORE and the rest of <tt>configure</tt> completes
+ successfully, then "make" traversals of the hwloc tree with standard
+ Automake targets (all, clean, install, etc.) should behave as
+ expected. For example, it is safe to list the hwloc directory in
+ the SUBDIRS of a higher-level Makefile.am. The last argument, if
+ not empty, will cause the macro to display an announcement banner
+ that it is starting the hwloc core configuration tests.
+
+ HWLOC_SETUP_CORE will set the following environment variables and
+ AC_SUBST them: HWLOC_EMBEDDED_CFLAGS, HWLOC_EMBEDDED_CPPFLAGS, and
+ HWLOC_EMBEDDED_LIBS. These flags are filled with the values
+ discovered in the hwloc-specific m4 tests, and can be used in your
+ build process as relevant. The _CFLAGS, _CPPFLAGS, and _LIBS
+ variables are necessary to build libhwloc (or libhwloc_embedded)
+ itself.
+
+ HWLOC_SETUP_CORE also sets HWLOC_EMBEDDED_LDADD environment variable
+ (and AC_SUBSTs it) to contain the location of the
+ libhwloc_embedded.la convenience Libtool archive. It can be used in
+ your build process to link an application or other library against
+ the embedded hwloc library.
+
+ <strong>NOTE: If the HWLOC_SET_SYMBOL_PREFIX macro is used, it must
+ be invoked <em>before</em> HWLOC_SETUP_CORE.</strong>
+
+- HWLOC_BUILD_STANDALONE: HWLOC_SETUP_CORE defaults to building hwloc
+ in an "embedded" mode (described above). If HWLOC_BUILD_STANDALONE
+ is invoked *before* HWLOC_SETUP_CORE, the embedded definitions will
+ not apply (e.g., libhwloc.la will be built, not
+ libhwloc_embedded.la).
+
+- HWLOC_SET_SYMBOL_PREFIX(foo_): Tells the hwloc to prefix all of
+ hwloc's types and public symbols with "foo_"; meaning that function
+ hwloc_init() becomes foo_hwloc_init(). Enum values are prefixed
+ with an upper-case translation if the prefix supplied;
+ HWLOC_OBJ_SYSTEM becomes FOO_HWLOC_OBJ_SYSTEM. This is recommended
+ behavior if you are including hwloc in middleware -- it is possible
+ that your software will be combined with other software that links
+ to another copy of hwloc. If both uses of hwloc utilize different
+ symbol prefixes, there will be no type/symbol clashes, and
+ everything will compile, link, and run successfully. If you both
+ embed hwloc without changing the symbol prefix and also link against
+ an external hwloc, you may get multiple symbol definitions when
+ linking your final library or application.
+
+- HWLOC_SETUP_DOCS, HWLOC_SETUP_UTILS, HWLOC_SETUP_TESTS: These three
+ macros only apply when hwloc is built in "standalone" mode (i.e.,
+ they should NOT be invoked unless HWLOC_BUILD_STANDALONE has already
+ been invoked).
+
+- HWLOC_DO_AM_CONDITIONALS: If you embed hwloc in a larger project and
+ build it conditionally with Automake (e.g., if HWLOC_SETUP_CORE is
+ invoked conditionally), you must unconditionally invoke
+ HWLOC_DO_AM_CONDITIONALS to avoid warnings from Automake (for the
+ cases where hwloc is not selected to be built). This macro is
+ necessary because hwloc uses some AM_CONDITIONALs to build itself,
+ and AM_CONDITIONALs cannot be defined conditionally. Note that it
+ is safe (but unnecessary) to call HWLOC_DO_AM_CONDITIONALS even if
+ HWLOC_SETUP_CORE is invoked unconditionally. If you are not using
+ Automake to build hwloc, this macro is unnecessary (and will actually
+ cause errors because it invoked AM_* macros that will be undefined).
+
+<strong>NOTE:</strong> When using the HWLOC_SETUP_CORE m4 macro, it may
+be necessary to explicitly invoke AC_CANONICAL_TARGET (which requires
+config.sub and config.guess) and/or AC_USE_SYSTEM_EXTENSIONS macros
+early in the configure script (e.g., after AC_INIT but before
+AM_INIT_AUTOMAKE). See the Autoconf documentation for further
+information.
+
+Also note that hwloc's top-level configure.ac script uses exactly the
+macros described above to build hwloc in a standalone mode (by
+default). You may want to examine it for one example of how these
+macros are used.
+
+
+\htmlonly
+</div><div class="section" id="embedding_example">
+\endhtmlonly
+\section embedding_example Example Embedding hwloc
+
+Here's an example of integrating with a larger project named sandbox
+that already uses Autoconf, Automake, and Libtool to build itself:
+
+\verbatim
+# First, cd into the sandbox project source tree
+shell$ cd sandbox
+shell$ cp -r /somewhere/else/hwloc-<version> my-embedded-hwloc
+shell$ edit Makefile.am
+ 1. Add "-Imy-embedded-hwloc/config" to ACLOCAL_AMFLAGS
+ 2. Add "my-embedded-hwloc" to SUBDIRS
+ 3. Add "$(HWLOC_EMBEDDED_LDADD)" and "$(HWLOC_EMBEDDED_LIBS)" to
+ sandbox's executable's LDADD line. The former is the name of the
+ Libtool convenience library that hwloc will generate. The latter
+ is any dependent support libraries that may be needed by
+ $(HWLOC_EMBEDDED_LDADD).
+ 4. Add "$(HWLOC_EMBEDDED_CFLAGS)" to AM_CFLAGS
+ 5. Add "$(HWLOC_EMBEDDED_CPPFLAGS)" to AM_CPPFLAGS
+shell$ edit configure.ac
+ 1. Add "HWLOC_SET_SYMBOL_PREFIX(sandbox_hwloc_)" line
+ 2. Add "HWLOC_SETUP_CORE([my-embedded-hwloc], [happy=yes], [happy=no])" line
+ 3. Add error checking for happy=no case
+shell$ edit sandbox.c
+ 1. Add #include <hwloc.h>
+ 2. Add calls to sandbox_hwloc_init() and other hwloc API functions
+\endverbatim
+
+Now you can bootstrap, configure, build, and run the sandbox as normal
+-- all calls to "sandbox_hwloc_*" will use the embedded hwloc rather
+than any system-provided copy of hwloc.
+
+
+
+
+
+
+\page faq Frequently Asked Questions
+
+
+\htmlonly
+<div class="section" id="faq1">
+\endhtmlonly
+\section faq1 Concepts
+
+
+\subsection faq_why I only need binding, why should I use hwloc ?
+
+hwloc is its portable API that works on a variety of operating
+systems.
+It supports binding of threads, processes and memory buffers
+(see \ref hwlocality_cpubinding and \ref hwlocality_membinding).
+Even if some features are not supported on some systems,
+using hwloc is much easier than reimplementing your own portability layer.
+
+Moreover, hwloc provides knowledge of cores and hardware threads.
+It offers easy ways to bind tasks to individual hardware threads,
+or to entire multithreaded cores, etc.
+See \ref faq_smt.
+Most alternative software for binding do not even know whether each
+core is single-threaded, multithreaded or hyper-threaded.
+They would bind to individual threads without any way to know whether
+multiple tasks are in the same physical core.
+
+However, using hwloc comes with an overhead since a topology must
+be loaded before gathering information and binding tasks or memory.
+This overhead may be reduced by filtering useless information out
+of the topology.
+For instance the following code builds a topology that may only
+contain Cores, hardware threads (PUs), and NUMA nodes
+(Packages, Caches and Group objects are ignored).
+
+\verbatim
+hwloc_topology_t topology;
+hwloc_topology_init(&topology);
+hwloc_topology_ignore_type(topology, HWLOC_OBJ_PACKAGE);
+hwloc_topology_ignore_type(topology, HWLOC_OBJ_CACHE);
+hwloc_topology_ignore_type(topology, HWLOC_OBJ_GROUP);
+hwloc_topology_load(topology);
+\endverbatim
+
+
+\subsection faq_indexes Should I use logical or physical/OS indexes? and how?
+
+One of the original reasons why hwloc was created is that <b>physical/OS indexes</b>
+(<tt>obj->os_index</tt>) are often crazy and unpredictable:
+logical processors numbers are usually
+non-contiguous (processors 0 and 1 are not physically close), they vary from
+one machine to another, and may even change after a BIOS or system update.
+This numbers make task placement hardly portable.
+Moreover some objects have no physical/OS numbers (caches), and some objects
+have non-unique numbers (core numbers are only unique within a socket).
+Physical/OS indexes are only guaranteed to exist and be unique for PU
+and NUMA nodes.
+
+hwloc therefore introduces <b>logical indexes</b> (<tt>obj->logical_index</tt>)
+which are portable, contiguous and logically ordered
+(based on the resource organization in the locality tree).
+In general, one should only use logical indexes and just let hwloc do the
+internal conversion when really needed (when talking to the OS and hardware).
+
+hwloc developers recommends that users do not use physical/OS indexes
+unless they really know what they are doing.
+The main reason for still using physical/OS indexes is when interacting with
+non-hwloc tools such as numactl or taskset, or when reading hardware information
+from raw sources such as /proc/cpuinfo.
+
+lstopo options <tt>-l</tt> and <tt>-p</tt> may be used to switch between
+logical indexes (prefixed with <tt>L#</tt>) and physical/OS indexes (<tt>P#</tt>).
+Converting one into the other may also be achieved with hwloc-calc which may
+manipulate either logical or physical indexes as input or output.
+See also \ref cli_hwloc_calc.
+
+\verbatim
+# Convert PU with physical number 3 into logical number
+$ hwloc-calc -I pu --physical-input --logical-output pu:3
+5
+
+# Convert a set of NUMA nodes from logical to physical
+# (beware that the output order may not match the input order)
+$ hwloc-calc -I numa --logical-input --physical-output numa:2-3 numa:7
+0,2,5
+\endverbatim
+
+
+\subsection faq_structural hwloc is only a structural model, it ignores performance models, memory bandwidth, etc.?
+
+hwloc is indeed designed to provide applications with a structural model
+of the platform. This is an orthogonal approach to describing the
+machine with performance models, for instance using memory bandwidth
+or latencies measured by benchmarks.
+We believe that both approaches are important for helping application
+make the most of the hardware.
+
+For instance, on a dual-processor host with four cores each, hwloc
+clearly shows which four cores are together.
+Latencies between all pairs of cores of the same processor are likely
+identical, and also likely lower than the latency between cores of
+different processors.
+However the structural model cannot guarantee such implementation
+details.
+On the other side, performance models would reveal such details
+without always clearly identifying which cores are in the same
+processor.
+
+The focus of hwloc is mainly of the structural modeling side.
+However, hwloc lets user adds performance information to the topology
+through distances
+(see ::hwloc_distances_s and hwloc_topology_set_distance_matrix())
+or even custom annotations (see \ref faq_annotate).
+hwloc may also use such distance information for grouping objects
+together (see \ref faq_onedim and \ref faq_groups).
+
+
+\subsection faq_onedim hwloc only has a one-dimensional view of the architecture, it ignores distances?
+
+hwloc places all objects in a tree. Each level is a one-dimensional
+view of a set of similar objects. All children of the same object (siblings)
+are assumed to be equally interconnected (same distance between any of them),
+while the distance between children of different objects (cousins) is supposed
+to be larger.
+
+Modern machines exhibit complex hardware interconnects, so this tree
+may miss some information about the actual physical distances between objects.
+The hwloc topology may therefore be annotated with distance information that
+may be used to build a more realistic representation (multi-dimensional)
+of each level.
+For instance, the root object may contain a distance matrix that represents
+the latencies between any pairs of NUMA nodes if the BIOS and/or operating
+system reports them.
+
+For more information about the distance API, see ::hwloc_distances_s
+and hwloc_topology_set_distance_matrix().
+
+
+\subsection faq_groups What are these Group objects in my topology?
+
+hwloc comes with a set of predefined object types (Core, Package, NUMA node, Caches)
+that match the vast majority of hardware platforms.
+The ::HWLOC_OBJ_GROUP type was designed for cases where this set is not sufficient.
+Groups may be used anywhere to add more structure information to the topology,
+for instance to show that 2 out of 4 NUMA nodes are actually closer than the others.
+When applicable, the <tt>Type</tt> info attribute describes why a Group
+was actually added (see also \ref attributes_info).
+
+hwloc currently uses Groups for the following reasons:
+<ul>
+<li>AMD Bulldozer dual-core compute units (<tt>Type=ComputeUnit</tt>, in the x86 backend),
+ but these objects are usually merged with the L2 caches.</li>
+<li>Intel Dies on multi-die CPUs (Linux and x86 backends)
+ and other Extended Topology Enumeration levels (in the x86 backend).</li>
+<li>Windows processor groups (unless they contain a single NUMA node, or a single Package, etc.).</li>
+<li>IBM S/390 "Books" on Linux (<tt>Type=Book</tt>).</li>
+<li>AIX unknown hierarchy levels.</li>
+<li>Distance-based groups made of close objects.</li>
+<li>I/O parents when I/O locality does not match any existing object.</li>
+</ul>
+
+hwloc Groups are only kept if no other object has the same
+locality information.
+It means that a Group containing a single child is merged
+into that child.
+And a Group is merged into its parent if it is its only child.
+For instance a Windows processor group containing a single NUMA node
+would be merged with that NUMA node since it already contains the
+relevant hierarchy information.
+
+
+\subsection faq_asymmetric What happens if my topology is asymmetric?
+
+hwloc supports asymmetric topologies even if most platforms are usually
+symmetric. For example, there could be different types of processors
+in a single machine, each with different numbers of cores, symmetric
+multithreading, or levels of caches.
+
+In practice, asymmetric topologies mostly appear when intermediate groups
+are added for I/O affinity: on a 4-package machine, an I/O bus may be
+connected to 2 packages. These packages are below an additional Group
+object, while the other packages are not (see also \ref faq_groups).
+
+Before hwloc v2.0, hwloc_topology_ignore_type_keep_structure() and
+hwloc_topology_ignore_all_keep_structure() may also make topologies
+assymetric by removing parts of levels, especially when part of the
+machine is disallowed by administrator restrictions
+(e.g. Linux cgroups).
+
+To understand how hwloc manages such cases, one should first remember
+the meaning of levels and cousin objects. All objects of the same type
+are gathered as horizontal levels with a given depth. They are also
+connected through the cousin pointers of the ::hwloc_obj structure.
+Some types, such as Caches or Groups, are annotated with a depth or
+level attribute (for instance L2 cache or Group1). Moreover caches
+have a type attribute (for instance L1i or L1d). Such
+attributes are also taken in account when gathering objects as
+horizontal levels. To be clear: there will be one level for L1i
+caches, another level for L1d caches, another one for L2, etc.
+
+If the topology is asymmetric (e.g., if a group is missing above some
+processors), a given horizontal level will still exist if there
+exist any objects of that type. However, some branches of the overall
+tree may not have an object located in that horizontal level. Note
+that this specific hole within one horizontal level does not imply
+anything for other levels. All objects of the same type are gathered
+in horizontal levels even if their parents or children have different
+depths and types.
+
+See the diagram in \ref termsanddefs for a graphical representation
+of such topologies.
+
+Moreover, it is important to understand that a same parent object may
+have children of different types (and therefore, different
+depths). <strong>These children are therefore siblings (because they
+have the same parent), but they are <em>not</em> cousins (because they
+do not belong to the same horizontal level).</strong>
+
+
+\subsection faq_nosmt What happens to my topology if I disable symmetric multithreading, hyper-threading, etc. in the system?
+
+hwloc creates one PU (processing unit) object per hardware thread.
+If your machine supports symmetric multithreading, for instance Hyper-Threading,
+each Core object may contain multiple PU objects:
+\verbatim
+$ lstopo -
+...
+ Core L#0
+ PU L#0 (P#0)
+ PU L#1 (P#2)
+ Core L#1
+ PU L#2 (P#1)
+ PU L#3 (P#3)
+\endverbatim
+
+x86 machines usually offer the ability to disable hyper-threading in the BIOS.
+Or it can be disabled on the Linux kernel command-line at boot time,
+or later by writing in sysfs virtual files.
+
+If you do so, the hwloc topology structure does not significantly change,
+but some PU objects will not appear anymore.
+No level will disappear, you will see the same number of Core objects,
+but each of them will contain a single PU now.
+The PU level does not disappear either
+(remember that hwloc topologies always contain a PU level at the bottom of the topology)
+even if there is a single PU object per Core parent.
+\verbatim
+$ lstopo -
+...
+ Core L#0
+ PU L#0 (P#0)
+ Core L#1
+ PU L#1 (P#1)
+\endverbatim
+
+
+\subsection faq_smt How may I ignore symmetric multithreading, hyper-threading, etc. in hwloc?
+
+First, see \ref faq_nosmt for more information about multithreading.
+
+If you need to ignore symmetric multithreading in software,
+you should likely manipulate hwloc Core objects directly:
+\verbatim
+/* get the number of cores */
+unsigned nbcores = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_CORE);
+...
+/* get the third core below the first package */
+hwloc_obj_t package, core;
+package = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PACKAGE, 0);
+core = hwloc_get_obj_inside_cpuset_by_type(topology, package->cpuset,
+ HWLOC_OBJ_CORE, 2);
+\endverbatim
+
+Whenever you want to bind a process or thread to a core, make sure you
+singlify its cpuset first, so that the task is actually bound to a single
+thread within this core (to avoid useless migrations).
+\verbatim
+/* bind on the second core */
+hwloc_obj_t core = hwloc_get_obj_by_type(topology, HWLOC_OBJ_CORE, 1);
+hwloc_cpuset_t set = hwloc_bitmap_dup(core->cpuset);
+hwloc_bitmap_singlify(set);
+hwloc_set_cpubind(topology, set, 0);
+hwloc_bitmap_free(set);
+\endverbatim
+
+With hwloc-calc or hwloc-bind command-line tools, you may specify that
+you only want a single-thread within each core by asking for their first
+PU object:
+\verbatim
+$ hwloc-calc core:4-7
+0x0000ff00
+$ hwloc-calc core:4-7.pu:0
+0x00005500
+\endverbatim
+
+When binding a process on the command-line, you may either specify
+the exact thread that you want to use, or ask hwloc-bind to singlify
+the cpuset before binding
+\verbatim
+$ hwloc-bind core:3.pu:0 -- echo "hello from first thread on core #3"
+hello from first thread on core #3
+...
+$ hwloc-bind core:3 --single -- echo "hello from a single thread on core #3"
+hello from a single thread on core #3
+\endverbatim
+
+
+
+\htmlonly
+</div><div class="section" id="faq2">
+\endhtmlonly
+\section faq2 Advanced
+
+
+\subsection faq_xml I do not want hwloc to rediscover my enormous machine topology every time I rerun a process
+
+Although the topology discovery is not expensive on common machines,
+its overhead may become significant when multiple processes repeat
+the discovery on large machines (for instance when starting one process
+per core in a parallel application).
+The machine topology usually does not vary much, except if some cores
+are stopped/restarted or if the administrator restrictions are modified.
+Thus rediscovering the whole topology again and again may look useless.
+
+For this purpose, hwloc offers XML import/export features. It lets you
+save the discovered topology to a file (for instance with the lstopo program)
+and reload it later by setting the HWLOC_XMLFILE environment variable.
+The HWLOC_THISSYSTEM environment variable should also be set to 1 to
+assert that loaded file is really the underlying system.
+
+Loading a XML topology is usually much faster than querying multiple
+files or calling multiple functions of the operating system.
+It is also possible to manipulate such XML files with the C programming
+interface, and the import/export may also be directed to memory buffer
+(that may for instance be transmitted between applications through a package).
+See also \ref xml.
+
+\note The environment variable HWLOC_THISSYSTEM_ALLOWED_RESOURCES
+may be used to load a XML topology that contains the entire machine
+and restrict it to the part that is actually available to the current
+process (e.g. when Linux Cgroup/Cpuset are used to restrict the set
+of resources). See \ref envvar.
+
+
+\subsection faq_multitopo How many topologies may I use in my program?
+
+hwloc lets you manipulate multiple topologies at the same time.
+However these topologies consume memory and system resources
+(for instance file descriptors) until they are destroyed.
+It is therefore discouraged to open the same topology multiple
+times.
+
+Sharing a single topology between threads is easy (see \ref threadsafety)
+since the vast majority of accesses are read-only.
+
+If multiple topologies of different (but similar) nodes are needed
+in your program, have a look at \ref faq_diff.
+
+
+\subsection faq_diff How to avoid memory waste when manipulating multiple similar topologies?
+
+hwloc does not share information between topologies.
+If multiple similar topologies are loaded in memory, for instance
+the topologies of different identical nodes of a cluster,
+lots of information will be duplicated.
+
+hwloc/diff.h (see also \ref hwlocality_diff) offers the ability to
+compute topology differences, apply or unapply them, or export/import
+to/from XML.
+However this feature is limited to basic differences such as attribute changes.
+It does not support complex modifications such as adding or removing some objects.
+
+
+\subsection faq_annotate How do I annotate the topology with private notes?
+
+Each hwloc object contains a <tt>userdata</tt> field that may be used by
+applications to store private pointers. This field is only valid
+during the lifetime of these container object and topology.
+It becomes invalid as soon the topology is destroyed,
+or as soon as the object disappears, for instance when restricting
+the topology.
+The userdata field is not exported/imported to/from XML by default since
+hwloc does not know what it contains.
+This behavior may be changed by specifying application-specific callbacks
+with <tt>hwloc_topology_set_userdata_export_callback()</tt>
+and <tt>hwloc_topology_set_userdata_import_callback()</tt>.
+
+Each object may also contain some <em>info</em> attributes
+(key name and value) that are setup by hwloc during discovery
+and that may be extended by the user with
+<tt>hwloc_obj_add_info()</tt> (see also \ref attributes).
+Contrary to the <tt>userdata</tt> field which is unique, multiple info
+attributes may exist for each object, even with the same name.
+These attributes are always exported to XML.
+However only character strings may be used as key names and values.
+
+It is also possible to insert Misc objects with a custom name
+anywhere as a leaf of the topology (see \ref miscobjs).
+And Misc objects may have their own userdata and info attributes
+just like any other object.
+
+The hwloc-annotate command-line tool may be used for adding
+Misc objects and info attributes.
+
+There is also a topology-specific userdata pointer that can be used
+to recognize different topologies by storing a custom pointer.
+It may be manipulated with <tt>hwloc_topology_set_userdata()</tt>
+and <tt>hwloc_topology_get_userdata()</tt>.
+
+
+
+\htmlonly
+</div><div class="section" id="faq3">
+\endhtmlonly
+\section faq3 Caveats
+
+
+\subsection faq_slow_lstopo Why is hwloc slow?
+
+Building a hwloc topology on a large machine may be slow because
+the discovery of hundreds of hardware cores or threads takes time
+(especially when reading thousands of sysfs files on Linux).
+One should consider using XML (see \ref faq_xml) to work
+around such issues.
+
+Additionally, lstopo enables most hwloc objects and discovery flags
+by default so that the output topology is as precise as possible
+(while hwloc disables many of them by default).
+This includes I/O device discovery through PCI libraries as well as external
+libraries such as NVML.
+To speed up lstopo, you may disable such features with command-line
+options such as <tt>\--no-io</tt>.
+
+When NVIDIA GPU probing is enabled with CUDA or NVML, one should make sure that
+the <em>Persistent</em> mode is enabled (with <tt>nvidia-smi -pm 1</tt>)
+to avoid significant GPU initialization overhead.
+
+When AMD GPU discovery is enabled with OpenCL and hwloc is used remotely
+over ssh, some spurious round-trips on the network may significantly
+increase the discovery time.
+Forcing the <tt>DISPLAY</tt> environment variable to the remote X server
+display (usually <tt>:0</tt>) instead of only setting the <tt>COMPUTE</tt>
+variable may avoid this.
+
+Also remember that these components may be disabled at build-time with
+configure flags such as <tt>\--disable-opencl</tt>, <tt>\--disable-cuda</tt> or <tt>\--disable-nvml</tt>,
+and at runtime with the environment variable
+<tt>HWLOC_COMPONENTS=-opencl,-cuda,-nvml</tt>.
+
+
+\subsection faq_privileged Does hwloc require privileged access?
+
+hwloc discovers the topology by querying the operating system.
+Some minor features may require privileged access to the operation
+system.
+For instance memory module discovery on Linux is reserved to root,
+and the entire PCI discovery on Solaris and BSDs requires access to
+some special files that are usually restricted to root
+(/dev/pci* or /devices/pci*).
+
+To workaround this limitation, it is recommended to export the
+topology as a XML file generated by the administrator (with the
+lstopo program) and make it available to all users
+(see \ref xml).
+It will offer all discovery information to any application without
+requiring any privileged access anymore.
+Only the necessary hardware characteristics will be exported, no
+sensitive information will be disclosed through this XML export.
+
+This XML-based model also has the advantage of speeding up the
+discovery because reading a XML topology is usually much faster
+than querying the operating system again.
+
+The utility <tt>hwloc-dump-hwdata</tt> is also involved in gathering
+privileged information at boot time and making it available to
+non-privileged users (note that this may require a specific SELinux
+MLS policy module). However, it only applies to Intel Xeon Phi processors
+for now (see \ref faq_knl_dump).
+See also <tt>HWLOC_DUMPED_HWDATA_DIR</tt> in \ref envvar for details
+about the location of dumped files.
+
+
+\subsection faq_os_error What should I do when hwloc reports "operating system" warnings?
+
+When the operating system reports invalid locality information (because
+of either software or hardware bugs), hwloc may fail to insert some objects
+in the topology because they cannot fit in the already built tree of resources.
+If so, hwloc will report a warning like the following.
+The object causing this error is ignored, the discovery continues but the
+resulting topology will miss some objects and may be asymmetric
+(see also \ref faq_asymmetric).
+
+\verbatim
+****************************************************************************
+* hwloc received invalid information from the operating system.
+*
+* L3 (cpuset 0x000003f0) intersects with NUMANode (P#0 cpuset 0x0000003f) without inclusion!
+* Error occurred in topology.c line 940
+*
+* Please report this error message to the hwloc user's mailing list,
+* along with the files generated by the hwloc-gather-topology script.
+*
+* hwloc will now ignore this invalid topology information and continue.
+****************************************************************************
+\endverbatim
+
+These errors are common on large AMD platforms because of BIOS and/or Linux
+kernel bugs causing invalid L3 cache information.
+In the above example, the hardware reports
+a L3 cache that is shared by 2 cores in the first NUMA node and 4 cores
+in the second NUMA node. That's wrong, it should actually be shared by all 6
+cores in a single NUMA node.
+The resulting topology will miss some L3 caches.
+
+If your application does not care about cache sharing, or if you do not plan to
+request cache-aware binding in your process launcher, you may likely ignore
+this error (and hide it by setting HWLOC_HIDE_ERRORS=1 in your environment).
+
+Some platforms report similar warnings about conflicting Packages and NUMANodes.
+
+On x86 hosts, passing <tt>HWLOC_COMPONENTS=x86</tt> in the environment may
+workaround some of these issues by switching to a different way to discover the topology.
+
+Upgrading the BIOS and/or the operating system may help.
+Otherwise, as explained in the message, reporting this issue to the hwloc developers
+(by sending the tarball that is generated by the hwloc-gather-topology script
+ on this platform) is a good way to make sure that this is a software
+(operating system) or hardware bug (BIOS, etc).
+
+See also \ref bugs. Opening an issue on GitHub automatically displays hints
+on what information you should provide when reporting such bugs.
+
+
+\subsection faq_valgrind Why does Valgrind complain about hwloc memory leaks?
+
+If you are debugging your application with Valgrind, you want to
+avoid memory leak reports that are caused by hwloc and not by your
+program.
+
+hwloc itself is often checked with Valgrind to make sure it does
+not leak memory.
+However some global variables in hwloc dependencies are never freed.
+For instance libz allocates its global state once at startup and
+never frees it so that it may be reused later.
+Some libxml2 global state is also never freed because hwloc does not
+know whether it can safely ask libxml2 to free it (the application may
+also be using libxml2 outside of hwloc).
+
+These unfreed variables cause leak reports in Valgrind.
+hwloc installs a Valgrind <em>suppressions</em> file to hide them.
+You should pass the following command-line option to Valgrind to use it:
+\verbatim
+ --suppressions=/path/to/hwloc-valgrind.supp
+\endverbatim
+
+
+\subsection faq_upgrade How do I handle ABI breaks and API upgrades?
+
+The hwloc interface is extended with every new major release.
+Any application using the hwloc API should be prepared to check at
+compile-time whether some features are available in the currently
+installed hwloc distribution.
+
+For instance, to check whether the hwloc version is at least 1.10, you should use:
+\verbatim
+#include <hwloc.h>
+#if HWLOC_API_VERSION >= 0x00010a00
+...
+#endif
+\endverbatim
+
+To check for the API of release X.Y.Z at build time,
+you may compare ::HWLOC_API_VERSION with <tt>(X<<16)+(Y<<8)+Z</tt>.
+
+For supporting older releases that do not have <tt>HWLOC_OBJ_NUMANODE</tt>
+and <tt>HWLOC_OBJ_PACKAGE</tt> yet, you may use:
+
+\verbatim
+#include <hwloc.h>
+#if HWLOC_API_VERSION < 0x00010b00
+#define HWLOC_OBJ_NUMANODE HWLOC_OBJ_NODE
+#define HWLOC_OBJ_PACKAGE HWLOC_OBJ_SOCKET
+#endif
+\endverbatim
+
+The hwloc interface will be deeply modified in release 2.0
+to fix several issues of the 1.x interface.
+The ABI will be broken, which means
+<b>applications must be recompiled against the new 2.0 interface</b>.
+
+To check that you are not mixing old/recent headers with a recent/old runtime library,
+check the major revision number in the API version:
+\verbatim
+#include <hwloc.h>
+ unsigned version = hwloc_get_api_version();
+ if ((version >> 16) != (HWLOC_API_VERSION >> 16)) {
+ fprintf(stderr,
+ "%s compiled for hwloc API 0x%x but running on library API 0x%x.\n"
+ "You may need to point LD_LIBRARY_PATH to the right hwloc library.\n"
+ "Aborting since the new ABI is not backward compatible.\n",
+ callname, HWLOC_API_VERSION, version);
+ exit(EXIT_FAILURE);
+ }
+\endverbatim
+To specifically detect v2.0 issues:
+\verbatim
+#include <hwloc.h>
+#if HWLOC_API_VERSION >= 0x00020000
+ /* headers are recent */
+ if (hwloc_get_api_version() < 0x20000)
+ ... error out, the hwloc runtime library is older than 2.0 ...
+#else
+ /* headers are pre-2.0 */
+ if (hwloc_get_api_version() >= 0x20000)
+ ... error out, the hwloc runtime library is more recent than 2.0 ...
+#endif
+\endverbatim
+
+You should not try to remain compatible with very old releases such as
+1.1.x or earlier because <tt>::HWLOC_API_VERSION</tt> was added in 1.0.0
+and <tt>hwloc_get_api_version()</tt> came only in 1.1.1.
+Also do not use the old cpuset API since it was deprecated and superseded
+by the bitmap API in 1.1, and later removed in 1.5.
+
+
+
+\htmlonly
+</div><div class="section" id="faq4">
+\endhtmlonly
+\section faq4 Platform-specific
+
+
+\subsection faq_knl_numa How do I find the local MCDRAM NUMA node on Intel Xeon Phi processor?
+
+Intel Xeon Phi processors introduced a new memory architecture by
+possibly having two distinct local memories:
+some normal memory (DDR) and some high-bandwidth on-package memory (MCDRAM).
+Processors can be configured in various clustering modes to have up to 4 <em>Clusters</em>.
+Moreover, each <em>Cluster</em> (quarter, half or whole processor) of the processor may have its own local
+parts of the DDR and of the MCDRAM.
+This memory and clustering configuration may be probed by looking at MemoryMode
+and ClusterMode attributes, see \ref attributes_info and doc/examples/get-knl-modes.c
+in the source directory.
+
+The upcoming hwloc 2.0 will address this new architecture by presenting memory
+in an improved way.
+For now, starting with 1.11.2, hwloc releases use the following approximate representation:
+
+If a cluster only contains DDR or MCDRAM but not both, that memory is available
+as a local NUMA node above cores as usual.
+
+If a cluster contains both, two distinct NUMA nodes appear.
+They are sibling children of a Group object of type <tt>Cluster</tt>
+(or sibling children of the Package object for non-clustered processors).
+
+The DDR memory is the local NUMA node above cores as usual.
+Allocating memory from one core to its local NUMA node will therefore actually
+allocate it on the normal memory by default.
+
+The local high-bandwidth MCDRAM is the second NUMA node (without any Core or PU below it).
+It is the next sibling of the local DDR NUMA node below the same parent object.
+To allocate on the faster MCDRAM, one should first find the local NUMA node (the DDR memory,
+by looking up parent objects), and then take the next sibling to reach the local MCDRAM
+NUMA node (if any).
+
+The MCDRAM NUMA nodes may also be identified thanks to the <tt>Type</tt> info attribute
+which is set to <tt>MCDRAM</tt>.
+
+Command-line tools such as <tt>hwloc-bind</tt> may bind memory on the MCDRAM by
+using the <i>hbm</i> keyword. For instance, to bind on the first MCDRAM NUMA node:
+
+\verbatim
+$ hwloc-bind --membind --hbm numa:0 -- myprogram
+$ hwloc-bind --membind numa:0 -- myprogram
+\endverbatim
+
+
+\subsection faq_knl_dump Why do I need hwloc-dump-hwdata for memory on Intel Xeon Phi processor?
+
+Intel Xeon Phi processors may use the on-package memory (MCDRAM)
+as either memory or a memory-side cache (currently reported as a L3 cache by hwloc).
+There are also several clustering modes that significantly affect the memory organization
+(see \ref faq_knl_numa for more information about these modes).
+Details about these are currently only available to privileged users.
+Without them, hwloc relies on a heuristic for guessing the modes.
+
+The hwloc-dump-hwdata utility may be used to dump this privileged binary information
+into human-readable and world-accessible files that the hwloc library will later load.
+The utility should usually run as root once during boot, in order to update dumped
+information (stored under /var/run/hwloc by default) in case the MCDRAM or clustering configuration
+changed between reboots.
+
+When SELinux MLS policy is enabled, a specific hwloc policy module may be required
+so that all users get access to the dumped files (in /var/run/hwloc by default).
+One may use hwloc policy files from the SELinux Reference Policy at
+https://github.com/TresysTechnology/refpolicy-contrib
+(see also the documentation at https://github.com/TresysTechnology/refpolicy/wiki/GettingStarted).
+
+hwloc-dump-hwdata requires <tt>dmi-sysfs</tt> kernel module loaded.
+
+The utility is currently unneeded on platforms without Intel Xeon Phi processors.
+
+See <tt>HWLOC_DUMPED_HWDATA_DIR</tt> in \ref envvar for details
+about the location of dumped files.
+
+
+\subsection faq_phi How do I build for Intel Xeon Phi coprocessor?
+
+\note This section does not apply to standalone Intel Xeon Phi processors (Knights Landing and Knights Mill).
+
+Intel Xeon Phi coprocessors (Knights Corner) usually runs a Linux environment
+but cross-compiling from the host is required.
+hwloc uses standard autotools options for cross-compiling.
+
+If building with <tt>icc</tt>:
+\verbatim
+./configure CC="icc -mmic" --host=x86_64-k1om-linux --build=x86_64-unknown-linux-gnu
+\endverbatim
+
+If building with the Xeon Phi-specific GCC that comes with the MPSS environment,
+for instance <tt>/usr/linux-k1om-4.7/bin/x86_64-k1om-linux-gcc</tt>:
+\verbatim
+export PATH=$PATH:/usr/linux-k1om-4.7/bin/
+./configure --host=x86_64-k1om-linux --build=x86_64-unknown-linux-gnu
+\endverbatim
+
+
+\subsection faq_bgq How do I build hwloc for BlueGene/Q?
+
+IBM BlueGene/Q machines run a standard Linux on the login/frontend nodes
+and a custom CNK (<em>Compute Node Kernel</em>) on the compute nodes.
+
+To discover the topology of a login/frontend node, hwloc should be
+configured as usual, without any BlueGene/Q-specific option.
+
+However, one would likely rather discover the topology of the compute nodes
+where parallel jobs are actually running.
+If so, hwloc must be cross-compiled with the following configuration line:
+\verbatim
+./configure --host=powerpc64-bgq-linux --disable-shared --enable-static \
+ CPPFLAGS='-I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk/'
+\endverbatim
+
+CPPFLAGS may have to be updated if your platform headers are installed
+in a different directory.
+
+
+\subsection faq_windows How do I build hwloc for Windows?
+
+hwloc releases are available as pre-built ZIPs for Windows on both 32bits and
+64bits x86 platforms.
+They are built using MSYS2 and MinGW on a Windows host.
+Such an environment allows using the Unix-like <tt>configure</tt>, <tt>make</tt>
+and <tt>make install</tt> steps without having to tweak too many variables or options.
+One may look at <tt>contrib/ci.inria.fr/job-3-mingw.sh</tt> in the hwloc
+repository for an example used for nightly testing.
+
+hwloc releases also contain a basic Microsoft Visual Studio solution
+under <tt>contrib/windows/</tt>.
+
+
+\subsection faq_netbsd_bind How to get useful topology information on NetBSD?
+
+The NetBSD (and FreeBSD) backend uses x86-specific topology discovery
+(through the x86 component).
+This implementation requires CPU binding so as to query topology
+information from each individual logical processor.
+This means that hwloc cannot find any useful topology information
+unless user-level process binding is allowed by the NetBSD kernel.
+The <tt>security.models.extensions.user_set_cpu_affinity</tt>
+sysctl variable must be set to 1 to do so.
+Otherwise, only the number of logical processors will be detected.
+
+
+\subsection faq_aix_bind Why does binding fail on AIX?
+
+The AIX operating system requires specific user capabilities for
+attaching processes to resource sets (CAP_NUMA_ATTACH).
+Otherwise functions such as hwloc_set_cpubind() fail (return -1 with errno set to EPERM).
+
+This capability must also be inherited (through the additional CAP_PROPAGATE capability)
+if you plan to bind a process before forking another process,
+for instance with <tt>hwloc-bind</tt>.
+
+These capabilities may be given by the administrator with:
+\verbatim
+chuser "capabilities=CAP_PROPAGATE,CAP_NUMA_ATTACH" <username>
+\endverbatim
+
+
+*/
--- /dev/null
+%!PS-Adobe-3.0 EPSF-3.0
+%%Title: images/diagram.fig
+%%Creator: /usr/bin/fig2dev Version 3.2 Patchlevel 5e
+%%CreationDate: Thu Oct 15 15:51:07 2015
+%%BoundingBox: 0 0 671 688
+%Magnification: 1.0000
+%%EndComments
+%%BeginProlog
+/$F2psDict 200 dict def
+$F2psDict begin
+$F2psDict /mtrx matrix put
+/col-1 {0 setgray} bind def
+/col0 {0.000 0.000 0.000 srgb} bind def
+/col1 {0.000 0.000 1.000 srgb} bind def
+/col2 {0.000 1.000 0.000 srgb} bind def
+/col3 {0.000 1.000 1.000 srgb} bind def
+/col4 {1.000 0.000 0.000 srgb} bind def
+/col5 {1.000 0.000 1.000 srgb} bind def
+/col6 {1.000 1.000 0.000 srgb} bind def
+/col7 {1.000 1.000 1.000 srgb} bind def
+/col8 {0.000 0.000 0.560 srgb} bind def
+/col9 {0.000 0.000 0.690 srgb} bind def
+/col10 {0.000 0.000 0.820 srgb} bind def
+/col11 {0.530 0.810 1.000 srgb} bind def
+/col12 {0.000 0.560 0.000 srgb} bind def
+/col13 {0.000 0.690 0.000 srgb} bind def
+/col14 {0.000 0.820 0.000 srgb} bind def
+/col15 {0.000 0.560 0.560 srgb} bind def
+/col16 {0.000 0.690 0.690 srgb} bind def
+/col17 {0.000 0.820 0.820 srgb} bind def
+/col18 {0.560 0.000 0.000 srgb} bind def
+/col19 {0.690 0.000 0.000 srgb} bind def
+/col20 {0.820 0.000 0.000 srgb} bind def
+/col21 {0.560 0.000 0.560 srgb} bind def
+/col22 {0.690 0.000 0.690 srgb} bind def
+/col23 {0.820 0.000 0.820 srgb} bind def
+/col24 {0.500 0.190 0.000 srgb} bind def
+/col25 {0.630 0.250 0.000 srgb} bind def
+/col26 {0.750 0.380 0.000 srgb} bind def
+/col27 {1.000 0.500 0.500 srgb} bind def
+/col28 {1.000 0.630 0.630 srgb} bind def
+/col29 {1.000 0.750 0.750 srgb} bind def
+/col30 {1.000 0.880 0.880 srgb} bind def
+/col31 {1.000 0.840 0.000 srgb} bind def
+
+end
+
+/cp {closepath} bind def
+/ef {eofill} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth} bind def
+/tr {translate} bind def
+/tnt {dup dup currentrgbcolor
+ 4 -2 roll dup 1 exch sub 3 -1 roll mul add
+ 4 -2 roll dup 1 exch sub 3 -1 roll mul add
+ 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
+ bind def
+/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
+ 4 -2 roll mul srgb} bind def
+/reencdict 12 dict def /ReEncode { reencdict begin
+/newcodesandnames exch def /newfontname exch def /basefontname exch def
+/basefontdict basefontname findfont def /newfont basefontdict maxlength dict def
+basefontdict { exch dup /FID ne { dup /Encoding eq
+{ exch dup length array copy newfont 3 1 roll put }
+{ exch newfont 3 1 roll put } ifelse } { pop pop } ifelse } forall
+newfont /FontName newfontname put newcodesandnames aload pop
+128 1 255 { newfont /Encoding get exch /.notdef put } for
+newcodesandnames length 2 idiv { newfont /Encoding get 3 1 roll put } repeat
+newfontname newfont definefont pop end } def
+/isovec [
+8#055 /minus 8#200 /grave 8#201 /acute 8#202 /circumflex 8#203 /tilde
+8#204 /macron 8#205 /breve 8#206 /dotaccent 8#207 /dieresis
+8#210 /ring 8#211 /cedilla 8#212 /hungarumlaut 8#213 /ogonek 8#214 /caron
+8#220 /dotlessi 8#230 /oe 8#231 /OE
+8#240 /space 8#241 /exclamdown 8#242 /cent 8#243 /sterling
+8#244 /currency 8#245 /yen 8#246 /brokenbar 8#247 /section 8#250 /dieresis
+8#251 /copyright 8#252 /ordfeminine 8#253 /guillemotleft 8#254 /logicalnot
+8#255 /hyphen 8#256 /registered 8#257 /macron 8#260 /degree 8#261 /plusminus
+8#262 /twosuperior 8#263 /threesuperior 8#264 /acute 8#265 /mu 8#266 /paragraph
+8#267 /periodcentered 8#270 /cedilla 8#271 /onesuperior 8#272 /ordmasculine
+8#273 /guillemotright 8#274 /onequarter 8#275 /onehalf
+8#276 /threequarters 8#277 /questiondown 8#300 /Agrave 8#301 /Aacute
+8#302 /Acircumflex 8#303 /Atilde 8#304 /Adieresis 8#305 /Aring
+8#306 /AE 8#307 /Ccedilla 8#310 /Egrave 8#311 /Eacute
+8#312 /Ecircumflex 8#313 /Edieresis 8#314 /Igrave 8#315 /Iacute
+8#316 /Icircumflex 8#317 /Idieresis 8#320 /Eth 8#321 /Ntilde 8#322 /Ograve
+8#323 /Oacute 8#324 /Ocircumflex 8#325 /Otilde 8#326 /Odieresis 8#327 /multiply
+8#330 /Oslash 8#331 /Ugrave 8#332 /Uacute 8#333 /Ucircumflex
+8#334 /Udieresis 8#335 /Yacute 8#336 /Thorn 8#337 /germandbls 8#340 /agrave
+8#341 /aacute 8#342 /acircumflex 8#343 /atilde 8#344 /adieresis 8#345 /aring
+8#346 /ae 8#347 /ccedilla 8#350 /egrave 8#351 /eacute
+8#352 /ecircumflex 8#353 /edieresis 8#354 /igrave 8#355 /iacute
+8#356 /icircumflex 8#357 /idieresis 8#360 /eth 8#361 /ntilde 8#362 /ograve
+8#363 /oacute 8#364 /ocircumflex 8#365 /otilde 8#366 /odieresis 8#367 /divide
+8#370 /oslash 8#371 /ugrave 8#372 /uacute 8#373 /ucircumflex
+8#374 /udieresis 8#375 /yacute 8#376 /thorn 8#377 /ydieresis] def
+/Times-Roman /Times-Roman-iso isovec ReEncode
+/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
+/$F2psEnd {$F2psEnteredState restore end} def
+
+/pageheader {
+save
+newpath 0 688 moveto 0 0 lineto 671 0 lineto 671 688 lineto closepath clip newpath
+-47.2 729.3 translate
+1 -1 scale
+$F2psBegin
+10 setmiterlimit
+0 slj 0 slc
+ 0.06299 0.06299 sc
+} bind def
+/pagefooter {
+$F2psEnd
+restore
+} bind def
+%%EndProlog
+pageheader
+%
+% Fig objects follow
+%
+%
+% here starts figure with depth 50
+% Polyline
+0 slj
+0 slc
+7.500 slw
+n 3060 3330 m
+ 4500 3330 l gs col0 s gr
+% Polyline
+n 3165 3060 m 3060 3060 3060 4395 105 arcto 4 {pop} repeat
+ 3060 4500 4395 4500 105 arcto 4 {pop} repeat
+ 4500 4500 4500 3165 105 arcto 4 {pop} repeat
+ 4500 3060 3165 3060 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+gs clippath
+8279 3630 m 8430 3630 l 8430 3570 l 8279 3570 l 8279 3570 l 8399 3600 l 8279 3630 l cp
+eoclip
+n 4500 3600 m
+ 8415 3600 l gs col0 s gr gr
+
+% arrowhead
+n 8279 3630 m 8399 3600 l 8279 3570 l 8279 3630 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+4636 3660 m 4485 3660 l 4485 3720 l 4636 3720 l 4636 3720 l 4516 3690 l 4636 3660 l cp
+eoclip
+n 8415 3690 m
+ 4500 3690 l gs col0 s gr gr
+
+% arrowhead
+n 4636 3660 m 4516 3690 l 4636 3720 l 4636 3660 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+4229 5880 m 4380 5880 l 4380 5820 l 4229 5820 l 4229 5820 l 4349 5850 l 4229 5880 l cp
+eoclip
+n 3105 5850 m
+ 4365 5850 l gs col0 s gr gr
+
+% arrowhead
+n 4229 5880 m 4349 5850 l 4229 5820 l 4229 5880 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+3241 5910 m 3090 5910 l 3090 5970 l 3241 5970 l 3241 5970 l 3121 5940 l 3241 5910 l cp
+eoclip
+n 4365 5940 m
+ 3105 5940 l gs col0 s gr gr
+
+% arrowhead
+n 3241 5910 m 3121 5940 l 3241 5970 l 3241 5910 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+4229 6510 m 4380 6510 l 4380 6450 l 4229 6450 l 4229 6450 l 4349 6480 l 4229 6510 l cp
+eoclip
+n 3105 6480 m
+ 4365 6480 l gs col0 s gr gr
+
+% arrowhead
+n 4229 6510 m 4349 6480 l 4229 6450 l 4229 6510 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+3241 6540 m 3090 6540 l 3090 6600 l 3241 6600 l 3241 6600 l 3121 6570 l 3241 6540 l cp
+eoclip
+n 4365 6570 m
+ 3105 6570 l gs col0 s gr gr
+
+% arrowhead
+n 3241 6540 m 3121 6570 l 3241 6600 l 3241 6540 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+6929 6510 m 7080 6510 l 7080 6450 l 6929 6450 l 6929 6450 l 7049 6480 l 6929 6510 l cp
+eoclip
+n 5805 6480 m
+ 7065 6480 l gs col0 s gr gr
+
+% arrowhead
+n 6929 6510 m 7049 6480 l 6929 6450 l 6929 6510 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5941 6540 m 5790 6540 l 5790 6600 l 5941 6600 l 5941 6600 l 5821 6570 l 5941 6540 l cp
+eoclip
+n 7065 6570 m
+ 5805 6570 l gs col0 s gr gr
+
+% arrowhead
+n 5941 6540 m 5821 6570 l 5941 6600 l 5941 6540 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 9765 8010 m
+ 11205 8010 l gs col0 s gr
+% Polyline
+n 9870 7740 m 9765 7740 9765 9075 105 arcto 4 {pop} repeat
+ 9765 9180 11100 9180 105 arcto 4 {pop} repeat
+ 11205 9180 11205 7845 105 arcto 4 {pop} repeat
+ 11205 7740 9870 7740 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+gs clippath
+6929 8850 m 7080 8850 l 7080 8790 l 6929 8790 l 6929 8790 l 7049 8820 l 6929 8850 l cp
+eoclip
+n 5805 8820 m
+ 7065 8820 l gs col0 s gr gr
+
+% arrowhead
+n 6929 8850 m 7049 8820 l 6929 8790 l 6929 8850 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5941 8880 m 5790 8880 l 5790 8940 l 5941 8940 l 5941 8940 l 5821 8910 l 5941 8880 l cp
+eoclip
+n 7065 8910 m
+ 5805 8910 l gs col0 s gr gr
+
+% arrowhead
+n 5941 8880 m 5821 8910 l 5941 8940 l 5941 8880 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 9765 10350 m
+ 11205 10350 l gs col0 s gr
+% Polyline
+n 9870 10080 m 9765 10080 9765 11415 105 arcto 4 {pop} repeat
+ 9765 11520 11100 11520 105 arcto 4 {pop} repeat
+ 11205 11520 11205 10185 105 arcto 4 {pop} repeat
+ 11205 10080 9870 10080 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+gs clippath
+4229 11190 m 4380 11190 l 4380 11130 l 4229 11130 l 4229 11130 l 4349 11160 l 4229 11190 l cp
+eoclip
+n 3105 11160 m
+ 4365 11160 l gs col0 s gr gr
+
+% arrowhead
+n 4229 11190 m 4349 11160 l 4229 11130 l 4229 11190 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+3241 11220 m 3090 11220 l 3090 11280 l 3241 11280 l 3241 11280 l 3121 11250 l 3241 11220 l cp
+eoclip
+n 4365 11250 m
+ 3105 11250 l gs col0 s gr gr
+
+% arrowhead
+n 3241 11220 m 3121 11250 l 3241 11280 l 3241 11220 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+6929 11190 m 7080 11190 l 7080 11130 l 6929 11130 l 6929 11130 l 7049 11160 l 6929 11190 l cp
+eoclip
+n 5805 11160 m
+ 7065 11160 l gs col0 s gr gr
+
+% arrowhead
+n 6929 11190 m 7049 11160 l 6929 11130 l 6929 11190 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5941 11220 m 5790 11220 l 5790 11280 l 5941 11280 l 5941 11280 l 5821 11250 l 5941 11220 l cp
+eoclip
+n 7065 11250 m
+ 5805 11250 l gs col0 s gr gr
+
+% arrowhead
+n 5941 11220 m 5821 11250 l 5941 11280 l 5941 11220 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+9629 11190 m 9780 11190 l 9780 11130 l 9629 11130 l 9629 11130 l 9749 11160 l 9629 11190 l cp
+eoclip
+n 8505 11160 m
+ 9765 11160 l gs col0 s gr gr
+
+% arrowhead
+n 9629 11190 m 9749 11160 l 9629 11130 l 9629 11190 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+8641 11220 m 8490 11220 l 8490 11280 l 8641 11280 l 8641 11280 l 8521 11250 l 8641 11220 l cp
+eoclip
+n 9765 11250 m
+ 8505 11250 l gs col0 s gr gr
+
+% arrowhead
+n 8641 11220 m 8521 11250 l 8641 11280 l 8641 11220 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 5715 990 m
+ 7155 990 l gs col0 s gr
+% Polyline
+n 5820 720 m 5715 720 5715 2055 105 arcto 4 {pop} repeat
+ 5715 2160 7050 2160 105 arcto 4 {pop} repeat
+ 7155 2160 7155 825 105 arcto 4 {pop} repeat
+ 7155 720 5820 720 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+gs clippath
+7782 5287 m 7656 5371 l 7690 5421 l 7815 5337 l 7815 5337 l 7699 5379 l 7782 5287 l cp
+eoclip
+n 9036 4488 m
+ 7686 5388 l gs col0 s gr gr
+
+% arrowhead
+n 7782 5287 m 7699 5379 l 7815 5337 l 7782 5287 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+9038 4600 m 9164 4516 l 9130 4466 l 9005 4550 l 9005 4550 l 9122 4509 l 9038 4600 l cp
+eoclip
+n 9135 4500 m
+ 7785 5400 l gs col0 s gr gr
+
+% arrowhead
+n 9038 4600 m 9122 4509 l 9005 4550 l 9038 4600 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 8415 3330 m
+ 9855 3330 l gs col0 s gr
+% Polyline
+n 8520 3060 m 8415 3060 8415 4395 105 arcto 4 {pop} repeat
+ 8415 4500 9750 4500 105 arcto 4 {pop} repeat
+ 9855 4500 9855 3165 105 arcto 4 {pop} repeat
+ 9855 3060 8520 3060 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+gs clippath
+6315 2231 m 6458 2183 l 6439 2126 l 6296 2174 l 6296 2174 l 6420 2165 l 6315 2231 l cp
+eoclip
+n 6435 2160 m
+ 3735 3060 l gs col0 s gr gr
+
+% arrowhead
+n 6315 2231 m 6420 2165 l 6296 2174 l 6315 2231 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+3629 2988 m 3486 3036 l 3505 3093 l 3648 3045 l 3648 3045 l 3525 3055 l 3629 2988 l cp
+eoclip
+n 6210 2160 m
+ 3510 3060 l gs col0 s gr gr
+
+% arrowhead
+n 3629 2988 m 3525 3055 l 3648 3045 l 3629 2988 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+8279 4080 m 8430 4080 l 8430 4020 l 8279 4020 l 8279 4020 l 8399 4050 l 8279 4080 l cp
+eoclip
+n 4500 4050 m
+ 8415 4050 l gs col0 s gr gr
+
+% arrowhead
+n 8279 4080 m 8399 4050 l 8279 4020 l 8279 4080 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+4636 4110 m 4485 4110 l 4485 4170 l 4636 4170 l 4636 4170 l 4516 4140 l 4636 4110 l cp
+eoclip
+n 8415 4140 m
+ 4500 4140 l gs col0 s gr gr
+
+% arrowhead
+n 4636 4110 m 4516 4140 l 4636 4170 l 4636 4110 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5051 5341 m 5176 5425 l 5210 5375 l 5084 5291 l 5084 5291 l 5168 5383 l 5051 5341 l cp
+eoclip
+n 3831 4492 m
+ 5181 5392 l gs col0 s gr gr
+
+% arrowhead
+n 5051 5341 m 5168 5383 l 5084 5291 l 5051 5341 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+2382 5287 m 2256 5371 l 2290 5421 l 2415 5337 l 2415 5337 l 2299 5379 l 2382 5287 l cp
+eoclip
+n 3636 4488 m
+ 2286 5388 l gs col0 s gr gr
+
+% arrowhead
+n 2382 5287 m 2299 5379 l 2415 5337 l 2382 5287 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+3864 4550 m 3739 4466 l 3705 4516 l 3831 4600 l 3831 4600 l 3748 4509 l 3864 4550 l cp
+eoclip
+n 5085 5400 m
+ 3735 4500 l gs col0 s gr gr
+
+% arrowhead
+n 3864 4550 m 3748 4509 l 3831 4600 l 3864 4550 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+3638 4600 m 3764 4516 l 3730 4466 l 3605 4550 l 3605 4550 l 3722 4509 l 3638 4600 l cp
+eoclip
+n 3735 4500 m
+ 2385 5400 l gs col0 s gr gr
+
+% arrowhead
+n 3638 4600 m 3722 4509 l 3605 4550 l 3638 4600 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+9221 3045 m 9364 3093 l 9383 3036 l 9240 2988 l 9240 2988 l 9345 3055 l 9221 3045 l cp
+eoclip
+n 6660 2160 m
+ 9360 3060 l gs col0 s gr gr
+
+% arrowhead
+n 9221 3045 m 9345 3055 l 9240 2988 l 9221 3045 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+6573 2174 m 6430 2126 l 6411 2183 l 6554 2231 l 6554 2231 l 6450 2165 l 6573 2174 l cp
+eoclip
+n 6435 2160 m
+ 9135 3060 l gs col0 s gr gr
+
+% arrowhead
+n 6573 2174 m 6450 2165 l 6554 2231 l 6573 2174 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 10080 3015 m 2835 3015 l 2835 4545 l 10080 4545 l
+ cp gs col4 s gr
+% Polyline
+n 7380 675 m 5490 675 l 5490 2205 l 7380 2205 l
+ cp gs col4 s gr
+% Polyline
+n 4365 5670 m
+ 5805 5670 l gs col0 s gr
+% Polyline
+n 4470 5400 m 4365 5400 4365 6735 105 arcto 4 {pop} repeat
+ 4365 6840 5700 6840 105 arcto 4 {pop} repeat
+ 5805 6840 5805 5505 105 arcto 4 {pop} repeat
+ 5805 5400 4470 5400 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+n 7065 5670 m
+ 8505 5670 l gs col0 s gr
+% Polyline
+n 1665 5670 m
+ 3105 5670 l gs col0 s gr
+% Polyline
+n 1770 5400 m 1665 5400 1665 6735 105 arcto 4 {pop} repeat
+ 1665 6840 3000 6840 105 arcto 4 {pop} repeat
+ 3105 6840 3105 5505 105 arcto 4 {pop} repeat
+ 3105 5400 1770 5400 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+n 7170 5400 m 7065 5400 7065 6735 105 arcto 4 {pop} repeat
+ 7065 6840 8400 6840 105 arcto 4 {pop} repeat
+ 8505 6840 8505 5505 105 arcto 4 {pop} repeat
+ 8505 5400 7170 5400 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+gs clippath
+2310 7604 m 2310 7755 l 2370 7755 l 2370 7604 l 2370 7604 l 2340 7724 l 2310 7604 l cp
+eoclip
+n 2340 6840 m
+ 2340 7740 l gs col0 s gr gr
+
+% arrowhead
+n 2310 7604 m 2340 7724 l 2370 7604 l 2310 7604 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+2460 6976 m 2460 6825 l 2400 6825 l 2400 6976 l 2400 6976 l 2430 6856 l 2460 6976 l cp
+eoclip
+n 2430 6840 m
+ 2430 7740 l gs col0 s gr gr
+
+% arrowhead
+n 2460 6976 m 2430 6856 l 2400 6976 l 2460 6976 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5010 7604 m 5010 7755 l 5070 7755 l 5070 7604 l 5070 7604 l 5040 7724 l 5010 7604 l cp
+eoclip
+n 5040 6840 m
+ 5040 7740 l gs col0 s gr gr
+
+% arrowhead
+n 5010 7604 m 5040 7724 l 5070 7604 l 5010 7604 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5160 6976 m 5160 6825 l 5100 6825 l 5100 6976 l 5100 6976 l 5130 6856 l 5160 6976 l cp
+eoclip
+n 5130 6840 m
+ 5130 7740 l gs col0 s gr gr
+
+% arrowhead
+n 5160 6976 m 5130 6856 l 5100 6976 l 5160 6976 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+7710 7604 m 7710 7755 l 7770 7755 l 7770 7604 l 7770 7604 l 7740 7724 l 7710 7604 l cp
+eoclip
+n 7740 6840 m
+ 7740 7740 l gs col0 s gr gr
+
+% arrowhead
+n 7710 7604 m 7740 7724 l 7770 7604 l 7710 7604 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+7860 6976 m 7860 6825 l 7800 6825 l 7800 6976 l 7800 6976 l 7830 6856 l 7860 6976 l cp
+eoclip
+n 7830 6840 m
+ 7830 7740 l gs col0 s gr gr
+
+% arrowhead
+n 7860 6976 m 7830 6856 l 7800 6976 l 7860 6976 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 4365 8010 m
+ 5805 8010 l gs col0 s gr
+% Polyline
+n 4470 7740 m 4365 7740 4365 9075 105 arcto 4 {pop} repeat
+ 4365 9180 5700 9180 105 arcto 4 {pop} repeat
+ 5805 9180 5805 7845 105 arcto 4 {pop} repeat
+ 5805 7740 4470 7740 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+n 7065 8010 m
+ 8505 8010 l gs col0 s gr
+% Polyline
+n 1665 8010 m
+ 3105 8010 l gs col0 s gr
+% Polyline
+n 1770 7740 m 1665 7740 1665 9075 105 arcto 4 {pop} repeat
+ 1665 9180 3000 9180 105 arcto 4 {pop} repeat
+ 3105 9180 3105 7845 105 arcto 4 {pop} repeat
+ 3105 7740 1770 7740 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+n 7170 7740 m 7065 7740 7065 9075 105 arcto 4 {pop} repeat
+ 7065 9180 8400 9180 105 arcto 4 {pop} repeat
+ 8505 9180 8505 7845 105 arcto 4 {pop} repeat
+ 8505 7740 7170 7740 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+gs clippath
+2310 9944 m 2310 10095 l 2370 10095 l 2370 9944 l 2370 9944 l 2340 10064 l 2310 9944 l cp
+eoclip
+n 2340 9180 m
+ 2340 10080 l gs col0 s gr gr
+
+% arrowhead
+n 2310 9944 m 2340 10064 l 2370 9944 l 2310 9944 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+2460 9316 m 2460 9165 l 2400 9165 l 2400 9316 l 2400 9316 l 2430 9196 l 2460 9316 l cp
+eoclip
+n 2430 9180 m
+ 2430 10080 l gs col0 s gr gr
+
+% arrowhead
+n 2460 9316 m 2430 9196 l 2400 9316 l 2460 9316 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5010 9944 m 5010 10095 l 5070 10095 l 5070 9944 l 5070 9944 l 5040 10064 l 5010 9944 l cp
+eoclip
+n 5040 9180 m
+ 5040 10080 l gs col0 s gr gr
+
+% arrowhead
+n 5010 9944 m 5040 10064 l 5070 9944 l 5010 9944 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+5160 9316 m 5160 9165 l 5100 9165 l 5100 9316 l 5100 9316 l 5130 9196 l 5160 9316 l cp
+eoclip
+n 5130 9180 m
+ 5130 10080 l gs col0 s gr gr
+
+% arrowhead
+n 5160 9316 m 5130 9196 l 5100 9316 l 5160 9316 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+7710 9944 m 7710 10095 l 7770 10095 l 7770 9944 l 7770 9944 l 7740 10064 l 7710 9944 l cp
+eoclip
+n 7740 9180 m
+ 7740 10080 l gs col0 s gr gr
+
+% arrowhead
+n 7710 9944 m 7740 10064 l 7770 9944 l 7710 9944 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+7860 9316 m 7860 9165 l 7800 9165 l 7800 9316 l 7800 9316 l 7830 9196 l 7860 9316 l cp
+eoclip
+n 7830 9180 m
+ 7830 10080 l gs col0 s gr gr
+
+% arrowhead
+n 7860 9316 m 7830 9196 l 7800 9316 l 7860 9316 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+10410 9944 m 10410 10095 l 10470 10095 l 10470 9944 l 10470 9944 l 10440 10064 l 10410 9944 l cp
+eoclip
+n 10440 9180 m
+ 10440 10080 l gs col0 s gr gr
+
+% arrowhead
+n 10410 9944 m 10440 10064 l 10470 9944 l 10410 9944 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+10560 9316 m 10560 9165 l 10500 9165 l 10500 9316 l 10500 9316 l 10530 9196 l 10560 9316 l cp
+eoclip
+n 10530 9180 m
+ 10530 10080 l gs col0 s gr gr
+
+% arrowhead
+n 10560 9316 m 10530 9196 l 10500 9316 l 10560 9316 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 4365 10350 m
+ 5805 10350 l gs col0 s gr
+% Polyline
+n 4470 10080 m 4365 10080 4365 11415 105 arcto 4 {pop} repeat
+ 4365 11520 5700 11520 105 arcto 4 {pop} repeat
+ 5805 11520 5805 10185 105 arcto 4 {pop} repeat
+ 5805 10080 4470 10080 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+n 7065 10350 m
+ 8505 10350 l gs col0 s gr
+% Polyline
+n 7170 10080 m 7065 10080 7065 11415 105 arcto 4 {pop} repeat
+ 7065 11520 8400 11520 105 arcto 4 {pop} repeat
+ 8505 11520 8505 10185 105 arcto 4 {pop} repeat
+ 8505 10080 7170 10080 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+n 1665 10350 m
+ 3105 10350 l gs col0 s gr
+% Polyline
+n 1770 10080 m 1665 10080 1665 11415 105 arcto 4 {pop} repeat
+ 1665 11520 3000 11520 105 arcto 4 {pop} repeat
+ 3105 11520 3105 10185 105 arcto 4 {pop} repeat
+ 3105 10080 1770 10080 105 arcto 4 {pop} repeat
+ cp gs col0 s gr
+% Polyline
+n 11385 10035 m 1485 10035 l 1485 11565 l 11385 11565 l
+ cp gs col4 s gr
+% Polyline
+gs clippath
+4229 8850 m 4380 8850 l 4380 8790 l 4229 8790 l 4229 8790 l 4349 8820 l 4229 8850 l cp
+eoclip
+n 3105 8820 m
+ 4365 8820 l gs col0 s gr gr
+
+% arrowhead
+n 4229 8850 m 4349 8820 l 4229 8790 l 4229 8850 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+3241 8880 m 3090 8880 l 3090 8940 l 3241 8940 l 3241 8940 l 3121 8910 l 3241 8880 l cp
+eoclip
+n 4365 8910 m
+ 3105 8910 l gs col0 s gr gr
+
+% arrowhead
+n 3241 8880 m 3121 8910 l 3241 8940 l 3241 8880 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+9629 8850 m 9780 8850 l 9780 8790 l 9629 8790 l 9629 8790 l 9749 8820 l 9629 8850 l cp
+eoclip
+n 8505 8820 m
+ 9765 8820 l gs col0 s gr gr
+
+% arrowhead
+n 9629 8850 m 9749 8820 l 9629 8790 l 9629 8850 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+8641 8880 m 8490 8880 l 8490 8940 l 8641 8940 l 8641 8940 l 8521 8910 l 8641 8880 l cp
+eoclip
+n 9765 8910 m
+ 8505 8910 l gs col0 s gr gr
+
+% arrowhead
+n 8641 8880 m 8521 8910 l 8641 8940 l 8641 8880 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+9673 8084 m 9745 8217 l 9798 8188 l 9726 8056 l 9726 8056 l 9757 8176 l 9673 8084 l cp
+eoclip
+n 8505 5850 m
+ 9765 8190 l gs col0 s gr gr
+
+% arrowhead
+n 9673 8084 m 9757 8176 l 9726 8056 l 9673 8084 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+8597 6134 m 8524 6002 l 8471 6031 l 8544 6163 l 8544 6163 l 8513 6044 l 8597 6134 l cp
+eoclip
+n 9765 8325 m
+ 8505 6030 l gs col0 s gr gr
+
+% arrowhead
+n 8597 6134 m 8513 6044 l 8544 6163 l 8597 6134 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 8685 5355 m 1485 5355 l 1485 6885 l 8685 6885 l
+ cp gs col4 s gr
+% Polyline
+gs clippath
+10500 7604 m 10500 7755 l 10560 7755 l 10560 7604 l 10560 7604 l 10530 7724 l 10500 7604 l cp
+eoclip
+n 9231 4492 m 10530 5400 l 10530 6840 l
+ 10530 7740 l gs col0 s gr gr
+
+% arrowhead
+n 10500 7604 m 10530 7724 l 10560 7604 l 10500 7604 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+gs clippath
+9263 4552 m 9139 4466 l 9105 4516 l 9229 4601 l 9229 4601 l 9148 4509 l 9263 4552 l cp
+eoclip
+n 9135 4500 m 10440 5400 l 10440 6840 l
+ 10440 7740 l gs col0 s gr gr
+
+% arrowhead
+n 9263 4552 m 9148 4509 l 9229 4601 l 9263 4552 l cp gs 0.00 setgray ef gr col0 s
+% Polyline
+n 11385 7695 m 1485 7695 l 1485 9225 l 11385 9225 l
+ cp gs col4 s gr
+/Times-Roman-iso ff 210.00 scf sf
+3150 3285 m
+gs 1 -1 sc (Package) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 3510 m
+gs 1 -1 sc (.depth = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 3735 m
+gs 1 -1 sc (.logical_index =0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 3960 m
+gs 1 -1 sc (.os_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 4185 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 4410 m
+gs 1 -1 sc (.arity=2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4545 3510 m
+gs 1 -1 sc (next_sibling) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7470 3870 m
+gs 1 -1 sc (prev_sibling) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8640 2565 m
+gs 1 -1 sc (last_child) dup sw pop neg 0 rm col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8190 2385 m
+gs 1 -1 sc (children[1]) dup sw pop neg 0 rm col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2385 4725 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2205 4905 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4185 4725 m
+gs 1 -1 sc (children[1]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 4905 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7785 4725 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7605 4905 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4275 2565 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4725 2385 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4770 945 m
+gs 1 -1 sc (Machine) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4770 1170 m
+gs 1 -1 sc (level) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4770 1395 m
+gs 1 -1 sc (depth=0) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2115 3285 m
+gs 1 -1 sc (Package) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2115 3510 m
+gs 1 -1 sc (level) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2115 3735 m
+gs 1 -1 sc (depth=1) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 5760 m
+gs 1 -1 sc (next_sibling) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3420 6120 m
+gs 1 -1 sc (prev_sibling) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 6390 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3375 6750 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5850 6390 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6075 6750 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 5625 m
+gs 1 -1 sc (Cache) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 5850 m
+gs 1 -1 sc (level) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 6075 m
+gs 1 -1 sc (depth=2) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4230 7290 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4230 7515 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4230 7065 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6930 7290 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6930 7515 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6930 7065 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1530 7290 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1530 7515 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1530 7065 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+9855 7965 m
+gs 1 -1 sc (Core) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 9090 m
+gs 1 -1 sc (.arity=1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 8190 m
+gs 1 -1 sc (.depth = 3) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 8415 m
+gs 1 -1 sc (.logical_index = 3) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 8640 m
+gs 1 -1 sc (.os_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 8865 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5850 8730 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6075 9090 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 7965 m
+gs 1 -1 sc (Core) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 8190 m
+gs 1 -1 sc (level) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 8415 m
+gs 1 -1 sc (depth=3) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4230 9630 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4230 9855 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4230 9405 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6930 9630 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6930 9855 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6930 9405 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1530 9630 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1530 9855 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1530 9405 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9630 9630 m
+gs 1 -1 sc (first_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9630 9855 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9630 9405 m
+gs 1 -1 sc (children[0]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 10980 m
+gs 1 -1 sc (.os_index = 3) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+9855 10305 m
+gs 1 -1 sc (PU) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 11205 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 11430 m
+gs 1 -1 sc (.arity=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 10530 m
+gs 1 -1 sc (.depth = 4) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9855 10755 m
+gs 1 -1 sc (.logical_index = 3) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 11070 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3375 11430 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5850 11070 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+6075 11430 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8550 11070 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8775 11430 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 10305 m
+gs 1 -1 sc (PU) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 10530 m
+gs 1 -1 sc (level) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+765 10755 m
+gs 1 -1 sc (depth=4) col4 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9540 4725 m
+gs 1 -1 sc (children[1]) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9810 4905 m
+gs 1 -1 sc (last_child) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8415 2970 m
+gs 1 -1 sc (parent) dup sw pop neg 0 rm col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5805 1170 m
+gs 1 -1 sc (.depth = 0) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+5805 945 m
+gs 1 -1 sc (Machine) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5805 1620 m
+gs 1 -1 sc (.os_index = -1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5805 1845 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5805 1395 m
+gs 1 -1 sc (.logical_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5805 2070 m
+gs 1 -1 sc (.arity=2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8145 5310 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8505 4410 m
+gs 1 -1 sc (.arity=2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8505 3735 m
+gs 1 -1 sc (.logical_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8505 3960 m
+gs 1 -1 sc (.os_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8505 3510 m
+gs 1 -1 sc (.depth = 1) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+8505 3285 m
+gs 1 -1 sc (Package) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8505 4185 m
+gs 1 -1 sc (.sibling_rank=1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 2970 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4545 3960 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7470 4320 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2745 5310 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4275 5310 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 6750 m
+gs 1 -1 sc (.arity=1) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+1755 5625 m
+gs 1 -1 sc (Cache) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+4455 5625 m
+gs 1 -1 sc (Cache) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+7155 5625 m
+gs 1 -1 sc (Cache) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 6075 m
+gs 1 -1 sc (.logical_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 6075 m
+gs 1 -1 sc (.logical_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 6300 m
+gs 1 -1 sc (.os_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 6525 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 6750 m
+gs 1 -1 sc (.arity=1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 6750 m
+gs 1 -1 sc (.arity=1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 5850 m
+gs 1 -1 sc (.depth = 2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 5850 m
+gs 1 -1 sc (.depth = 2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 5850 m
+gs 1 -1 sc (.depth = 2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 6075 m
+gs 1 -1 sc (.logical_index = 2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 6300 m
+gs 1 -1 sc (.os_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 6525 m
+gs 1 -1 sc (.sibling_rank=1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 6300 m
+gs 1 -1 sc (.os_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 6525 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2475 7650 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5175 7650 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7875 7650 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 9090 m
+gs 1 -1 sc (.arity=1) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+1755 7965 m
+gs 1 -1 sc (Core) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+4455 7965 m
+gs 1 -1 sc (Core) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+7155 7965 m
+gs 1 -1 sc (Core) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 8415 m
+gs 1 -1 sc (.logical_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 8415 m
+gs 1 -1 sc (.logical_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 8640 m
+gs 1 -1 sc (.os_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 8865 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 9090 m
+gs 1 -1 sc (.arity=1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 9090 m
+gs 1 -1 sc (.arity=1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 8190 m
+gs 1 -1 sc (.depth = 3) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 8190 m
+gs 1 -1 sc (.depth = 3) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 8190 m
+gs 1 -1 sc (.depth = 3) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 8415 m
+gs 1 -1 sc (.logical_index = 2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 8640 m
+gs 1 -1 sc (.os_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 8865 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 8640 m
+gs 1 -1 sc (.os_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 8865 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+2475 9990 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+5175 9990 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7875 9990 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+10575 9990 m
+gs 1 -1 sc (parent) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 10980 m
+gs 1 -1 sc (.os_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 10980 m
+gs 1 -1 sc (.os_index = 2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 10980 m
+gs 1 -1 sc (.os_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 11205 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+1755 10305 m
+gs 1 -1 sc (PU) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+4455 10305 m
+gs 1 -1 sc (PU) col0 sh gr
+/Times-Roman-iso ff 210.00 scf sf
+7155 10305 m
+gs 1 -1 sc (PU) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 11205 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 11205 m
+gs 1 -1 sc (.sibling_rank=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 11430 m
+gs 1 -1 sc (.arity=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 11430 m
+gs 1 -1 sc (.arity=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 11430 m
+gs 1 -1 sc (.arity=0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 10530 m
+gs 1 -1 sc (.depth = 4) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+7155 10755 m
+gs 1 -1 sc (.logical_index = 2) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 10530 m
+gs 1 -1 sc (.depth = 4) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+4455 10755 m
+gs 1 -1 sc (.logical_index = 1) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 10530 m
+gs 1 -1 sc (.depth = 4) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+1755 10755 m
+gs 1 -1 sc (.logical_index = 0) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3150 8730 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+3375 9090 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8550 8730 m
+gs 1 -1 sc (next_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8775 9090 m
+gs 1 -1 sc (prev_cousin) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8820 8280 m
+gs 1 -1 sc (prev_sibling) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+8730 6120 m
+gs 1 -1 sc (next_sibling) col0 sh gr
+/Times-Roman-iso ff 180.00 scf sf
+9945 7650 m
+gs 1 -1 sc (parent) col0 sh gr
+% here ends figure;
+pagefooter
+showpage
+%%Trailer
+%EOF
--- /dev/null
+#FIG 3.2 Produced by xfig version 3.2.5b
+Landscape
+Center
+Metric
+A4
+100.00
+Single
+-2
+1200 2
+6 3060 3060 4590 4500
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 3060 3330 4500 3330
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 4500 4500 4500 3060 3060 3060 3060 4500 4500 4500
+4 0 0 50 -1 0 14 0.0000 4 165 645 3150 3285 Package\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 3150 3510 .depth = 1\001
+4 0 0 50 -1 0 12 0.0000 4 180 1440 3150 3735 .logical_index =0\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 3150 3960 .os_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 3150 4185 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 3150 4410 .arity=2\001
+-6
+6 4500 3375 8505 3915
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 4500 3600 8415 3600
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 8415 3690 4500 3690
+4 0 0 50 -1 0 12 0.0000 4 180 1035 4545 3510 next_sibling\001
+4 0 0 50 -1 0 12 0.0000 4 180 1035 7470 3870 prev_sibling\001
+-6
+6 7290 2250 8640 2610
+4 2 0 50 -1 0 12 0.0000 4 165 810 8640 2565 last_child\001
+4 2 0 50 -1 0 12 0.0000 4 165 900 8190 2385 children[1]\001
+-6
+6 2205 4590 3285 4950
+4 0 0 50 -1 0 12 0.0000 4 165 900 2385 4725 children[0]\001
+4 0 0 50 -1 0 12 0.0000 4 165 840 2205 4905 first_child\001
+-6
+6 4185 4590 5265 4950
+4 0 0 50 -1 0 12 0.0000 4 165 900 4185 4725 children[1]\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 4455 4905 last_child\001
+-6
+6 7605 4590 8685 4950
+4 0 0 50 -1 0 12 0.0000 4 165 900 7785 4725 children[0]\001
+4 0 0 50 -1 0 12 0.0000 4 165 840 7605 4905 first_child\001
+-6
+6 4275 2250 5625 2610
+4 0 0 50 -1 0 12 0.0000 4 165 840 4275 2565 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 4725 2385 children[0]\001
+-6
+6 4770 810 5445 1440
+4 0 4 50 -1 0 12 0.0000 4 135 720 4770 945 Machine\001
+4 0 4 50 -1 0 12 0.0000 4 135 405 4770 1170 level\001
+4 0 4 50 -1 0 12 0.0000 4 180 675 4770 1395 depth=0\001
+-6
+6 2115 3150 2790 3780
+4 0 4 50 -1 0 12 0.0000 4 135 555 2115 3285 Package\001
+4 0 4 50 -1 0 12 0.0000 4 135 405 2115 3510 level\001
+4 0 4 50 -1 0 12 0.0000 4 180 675 2115 3735 depth=1\001
+-6
+6 3105 5625 4455 6795
+6 3105 5625 4455 6165
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 3105 5850 4365 5850
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 4365 5940 3105 5940
+4 0 0 50 -1 0 12 0.0000 4 180 1035 3150 5760 next_sibling\001
+4 0 0 50 -1 0 12 0.0000 4 180 1035 3420 6120 prev_sibling\001
+-6
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 3105 6480 4365 6480
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 4365 6570 3105 6570
+4 0 0 50 -1 0 12 0.0000 4 165 1005 3150 6390 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 3375 6750 prev_cousin\001
+-6
+6 5805 6255 7110 6795
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 5805 6480 7065 6480
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 7065 6570 5805 6570
+4 0 0 50 -1 0 12 0.0000 4 165 1005 5850 6390 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 6075 6750 prev_cousin\001
+-6
+6 765 5490 1440 6120
+4 0 4 50 -1 0 12 0.0000 4 135 510 765 5625 Cache\001
+4 0 4 50 -1 0 12 0.0000 4 135 405 765 5850 level\001
+4 0 4 50 -1 0 12 0.0000 4 180 675 765 6075 depth=2\001
+-6
+6 4230 6930 5130 7560
+4 0 0 50 -1 0 12 0.0000 4 165 840 4230 7290 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 4230 7515 last_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 4230 7065 children[0]\001
+-6
+6 6930 6930 7830 7560
+4 0 0 50 -1 0 12 0.0000 4 165 840 6930 7290 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 6930 7515 last_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 6930 7065 children[0]\001
+-6
+6 1530 6930 2430 7560
+4 0 0 50 -1 0 12 0.0000 4 165 840 1530 7290 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 1530 7515 last_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 1530 7065 children[0]\001
+-6
+6 9765 7740 11340 9180
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 9765 8010 11205 8010
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 11205 9180 11205 7740 9765 7740 9765 9180 11205 9180
+4 0 0 50 -1 0 14 0.0000 4 165 465 9855 7965 Core\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 9855 9090 .arity=1\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 9855 8190 .depth = 3\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 9855 8415 .logical_index = 3\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 9855 8640 .os_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 9855 8865 .sibling_rank=0\001
+-6
+6 5805 8595 7110 9135
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 5805 8820 7065 8820
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 7065 8910 5805 8910
+4 0 0 50 -1 0 12 0.0000 4 165 1005 5850 8730 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 6075 9090 prev_cousin\001
+-6
+6 765 7830 1440 8460
+4 0 4 50 -1 0 12 0.0000 4 135 390 765 7965 Core\001
+4 0 4 50 -1 0 12 0.0000 4 135 405 765 8190 level\001
+4 0 4 50 -1 0 12 0.0000 4 180 675 765 8415 depth=3\001
+-6
+6 4230 9270 5130 9900
+4 0 0 50 -1 0 12 0.0000 4 165 840 4230 9630 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 4230 9855 last_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 4230 9405 children[0]\001
+-6
+6 6930 9270 7830 9900
+4 0 0 50 -1 0 12 0.0000 4 165 840 6930 9630 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 6930 9855 last_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 6930 9405 children[0]\001
+-6
+6 1530 9270 2430 9900
+4 0 0 50 -1 0 12 0.0000 4 165 840 1530 9630 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 1530 9855 last_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 1530 9405 children[0]\001
+-6
+6 9630 9270 10530 9900
+4 0 0 50 -1 0 12 0.0000 4 165 840 9630 9630 first_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 9630 9855 last_child\001
+4 0 0 50 -1 0 12 0.0000 4 165 900 9630 9405 children[0]\001
+-6
+6 9765 10080 11340 11520
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 9765 10350 11205 10350
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 11205 11520 11205 10080 9765 10080 9765 11520 11205 11520
+4 0 0 50 -1 0 12 0.0000 4 165 1095 9855 10980 .os_index = 3\001
+4 0 0 50 -1 0 14 0.0000 4 165 315 9855 10305 PU\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 9855 11205 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 9855 11430 .arity=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 9855 10530 .depth = 4\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 9855 10755 .logical_index = 3\001
+-6
+6 3105 10935 4410 11475
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 3105 11160 4365 11160
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 4365 11250 3105 11250
+4 0 0 50 -1 0 12 0.0000 4 165 1005 3150 11070 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 3375 11430 prev_cousin\001
+-6
+6 5805 10935 7110 11475
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 5805 11160 7065 11160
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 7065 11250 5805 11250
+4 0 0 50 -1 0 12 0.0000 4 165 1005 5850 11070 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 6075 11430 prev_cousin\001
+-6
+6 8505 10935 9810 11475
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 8505 11160 9765 11160
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 9765 11250 8505 11250
+4 0 0 50 -1 0 12 0.0000 4 165 1005 8550 11070 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 8775 11430 prev_cousin\001
+-6
+6 765 10170 1440 10800
+4 0 4 50 -1 0 12 0.0000 4 135 240 765 10305 PU\001
+4 0 4 50 -1 0 12 0.0000 4 135 405 765 10530 level\001
+4 0 4 50 -1 0 12 0.0000 4 180 675 765 10755 depth=4\001
+-6
+6 9540 4590 10620 4950
+4 0 0 50 -1 0 12 0.0000 4 165 900 9540 4725 children[1]\001
+4 0 0 50 -1 0 12 0.0000 4 165 810 9810 4905 last_child\001
+-6
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 5715 990 7155 990
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 7155 2160 7155 720 5715 720 5715 2160 7155 2160
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 9036 4488 7686 5388
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 9135 4500 7785 5400
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 8415 3330 9855 3330
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 9855 4500 9855 3060 8415 3060 8415 4500 9855 4500
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 6435 2160 3735 3060
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 6210 2160 3510 3060
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 4500 4050 8415 4050
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 8415 4140 4500 4140
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 3831 4492 5181 5392
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 3636 4488 2286 5388
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 5085 5400 3735 4500
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 3735 4500 2385 5400
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 6660 2160 9360 3060
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 6435 2160 9135 3060
+2 2 0 1 4 7 50 -1 -1 0.000 0 0 -1 0 0 5
+ 10080 3015 2835 3015 2835 4545 10080 4545 10080 3015
+2 2 0 1 4 7 50 -1 -1 0.000 0 0 -1 0 0 5
+ 7380 675 5490 675 5490 2205 7380 2205 7380 675
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 4365 5670 5805 5670
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 5805 6840 5805 5400 4365 5400 4365 6840 5805 6840
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 7065 5670 8505 5670
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 1665 5670 3105 5670
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 3105 6840 3105 5400 1665 5400 1665 6840 3105 6840
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 8505 6840 8505 5400 7065 5400 7065 6840 8505 6840
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 2340 6840 2340 7740
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 2430 6840 2430 7740
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 5040 6840 5040 7740
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 5130 6840 5130 7740
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 7740 6840 7740 7740
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 7830 6840 7830 7740
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 4365 8010 5805 8010
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 5805 9180 5805 7740 4365 7740 4365 9180 5805 9180
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 7065 8010 8505 8010
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 1665 8010 3105 8010
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 3105 9180 3105 7740 1665 7740 1665 9180 3105 9180
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 8505 9180 8505 7740 7065 7740 7065 9180 8505 9180
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 2340 9180 2340 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 2430 9180 2430 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 5040 9180 5040 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 5130 9180 5130 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 7740 9180 7740 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 7830 9180 7830 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 10440 9180 10440 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 2
+ 1 1 1.00 60.00 120.00
+ 10530 9180 10530 10080
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 4365 10350 5805 10350
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 5805 11520 5805 10080 4365 10080 4365 11520 5805 11520
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 7065 10350 8505 10350
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 8505 11520 8505 10080 7065 10080 7065 11520 8505 11520
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 1665 10350 3105 10350
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 5
+ 3105 11520 3105 10080 1665 10080 1665 11520 3105 11520
+2 2 0 1 4 7 50 -1 -1 0.000 0 0 -1 0 0 5
+ 11385 10035 1485 10035 1485 11565 11385 11565 11385 10035
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 3105 8820 4365 8820
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 4365 8910 3105 8910
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 8505 8820 9765 8820
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 9765 8910 8505 8910
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 8505 5850 9765 8190
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+ 1 1 1.00 60.00 120.00
+ 9765 8325 8505 6030
+2 2 0 1 4 7 50 -1 -1 0.000 0 0 -1 0 0 5
+ 8685 5355 1485 5355 1485 6885 8685 6885 8685 5355
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 4
+ 1 1 1.00 60.00 120.00
+ 9231 4492 10530 5400 10530 6840 10530 7740
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 1 4
+ 1 1 1.00 60.00 120.00
+ 9135 4500 10440 5400 10440 6840 10440 7740
+2 2 0 1 4 7 50 -1 -1 0.000 0 0 -1 0 0 5
+ 11385 7695 1485 7695 1485 9225 11385 9225 11385 7695
+4 2 0 50 -1 0 12 0.0000 4 165 510 8415 2970 parent\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 5805 1170 .depth = 0\001
+4 0 0 50 -1 0 14 0.0000 4 165 825 5805 945 Machine\001
+4 0 0 50 -1 0 12 0.0000 4 165 1155 5805 1620 .os_index = -1\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 5805 1845 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 5805 1395 .logical_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 5805 2070 .arity=2\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 8145 5310 parent\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 8505 4410 .arity=2\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 8505 3735 .logical_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 8505 3960 .os_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 8505 3510 .depth = 1\001
+4 0 0 50 -1 0 14 0.0000 4 165 645 8505 3285 Package\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 8505 4185 .sibling_rank=1\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 4455 2970 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 1005 4545 3960 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 7470 4320 prev_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 2745 5310 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 4275 5310 parent\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 7155 6750 .arity=1\001
+4 0 0 50 -1 0 14 0.0000 4 165 600 1755 5625 Cache\001
+4 0 0 50 -1 0 14 0.0000 4 165 600 4455 5625 Cache\001
+4 0 0 50 -1 0 14 0.0000 4 165 600 7155 5625 Cache\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 1755 6075 .logical_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 4455 6075 .logical_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 1755 6300 .os_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 1755 6525 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 1755 6750 .arity=1\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 4455 6750 .arity=1\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 1755 5850 .depth = 2\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 4455 5850 .depth = 2\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 7155 5850 .depth = 2\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 7155 6075 .logical_index = 2\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 4455 6300 .os_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 4455 6525 .sibling_rank=1\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 7155 6300 .os_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 7155 6525 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 2475 7650 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 5175 7650 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 7875 7650 parent\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 7155 9090 .arity=1\001
+4 0 0 50 -1 0 14 0.0000 4 165 465 1755 7965 Core\001
+4 0 0 50 -1 0 14 0.0000 4 165 465 4455 7965 Core\001
+4 0 0 50 -1 0 14 0.0000 4 165 465 7155 7965 Core\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 1755 8415 .logical_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 4455 8415 .logical_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 1755 8640 .os_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 1755 8865 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 1755 9090 .arity=1\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 4455 9090 .arity=1\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 1755 8190 .depth = 3\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 4455 8190 .depth = 3\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 7155 8190 .depth = 3\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 7155 8415 .logical_index = 2\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 4455 8640 .os_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 4455 8865 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 7155 8640 .os_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 7155 8865 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 2475 9990 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 5175 9990 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 7875 9990 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 10575 9990 parent\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 1755 10980 .os_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 4455 10980 .os_index = 2\001
+4 0 0 50 -1 0 12 0.0000 4 165 1095 7155 10980 .os_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 1755 11205 .sibling_rank=0\001
+4 0 0 50 -1 0 14 0.0000 4 165 315 1755 10305 PU\001
+4 0 0 50 -1 0 14 0.0000 4 165 315 4455 10305 PU\001
+4 0 0 50 -1 0 14 0.0000 4 165 315 7155 10305 PU\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 4455 11205 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 1290 7155 11205 .sibling_rank=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 1755 11430 .arity=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 4455 11430 .arity=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 630 7155 11430 .arity=0\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 7155 10530 .depth = 4\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 7155 10755 .logical_index = 2\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 4455 10530 .depth = 4\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 4455 10755 .logical_index = 1\001
+4 0 0 50 -1 0 12 0.0000 4 180 810 1755 10530 .depth = 4\001
+4 0 0 50 -1 0 12 0.0000 4 180 1485 1755 10755 .logical_index = 0\001
+4 0 0 50 -1 0 12 0.0000 4 165 1005 3150 8730 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 3375 9090 prev_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 165 1005 8550 8730 next_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1005 8775 9090 prev_cousin\001
+4 0 0 50 -1 0 12 0.0000 4 180 1035 8820 8280 prev_sibling\001
+4 0 0 50 -1 0 12 0.0000 4 180 1035 8730 6120 next_sibling\001
+4 0 0 50 -1 0 12 0.0000 4 165 510 9945 7650 parent\001
--- /dev/null
+<link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
--- /dev/null
+<?php
+include_once("$topdir/includes/footer.inc");
--- /dev/null
+<?php
+$topdir = "../../../..";
+# Note that we must use the PHP "$$" indirection to assign to the
+# "title" variable, because if we list "$ title" (without the space)
+# in this file, Doxygen will replace it with a string title.
+$ver = basename(getcwd());
+$thwarting_doxygen_preprocessor = "title";
+$$thwarting_doxygen_preprocessor = "Portable Hardware Locality (hwloc) Documentation: $ver";
+$header_include_file = "$topdir/projects/hwloc/doc/$ver/www.open-mpi.org-css.inc";
+
+include_once("$topdir/projects/hwloc/nav.inc");
+include_once("$topdir/includes/header.inc");
+include_once("$topdir/includes/code.inc");
+?>
--- /dev/null
+# Copyright © 2010-2015 Inria. All rights reserved.
+# Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+###############################################################
+# Customized for output onto the www.open-mpi.org web site.
+###############################################################
+
+@INCLUDE = doxygen.cfg
+
+#PROJECT_NUMBER = @HWLOC_VERSION@
+OUTPUT_DIRECTORY = www.open-mpi.org
+#EXAMPLE_PATH = @top_srcdir@/doc
+#IMAGE_PATH = @top_srcdir@/doc/images images
+HTML_FILE_EXTENSION = .php
+HTML_HEADER = www.open-mpi.org-header.inc
+HTML_FOOTER = www.open-mpi.org-footer.inc
+GENERATE_MAN = NO
+GENERATE_LATEX = NO
+#INCLUDE_PATH = @top_srcdir@/doc
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: hwloc
+Description: Hardware locality detection and management library
+Version: @HWLOC_VERSION@
+Requires.private: @HWLOC_REQUIRES@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lhwloc
+Libs.private: @HWLOC_LIBS@ @HWLOC_LIBS_PRIVATE@
--- /dev/null
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2010 Université Bordeaux
+# Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2011 Oracle and/or its affiliates. All rights reserved.
+# See COPYING in top-level directory.
+
+# Only install the headers if we're in standalone mode (meaning:
+# *don't* install the headers if we're in embedded mode).
+
+if HWLOC_BUILD_STANDALONE
+include_HEADERS = hwloc.h
+include_hwlocdir = $(includedir)/hwloc
+include_hwloc_HEADERS = \
+ hwloc/bitmap.h \
+ hwloc/helper.h \
+ hwloc/inlines.h \
+ hwloc/diff.h \
+ hwloc/myriexpress.h \
+ hwloc/openfabrics-verbs.h \
+ hwloc/opencl.h \
+ hwloc/cuda.h \
+ hwloc/cudart.h \
+ hwloc/nvml.h \
+ hwloc/plugins.h \
+ hwloc/gl.h \
+ hwloc/intel-mic.h \
+ hwloc/rename.h \
+ hwloc/deprecated.h
+include_hwloc_autogendir = $(includedir)/hwloc/autogen
+nodist_include_hwloc_autogen_HEADERS = hwloc/autogen/config.h
+
+noinst_HEADERS = \
+ private/private.h \
+ private/debug.h \
+ private/misc.h \
+ private/xml.h \
+ private/components.h \
+ private/internal-components.h \
+ private/cpuid-x86.h
+
+if HWLOC_HAVE_LINUX
+include_hwloc_HEADERS += \
+ hwloc/linux.h \
+ hwloc/linux-libnuma.h
+endif HWLOC_HAVE_LINUX
+
+if HWLOC_HAVE_SOLARIS
+include_hwloc_HEADERS += \
+ private/solaris-chiptype.h
+endif HWLOC_HAVE_SOLARIS
+
+if HWLOC_HAVE_SCHED_SETAFFINITY
+include_hwloc_HEADERS += hwloc/glibc-sched.h
+endif HWLOC_HAVE_SCHED_SETAFFINITY
+
+endif HWLOC_BUILD_STANDALONE
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2010 Université Bordeaux
+# Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2011 Oracle and/or its affiliates. All rights reserved.
+# See COPYING in top-level directory.
+
+# Only install the headers if we're in standalone mode (meaning:
+# *don't* install the headers if we're in embedded mode).
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_LINUX_TRUE@am__append_1 = \
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_LINUX_TRUE@ hwloc/linux.h \
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_LINUX_TRUE@ hwloc/linux-libnuma.h
+
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_SOLARIS_TRUE@am__append_2 = \
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_SOLARIS_TRUE@ private/solaris-chiptype.h
+
+@HWLOC_BUILD_STANDALONE_TRUE@@HWLOC_HAVE_SCHED_SETAFFINITY_TRUE@am__append_3 = hwloc/glibc-sched.h
+subdir = include
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__include_HEADERS_DIST) \
+ $(am__include_hwloc_HEADERS_DIST) $(am__noinst_HEADERS_DIST) \
+ $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__include_HEADERS_DIST = hwloc.h
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(includedir)" \
+ "$(DESTDIR)$(include_hwlocdir)" \
+ "$(DESTDIR)$(include_hwloc_autogendir)"
+am__include_hwloc_HEADERS_DIST = hwloc/bitmap.h hwloc/helper.h \
+ hwloc/inlines.h hwloc/diff.h hwloc/myriexpress.h \
+ hwloc/openfabrics-verbs.h hwloc/opencl.h hwloc/cuda.h \
+ hwloc/cudart.h hwloc/nvml.h hwloc/plugins.h hwloc/gl.h \
+ hwloc/intel-mic.h hwloc/rename.h hwloc/deprecated.h \
+ hwloc/linux.h hwloc/linux-libnuma.h private/solaris-chiptype.h \
+ hwloc/glibc-sched.h
+am__noinst_HEADERS_DIST = private/private.h private/debug.h \
+ private/misc.h private/xml.h private/components.h \
+ private/internal-components.h private/cpuid-x86.h
+HEADERS = $(include_HEADERS) $(include_hwloc_HEADERS) \
+ $(nodist_include_hwloc_autogen_HEADERS) $(noinst_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__DIST_COMMON = $(srcdir)/Makefile.in
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+@HWLOC_BUILD_STANDALONE_TRUE@include_HEADERS = hwloc.h
+@HWLOC_BUILD_STANDALONE_TRUE@include_hwlocdir = $(includedir)/hwloc
+@HWLOC_BUILD_STANDALONE_TRUE@include_hwloc_HEADERS = hwloc/bitmap.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/helper.h hwloc/inlines.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/diff.h hwloc/myriexpress.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/openfabrics-verbs.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/opencl.h hwloc/cuda.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/cudart.h hwloc/nvml.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/plugins.h hwloc/gl.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/intel-mic.h hwloc/rename.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ hwloc/deprecated.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ $(am__append_1) $(am__append_2) \
+@HWLOC_BUILD_STANDALONE_TRUE@ $(am__append_3)
+@HWLOC_BUILD_STANDALONE_TRUE@include_hwloc_autogendir = $(includedir)/hwloc/autogen
+@HWLOC_BUILD_STANDALONE_TRUE@nodist_include_hwloc_autogen_HEADERS = hwloc/autogen/config.h
+@HWLOC_BUILD_STANDALONE_TRUE@noinst_HEADERS = \
+@HWLOC_BUILD_STANDALONE_TRUE@ private/private.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ private/debug.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ private/misc.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ private/xml.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ private/components.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ private/internal-components.h \
+@HWLOC_BUILD_STANDALONE_TRUE@ private/cpuid-x86.h
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign include/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
+ done
+
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
+install-include_hwlocHEADERS: $(include_hwloc_HEADERS)
+ @$(NORMAL_INSTALL)
+ @list='$(include_hwloc_HEADERS)'; test -n "$(include_hwlocdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(include_hwlocdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(include_hwlocdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(include_hwlocdir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(include_hwlocdir)" || exit $$?; \
+ done
+
+uninstall-include_hwlocHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(include_hwloc_HEADERS)'; test -n "$(include_hwlocdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(include_hwlocdir)'; $(am__uninstall_files_from_dir)
+install-nodist_include_hwloc_autogenHEADERS: $(nodist_include_hwloc_autogen_HEADERS)
+ @$(NORMAL_INSTALL)
+ @list='$(nodist_include_hwloc_autogen_HEADERS)'; test -n "$(include_hwloc_autogendir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(include_hwloc_autogendir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(include_hwloc_autogendir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(include_hwloc_autogendir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(include_hwloc_autogendir)" || exit $$?; \
+ done
+
+uninstall-nodist_include_hwloc_autogenHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(nodist_include_hwloc_autogen_HEADERS)'; test -n "$(include_hwloc_autogendir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(include_hwloc_autogendir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(includedir)" "$(DESTDIR)$(include_hwlocdir)" "$(DESTDIR)$(include_hwloc_autogendir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-includeHEADERS install-include_hwlocHEADERS \
+ install-nodist_include_hwloc_autogenHEADERS
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-includeHEADERS uninstall-include_hwlocHEADERS \
+ uninstall-nodist_include_hwloc_autogenHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
+ clean-libtool cscopelist-am ctags ctags-am distclean \
+ distclean-generic distclean-libtool distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-includeHEADERS install-include_hwlocHEADERS \
+ install-info install-info-am install-man \
+ install-nodist_include_hwloc_autogenHEADERS install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-includeHEADERS \
+ uninstall-include_hwlocHEADERS \
+ uninstall-nodist_include_hwloc_autogenHEADERS
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/*=====================================================================
+ * PLEASE GO READ THE DOCUMENTATION!
+ * ------------------------------------------------
+ * $tarball_directory/doc/doxygen-doc/
+ * or
+ * http://www.open-mpi.org/projects/hwloc/doc/
+ *=====================================================================
+ *
+ * FAIR WARNING: Do NOT expect to be able to figure out all the
+ * subtleties of hwloc by simply reading function prototypes and
+ * constant descrptions here in this file.
+ *
+ * Hwloc has wonderful documentation in both PDF and HTML formats for
+ * your reading pleasure. The formal documentation explains a LOT of
+ * hwloc-specific concepts, provides definitions, and discusses the
+ * "big picture" for many of the things that you'll find here in this
+ * header file.
+ *
+ * The PDF/HTML documentation was generated via Doxygen; much of what
+ * you'll see in there is also here in this file. BUT THERE IS A LOT
+ * THAT IS IN THE PDF/HTML THAT IS ***NOT*** IN hwloc.h!
+ *
+ * There are entire paragraph-length descriptions, discussions, and
+ * pretty prictures to explain subtle corner cases, provide concrete
+ * examples, etc.
+ *
+ * Please, go read the documentation. :-)
+ *
+ * Moreover there are several examples of hwloc use under doc/examples
+ * in the source tree.
+ *
+ *=====================================================================*/
+
+/** \file
+ * \brief The hwloc API.
+ *
+ * See hwloc/bitmap.h for bitmap specific macros.
+ * See hwloc/helper.h for high-level topology traversal helpers.
+ * See hwloc/inlines.h for the actual inline code of some functions below.
+ */
+
+#ifndef HWLOC_H
+#define HWLOC_H
+
+#include <hwloc/autogen/config.h>
+#include <sys/types.h>
+#include <stdio.h>
+#include <string.h>
+#include <limits.h>
+
+/*
+ * Symbol transforms
+ */
+#include <hwloc/rename.h>
+
+/*
+ * Bitmap definitions
+ */
+
+#include <hwloc/bitmap.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_api_version API version
+ * @{
+ */
+
+/** \brief Indicate at build time which hwloc API version is being used.
+ *
+ * This number is updated to (X<<16)+(Y<<8)+Z when a new release X.Y.Z
+ * actually modifies the API.
+ *
+ * Users may check for available features at build time using this number
+ * (see \ref faq_upgrade).
+ */
+#define HWLOC_API_VERSION 0x00010b06
+
+/** \brief Indicate at runtime which hwloc API version was used at build time.
+ *
+ * Should be ::HWLOC_API_VERSION if running on the same version.
+ */
+HWLOC_DECLSPEC unsigned hwloc_get_api_version(void);
+
+/** \brief Current component and plugin ABI version (see hwloc/plugins.h) */
+#define HWLOC_COMPONENT_ABI 4
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_object_sets Object Sets (hwloc_cpuset_t and hwloc_nodeset_t)
+ *
+ * Hwloc uses bitmaps to represent two distinct kinds of object sets:
+ * CPU sets (::hwloc_cpuset_t) and NUMA node sets (::hwloc_nodeset_t).
+ * These types are both typedefs to a common back end type
+ * (::hwloc_bitmap_t), and therefore all the hwloc bitmap functions
+ * are applicable to both ::hwloc_cpuset_t and ::hwloc_nodeset_t (see
+ * \ref hwlocality_bitmap).
+ *
+ * The rationale for having two different types is that even though
+ * the actions one wants to perform on these types are the same (e.g.,
+ * enable and disable individual items in the set/mask), they're used
+ * in very different contexts: one for specifying which processors to
+ * use and one for specifying which NUMA nodes to use. Hence, the
+ * name difference is really just to reflect the intent of where the
+ * type is used.
+ *
+ * @{
+ */
+
+/** \brief A CPU set is a bitmap whose bits are set according to CPU
+ * physical OS indexes.
+ *
+ * It may be consulted and modified with the bitmap API as any
+ * ::hwloc_bitmap_t (see hwloc/bitmap.h).
+ *
+ * Each bit may be converted into a PU object using
+ * hwloc_get_pu_obj_by_os_index().
+ */
+typedef hwloc_bitmap_t hwloc_cpuset_t;
+/** \brief A non-modifiable ::hwloc_cpuset_t. */
+typedef hwloc_const_bitmap_t hwloc_const_cpuset_t;
+
+/** \brief A node set is a bitmap whose bits are set according to NUMA
+ * memory node physical OS indexes.
+ *
+ * It may be consulted and modified with the bitmap API as any
+ * ::hwloc_bitmap_t (see hwloc/bitmap.h).
+ * Each bit may be converted into a NUMA node object using
+ * hwloc_get_numanode_obj_by_os_index().
+ *
+ * When binding memory on a system without any NUMA node
+ * (when the whole memory is considered as a single memory bank),
+ * the nodeset may be either empty (no memory selected)
+ * or full (whole system memory selected).
+ *
+ * See also \ref hwlocality_helper_nodeset_convert.
+ */
+typedef hwloc_bitmap_t hwloc_nodeset_t;
+/** \brief A non-modifiable ::hwloc_nodeset_t.
+ */
+typedef hwloc_const_bitmap_t hwloc_const_nodeset_t;
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_object_types Object Types
+ * @{
+ */
+
+/** \brief Type of topology object.
+ *
+ * \note Do not rely on the ordering or completeness of the values as new ones
+ * may be defined in the future! If you need to compare types, use
+ * hwloc_compare_types() instead.
+ */
+typedef enum {
+ /* ***************************************************************
+ WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+
+ If new enum values are added here, you MUST also go update the
+ obj_type_order[] and obj_order_type[] arrays in src/topology.c.
+
+ WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+ *************************************************************** */
+
+ HWLOC_OBJ_SYSTEM, /**< \brief Whole system (may be a cluster of machines).
+ * The whole system that is accessible to hwloc.
+ * That may comprise several machines in SSI systems
+ * like Kerrighed.
+ */
+ HWLOC_OBJ_MACHINE, /**< \brief Machine.
+ * The typical root object type.
+ * A set of processors and memory with cache
+ * coherency.
+ */
+ HWLOC_OBJ_NUMANODE, /**< \brief NUMA node.
+ * An object that contains memory that is directly
+ * and byte-accessible to the host processors.
+ * It is usually close to some cores (the corresponding objects
+ * are descendants of the NUMA node object in the hwloc tree).
+ *
+ * There is always at one such object in the topology
+ * even if the machine is not NUMA.
+ */
+ HWLOC_OBJ_PACKAGE, /**< \brief Physical package.
+ * The physical package that usually gets inserted
+ * into a socket on the motherboard.
+ * A processor package usually contains multiple cores.
+ */
+ HWLOC_OBJ_CACHE, /**< \brief Cache.
+ * Can be L1i, L1d, L2, L3, ...
+ */
+ HWLOC_OBJ_CORE, /**< \brief Core.
+ * A computation unit (may be shared by several
+ * logical processors).
+ */
+ HWLOC_OBJ_PU, /**< \brief Processing Unit, or (Logical) Processor.
+ * An execution unit (may share a core with some
+ * other logical processors, e.g. in the case of
+ * an SMT core).
+ *
+ * Objects of this kind are always reported and can
+ * thus be used as fallback when others are not.
+ */
+
+ HWLOC_OBJ_GROUP, /**< \brief Group objects.
+ * Objects which do not fit in the above but are
+ * detected by hwloc and are useful to take into
+ * account for affinity. For instance, some operating systems
+ * expose their arbitrary processors aggregation this
+ * way. And hwloc may insert such objects to group
+ * NUMA nodes according to their distances.
+ * See also \ref faq_groups.
+ *
+ * These objects are ignored when they do not bring
+ * any structure.
+ */
+
+ HWLOC_OBJ_MISC, /**< \brief Miscellaneous objects.
+ * Objects without particular meaning, that can e.g. be
+ * added by the application for its own use, or by hwloc
+ * for miscellaneous objects such as MemoryModule (DIMMs).
+ */
+
+ HWLOC_OBJ_BRIDGE, /**< \brief Bridge.
+ * Any bridge that connects the host or an I/O bus,
+ * to another I/O bus.
+ * Bridge objects have neither CPU sets nor node sets.
+ * They are not added to the topology unless I/O discovery
+ * is enabled with hwloc_topology_set_flags().
+ */
+ HWLOC_OBJ_PCI_DEVICE, /**< \brief PCI device.
+ * These objects have neither CPU sets nor node sets.
+ * They are not added to the topology unless I/O discovery
+ * is enabled with hwloc_topology_set_flags().
+ */
+ HWLOC_OBJ_OS_DEVICE, /**< \brief Operating system device.
+ * These objects have neither CPU sets nor node sets.
+ * They are not added to the topology unless I/O discovery
+ * is enabled with hwloc_topology_set_flags().
+ */
+
+ HWLOC_OBJ_TYPE_MAX /**< \private Sentinel value */
+
+ /* ***************************************************************
+ WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+
+ If new enum values are added here, you MUST also go update the
+ obj_type_order[] and obj_order_type[] arrays in src/topology.c.
+
+ WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+ *************************************************************** */
+} hwloc_obj_type_t;
+
+/** \brief Cache type. */
+typedef enum hwloc_obj_cache_type_e {
+ HWLOC_OBJ_CACHE_UNIFIED, /**< \brief Unified cache. */
+ HWLOC_OBJ_CACHE_DATA, /**< \brief Data cache. */
+ HWLOC_OBJ_CACHE_INSTRUCTION /**< \brief Instruction cache.
+ * Only used when the ::HWLOC_TOPOLOGY_FLAG_ICACHES topology flag is set. */
+} hwloc_obj_cache_type_t;
+
+/** \brief Type of one side (upstream or downstream) of an I/O bridge. */
+typedef enum hwloc_obj_bridge_type_e {
+ HWLOC_OBJ_BRIDGE_HOST, /**< \brief Host-side of a bridge, only possible upstream. */
+ HWLOC_OBJ_BRIDGE_PCI /**< \brief PCI-side of a bridge. */
+} hwloc_obj_bridge_type_t;
+
+/** \brief Type of a OS device. */
+typedef enum hwloc_obj_osdev_type_e {
+ HWLOC_OBJ_OSDEV_BLOCK, /**< \brief Operating system block device.
+ * For instance "sda" on Linux. */
+ HWLOC_OBJ_OSDEV_GPU, /**< \brief Operating system GPU device.
+ * For instance ":0.0" for a GL display,
+ * "card0" for a Linux DRM device. */
+ HWLOC_OBJ_OSDEV_NETWORK, /**< \brief Operating system network device.
+ * For instance the "eth0" interface on Linux. */
+ HWLOC_OBJ_OSDEV_OPENFABRICS, /**< \brief Operating system openfabrics device.
+ * For instance the "mlx4_0" InfiniBand HCA,
+ * or "hfi1_0" Omni-Path interface on Linux. */
+ HWLOC_OBJ_OSDEV_DMA, /**< \brief Operating system dma engine device.
+ * For instance the "dma0chan0" DMA channel on Linux. */
+ HWLOC_OBJ_OSDEV_COPROC /**< \brief Operating system co-processor device.
+ * For instance "mic0" for a Xeon Phi (MIC) on Linux,
+ * "opencl0d0" for a OpenCL device,
+ * "cuda0" for a CUDA device. */
+} hwloc_obj_osdev_type_t;
+
+/** \brief Compare the depth of two object types
+ *
+ * Types shouldn't be compared as they are, since newer ones may be added in
+ * the future. This function returns less than, equal to, or greater than zero
+ * respectively if \p type1 objects usually include \p type2 objects, are the
+ * same as \p type2 objects, or are included in \p type2 objects. If the types
+ * can not be compared (because neither is usually contained in the other),
+ * ::HWLOC_TYPE_UNORDERED is returned. Object types containing CPUs can always
+ * be compared (usually, a system contains machines which contain nodes which
+ * contain packages which contain caches, which contain cores, which contain
+ * processors).
+ *
+ * \note ::HWLOC_OBJ_PU will always be the deepest.
+ * \note This does not mean that the actual topology will respect that order:
+ * e.g. as of today cores may also contain caches, and packages may also contain
+ * nodes. This is thus just to be seen as a fallback comparison method.
+ */
+HWLOC_DECLSPEC int hwloc_compare_types (hwloc_obj_type_t type1, hwloc_obj_type_t type2) __hwloc_attribute_const;
+
+enum hwloc_compare_types_e {
+ HWLOC_TYPE_UNORDERED = INT_MAX /**< \brief Value returned by hwloc_compare_types() when types can not be compared. \hideinitializer */
+};
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_objects Object Structure and Attributes
+ * @{
+ */
+
+union hwloc_obj_attr_u;
+
+/** \brief Object memory */
+struct hwloc_obj_memory_s {
+ hwloc_uint64_t total_memory; /**< \brief Total memory (in bytes) in this object and its children */
+ hwloc_uint64_t local_memory; /**< \brief Local memory (in bytes) */
+
+ /** \brief Size of array \p page_types */
+ unsigned page_types_len;
+ /** \brief Array of local memory page types, \c NULL if no local memory and \p page_types is 0.
+ *
+ * The array is sorted by increasing \p size fields.
+ * It contains \p page_types_len slots.
+ */
+ struct hwloc_obj_memory_page_type_s {
+ hwloc_uint64_t size; /**< \brief Size of pages */
+ hwloc_uint64_t count; /**< \brief Number of pages of this size */
+ } * page_types;
+};
+
+/** \brief Structure of a topology object
+ *
+ * Applications must not modify any field except hwloc_obj.userdata.
+ */
+struct hwloc_obj {
+ /* physical information */
+ hwloc_obj_type_t type; /**< \brief Type of object */
+
+ unsigned os_index; /**< \brief OS-provided physical index number.
+ * It is not guaranteed unique across the entire machine,
+ * except for PUs and NUMA nodes.
+ */
+ char *name; /**< \brief Object-specific name if any.
+ * Mostly used for identifying OS devices and Misc objects where
+ * a name string is more useful than numerical indexes.
+ */
+
+ struct hwloc_obj_memory_s memory; /**< \brief Memory attributes */
+
+ union hwloc_obj_attr_u *attr; /**< \brief Object type-specific Attributes,
+ * may be \c NULL if no attribute value was found */
+
+ /* global position */
+ unsigned depth; /**< \brief Vertical index in the hierarchy.
+ *
+ * For normal objects, this is the depth of the horizontal level
+ * that contains this object and its cousins of the same type.
+ * If the topology is symmetric, this is equal to the parent depth
+ * plus one, and also equal to the number of parent/child links
+ * from the root object to here.
+ *
+ * For special objects (I/O and Misc) that are not
+ * in the main tree, this is a special negative value that
+ * corresponds to their dedicated level,
+ * see hwloc_get_type_depth() and ::hwloc_get_type_depth_e.
+ * Those special values can be passed to hwloc functions such
+ * hwloc_get_nbobjs_by_depth() as usual.
+ */
+ unsigned logical_index; /**< \brief Horizontal index in the whole list of similar objects,
+ * hence guaranteed unique across the entire machine.
+ * Could be a "cousin_rank" since it's the rank within the "cousin" list below
+ */
+ signed os_level; /**< \brief OS-provided physical level, -1 if unknown or meaningless */
+
+ /* cousins are all objects of the same type (and depth) across the entire topology */
+ struct hwloc_obj *next_cousin; /**< \brief Next object of same type and depth */
+ struct hwloc_obj *prev_cousin; /**< \brief Previous object of same type and depth */
+
+ /* children of the same parent are siblings, even if they may have different type and depth */
+ struct hwloc_obj *parent; /**< \brief Parent, \c NULL if root (system object) */
+ unsigned sibling_rank; /**< \brief Index in parent's \c children[] array */
+ struct hwloc_obj *next_sibling; /**< \brief Next object below the same parent */
+ struct hwloc_obj *prev_sibling; /**< \brief Previous object below the same parent */
+
+ /* children array below this object */
+ unsigned arity; /**< \brief Number of children */
+ struct hwloc_obj **children; /**< \brief Children, \c children[0 .. arity -1] */
+ struct hwloc_obj *first_child; /**< \brief First child */
+ struct hwloc_obj *last_child; /**< \brief Last child */
+
+ /* misc */
+ void *userdata; /**< \brief Application-given private data pointer,
+ * initialized to \c NULL, use it as you wish.
+ * See hwloc_topology_set_userdata_export_callback()
+ * if you wish to export this field to XML. */
+
+ /* cpusets and nodesets */
+ hwloc_cpuset_t cpuset; /**< \brief CPUs covered by this object
+ *
+ * This is the set of CPUs for which there are PU objects in the topology
+ * under this object, i.e. which are known to be physically contained in this
+ * object and known how (the children path between this object and the PU
+ * objects).
+ *
+ * If the ::HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM configuration flag is set, some of
+ * these CPUs may be offline, or not allowed for binding, see online_cpuset
+ * and allowed_cpuset.
+ *
+ * \note Its value must not be changed, hwloc_bitmap_dup() must be used instead.
+ */
+ hwloc_cpuset_t complete_cpuset; /**< \brief The complete CPU set of logical processors of this object,
+ *
+ * This includes not only the same as the cpuset field, but also some CPUs for
+ * which topology information is unknown or incomplete, and the CPUs that are
+ * ignored when the ::HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM flag is not set.
+ * Thus no corresponding PU object may be found in the topology, because the
+ * precise position is undefined. It is however known that it would be somewhere
+ * under this object.
+ *
+ * \note Its value must not be changed, hwloc_bitmap_dup() must be used instead.
+ */
+ hwloc_cpuset_t online_cpuset; /**< \brief The CPU set of online logical processors
+ *
+ * This includes the CPUs contained in this object that are online, i.e. draw
+ * power and can execute threads. It may however not be allowed to bind to
+ * them due to administration rules, see allowed_cpuset.
+ *
+ * \note Its value must not be changed, hwloc_bitmap_dup() must be used instead.
+ */
+ hwloc_cpuset_t allowed_cpuset; /**< \brief The CPU set of allowed logical processors
+ *
+ * This includes the CPUs contained in this object which are allowed for
+ * binding, i.e. passing them to the hwloc binding functions should not return
+ * permission errors. This is usually restricted by administration rules.
+ * Some of them may however be offline so binding to them may still not be
+ * possible, see online_cpuset.
+ *
+ * \note Its value must not be changed, hwloc_bitmap_dup() must be used instead.
+ */
+
+ hwloc_nodeset_t nodeset; /**< \brief NUMA nodes covered by this object or containing this object
+ *
+ * This is the set of NUMA nodes for which there are NUMA node objects in the
+ * topology under or above this object, i.e. which are known to be physically
+ * contained in this object or containing it and known how (the children path
+ * between this object and the NUMA node objects).
+ *
+ * In the end, these nodes are those that are close to the current object.
+ *
+ * If the ::HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM configuration flag is set, some of
+ * these nodes may not be allowed for allocation, see allowed_nodeset.
+ *
+ * If there are no NUMA nodes in the machine, all the memory is close to this
+ * object, so \p nodeset is full.
+ *
+ * \note Its value must not be changed, hwloc_bitmap_dup() must be used instead.
+ */
+ hwloc_nodeset_t complete_nodeset; /**< \brief The complete NUMA node set of this object,
+ *
+ * This includes not only the same as the nodeset field, but also some NUMA
+ * nodes for which topology information is unknown or incomplete, and the nodes
+ * that are ignored when the ::HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM flag is not set.
+ * Thus no corresponding NUMA node object may be found in the topology, because the
+ * precise position is undefined. It is however known that it would be
+ * somewhere under this object.
+ *
+ * If there are no NUMA nodes in the machine, all the memory is close to this
+ * object, so \p complete_nodeset is full.
+ *
+ * \note Its value must not be changed, hwloc_bitmap_dup() must be used instead.
+ */
+ hwloc_nodeset_t allowed_nodeset; /**< \brief The set of allowed NUMA memory nodes
+ *
+ * This includes the NUMA memory nodes contained in this object which are
+ * allowed for memory allocation, i.e. passing them to NUMA node-directed
+ * memory allocation should not return permission errors. This is usually
+ * restricted by administration rules.
+ *
+ * If there are no NUMA nodes in the machine, all the memory is close to this
+ * object, so \p allowed_nodeset is full.
+ *
+ * \note Its value must not be changed, hwloc_bitmap_dup() must be used instead.
+ */
+
+ struct hwloc_distances_s **distances; /**< \brief Distances between all objects at same depth below this object */
+ unsigned distances_count;
+
+ struct hwloc_obj_info_s *infos; /**< \brief Array of stringified info type=name. */
+ unsigned infos_count; /**< \brief Size of infos array. */
+
+ int symmetric_subtree; /**< \brief Set if the subtree of objects below this object is symmetric,
+ * which means all children and their children have identical subtrees.
+ * If set in the topology root object, lstopo may export the topology
+ * as a synthetic string.
+ */
+};
+/**
+ * \brief Convenience typedef; a pointer to a struct hwloc_obj.
+ */
+typedef struct hwloc_obj * hwloc_obj_t;
+
+/** \brief Object type-specific Attributes */
+union hwloc_obj_attr_u {
+ /** \brief Cache-specific Object Attributes */
+ struct hwloc_cache_attr_s {
+ hwloc_uint64_t size; /**< \brief Size of cache in bytes */
+ unsigned depth; /**< \brief Depth of cache (e.g., L1, L2, ...etc.) */
+ unsigned linesize; /**< \brief Cache-line size in bytes. 0 if unknown */
+ int associativity; /**< \brief Ways of associativity,
+ * -1 if fully associative, 0 if unknown */
+ hwloc_obj_cache_type_t type; /**< \brief Cache type */
+ } cache;
+ /** \brief Group-specific Object Attributes */
+ struct hwloc_group_attr_s {
+ unsigned depth; /**< \brief Depth of group object */
+ unsigned char dont_merge; /**< \brief Flag preventing groups from being automatically merged with identical parent or children. */
+ } group;
+ /** \brief PCI Device specific Object Attributes */
+ struct hwloc_pcidev_attr_s {
+ unsigned short domain;
+ unsigned char bus, dev, func;
+ unsigned short class_id;
+ unsigned short vendor_id, device_id, subvendor_id, subdevice_id;
+ unsigned char revision;
+ float linkspeed; /* in GB/s */
+ } pcidev;
+ /** \brief Bridge specific Object Attribues */
+ struct hwloc_bridge_attr_s {
+ union {
+ struct hwloc_pcidev_attr_s pci;
+ } upstream;
+ hwloc_obj_bridge_type_t upstream_type;
+ union {
+ struct {
+ unsigned short domain;
+ unsigned char secondary_bus, subordinate_bus;
+ } pci;
+ } downstream;
+ hwloc_obj_bridge_type_t downstream_type;
+ unsigned depth;
+ } bridge;
+ /** \brief OS Device specific Object Attributes */
+ struct hwloc_osdev_attr_s {
+ hwloc_obj_osdev_type_t type;
+ } osdev;
+};
+
+/** \brief Distances between objects
+ *
+ * One object may contain a distance structure describing distances
+ * between all its descendants at a given relative depth. If the
+ * containing object is the root object of the topology, then the
+ * distances are available for all objects in the machine.
+ *
+ * If the \p latency pointer is not \c NULL, the pointed array contains
+ * memory latencies (non-zero values), see below.
+ *
+ * In the future, some other types of distances may be considered.
+ * In these cases, \p latency may be \c NULL.
+ */
+struct hwloc_distances_s {
+ unsigned relative_depth; /**< \brief Relative depth of the considered objects
+ * below the object containing this distance information. */
+ unsigned nbobjs; /**< \brief Number of objects considered in the matrix.
+ * It is the number of descendant objects at \p relative_depth
+ * below the containing object.
+ * It corresponds to the result of hwloc_get_nbobjs_inside_cpuset_by_depth(). */
+
+ float *latency; /**< \brief Matrix of latencies between objects, stored as a one-dimension array.
+ * May be \c NULL if the distances considered here are not latencies.
+ *
+ * Unless defined by the user, this currently contains latencies
+ * between NUMA nodes (as reported in the System Locality Distance Information Table
+ * (SLIT) in the ACPI specification), which may or may not be accurate.
+ * It corresponds to the latency for accessing the memory of one node
+ * from a core in another node.
+ *
+ * Values are normalized to get 1.0 as the minimal value in the matrix.
+ * Latency from i-th to j-th object is stored in slot i*nbobjs+j.
+ */
+ float latency_max; /**< \brief The maximal value in the latency matrix. */
+ float latency_base; /**< \brief The multiplier that should be applied to latency matrix
+ * to retrieve the original OS-provided latencies.
+ * Usually 10 on Linux since ACPI SLIT uses 10 for local latency.
+ */
+};
+
+/** \brief Object info
+ *
+ * \sa hwlocality_info_attr
+ */
+struct hwloc_obj_info_s {
+ char *name; /**< \brief Info name */
+ char *value; /**< \brief Info value */
+};
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_creation Topology Creation and Destruction
+ * @{
+ */
+
+struct hwloc_topology;
+/** \brief Topology context
+ *
+ * To be initialized with hwloc_topology_init() and built with hwloc_topology_load().
+ */
+typedef struct hwloc_topology * hwloc_topology_t;
+
+/** \brief Allocate a topology context.
+ *
+ * \param[out] topologyp is assigned a pointer to the new allocated context.
+ *
+ * \return 0 on success, -1 on error.
+ */
+HWLOC_DECLSPEC int hwloc_topology_init (hwloc_topology_t *topologyp);
+
+/** \brief Build the actual topology
+ *
+ * Build the actual topology once initialized with hwloc_topology_init() and
+ * tuned with \ref hwlocality_configuration routines.
+ * No other routine may be called earlier using this topology context.
+ *
+ * \param topology is the topology to be loaded with objects.
+ *
+ * \return 0 on success, -1 on error.
+ *
+ * \note On failure, the topology is reinitialized. It should be either
+ * destroyed with hwloc_topology_destroy() or configured and loaded again.
+ *
+ * \note This function may be called only once per topology.
+ *
+ * \note The binding of the current thread or process may temporarily change
+ * during this call but it will be restored before it returns.
+ *
+ * \sa hwlocality_configuration
+ */
+HWLOC_DECLSPEC int hwloc_topology_load(hwloc_topology_t topology);
+
+/** \brief Terminate and free a topology context
+ *
+ * \param topology is the topology to be freed
+ */
+HWLOC_DECLSPEC void hwloc_topology_destroy (hwloc_topology_t topology);
+
+/** \brief Duplicate a topology.
+ *
+ * The entire topology structure as well as its objects
+ * are duplicated into a new one.
+ *
+ * This is useful for keeping a backup while modifying a topology.
+ *
+ * \note Object userdata is not duplicated since hwloc does not know what it point to.
+ * The objects of both old and new topologies will point to the same userdata.
+ */
+HWLOC_DECLSPEC int hwloc_topology_dup(hwloc_topology_t *newtopology, hwloc_topology_t oldtopology);
+
+/** \brief Run internal checks on a topology structure
+ *
+ * The program aborts if an inconsistency is detected in the given topology.
+ *
+ * \param topology is the topology to be checked
+ *
+ * \note This routine is only useful to developers.
+ *
+ * \note The input topology should have been previously loaded with
+ * hwloc_topology_load().
+ */
+HWLOC_DECLSPEC void hwloc_topology_check(hwloc_topology_t topology);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_configuration Topology Detection Configuration and Query
+ *
+ * Several functions can optionally be called between hwloc_topology_init() and
+ * hwloc_topology_load() to configure how the detection should be performed,
+ * e.g. to ignore some objects types, define a synthetic topology, etc.
+ *
+ * If none of them is called, the default is to detect all the objects of the
+ * machine that the caller is allowed to access.
+ *
+ * This default behavior may also be modified through environment variables
+ * if the application did not modify it already.
+ * Setting HWLOC_XMLFILE in the environment enforces the discovery from a XML
+ * file as if hwloc_topology_set_xml() had been called.
+ * HWLOC_FSROOT switches to reading the topology from the specified Linux
+ * filesystem root as if hwloc_topology_set_fsroot() had been called.
+ * Finally, HWLOC_THISSYSTEM enforces the return value of
+ * hwloc_topology_is_thissystem().
+ *
+ * @{
+ */
+
+/** \brief Ignore an object type.
+ *
+ * Ignore all objects from the given type.
+ * The bottom-level type ::HWLOC_OBJ_PU may not be ignored.
+ * The top-level object of the hierarchy will never be ignored, even if this function
+ * succeeds.
+ * Group objects are always ignored if they do not bring any structure
+ * since they are designed to add structure to the topology.
+ * I/O objects may not be ignored, topology flags should be used to configure
+ * their discovery instead.
+ */
+HWLOC_DECLSPEC int hwloc_topology_ignore_type(hwloc_topology_t topology, hwloc_obj_type_t type);
+
+/** \brief Ignore an object type if it does not bring any structure.
+ *
+ * Ignore all objects from the given type as long as they do not bring any structure:
+ * Each ignored object should have a single children or be the only child of its parent.
+ * The bottom-level type ::HWLOC_OBJ_PU may not be ignored.
+ * I/O objects may not be ignored, topology flags should be used to configure
+ * their discovery instead.
+ */
+HWLOC_DECLSPEC int hwloc_topology_ignore_type_keep_structure(hwloc_topology_t topology, hwloc_obj_type_t type);
+
+/** \brief Ignore all objects that do not bring any structure.
+ *
+ * Ignore all objects that do not bring any structure:
+ * This is equivalent to calling hwloc_topology_ignore_type_keep_structure()
+ * for all object types.
+ */
+HWLOC_DECLSPEC int hwloc_topology_ignore_all_keep_structure(hwloc_topology_t topology);
+
+/** \brief Flags to be set onto a topology context before load.
+ *
+ * Flags should be given to hwloc_topology_set_flags().
+ * They may also be returned by hwloc_topology_get_flags().
+ */
+enum hwloc_topology_flags_e {
+ /** \brief Detect the whole system, ignore reservations and offline settings.
+ *
+ * Gather all resources, even if some were disabled by the administrator.
+ * For instance, ignore Linux Cgroup/Cpusets and gather all processors and memory nodes,
+ * and ignore the fact that some resources may be offline.
+ *
+ * When this flag is not set, PUs that are disallowed are not added to the topology.
+ * Parent objects (package, core, cache, etc.) are added only if some of their children are allowed.
+ * NUMA nodes are always added but their available memory is set to 0 when disallowed.
+ *
+ * If the current topology is exported to XML and reimported later, this flag
+ * should be set again in the reimported topology so that disallowed resources
+ * are reimported as well.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM = (1UL<<0),
+
+ /** \brief Assume that the selected backend provides the topology for the
+ * system on which we are running.
+ *
+ * This forces hwloc_topology_is_thissystem() to return 1, i.e. makes hwloc assume that
+ * the selected backend provides the topology for the system on which we are running,
+ * even if it is not the OS-specific backend but the XML backend for instance.
+ * This means making the binding functions actually call the OS-specific
+ * system calls and really do binding, while the XML backend would otherwise
+ * provide empty hooks just returning success.
+ *
+ * Setting the environment variable HWLOC_THISSYSTEM may also result in the
+ * same behavior.
+ *
+ * This can be used for efficiency reasons to first detect the topology once,
+ * save it to an XML file, and quickly reload it later through the XML
+ * backend, but still having binding functions actually do bind.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM = (1UL<<1),
+
+ /** \brief Detect PCI devices.
+ *
+ * By default, I/O devices are ignored. This flag enables I/O device
+ * detection using the pci backend. Only the common PCI devices (GPUs,
+ * NICs, block devices, ...) and host bridges (objects that connect the host
+ * objects to an I/O subsystem) will be added to the topology.
+ * Additionally it also enables MemoryModule misc objects.
+ * Uncommon devices and other bridges (such as PCI-to-PCI bridges) will be
+ * ignored.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_FLAG_IO_DEVICES = (1UL<<2),
+
+ /** \brief Detect PCI bridges.
+ *
+ * This flag should be combined with ::HWLOC_TOPOLOGY_FLAG_IO_DEVICES to enable
+ * the detection of both common devices and of all useful bridges (bridges that
+ * have at least one device behind them).
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_FLAG_IO_BRIDGES = (1UL<<3),
+
+ /** \brief Detect the whole PCI hierarchy.
+ *
+ * This flag enables detection of all I/O devices (even the uncommon ones
+ * such as DMA channels) and bridges (even those that have no device behind
+ * them) using the pci backend.
+ * This implies ::HWLOC_TOPOLOGY_FLAG_IO_DEVICES.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_FLAG_WHOLE_IO = (1UL<<4),
+
+ /** \brief Detect instruction caches.
+ *
+ * This flag enables detection of Instruction caches,
+ * instead of only Data and Unified caches.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_FLAG_ICACHES = (1UL<<5),
+
+ /** \brief Get the set of allowed resources from the local operating system even if the topology was loaded from XML or synthetic description.
+ *
+ * If the topology was loaded from XML or from a synthetic string,
+ * restrict it by applying the current process restrictions such as
+ * Linux Cgroup/Cpuset.
+ *
+ * This is useful when the topology is not loaded directly from
+ * the local machine (e.g. for performance reason) and it comes
+ * with all resources, while the running process is restricted
+ * to only parts of the machine.
+ *
+ * This flag is ignored unless ::HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM is
+ * also set since the loaded topology must match the underlying machine
+ * where restrictions will be gathered from.
+ *
+ * Setting the environment variable HWLOC_THISSYSTEM_ALLOWED_RESOURCES
+ * would result in the same behavior.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES = (1UL<<6)
+};
+
+/** \brief Set OR'ed flags to non-yet-loaded topology.
+ *
+ * Set a OR'ed set of ::hwloc_topology_flags_e onto a topology that was not yet loaded.
+ *
+ * If this function is called multiple times, the last invokation will erase
+ * and replace the set of flags that was previously set.
+ *
+ * The flags set in a topology may be retrieved with hwloc_topology_get_flags()
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_flags (hwloc_topology_t topology, unsigned long flags);
+
+/** \brief Get OR'ed flags of a topology.
+ *
+ * Get the OR'ed set of ::hwloc_topology_flags_e of a topology.
+ *
+ * \return the flags previously set with hwloc_topology_set_flags().
+ */
+HWLOC_DECLSPEC unsigned long hwloc_topology_get_flags (hwloc_topology_t topology);
+
+/** \brief Change which process the topology is viewed from
+ *
+ * On some systems, processes may have different views of the machine, for
+ * instance the set of allowed CPUs. By default, hwloc exposes the view from
+ * the current process. Calling hwloc_topology_set_pid() permits to make it
+ * expose the topology of the machine from the point of view of another
+ * process.
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ *
+ * \note -1 is returned and errno is set to ENOSYS on platforms that do not
+ * support this feature.
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_pid(hwloc_topology_t __hwloc_restrict topology, hwloc_pid_t pid);
+
+/** \brief Change the file-system root path when building the topology from sysfs/procfs.
+ *
+ * On Linux system, use sysfs and procfs files as if they were mounted on the given
+ * \p fsroot_path instead of the main file-system root. Setting the environment
+ * variable HWLOC_FSROOT may also result in this behavior.
+ * Not using the main file-system root causes hwloc_topology_is_thissystem()
+ * to return 0.
+ *
+ * Note that this function does not actually load topology
+ * information; it just tells hwloc where to load it from. You'll
+ * still need to invoke hwloc_topology_load() to actually load the
+ * topology information.
+ *
+ * \return -1 with errno set to ENOSYS on non-Linux and on Linux systems that
+ * do not support it.
+ * \return -1 with the appropriate errno if \p fsroot_path cannot be used.
+ *
+ * \note For convenience, this backend provides empty binding hooks which just
+ * return success. To have hwloc still actually call OS-specific hooks, the
+ * ::HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM has to be set to assert that the loaded
+ * file is really the underlying system.
+ *
+ * \note On success, the Linux component replaces the previously enabled
+ * component (if any), but the topology is not actually modified until
+ * hwloc_topology_load().
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_fsroot(hwloc_topology_t __hwloc_restrict topology, const char * __hwloc_restrict fsroot_path);
+
+/** \brief Enable synthetic topology.
+ *
+ * Gather topology information from the given \p description,
+ * a space-separated string of numbers describing
+ * the arity of each level.
+ * Each number may be prefixed with a type and a colon to enforce the type
+ * of a level. If only some level types are enforced, hwloc will try to
+ * choose the other types according to usual topologies, but it may fail
+ * and you may have to specify more level types manually.
+ * See also the \ref synthetic.
+ *
+ * If \p description was properly parsed and describes a valid topology
+ * configuration, this function returns 0.
+ * Otherwise -1 is returned and errno is set to EINVAL.
+ *
+ * Note that this function does not actually load topology
+ * information; it just tells hwloc where to load it from. You'll
+ * still need to invoke hwloc_topology_load() to actually load the
+ * topology information.
+ *
+ * \note For convenience, this backend provides empty binding hooks which just
+ * return success.
+ *
+ * \note On success, the synthetic component replaces the previously enabled
+ * component (if any), but the topology is not actually modified until
+ * hwloc_topology_load().
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_synthetic(hwloc_topology_t __hwloc_restrict topology, const char * __hwloc_restrict description);
+
+/** \brief Enable XML-file based topology.
+ *
+ * Gather topology information from the XML file given at \p xmlpath.
+ * Setting the environment variable HWLOC_XMLFILE may also result in this behavior.
+ * This file may have been generated earlier with hwloc_topology_export_xml()
+ * or lstopo file.xml.
+ *
+ * Note that this function does not actually load topology
+ * information; it just tells hwloc where to load it from. You'll
+ * still need to invoke hwloc_topology_load() to actually load the
+ * topology information.
+ *
+ * \return -1 with errno set to EINVAL on failure to read the XML file.
+ *
+ * \note See also hwloc_topology_set_userdata_import_callback()
+ * for importing application-specific object userdata.
+ *
+ * \note For convenience, this backend provides empty binding hooks which just
+ * return success. To have hwloc still actually call OS-specific hooks, the
+ * ::HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM has to be set to assert that the loaded
+ * file is really the underlying system.
+ *
+ * \note On success, the XML component replaces the previously enabled
+ * component (if any), but the topology is not actually modified until
+ * hwloc_topology_load().
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_xml(hwloc_topology_t __hwloc_restrict topology, const char * __hwloc_restrict xmlpath);
+
+/** \brief Enable XML based topology using a memory buffer (instead of
+ * a file, as with hwloc_topology_set_xml()).
+ *
+ * Gather topology information from the XML memory buffer given at \p
+ * buffer and of length \p size. This buffer may have been filled
+ * earlier with hwloc_topology_export_xmlbuffer().
+ *
+ * Note that this function does not actually load topology
+ * information; it just tells hwloc where to load it from. You'll
+ * still need to invoke hwloc_topology_load() to actually load the
+ * topology information.
+ *
+ * \return -1 with errno set to EINVAL on failure to read the XML buffer.
+ *
+ * \note See also hwloc_topology_set_userdata_import_callback()
+ * for importing application-specific object userdata.
+ *
+ * \note For convenience, this backend provides empty binding hooks which just
+ * return success. To have hwloc still actually call OS-specific hooks, the
+ * ::HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM has to be set to assert that the loaded
+ * file is really the underlying system.
+ *
+ * \note On success, the XML component replaces the previously enabled
+ * component (if any), but the topology is not actually modified until
+ * hwloc_topology_load().
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_xmlbuffer(hwloc_topology_t __hwloc_restrict topology, const char * __hwloc_restrict buffer, int size);
+
+/** \brief Prepare the topology for custom assembly.
+ *
+ * The topology then contains a single root object.
+ * It must then be built by inserting other topologies with
+ * hwloc_custom_insert_topology() or single objects with
+ * hwloc_custom_insert_group_object_by_parent().
+ * hwloc_topology_load() must be called to finalize the new
+ * topology as usual.
+ *
+ * \note If nothing is inserted in the topology,
+ * hwloc_topology_load() will fail with errno set to EINVAL.
+ *
+ * \note The cpuset and nodeset of the root object are NULL because
+ * these sets are meaningless when assembling multiple topologies.
+ *
+ * \note On success, the custom component replaces the previously enabled
+ * component (if any), but the topology is not actually modified until
+ * hwloc_topology_load().
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_custom(hwloc_topology_t topology);
+
+/** \brief Provide a distance matrix.
+ *
+ * Provide the matrix of distances between a set of objects of the given type.
+ * \p nbobjs must be at least 2.
+ * The set may or may not contain all the existing objects of this type.
+ * The objects are specified by their OS/physical index in the \p os_index
+ * array. The \p distances matrix follows the same order.
+ * The distance from object i to object j in the i*nbobjs+j.
+ *
+ * A single latency matrix may be defined for each type.
+ * If another distance matrix already exists for the given type,
+ * either because the user specified it or because the OS offers it,
+ * it will be replaced by the given one.
+ * If \p nbobjs is \c 0, \p os_index is \c NULL and \p distances is \c NULL,
+ * the existing distance matrix for the given type is removed.
+ *
+ * \note Distance matrices are ignored in multi-node topologies.
+ */
+HWLOC_DECLSPEC int hwloc_topology_set_distance_matrix(hwloc_topology_t __hwloc_restrict topology,
+ hwloc_obj_type_t type, unsigned nbobjs,
+ unsigned *os_index, float *distances);
+
+/** \brief Does the topology context come from this system?
+ *
+ * \return 1 if this topology context was built using the system
+ * running this program.
+ * \return 0 instead (for instance if using another file-system root,
+ * a XML topology file, or a synthetic topology).
+ */
+HWLOC_DECLSPEC int hwloc_topology_is_thissystem(hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure;
+
+/** \brief Flags describing actual discovery support for this topology. */
+struct hwloc_topology_discovery_support {
+ /** \brief Detecting the number of PU objects is supported. */
+ unsigned char pu;
+};
+
+/** \brief Flags describing actual PU binding support for this topology.
+ *
+ * A flag may be set even if the feature isn't supported in all cases
+ * (e.g. binding to random sets of non-contiguous objects).
+ */
+struct hwloc_topology_cpubind_support {
+ /** Binding the whole current process is supported. */
+ unsigned char set_thisproc_cpubind;
+ /** Getting the binding of the whole current process is supported. */
+ unsigned char get_thisproc_cpubind;
+ /** Binding a whole given process is supported. */
+ unsigned char set_proc_cpubind;
+ /** Getting the binding of a whole given process is supported. */
+ unsigned char get_proc_cpubind;
+ /** Binding the current thread only is supported. */
+ unsigned char set_thisthread_cpubind;
+ /** Getting the binding of the current thread only is supported. */
+ unsigned char get_thisthread_cpubind;
+ /** Binding a given thread only is supported. */
+ unsigned char set_thread_cpubind;
+ /** Getting the binding of a given thread only is supported. */
+ unsigned char get_thread_cpubind;
+ /** Getting the last processors where the whole current process ran is supported */
+ unsigned char get_thisproc_last_cpu_location;
+ /** Getting the last processors where a whole process ran is supported */
+ unsigned char get_proc_last_cpu_location;
+ /** Getting the last processors where the current thread ran is supported */
+ unsigned char get_thisthread_last_cpu_location;
+};
+
+/** \brief Flags describing actual memory binding support for this topology.
+ *
+ * A flag may be set even if the feature isn't supported in all cases
+ * (e.g. binding to random sets of non-contiguous objects).
+ */
+struct hwloc_topology_membind_support {
+ /** Binding the whole current process is supported. */
+ unsigned char set_thisproc_membind;
+ /** Getting the binding of the whole current process is supported. */
+ unsigned char get_thisproc_membind;
+ /** Binding a whole given process is supported. */
+ unsigned char set_proc_membind;
+ /** Getting the binding of a whole given process is supported. */
+ unsigned char get_proc_membind;
+ /** Binding the current thread only is supported. */
+ unsigned char set_thisthread_membind;
+ /** Getting the binding of the current thread only is supported. */
+ unsigned char get_thisthread_membind;
+ /** Binding a given memory area is supported. */
+ unsigned char set_area_membind;
+ /** Getting the binding of a given memory area is supported. */
+ unsigned char get_area_membind;
+ /** Allocating a bound memory area is supported. */
+ unsigned char alloc_membind;
+ /** First-touch policy is supported. */
+ unsigned char firsttouch_membind;
+ /** Bind policy is supported. */
+ unsigned char bind_membind;
+ /** Interleave policy is supported. */
+ unsigned char interleave_membind;
+ /** Replication policy is supported. */
+ unsigned char replicate_membind;
+ /** Next-touch migration policy is supported. */
+ unsigned char nexttouch_membind;
+ /** Migration flags is supported. */
+ unsigned char migrate_membind;
+ /** Getting the last NUMA nodes where a memory area was allocated is supported */
+ unsigned char get_area_memlocation;
+};
+
+/** \brief Set of flags describing actual support for this topology.
+ *
+ * This is retrieved with hwloc_topology_get_support() and will be valid until
+ * the topology object is destroyed. Note: the values are correct only after
+ * discovery.
+ */
+struct hwloc_topology_support {
+ struct hwloc_topology_discovery_support *discovery;
+ struct hwloc_topology_cpubind_support *cpubind;
+ struct hwloc_topology_membind_support *membind;
+};
+
+/** \brief Retrieve the topology support.
+ *
+ * Each flag indicates whether a feature is supported.
+ * If set to 0, the feature is not supported.
+ * If set to 1, the feature is supported, but the corresponding
+ * call may still fail in some corner cases.
+ *
+ * These features are also listed by hwloc-info \--support
+ */
+HWLOC_DECLSPEC const struct hwloc_topology_support *hwloc_topology_get_support(hwloc_topology_t __hwloc_restrict topology);
+
+/** \brief Set the topology-specific userdata pointer.
+ *
+ * Each topology may store one application-given private data pointer.
+ * It is initialized to \c NULL.
+ * hwloc will never modify it.
+ *
+ * Use it as you wish, after hwloc_topology_init() and until hwloc_topolog_destroy().
+ *
+ * This pointer is not exported to XML.
+ */
+HWLOC_DECLSPEC void hwloc_topology_set_userdata(hwloc_topology_t topology, const void *userdata);
+
+/** \brief Retrieve the topology-specific userdata pointer.
+ *
+ * Retrieve the application-given private data pointer that was
+ * previously set with hwloc_topology_set_userdata().
+ */
+HWLOC_DECLSPEC void * hwloc_topology_get_userdata(hwloc_topology_t topology);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_levels Object levels, depths and types
+ * @{
+ *
+ * Be sure to see the figure in \ref termsanddefs that shows a
+ * complete topology tree, including depths, child/sibling/cousin
+ * relationships, and an example of an asymmetric topology where one
+ * package has fewer caches than its peers.
+ */
+
+/** \brief Get the depth of the hierarchical tree of objects.
+ *
+ * This is the depth of ::HWLOC_OBJ_PU objects plus one.
+ *
+ * \note I/O and Misc objects are ignored when computing the depth
+ * of the tree (they are placed on special levels, or none).
+ */
+HWLOC_DECLSPEC unsigned hwloc_topology_get_depth(hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure;
+
+/** \brief Returns the depth of objects of type \p type.
+ *
+ * If no object of this type is present on the underlying architecture, or if
+ * the OS doesn't provide this kind of information, the function returns
+ * ::HWLOC_TYPE_DEPTH_UNKNOWN.
+ *
+ * If type is absent but a similar type is acceptable, see also
+ * hwloc_get_type_or_below_depth() and hwloc_get_type_or_above_depth().
+ *
+ * If some objects of the given type exist in different levels,
+ * for instance L1 and L2 caches, or L1i and L1d caches,
+ * the function returns ::HWLOC_TYPE_DEPTH_MULTIPLE.
+ * See hwloc_get_cache_type_depth() in hwloc/helper.h to better handle this
+ * case.
+ *
+ * If an I/O object type is given, the function returns a virtual value
+ * because I/O objects are stored in special levels that are not CPU-related.
+ * This virtual depth may be passed to other hwloc functions such as
+ * hwloc_get_obj_by_depth() but it should not be considered as an actual
+ * depth by the application. In particular, it should not be compared with
+ * any other object depth or with the entire topology depth.
+ *
+ * If ::HWLOC_OBJ_MISC is given, the function returns ::HWLOC_TYPE_DEPTH_UNKNOWN.
+ */
+HWLOC_DECLSPEC int hwloc_get_type_depth (hwloc_topology_t topology, hwloc_obj_type_t type);
+
+enum hwloc_get_type_depth_e {
+ HWLOC_TYPE_DEPTH_UNKNOWN = -1, /**< \brief No object of given type exists in the topology. \hideinitializer */
+ HWLOC_TYPE_DEPTH_MULTIPLE = -2, /**< \brief Objects of given type exist at different depth in the topology. \hideinitializer */
+ HWLOC_TYPE_DEPTH_BRIDGE = -3, /**< \brief Virtual depth for bridge object level. \hideinitializer */
+ HWLOC_TYPE_DEPTH_PCI_DEVICE = -4, /**< \brief Virtual depth for PCI device object level. \hideinitializer */
+ HWLOC_TYPE_DEPTH_OS_DEVICE = -5 /**< \brief Virtual depth for software device object level. \hideinitializer */
+};
+
+/** \brief Returns the depth of objects of type \p type or below
+ *
+ * If no object of this type is present on the underlying architecture, the
+ * function returns the depth of the first "present" object typically found
+ * inside \p type.
+ *
+ * This function is only meaningful for normal object types.
+ * If an I/O object type is given, the corresponding virtual
+ * depth is always returned (see hwloc_get_type_depth()).
+ * If ::HWLOC_OBJ_MISC is given, the function returns ::HWLOC_TYPE_DEPTH_UNKNOWN.
+ *
+ * If some objects of the given type exist in different levels, for instance
+ * L1 and L2 caches, the function returns ::HWLOC_TYPE_DEPTH_MULTIPLE.
+ */
+static __hwloc_inline int
+hwloc_get_type_or_below_depth (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure;
+
+/** \brief Returns the depth of objects of type \p type or above
+ *
+ * If no object of this type is present on the underlying architecture, the
+ * function returns the depth of the first "present" object typically
+ * containing \p type.
+ *
+ * This function is only meaningful for normal object types.
+ * If an I/O object type is given, the corresponding virtual
+ * depth is always returned (see hwloc_get_type_depth()).
+ * If ::HWLOC_OBJ_MISC is given, the function returns ::HWLOC_TYPE_DEPTH_UNKNOWN.
+ *
+ * If some objects of the given type exist in different levels, for instance
+ * L1 and L2 caches, the function returns ::HWLOC_TYPE_DEPTH_MULTIPLE.
+ */
+static __hwloc_inline int
+hwloc_get_type_or_above_depth (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure;
+
+/** \brief Returns the type of objects at depth \p depth.
+ *
+ * \p depth should between 0 and hwloc_topology_get_depth()-1.
+ *
+ * \return -1 if depth \p depth does not exist.
+ */
+HWLOC_DECLSPEC hwloc_obj_type_t hwloc_get_depth_type (hwloc_topology_t topology, unsigned depth) __hwloc_attribute_pure;
+
+/** \brief Returns the width of level at depth \p depth.
+ */
+HWLOC_DECLSPEC unsigned hwloc_get_nbobjs_by_depth (hwloc_topology_t topology, unsigned depth) __hwloc_attribute_pure;
+
+/** \brief Returns the width of level type \p type
+ *
+ * If no object for that type exists, 0 is returned.
+ * If there are several levels with objects of that type, -1 is returned.
+ */
+static __hwloc_inline int
+hwloc_get_nbobjs_by_type (hwloc_topology_t topology, hwloc_obj_type_t type) __hwloc_attribute_pure;
+
+/** \brief Returns the top-object of the topology-tree.
+ *
+ * Its type is typically ::HWLOC_OBJ_MACHINE but it could be different
+ * for complex topologies.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_root_obj (hwloc_topology_t topology) __hwloc_attribute_pure;
+
+/** \brief Returns the topology object at logical index \p idx from depth \p depth */
+HWLOC_DECLSPEC hwloc_obj_t hwloc_get_obj_by_depth (hwloc_topology_t topology, unsigned depth, unsigned idx) __hwloc_attribute_pure;
+
+/** \brief Returns the topology object at logical index \p idx with type \p type
+ *
+ * If no object for that type exists, \c NULL is returned.
+ * If there are several levels with objects of that type, \c NULL is returned
+ * and ther caller may fallback to hwloc_get_obj_by_depth().
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx) __hwloc_attribute_pure;
+
+/** \brief Returns the next object at depth \p depth.
+ *
+ * If \p prev is \c NULL, return the first object at depth \p depth.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_by_depth (hwloc_topology_t topology, unsigned depth, hwloc_obj_t prev);
+
+/** \brief Returns the next object of type \p type.
+ *
+ * If \p prev is \c NULL, return the first object at type \p type. If
+ * there are multiple or no depth for given type, return \c NULL and
+ * let the caller fallback to hwloc_get_next_obj_by_depth().
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type,
+ hwloc_obj_t prev);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_object_strings Converting between Object Types, Sets and Attributes, and Strings
+ * @{
+ */
+
+/** \brief Return a constant stringified object type.
+ *
+ * This function is the basic way to convert a generic type into a string.
+ *
+ * hwloc_obj_type_snprintf() may return a more precise output for a specific
+ * object, but it requires the caller to provide the output buffer.
+ */
+HWLOC_DECLSPEC const char * hwloc_obj_type_string (hwloc_obj_type_t type) __hwloc_attribute_const;
+
+/** \brief Stringify the type of a given topology object into a human-readable form.
+ *
+ * Contrary to hwloc_obj_type_string(), this function includes object-specific
+ * attributes (such as the Group depth, the Bridge type, or OS device type)
+ * in the output, and it requires the caller to provide the output buffer.
+ *
+ * The output is guaranteed to be the same for all objects of a same topology level.
+ *
+ * If \p size is 0, \p string may safely be \c NULL.
+ *
+ * \return the number of character that were actually written if not truncating,
+ * or that would have been written (not including the ending \\0).
+ */
+HWLOC_DECLSPEC int hwloc_obj_type_snprintf(char * __hwloc_restrict string, size_t size, hwloc_obj_t obj,
+ int verbose);
+
+/** \brief Stringify the attributes of a given topology object into a human-readable form.
+ *
+ * Attribute values are separated by \p separator.
+ *
+ * Only the major attributes are printed in non-verbose mode.
+ *
+ * If \p size is 0, \p string may safely be \c NULL.
+ *
+ * \return the number of character that were actually written if not truncating,
+ * or that would have been written (not including the ending \\0).
+ */
+HWLOC_DECLSPEC int hwloc_obj_attr_snprintf(char * __hwloc_restrict string, size_t size, hwloc_obj_t obj, const char * __hwloc_restrict separator,
+ int verbose);
+
+/** \brief Stringify the cpuset containing a set of objects.
+ *
+ * If \p size is 0, \p string may safely be \c NULL.
+ *
+ * \return the number of character that were actually written if not truncating,
+ * or that would have been written (not including the ending \\0).
+ */
+HWLOC_DECLSPEC int hwloc_obj_cpuset_snprintf(char * __hwloc_restrict str, size_t size, size_t nobj, const hwloc_obj_t * __hwloc_restrict objs);
+
+/** \brief Return an object type and attributes from a type string.
+ *
+ * Convert strings such as "Package" or "Cache" into the corresponding types.
+ * Matching is case-insensitive, and only the first letters are actually
+ * required to match.
+ *
+ * This function is guaranteed to match any string returned by hwloc_obj_type_string()
+ * or hwloc_obj_type_snprintf().
+ *
+ * Types that have specific attributes, for instance caches and groups,
+ * may be returned in \p depthattrp and \p typeattrp. They are ignored
+ * when these pointers are \c NULL.
+ *
+ * For instance "L2i" or "L2iCache" would return
+ * type HWLOC_OBJ_CACHE in \p typep, 2 in \p depthattrp,
+ * and HWLOC_OBJ_CACHE_TYPE_INSTRUCTION in \p typeattrp
+ * (this last pointer should point to a hwloc_obj_cache_type_t).
+ * "Group3" would return type HWLOC_OBJ_GROUP type and 3 in \p depthattrp.
+ * Attributes that are not specified in the string (for instance "Group"
+ * without a depth, or "L2Cache" without a cache type) are set to -1.
+ *
+ * \p typeattrp is only filled if the size specified in \p typeattrsize
+ * is large enough. It is currently only used for caches, and the required
+ * size is at least the size of hwloc_obj_cache_type_t.
+ *
+ * \return 0 if a type was correctly identified, otherwise -1.
+ *
+ * \note This is an extended version of the now deprecated hwloc_obj_type_of_string()
+ */
+HWLOC_DECLSPEC int hwloc_obj_type_sscanf(const char *string,
+ hwloc_obj_type_t *typep,
+ int *depthattrp,
+ void *typeattrp, size_t typeattrsize);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_info_attr Consulting and Adding Key-Value Info Attributes
+ *
+ * @{
+ */
+
+/** \brief Search the given key name in object infos and return the corresponding value.
+ *
+ * If multiple keys match the given name, only the first one is returned.
+ *
+ * \return \c NULL if no such key exists.
+ */
+static __hwloc_inline const char *
+hwloc_obj_get_info_by_name(hwloc_obj_t obj, const char *name) __hwloc_attribute_pure;
+
+/** \brief Add the given info name and value pair to the given object.
+ *
+ * The info is appended to the existing info array even if another key
+ * with the same name already exists.
+ *
+ * The input strings are copied before being added in the object infos.
+ *
+ * \note This function may be used to enforce object colors in the lstopo
+ * graphical output by using "lstopoStyle" as a name and "Background=#rrggbb"
+ * as a value. See CUSTOM COLORS in the lstopo(1) manpage for details.
+ *
+ * \note If \p value contains some non-printable characters, they will
+ * be dropped when exporting to XML, see hwloc_topology_export_xml().
+ */
+HWLOC_DECLSPEC void hwloc_obj_add_info(hwloc_obj_t obj, const char *name, const char *value);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_cpubinding CPU binding
+ *
+ * Some operating systems only support binding threads or processes to a single PU.
+ * Others allow binding to larger sets such as entire Cores or Packages or
+ * even random sets of invididual PUs. In such operating system, the scheduler
+ * is free to run the task on one of these PU, then migrate it to another PU, etc.
+ * It is often useful to call hwloc_bitmap_singlify() on the target CPU set before
+ * passing it to the binding function to avoid these expensive migrations.
+ * See the documentation of hwloc_bitmap_singlify() for details.
+ *
+ * Some operating systems do not provide all hwloc-supported
+ * mechanisms to bind processes, threads, etc.
+ * hwloc_topology_get_support() may be used to query about the actual CPU
+ * binding support in the currently used operating system.
+ *
+ * When the requested binding operation is not available and the
+ * ::HWLOC_CPUBIND_STRICT flag was passed, the function returns -1.
+ * \p errno is set to \c ENOSYS when it is not possible to bind the requested kind of object
+ * processes/threads. errno is set to \c EXDEV when the requested cpuset
+ * can not be enforced (e.g. some systems only allow one CPU, and some
+ * other systems only allow one NUMA node).
+ *
+ * If ::HWLOC_CPUBIND_STRICT was not passed, the function may fail as well,
+ * or the operating system may use a slightly different operation
+ * (with side-effects, smaller binding set, etc.)
+ * when the requested operation is not exactly supported.
+ *
+ * The most portable version that should be preferred over the others,
+ * whenever possible, is the following one which just binds the current program,
+ * assuming it is single-threaded:
+ *
+ * \code
+ * hwloc_set_cpubind(topology, set, 0),
+ * \endcode
+ *
+ * If the program may be multithreaded, the following one should be preferred
+ * to only bind the current thread:
+ *
+ * \code
+ * hwloc_set_cpubind(topology, set, HWLOC_CPUBIND_THREAD),
+ * \endcode
+ *
+ * \sa Some example codes are available under doc/examples/ in the source tree.
+ *
+ * \note To unbind, just call the binding function with either a full cpuset or
+ * a cpuset equal to the system cpuset.
+ *
+ * \note On some operating systems, CPU binding may have effects on memory binding, see
+ * ::HWLOC_CPUBIND_NOMEMBIND
+ *
+ * \note Running lstopo \--top or hwloc-ps can be a very convenient tool to check
+ * how binding actually happened.
+ * @{
+ */
+
+/** \brief Process/Thread binding flags.
+ *
+ * These bit flags can be used to refine the binding policy.
+ *
+ * The default (0) is to bind the current process, assumed to be
+ * single-threaded, in a non-strict way. This is the most portable
+ * way to bind as all operating systems usually provide it.
+ *
+ * \note Not all systems support all kinds of binding. See the
+ * "Detailed Description" section of \ref hwlocality_cpubinding for a
+ * description of errors that can occur.
+ */
+typedef enum {
+ /** \brief Bind all threads of the current (possibly) multithreaded process.
+ * \hideinitializer */
+ HWLOC_CPUBIND_PROCESS = (1<<0),
+
+ /** \brief Bind current thread of current process.
+ * \hideinitializer */
+ HWLOC_CPUBIND_THREAD = (1<<1),
+
+ /** \brief Request for strict binding from the OS.
+ *
+ * By default, when the designated CPUs are all busy while other
+ * CPUs are idle, operating systems may execute the thread/process
+ * on those other CPUs instead of the designated CPUs, to let them
+ * progress anyway. Strict binding means that the thread/process
+ * will _never_ execute on other cpus than the designated CPUs, even
+ * when those are busy with other tasks and other CPUs are idle.
+ *
+ * \note Depending on the operating system, strict binding may not
+ * be possible (e.g., the OS does not implement it) or not allowed
+ * (e.g., for an administrative reasons), and the function will fail
+ * in that case.
+ *
+ * When retrieving the binding of a process, this flag checks
+ * whether all its threads actually have the same binding. If the
+ * flag is not given, the binding of each thread will be
+ * accumulated.
+ *
+ * \note This flag is meaningless when retrieving the binding of a
+ * thread.
+ * \hideinitializer
+ */
+ HWLOC_CPUBIND_STRICT = (1<<2),
+
+ /** \brief Avoid any effect on memory binding
+ *
+ * On some operating systems, some CPU binding function would also
+ * bind the memory on the corresponding NUMA node. It is often not
+ * a problem for the application, but if it is, setting this flag
+ * will make hwloc avoid using OS functions that would also bind
+ * memory. This will however reduce the support of CPU bindings,
+ * i.e. potentially return -1 with errno set to ENOSYS in some
+ * cases.
+ *
+ * This flag is only meaningful when used with functions that set
+ * the CPU binding. It is ignored when used with functions that get
+ * CPU binding information.
+ * \hideinitializer
+ */
+ HWLOC_CPUBIND_NOMEMBIND = (1<<3)
+} hwloc_cpubind_flags_t;
+
+/** \brief Bind current process or thread on cpus given in physical bitmap \p set.
+ *
+ * \return -1 with errno set to ENOSYS if the action is not supported
+ * \return -1 with errno set to EXDEV if the binding cannot be enforced
+ */
+HWLOC_DECLSPEC int hwloc_set_cpubind(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags);
+
+/** \brief Get current process or thread binding.
+ *
+ * Writes into \p set the physical cpuset which the process or thread (according to \e
+ * flags) was last bound to.
+ */
+HWLOC_DECLSPEC int hwloc_get_cpubind(hwloc_topology_t topology, hwloc_cpuset_t set, int flags);
+
+/** \brief Bind a process \p pid on cpus given in physical bitmap \p set.
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ *
+ * \note As a special case on Linux, if a tid (thread ID) is supplied
+ * instead of a pid (process ID) and ::HWLOC_CPUBIND_THREAD is passed in flags,
+ * the binding is applied to that specific thread.
+ *
+ * \note On non-Linux systems, ::HWLOC_CPUBIND_THREAD can not be used in \p flags.
+ */
+HWLOC_DECLSPEC int hwloc_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t set, int flags);
+
+/** \brief Get the current physical binding of process \p pid.
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ *
+ * \note As a special case on Linux, if a tid (thread ID) is supplied
+ * instead of a pid (process ID) and ::HWLOC_CPUBIND_THREAD is passed in flags,
+ * the binding for that specific thread is returned.
+ *
+ * \note On non-Linux systems, ::HWLOC_CPUBIND_THREAD can not be used in \p flags.
+ */
+HWLOC_DECLSPEC int hwloc_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags);
+
+#ifdef hwloc_thread_t
+/** \brief Bind a thread \p thread on cpus given in physical bitmap \p set.
+ *
+ * \note \p hwloc_thread_t is \p pthread_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ *
+ * \note ::HWLOC_CPUBIND_PROCESS can not be used in \p flags.
+ */
+HWLOC_DECLSPEC int hwloc_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_const_cpuset_t set, int flags);
+#endif
+
+#ifdef hwloc_thread_t
+/** \brief Get the current physical binding of thread \p tid.
+ *
+ * \note \p hwloc_thread_t is \p pthread_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ *
+ * \note ::HWLOC_CPUBIND_PROCESS can not be used in \p flags.
+ */
+HWLOC_DECLSPEC int hwloc_get_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_cpuset_t set, int flags);
+#endif
+
+/** \brief Get the last physical CPU where the current process or thread ran.
+ *
+ * The operating system may move some tasks from one processor
+ * to another at any time according to their binding,
+ * so this function may return something that is already
+ * outdated.
+ *
+ * \p flags can include either ::HWLOC_CPUBIND_PROCESS or ::HWLOC_CPUBIND_THREAD to
+ * specify whether the query should be for the whole process (union of all CPUs
+ * on which all threads are running), or only the current thread. If the
+ * process is single-threaded, flags can be set to zero to let hwloc use
+ * whichever method is available on the underlying OS.
+ */
+HWLOC_DECLSPEC int hwloc_get_last_cpu_location(hwloc_topology_t topology, hwloc_cpuset_t set, int flags);
+
+/** \brief Get the last physical CPU where a process ran.
+ *
+ * The operating system may move some tasks from one processor
+ * to another at any time according to their binding,
+ * so this function may return something that is already
+ * outdated.
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ *
+ * \note As a special case on Linux, if a tid (thread ID) is supplied
+ * instead of a pid (process ID) and ::HWLOC_CPUBIND_THREAD is passed in flags,
+ * the last CPU location of that specific thread is returned.
+ *
+ * \note On non-Linux systems, ::HWLOC_CPUBIND_THREAD can not be used in \p flags.
+ */
+HWLOC_DECLSPEC int hwloc_get_proc_last_cpu_location(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_membinding Memory binding
+ *
+ * Memory binding can be done three ways:
+ *
+ * - explicit memory allocation thanks to hwloc_alloc_membind() and friends:
+ * the binding will have effect on the memory allocated by these functions.
+ * - implicit memory binding through binding policy: hwloc_set_membind() and
+ * friends only define the current policy of the process, which will be
+ * applied to the subsequent calls to malloc() and friends.
+ * - migration of existing memory ranges, thanks to hwloc_set_area_membind()
+ * and friends, which move already-allocated data.
+ *
+ * Not all operating systems support all three ways.
+ * hwloc_topology_get_support() may be used to query about the actual memory
+ * binding support in the currently used operating system.
+ *
+ * When the requested binding operation is not available and the
+ * ::HWLOC_MEMBIND_STRICT flag was passed, the function returns -1.
+ * \p errno will be set to \c ENOSYS when the system does support
+ * the specified action or policy
+ * (e.g., some systems only allow binding memory on a per-thread
+ * basis, whereas other systems only allow binding memory for all
+ * threads in a process).
+ * \p errno will be set to EXDEV when the requested set can not be enforced
+ * (e.g., some systems only allow binding memory to a single NUMA node).
+ *
+ * If ::HWLOC_MEMBIND_STRICT was not passed, the function may fail as well,
+ * or the operating system may use a slightly different operation
+ * (with side-effects, smaller binding set, etc.)
+ * when the requested operation is not exactly supported.
+ *
+ * The most portable form that should be preferred over the others
+ * whenever possible is as follows.
+ * It allocates some memory hopefully bound to the specified set.
+ * To do so, hwloc will possibly have to change the current memory
+ * binding policy in order to actually get the memory bound, if the OS
+ * does not provide any other way to simply allocate bound memory
+ * without changing the policy for all allocations. That is the
+ * difference with hwloc_alloc_membind(), which will never change the
+ * current memory binding policy.
+ *
+ * \code
+ * hwloc_alloc_membind_policy(topology, size, set,
+ * HWLOC_MEMBIND_BIND, 0);
+ * \endcode
+ *
+ * Each hwloc memory binding function is available in two forms: one
+ * that takes a bitmap argument (a CPU set by default, or a NUMA memory
+ * node set if the flag ::HWLOC_MEMBIND_BYNODESET is specified),
+ * and another one (whose name ends with _nodeset) that always takes
+ * a NUMA memory node set.
+ * See \ref hwlocality_object_sets and \ref hwlocality_bitmap for a
+ * discussion of CPU sets and NUMA memory node sets.
+ * It is also possible to convert between CPU set and node set using
+ * hwloc_cpuset_to_nodeset() or hwloc_cpuset_from_nodeset().
+ *
+ * Memory binding by CPU set cannot work for CPU-less NUMA memory nodes.
+ * Binding by nodeset should therefore be preferred whenever possible.
+ *
+ * \sa Some example codes are available under doc/examples/ in the source tree.
+ *
+ * \note On some operating systems, memory binding affects the CPU
+ * binding; see ::HWLOC_MEMBIND_NOCPUBIND
+ * @{
+ */
+
+/** \brief Memory binding policy.
+ *
+ * These constants can be used to choose the binding policy. Only one policy can
+ * be used at a time (i.e., the values cannot be OR'ed together).
+ *
+ * Not all systems support all kinds of binding.
+ * hwloc_topology_get_support() may be used to query about the actual memory
+ * binding policy support in the currently used operating system.
+ * See the "Detailed Description" section of \ref hwlocality_membinding
+ * for a description of errors that can occur.
+ */
+typedef enum {
+ /** \brief Reset the memory allocation policy to the system default.
+ * Depending on the operating system, this may correspond to
+ * ::HWLOC_MEMBIND_FIRSTTOUCH (Linux),
+ * or ::HWLOC_MEMBIND_BIND (AIX, HP-UX, OSF, Solaris, Windows).
+ * This policy is never returned by get membind functions when running
+ * on normal machines.
+ * It is only returned when binding hooks are empty because the topology
+ * was loaded from XML, or HWLOC_THISSYSTEM=0, etc.
+ * \hideinitializer */
+ HWLOC_MEMBIND_DEFAULT = 0,
+
+ /** \brief Allocate memory
+ * but do not immediately bind it to a specific locality. Instead,
+ * each page in the allocation is bound only when it is first
+ * touched. Pages are individually bound to the local NUMA node of
+ * the first thread that touches it. If there is not enough memory
+ * on the node, allocation may be done in the specified nodes
+ * before allocating on other nodes.
+ * \hideinitializer */
+ HWLOC_MEMBIND_FIRSTTOUCH = 1,
+
+ /** \brief Allocate memory on the specified nodes.
+ * \hideinitializer */
+ HWLOC_MEMBIND_BIND = 2,
+
+ /** \brief Allocate memory on the given nodes in an interleaved
+ * / round-robin manner. The precise layout of the memory across
+ * multiple NUMA nodes is OS/system specific. Interleaving can be
+ * useful when threads distributed across the specified NUMA nodes
+ * will all be accessing the whole memory range concurrently, since
+ * the interleave will then balance the memory references.
+ * \hideinitializer */
+ HWLOC_MEMBIND_INTERLEAVE = 3,
+
+ /** \brief Replicate memory on the given nodes; reads from this
+ * memory will attempt to be serviced from the NUMA node local to
+ * the reading thread. Replicating can be useful when multiple
+ * threads from the specified NUMA nodes will be sharing the same
+ * read-only data.
+ *
+ * This policy can only be used with existing memory allocations
+ * (i.e., the hwloc_set_*membind*() functions); it cannot be used
+ * with functions that allocate new memory (i.e., the hwloc_alloc*()
+ * functions).
+ * \hideinitializer */
+ HWLOC_MEMBIND_REPLICATE = 4,
+
+ /** \brief For each page bound with this policy, by next time
+ * it is touched (and next time only), it is moved from its current
+ * location to the local NUMA node of the thread where the memory
+ * reference occurred (if it needs to be moved at all).
+ * \hideinitializer */
+ HWLOC_MEMBIND_NEXTTOUCH = 5,
+
+ /** \brief Returned by get_membind() functions when multiple
+ * threads or parts of a memory area have differing memory binding
+ * policies.
+ * \hideinitializer */
+ HWLOC_MEMBIND_MIXED = -1
+} hwloc_membind_policy_t;
+
+/** \brief Memory binding flags.
+ *
+ * These flags can be used to refine the binding policy.
+ * All flags can be logically OR'ed together with the exception of
+ * ::HWLOC_MEMBIND_PROCESS and ::HWLOC_MEMBIND_THREAD;
+ * these two flags are mutually exclusive.
+ *
+ * Not all systems support all kinds of binding.
+ * hwloc_topology_get_support() may be used to query about the actual memory
+ * binding support in the currently used operating system.
+ * See the "Detailed Description" section of \ref hwlocality_membinding
+ * for a description of errors that can occur.
+ */
+typedef enum {
+ /** \brief Set policy for all threads of the specified (possibly
+ * multithreaded) process. This flag is mutually exclusive with
+ * ::HWLOC_MEMBIND_THREAD.
+ * \hideinitializer */
+ HWLOC_MEMBIND_PROCESS = (1<<0),
+
+ /** \brief Set policy for a specific thread of the current process.
+ * This flag is mutually exclusive with ::HWLOC_MEMBIND_PROCESS.
+ * \hideinitializer */
+ HWLOC_MEMBIND_THREAD = (1<<1),
+
+ /** Request strict binding from the OS. The function will fail if
+ * the binding can not be guaranteed / completely enforced.
+ *
+ * This flag has slightly different meanings depending on which
+ * function it is used with.
+ * \hideinitializer */
+ HWLOC_MEMBIND_STRICT = (1<<2),
+
+ /** \brief Migrate existing allocated memory. If the memory cannot
+ * be migrated and the ::HWLOC_MEMBIND_STRICT flag is passed, an error
+ * will be returned.
+ * \hideinitializer */
+ HWLOC_MEMBIND_MIGRATE = (1<<3),
+
+ /** \brief Avoid any effect on CPU binding.
+ *
+ * On some operating systems, some underlying memory binding
+ * functions also bind the application to the corresponding CPU(s).
+ * Using this flag will cause hwloc to avoid using OS functions that
+ * could potentially affect CPU bindings. Note, however, that using
+ * NOCPUBIND may reduce hwloc's overall memory binding
+ * support. Specifically: some of hwloc's memory binding functions
+ * may fail with errno set to ENOSYS when used with NOCPUBIND.
+ * \hideinitializer
+ */
+ HWLOC_MEMBIND_NOCPUBIND = (1<<4),
+
+ /** \brief Consider the bitmap argument as a nodeset.
+ *
+ * Functions whose name ends with _nodeset() take a nodeset argument.
+ * Other functions take a bitmap argument that is considered a nodeset
+ * if this flag is given, or a cpuset otherwise.
+ *
+ * Memory binding by CPU set cannot work for CPU-less NUMA memory nodes.
+ * Binding by nodeset should therefore be preferred whenever possible.
+ * \hideinitializer
+ */
+ HWLOC_MEMBIND_BYNODESET = (1<<5)
+} hwloc_membind_flags_t;
+
+/** \brief Set the default memory binding policy of the current
+ * process or thread to prefer the NUMA node(s) specified by \p nodeset
+ *
+ * If neither ::HWLOC_MEMBIND_PROCESS nor ::HWLOC_MEMBIND_THREAD is
+ * specified, the current process is assumed to be single-threaded.
+ * This is the most portable form as it permits hwloc to use either
+ * process-based OS functions or thread-based OS functions, depending
+ * on which are available.
+ *
+ * \return -1 with errno set to ENOSYS if the action is not supported
+ * \return -1 with errno set to EXDEV if the binding cannot be enforced
+ */
+HWLOC_DECLSPEC int hwloc_set_membind_nodeset(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+
+/** \brief Set the default memory binding policy of the current
+ * process or thread to prefer the NUMA node(s) specified by \p set
+ *
+ * If neither ::HWLOC_MEMBIND_PROCESS nor ::HWLOC_MEMBIND_THREAD is
+ * specified, the current process is assumed to be single-threaded.
+ * This is the most portable form as it permits hwloc to use either
+ * process-based OS functions or thread-based OS functions, depending
+ * on which are available.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ *
+ * \return -1 with errno set to ENOSYS if the action is not supported
+ * \return -1 with errno set to EXDEV if the binding cannot be enforced
+ */
+HWLOC_DECLSPEC int hwloc_set_membind(hwloc_topology_t topology, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags);
+
+/** \brief Query the default memory binding policy and physical locality of the
+ * current process or thread.
+ *
+ * This function has two output parameters: \p nodeset and \p policy.
+ * The values returned in these parameters depend on both the \p flags
+ * passed in and the current memory binding policies and nodesets in
+ * the queried target.
+ *
+ * Passing the ::HWLOC_MEMBIND_PROCESS flag specifies that the query
+ * target is the current policies and nodesets for all the threads in
+ * the current process. Passing ::HWLOC_MEMBIND_THREAD specifies that
+ * the query target is the current policy and nodeset for only the
+ * thread invoking this function.
+ *
+ * If neither of these flags are passed (which is the most portable
+ * method), the process is assumed to be single threaded. This allows
+ * hwloc to use either process-based OS functions or thread-based OS
+ * functions, depending on which are available.
+ *
+ * ::HWLOC_MEMBIND_STRICT is only meaningful when ::HWLOC_MEMBIND_PROCESS
+ * is also specified. In this case, hwloc will check the default
+ * memory policies and nodesets for all threads in the process. If
+ * they are not identical, -1 is returned and errno is set to EXDEV.
+ * If they are identical, the values are returned in \p nodeset and \p
+ * policy.
+ *
+ * Otherwise, if ::HWLOC_MEMBIND_PROCESS is specified (and
+ * ::HWLOC_MEMBIND_STRICT is \em not specified), \p nodeset is set to
+ * the logical OR of all threads' default nodeset.
+ * If all threads' default policies are the same, \p policy is set to
+ * that policy. If they are different, \p policy is set to
+ * ::HWLOC_MEMBIND_MIXED.
+ *
+ * In the ::HWLOC_MEMBIND_THREAD case (or when neither
+ * ::HWLOC_MEMBIND_PROCESS or ::HWLOC_MEMBIND_THREAD is specified), there
+ * is only one nodeset and policy; they are returned in \p nodeset and
+ * \p policy, respectively.
+ *
+ * If any other flags are specified, -1 is returned and errno is set
+ * to EINVAL.
+ */
+HWLOC_DECLSPEC int hwloc_get_membind_nodeset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags);
+
+/** \brief Query the default memory binding policy and physical locality of the
+ * current process or thread.
+ *
+ * This function has two output parameters: \p set and \p policy.
+ * The values returned in these parameters depend on both the \p flags
+ * passed in and the current memory binding policies and nodesets in
+ * the queried target.
+ *
+ * Passing the ::HWLOC_MEMBIND_PROCESS flag specifies that the query
+ * target is the current policies and nodesets for all the threads in
+ * the current process. Passing ::HWLOC_MEMBIND_THREAD specifies that
+ * the query target is the current policy and nodeset for only the
+ * thread invoking this function.
+ *
+ * If neither of these flags are passed (which is the most portable
+ * method), the process is assumed to be single threaded. This allows
+ * hwloc to use either process-based OS functions or thread-based OS
+ * functions, depending on which are available.
+ *
+ * ::HWLOC_MEMBIND_STRICT is only meaningful when ::HWLOC_MEMBIND_PROCESS
+ * is also specified. In this case, hwloc will check the default
+ * memory policies and nodesets for all threads in the process. If
+ * they are not identical, -1 is returned and errno is set to EXDEV.
+ * If they are identical, the values are returned in \p set and \p
+ * policy.
+ *
+ * Otherwise, if ::HWLOC_MEMBIND_PROCESS is specified (and
+ * ::HWLOC_MEMBIND_STRICT is \em not specified), the default set
+ * from each thread is logically OR'ed together.
+ * If all threads' default policies are the same, \p policy is set to
+ * that policy. If they are different, \p policy is set to
+ * ::HWLOC_MEMBIND_MIXED.
+ *
+ * In the ::HWLOC_MEMBIND_THREAD case (or when neither
+ * ::HWLOC_MEMBIND_PROCESS or ::HWLOC_MEMBIND_THREAD is specified), there
+ * is only one set and policy; they are returned in \p set and
+ * \p policy, respectively.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ *
+ * If any other flags are specified, -1 is returned and errno is set
+ * to EINVAL.
+ */
+HWLOC_DECLSPEC int hwloc_get_membind(hwloc_topology_t topology, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags);
+
+/** \brief Set the default memory binding policy of the specified
+ * process to prefer the NUMA node(s) specified by \p nodeset
+ *
+ * \return -1 with errno set to ENOSYS if the action is not supported
+ * \return -1 with errno set to EXDEV if the binding cannot be enforced
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ */
+HWLOC_DECLSPEC int hwloc_set_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+
+/** \brief Set the default memory binding policy of the specified
+ * process to prefer the NUMA node(s) specified by \p set
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ *
+ * \return -1 with errno set to ENOSYS if the action is not supported
+ * \return -1 with errno set to EXDEV if the binding cannot be enforced
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ */
+HWLOC_DECLSPEC int hwloc_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags);
+
+/** \brief Query the default memory binding policy and physical locality of the
+ * specified process.
+ *
+ * This function has two output parameters: \p nodeset and \p policy.
+ * The values returned in these parameters depend on both the \p flags
+ * passed in and the current memory binding policies and nodesets in
+ * the queried target.
+ *
+ * Passing the ::HWLOC_MEMBIND_PROCESS flag specifies that the query
+ * target is the current policies and nodesets for all the threads in
+ * the specified process. If ::HWLOC_MEMBIND_PROCESS is not specified
+ * (which is the most portable method), the process is assumed to be
+ * single threaded. This allows hwloc to use either process-based OS
+ * functions or thread-based OS functions, depending on which are
+ * available.
+ *
+ * Note that it does not make sense to pass ::HWLOC_MEMBIND_THREAD to
+ * this function.
+ *
+ * If ::HWLOC_MEMBIND_STRICT is specified, hwloc will check the default
+ * memory policies and nodesets for all threads in the specified
+ * process. If they are not identical, -1 is returned and errno is
+ * set to EXDEV. If they are identical, the values are returned in \p
+ * nodeset and \p policy.
+ *
+ * Otherwise, \p nodeset is set to the logical OR of all threads'
+ * default nodeset. If all threads' default policies are the same, \p
+ * policy is set to that policy. If they are different, \p policy is
+ * set to ::HWLOC_MEMBIND_MIXED.
+ *
+ * If any other flags are specified, -1 is returned and errno is set
+ * to EINVAL.
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ */
+HWLOC_DECLSPEC int hwloc_get_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags);
+
+/** \brief Query the default memory binding policy and physical locality of the
+ * specified process.
+ *
+ * This function has two output parameters: \p set and \p policy.
+ * The values returned in these parameters depend on both the \p flags
+ * passed in and the current memory binding policies and nodesets in
+ * the queried target.
+ *
+ * Passing the ::HWLOC_MEMBIND_PROCESS flag specifies that the query
+ * target is the current policies and nodesets for all the threads in
+ * the specified process. If ::HWLOC_MEMBIND_PROCESS is not specified
+ * (which is the most portable method), the process is assumed to be
+ * single threaded. This allows hwloc to use either process-based OS
+ * functions or thread-based OS functions, depending on which are
+ * available.
+ *
+ * Note that it does not make sense to pass ::HWLOC_MEMBIND_THREAD to
+ * this function.
+ *
+ * If ::HWLOC_MEMBIND_STRICT is specified, hwloc will check the default
+ * memory policies and nodesets for all threads in the specified
+ * process. If they are not identical, -1 is returned and errno is
+ * set to EXDEV. If they are identical, the values are returned in \p
+ * set and \p policy.
+ *
+ * Otherwise, \p set is set to the logical OR of all threads'
+ * default set. If all threads' default policies
+ * are the same, \p policy is set to that policy. If they are
+ * different, \p policy is set to ::HWLOC_MEMBIND_MIXED.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ *
+ * If any other flags are specified, -1 is returned and errno is set
+ * to EINVAL.
+ *
+ * \note \p hwloc_pid_t is \p pid_t on Unix platforms,
+ * and \p HANDLE on native Windows platforms.
+ */
+HWLOC_DECLSPEC int hwloc_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags);
+
+/** \brief Bind the already-allocated memory identified by (addr, len)
+ * to the NUMA node(s) specified by \p nodeset.
+ *
+ * \return 0 if \p len is 0.
+ * \return -1 with errno set to ENOSYS if the action is not supported
+ * \return -1 with errno set to EXDEV if the binding cannot be enforced
+ */
+HWLOC_DECLSPEC int hwloc_set_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+
+/** \brief Bind the already-allocated memory identified by (addr, len)
+ * to the NUMA node(s) specified by \p set.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ *
+ * \return 0 if \p len is 0.
+ * \return -1 with errno set to ENOSYS if the action is not supported
+ * \return -1 with errno set to EXDEV if the binding cannot be enforced
+ */
+HWLOC_DECLSPEC int hwloc_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags);
+
+/** \brief Query the physical NUMA node(s) and binding policy of the memory
+ * identified by (\p addr, \p len ).
+ *
+ * This function has two output parameters: \p nodeset and \p policy.
+ * The values returned in these parameters depend on both the \p flags
+ * passed in and the memory binding policies and nodesets of the pages
+ * in the address range.
+ *
+ * If ::HWLOC_MEMBIND_STRICT is specified, the target pages are first
+ * checked to see if they all have the same memory binding policy and
+ * nodeset. If they do not, -1 is returned and errno is set to EXDEV.
+ * If they are identical across all pages, the nodeset and policy are
+ * returned in \p nodeset and \p policy, respectively.
+ *
+ * If ::HWLOC_MEMBIND_STRICT is not specified, \p nodeset is set to the
+ * union of all NUMA node(s) containing pages in the address range.
+ * If all pages in the target have the same policy, it is returned in
+ * \p policy. Otherwise, \p policy is set to ::HWLOC_MEMBIND_MIXED.
+ *
+ * If \p len is 0, -1 is returned and errno is set to EINVAL.
+ *
+ * If any other flags are specified, -1 is returned and errno is set
+ * to EINVAL.
+ */
+HWLOC_DECLSPEC int hwloc_get_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags);
+
+/** \brief Query the CPUs near the physical NUMA node(s) and binding policy of
+ * the memory identified by (\p addr, \p len ).
+ *
+ * This function has two output parameters: \p set and \p policy.
+ * The values returned in these parameters depend on both the \p flags
+ * passed in and the memory binding policies and nodesets of the pages
+ * in the address range.
+ *
+ * If ::HWLOC_MEMBIND_STRICT is specified, the target pages are first
+ * checked to see if they all have the same memory binding policy and
+ * nodeset. If they do not, -1 is returned and errno is set to EXDEV.
+ * If they are identical across all pages, the set and policy are
+ * returned in \p set and \p policy, respectively.
+ *
+ * If ::HWLOC_MEMBIND_STRICT is not specified, the union of all NUMA
+ * node(s) containing pages in the address range is calculated.
+ * If all pages in the target have the same policy, it is returned in
+ * \p policy. Otherwise, \p policy is set to ::HWLOC_MEMBIND_MIXED.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ *
+ * If \p len is 0, -1 is returned and errno is set to EINVAL.
+ *
+ * If any other flags are specified, -1 is returned and errno is set
+ * to EINVAL.
+ */
+HWLOC_DECLSPEC int hwloc_get_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags);
+
+/** \brief Get the NUMA nodes where memory identified by (\p addr, \p len ) is physically allocated.
+ *
+ * Fills \p set according to the NUMA nodes where the memory area pages
+ * are physically allocated. If no page is actually allocated yet,
+ * \p set may be empty.
+ *
+ * If pages spread to multiple nodes, it is not specified whether they spread
+ * equitably, or whether most of them are on a single node, etc.
+ *
+ * The operating system may move memory pages from one processor
+ * to another at any time according to their binding,
+ * so this function may return something that is already
+ * outdated.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified in \p flags, set is
+ * considered a nodeset. Otherwise it's a cpuset.
+ *
+ * If \p len is 0, \p set is emptied.
+ */
+HWLOC_DECLSPEC int hwloc_get_area_memlocation(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, int flags);
+
+/** \brief Allocate some memory
+ *
+ * This is equivalent to malloc(), except that it tries to allocate
+ * page-aligned memory from the OS.
+ *
+ * \note The allocated memory should be freed with hwloc_free().
+ */
+HWLOC_DECLSPEC void *hwloc_alloc(hwloc_topology_t topology, size_t len);
+
+/** \brief Allocate some memory on NUMA memory nodes specified by \p nodeset
+ *
+ * \return NULL with errno set to ENOSYS if the action is not supported
+ * and ::HWLOC_MEMBIND_STRICT is given
+ * \return NULL with errno set to EXDEV if the binding cannot be enforced
+ * and ::HWLOC_MEMBIND_STRICT is given
+ * \return NULL with errno set to ENOMEM if the memory allocation failed
+ * even before trying to bind.
+ *
+ * \note The allocated memory should be freed with hwloc_free().
+ */
+HWLOC_DECLSPEC void *hwloc_alloc_membind_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc;
+
+/** \brief Allocate some memory on NUMA memory nodes specified by \p set
+ *
+ * \return NULL with errno set to ENOSYS if the action is not supported
+ * and ::HWLOC_MEMBIND_STRICT is given
+ * \return NULL with errno set to EXDEV if the binding cannot be enforced
+ * and ::HWLOC_MEMBIND_STRICT is given
+ * \return NULL with errno set to ENOMEM if the memory allocation failed
+ * even before trying to bind.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ *
+ * \note The allocated memory should be freed with hwloc_free().
+ */
+HWLOC_DECLSPEC void *hwloc_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc;
+
+/** \brief Allocate some memory on NUMA memory nodes specified by \p nodeset
+ *
+ * This is similar to hwloc_alloc_membind() except that it is allowed to change
+ * the current memory binding policy, thus providing more binding support, at
+ * the expense of changing the current state.
+ */
+static __hwloc_inline void *
+hwloc_alloc_membind_policy_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc;
+
+/** \brief Allocate some memory on NUMA memory nodes specified by \p set
+ *
+ * This is similar to hwloc_alloc_membind_nodeset() except that it is allowed to change
+ * the current memory binding policy, thus providing more binding support, at
+ * the expense of changing the current state.
+ *
+ * If ::HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
+ * Otherwise it's a cpuset.
+ */
+static __hwloc_inline void *
+hwloc_alloc_membind_policy(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags) __hwloc_attribute_malloc;
+
+/** \brief Free memory that was previously allocated by hwloc_alloc()
+ * or hwloc_alloc_membind().
+ */
+HWLOC_DECLSPEC int hwloc_free(hwloc_topology_t topology, void *addr, size_t len);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_tinker Modifying a loaded Topology
+ * @{
+ */
+
+/** \brief Add a MISC object to the topology
+ *
+ * A new MISC object will be created and inserted into the topology at the
+ * position given by bitmap \p cpuset. This offers a way to add new
+ * intermediate levels to the topology hierarchy.
+ *
+ * \p cpuset and \p name will be copied to setup the new object attributes.
+ *
+ * \return the newly-created object.
+ * \return \c NULL if the insertion conflicts with the existing topology tree.
+ *
+ * \note If \p name contains some non-printable characters, they will
+ * be dropped when exporting to XML, see hwloc_topology_export_xml().
+ */
+HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_insert_misc_object_by_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, const char *name);
+
+/** \brief Add a MISC object as a leaf of the topology
+ *
+ * A new MISC object will be created and inserted into the topology at the
+ * position given by parent. It is appended to the list of existing children,
+ * without ever adding any intermediate hierarchy level. This is useful for
+ * annotating the topology without actually changing the hierarchy.
+ *
+ * \p name will be copied to the setup the new object attributes.
+ * However, the new leaf object will not have any \p cpuset.
+ *
+ * \return the newly-created object
+ *
+ * \note If \p name contains some non-printable characters, they will
+ * be dropped when exporting to XML, see hwloc_topology_export_xml().
+ */
+HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_insert_misc_object_by_parent(hwloc_topology_t topology, hwloc_obj_t parent, const char *name);
+
+/** \brief Flags to be given to hwloc_topology_restrict(). */
+enum hwloc_restrict_flags_e {
+ /** \brief Adapt distance matrices according to objects being removed during restriction.
+ * If this flag is not set, distance matrices are removed.
+ * \hideinitializer
+ */
+ HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES = (1UL<<0),
+
+ /** \brief Move Misc objects to ancestors if their parents are removed during restriction.
+ * If this flag is not set, Misc objects are removed when their parents are removed.
+ * \hideinitializer
+ */
+ HWLOC_RESTRICT_FLAG_ADAPT_MISC = (1UL<<1),
+
+ /** \brief Move I/O objects to ancestors if their parents are removed during restriction.
+ * If this flag is not set, I/O devices and bridges are removed when their parents are removed.
+ * \hideinitializer
+ */
+ HWLOC_RESTRICT_FLAG_ADAPT_IO = (1UL<<2)
+};
+
+/** \brief Restrict the topology to the given CPU set.
+ *
+ * Topology \p topology is modified so as to remove all objects that
+ * are not included (or partially included) in the CPU set \p cpuset.
+ * All objects CPU and node sets are restricted accordingly.
+ *
+ * \p flags is a OR'ed set of ::hwloc_restrict_flags_e.
+ *
+ * \note This call may not be reverted by restricting back to a larger
+ * cpuset. Once dropped during restriction, objects may not be brought
+ * back, except by loading another topology with hwloc_topology_load().
+ *
+ * \return 0 on success.
+ *
+ * \return -1 with errno set to EINVAL if the input cpuset is invalid.
+ * The topology is not modified in this case.
+ *
+ * \return -1 with errno set to ENOMEM on failure to allocate internal data.
+ * The topology is reinitialized in this case. It should be either
+ * destroyed with hwloc_topology_destroy() or configured and loaded again.
+ */
+HWLOC_DECLSPEC int hwloc_topology_restrict(hwloc_topology_t __hwloc_restrict topology, hwloc_const_cpuset_t cpuset, unsigned long flags);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_custom Building Custom Topologies
+ *
+ * A custom topology may be initialized by calling hwloc_topology_set_custom()
+ * after hwloc_topology_init(). It may then be modified by inserting objects
+ * or entire topologies. Once done assembling, hwloc_topology_load() should
+ * be invoked as usual to finalize the topology.
+ * @{
+ */
+
+/** \brief Insert an existing topology inside a custom topology
+ *
+ * Duplicate the existing topology \p oldtopology inside a new
+ * custom topology \p newtopology as a leaf of object \p newparent.
+ *
+ * If \p oldroot is not \c NULL, duplicate \p oldroot and all its
+ * children instead of the entire \p oldtopology. Passing the root
+ * object of \p oldtopology in \p oldroot is equivalent to passing
+ * \c NULL.
+ *
+ * The custom topology \p newtopology must have been prepared with
+ * hwloc_topology_set_custom() and not loaded with hwloc_topology_load()
+ * yet.
+ *
+ * \p newparent may be either the root of \p newtopology or an object
+ * that was added through hwloc_custom_insert_group_object_by_parent().
+ *
+ * \note The cpuset and nodeset of the \p newparent object are not
+ * modified based on the contents of \p oldtopology.
+ */
+HWLOC_DECLSPEC int hwloc_custom_insert_topology(hwloc_topology_t newtopology, hwloc_obj_t newparent, hwloc_topology_t oldtopology, hwloc_obj_t oldroot);
+
+/** \brief Insert a new group object inside a custom topology
+ *
+ * An object with type ::HWLOC_OBJ_GROUP is inserted as a new child
+ * of object \p parent.
+ *
+ * \p groupdepth is the depth attribute to be given to the new object.
+ * It may for instance be 0 for top-level groups, 1 for their children,
+ * and so on.
+ *
+ * The custom topology \p newtopology must have been prepared with
+ * hwloc_topology_set_custom() and not loaded with hwloc_topology_load()
+ * yet.
+ *
+ * \p parent may be either the root of \p topology or an object that
+ * was added earlier through hwloc_custom_insert_group_object_by_parent().
+ *
+ * \note The cpuset and nodeset of the new group object are NULL because
+ * these sets are meaningless when assembling multiple topologies.
+ *
+ * \note The cpuset and nodeset of the \p parent object are not modified.
+ */
+HWLOC_DECLSPEC hwloc_obj_t hwloc_custom_insert_group_object_by_parent(hwloc_topology_t topology, hwloc_obj_t parent, int groupdepth);
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_xmlexport Exporting Topologies to XML
+ * @{
+ */
+
+/** \brief Export the topology into an XML file.
+ *
+ * This file may be loaded later through hwloc_topology_set_xml().
+ *
+ * \return -1 if a failure occured.
+ *
+ * \note See also hwloc_topology_set_userdata_export_callback()
+ * for exporting application-specific object userdata.
+ *
+ * \note The topology-specific userdata pointer is ignored when exporting to XML.
+ *
+ * \note Only printable characters may be exported to XML string attributes.
+ * Any other character, especially any non-ASCII character, will be silently
+ * dropped.
+ *
+ * \note If \p name is "-", the XML output is sent to the standard output.
+ */
+HWLOC_DECLSPEC int hwloc_topology_export_xml(hwloc_topology_t topology, const char *xmlpath);
+
+/** \brief Export the topology into a newly-allocated XML memory buffer.
+ *
+ * \p xmlbuffer is allocated by the callee and should be freed with
+ * hwloc_free_xmlbuffer() later in the caller.
+ *
+ * This memory buffer may be loaded later through hwloc_topology_set_xmlbuffer().
+ *
+ * The returned buffer ends with a \0 that is included in the returned
+ * length.
+ *
+ * \return -1 if a failure occured.
+ *
+ * \note See also hwloc_topology_set_userdata_export_callback()
+ * for exporting application-specific object userdata.
+ *
+ * \note The topology-specific userdata pointer is ignored when exporting to XML.
+ *
+ * \note Only printable characters may be exported to XML string attributes.
+ * Any other character, especially any non-ASCII character, will be silently
+ * dropped.
+ */
+HWLOC_DECLSPEC int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen);
+
+/** \brief Free a buffer allocated by hwloc_topology_export_xmlbuffer() */
+HWLOC_DECLSPEC void hwloc_free_xmlbuffer(hwloc_topology_t topology, char *xmlbuffer);
+
+/** \brief Set the application-specific callback for exporting object userdata
+ *
+ * The object userdata pointer is not exported to XML by default because hwloc
+ * does not know what it contains.
+ *
+ * This function lets applications set \p export_cb to a callback function
+ * that converts this opaque userdata into an exportable string.
+ *
+ * \p export_cb is invoked during XML export for each object whose
+ * \p userdata pointer is not \c NULL.
+ * The callback should use hwloc_export_obj_userdata() or
+ * hwloc_export_obj_userdata_base64() to actually export
+ * something to XML (possibly multiple times per object).
+ *
+ * \p export_cb may be set to \c NULL if userdata should not be exported to XML.
+ *
+ * \note The topology-specific userdata pointer is ignored when exporting to XML.
+ */
+HWLOC_DECLSPEC void hwloc_topology_set_userdata_export_callback(hwloc_topology_t topology,
+ void (*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj));
+
+/** \brief Export some object userdata to XML
+ *
+ * This function may only be called from within the export() callback passed
+ * to hwloc_topology_set_userdata_export_callback().
+ * It may be invoked one of multiple times to export some userdata to XML.
+ * The \p buffer content of length \p length is stored with optional name
+ * \p name.
+ *
+ * When importing this XML file, the import() callback (if set) will be
+ * called exactly as many times as hwloc_export_obj_userdata() was called
+ * during export(). It will receive the corresponding \p name, \p buffer
+ * and \p length arguments.
+ *
+ * \p reserved, \p topology and \p obj must be the first three parameters
+ * that were given to the export callback.
+ *
+ * Only printable characters may be exported to XML string attributes.
+ * If a non-printable character is passed in \p name or \p buffer,
+ * the function returns -1 with errno set to EINVAL.
+ *
+ * If exporting binary data, the application should first encode into
+ * printable characters only (or use hwloc_export_obj_userdata_base64()).
+ * It should also take care of portability issues if the export may
+ * be reimported on a different architecture.
+ */
+HWLOC_DECLSPEC int hwloc_export_obj_userdata(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length);
+
+/** \brief Encode and export some object userdata to XML
+ *
+ * This function is similar to hwloc_export_obj_userdata() but it encodes
+ * the input buffer into printable characters before exporting.
+ * On import, decoding is automatically performed before the data is given
+ * to the import() callback if any.
+ *
+ * This function may only be called from within the export() callback passed
+ * to hwloc_topology_set_userdata_export_callback().
+ *
+ * The function does not take care of portability issues if the export
+ * may be reimported on a different architecture.
+ */
+HWLOC_DECLSPEC int hwloc_export_obj_userdata_base64(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length);
+
+/** \brief Set the application-specific callback for importing userdata
+ *
+ * On XML import, userdata is ignored by default because hwloc does not know
+ * how to store it in memory.
+ *
+ * This function lets applications set \p import_cb to a callback function
+ * that will get the XML-stored userdata and store it in the object as expected
+ * by the application.
+ *
+ * \p import_cb is called during hwloc_topology_load() as many times as
+ * hwloc_export_obj_userdata() was called during export. The topology
+ * is not entirely setup yet. Object attributes are ready to consult,
+ * but links between objects are not.
+ *
+ * \p import_cb may be \c NULL if userdata should be ignored during import.
+ *
+ * \note \p buffer contains \p length characters followed by a null byte ('\0').
+ *
+ * \note This function should be called before hwloc_topology_load().
+ *
+ * \note The topology-specific userdata pointer is ignored when importing from XML.
+ */
+HWLOC_DECLSPEC void hwloc_topology_set_userdata_import_callback(hwloc_topology_t topology,
+ void (*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length));
+
+/** @} */
+
+
+/** \defgroup hwlocality_syntheticexport Exporting Topologies to Synthetic
+ * @{
+ */
+
+/** \brief Flags for exporting synthetic topologies.
+ *
+ * Flags to be given as a OR'ed set to hwloc_topology_export_synthetic().
+ */
+enum hwloc_topology_export_synthetic_flags_e {
+ /** \brief Export extended types such as L2dcache as basic types such as Cache.
+ *
+ * This is required if loading the synthetic description with hwloc < 1.9.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES = (1UL<<0),
+
+ /** \brief Do not export level attributes.
+ *
+ * Ignore level attributes such as memory/cache sizes or PU indexes.
+ * This is required if loading the synthetic description with hwloc < 1.10.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS = (1UL<<1)
+};
+
+/** \brief Export the topology as a synthetic string.
+ *
+ * At most \p buflen characters will be written in \p buffer,
+ * including the terminating \0.
+ *
+ * This exported string may be given back to hwloc_topology_set_synthetic().
+ *
+ * \p flags is a OR'ed set of hwloc_topology_export_synthetic_flags_e.
+ *
+ * \return The number of characters that were written,
+ * not including the terminating \0.
+ *
+ * \return -1 if the topology could not be exported,
+ * for instance if it is not symmetric.
+ *
+ * \note A 1024-byte buffer should be large enough for exporting
+ * topologies in the vast majority of cases.
+ */
+ HWLOC_DECLSPEC int hwloc_topology_export_synthetic(hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags);
+
+/** @} */
+
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+/* high-level helpers */
+#include <hwloc/helper.h>
+
+/* inline code of some functions above */
+#include <hwloc/inlines.h>
+
+/* topology diffs */
+#include <hwloc/diff.h>
+
+/* deprecated headers */
+#include <hwloc/deprecated.h>
+
+#endif /* HWLOC_H */
--- /dev/null
+/* -*- c -*-
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* The configuration file */
+
+#ifndef HWLOC_CONFIG_H
+#define HWLOC_CONFIG_H
+
+#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
+# define __hwloc_restrict __restrict
+#else
+# if __STDC_VERSION__ >= 199901L
+# define __hwloc_restrict restrict
+# else
+# define __hwloc_restrict
+# endif
+#endif
+
+/* Note that if we're compiling C++, then just use the "inline"
+ keyword, since it's part of C++ */
+#if defined(c_plusplus) || defined(__cplusplus)
+# define __hwloc_inline inline
+#elif defined(_MSC_VER) || defined(__HP_cc)
+# define __hwloc_inline __inline
+#else
+# define __hwloc_inline __inline__
+#endif
+
+/*
+ * Note: this is public. We can not assume anything from the compiler used
+ * by the application and thus the HWLOC_HAVE_* macros below are not
+ * fetched from the autoconf result here. We only automatically use a few
+ * well-known easy cases.
+ */
+
+/* Some handy constants to make the logic below a little more readable */
+#if defined(__cplusplus) && \
+ (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR >= 4))
+#define GXX_ABOVE_3_4 1
+#else
+#define GXX_ABOVE_3_4 0
+#endif
+
+#if !defined(__cplusplus) && \
+ (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
+#define GCC_ABOVE_2_95 1
+#else
+#define GCC_ABOVE_2_95 0
+#endif
+
+#if !defined(__cplusplus) && \
+ (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
+#define GCC_ABOVE_2_96 1
+#else
+#define GCC_ABOVE_2_96 0
+#endif
+
+#if !defined(__cplusplus) && \
+ (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
+#define GCC_ABOVE_3_3 1
+#else
+#define GCC_ABOVE_3_3 0
+#endif
+
+/* Maybe before gcc 2.95 too */
+#ifdef HWLOC_HAVE_ATTRIBUTE_UNUSED
+#define __HWLOC_HAVE_ATTRIBUTE_UNUSED HWLOC_HAVE_ATTRIBUTE_UNUSED
+#elif defined(__GNUC__)
+# define __HWLOC_HAVE_ATTRIBUTE_UNUSED (GXX_ABOVE_3_4 || GCC_ABOVE_2_95)
+#else
+# define __HWLOC_HAVE_ATTRIBUTE_UNUSED 0
+#endif
+#if __HWLOC_HAVE_ATTRIBUTE_UNUSED
+# define __hwloc_attribute_unused __attribute__((__unused__))
+#else
+# define __hwloc_attribute_unused
+#endif
+
+#ifdef HWLOC_HAVE_ATTRIBUTE_MALLOC
+#define __HWLOC_HAVE_ATTRIBUTE_MALLOC HWLOC_HAVE_ATTRIBUTE_MALLOC
+#elif defined(__GNUC__)
+# define __HWLOC_HAVE_ATTRIBUTE_MALLOC (GXX_ABOVE_3_4 || GCC_ABOVE_2_96)
+#else
+# define __HWLOC_HAVE_ATTRIBUTE_MALLOC 0
+#endif
+#if __HWLOC_HAVE_ATTRIBUTE_MALLOC
+# define __hwloc_attribute_malloc __attribute__((__malloc__))
+#else
+# define __hwloc_attribute_malloc
+#endif
+
+#ifdef HWLOC_HAVE_ATTRIBUTE_CONST
+#define __HWLOC_HAVE_ATTRIBUTE_CONST HWLOC_HAVE_ATTRIBUTE_CONST
+#elif defined(__GNUC__)
+# define __HWLOC_HAVE_ATTRIBUTE_CONST (GXX_ABOVE_3_4 || GCC_ABOVE_2_95)
+#else
+# define __HWLOC_HAVE_ATTRIBUTE_CONST 0
+#endif
+#if __HWLOC_HAVE_ATTRIBUTE_CONST
+# define __hwloc_attribute_const __attribute__((__const__))
+#else
+# define __hwloc_attribute_const
+#endif
+
+#ifdef HWLOC_HAVE_ATTRIBUTE_PURE
+#define __HWLOC_HAVE_ATTRIBUTE_PURE HWLOC_HAVE_ATTRIBUTE_PURE
+#elif defined(__GNUC__)
+# define __HWLOC_HAVE_ATTRIBUTE_PURE (GXX_ABOVE_3_4 || GCC_ABOVE_2_96)
+#else
+# define __HWLOC_HAVE_ATTRIBUTE_PURE 0
+#endif
+#if __HWLOC_HAVE_ATTRIBUTE_PURE
+# define __hwloc_attribute_pure __attribute__((__pure__))
+#else
+# define __hwloc_attribute_pure
+#endif
+
+#ifndef __hwloc_attribute_deprecated /* allow the user to disable these warnings by defining this macro to nothing */
+#ifdef HWLOC_HAVE_ATTRIBUTE_DEPRECATED
+#define __HWLOC_HAVE_ATTRIBUTE_DEPRECATED HWLOC_HAVE_ATTRIBUTE_DEPRECATED
+#elif defined(__GNUC__)
+# define __HWLOC_HAVE_ATTRIBUTE_DEPRECATED (GXX_ABOVE_3_4 || GCC_ABOVE_3_3)
+#else
+# define __HWLOC_HAVE_ATTRIBUTE_DEPRECATED 0
+#endif
+#if __HWLOC_HAVE_ATTRIBUTE_DEPRECATED
+# define __hwloc_attribute_deprecated __attribute__((__deprecated__))
+#else
+# define __hwloc_attribute_deprecated
+#endif
+#endif
+
+#ifdef HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS
+#define __HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS
+#elif defined(__GNUC__)
+# define __HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS (GXX_ABOVE_3_4 || GCC_ABOVE_3_3)
+#else
+# define __HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS 0
+#endif
+#if __HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS
+# define __hwloc_attribute_may_alias __attribute__((__may_alias__))
+#else
+# define __hwloc_attribute_may_alias
+#endif
+
+#ifdef HWLOC_C_HAVE_VISIBILITY
+# if HWLOC_C_HAVE_VISIBILITY
+# define HWLOC_DECLSPEC __attribute__((__visibility__("default")))
+# else
+# define HWLOC_DECLSPEC
+# endif
+#else
+# define HWLOC_DECLSPEC
+#endif
+
+/* Defined to 1 on Linux */
+#undef HWLOC_LINUX_SYS
+
+/* Defined to 1 if the CPU_SET macro works */
+#undef HWLOC_HAVE_CPU_SET
+
+/* Defined to 1 if you have the `windows.h' header. */
+#undef HWLOC_HAVE_WINDOWS_H
+#undef hwloc_pid_t
+#undef hwloc_thread_t
+
+#ifdef HWLOC_HAVE_WINDOWS_H
+
+# include <windows.h>
+typedef DWORDLONG hwloc_uint64_t;
+
+#else /* HWLOC_HAVE_WINDOWS_H */
+
+# ifdef hwloc_thread_t
+# include <pthread.h>
+# endif /* hwloc_thread_t */
+
+/* Defined to 1 if you have the <stdint.h> header file. */
+# undef HWLOC_HAVE_STDINT_H
+
+# include <unistd.h>
+# ifdef HWLOC_HAVE_STDINT_H
+# include <stdint.h>
+# endif
+typedef uint64_t hwloc_uint64_t;
+
+#endif /* HWLOC_HAVE_WINDOWS_H */
+
+/* Whether we need to re-define all the hwloc public symbols or not */
+#undef HWLOC_SYM_TRANSFORM
+
+/* The hwloc symbol prefix */
+#undef HWLOC_SYM_PREFIX
+
+/* The hwloc symbol prefix in all caps */
+#undef HWLOC_SYM_PREFIX_CAPS
+
+#endif /* HWLOC_CONFIG_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief The bitmap API, for use in hwloc itself.
+ */
+
+#ifndef HWLOC_BITMAP_H
+#define HWLOC_BITMAP_H
+
+#include <hwloc/autogen/config.h>
+#include <assert.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_bitmap The bitmap API
+ *
+ * The ::hwloc_bitmap_t type represents a set of integers (positive or null).
+ * A bitmap may be of infinite size (all bits are set after some point).
+ * A bitmap may even be full if all bits are set.
+ *
+ * Bitmaps are used by hwloc for sets of OS processors
+ * (which may actually be hardware threads) as by ::hwloc_cpuset_t
+ * (a typedef for ::hwloc_bitmap_t), or sets of NUMA memory nodes
+ * as ::hwloc_nodeset_t (also a typedef for ::hwloc_bitmap_t).
+ * Those are used for cpuset and nodeset fields in the ::hwloc_obj structure,
+ * see \ref hwlocality_object_sets.
+ *
+ * <em>Both CPU and node sets are always indexed by OS physical number.</em>
+ * However users should usually not build CPU and node sets manually
+ * (e.g. with hwloc_bitmap_set()).
+ * One should rather use existing object sets and combine them with
+ * hwloc_bitmap_or(), etc.
+ * For instance, binding the current thread on a pair of cores may be performed with:
+ * \code
+ * hwloc_obj_t core1 = ... , core2 = ... ;
+ * hwloc_bitmap_t set = hwloc_bitmap_alloc();
+ * hwloc_bitmap_or(set, core1->cpuset, core2->cpuset);
+ * hwloc_set_cpubind(topology, set, HWLOC_CPUBIND_THREAD);
+ * hwloc_bitmap_free(set);
+ * \endcode
+ *
+ * \note Several examples of using the bitmap API are available under the
+ * doc/examples/ directory in the source tree.
+ * Regression tests such as tests/hwloc_bitmap*.c also make intensive use
+ * of this API.
+ * @{
+ */
+
+
+/** \brief
+ * Set of bits represented as an opaque pointer to an internal bitmap.
+ */
+typedef struct hwloc_bitmap_s * hwloc_bitmap_t;
+/** \brief a non-modifiable ::hwloc_bitmap_t */
+typedef const struct hwloc_bitmap_s * hwloc_const_bitmap_t;
+
+
+/*
+ * Bitmap allocation, freeing and copying.
+ */
+
+/** \brief Allocate a new empty bitmap.
+ *
+ * \returns A valid bitmap or \c NULL.
+ *
+ * The bitmap should be freed by a corresponding call to
+ * hwloc_bitmap_free().
+ */
+HWLOC_DECLSPEC hwloc_bitmap_t hwloc_bitmap_alloc(void) __hwloc_attribute_malloc;
+
+/** \brief Allocate a new full bitmap. */
+HWLOC_DECLSPEC hwloc_bitmap_t hwloc_bitmap_alloc_full(void) __hwloc_attribute_malloc;
+
+/** \brief Free bitmap \p bitmap.
+ *
+ * If \p bitmap is \c NULL, no operation is performed.
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_free(hwloc_bitmap_t bitmap);
+
+/** \brief Duplicate bitmap \p bitmap by allocating a new bitmap and copying \p bitmap contents.
+ *
+ * If \p bitmap is \c NULL, \c NULL is returned.
+ */
+HWLOC_DECLSPEC hwloc_bitmap_t hwloc_bitmap_dup(hwloc_const_bitmap_t bitmap) __hwloc_attribute_malloc;
+
+/** \brief Copy the contents of bitmap \p src into the already allocated bitmap \p dst */
+HWLOC_DECLSPEC void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src);
+
+
+/*
+ * Bitmap/String Conversion
+ */
+
+/** \brief Stringify a bitmap.
+ *
+ * Up to \p buflen characters may be written in buffer \p buf.
+ *
+ * If \p buflen is 0, \p buf may safely be \c NULL.
+ *
+ * \return the number of character that were actually written if not truncating,
+ * or that would have been written (not including the ending \\0).
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_snprintf(char * __hwloc_restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap);
+
+/** \brief Stringify a bitmap into a newly allocated string.
+ *
+ * \return -1 on error.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_asprintf(char ** strp, hwloc_const_bitmap_t bitmap);
+
+/** \brief Parse a bitmap string and stores it in bitmap \p bitmap.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_sscanf(hwloc_bitmap_t bitmap, const char * __hwloc_restrict string);
+
+/** \brief Stringify a bitmap in the list format.
+ *
+ * Lists are comma-separated indexes or ranges.
+ * Ranges are dash separated indexes.
+ * The last range may not have an ending indexes if the bitmap is infinitely set.
+ *
+ * Up to \p buflen characters may be written in buffer \p buf.
+ *
+ * If \p buflen is 0, \p buf may safely be \c NULL.
+ *
+ * \return the number of character that were actually written if not truncating,
+ * or that would have been written (not including the ending \\0).
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_list_snprintf(char * __hwloc_restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap);
+
+/** \brief Stringify a bitmap into a newly allocated list string.
+ *
+ * \return -1 on error.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_list_asprintf(char ** strp, hwloc_const_bitmap_t bitmap);
+
+/** \brief Parse a list string and stores it in bitmap \p bitmap.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_list_sscanf(hwloc_bitmap_t bitmap, const char * __hwloc_restrict string);
+
+/** \brief Stringify a bitmap in the taskset-specific format.
+ *
+ * The taskset command manipulates bitmap strings that contain a single
+ * (possible very long) hexadecimal number starting with 0x.
+ *
+ * Up to \p buflen characters may be written in buffer \p buf.
+ *
+ * If \p buflen is 0, \p buf may safely be \c NULL.
+ *
+ * \return the number of character that were actually written if not truncating,
+ * or that would have been written (not including the ending \\0).
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_taskset_snprintf(char * __hwloc_restrict buf, size_t buflen, hwloc_const_bitmap_t bitmap);
+
+/** \brief Stringify a bitmap into a newly allocated taskset-specific string.
+ *
+ * \return -1 on error.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_taskset_asprintf(char ** strp, hwloc_const_bitmap_t bitmap);
+
+/** \brief Parse a taskset-specific bitmap string and stores it in bitmap \p bitmap.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_taskset_sscanf(hwloc_bitmap_t bitmap, const char * __hwloc_restrict string);
+
+
+/*
+ * Building bitmaps.
+ */
+
+/** \brief Empty the bitmap \p bitmap */
+HWLOC_DECLSPEC void hwloc_bitmap_zero(hwloc_bitmap_t bitmap);
+
+/** \brief Fill bitmap \p bitmap with all possible indexes (even if those objects don't exist or are otherwise unavailable) */
+HWLOC_DECLSPEC void hwloc_bitmap_fill(hwloc_bitmap_t bitmap);
+
+/** \brief Empty the bitmap \p bitmap and add bit \p id */
+HWLOC_DECLSPEC void hwloc_bitmap_only(hwloc_bitmap_t bitmap, unsigned id);
+
+/** \brief Fill the bitmap \p and clear the index \p id */
+HWLOC_DECLSPEC void hwloc_bitmap_allbut(hwloc_bitmap_t bitmap, unsigned id);
+
+/** \brief Setup bitmap \p bitmap from unsigned long \p mask */
+HWLOC_DECLSPEC void hwloc_bitmap_from_ulong(hwloc_bitmap_t bitmap, unsigned long mask);
+
+/** \brief Setup bitmap \p bitmap from unsigned long \p mask used as \p i -th subset */
+HWLOC_DECLSPEC void hwloc_bitmap_from_ith_ulong(hwloc_bitmap_t bitmap, unsigned i, unsigned long mask);
+
+
+/*
+ * Modifying bitmaps.
+ */
+
+/** \brief Add index \p id in bitmap \p bitmap */
+HWLOC_DECLSPEC void hwloc_bitmap_set(hwloc_bitmap_t bitmap, unsigned id);
+
+/** \brief Add indexes from \p begin to \p end in bitmap \p bitmap.
+ *
+ * If \p end is \c -1, the range is infinite.
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_set_range(hwloc_bitmap_t bitmap, unsigned begin, int end);
+
+/** \brief Replace \p i -th subset of bitmap \p bitmap with unsigned long \p mask */
+HWLOC_DECLSPEC void hwloc_bitmap_set_ith_ulong(hwloc_bitmap_t bitmap, unsigned i, unsigned long mask);
+
+/** \brief Remove index \p id from bitmap \p bitmap */
+HWLOC_DECLSPEC void hwloc_bitmap_clr(hwloc_bitmap_t bitmap, unsigned id);
+
+/** \brief Remove indexes from \p begin to \p end in bitmap \p bitmap.
+ *
+ * If \p end is \c -1, the range is infinite.
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_clr_range(hwloc_bitmap_t bitmap, unsigned begin, int end);
+
+/** \brief Keep a single index among those set in bitmap \p bitmap
+ *
+ * May be useful before binding so that the process does not
+ * have a chance of migrating between multiple logical CPUs
+ * in the original mask.
+ * Instead of running the task on any PU inside the given CPU set,
+ * the operating system scheduler will be forced to run it on a single
+ * of these PUs.
+ * It avoids a migration overhead and cache-line ping-pongs between PUs.
+ *
+ * \note This function is NOT meant to distribute multiple processes
+ * within a single CPU set. It always return the same single bit when
+ * called multiple times on the same input set. hwloc_distrib() may
+ * be used for generating CPU sets to distribute multiple tasks below
+ * a single multi-PU object.
+ *
+ * \note This function cannot be applied to an object set directly. It
+ * should be applied to a copy (which may be obtained with hwloc_bitmap_dup()).
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_singlify(hwloc_bitmap_t bitmap);
+
+
+/*
+ * Consulting bitmaps.
+ */
+
+/** \brief Convert the beginning part of bitmap \p bitmap into unsigned long \p mask */
+HWLOC_DECLSPEC unsigned long hwloc_bitmap_to_ulong(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;
+
+/** \brief Convert the \p i -th subset of bitmap \p bitmap into unsigned long mask */
+HWLOC_DECLSPEC unsigned long hwloc_bitmap_to_ith_ulong(hwloc_const_bitmap_t bitmap, unsigned i) __hwloc_attribute_pure;
+
+/** \brief Test whether index \p id is part of bitmap \p bitmap.
+ *
+ * \return 1 if the bit at index \p id is set in bitmap \p bitmap, 0 otherwise.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_isset(hwloc_const_bitmap_t bitmap, unsigned id) __hwloc_attribute_pure;
+
+/** \brief Test whether bitmap \p bitmap is empty
+ *
+ * \return 1 if bitmap is empty, 0 otherwise.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_iszero(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;
+
+/** \brief Test whether bitmap \p bitmap is completely full
+ *
+ * \return 1 if bitmap is full, 0 otherwise.
+ *
+ * \note A full bitmap is always infinitely set.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_isfull(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;
+
+/** \brief Compute the first index (least significant bit) in bitmap \p bitmap
+ *
+ * \return -1 if no index is set in \p bitmap.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_first(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;
+
+/** \brief Compute the next index in bitmap \p bitmap which is after index \p prev
+ *
+ * If \p prev is -1, the first index is returned.
+ *
+ * \return -1 if no index with higher index is set in \p bitmap.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_next(hwloc_const_bitmap_t bitmap, int prev) __hwloc_attribute_pure;
+
+/** \brief Compute the last index (most significant bit) in bitmap \p bitmap
+ *
+ * \return -1 if no index is set in \p bitmap, or if \p bitmap is infinitely set.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_last(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;
+
+/** \brief Compute the "weight" of bitmap \p bitmap (i.e., number of
+ * indexes that are in the bitmap).
+ *
+ * \return the number of indexes that are in the bitmap.
+ *
+ * \return -1 if \p bitmap is infinitely set.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_weight(hwloc_const_bitmap_t bitmap) __hwloc_attribute_pure;
+
+/** \brief Loop macro iterating on bitmap \p bitmap
+ *
+ * The loop must start with hwloc_bitmap_foreach_begin() and end
+ * with hwloc_bitmap_foreach_end() followed by a terminating ';'.
+ *
+ * \p index is the loop variable; it should be an unsigned int. The
+ * first iteration will set \p index to the lowest index in the bitmap.
+ * Successive iterations will iterate through, in order, all remaining
+ * indexes set in the bitmap. To be specific: each iteration will return a
+ * value for \p index such that hwloc_bitmap_isset(bitmap, index) is true.
+ *
+ * The assert prevents the loop from being infinite if the bitmap is infinitely set.
+ *
+ * \hideinitializer
+ */
+#define hwloc_bitmap_foreach_begin(id, bitmap) \
+do { \
+ assert(hwloc_bitmap_weight(bitmap) != -1); \
+ for (id = hwloc_bitmap_first(bitmap); \
+ (unsigned) id != (unsigned) -1; \
+ id = hwloc_bitmap_next(bitmap, id)) {
+
+/** \brief End of loop macro iterating on a bitmap.
+ *
+ * Needs a terminating ';'.
+ *
+ * \sa hwloc_bitmap_foreach_begin()
+ * \hideinitializer
+ */
+#define hwloc_bitmap_foreach_end() \
+ } \
+} while (0)
+
+
+/*
+ * Combining bitmaps.
+ */
+
+/** \brief Or bitmaps \p bitmap1 and \p bitmap2 and store the result in bitmap \p res
+ *
+ * \p res can be the same as \p bitmap1 or \p bitmap2
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_or (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);
+
+/** \brief And bitmaps \p bitmap1 and \p bitmap2 and store the result in bitmap \p res
+ *
+ * \p res can be the same as \p bitmap1 or \p bitmap2
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_and (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);
+
+/** \brief And bitmap \p bitmap1 and the negation of \p bitmap2 and store the result in bitmap \p res
+ *
+ * \p res can be the same as \p bitmap1 or \p bitmap2
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_andnot (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);
+
+/** \brief Xor bitmaps \p bitmap1 and \p bitmap2 and store the result in bitmap \p res
+ *
+ * \p res can be the same as \p bitmap1 or \p bitmap2
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_xor (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2);
+
+/** \brief Negate bitmap \p bitmap and store the result in bitmap \p res
+ *
+ * \p res can be the same as \p bitmap
+ */
+HWLOC_DECLSPEC void hwloc_bitmap_not (hwloc_bitmap_t res, hwloc_const_bitmap_t bitmap);
+
+
+/*
+ * Comparing bitmaps.
+ */
+
+/** \brief Test whether bitmaps \p bitmap1 and \p bitmap2 intersects.
+ *
+ * \return 1 if bitmaps intersect, 0 otherwise.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_intersects (hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;
+
+/** \brief Test whether bitmap \p sub_bitmap is part of bitmap \p super_bitmap.
+ *
+ * \return 1 if \p sub_bitmap is included in \p super_bitmap, 0 otherwise.
+ *
+ * \note The empty bitmap is considered included in any other bitmap.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_isincluded (hwloc_const_bitmap_t sub_bitmap, hwloc_const_bitmap_t super_bitmap) __hwloc_attribute_pure;
+
+/** \brief Test whether bitmap \p bitmap1 is equal to bitmap \p bitmap2.
+ *
+ * \return 1 if bitmaps are equal, 0 otherwise.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_isequal (hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;
+
+/** \brief Compare bitmaps \p bitmap1 and \p bitmap2 using their lowest index.
+ *
+ * A bitmap is considered smaller if its least significant bit is smaller.
+ * The empty bitmap is considered higher than anything (because its least significant bit does not exist).
+ *
+ * \return -1 if \p bitmap1 is considered smaller than \p bitmap2.
+ * \return 1 if \p bitmap1 is considered larger than \p bitmap2.
+ *
+ * For instance comparing binary bitmaps 0011 and 0110 returns -1
+ * (hence 0011 is considered smaller than 0110)
+ * because least significant bit of 0011 (0001) is smaller than least significant bit of 0110 (0010).
+ * Comparing 01001 and 00110 would also return -1 for the same reason.
+ *
+ * \return 0 if bitmaps are considered equal, even if they are not strictly equal.
+ * They just need to have the same least significant bit.
+ * For instance, comparing binary bitmaps 0010 and 0110 returns 0 because they have the same least significant bit.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_compare_first(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;
+
+/** \brief Compare bitmaps \p bitmap1 and \p bitmap2 in lexicographic order.
+ *
+ * Lexicographic comparison of bitmaps, starting for their highest indexes.
+ * Compare last indexes first, then second, etc.
+ * The empty bitmap is considered lower than anything.
+ *
+ * \return -1 if \p bitmap1 is considered smaller than \p bitmap2.
+ * \return 1 if \p bitmap1 is considered larger than \p bitmap2.
+ * \return 0 if bitmaps are equal (contrary to hwloc_bitmap_compare_first()).
+ *
+ * For instance comparing binary bitmaps 0011 and 0110 returns -1
+ * (hence 0011 is considered smaller than 0110).
+ * Comparing 00101 and 01010 returns -1 too.
+ *
+ * \note This is different from the non-existing hwloc_bitmap_compare_last()
+ * which would only compare the highest index of each bitmap.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_compare(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_BITMAP_H */
--- /dev/null
+/*
+ * Copyright © 2010-2017 Inria. All rights reserved.
+ * Copyright © 2010-2011 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and the CUDA Driver API.
+ *
+ * Applications that use both hwloc and the CUDA Driver API may want to
+ * include this file so as to get topology information for CUDA devices.
+ *
+ */
+
+#ifndef HWLOC_CUDA_H
+#define HWLOC_CUDA_H
+
+#include <hwloc.h>
+#include <hwloc/autogen/config.h>
+#include <hwloc/helper.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif
+
+#include <cuda.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_cuda Interoperability with the CUDA Driver API
+ *
+ * This interface offers ways to retrieve topology information about
+ * CUDA devices when using the CUDA Driver API.
+ *
+ * @{
+ */
+
+/** \brief Return the domain, bus and device IDs of the CUDA device \p cudevice.
+ *
+ * Device \p cudevice must match the local machine.
+ */
+static __hwloc_inline int
+hwloc_cuda_get_device_pci_ids(hwloc_topology_t topology __hwloc_attribute_unused,
+ CUdevice cudevice, int *domain, int *bus, int *dev)
+{
+ CUresult cres;
+
+#if CUDA_VERSION >= 4000
+ cres = cuDeviceGetAttribute(domain, CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID, cudevice);
+ if (cres != CUDA_SUCCESS) {
+ errno = ENOSYS;
+ return -1;
+ }
+#else
+ *domain = 0;
+#endif
+ cres = cuDeviceGetAttribute(bus, CU_DEVICE_ATTRIBUTE_PCI_BUS_ID, cudevice);
+ if (cres != CUDA_SUCCESS) {
+ errno = ENOSYS;
+ return -1;
+ }
+ cres = cuDeviceGetAttribute(dev, CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID, cudevice);
+ if (cres != CUDA_SUCCESS) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ return 0;
+}
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close to device \p cudevice.
+ *
+ * Return the CPU set describing the locality of the CUDA device \p cudevice.
+ *
+ * Topology \p topology and device \p cudevice must match the local machine.
+ * I/O devices detection and the CUDA component are not needed in the topology.
+ *
+ * The function only returns the locality of the device.
+ * If more information about the device is needed, OS objects should
+ * be used instead, see hwloc_cuda_get_device_osdev()
+ * and hwloc_cuda_get_device_osdev_by_index().
+ *
+ * This function is currently only implemented in a meaningful way for
+ * Linux; other systems will simply get a full cpuset.
+ */
+static __hwloc_inline int
+hwloc_cuda_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused,
+ CUdevice cudevice, hwloc_cpuset_t set)
+{
+#ifdef HWLOC_LINUX_SYS
+ /* If we're on Linux, use the sysfs mechanism to get the local cpus */
+#define HWLOC_CUDA_DEVICE_SYSFS_PATH_MAX 128
+ char path[HWLOC_CUDA_DEVICE_SYSFS_PATH_MAX];
+ FILE *sysfile = NULL;
+ int domainid, busid, deviceid;
+
+ if (hwloc_cuda_get_device_pci_ids(topology, cudevice, &domainid, &busid, &deviceid))
+ return -1;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ sprintf(path, "/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus", domainid, busid, deviceid);
+ sysfile = fopen(path, "r");
+ if (!sysfile)
+ return -1;
+
+ if (hwloc_linux_parse_cpumap_file(sysfile, set) < 0
+ || hwloc_bitmap_iszero(set))
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+
+ fclose(sysfile);
+#else
+ /* Non-Linux systems simply get a full cpuset */
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+#endif
+ return 0;
+}
+
+/** \brief Get the hwloc PCI device object corresponding to the
+ * CUDA device \p cudevice.
+ *
+ * Return the PCI device object describing the CUDA device \p cudevice.
+ * Return NULL if there is none.
+ *
+ * Topology \p topology and device \p cudevice must match the local machine.
+ * I/O devices detection must be enabled in topology \p topology.
+ * The CUDA component is not needed in the topology.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_cuda_get_device_pcidev(hwloc_topology_t topology, CUdevice cudevice)
+{
+ int domain, bus, dev;
+
+ if (hwloc_cuda_get_device_pci_ids(topology, cudevice, &domain, &bus, &dev))
+ return NULL;
+
+ return hwloc_get_pcidev_by_busid(topology, domain, bus, dev, 0);
+}
+
+/** \brief Get the hwloc OS device object corresponding to CUDA device \p cudevice.
+ *
+ * Return the hwloc OS device object that describes the given
+ * CUDA device \p cudevice. Return NULL if there is none.
+ *
+ * Topology \p topology and device \p cudevice must match the local machine.
+ * I/O devices detection and the CUDA component must be enabled in the topology.
+ * If not, the locality of the object may still be found using
+ * hwloc_cuda_get_device_cpuset().
+ *
+ * \note The corresponding hwloc PCI device may be found by looking
+ * at the result parent pointer.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_cuda_get_device_osdev(hwloc_topology_t topology, CUdevice cudevice)
+{
+ hwloc_obj_t osdev = NULL;
+ int domain, bus, dev;
+
+ if (hwloc_cuda_get_device_pci_ids(topology, cudevice, &domain, &bus, &dev))
+ return NULL;
+
+ osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ hwloc_obj_t pcidev = osdev->parent;
+ if (strncmp(osdev->name, "cuda", 4))
+ continue;
+ if (pcidev
+ && pcidev->type == HWLOC_OBJ_PCI_DEVICE
+ && (int) pcidev->attr->pcidev.domain == domain
+ && (int) pcidev->attr->pcidev.bus == bus
+ && (int) pcidev->attr->pcidev.dev == dev
+ && pcidev->attr->pcidev.func == 0)
+ return osdev;
+ }
+
+ return NULL;
+}
+
+/** \brief Get the hwloc OS device object corresponding to the
+ * CUDA device whose index is \p idx.
+ *
+ * Return the OS device object describing the CUDA device whose
+ * index is \p idx. Return NULL if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection and the CUDA component must be enabled in the topology.
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ *
+ * \note This function is identical to hwloc_cudart_get_device_osdev_by_index().
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_cuda_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx)
+{
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_COPROC == osdev->attr->osdev.type
+ && osdev->name
+ && !strncmp("cuda", osdev->name, 4)
+ && atoi(osdev->name + 4) == (int) idx)
+ return osdev;
+ }
+ return NULL;
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_CUDA_H */
--- /dev/null
+/*
+ * Copyright © 2010-2017 Inria. All rights reserved.
+ * Copyright © 2010-2011 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and the CUDA Runtime API.
+ *
+ * Applications that use both hwloc and the CUDA Runtime API may want to
+ * include this file so as to get topology information for CUDA devices.
+ *
+ */
+
+#ifndef HWLOC_CUDART_H
+#define HWLOC_CUDART_H
+
+#include <hwloc.h>
+#include <hwloc/autogen/config.h>
+#include <hwloc/helper.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif
+
+#include <cuda.h> /* for CUDA_VERSION */
+#include <cuda_runtime_api.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_cudart Interoperability with the CUDA Runtime API
+ *
+ * This interface offers ways to retrieve topology information about
+ * CUDA devices when using the CUDA Runtime API.
+ *
+ * @{
+ */
+
+/** \brief Return the domain, bus and device IDs of the CUDA device whose index is \p idx.
+ *
+ * Device index \p idx must match the local machine.
+ */
+static __hwloc_inline int
+hwloc_cudart_get_device_pci_ids(hwloc_topology_t topology __hwloc_attribute_unused,
+ int idx, int *domain, int *bus, int *dev)
+{
+ cudaError_t cerr;
+ struct cudaDeviceProp prop;
+
+ cerr = cudaGetDeviceProperties(&prop, idx);
+ if (cerr) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+#if CUDA_VERSION >= 4000
+ *domain = prop.pciDomainID;
+#else
+ *domain = 0;
+#endif
+
+ *bus = prop.pciBusID;
+ *dev = prop.pciDeviceID;
+
+ return 0;
+}
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close to device \p idx.
+ *
+ * Return the CPU set describing the locality of the CUDA device
+ * whose index is \p idx.
+ *
+ * Topology \p topology and device \p idx must match the local machine.
+ * I/O devices detection and the CUDA component are not needed in the topology.
+ *
+ * The function only returns the locality of the device.
+ * If more information about the device is needed, OS objects should
+ * be used instead, see hwloc_cudart_get_device_osdev_by_index().
+ *
+ * This function is currently only implemented in a meaningful way for
+ * Linux; other systems will simply get a full cpuset.
+ */
+static __hwloc_inline int
+hwloc_cudart_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused,
+ int idx, hwloc_cpuset_t set)
+{
+#ifdef HWLOC_LINUX_SYS
+ /* If we're on Linux, use the sysfs mechanism to get the local cpus */
+#define HWLOC_CUDART_DEVICE_SYSFS_PATH_MAX 128
+ char path[HWLOC_CUDART_DEVICE_SYSFS_PATH_MAX];
+ FILE *sysfile = NULL;
+ int domain, bus, dev;
+
+ if (hwloc_cudart_get_device_pci_ids(topology, idx, &domain, &bus, &dev))
+ return -1;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ sprintf(path, "/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus", (unsigned) domain, (unsigned) bus, (unsigned) dev);
+ sysfile = fopen(path, "r");
+ if (!sysfile)
+ return -1;
+
+ if (hwloc_linux_parse_cpumap_file(sysfile, set) < 0
+ || hwloc_bitmap_iszero(set))
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+
+ fclose(sysfile);
+#else
+ /* Non-Linux systems simply get a full cpuset */
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+#endif
+ return 0;
+}
+
+/** \brief Get the hwloc PCI device object corresponding to the
+ * CUDA device whose index is \p idx.
+ *
+ * Return the PCI device object describing the CUDA device whose
+ * index is \p idx. Return NULL if there is none.
+ *
+ * Topology \p topology and device \p idx must match the local machine.
+ * I/O devices detection must be enabled in topology \p topology.
+ * The CUDA component is not needed in the topology.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_cudart_get_device_pcidev(hwloc_topology_t topology, int idx)
+{
+ int domain, bus, dev;
+
+ if (hwloc_cudart_get_device_pci_ids(topology, idx, &domain, &bus, &dev))
+ return NULL;
+
+ return hwloc_get_pcidev_by_busid(topology, domain, bus, dev, 0);
+}
+
+/** \brief Get the hwloc OS device object corresponding to the
+ * CUDA device whose index is \p idx.
+ *
+ * Return the OS device object describing the CUDA device whose
+ * index is \p idx. Return NULL if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection and the CUDA component must be enabled in the topology.
+ * If not, the locality of the object may still be found using
+ * hwloc_cudart_get_device_cpuset().
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ *
+ * \note This function is identical to hwloc_cuda_get_device_osdev_by_index().
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_cudart_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx)
+{
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_COPROC == osdev->attr->osdev.type
+ && osdev->name
+ && !strncmp("cuda", osdev->name, 4)
+ && atoi(osdev->name + 4) == (int) idx)
+ return osdev;
+ }
+ return NULL;
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_CUDART_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/**
+ * This file contains the inline code of functions declared in hwloc.h
+ */
+
+#ifndef HWLOC_DEPRECATED_H
+#define HWLOC_DEPRECATED_H
+
+#ifndef HWLOC_H
+#error Please include the main hwloc.h instead
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* backward compat with v1.10 before Socket->Package renaming */
+#define HWLOC_OBJ_SOCKET HWLOC_OBJ_PACKAGE
+/* backward compat with v1.10 before Node->NUMANode clarification */
+#define HWLOC_OBJ_NODE HWLOC_OBJ_NUMANODE
+
+/** \brief Return an object type from the string
+ *
+ * \return -1 if unrecognized.
+ */
+HWLOC_DECLSPEC hwloc_obj_type_t hwloc_obj_type_of_string (const char * string) __hwloc_attribute_pure __hwloc_attribute_deprecated;
+
+/** \brief Stringify a given topology object into a human-readable form.
+ *
+ * \note This function is deprecated in favor of hwloc_obj_type_snprintf()
+ * and hwloc_obj_attr_snprintf() since it is not very flexible and
+ * only prints physical/OS indexes.
+ *
+ * Fill string \p string up to \p size characters with the description
+ * of topology object \p obj in topology \p topology.
+ *
+ * If \p verbose is set, a longer description is used. Otherwise a
+ * short description is used.
+ *
+ * \p indexprefix is used to prefix the \p os_index attribute number of
+ * the object in the description. If \c NULL, the \c # character is used.
+ *
+ * If \p size is 0, \p string may safely be \c NULL.
+ *
+ * \return the number of character that were actually written if not truncating,
+ * or that would have been written (not including the ending \\0).
+ */
+HWLOC_DECLSPEC int hwloc_obj_snprintf(char * __hwloc_restrict string, size_t size,
+ hwloc_topology_t topology, hwloc_obj_t obj,
+ const char * __hwloc_restrict indexprefix, int verbose) __hwloc_attribute_deprecated;
+
+/** \brief Distribute \p n items over the topology under \p root
+ *
+ * Array \p cpuset will be filled with \p n cpusets recursively distributed
+ * linearly over the topology under \p root, down to depth \p until (which can
+ * be INT_MAX to distribute down to the finest level).
+ *
+ * This is typically useful when an application wants to distribute \p n
+ * threads over a machine, giving each of them as much private cache as
+ * possible and keeping them locally in number order.
+ *
+ * The caller may typically want to also call hwloc_bitmap_singlify()
+ * before binding a thread so that it does not move at all.
+ *
+ * \note This function requires the \p root object to have a CPU set.
+ */
+static __hwloc_inline void
+hwloc_distribute(hwloc_topology_t topology, hwloc_obj_t root, hwloc_cpuset_t *set, unsigned n, unsigned until) __hwloc_attribute_deprecated;
+static __hwloc_inline void
+hwloc_distribute(hwloc_topology_t topology, hwloc_obj_t root, hwloc_cpuset_t *set, unsigned n, unsigned until)
+{
+ hwloc_distrib(topology, &root, 1, set, n, until, 0);
+}
+
+/** \brief Distribute \p n items over the topology under \p roots
+ *
+ * This is the same as hwloc_distribute(), but takes an array of roots instead of
+ * just one root.
+ *
+ * \note This function requires the \p roots objects to have a CPU set.
+ */
+static __hwloc_inline void
+hwloc_distributev(hwloc_topology_t topology, hwloc_obj_t *roots, unsigned n_roots, hwloc_cpuset_t *set, unsigned n, unsigned until) __hwloc_attribute_deprecated;
+static __hwloc_inline void
+hwloc_distributev(hwloc_topology_t topology, hwloc_obj_t *roots, unsigned n_roots, hwloc_cpuset_t *set, unsigned n, unsigned until)
+{
+ hwloc_distrib(topology, roots, n_roots, set, n, until, 0);
+}
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_DEPRECATED_H */
--- /dev/null
+/*
+ * Copyright © 2013-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Topology differences.
+ */
+
+#ifndef HWLOC_DIFF_H
+#define HWLOC_DIFF_H
+
+#ifndef HWLOC_H
+#error Please include the main hwloc.h instead
+#endif
+
+
+#ifdef __cplusplus
+extern "C" {
+#elif 0
+}
+#endif
+
+
+/** \defgroup hwlocality_diff Topology differences
+ *
+ * Applications that manipulate many similar topologies, for instance
+ * one for each node of a homogeneous cluster, may want to compress
+ * topologies to reduce the memory footprint.
+ *
+ * This file offers a way to manipulate the difference between topologies
+ * and export/import it to/from XML.
+ * Compression may therefore be achieved by storing one topology
+ * entirely while the others are only described by their differences
+ * with the former.
+ * The actual topology can be reconstructed when actually needed by
+ * applying the precomputed difference to the reference topology.
+ *
+ * This interface targets very similar nodes.
+ * Only very simple differences between topologies are actually
+ * supported, for instance a change in the memory size, the name
+ * of the object, or some info attribute.
+ * More complex differences such as adding or removing objects cannot
+ * be represented in the difference structures and therefore return
+ * errors.
+ * Differences between object sets cannot be represented either.
+ *
+ * It means that there is no need to apply the difference when
+ * looking at the tree organization (how many levels, how many
+ * objects per level, what kind of objects, CPU and node sets, etc)
+ * and when binding to objects.
+ * However the difference must be applied when looking at object
+ * attributes such as the name, the memory size or info attributes.
+ *
+ * @{
+ */
+
+
+/** \brief Type of one object attribute difference.
+ */
+typedef enum hwloc_topology_diff_obj_attr_type_e {
+ /** \brief The object local memory is modified.
+ * The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_uint64_s
+ * (and the index field is ignored).
+ */
+ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE,
+
+ /** \brief The object name is modified.
+ * The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s
+ * (and the name field is ignored).
+ */
+
+ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME,
+ /** \brief the value of an info attribute is modified.
+ * The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_string_s.
+ */
+ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO
+} hwloc_topology_diff_obj_attr_type_t;
+
+/** \brief One object attribute difference.
+ */
+union hwloc_topology_diff_obj_attr_u {
+ struct hwloc_topology_diff_obj_attr_generic_s {
+ /* each part of the union must start with these */
+ hwloc_topology_diff_obj_attr_type_t type;
+ } generic;
+
+ /** \brief Integer attribute modification with an optional index. */
+ struct hwloc_topology_diff_obj_attr_uint64_s {
+ /* used for storing integer attributes */
+ hwloc_topology_diff_obj_attr_type_t type;
+ hwloc_uint64_t index; /* not used for SIZE */
+ hwloc_uint64_t oldvalue;
+ hwloc_uint64_t newvalue;
+ } uint64;
+
+ /** \brief String attribute modification with an optional name */
+ struct hwloc_topology_diff_obj_attr_string_s {
+ /* used for storing name and info pairs */
+ hwloc_topology_diff_obj_attr_type_t type;
+ char *name; /* not used for NAME */
+ char *oldvalue;
+ char *newvalue;
+ } string;
+};
+
+
+/** \brief Type of one element of a difference list.
+ */
+typedef enum hwloc_topology_diff_type_e {
+ /** \brief An object attribute was changed.
+ * The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_obj_attr_s.
+ */
+ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR,
+
+ /** \brief The difference is too complex,
+ * it cannot be represented. The difference below
+ * this object has not been checked.
+ * hwloc_topology_diff_build() will return 1.
+ *
+ * The union is a hwloc_topology_diff_obj_attr_u::hwloc_topology_diff_too_complex_s.
+ */
+ HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX
+} hwloc_topology_diff_type_t;
+
+/** \brief One element of a difference list between two topologies.
+ */
+typedef union hwloc_topology_diff_u {
+ struct hwloc_topology_diff_generic_s {
+ /* each part of the union must start with these */
+ hwloc_topology_diff_type_t type;
+ union hwloc_topology_diff_u * next; /* pointer to the next element of the list, or NULL */
+ } generic;
+
+ /* A difference in an object attribute. */
+ struct hwloc_topology_diff_obj_attr_s {
+ hwloc_topology_diff_type_t type; /* must be ::HWLOC_TOPOLOGY_DIFF_OBJ_ATTR */
+ union hwloc_topology_diff_u * next;
+ /* List of attribute differences for a single object */
+ unsigned obj_depth;
+ unsigned obj_index;
+ union hwloc_topology_diff_obj_attr_u diff;
+ } obj_attr;
+
+ /* A difference that is too complex. */
+ struct hwloc_topology_diff_too_complex_s {
+ hwloc_topology_diff_type_t type; /* must be ::HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX */
+ union hwloc_topology_diff_u * next;
+ /* Where we had to stop computing the diff in the first topology */
+ unsigned obj_depth;
+ unsigned obj_index;
+ } too_complex;
+} * hwloc_topology_diff_t;
+
+
+/** \brief Compute the difference between 2 topologies.
+ *
+ * The difference is stored as a list of ::hwloc_topology_diff_t entries
+ * starting at \p diff.
+ * It is computed by doing a depth-first traversal of both topology trees
+ * simultaneously.
+ *
+ * If the difference between 2 objects is too complex to be represented
+ * (for instance if some objects have different types, or different numbers
+ * of children), a special diff entry of type ::HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX
+ * is queued.
+ * The computation of the diff does not continue below these objects.
+ * So each such diff entry means that the difference between two subtrees
+ * could not be computed.
+ *
+ * \return 0 if the difference can be represented properly.
+ *
+ * \return 0 with \p diff pointing to NULL if there is no difference
+ * between the topologies.
+ *
+ * \return 1 if the difference is too complex (see above). Some entries in
+ * the list will be of type ::HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX.
+ *
+ * \return -1 on any other error.
+ *
+ * \note \p flags is currently not used. It should be 0.
+ *
+ * \note The output diff has to be freed with hwloc_topology_diff_destroy().
+ *
+ * \note The output diff can only be exported to XML or passed to
+ * hwloc_topology_diff_apply() if 0 was returned, i.e. if no entry of type
+ * ::HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX is listed.
+ *
+ * \note The output diff may be modified by removing some entries from
+ * the list. The removed entries should be freed by passing them to
+ * to hwloc_topology_diff_destroy() (possible as another list).
+*/
+HWLOC_DECLSPEC int hwloc_topology_diff_build(hwloc_topology_t topology, hwloc_topology_t newtopology, unsigned long flags, hwloc_topology_diff_t *diff);
+
+/** \brief Flags to be given to hwloc_topology_diff_apply().
+ */
+enum hwloc_topology_diff_apply_flags_e {
+ /** \brief Apply topology diff in reverse direction.
+ * \hideinitializer
+ */
+ HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE = (1UL<<0)
+};
+
+/** \brief Apply a topology diff to an existing topology.
+ *
+ * \p flags is an OR'ed set of ::hwloc_topology_diff_apply_flags_e.
+ *
+ * The new topology is modified in place. hwloc_topology_dup()
+ * may be used to duplicate it before patching.
+ *
+ * If the difference cannot be applied entirely, all previous applied
+ * elements are unapplied before returning.
+ *
+ * \return 0 on success.
+ *
+ * \return -N if applying the difference failed while trying
+ * to apply the N-th part of the difference. For instance -1
+ * is returned if the very first difference element could not
+ * be applied.
+ */
+HWLOC_DECLSPEC int hwloc_topology_diff_apply(hwloc_topology_t topology, hwloc_topology_diff_t diff, unsigned long flags);
+
+/** \brief Destroy a list of topology differences.
+ *
+ * \note The \p topology parameter must be a valid topology
+ * but it is not required that it is related to \p diff.
+ */
+HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_t topology, hwloc_topology_diff_t diff);
+
+/** \brief Load a list of topology differences from a XML file.
+ *
+ * If not \c NULL, \p refname will be filled with the identifier
+ * string of the reference topology for the difference file,
+ * if any was specified in the XML file.
+ * This identifier is usually the name of the other XML file
+ * that contains the reference topology.
+ *
+ * \note The \p topology parameter must be a valid topology
+ * but it is not required that it is related to \p diff.
+ *
+ * \note the pointer returned in refname should later be freed
+ * by the caller.
+ */
+HWLOC_DECLSPEC int hwloc_topology_diff_load_xml(hwloc_topology_t topology, const char *xmlpath, hwloc_topology_diff_t *diff, char **refname);
+
+/** \brief Export a list of topology differences to a XML file.
+ *
+ * If not \c NULL, \p refname defines an identifier string
+ * for the reference topology which was used as a base when
+ * computing this difference.
+ * This identifier is usually the name of the other XML file
+ * that contains the reference topology.
+ * This attribute is given back when reading the diff from XML.
+ *
+ * \note The \p topology parameter must be a valid topology
+ * but it is not required that it is related to \p diff.
+ */
+HWLOC_DECLSPEC int hwloc_topology_diff_export_xml(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, const char *xmlpath);
+
+/** \brief Load a list of topology differences from a XML buffer.
+ *
+ * If not \c NULL, \p refname will be filled with the identifier
+ * string of the reference topology for the difference file,
+ * if any was specified in the XML file.
+ * This identifier is usually the name of the other XML file
+ * that contains the reference topology.
+ *
+ * \note The \p topology parameter must be a valid topology
+ * but it is not required that it is related to \p diff.
+ *
+ * \note the pointer returned in refname should later be freed
+ * by the caller.
+ */
+HWLOC_DECLSPEC int hwloc_topology_diff_load_xmlbuffer(hwloc_topology_t topology, const char *xmlbuffer, int buflen, hwloc_topology_diff_t *diff, char **refname);
+
+/** \brief Export a list of topology differences to a XML buffer.
+ *
+ * If not \c NULL, \p refname defines an identifier string
+ * for the reference topology which was used as a base when
+ * computing this difference.
+ * This identifier is usually the name of the other XML file
+ * that contains the reference topology.
+ * This attribute is given back when reading the diff from XML.
+ *
+ * The returned buffer ends with a \0 that is included in the returned
+ * length.
+ *
+ * \note The XML buffer should later be freed with hwloc_free_xmlbuffer().
+ *
+ * \note The \p topology parameter must be a valid topology
+ * but it is not required that it is related to \p diff.
+ */
+HWLOC_DECLSPEC int hwloc_topology_diff_export_xmlbuffer(hwloc_topology_t topology, hwloc_topology_diff_t diff, const char *refname, char **xmlbuffer, int *buflen);
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_DIFF_H */
--- /dev/null
+/*
+ * Copyright © 2012 Blue Brain Project, EPFL. All rights reserved.
+ * Copyright © 2012-2013 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and OpenGL displays.
+ *
+ * Applications that use both hwloc and OpenGL may want to include
+ * this file so as to get topology information for OpenGL displays.
+ */
+
+#ifndef HWLOC_GL_H
+#define HWLOC_GL_H
+
+#include <hwloc.h>
+
+#include <stdio.h>
+#include <string.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_gl Interoperability with OpenGL displays
+ *
+ * This interface offers ways to retrieve topology information about
+ * OpenGL displays.
+ *
+ * Only the NVIDIA display locality information is currently available,
+ * using the NV-CONTROL X11 extension and the NVCtrl library.
+ *
+ * @{
+ */
+
+/** \brief Get the hwloc OS device object corresponding to the
+ * OpenGL display given by port and device index.
+ *
+ * Return the OS device object describing the OpenGL display
+ * whose port (server) is \p port and device (screen) is \p device.
+ * Return NULL if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection and the GL component must be enabled in the topology.
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_gl_get_display_osdev_by_port_device(hwloc_topology_t topology,
+ unsigned port, unsigned device)
+{
+ unsigned x = (unsigned) -1, y = (unsigned) -1;
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_GPU == osdev->attr->osdev.type
+ && osdev->name
+ && sscanf(osdev->name, ":%u.%u", &x, &y) == 2
+ && port == x && device == y)
+ return osdev;
+ }
+ errno = EINVAL;
+ return NULL;
+}
+
+/** \brief Get the hwloc OS device object corresponding to the
+ * OpenGL display given by name.
+ *
+ * Return the OS device object describing the OpenGL display
+ * whose name is \p name, built as ":port.device" such as ":0.0" .
+ * Return NULL if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection and the GL component must be enabled in the topology.
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_gl_get_display_osdev_by_name(hwloc_topology_t topology,
+ const char *name)
+{
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_GPU == osdev->attr->osdev.type
+ && osdev->name
+ && !strcmp(name, osdev->name))
+ return osdev;
+ }
+ errno = EINVAL;
+ return NULL;
+}
+
+/** \brief Get the OpenGL display port and device corresponding
+ * to the given hwloc OS object.
+ *
+ * Return the OpenGL display port (server) in \p port and device (screen)
+ * in \p screen that correspond to the given hwloc OS device object.
+ * Return \c -1 if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection and the GL component must be enabled in the topology.
+ */
+static __hwloc_inline int
+hwloc_gl_get_display_by_osdev(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_obj_t osdev,
+ unsigned *port, unsigned *device)
+{
+ unsigned x = -1, y = -1;
+ if (HWLOC_OBJ_OSDEV_GPU == osdev->attr->osdev.type
+ && sscanf(osdev->name, ":%u.%u", &x, &y) == 2) {
+ *port = x;
+ *device = y;
+ return 0;
+ }
+ errno = EINVAL;
+ return -1;
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_GL_H */
+
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2013 inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and glibc scheduling routines.
+ *
+ * Applications that use both hwloc and glibc scheduling routines such as
+ * sched_getaffinity() or pthread_attr_setaffinity_np() may want to include
+ * this file so as to ease conversion between their respective types.
+ */
+
+#ifndef HWLOC_GLIBC_SCHED_H
+#define HWLOC_GLIBC_SCHED_H
+
+#include <hwloc.h>
+#include <hwloc/helper.h>
+#include <assert.h>
+
+#if !defined _GNU_SOURCE || !defined _SCHED_H || (!defined CPU_SETSIZE && !defined sched_priority)
+#error Please make sure to include sched.h before including glibc-sched.h, and define _GNU_SOURCE before any inclusion of sched.h
+#endif
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+#ifdef HWLOC_HAVE_CPU_SET
+
+
+/** \defgroup hwlocality_glibc_sched Interoperability with glibc sched affinity
+ *
+ * This interface offers ways to convert between hwloc cpusets and glibc cpusets
+ * such as those manipulated by sched_getaffinity() or pthread_attr_setaffinity_np().
+ *
+ * \note Topology \p topology must match the current machine.
+ *
+ * @{
+ */
+
+
+/** \brief Convert hwloc CPU set \p toposet into glibc sched affinity CPU set \p schedset
+ *
+ * This function may be used before calling sched_setaffinity or any other function
+ * that takes a cpu_set_t as input parameter.
+ *
+ * \p schedsetsize should be sizeof(cpu_set_t) unless \p schedset was dynamically allocated with CPU_ALLOC
+ */
+static __hwloc_inline int
+hwloc_cpuset_to_glibc_sched_affinity(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t hwlocset,
+ cpu_set_t *schedset, size_t schedsetsize)
+{
+#ifdef CPU_ZERO_S
+ unsigned cpu;
+ CPU_ZERO_S(schedsetsize, schedset);
+ hwloc_bitmap_foreach_begin(cpu, hwlocset)
+ CPU_SET_S(cpu, schedsetsize, schedset);
+ hwloc_bitmap_foreach_end();
+#else /* !CPU_ZERO_S */
+ unsigned cpu;
+ CPU_ZERO(schedset);
+ assert(schedsetsize == sizeof(cpu_set_t));
+ hwloc_bitmap_foreach_begin(cpu, hwlocset)
+ CPU_SET(cpu, schedset);
+ hwloc_bitmap_foreach_end();
+#endif /* !CPU_ZERO_S */
+ return 0;
+}
+
+/** \brief Convert glibc sched affinity CPU set \p schedset into hwloc CPU set
+ *
+ * This function may be used before calling sched_setaffinity or any other function
+ * that takes a cpu_set_t as input parameter.
+ *
+ * \p schedsetsize should be sizeof(cpu_set_t) unless \p schedset was dynamically allocated with CPU_ALLOC
+ */
+static __hwloc_inline int
+hwloc_cpuset_from_glibc_sched_affinity(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_cpuset_t hwlocset,
+ const cpu_set_t *schedset, size_t schedsetsize)
+{
+ int cpu;
+#ifdef CPU_ZERO_S
+ int count;
+#endif
+ hwloc_bitmap_zero(hwlocset);
+#ifdef CPU_ZERO_S
+ count = CPU_COUNT_S(schedsetsize, schedset);
+ cpu = 0;
+ while (count) {
+ if (CPU_ISSET_S(cpu, schedsetsize, schedset)) {
+ hwloc_bitmap_set(hwlocset, cpu);
+ count--;
+ }
+ cpu++;
+ }
+#else /* !CPU_ZERO_S */
+ /* sched.h does not support dynamic cpu_set_t (introduced in glibc 2.7),
+ * assume we have a very old interface without CPU_COUNT (added in 2.6)
+ */
+ assert(schedsetsize == sizeof(cpu_set_t));
+ for(cpu=0; cpu<CPU_SETSIZE; cpu++)
+ if (CPU_ISSET(cpu, schedset))
+ hwloc_bitmap_set(hwlocset, cpu);
+#endif /* !CPU_ZERO_S */
+ return 0;
+}
+
+/** @} */
+
+
+#endif /* CPU_SET */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_GLIBC_SCHED_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief High-level hwloc traversal helpers.
+ */
+
+#ifndef HWLOC_HELPER_H
+#define HWLOC_HELPER_H
+
+#ifndef HWLOC_H
+#error Please include the main hwloc.h instead
+#endif
+
+#include <stdlib.h>
+#include <errno.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_helper_find_inside Finding Objects inside a CPU set
+ * @{
+ */
+
+/** \brief Get the first largest object included in the given cpuset \p set.
+ *
+ * \return the first object that is included in \p set and whose parent is not.
+ *
+ * This is convenient for iterating over all largest objects within a CPU set
+ * by doing a loop getting the first largest object and clearing its CPU set
+ * from the remaining CPU set.
+ *
+ * \note This function cannot work if the root object does not have a CPU set,
+ * e.g. if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_first_largest_obj_inside_cpuset(hwloc_topology_t topology, hwloc_const_cpuset_t set)
+{
+ hwloc_obj_t obj = hwloc_get_root_obj(topology);
+ if (!obj->cpuset || !hwloc_bitmap_intersects(obj->cpuset, set))
+ return NULL;
+ while (!hwloc_bitmap_isincluded(obj->cpuset, set)) {
+ /* while the object intersects without being included, look at its children */
+ hwloc_obj_t child = obj->first_child;
+ while (child) {
+ if (child->cpuset && hwloc_bitmap_intersects(child->cpuset, set))
+ break;
+ child = child->next_sibling;
+ }
+ if (!child)
+ /* no child intersects, return their father */
+ return obj;
+ /* found one intersecting child, look at its children */
+ obj = child;
+ }
+ /* obj is included, return it */
+ return obj;
+}
+
+/** \brief Get the set of largest objects covering exactly a given cpuset \p set
+ *
+ * \return the number of objects returned in \p objs.
+ *
+ * \note This function cannot work if the root object does not have a CPU set,
+ * e.g. if the topology is made of different machines.
+ */
+HWLOC_DECLSPEC int hwloc_get_largest_objs_inside_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ hwloc_obj_t * __hwloc_restrict objs, int max);
+
+/** \brief Return the next object at depth \p depth included in CPU set \p set.
+ *
+ * If \p prev is \c NULL, return the first object at depth \p depth
+ * included in \p set. The next invokation should pass the previous
+ * return value in \p prev so as to obtain the next object in \p set.
+ *
+ * \note Objects with empty CPU sets are ignored
+ * (otherwise they would be considered included in any given set).
+ *
+ * \note This function cannot work if objects at the given depth do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ unsigned depth, hwloc_obj_t prev)
+{
+ hwloc_obj_t next = hwloc_get_next_obj_by_depth(topology, depth, prev);
+ if (!next || !next->cpuset)
+ return NULL;
+ while (next && (hwloc_bitmap_iszero(next->cpuset) || !hwloc_bitmap_isincluded(next->cpuset, set)))
+ next = next->next_cousin;
+ return next;
+}
+
+/** \brief Return the next object of type \p type included in CPU set \p set.
+ *
+ * If there are multiple or no depth for given type, return \c NULL
+ * and let the caller fallback to
+ * hwloc_get_next_obj_inside_cpuset_by_depth().
+ *
+ * \note Objects with empty CPU sets are ignored
+ * (otherwise they would be considered included in any given set).
+ *
+ * \note This function cannot work if objects of the given type do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ hwloc_obj_type_t type, hwloc_obj_t prev)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN || depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return NULL;
+ return hwloc_get_next_obj_inside_cpuset_by_depth(topology, set, depth, prev);
+}
+
+/** \brief Return the (logically) \p idx -th object at depth \p depth included in CPU set \p set.
+ *
+ * \note Objects with empty CPU sets are ignored
+ * (otherwise they would be considered included in any given set).
+ *
+ * \note This function cannot work if objects at the given depth do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ unsigned depth, unsigned idx) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ unsigned depth, unsigned idx)
+{
+ hwloc_obj_t obj = hwloc_get_obj_by_depth (topology, depth, 0);
+ unsigned count = 0;
+ if (!obj || !obj->cpuset)
+ return NULL;
+ while (obj) {
+ if (!hwloc_bitmap_iszero(obj->cpuset) && hwloc_bitmap_isincluded(obj->cpuset, set)) {
+ if (count == idx)
+ return obj;
+ count++;
+ }
+ obj = obj->next_cousin;
+ }
+ return NULL;
+}
+
+/** \brief Return the \p idx -th object of type \p type included in CPU set \p set.
+ *
+ * If there are multiple or no depth for given type, return \c NULL
+ * and let the caller fallback to
+ * hwloc_get_obj_inside_cpuset_by_depth().
+ *
+ * \note Objects with empty CPU sets are ignored
+ * (otherwise they would be considered included in any given set).
+ *
+ * \note This function cannot work if objects of the given type do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ hwloc_obj_type_t type, unsigned idx) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ hwloc_obj_type_t type, unsigned idx)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN || depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return NULL;
+ return hwloc_get_obj_inside_cpuset_by_depth(topology, set, depth, idx);
+}
+
+/** \brief Return the number of objects at depth \p depth included in CPU set \p set.
+ *
+ * \note Objects with empty CPU sets are ignored
+ * (otherwise they would be considered included in any given set).
+ *
+ * \note This function cannot work if objects at the given depth do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline unsigned
+hwloc_get_nbobjs_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ unsigned depth) __hwloc_attribute_pure;
+static __hwloc_inline unsigned
+hwloc_get_nbobjs_inside_cpuset_by_depth (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ unsigned depth)
+{
+ hwloc_obj_t obj = hwloc_get_obj_by_depth (topology, depth, 0);
+ unsigned count = 0;
+ if (!obj || !obj->cpuset)
+ return 0;
+ while (obj) {
+ if (!hwloc_bitmap_iszero(obj->cpuset) && hwloc_bitmap_isincluded(obj->cpuset, set))
+ count++;
+ obj = obj->next_cousin;
+ }
+ return count;
+}
+
+/** \brief Return the number of objects of type \p type included in CPU set \p set.
+ *
+ * If no object for that type exists inside CPU set \p set, 0 is
+ * returned. If there are several levels with objects of that type
+ * inside CPU set \p set, -1 is returned.
+ *
+ * \note Objects with empty CPU sets are ignored
+ * (otherwise they would be considered included in any given set).
+ *
+ * \note This function cannot work if objects of the given type do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline int
+hwloc_get_nbobjs_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ hwloc_obj_type_t type) __hwloc_attribute_pure;
+static __hwloc_inline int
+hwloc_get_nbobjs_inside_cpuset_by_type (hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ hwloc_obj_type_t type)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN)
+ return 0;
+ if (depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return -1; /* FIXME: agregate nbobjs from different levels? */
+ return hwloc_get_nbobjs_inside_cpuset_by_depth(topology, set, depth);
+}
+
+/** \brief Return the logical index among the objects included in CPU set \p set.
+ *
+ * Consult all objects in the same level as \p obj and inside CPU set \p set
+ * in the logical order, and return the index of \p obj within them.
+ * If \p set covers the entire topology, this is the logical index of \p obj.
+ * Otherwise, this is similar to a logical index within the part of the topology
+ * defined by CPU set \p set.
+ *
+ * \note Objects with empty CPU sets are ignored
+ * (otherwise they would be considered included in any given set).
+ */
+static __hwloc_inline int
+hwloc_get_obj_index_inside_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set,
+ hwloc_obj_t obj) __hwloc_attribute_pure;
+static __hwloc_inline int
+hwloc_get_obj_index_inside_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set,
+ hwloc_obj_t obj)
+{
+ int idx = 0;
+ if (!hwloc_bitmap_isincluded(obj->cpuset, set))
+ return -1;
+ /* count how many objects are inside the cpuset on the way from us to the beginning of the level */
+ while ((obj = obj->prev_cousin) != NULL)
+ if (!hwloc_bitmap_iszero(obj->cpuset) && hwloc_bitmap_isincluded(obj->cpuset, set))
+ idx++;
+ return idx;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_helper_find_covering Finding Objects covering at least CPU set
+ * @{
+ */
+
+/** \brief Get the child covering at least CPU set \p set.
+ *
+ * \return \c NULL if no child matches or if \p set is empty.
+ *
+ * \note This function cannot work if parent does not have a CPU set.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_child_covering_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set,
+ hwloc_obj_t parent) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_child_covering_cpuset (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set,
+ hwloc_obj_t parent)
+{
+ hwloc_obj_t child;
+ if (!parent->cpuset || hwloc_bitmap_iszero(set))
+ return NULL;
+ child = parent->first_child;
+ while (child) {
+ if (child->cpuset && hwloc_bitmap_isincluded(set, child->cpuset))
+ return child;
+ child = child->next_sibling;
+ }
+ return NULL;
+}
+
+/** \brief Get the lowest object covering at least CPU set \p set
+ *
+ * \return \c NULL if no object matches or if \p set is empty.
+ *
+ * \note This function cannot work if the root object does not have a CPU set,
+ * e.g. if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set)
+{
+ struct hwloc_obj *current = hwloc_get_root_obj(topology);
+ if (hwloc_bitmap_iszero(set) || !current->cpuset || !hwloc_bitmap_isincluded(set, current->cpuset))
+ return NULL;
+ while (1) {
+ hwloc_obj_t child = hwloc_get_child_covering_cpuset(topology, set, current);
+ if (!child)
+ return current;
+ current = child;
+ }
+}
+
+/** \brief Iterate through same-depth objects covering at least CPU set \p set
+ *
+ * If object \p prev is \c NULL, return the first object at depth \p
+ * depth covering at least part of CPU set \p set. The next
+ * invokation should pass the previous return value in \p prev so as
+ * to obtain the next object covering at least another part of \p set.
+ *
+ * \note This function cannot work if objects at the given depth do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_covering_cpuset_by_depth(hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ unsigned depth, hwloc_obj_t prev)
+{
+ hwloc_obj_t next = hwloc_get_next_obj_by_depth(topology, depth, prev);
+ if (!next || !next->cpuset)
+ return NULL;
+ while (next && !hwloc_bitmap_intersects(set, next->cpuset))
+ next = next->next_cousin;
+ return next;
+}
+
+/** \brief Iterate through same-type objects covering at least CPU set \p set
+ *
+ * If object \p prev is \c NULL, return the first object of type \p
+ * type covering at least part of CPU set \p set. The next invokation
+ * should pass the previous return value in \p prev so as to obtain
+ * the next object of type \p type covering at least another part of
+ * \p set.
+ *
+ * If there are no or multiple depths for type \p type, \c NULL is returned.
+ * The caller may fallback to hwloc_get_next_obj_covering_cpuset_by_depth()
+ * for each depth.
+ *
+ * \note This function cannot work if objects of the given type do
+ * not have CPU sets or if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_covering_cpuset_by_type(hwloc_topology_t topology, hwloc_const_cpuset_t set,
+ hwloc_obj_type_t type, hwloc_obj_t prev)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN || depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return NULL;
+ return hwloc_get_next_obj_covering_cpuset_by_depth(topology, set, depth, prev);
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_helper_ancestors Looking at Ancestor and Child Objects
+ * @{
+ *
+ * Be sure to see the figure in \ref termsanddefs that shows a
+ * complete topology tree, including depths, child/sibling/cousin
+ * relationships, and an example of an asymmetric topology where one
+ * package has fewer caches than its peers.
+ */
+
+/** \brief Returns the ancestor object of \p obj at depth \p depth. */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_ancestor_obj_by_depth (hwloc_topology_t topology __hwloc_attribute_unused, unsigned depth, hwloc_obj_t obj) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_ancestor_obj_by_depth (hwloc_topology_t topology __hwloc_attribute_unused, unsigned depth, hwloc_obj_t obj)
+{
+ hwloc_obj_t ancestor = obj;
+ if (obj->depth < depth)
+ return NULL;
+ while (ancestor && ancestor->depth > depth)
+ ancestor = ancestor->parent;
+ return ancestor;
+}
+
+/** \brief Returns the ancestor object of \p obj with type \p type. */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_ancestor_obj_by_type (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_type_t type, hwloc_obj_t obj) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_ancestor_obj_by_type (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_type_t type, hwloc_obj_t obj)
+{
+ hwloc_obj_t ancestor = obj->parent;
+ while (ancestor && ancestor->type != type)
+ ancestor = ancestor->parent;
+ return ancestor;
+}
+
+/** \brief Returns the common parent object to objects \p obj1 and \p obj2 */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_common_ancestor_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj1, hwloc_obj_t obj2) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_common_ancestor_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj1, hwloc_obj_t obj2)
+{
+ /* the loop isn't so easy since intermediate ancestors may have
+ * different depth, causing us to alternate between using obj1->parent
+ * and obj2->parent. Also, even if at some point we find ancestors of
+ * of the same depth, their ancestors may have different depth again.
+ */
+ while (obj1 != obj2) {
+ while (obj1->depth > obj2->depth)
+ obj1 = obj1->parent;
+ while (obj2->depth > obj1->depth)
+ obj2 = obj2->parent;
+ if (obj1 != obj2 && obj1->depth == obj2->depth) {
+ obj1 = obj1->parent;
+ obj2 = obj2->parent;
+ }
+ }
+ return obj1;
+}
+
+/** \brief Returns true if \p obj is inside the subtree beginning with ancestor object \p subtree_root.
+ *
+ * \note This function assumes that both \p obj and \p subtree_root have a \p cpuset.
+ */
+static __hwloc_inline int
+hwloc_obj_is_in_subtree (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, hwloc_obj_t subtree_root) __hwloc_attribute_pure;
+static __hwloc_inline int
+hwloc_obj_is_in_subtree (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, hwloc_obj_t subtree_root)
+{
+ return hwloc_bitmap_isincluded(obj->cpuset, subtree_root->cpuset);
+}
+
+/** \brief Return the next child.
+ *
+ * If \p prev is \c NULL, return the first child.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_child (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t parent, hwloc_obj_t prev)
+{
+ if (!prev)
+ return parent->first_child;
+ if (prev->parent != parent)
+ return NULL;
+ return prev->next_sibling;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_helper_find_cache Looking at Cache Objects
+ * @{
+ */
+
+/** \brief Find the depth of cache objects matching cache depth and type.
+ *
+ * Return the depth of the topology level that contains cache objects
+ * whose attributes match \p cachedepth and \p cachetype. This function
+ * intends to disambiguate the case where hwloc_get_type_depth() returns
+ * ::HWLOC_TYPE_DEPTH_MULTIPLE.
+ *
+ * If no cache level matches, ::HWLOC_TYPE_DEPTH_UNKNOWN is returned.
+ *
+ * If \p cachetype is ::HWLOC_OBJ_CACHE_UNIFIED, the depth of the
+ * unique matching unified cache level is returned.
+ *
+ * If \p cachetype is ::HWLOC_OBJ_CACHE_DATA or ::HWLOC_OBJ_CACHE_INSTRUCTION,
+ * either a matching cache, or a unified cache is returned.
+ *
+ * If \p cachetype is \c -1, it is ignored and multiple levels may
+ * match. The function returns either the depth of a uniquely matching
+ * level or ::HWLOC_TYPE_DEPTH_MULTIPLE.
+ */
+static __hwloc_inline int
+hwloc_get_cache_type_depth (hwloc_topology_t topology,
+ unsigned cachelevel, hwloc_obj_cache_type_t cachetype)
+{
+ int depth;
+ int found = HWLOC_TYPE_DEPTH_UNKNOWN;
+ for (depth=0; ; depth++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, 0);
+ if (!obj)
+ break;
+ if (obj->type != HWLOC_OBJ_CACHE || obj->attr->cache.depth != cachelevel)
+ /* doesn't match, try next depth */
+ continue;
+ if (cachetype == (hwloc_obj_cache_type_t) -1) {
+ if (found != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ /* second match, return MULTIPLE */
+ return HWLOC_TYPE_DEPTH_MULTIPLE;
+ }
+ /* first match, mark it as found */
+ found = depth;
+ continue;
+ }
+ if (obj->attr->cache.type == cachetype || obj->attr->cache.type == HWLOC_OBJ_CACHE_UNIFIED)
+ /* exact match (either unified is alone, or we match instruction or data), return immediately */
+ return depth;
+ }
+ /* went to the bottom, return what we found */
+ return found;
+}
+
+/** \brief Get the first cache covering a cpuset \p set
+ *
+ * \return \c NULL if no cache matches.
+ *
+ * \note This function cannot work if the root object does not have a CPU set,
+ * e.g. if the topology is made of different machines.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_cache_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_cache_covering_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t set)
+{
+ hwloc_obj_t current = hwloc_get_obj_covering_cpuset(topology, set);
+ while (current) {
+ if (current->type == HWLOC_OBJ_CACHE)
+ return current;
+ current = current->parent;
+ }
+ return NULL;
+}
+
+/** \brief Get the first cache shared between an object and somebody else.
+ *
+ * \return \c NULL if no cache matches or if an invalid object is given.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj)
+{
+ hwloc_obj_t current = obj->parent;
+ if (!obj->cpuset)
+ return NULL;
+ while (current && current->cpuset) {
+ if (!hwloc_bitmap_isequal(current->cpuset, obj->cpuset)
+ && current->type == HWLOC_OBJ_CACHE)
+ return current;
+ current = current->parent;
+ }
+ return NULL;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_helper_find_misc Finding objects, miscellaneous helpers
+ * @{
+ *
+ * Be sure to see the figure in \ref termsanddefs that shows a
+ * complete topology tree, including depths, child/sibling/cousin
+ * relationships, and an example of an asymmetric topology where one
+ * package has fewer caches than its peers.
+ */
+
+/** \brief Returns the object of type ::HWLOC_OBJ_PU with \p os_index.
+ *
+ * This function is useful for converting a CPU set into the PU
+ * objects it contains.
+ * When retrieving the current binding (e.g. with hwloc_get_cpubind()),
+ * one may iterate over the bits of the resulting CPU set with
+ * hwloc_bitmap_foreach_begin(), and find the corresponding PUs
+ * with this function.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_pu_obj_by_os_index(hwloc_topology_t topology, unsigned os_index) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_pu_obj_by_os_index(hwloc_topology_t topology, unsigned os_index)
+{
+ hwloc_obj_t obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_PU, obj)) != NULL)
+ if (obj->os_index == os_index)
+ return obj;
+ return NULL;
+}
+
+/** \brief Returns the object of type ::HWLOC_OBJ_NUMANODE with \p os_index.
+ *
+ * This function is useful for converting a nodeset into the NUMA node
+ * objects it contains.
+ * When retrieving the current binding (e.g. with hwloc_get_membind_nodeset()),
+ * one may iterate over the bits of the resulting nodeset with
+ * hwloc_bitmap_foreach_begin(), and find the corresponding NUMA nodes
+ * with this function.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_numanode_obj_by_os_index(hwloc_topology_t topology, unsigned os_index) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_numanode_obj_by_os_index(hwloc_topology_t topology, unsigned os_index)
+{
+ hwloc_obj_t obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, obj)) != NULL)
+ if (obj->os_index == os_index)
+ return obj;
+ return NULL;
+}
+
+/** \brief Do a depth-first traversal of the topology to find and sort
+ *
+ * all objects that are at the same depth than \p src.
+ * Report in \p objs up to \p max physically closest ones to \p src.
+ *
+ * \return the number of objects returned in \p objs.
+ *
+ * \return 0 if \p src is an I/O object.
+ *
+ * \note This function requires the \p src object to have a CPU set.
+ */
+/* TODO: rather provide an iterator? Provide a way to know how much should be allocated? By returning the total number of objects instead? */
+HWLOC_DECLSPEC unsigned hwloc_get_closest_objs (hwloc_topology_t topology, hwloc_obj_t src, hwloc_obj_t * __hwloc_restrict objs, unsigned max);
+
+/** \brief Find an object below another object, both specified by types and indexes.
+ *
+ * Start from the top system object and find object of type \p type1
+ * and logical index \p idx1. Then look below this object and find another
+ * object of type \p type2 and logical index \p idx2. Indexes are specified
+ * within the parent, not withing the entire system.
+ *
+ * For instance, if type1 is PACKAGE, idx1 is 2, type2 is CORE and idx2
+ * is 3, return the fourth core object below the third package.
+ *
+ * \note This function requires these objects to have a CPU set.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_below_by_type (hwloc_topology_t topology,
+ hwloc_obj_type_t type1, unsigned idx1,
+ hwloc_obj_type_t type2, unsigned idx2) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_below_by_type (hwloc_topology_t topology,
+ hwloc_obj_type_t type1, unsigned idx1,
+ hwloc_obj_type_t type2, unsigned idx2)
+{
+ hwloc_obj_t obj;
+ obj = hwloc_get_obj_by_type (topology, type1, idx1);
+ if (!obj || !obj->cpuset)
+ return NULL;
+ return hwloc_get_obj_inside_cpuset_by_type(topology, obj->cpuset, type2, idx2);
+}
+
+/** \brief Find an object below a chain of objects specified by types and indexes.
+ *
+ * This is a generalized version of hwloc_get_obj_below_by_type().
+ *
+ * Arrays \p typev and \p idxv must contain \p nr types and indexes.
+ *
+ * Start from the top system object and walk the arrays \p typev and \p idxv.
+ * For each type and logical index couple in the arrays, look under the previously found
+ * object to find the index-th object of the given type.
+ * Indexes are specified within the parent, not withing the entire system.
+ *
+ * For instance, if nr is 3, typev contains NODE, PACKAGE and CORE,
+ * and idxv contains 0, 1 and 2, return the third core object below
+ * the second package below the first NUMA node.
+ *
+ * \note This function requires all these objects and the root object
+ * to have a CPU set.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_below_array_by_type (hwloc_topology_t topology, int nr, hwloc_obj_type_t *typev, unsigned *idxv) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_below_array_by_type (hwloc_topology_t topology, int nr, hwloc_obj_type_t *typev, unsigned *idxv)
+{
+ hwloc_obj_t obj = hwloc_get_root_obj(topology);
+ int i;
+ for(i=0; i<nr; i++) {
+ if (!obj || !obj->cpuset)
+ return NULL;
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, obj->cpuset, typev[i], idxv[i]);
+ }
+ return obj;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_helper_distribute Distributing items over a topology
+ * @{
+ */
+
+/** \brief Flags to be given to hwloc_distrib().
+ */
+enum hwloc_distrib_flags_e {
+ /** \brief Distrib in reverse order, starting from the last objects.
+ * \hideinitializer
+ */
+ HWLOC_DISTRIB_FLAG_REVERSE = (1UL<<0)
+};
+
+/** \brief Distribute \p n items over the topology under \p roots
+ *
+ * Array \p set will be filled with \p n cpusets recursively distributed
+ * linearly over the topology under objects \p roots, down to depth \p until
+ * (which can be INT_MAX to distribute down to the finest level).
+ *
+ * \p n_roots is usually 1 and \p roots only contains the topology root object
+ * so as to distribute over the entire topology.
+ *
+ * This is typically useful when an application wants to distribute \p n
+ * threads over a machine, giving each of them as much private cache as
+ * possible and keeping them locally in number order.
+ *
+ * The caller may typically want to also call hwloc_bitmap_singlify()
+ * before binding a thread so that it does not move at all.
+ *
+ * \p flags should be 0 or a OR'ed set of ::hwloc_distrib_flags_e.
+ *
+ * \note This function requires the \p roots objects to have a CPU set.
+ *
+ * \note This function replaces the now deprecated hwloc_distribute()
+ * and hwloc_distributev() functions.
+ */
+static __hwloc_inline int
+hwloc_distrib(hwloc_topology_t topology,
+ hwloc_obj_t *roots, unsigned n_roots,
+ hwloc_cpuset_t *set,
+ unsigned n,
+ unsigned until, unsigned long flags)
+{
+ unsigned i;
+ unsigned tot_weight;
+ unsigned given, givenweight;
+ hwloc_cpuset_t *cpusetp = set;
+
+ if (flags & ~HWLOC_DISTRIB_FLAG_REVERSE) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ tot_weight = 0;
+ for (i = 0; i < n_roots; i++)
+ if (roots[i]->cpuset)
+ tot_weight += hwloc_bitmap_weight(roots[i]->cpuset);
+
+ for (i = 0, given = 0, givenweight = 0; i < n_roots; i++) {
+ unsigned chunk, weight;
+ hwloc_obj_t root = roots[flags & HWLOC_DISTRIB_FLAG_REVERSE ? n_roots-1-i : i];
+ hwloc_cpuset_t cpuset = root->cpuset;
+ if (!cpuset)
+ continue;
+ weight = hwloc_bitmap_weight(cpuset);
+ if (!weight)
+ continue;
+ /* Give to root a chunk proportional to its weight.
+ * If previous chunks got rounded-up, we may get a bit less. */
+ chunk = (( (givenweight+weight) * n + tot_weight-1) / tot_weight)
+ - (( givenweight * n + tot_weight-1) / tot_weight);
+ if (!root->arity || chunk <= 1 || root->depth >= until) {
+ /* We can't split any more, put everything there. */
+ if (chunk) {
+ /* Fill cpusets with ours */
+ unsigned j;
+ for (j=0; j < chunk; j++)
+ cpusetp[j] = hwloc_bitmap_dup(cpuset);
+ } else {
+ /* We got no chunk, just merge our cpuset to a previous one
+ * (the first chunk cannot be empty)
+ * so that this root doesn't get ignored.
+ */
+ assert(given);
+ hwloc_bitmap_or(cpusetp[-1], cpusetp[-1], cpuset);
+ }
+ } else {
+ /* Still more to distribute, recurse into children */
+ hwloc_distrib(topology, root->children, root->arity, cpusetp, chunk, until, flags);
+ }
+ cpusetp += chunk;
+ given += chunk;
+ givenweight += weight;
+ }
+
+ return 0;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_helper_topology_sets CPU and node sets of entire topologies
+ * @{
+ */
+/** \brief Get complete CPU set
+ *
+ * \return the complete CPU set of logical processors of the system. If the
+ * topology is the result of a combination of several systems, NULL is
+ * returned.
+ *
+ * \note The returned cpuset is not newly allocated and should thus not be
+ * changed or freed; hwloc_bitmap_dup() must be used to obtain a local copy.
+ */
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_complete_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_complete_cpuset(hwloc_topology_t topology)
+{
+ return hwloc_get_root_obj(topology)->complete_cpuset;
+}
+
+/** \brief Get topology CPU set
+ *
+ * \return the CPU set of logical processors of the system for which hwloc
+ * provides topology information. This is equivalent to the cpuset of the
+ * system object. If the topology is the result of a combination of several
+ * systems, NULL is returned.
+ *
+ * \note The returned cpuset is not newly allocated and should thus not be
+ * changed or freed; hwloc_bitmap_dup() must be used to obtain a local copy.
+ */
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_topology_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_topology_cpuset(hwloc_topology_t topology)
+{
+ return hwloc_get_root_obj(topology)->cpuset;
+}
+
+/** \brief Get online CPU set
+ *
+ * \return the CPU set of online logical processors of the system. If the
+ * topology is the result of a combination of several systems, NULL is
+ * returned.
+ *
+ * \note The returned cpuset is not newly allocated and should thus not be
+ * changed or freed; hwloc_bitmap_dup() must be used to obtain a local copy.
+ */
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_online_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_online_cpuset(hwloc_topology_t topology)
+{
+ return hwloc_get_root_obj(topology)->online_cpuset;
+}
+
+/** \brief Get allowed CPU set
+ *
+ * \return the CPU set of allowed logical processors of the system. If the
+ * topology is the result of a combination of several systems, NULL is
+ * returned.
+ *
+ * \note The returned cpuset is not newly allocated and should thus not be
+ * changed or freed, hwloc_bitmap_dup() must be used to obtain a local copy.
+ */
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_allowed_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_const_cpuset_t
+hwloc_topology_get_allowed_cpuset(hwloc_topology_t topology)
+{
+ return hwloc_get_root_obj(topology)->allowed_cpuset;
+}
+
+/** \brief Get complete node set
+ *
+ * \return the complete node set of memory of the system. If the
+ * topology is the result of a combination of several systems, NULL is
+ * returned.
+ *
+ * \note The returned nodeset is not newly allocated and should thus not be
+ * changed or freed; hwloc_bitmap_dup() must be used to obtain a local copy.
+ */
+static __hwloc_inline hwloc_const_nodeset_t
+hwloc_topology_get_complete_nodeset(hwloc_topology_t topology) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_const_nodeset_t
+hwloc_topology_get_complete_nodeset(hwloc_topology_t topology)
+{
+ return hwloc_get_root_obj(topology)->complete_nodeset;
+}
+
+/** \brief Get topology node set
+ *
+ * \return the node set of memory of the system for which hwloc
+ * provides topology information. This is equivalent to the nodeset of the
+ * system object. If the topology is the result of a combination of several
+ * systems, NULL is returned.
+ *
+ * \note The returned nodeset is not newly allocated and should thus not be
+ * changed or freed; hwloc_bitmap_dup() must be used to obtain a local copy.
+ */
+static __hwloc_inline hwloc_const_nodeset_t
+hwloc_topology_get_topology_nodeset(hwloc_topology_t topology) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_const_nodeset_t
+hwloc_topology_get_topology_nodeset(hwloc_topology_t topology)
+{
+ return hwloc_get_root_obj(topology)->nodeset;
+}
+
+/** \brief Get allowed node set
+ *
+ * \return the node set of allowed memory of the system. If the
+ * topology is the result of a combination of several systems, NULL is
+ * returned.
+ *
+ * \note The returned nodeset is not newly allocated and should thus not be
+ * changed or freed, hwloc_bitmap_dup() must be used to obtain a local copy.
+ */
+static __hwloc_inline hwloc_const_nodeset_t
+hwloc_topology_get_allowed_nodeset(hwloc_topology_t topology) __hwloc_attribute_pure;
+static __hwloc_inline hwloc_const_nodeset_t
+hwloc_topology_get_allowed_nodeset(hwloc_topology_t topology)
+{
+ return hwloc_get_root_obj(topology)->allowed_nodeset;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_helper_nodeset_convert Converting between CPU sets and node sets
+ *
+ * There are two semantics for converting cpusets to nodesets depending on how
+ * non-NUMA machines are handled.
+ *
+ * When manipulating nodesets for memory binding, non-NUMA machines should be
+ * considered as having a single NUMA node. The standard conversion routines
+ * below should be used so that marking the first bit of the nodeset means
+ * that memory should be bound to a non-NUMA whole machine.
+ *
+ * When manipulating nodesets as an actual list of NUMA nodes without any
+ * need to handle memory binding on non-NUMA machines, the strict conversion
+ * routines may be used instead.
+ * @{
+ */
+
+/** \brief Convert a CPU set into a NUMA node set and handle non-NUMA cases
+ *
+ * If some NUMA nodes have no CPUs at all, this function never sets their
+ * indexes in the output node set, even if a full CPU set is given in input.
+ *
+ * If the topology contains no NUMA nodes, the machine is considered
+ * as a single memory node, and the following behavior is used:
+ * If \p cpuset is empty, \p nodeset will be emptied as well.
+ * Otherwise \p nodeset will be entirely filled.
+ */
+static __hwloc_inline void
+hwloc_cpuset_to_nodeset(hwloc_topology_t topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ hwloc_obj_t obj;
+
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ if (hwloc_bitmap_iszero(_cpuset))
+ hwloc_bitmap_zero(nodeset);
+ else
+ /* Assume the whole system */
+ hwloc_bitmap_fill(nodeset);
+ return;
+ }
+
+ hwloc_bitmap_zero(nodeset);
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, _cpuset, depth, obj)) != NULL)
+ hwloc_bitmap_set(nodeset, obj->os_index);
+}
+
+/** \brief Convert a CPU set into a NUMA node set without handling non-NUMA cases
+ *
+ * This is the strict variant of hwloc_cpuset_to_nodeset(). It does not fix
+ * non-NUMA cases. If the topology contains some NUMA nodes, behave exactly
+ * the same. However, if the topology contains no NUMA nodes, return an empty
+ * nodeset.
+ */
+static __hwloc_inline void
+hwloc_cpuset_to_nodeset_strict(struct hwloc_topology *topology, hwloc_const_cpuset_t _cpuset, hwloc_nodeset_t nodeset)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ hwloc_obj_t obj;
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN )
+ return;
+ hwloc_bitmap_zero(nodeset);
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, _cpuset, depth, obj)) != NULL)
+ hwloc_bitmap_set(nodeset, obj->os_index);
+}
+
+/** \brief Convert a NUMA node set into a CPU set and handle non-NUMA cases
+ *
+ * If the topology contains no NUMA nodes, the machine is considered
+ * as a single memory node, and the following behavior is used:
+ * If \p nodeset is empty, \p cpuset will be emptied as well.
+ * Otherwise \p cpuset will be entirely filled.
+ * This is useful for manipulating memory binding sets.
+ */
+static __hwloc_inline void
+hwloc_cpuset_from_nodeset(hwloc_topology_t topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ hwloc_obj_t obj;
+
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN ) {
+ if (hwloc_bitmap_iszero(nodeset))
+ hwloc_bitmap_zero(_cpuset);
+ else
+ /* Assume the whole system */
+ hwloc_bitmap_fill(_cpuset);
+ return;
+ }
+
+ hwloc_bitmap_zero(_cpuset);
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_depth(topology, depth, obj)) != NULL) {
+ if (hwloc_bitmap_isset(nodeset, obj->os_index))
+ /* no need to check obj->cpuset because objects in levels always have a cpuset */
+ hwloc_bitmap_or(_cpuset, _cpuset, obj->cpuset);
+ }
+}
+
+/** \brief Convert a NUMA node set into a CPU set without handling non-NUMA cases
+ *
+ * This is the strict variant of hwloc_cpuset_from_nodeset(). It does not fix
+ * non-NUMA cases. If the topology contains some NUMA nodes, behave exactly
+ * the same. However, if the topology contains no NUMA nodes, return an empty
+ * cpuset.
+ */
+static __hwloc_inline void
+hwloc_cpuset_from_nodeset_strict(struct hwloc_topology *topology, hwloc_cpuset_t _cpuset, hwloc_const_nodeset_t nodeset)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ hwloc_obj_t obj;
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN )
+ return;
+ hwloc_bitmap_zero(_cpuset);
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_depth(topology, depth, obj)) != NULL)
+ if (hwloc_bitmap_isset(nodeset, obj->os_index))
+ /* no need to check obj->cpuset because objects in levels always have a cpuset */
+ hwloc_bitmap_or(_cpuset, _cpuset, obj->cpuset);
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_distances Manipulating Distances
+ * @{
+ */
+
+/** \brief Get the distances between all objects at the given depth.
+ *
+ * \return a distances structure containing a matrix with all distances
+ * between all objects at the given depth.
+ *
+ * Slot i+nbobjs*j contains the distance from the object of logical index i
+ * the object of logical index j.
+ *
+ * \note This function only returns matrices covering the whole topology,
+ * without any unknown distance value. Those matrices are available in
+ * top-level object of the hierarchy. Matrices of lower objects are not
+ * reported here since they cover only part of the machine.
+ *
+ * The returned structure belongs to the hwloc library. The caller should
+ * not modify or free it.
+ *
+ * \return \c NULL if no such distance matrix exists.
+ */
+
+static __hwloc_inline const struct hwloc_distances_s *
+hwloc_get_whole_distance_matrix_by_depth(hwloc_topology_t topology, unsigned depth)
+{
+ hwloc_obj_t root = hwloc_get_root_obj(topology);
+ unsigned i;
+ for(i=0; i<root->distances_count; i++)
+ if (root->distances[i]->relative_depth == depth)
+ return root->distances[i];
+ return NULL;
+}
+
+/** \brief Get the distances between all objects of a given type.
+ *
+ * \return a distances structure containing a matrix with all distances
+ * between all objects of the given type.
+ *
+ * Slot i+nbobjs*j contains the distance from the object of logical index i
+ * the object of logical index j.
+ *
+ * \note This function only returns matrices covering the whole topology,
+ * without any unknown distance value. Those matrices are available in
+ * top-level object of the hierarchy. Matrices of lower objects are not
+ * reported here since they cover only part of the machine.
+ *
+ * The returned structure belongs to the hwloc library. The caller should
+ * not modify or free it.
+ *
+ * \return \c NULL if no such distance matrix exists.
+ */
+
+static __hwloc_inline const struct hwloc_distances_s *
+hwloc_get_whole_distance_matrix_by_type(hwloc_topology_t topology, hwloc_obj_type_t type)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth < 0)
+ return NULL;
+ return hwloc_get_whole_distance_matrix_by_depth(topology, depth);
+}
+
+/** \brief Get distances for the given depth and covering some objects
+ *
+ * Return a distance matrix that describes depth \p depth and covers at
+ * least object \p obj and all its children.
+ *
+ * When looking for the distance between some objects, a common ancestor should
+ * be passed in \p obj.
+ *
+ * \p firstp is set to logical index of the first object described by the matrix.
+ *
+ * The returned structure belongs to the hwloc library. The caller should
+ * not modify or free it.
+ */
+static __hwloc_inline const struct hwloc_distances_s *
+hwloc_get_distance_matrix_covering_obj_by_depth(hwloc_topology_t topology,
+ hwloc_obj_t obj, unsigned depth,
+ unsigned *firstp)
+{
+ while (obj && obj->cpuset) {
+ unsigned i;
+ for(i=0; i<obj->distances_count; i++)
+ if (obj->distances[i]->relative_depth == depth - obj->depth) {
+ if (!obj->distances[i]->nbobjs)
+ continue;
+ *firstp = hwloc_get_next_obj_inside_cpuset_by_depth(topology, obj->cpuset, depth, NULL)->logical_index;
+ return obj->distances[i];
+ }
+ obj = obj->parent;
+ }
+ return NULL;
+}
+
+/** \brief Get the latency in both directions between two objects.
+ *
+ * Look at ancestor objects from the bottom to the top until one of them
+ * contains a distance matrix that matches the objects exactly.
+ *
+ * \p latency gets the value from object \p obj1 to \p obj2, while
+ * \p reverse_latency gets the reverse-direction value, which
+ * may be different on some architectures.
+ *
+ * \return -1 if no ancestor contains a matching latency matrix.
+ */
+static __hwloc_inline int
+hwloc_get_latency(hwloc_topology_t topology,
+ hwloc_obj_t obj1, hwloc_obj_t obj2,
+ float *latency, float *reverse_latency)
+{
+ hwloc_obj_t ancestor;
+ const struct hwloc_distances_s * distances;
+ unsigned first_logical ;
+
+ if (obj1->depth != obj2->depth) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ ancestor = hwloc_get_common_ancestor_obj(topology, obj1, obj2);
+ distances = hwloc_get_distance_matrix_covering_obj_by_depth(topology, ancestor, obj1->depth, &first_logical);
+ if (distances && distances->latency) {
+ const float * latency_matrix = distances->latency;
+ unsigned nbobjs = distances->nbobjs;
+ unsigned l1 = obj1->logical_index - first_logical;
+ unsigned l2 = obj2->logical_index - first_logical;
+ *latency = latency_matrix[l1*nbobjs+l2];
+ *reverse_latency = latency_matrix[l2*nbobjs+l1];
+ return 0;
+ }
+
+ errno = ENOSYS;
+ return -1;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_advanced_io Finding I/O objects
+ * @{
+ */
+
+/** \brief Get the first non-I/O ancestor object.
+ *
+ * Given the I/O object \p ioobj, find the smallest non-I/O ancestor
+ * object. This regular object may then be used for binding because
+ * its locality is the same as \p ioobj.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_non_io_ancestor_obj(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_obj_t ioobj)
+{
+ hwloc_obj_t obj = ioobj;
+ while (obj && !obj->cpuset) {
+ obj = obj->parent;
+ }
+ return obj;
+}
+
+/** \brief Get the next PCI device in the system.
+ *
+ * \return the first PCI device if \p prev is \c NULL.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_pcidev(hwloc_topology_t topology, hwloc_obj_t prev)
+{
+ return hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_PCI_DEVICE, prev);
+}
+
+/** \brief Find the PCI device object matching the PCI bus id
+ * given domain, bus device and function PCI bus id.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_pcidev_by_busid(hwloc_topology_t topology,
+ unsigned domain, unsigned bus, unsigned dev, unsigned func)
+{
+ hwloc_obj_t obj = NULL;
+ while ((obj = hwloc_get_next_pcidev(topology, obj)) != NULL) {
+ if (obj->attr->pcidev.domain == domain
+ && obj->attr->pcidev.bus == bus
+ && obj->attr->pcidev.dev == dev
+ && obj->attr->pcidev.func == func)
+ return obj;
+ }
+ return NULL;
+}
+
+/** \brief Find the PCI device object matching the PCI bus id
+ * given as a string xxxx:yy:zz.t or yy:zz.t.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_pcidev_by_busidstring(hwloc_topology_t topology, const char *busid)
+{
+ unsigned domain = 0; /* default */
+ unsigned bus, dev, func;
+
+ if (sscanf(busid, "%x:%x.%x", &bus, &dev, &func) != 3
+ && sscanf(busid, "%x:%x:%x.%x", &domain, &bus, &dev, &func) != 4) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ return hwloc_get_pcidev_by_busid(topology, domain, bus, dev, func);
+}
+
+/** \brief Get the next OS device in the system.
+ *
+ * \return the first OS device if \p prev is \c NULL.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_osdev(hwloc_topology_t topology, hwloc_obj_t prev)
+{
+ return hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_OS_DEVICE, prev);
+}
+
+/** \brief Get the next bridge in the system.
+ *
+ * \return the first bridge if \p prev is \c NULL.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_bridge(hwloc_topology_t topology, hwloc_obj_t prev)
+{
+ return hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_BRIDGE, prev);
+}
+
+/* \brief Checks whether a given bridge covers a given PCI bus.
+ */
+static __hwloc_inline int
+hwloc_bridge_covers_pcibus(hwloc_obj_t bridge,
+ unsigned domain, unsigned bus)
+{
+ return bridge->type == HWLOC_OBJ_BRIDGE
+ && bridge->attr->bridge.downstream_type == HWLOC_OBJ_BRIDGE_PCI
+ && bridge->attr->bridge.downstream.pci.domain == domain
+ && bridge->attr->bridge.downstream.pci.secondary_bus <= bus
+ && bridge->attr->bridge.downstream.pci.subordinate_bus >= bus;
+}
+
+/** \brief Find the hostbridge that covers the given PCI bus.
+ *
+ * This is useful for finding the locality of a bus because
+ * it is the hostbridge parent cpuset.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_get_hostbridge_by_pcibus(hwloc_topology_t topology,
+ unsigned domain, unsigned bus)
+{
+ hwloc_obj_t obj = NULL;
+ while ((obj = hwloc_get_next_bridge(topology, obj)) != NULL) {
+ if (hwloc_bridge_covers_pcibus(obj, domain, bus)) {
+ /* found bridge covering this pcibus, make sure it's a hostbridge */
+ assert(obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_HOST);
+ assert(obj->parent->type != HWLOC_OBJ_BRIDGE);
+ assert(obj->parent->cpuset);
+ return obj;
+ }
+ }
+ return NULL;
+}
+
+/** @} */
+
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_HELPER_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/**
+ * This file contains the inline code of functions declared in hwloc.h
+ */
+
+#ifndef HWLOC_INLINES_H
+#define HWLOC_INLINES_H
+
+#ifndef HWLOC_H
+#error Please include the main hwloc.h instead
+#endif
+
+#include <stdlib.h>
+#include <errno.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+static __hwloc_inline int
+hwloc_get_type_or_below_depth (hwloc_topology_t topology, hwloc_obj_type_t type)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN || type == HWLOC_OBJ_MISC)
+ return depth;
+
+ /* find the highest existing level with type order >= */
+ for(depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PU); ; depth--)
+ if (hwloc_compare_types(hwloc_get_depth_type(topology, depth), type) < 0)
+ return depth+1;
+
+ /* Shouldn't ever happen, as there is always a SYSTEM level with lower order and known depth. */
+ /* abort(); */
+}
+
+static __hwloc_inline int
+hwloc_get_type_or_above_depth (hwloc_topology_t topology, hwloc_obj_type_t type)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN || type == HWLOC_OBJ_MISC)
+ return depth;
+
+ /* find the lowest existing level with type order <= */
+ for(depth = 0; ; depth++)
+ if (hwloc_compare_types(hwloc_get_depth_type(topology, depth), type) > 0)
+ return depth-1;
+
+ /* Shouldn't ever happen, as there is always a PU level with higher order and known depth. */
+ /* abort(); */
+}
+
+static __hwloc_inline int
+hwloc_get_nbobjs_by_type (hwloc_topology_t topology, hwloc_obj_type_t type)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN)
+ return 0;
+ if (depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return -1; /* FIXME: agregate nbobjs from different levels? */
+ return hwloc_get_nbobjs_by_depth(topology, depth);
+}
+
+static __hwloc_inline hwloc_obj_t
+hwloc_get_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN)
+ return NULL;
+ if (depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return NULL;
+ return hwloc_get_obj_by_depth(topology, depth, idx);
+}
+
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_by_depth (hwloc_topology_t topology, unsigned depth, hwloc_obj_t prev)
+{
+ if (!prev)
+ return hwloc_get_obj_by_depth (topology, depth, 0);
+ if (prev->depth != depth)
+ return NULL;
+ return prev->next_cousin;
+}
+
+static __hwloc_inline hwloc_obj_t
+hwloc_get_next_obj_by_type (hwloc_topology_t topology, hwloc_obj_type_t type,
+ hwloc_obj_t prev)
+{
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN || depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return NULL;
+ return hwloc_get_next_obj_by_depth (topology, depth, prev);
+}
+
+static __hwloc_inline hwloc_obj_t
+hwloc_get_root_obj (hwloc_topology_t topology)
+{
+ return hwloc_get_obj_by_depth (topology, 0, 0);
+}
+
+static __hwloc_inline const char *
+hwloc_obj_get_info_by_name(hwloc_obj_t obj, const char *name)
+{
+ unsigned i;
+ for(i=0; i<obj->infos_count; i++)
+ if (!strcmp(obj->infos[i].name, name))
+ return obj->infos[i].value;
+ return NULL;
+}
+
+static __hwloc_inline void *
+hwloc_alloc_membind_policy_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ void *p = hwloc_alloc_membind_nodeset(topology, len, nodeset, policy, flags);
+ if (p)
+ return p;
+ hwloc_set_membind_nodeset(topology, nodeset, policy, flags);
+ p = hwloc_alloc(topology, len);
+ if (p && policy != HWLOC_MEMBIND_FIRSTTOUCH)
+ /* Enforce the binding by touching the data */
+ memset(p, 0, len);
+ return p;
+}
+
+static __hwloc_inline void *
+hwloc_alloc_membind_policy(hwloc_topology_t topology, size_t len, hwloc_const_cpuset_t set, hwloc_membind_policy_t policy, int flags)
+{
+ void *p = hwloc_alloc_membind(topology, len, set, policy, flags);
+ if (p)
+ return p;
+
+ if (hwloc_set_membind(topology, set, policy, flags) < 0)
+ /* hwloc_set_membind() takes care of ignoring errors if non-STRICT */
+ return NULL;
+
+ p = hwloc_alloc(topology, len);
+ if (p && policy != HWLOC_MEMBIND_FIRSTTOUCH)
+ /* Enforce the binding by touching the data */
+ memset(p, 0, len);
+ return p;
+}
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_INLINES_H */
--- /dev/null
+/*
+ * Copyright © 2013-2016 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and Intel Xeon Phi (MIC).
+ *
+ * Applications that use both hwloc and Intel Xeon Phi (MIC) may want to
+ * include this file so as to get topology information for MIC devices.
+ */
+
+#ifndef HWLOC_INTEL_MIC_H
+#define HWLOC_INTEL_MIC_H
+
+#include <hwloc.h>
+#include <hwloc/autogen/config.h>
+#include <hwloc/helper.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#include <dirent.h>
+#include <string.h>
+#endif
+
+#include <stdio.h>
+#include <stdlib.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_intel_mic Interoperability with Intel Xeon Phi (MIC)
+ *
+ * This interface offers ways to retrieve topology information about
+ * Intel Xeon Phi (MIC) devices.
+ *
+ * @{
+ */
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close to MIC device whose index is \p idx.
+ *
+ * Return the CPU set describing the locality of the MIC device whose index is \p idx.
+ *
+ * Topology \p topology and device index \p idx must match the local machine.
+ * I/O devices detection is not needed in the topology.
+ *
+ * The function only returns the locality of the device.
+ * If more information about the device is needed, OS objects should
+ * be used instead, see hwloc_intel_mic_get_device_osdev_by_index().
+ *
+ * This function is currently only implemented in a meaningful way for
+ * Linux; other systems will simply get a full cpuset.
+ */
+static __hwloc_inline int
+hwloc_intel_mic_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused,
+ int idx __hwloc_attribute_unused,
+ hwloc_cpuset_t set)
+{
+#ifdef HWLOC_LINUX_SYS
+ /* If we're on Linux, use the sysfs mechanism to get the local cpus */
+#define HWLOC_INTEL_MIC_DEVICE_SYSFS_PATH_MAX 128
+ char path[HWLOC_INTEL_MIC_DEVICE_SYSFS_PATH_MAX];
+ DIR *sysdir = NULL;
+ FILE *sysfile = NULL;
+ struct dirent *dirent;
+ unsigned pcibus, pcidev, pcifunc;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ sprintf(path, "/sys/class/mic/mic%d", idx);
+ sysdir = opendir(path);
+ if (!sysdir)
+ return -1;
+
+ while ((dirent = readdir(sysdir)) != NULL) {
+ if (sscanf(dirent->d_name, "pci_%02x:%02x.%02x", &pcibus, &pcidev, &pcifunc) == 3) {
+ sprintf(path, "/sys/class/mic/mic%d/pci_%02x:%02x.%02x/local_cpus", idx, pcibus, pcidev, pcifunc);
+ sysfile = fopen(path, "r");
+ if (!sysfile) {
+ closedir(sysdir);
+ return -1;
+ }
+
+ if (hwloc_linux_parse_cpumap_file(sysfile, set) < 0
+ || hwloc_bitmap_iszero(set))
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+
+ fclose(sysfile);
+ break;
+ }
+ }
+
+ closedir(sysdir);
+#else
+ /* Non-Linux systems simply get a full cpuset */
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+#endif
+ return 0;
+}
+
+/** \brief Get the hwloc OS device object corresponding to the
+ * MIC device for the given index.
+ *
+ * Return the OS device object describing the MIC device whose index is \p idx.
+ * Return NULL if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection must be enabled in the topology.
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_intel_mic_get_device_osdev_by_index(hwloc_topology_t topology,
+ unsigned idx)
+{
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_COPROC == osdev->attr->osdev.type
+ && osdev->name
+ && !strncmp("mic", osdev->name, 3)
+ && atoi(osdev->name + 3) == (int) idx)
+ return osdev;
+ }
+ return NULL;
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_INTEL_MIC_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2012 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and Linux libnuma.
+ *
+ * Applications that use both Linux libnuma and hwloc may want to
+ * include this file so as to ease conversion between their respective types.
+*/
+
+#ifndef HWLOC_LINUX_LIBNUMA_H
+#define HWLOC_LINUX_LIBNUMA_H
+
+#include <hwloc.h>
+#include <numa.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_linux_libnuma_ulongs Interoperability with Linux libnuma unsigned long masks
+ *
+ * This interface helps converting between Linux libnuma unsigned long masks
+ * and hwloc cpusets and nodesets.
+ *
+ * It also offers a consistent behavior on non-NUMA machines
+ * or non-NUMA-aware kernels by assuming that the machines have a single
+ * NUMA node.
+ *
+ * \note Topology \p topology must match the current machine.
+ *
+ * \note The behavior of libnuma is undefined if the kernel is not NUMA-aware.
+ * (when CONFIG_NUMA is not set in the kernel configuration).
+ * This helper and libnuma may thus not be strictly compatible in this case,
+ * which may be detected by checking whether numa_available() returns -1.
+ *
+ * @{
+ */
+
+
+/** \brief Convert hwloc CPU set \p cpuset into the array of unsigned long \p mask
+ *
+ * \p mask is the array of unsigned long that will be filled.
+ * \p maxnode contains the maximal node number that may be stored in \p mask.
+ * \p maxnode will be set to the maximal node number that was found, plus one.
+ *
+ * This function may be used before calling set_mempolicy, mbind, migrate_pages
+ * or any other function that takes an array of unsigned long and a maximal
+ * node number as input parameter.
+ */
+static __hwloc_inline int
+hwloc_cpuset_to_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset,
+ unsigned long *mask, unsigned long *maxnode)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ unsigned long outmaxnode = -1;
+
+ /* round-up to the next ulong and clear all bytes */
+ *maxnode = (*maxnode + 8*sizeof(*mask) - 1) & ~(8*sizeof(*mask) - 1);
+ memset(mask, 0, *maxnode/8);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ while ((node = hwloc_get_next_obj_covering_cpuset_by_depth(topology, cpuset, depth, node)) != NULL) {
+ if (node->os_index >= *maxnode)
+ continue;
+ mask[node->os_index/sizeof(*mask)/8] |= 1UL << (node->os_index % (sizeof(*mask)*8));
+ if (outmaxnode == (unsigned long) -1 || outmaxnode < node->os_index)
+ outmaxnode = node->os_index;
+ }
+
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (!hwloc_bitmap_iszero(cpuset)) {
+ mask[0] = 1;
+ outmaxnode = 0;
+ }
+ }
+
+ *maxnode = outmaxnode+1;
+ return 0;
+}
+
+/** \brief Convert hwloc NUMA node set \p nodeset into the array of unsigned long \p mask
+ *
+ * \p mask is the array of unsigned long that will be filled.
+ * \p maxnode contains the maximal node number that may be stored in \p mask.
+ * \p maxnode will be set to the maximal node number that was found, plus one.
+ *
+ * This function may be used before calling set_mempolicy, mbind, migrate_pages
+ * or any other function that takes an array of unsigned long and a maximal
+ * node number as input parameter.
+ */
+static __hwloc_inline int
+hwloc_nodeset_to_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset,
+ unsigned long *mask, unsigned long *maxnode)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ unsigned long outmaxnode = -1;
+
+ /* round-up to the next ulong and clear all bytes */
+ *maxnode = (*maxnode + 8*sizeof(*mask) - 1) & ~(8*sizeof(*mask) - 1);
+ memset(mask, 0, *maxnode/8);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL) {
+ if (node->os_index >= *maxnode)
+ continue;
+ if (!hwloc_bitmap_isset(nodeset, node->os_index))
+ continue;
+ mask[node->os_index/sizeof(*mask)/8] |= 1UL << (node->os_index % (sizeof(*mask)*8));
+ if (outmaxnode == (unsigned long) -1 || outmaxnode < node->os_index)
+ outmaxnode = node->os_index;
+ }
+
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (!hwloc_bitmap_iszero(nodeset)) {
+ mask[0] = 1;
+ outmaxnode = 0;
+ }
+ }
+
+ *maxnode = outmaxnode+1;
+ return 0;
+}
+
+/** \brief Convert the array of unsigned long \p mask into hwloc CPU set
+ *
+ * \p mask is a array of unsigned long that will be read.
+ * \p maxnode contains the maximal node number that may be read in \p mask.
+ *
+ * This function may be used after calling get_mempolicy or any other function
+ * that takes an array of unsigned long as output parameter (and possibly
+ * a maximal node number as input parameter).
+ */
+static __hwloc_inline int
+hwloc_cpuset_from_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_cpuset_t cpuset,
+ const unsigned long *mask, unsigned long maxnode)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ hwloc_bitmap_zero(cpuset);
+ while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL)
+ if (node->os_index < maxnode
+ && (mask[node->os_index/sizeof(*mask)/8] & (1UL << (node->os_index % (sizeof(*mask)*8)))))
+ hwloc_bitmap_or(cpuset, cpuset, node->cpuset);
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (mask[0] & 1)
+ hwloc_bitmap_copy(cpuset, hwloc_topology_get_complete_cpuset(topology));
+ else
+ hwloc_bitmap_zero(cpuset);
+ }
+
+ return 0;
+}
+
+/** \brief Convert the array of unsigned long \p mask into hwloc NUMA node set
+ *
+ * \p mask is a array of unsigned long that will be read.
+ * \p maxnode contains the maximal node number that may be read in \p mask.
+ *
+ * This function may be used after calling get_mempolicy or any other function
+ * that takes an array of unsigned long as output parameter (and possibly
+ * a maximal node number as input parameter).
+ */
+static __hwloc_inline int
+hwloc_nodeset_from_linux_libnuma_ulongs(hwloc_topology_t topology, hwloc_nodeset_t nodeset,
+ const unsigned long *mask, unsigned long maxnode)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ hwloc_bitmap_zero(nodeset);
+ while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL)
+ if (node->os_index < maxnode
+ && (mask[node->os_index/sizeof(*mask)/8] & (1UL << (node->os_index % (sizeof(*mask)*8)))))
+ hwloc_bitmap_set(nodeset, node->os_index);
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (mask[0] & 1)
+ hwloc_bitmap_fill(nodeset);
+ else
+ hwloc_bitmap_zero(nodeset);
+ }
+
+ return 0;
+}
+
+/** @} */
+
+
+
+/** \defgroup hwlocality_linux_libnuma_bitmask Interoperability with Linux libnuma bitmask
+ *
+ * This interface helps converting between Linux libnuma bitmasks
+ * and hwloc cpusets and nodesets.
+ *
+ * It also offers a consistent behavior on non-NUMA machines
+ * or non-NUMA-aware kernels by assuming that the machines have a single
+ * NUMA node.
+ *
+ * \note Topology \p topology must match the current machine.
+ *
+ * \note The behavior of libnuma is undefined if the kernel is not NUMA-aware.
+ * (when CONFIG_NUMA is not set in the kernel configuration).
+ * This helper and libnuma may thus not be strictly compatible in this case,
+ * which may be detected by checking whether numa_available() returns -1.
+ *
+ * @{
+ */
+
+
+/** \brief Convert hwloc CPU set \p cpuset into the returned libnuma bitmask
+ *
+ * The returned bitmask should later be freed with numa_bitmask_free.
+ *
+ * This function may be used before calling many numa_ functions
+ * that use a struct bitmask as an input parameter.
+ *
+ * \return newly allocated struct bitmask.
+ */
+static __hwloc_inline struct bitmask *
+hwloc_cpuset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset) __hwloc_attribute_malloc;
+static __hwloc_inline struct bitmask *
+hwloc_cpuset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_cpuset_t cpuset)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ struct bitmask *bitmask = numa_allocate_cpumask();
+ if (!bitmask)
+ return NULL;
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ while ((node = hwloc_get_next_obj_covering_cpuset_by_depth(topology, cpuset, depth, node)) != NULL)
+ if (node->memory.local_memory)
+ numa_bitmask_setbit(bitmask, node->os_index);
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (!hwloc_bitmap_iszero(cpuset))
+ numa_bitmask_setbit(bitmask, 0);
+ }
+
+ return bitmask;
+}
+
+/** \brief Convert hwloc NUMA node set \p nodeset into the returned libnuma bitmask
+ *
+ * The returned bitmask should later be freed with numa_bitmask_free.
+ *
+ * This function may be used before calling many numa_ functions
+ * that use a struct bitmask as an input parameter.
+ *
+ * \return newly allocated struct bitmask.
+ */
+static __hwloc_inline struct bitmask *
+hwloc_nodeset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset) __hwloc_attribute_malloc;
+static __hwloc_inline struct bitmask *
+hwloc_nodeset_to_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ struct bitmask *bitmask = numa_allocate_cpumask();
+ if (!bitmask)
+ return NULL;
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL)
+ if (hwloc_bitmap_isset(nodeset, node->os_index) && node->memory.local_memory)
+ numa_bitmask_setbit(bitmask, node->os_index);
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (!hwloc_bitmap_iszero(nodeset))
+ numa_bitmask_setbit(bitmask, 0);
+ }
+
+ return bitmask;
+}
+
+/** \brief Convert libnuma bitmask \p bitmask into hwloc CPU set \p cpuset
+ *
+ * This function may be used after calling many numa_ functions
+ * that use a struct bitmask as an output parameter.
+ */
+static __hwloc_inline int
+hwloc_cpuset_from_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_cpuset_t cpuset,
+ const struct bitmask *bitmask)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ hwloc_bitmap_zero(cpuset);
+ while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL)
+ if (numa_bitmask_isbitset(bitmask, node->os_index))
+ hwloc_bitmap_or(cpuset, cpuset, node->cpuset);
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (numa_bitmask_isbitset(bitmask, 0))
+ hwloc_bitmap_copy(cpuset, hwloc_topology_get_complete_cpuset(topology));
+ else
+ hwloc_bitmap_zero(cpuset);
+ }
+
+ return 0;
+}
+
+/** \brief Convert libnuma bitmask \p bitmask into hwloc NUMA node set \p nodeset
+ *
+ * This function may be used after calling many numa_ functions
+ * that use a struct bitmask as an output parameter.
+ */
+static __hwloc_inline int
+hwloc_nodeset_from_linux_libnuma_bitmask(hwloc_topology_t topology, hwloc_nodeset_t nodeset,
+ const struct bitmask *bitmask)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ hwloc_obj_t node = NULL;
+ hwloc_bitmap_zero(nodeset);
+ while ((node = hwloc_get_next_obj_by_depth(topology, depth, node)) != NULL)
+ if (numa_bitmask_isbitset(bitmask, node->os_index))
+ hwloc_bitmap_set(nodeset, node->os_index);
+ } else {
+ /* if no numa, libnuma assumes we have a single node */
+ if (numa_bitmask_isbitset(bitmask, 0))
+ hwloc_bitmap_fill(nodeset);
+ else
+ hwloc_bitmap_zero(nodeset);
+ }
+
+ return 0;
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_LINUX_NUMA_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and Linux.
+ *
+ * Applications that use hwloc on Linux may want to include this file
+ * if using some low-level Linux features.
+ */
+
+#ifndef HWLOC_LINUX_H
+#define HWLOC_LINUX_H
+
+#include <hwloc.h>
+#include <stdio.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_linux Linux-specific helpers
+ *
+ * This includes helpers for manipulating Linux kernel cpumap files, and hwloc
+ * equivalents of the Linux sched_setaffinity and sched_getaffinity system calls.
+ *
+ * @{
+ */
+
+/** \brief Convert a linux kernel cpumap file \p file into hwloc CPU set.
+ *
+ * Might be used when reading CPU set from sysfs attributes such as topology
+ * and caches for processors, or local_cpus for devices.
+ */
+HWLOC_DECLSPEC int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set);
+
+/** \brief Bind a thread \p tid on cpus given in cpuset \p set
+ *
+ * The behavior is exactly the same as the Linux sched_setaffinity system call,
+ * but uses a hwloc cpuset.
+ *
+ * \note This is equivalent to calling hwloc_set_proc_cpubind() with
+ * HWLOC_CPUBIND_THREAD as flags.
+ */
+HWLOC_DECLSPEC int hwloc_linux_set_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set);
+
+/** \brief Get the current binding of thread \p tid
+ *
+ * The behavior is exactly the same as the Linux sched_getaffinity system call,
+ * but uses a hwloc cpuset.
+ *
+ * \note This is equivalent to calling hwloc_get_proc_cpubind() with
+ * ::HWLOC_CPUBIND_THREAD as flags.
+ */
+HWLOC_DECLSPEC int hwloc_linux_get_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set);
+
+/** \brief Get the last physical CPU where thread \p tid ran.
+ *
+ * \note This is equivalent to calling hwloc_get_proc_last_cpu_location() with
+ * ::HWLOC_CPUBIND_THREAD as flags.
+ */
+HWLOC_DECLSPEC int hwloc_linux_get_tid_last_cpu_location(hwloc_topology_t topology, pid_t tid, hwloc_bitmap_t set);
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_LINUX_H */
--- /dev/null
+/*
+ * Copyright © 2010-2014 Inria. All rights reserved.
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and Myrinet Express.
+ *
+ * Applications that use both hwloc and Myrinet Express verbs may want to
+ * include this file so as to get topology information for Myrinet hardware.
+ *
+ */
+
+#ifndef HWLOC_MYRIEXPRESS_H
+#define HWLOC_MYRIEXPRESS_H
+
+#include <hwloc.h>
+#include <hwloc/autogen/config.h>
+
+#include <myriexpress.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_myriexpress Interoperability with Myrinet Express
+ *
+ * This interface offers ways to retrieve topology information about
+ * Myrinet Express hardware.
+ *
+ * @{
+ */
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close the MX board \p id.
+ *
+ * Return the CPU set describing the locality of the Myrinet Express
+ * board whose index is \p id.
+ *
+ * Topology \p topology and device \p id must match the local machine.
+ * I/O devices detection is not needed in the topology.
+ *
+ * The function only returns the locality of the device.
+ * No additional information about the device is available.
+ */
+static __hwloc_inline int
+hwloc_mx_board_get_device_cpuset(hwloc_topology_t topology,
+ unsigned id, hwloc_cpuset_t set)
+{
+ uint32_t in, out;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ in = id;
+ if (mx_get_info(NULL, MX_NUMA_NODE, &in, sizeof(in), &out, sizeof(out)) != MX_SUCCESS) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (out != (uint32_t) -1) {
+ hwloc_obj_t obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, obj)) != NULL)
+ if (obj->os_index == out) {
+ hwloc_bitmap_copy(set, obj->cpuset);
+ goto out;
+ }
+ }
+ /* fallback to the full topology cpuset */
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+
+ out:
+ return 0;
+}
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close the MX endpoint \p endpoint.
+ *
+ * Return the CPU set describing the locality of the Myrinet Express
+ * board that runs the MX endpoint \p endpoint.
+ *
+ * Topology \p topology and device \p id must match the local machine.
+ * I/O devices detection is not needed in the topology.
+ *
+ * The function only returns the locality of the endpoint.
+ * No additional information about the endpoint or device is available.
+ */
+static __hwloc_inline int
+hwloc_mx_endpoint_get_device_cpuset(hwloc_topology_t topology,
+ mx_endpoint_t endpoint, hwloc_cpuset_t set)
+{
+ uint64_t nid;
+ uint32_t nindex, eid;
+ mx_endpoint_addr_t eaddr;
+
+ if (mx_get_endpoint_addr(endpoint, &eaddr) != MX_SUCCESS) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (mx_decompose_endpoint_addr(eaddr, &nid, &eid) != MX_SUCCESS) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (mx_nic_id_to_board_number(nid, &nindex) != MX_SUCCESS) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ return hwloc_mx_board_get_device_cpuset(topology, nindex, set);
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_MYRIEXPRESS_H */
--- /dev/null
+/*
+ * Copyright © 2012-2016 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and the NVIDIA Management Library.
+ *
+ * Applications that use both hwloc and the NVIDIA Management Library may want to
+ * include this file so as to get topology information for NVML devices.
+ */
+
+#ifndef HWLOC_NVML_H
+#define HWLOC_NVML_H
+
+#include <hwloc.h>
+#include <hwloc/autogen/config.h>
+#include <hwloc/helper.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif
+
+#include <nvml.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_nvml Interoperability with the NVIDIA Management Library
+ *
+ * This interface offers ways to retrieve topology information about
+ * devices managed by the NVIDIA Management Library (NVML).
+ *
+ * @{
+ */
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close to NVML device \p device.
+ *
+ * Return the CPU set describing the locality of the NVML device \p device.
+ *
+ * Topology \p topology and device \p device must match the local machine.
+ * I/O devices detection and the NVML component are not needed in the topology.
+ *
+ * The function only returns the locality of the device.
+ * If more information about the device is needed, OS objects should
+ * be used instead, see hwloc_nvml_get_device_osdev()
+ * and hwloc_nvml_get_device_osdev_by_index().
+ *
+ * This function is currently only implemented in a meaningful way for
+ * Linux; other systems will simply get a full cpuset.
+ */
+static __hwloc_inline int
+hwloc_nvml_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused,
+ nvmlDevice_t device, hwloc_cpuset_t set)
+{
+#ifdef HWLOC_LINUX_SYS
+ /* If we're on Linux, use the sysfs mechanism to get the local cpus */
+#define HWLOC_NVML_DEVICE_SYSFS_PATH_MAX 128
+ char path[HWLOC_NVML_DEVICE_SYSFS_PATH_MAX];
+ FILE *sysfile = NULL;
+ nvmlReturn_t nvres;
+ nvmlPciInfo_t pci;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ nvres = nvmlDeviceGetPciInfo(device, &pci);
+ if (NVML_SUCCESS != nvres) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ sprintf(path, "/sys/bus/pci/devices/%04x:%02x:%02x.0/local_cpus", pci.domain, pci.bus, pci.device);
+ sysfile = fopen(path, "r");
+ if (!sysfile)
+ return -1;
+
+ if (hwloc_linux_parse_cpumap_file(sysfile, set) < 0
+ || hwloc_bitmap_iszero(set))
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+
+ fclose(sysfile);
+#else
+ /* Non-Linux systems simply get a full cpuset */
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+#endif
+ return 0;
+}
+
+/** \brief Get the hwloc OS device object corresponding to the
+ * NVML device whose index is \p idx.
+ *
+ * Return the OS device object describing the NVML device whose
+ * index is \p idx. Returns NULL if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection and the NVML component must be enabled in the topology.
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_nvml_get_device_osdev_by_index(hwloc_topology_t topology, unsigned idx)
+{
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_GPU == osdev->attr->osdev.type
+ && osdev->name
+ && !strncmp("nvml", osdev->name, 4)
+ && atoi(osdev->name + 4) == (int) idx)
+ return osdev;
+ }
+ return NULL;
+}
+
+/** \brief Get the hwloc OS device object corresponding to NVML device \p device.
+ *
+ * Return the hwloc OS device object that describes the given
+ * NVML device \p device. Return NULL if there is none.
+ *
+ * Topology \p topology and device \p device must match the local machine.
+ * I/O devices detection and the NVML component must be enabled in the topology.
+ * If not, the locality of the object may still be found using
+ * hwloc_nvml_get_device_cpuset().
+ *
+ * \note The corresponding hwloc PCI device may be found by looking
+ * at the result parent pointer.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_nvml_get_device_osdev(hwloc_topology_t topology, nvmlDevice_t device)
+{
+ hwloc_obj_t osdev;
+ nvmlReturn_t nvres;
+ nvmlPciInfo_t pci;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ nvres = nvmlDeviceGetPciInfo(device, &pci);
+ if (NVML_SUCCESS != nvres)
+ return NULL;
+
+ osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ hwloc_obj_t pcidev = osdev->parent;
+ if (strncmp(osdev->name, "nvml", 4))
+ continue;
+ if (pcidev
+ && pcidev->type == HWLOC_OBJ_PCI_DEVICE
+ && pcidev->attr->pcidev.domain == pci.domain
+ && pcidev->attr->pcidev.bus == pci.bus
+ && pcidev->attr->pcidev.dev == pci.device
+ && pcidev->attr->pcidev.func == 0)
+ return osdev;
+ }
+
+ return NULL;
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_NVML_H */
--- /dev/null
+/*
+ * Copyright © 2012-2017 Inria. All rights reserved.
+ * Copyright © 2013, 2018 Université Bordeaux. All right reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and the OpenCL interface.
+ *
+ * Applications that use both hwloc and OpenCL may want to
+ * include this file so as to get topology information for OpenCL devices.
+ */
+
+#ifndef HWLOC_OPENCL_H
+#define HWLOC_OPENCL_H
+
+#include <hwloc.h>
+#include <hwloc/autogen/config.h>
+#include <hwloc/helper.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif
+
+#ifdef __APPLE__
+#include <OpenCL/cl.h>
+#include <OpenCL/cl_ext.h>
+#else
+#include <CL/cl.h>
+#include <CL/cl_ext.h>
+#endif
+
+#include <stdio.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_opencl Interoperability with OpenCL
+ *
+ * This interface offers ways to retrieve topology information about
+ * OpenCL devices.
+ *
+ * Only the AMD OpenCL interface currently offers useful locality information
+ * about its devices.
+ *
+ * @{
+ */
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close to OpenCL device \p device.
+ *
+ * Return the CPU set describing the locality of the OpenCL device \p device.
+ *
+ * Topology \p topology and device \p device must match the local machine.
+ * I/O devices detection and the OpenCL component are not needed in the topology.
+ *
+ * The function only returns the locality of the device.
+ * If more information about the device is needed, OS objects should
+ * be used instead, see hwloc_opencl_get_device_osdev()
+ * and hwloc_opencl_get_device_osdev_by_index().
+ *
+ * This function is currently only implemented in a meaningful way for
+ * Linux with the AMD OpenCL implementation; other systems will simply
+ * get a full cpuset.
+ */
+static __hwloc_inline int
+hwloc_opencl_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused,
+ cl_device_id device __hwloc_attribute_unused,
+ hwloc_cpuset_t set)
+{
+#if (defined HWLOC_LINUX_SYS) && (defined CL_DEVICE_TOPOLOGY_AMD)
+ /* If we're on Linux + AMD OpenCL, use the AMD extension + the sysfs mechanism to get the local cpus */
+#define HWLOC_OPENCL_DEVICE_SYSFS_PATH_MAX 128
+ char path[HWLOC_OPENCL_DEVICE_SYSFS_PATH_MAX];
+ FILE *sysfile = NULL;
+ cl_device_topology_amd amdtopo;
+ cl_int clret;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ clret = clGetDeviceInfo(device, CL_DEVICE_TOPOLOGY_AMD, sizeof(amdtopo), &amdtopo, NULL);
+ if (CL_SUCCESS != clret) {
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+ return 0;
+ }
+ if (CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD != amdtopo.raw.type) {
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+ return 0;
+ }
+
+ sprintf(path, "/sys/bus/pci/devices/0000:%02x:%02x.%01x/local_cpus",
+ (unsigned) amdtopo.pcie.bus, (unsigned) amdtopo.pcie.device, (unsigned) amdtopo.pcie.function);
+ sysfile = fopen(path, "r");
+ if (!sysfile)
+ return -1;
+
+ if (hwloc_linux_parse_cpumap_file(sysfile, set) < 0
+ || hwloc_bitmap_iszero(set))
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+
+ fclose(sysfile);
+#else
+ /* Non-Linux + AMD OpenCL systems simply get a full cpuset */
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+#endif
+ return 0;
+}
+
+/** \brief Get the hwloc OS device object corresponding to the
+ * OpenCL device for the given indexes.
+ *
+ * Return the OS device object describing the OpenCL device
+ * whose platform index is \p platform_index,
+ * and whose device index within this platform if \p device_index.
+ * Return NULL if there is none.
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection and the OpenCL component must be enabled in the topology.
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_opencl_get_device_osdev_by_index(hwloc_topology_t topology,
+ unsigned platform_index, unsigned device_index)
+{
+ unsigned x = (unsigned) -1, y = (unsigned) -1;
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_COPROC == osdev->attr->osdev.type
+ && osdev->name
+ && sscanf(osdev->name, "opencl%ud%u", &x, &y) == 2
+ && platform_index == x && device_index == y)
+ return osdev;
+ }
+ return NULL;
+}
+
+/** \brief Get the hwloc OS device object corresponding to OpenCL device \p device.
+ *
+ * Return the hwloc OS device object that describes the given
+ * OpenCL device \p device. Return NULL if there is none.
+ *
+ * Topology \p topology and device \p device must match the local machine.
+ * I/O devices detection and the OpenCL component must be enabled in the topology.
+ * If not, the locality of the object may still be found using
+ * hwloc_opencl_get_device_cpuset().
+ *
+ * \note The corresponding hwloc PCI device may be found by looking
+ * at the result parent pointer.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_opencl_get_device_osdev(hwloc_topology_t topology __hwloc_attribute_unused,
+ cl_device_id device __hwloc_attribute_unused)
+{
+#ifdef CL_DEVICE_TOPOLOGY_AMD
+ hwloc_obj_t osdev;
+ cl_device_topology_amd amdtopo;
+ cl_int clret;
+
+ clret = clGetDeviceInfo(device, CL_DEVICE_TOPOLOGY_AMD, sizeof(amdtopo), &amdtopo, NULL);
+ if (CL_SUCCESS != clret) {
+ errno = EINVAL;
+ return NULL;
+ }
+ if (CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD != amdtopo.raw.type) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ hwloc_obj_t pcidev = osdev->parent;
+ if (strncmp(osdev->name, "opencl", 6))
+ continue;
+ if (pcidev
+ && pcidev->type == HWLOC_OBJ_PCI_DEVICE
+ && pcidev->attr->pcidev.domain == 0
+ && pcidev->attr->pcidev.bus == amdtopo.pcie.bus
+ && pcidev->attr->pcidev.dev == amdtopo.pcie.device
+ && pcidev->attr->pcidev.func == amdtopo.pcie.function)
+ return osdev;
+ }
+
+ return NULL;
+#else
+ return NULL;
+#endif
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_OPENCL_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/** \file
+ * \brief Macros to help interaction between hwloc and OpenFabrics
+ * verbs.
+ *
+ * Applications that use both hwloc and OpenFabrics verbs may want to
+ * include this file so as to get topology information for OpenFabrics
+ * hardware (InfiniBand, etc).
+ *
+ */
+
+#ifndef HWLOC_OPENFABRICS_VERBS_H
+#define HWLOC_OPENFABRICS_VERBS_H
+
+#include <hwloc.h>
+#include <hwloc/autogen/config.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif
+
+#include <infiniband/verbs.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/** \defgroup hwlocality_openfabrics Interoperability with OpenFabrics
+ *
+ * This interface offers ways to retrieve topology information about
+ * OpenFabrics devices (InfiniBand, Omni-Path, usNIC, etc).
+ *
+ * @{
+ */
+
+/** \brief Get the CPU set of logical processors that are physically
+ * close to device \p ibdev.
+ *
+ * Return the CPU set describing the locality of the OpenFabrics
+ * device \p ibdev (InfiniBand, etc).
+ *
+ * Topology \p topology and device \p ibdev must match the local machine.
+ * I/O devices detection is not needed in the topology.
+ *
+ * The function only returns the locality of the device.
+ * If more information about the device is needed, OS objects should
+ * be used instead, see hwloc_ibv_get_device_osdev()
+ * and hwloc_ibv_get_device_osdev_by_name().
+ *
+ * This function is currently only implemented in a meaningful way for
+ * Linux; other systems will simply get a full cpuset.
+ */
+static __hwloc_inline int
+hwloc_ibv_get_device_cpuset(hwloc_topology_t topology __hwloc_attribute_unused,
+ struct ibv_device *ibdev, hwloc_cpuset_t set)
+{
+#ifdef HWLOC_LINUX_SYS
+ /* If we're on Linux, use the verbs-provided sysfs mechanism to
+ get the local cpus */
+#define HWLOC_OPENFABRICS_VERBS_SYSFS_PATH_MAX 128
+ char path[HWLOC_OPENFABRICS_VERBS_SYSFS_PATH_MAX];
+ FILE *sysfile = NULL;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ sprintf(path, "/sys/class/infiniband/%s/device/local_cpus",
+ ibv_get_device_name(ibdev));
+ sysfile = fopen(path, "r");
+ if (!sysfile)
+ return -1;
+
+ if (hwloc_linux_parse_cpumap_file(sysfile, set) < 0
+ || hwloc_bitmap_iszero(set))
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+
+ fclose(sysfile);
+#else
+ /* Non-Linux systems simply get a full cpuset */
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+#endif
+ return 0;
+}
+
+/** \brief Get the hwloc OS device object corresponding to the OpenFabrics
+ * device named \p ibname.
+ *
+ * Return the OS device object describing the OpenFabrics device
+ * (InfiniBand, Omni-Path, usNIC, etc) whose name is \p ibname
+ * (mlx5_0, hfi1_0, usnic_0, qib0, etc).
+ * Returns NULL if there is none.
+ * The name \p ibname is usually obtained from ibv_get_device_name().
+ *
+ * The topology \p topology does not necessarily have to match the current
+ * machine. For instance the topology may be an XML import of a remote host.
+ * I/O devices detection must be enabled in the topology.
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_ibv_get_device_osdev_by_name(hwloc_topology_t topology,
+ const char *ibname)
+{
+ hwloc_obj_t osdev = NULL;
+ while ((osdev = hwloc_get_next_osdev(topology, osdev)) != NULL) {
+ if (HWLOC_OBJ_OSDEV_OPENFABRICS == osdev->attr->osdev.type
+ && osdev->name && !strcmp(ibname, osdev->name))
+ return osdev;
+ }
+ return NULL;
+}
+
+/** \brief Get the hwloc OS device object corresponding to the OpenFabrics
+ * device \p ibdev.
+ *
+ * Return the OS device object describing the OpenFabrics device \p ibdev
+ * (InfiniBand, etc). Returns NULL if there is none.
+ *
+ * Topology \p topology and device \p ibdev must match the local machine.
+ * I/O devices detection must be enabled in the topology.
+ * If not, the locality of the object may still be found using
+ * hwloc_ibv_get_device_cpuset().
+ *
+ * \note The corresponding PCI device object can be obtained by looking
+ * at the OS device parent object.
+ */
+static __hwloc_inline hwloc_obj_t
+hwloc_ibv_get_device_osdev(hwloc_topology_t topology,
+ struct ibv_device *ibdev)
+{
+ if (!hwloc_topology_is_thissystem(topology)) {
+ errno = EINVAL;
+ return NULL;
+ }
+ return hwloc_ibv_get_device_osdev_by_name(topology, ibv_get_device_name(ibdev));
+}
+
+/** @} */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_OPENFABRICS_VERBS_H */
--- /dev/null
+/*
+ * Copyright © 2013-2015 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PLUGINS_H
+#define HWLOC_PLUGINS_H
+
+/** \file
+ * \brief Public interface for building hwloc plugins.
+ */
+
+struct hwloc_backend;
+
+#include <hwloc.h>
+#ifdef HWLOC_INSIDE_PLUGIN
+/* needed for hwloc_plugin_check_namespace() */
+#include <ltdl.h>
+#endif
+
+
+
+/** \defgroup hwlocality_disc_components Components and Plugins: Discovery components
+ * @{
+ */
+
+/** \brief Discovery component type */
+typedef enum hwloc_disc_component_type_e {
+ /** \brief CPU-only discovery through the OS, or generic no-OS support.
+ * \hideinitializer */
+ HWLOC_DISC_COMPONENT_TYPE_CPU = (1<<0),
+
+ /** \brief xml, synthetic or custom,
+ * platform-specific components such as bgq.
+ * Anything the discovers CPU and everything else.
+ * No misc backend is expected to complement a global component.
+ * \hideinitializer */
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL = (1<<1),
+
+ /** \brief OpenCL, Cuda, etc.
+ * \hideinitializer */
+ HWLOC_DISC_COMPONENT_TYPE_MISC = (1<<2)
+} hwloc_disc_component_type_t;
+
+/** \brief Discovery component structure
+ *
+ * This is the major kind of components, taking care of the discovery.
+ * They are registered by generic components, either statically-built or as plugins.
+ */
+struct hwloc_disc_component {
+ /** \brief Discovery component type */
+ hwloc_disc_component_type_t type;
+
+ /** \brief Name.
+ * If this component is built as a plugin, this name does not have to match the plugin filename.
+ */
+ const char *name;
+
+ /** \brief Component types to exclude, as an OR'ed set of ::hwloc_disc_component_type_e.
+ *
+ * For a GLOBAL component, this usually includes all other types (~0).
+ *
+ * Other components only exclude types that may bring conflicting
+ * topology information. MISC components should likely not be excluded
+ * since they usually bring non-primary additional information.
+ */
+ unsigned excludes;
+
+ /** \brief Instantiate callback to create a backend from the component.
+ * Parameters data1, data2, data3 are NULL except for components
+ * that have special enabling routines such as hwloc_topology_set_xml(). */
+ struct hwloc_backend * (*instantiate)(struct hwloc_disc_component *component, const void *data1, const void *data2, const void *data3);
+
+ /** \brief Component priority.
+ * Used to sort topology->components, higher priority first.
+ * Also used to decide between two components with the same name.
+ *
+ * Usual values are
+ * 50 for native OS (or platform) components,
+ * 45 for x86,
+ * 40 for no-OS fallback,
+ * 30 for global components (xml/synthetic/custom),
+ * 20 for pci,
+ * 10 for other misc components (opencl etc.).
+ */
+ unsigned priority;
+
+ /** \private Used internally to list components by priority on topology->components
+ * (the component structure is usually read-only,
+ * the core copies it before using this field for queueing)
+ */
+ struct hwloc_disc_component * next;
+};
+
+/** @} */
+
+
+
+
+/** \defgroup hwlocality_disc_backends Components and Plugins: Discovery backends
+ * @{
+ */
+
+/** \brief Discovery backend structure
+ *
+ * A backend is the instantiation of a discovery component.
+ * When a component gets enabled for a topology,
+ * its instantiate() callback creates a backend.
+ *
+ * hwloc_backend_alloc() initializes all fields to default values
+ * that the component may change (except "component" and "next")
+ * before enabling the backend with hwloc_backend_enable().
+ */
+struct hwloc_backend {
+ /** \private Reserved for the core, set by hwloc_backend_alloc() */
+ struct hwloc_disc_component * component;
+ /** \private Reserved for the core, set by hwloc_backend_enable() */
+ struct hwloc_topology * topology;
+ /** \private Reserved for the core. Set to 1 if forced through envvar, 0 otherwise. */
+ int envvar_forced;
+ /** \private Reserved for the core. Used internally to list backends topology->backends. */
+ struct hwloc_backend * next;
+
+ /** \brief Backend flags, as an OR'ed set of ::hwloc_backend_flag_e */
+ unsigned long flags;
+
+ /** \brief Backend-specific 'is_custom' property.
+ * Shortcut on !strcmp(..->component->name, "custom").
+ * Only the custom component should touch this. */
+ int is_custom;
+
+ /** \brief Backend-specific 'is_thissystem' property.
+ * Set to 0 or 1 if the backend should enforce the thissystem flag when it gets enabled.
+ * Set to -1 if the backend doesn't care (default). */
+ int is_thissystem;
+
+ /** \brief Backend private data, or NULL if none. */
+ void * private_data;
+ /** \brief Callback for freeing the private_data.
+ * May be NULL.
+ */
+ void (*disable)(struct hwloc_backend *backend);
+
+ /** \brief Main discovery callback.
+ * returns > 0 if it modified the topology tree, -1 on error, 0 otherwise.
+ * May be NULL if type is ::HWLOC_DISC_COMPONENT_TYPE_MISC. */
+ int (*discover)(struct hwloc_backend *backend);
+
+ /** \brief Callback used by the PCI backend to retrieve the locality of a PCI object from the OS/cpu backend.
+ * May be NULL. */
+ int (*get_obj_cpuset)(struct hwloc_backend *backend, struct hwloc_backend *caller, struct hwloc_obj *obj, hwloc_bitmap_t cpuset);
+
+ /** \brief Callback called by backends to notify this backend that a new object was added.
+ * returns > 0 if it modified the topology tree, 0 otherwise.
+ * May be NULL. */
+ int (*notify_new_object)(struct hwloc_backend *backend, struct hwloc_backend *caller, struct hwloc_obj *obj);
+};
+
+/** \brief Backend flags */
+enum hwloc_backend_flag_e {
+ /** \brief Levels should be reconnected before this backend discover() is used.
+ * \hideinitializer */
+ HWLOC_BACKEND_FLAG_NEED_LEVELS = (1UL<<0)
+};
+
+/** \brief Allocate a backend structure, set good default values, initialize backend->component and topology, etc.
+ * The caller will then modify whatever needed, and call hwloc_backend_enable().
+ */
+HWLOC_DECLSPEC struct hwloc_backend * hwloc_backend_alloc(struct hwloc_disc_component *component);
+
+/** \brief Enable a previously allocated and setup backend. */
+HWLOC_DECLSPEC int hwloc_backend_enable(struct hwloc_topology *topology, struct hwloc_backend *backend);
+
+/** \brief Used by backends discovery callbacks to request locality information from others.
+ *
+ * Traverse the list of enabled backends until one has a
+ * get_obj_cpuset() method, and call it.
+ */
+HWLOC_DECLSPEC int hwloc_backends_get_obj_cpuset(struct hwloc_backend *caller, struct hwloc_obj *obj, hwloc_bitmap_t cpuset);
+
+/** \brief Used by backends discovery callbacks to notify other
+ * backends of new objects.
+ *
+ * Traverse the list of enabled backends (all but caller) and invoke
+ * their notify_new_object() method to notify them that a new object
+ * just got added to the topology.
+ *
+ * Currently only used for notifying of new PCI device objects.
+ */
+HWLOC_DECLSPEC int hwloc_backends_notify_new_object(struct hwloc_backend *caller, struct hwloc_obj *obj);
+
+/** @} */
+
+
+
+
+/** \defgroup hwlocality_generic_components Components and Plugins: Generic components
+ * @{
+ */
+
+/** \brief Generic component type */
+typedef enum hwloc_component_type_e {
+ /** \brief The data field must point to a struct hwloc_disc_component. */
+ HWLOC_COMPONENT_TYPE_DISC,
+
+ /** \brief The data field must point to a struct hwloc_xml_component. */
+ HWLOC_COMPONENT_TYPE_XML
+} hwloc_component_type_t;
+
+/** \brief Generic component structure
+ *
+ * Generic components structure, either statically listed by configure in static-components.h
+ * or dynamically loaded as a plugin.
+ */
+struct hwloc_component {
+ /** \brief Component ABI version, set to ::HWLOC_COMPONENT_ABI */
+ unsigned abi;
+
+ /** \brief Process-wide component initialization callback.
+ *
+ * This optional callback is called when the component is registered
+ * to the hwloc core (after loading the plugin).
+ *
+ * When the component is built as a plugin, this callback
+ * should call hwloc_check_plugin_namespace()
+ * and return an negative error code on error.
+ *
+ * \p flags is always 0 for now.
+ *
+ * \return 0 on success, or a negative code on error.
+ *
+ * \note If the component uses ltdl for loading its own plugins,
+ * it should load/unload them only in init() and finalize(),
+ * to avoid race conditions with hwloc's use of ltdl.
+ */
+ int (*init)(unsigned long flags);
+
+ /** \brief Process-wide component termination callback.
+ *
+ * This optional callback is called after unregistering the component
+ * from the hwloc core (before unloading the plugin).
+ *
+ * \p flags is always 0 for now.
+ *
+ * \note If the component uses ltdl for loading its own plugins,
+ * it should load/unload them only in init() and finalize(),
+ * to avoid race conditions with hwloc's use of ltdl.
+ */
+ void (*finalize)(unsigned long flags);
+
+ /** \brief Component type */
+ hwloc_component_type_t type;
+
+ /** \brief Component flags, unused for now */
+ unsigned long flags;
+
+ /** \brief Component data, pointing to a struct hwloc_disc_component or struct hwloc_xml_component. */
+ void * data;
+};
+
+/** @} */
+
+
+
+
+/** \defgroup hwlocality_components_core_funcs Components and Plugins: Core functions to be used by components
+ * @{
+ */
+
+/** \brief Add an object to the topology.
+ *
+ * It is sorted along the tree of other objects according to the inclusion of
+ * cpusets, to eventually be added as a child of the smallest object including
+ * this object.
+ *
+ * If the cpuset is empty, the type of the object (and maybe some attributes)
+ * must be enough to find where to insert the object. This is especially true
+ * for NUMA nodes with memory and no CPUs.
+ *
+ * The given object should not have children.
+ *
+ * This shall only be called before levels are built.
+ *
+ * In case of error, hwloc_report_os_error() is called.
+ *
+ * Returns the object on success.
+ * Returns NULL and frees obj on error.
+ * Returns another object and frees obj if it was merged with an identical pre-existing object.
+ */
+HWLOC_DECLSPEC struct hwloc_obj *hwloc_insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj);
+
+/** \brief Type of error callbacks during object insertion */
+typedef void (*hwloc_report_error_t)(const char * msg, int line);
+/** \brief Report an insertion error from a backend */
+HWLOC_DECLSPEC void hwloc_report_os_error(const char * msg, int line);
+/** \brief Check whether insertion errors are hidden */
+HWLOC_DECLSPEC int hwloc_hide_errors(void);
+
+/** \brief Add an object to the topology and specify which error callback to use.
+ *
+ * Aside from the error callback selection, this function is identical to hwloc_insert_object_by_cpuset()
+ */
+HWLOC_DECLSPEC struct hwloc_obj *hwloc__insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj, hwloc_report_error_t report_error);
+
+/** \brief Insert an object somewhere in the topology.
+ *
+ * It is added as the last child of the given parent.
+ * The cpuset is completely ignored, so strange objects such as I/O devices should
+ * preferably be inserted with this.
+ *
+ * When used for "normal" children with cpusets (when importing from XML
+ * when duplicating a topology), the caller should make sure children are inserted
+ * in order.
+ *
+ * The given object may have children.
+ *
+ * Remember to call topology_connect() afterwards to fix handy pointers.
+ */
+HWLOC_DECLSPEC void hwloc_insert_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_obj_t obj);
+
+/** \brief Allocate and initialize an object of the given type and physical index */
+static __hwloc_inline struct hwloc_obj *
+hwloc_alloc_setup_object(hwloc_obj_type_t type, signed os_index)
+{
+ struct hwloc_obj *obj = malloc(sizeof(*obj));
+ memset(obj, 0, sizeof(*obj));
+ obj->type = type;
+ obj->os_index = os_index;
+ obj->os_level = -1;
+ obj->attr = malloc(sizeof(*obj->attr));
+ memset(obj->attr, 0, sizeof(*obj->attr));
+ /* do not allocate the cpuset here, let the caller do it */
+ return obj;
+}
+
+/** \brief Setup object cpusets/nodesets by OR'ing its children.
+ *
+ * Used when adding an object late in the topology, after propagating sets up and down.
+ * The caller should use this after inserting by cpuset (which means the cpusets is already OK).
+ * Typical case: PCI backend adding a hostbridge parent.
+ */
+HWLOC_DECLSPEC int hwloc_fill_object_sets(hwloc_obj_t obj);
+
+/** \brief Make sure that plugins can lookup core symbols.
+ *
+ * This is a sanity check to avoid lazy-lookup failures when libhwloc
+ * is loaded within a plugin, and later tries to load its own plugins.
+ * This may fail (and abort the program) if libhwloc symbols are in a
+ * private namespace.
+ *
+ * \return 0 on success.
+ * \return -1 if the plugin cannot be successfully loaded. The caller
+ * plugin init() callback should return a negative error code as well.
+ *
+ * Plugins should call this function in their init() callback to avoid
+ * later crashes if lazy symbol resolution is used by the upper layer that
+ * loaded hwloc (e.g. OpenCL implementations using dlopen with RTLD_LAZY).
+ *
+ * \note The build system must define HWLOC_INSIDE_PLUGIN if and only if
+ * building the caller as a plugin.
+ *
+ * \note This function should remain inline so plugins can call it even
+ * when they cannot find libhwloc symbols.
+ */
+static __hwloc_inline int
+hwloc_plugin_check_namespace(const char *pluginname __hwloc_attribute_unused, const char *symbol __hwloc_attribute_unused)
+{
+#ifdef HWLOC_INSIDE_PLUGIN
+ lt_dlhandle handle;
+ void *sym;
+ handle = lt_dlopen(NULL);
+ if (!handle)
+ /* cannot check, assume things will work */
+ return 0;
+ sym = lt_dlsym(handle, symbol);
+ lt_dlclose(handle);
+ if (!sym) {
+ static int verboseenv_checked = 0;
+ static int verboseenv_value = 0;
+ if (!verboseenv_checked) {
+ const char *verboseenv = getenv("HWLOC_PLUGINS_VERBOSE");
+ verboseenv_value = verboseenv ? atoi(verboseenv) : 0;
+ verboseenv_checked = 1;
+ }
+ if (verboseenv_value)
+ fprintf(stderr, "Plugin `%s' disabling itself because it cannot find the `%s' core symbol.\n",
+ pluginname, symbol);
+ return -1;
+ }
+#endif /* HWLOC_INSIDE_PLUGIN */
+ return 0;
+}
+
+/** @} */
+
+
+
+
+/** \defgroup hwlocality_components_pci_funcs Components and Plugins: PCI functions to be used by components
+ * @{
+ */
+
+/** \brief Insert a list of PCI devices and bridges in the backend topology.
+ *
+ * Insert a list of objects (either PCI device or bridges) starting at first_obj
+ * (linked by next_sibling in the topology, and ending with NULL).
+ * Objects are placed under the right bridges, and the remaining upstream bridges
+ * are then inserted in the topology by calling the get_obj_cpuset() callback to
+ * find their locality.
+ */
+HWLOC_DECLSPEC int hwloc_insert_pci_device_list(struct hwloc_backend *backend, struct hwloc_obj *first_obj);
+
+/** \brief Return the offset of the given capability in the PCI config space buffer
+ *
+ * This function requires a 256-bytes config space. Unknown/unavailable bytes should be set to 0xff.
+ */
+HWLOC_DECLSPEC unsigned hwloc_pci_find_cap(const unsigned char *config, unsigned cap);
+
+/** \brief Fill linkspeed by reading the PCI config space where PCI_CAP_ID_EXP is at position offset.
+ *
+ * Needs 20 bytes of EXP capability block starting at offset in the config space
+ * for registers up to link status.
+ */
+HWLOC_DECLSPEC int hwloc_pci_find_linkspeed(const unsigned char *config, unsigned offset, float *linkspeed);
+
+/** \brief Modify the PCI device object into a bridge and fill its attribute if a bridge is found in the PCI config space.
+ *
+ * This function requires 64 bytes of common configuration header at the beginning of config.
+ *
+ * Returns -1 and destroys /p obj if bridge fields are invalid.
+ */
+HWLOC_DECLSPEC int hwloc_pci_prepare_bridge(hwloc_obj_t obj, const unsigned char *config);
+
+/** @} */
+
+
+
+
+#endif /* HWLOC_PLUGINS_H */
--- /dev/null
+/*
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * Copyright © 2010-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_RENAME_H
+#define HWLOC_RENAME_H
+
+#include <hwloc/autogen/config.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Only enact these defines if we're actually renaming the symbols
+ (i.e., avoid trying to have no-op defines if we're *not*
+ renaming). */
+
+#if HWLOC_SYM_TRANSFORM
+
+/* Use a preprocessor two-step in order to get the prefixing right.
+ Make 2 macros: HWLOC_NAME and HWLOC_NAME_CAPS for renaming
+ things. */
+
+#define HWLOC_MUNGE_NAME(a, b) HWLOC_MUNGE_NAME2(a, b)
+#define HWLOC_MUNGE_NAME2(a, b) a ## b
+#define HWLOC_NAME(name) HWLOC_MUNGE_NAME(HWLOC_SYM_PREFIX, hwloc_ ## name)
+#define HWLOC_NAME_CAPS(name) HWLOC_MUNGE_NAME(HWLOC_SYM_PREFIX_CAPS, hwloc_ ## name)
+
+/* Now define all the "real" names to be the prefixed names. This
+ allows us to use the real names throughout the code base (i.e.,
+ "hwloc_<foo>"); the preprocessor will adjust to have the prefixed
+ name under the covers. */
+
+/* Names from hwloc.h */
+
+#define hwloc_get_api_version HWLOC_NAME(get_api_version)
+
+#define hwloc_topology HWLOC_NAME(topology)
+#define hwloc_topology_t HWLOC_NAME(topology_t)
+
+#define hwloc_cpuset_t HWLOC_NAME(cpuset_t)
+#define hwloc_const_cpuset_t HWLOC_NAME(const_cpuset_t)
+#define hwloc_nodeset_t HWLOC_NAME(nodeset_t)
+#define hwloc_const_nodeset_t HWLOC_NAME(const_nodeset_t)
+
+#define HWLOC_OBJ_SYSTEM HWLOC_NAME_CAPS(OBJ_SYSTEM)
+#define HWLOC_OBJ_MACHINE HWLOC_NAME_CAPS(OBJ_MACHINE)
+#define HWLOC_OBJ_NUMANODE HWLOC_NAME_CAPS(OBJ_NUMANODE)
+#define HWLOC_OBJ_PACKAGE HWLOC_NAME_CAPS(OBJ_PACKAGE)
+#define HWLOC_OBJ_CACHE HWLOC_NAME_CAPS(OBJ_CACHE)
+#define HWLOC_OBJ_CORE HWLOC_NAME_CAPS(OBJ_CORE)
+#define HWLOC_OBJ_PU HWLOC_NAME_CAPS(OBJ_PU)
+#define HWLOC_OBJ_MISC HWLOC_NAME_CAPS(OBJ_MISC)
+#define HWLOC_OBJ_GROUP HWLOC_NAME_CAPS(OBJ_GROUP)
+#define HWLOC_OBJ_BRIDGE HWLOC_NAME_CAPS(OBJ_BRIDGE)
+#define HWLOC_OBJ_PCI_DEVICE HWLOC_NAME_CAPS(OBJ_PCI_DEVICE)
+#define HWLOC_OBJ_OS_DEVICE HWLOC_NAME_CAPS(OBJ_OS_DEVICE)
+#define HWLOC_OBJ_TYPE_MAX HWLOC_NAME_CAPS(OBJ_TYPE_MAX)
+#define hwloc_obj_type_t HWLOC_NAME(obj_type_t)
+
+#define hwloc_obj_cache_type_e HWLOC_NAME(obj_cache_type_e)
+#define hwloc_obj_cache_type_t HWLOC_NAME(obj_cache_type_t)
+#define HWLOC_OBJ_CACHE_UNIFIED HWLOC_NAME_CAPS(OBJ_CACHE_UNIFIED)
+#define HWLOC_OBJ_CACHE_DATA HWLOC_NAME_CAPS(OBJ_CACHE_DATA)
+#define HWLOC_OBJ_CACHE_INSTRUCTION HWLOC_NAME_CAPS(OBJ_CACHE_INSTRUCTION)
+
+#define hwloc_obj_bridge_type_e HWLOC_NAME(obj_bridge_type_e)
+#define hwloc_obj_bridge_type_t HWLOC_NAME(obj_bridge_type_t)
+#define HWLOC_OBJ_BRIDGE_HOST HWLOC_NAME_CAPS(OBJ_BRIDGE_HOST)
+#define HWLOC_OBJ_BRIDGE_PCI HWLOC_NAME_CAPS(OBJ_BRIDGE_PCI)
+
+#define hwloc_obj_osdev_type_e HWLOC_NAME(obj_osdev_type_e)
+#define hwloc_obj_osdev_type_t HWLOC_NAME(obj_osdev_type_t)
+#define HWLOC_OBJ_OSDEV_BLOCK HWLOC_NAME_CAPS(OBJ_OSDEV_BLOCK)
+#define HWLOC_OBJ_OSDEV_GPU HWLOC_NAME_CAPS(OBJ_OSDEV_GPU)
+#define HWLOC_OBJ_OSDEV_NETWORK HWLOC_NAME_CAPS(OBJ_OSDEV_NETWORK)
+#define HWLOC_OBJ_OSDEV_OPENFABRICS HWLOC_NAME_CAPS(OBJ_OSDEV_OPENFABRICS)
+#define HWLOC_OBJ_OSDEV_DMA HWLOC_NAME_CAPS(OBJ_OSDEV_DMA)
+#define HWLOC_OBJ_OSDEV_COPROC HWLOC_NAME_CAPS(OBJ_OSDEV_COPROC)
+
+#define hwloc_compare_types HWLOC_NAME(compare_types)
+
+#define hwloc_compare_types_e HWLOC_NAME(compare_types_e)
+#define HWLOC_TYPE_UNORDERED HWLOC_NAME_CAPS(TYPE_UNORDERED)
+
+#define hwloc_obj_memory_s HWLOC_NAME(obj_memory_s)
+#define hwloc_obj_memory_page_type_s HWLOC_NAME(obj_memory_page_type_s)
+
+#define hwloc_obj HWLOC_NAME(obj)
+#define hwloc_obj_t HWLOC_NAME(obj_t)
+
+#define hwloc_distances_s HWLOC_NAME(distances_s)
+#define hwloc_obj_info_s HWLOC_NAME(obj_info_s)
+
+#define hwloc_obj_attr_u HWLOC_NAME(obj_attr_u)
+#define hwloc_cache_attr_s HWLOC_NAME(cache_attr_s)
+#define hwloc_group_attr_s HWLOC_NAME(group_attr_s)
+#define hwloc_pcidev_attr_s HWLOC_NAME(pcidev_attr_s)
+#define hwloc_bridge_attr_s HWLOC_NAME(bridge_attr_s)
+#define hwloc_osdev_attr_s HWLOC_NAME(osdev_attr_s)
+
+#define hwloc_topology_init HWLOC_NAME(topology_init)
+#define hwloc_topology_load HWLOC_NAME(topology_load)
+#define hwloc_topology_destroy HWLOC_NAME(topology_destroy)
+#define hwloc_topology_dup HWLOC_NAME(topology_dup)
+#define hwloc_topology_check HWLOC_NAME(topology_check)
+#define hwloc_topology_ignore_type HWLOC_NAME(topology_ignore_type)
+#define hwloc_topology_ignore_type_keep_structure HWLOC_NAME(topology_ignore_type_keep_structure)
+#define hwloc_topology_ignore_all_keep_structure HWLOC_NAME(topology_ignore_all_keep_structure)
+
+#define hwloc_topology_flags_e HWLOC_NAME(topology_flags_e)
+
+#define HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM HWLOC_NAME_CAPS(TOPOLOGY_FLAG_WHOLE_SYSTEM)
+#define HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IS_THISSYSTEM)
+#define HWLOC_TOPOLOGY_FLAG_IO_DEVICES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IO_DEVICES)
+#define HWLOC_TOPOLOGY_FLAG_IO_BRIDGES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IO_BRIDGES)
+#define HWLOC_TOPOLOGY_FLAG_WHOLE_IO HWLOC_NAME_CAPS(TOPOLOGY_FLAG_WHOLE_IO)
+#define HWLOC_TOPOLOGY_FLAG_ICACHES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_ICACHES)
+#define HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES)
+
+#define hwloc_topology_set_flags HWLOC_NAME(topology_set_flags)
+#define hwloc_topology_set_fsroot HWLOC_NAME(topology_set_fsroot)
+#define hwloc_topology_set_pid HWLOC_NAME(topology_set_pid)
+#define hwloc_topology_set_synthetic HWLOC_NAME(topology_set_synthetic)
+#define hwloc_topology_set_xml HWLOC_NAME(topology_set_xml)
+#define hwloc_topology_set_xmlbuffer HWLOC_NAME(topology_set_xmlbuffer)
+#define hwloc_topology_set_custom HWLOC_NAME(topology_set_custom)
+#define hwloc_topology_set_distance_matrix HWLOC_NAME(topology_set_distance_matrix)
+
+#define hwloc_topology_discovery_support HWLOC_NAME(topology_discovery_support)
+#define hwloc_topology_cpubind_support HWLOC_NAME(topology_cpubind_support)
+#define hwloc_topology_membind_support HWLOC_NAME(topology_membind_support)
+#define hwloc_topology_support HWLOC_NAME(topology_support)
+#define hwloc_topology_get_support HWLOC_NAME(topology_get_support)
+#define hwloc_topology_set_userdata HWLOC_NAME(topology_set_userdata)
+#define hwloc_topology_get_userdata HWLOC_NAME(topology_get_userdata)
+
+#define hwloc_topology_export_xml HWLOC_NAME(topology_export_xml)
+#define hwloc_topology_export_xmlbuffer HWLOC_NAME(topology_export_xmlbuffer)
+#define hwloc_free_xmlbuffer HWLOC_NAME(free_xmlbuffer)
+#define hwloc_topology_set_userdata_export_callback HWLOC_NAME(topology_set_userdata_export_callback)
+#define hwloc_export_obj_userdata HWLOC_NAME(export_obj_userdata)
+#define hwloc_export_obj_userdata_base64 HWLOC_NAME(export_obj_userdata_base64)
+#define hwloc_topology_set_userdata_import_callback HWLOC_NAME(topology_set_userdata_import_callback)
+
+#define hwloc_topology_export_synthetic_flags_e HWLOC_NAME(topology_export_synthetic_flags_e)
+#define HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES HWLOC_NAME_CAPS(TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES)
+#define HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS HWLOC_NAME_CAPS(TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS)
+#define hwloc_topology_export_synthetic HWLOC_NAME(topology_export_synthetic)
+
+#define hwloc_topology_insert_misc_object_by_cpuset HWLOC_NAME(topology_insert_misc_object_by_cpuset)
+#define hwloc_topology_insert_misc_object_by_parent HWLOC_NAME(topology_insert_misc_object_by_parent)
+
+#define hwloc_custom_insert_topology HWLOC_NAME(custom_insert_topology)
+#define hwloc_custom_insert_group_object_by_parent HWLOC_NAME(custom_insert_group_object_by_parent)
+
+#define hwloc_restrict_flags_e HWLOC_NAME(restrict_flags_e)
+#define HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES HWLOC_NAME_CAPS(RESTRICT_FLAG_ADAPT_DISTANCES)
+#define HWLOC_RESTRICT_FLAG_ADAPT_MISC HWLOC_NAME_CAPS(RESTRICT_FLAG_ADAPT_MISC)
+#define HWLOC_RESTRICT_FLAG_ADAPT_IO HWLOC_NAME_CAPS(RESTRICT_FLAG_ADAPT_IO)
+#define hwloc_topology_restrict HWLOC_NAME(topology_restrict)
+
+#define hwloc_topology_get_depth HWLOC_NAME(topology_get_depth)
+#define hwloc_get_type_depth HWLOC_NAME(get_type_depth)
+
+#define hwloc_get_type_depth_e HWLOC_NAME(get_type_depth_e)
+#define HWLOC_TYPE_DEPTH_UNKNOWN HWLOC_NAME_CAPS(TYPE_DEPTH_UNKNOWN)
+#define HWLOC_TYPE_DEPTH_MULTIPLE HWLOC_NAME_CAPS(TYPE_DEPTH_MULTIPLE)
+#define HWLOC_TYPE_DEPTH_BRIDGE HWLOC_NAME_CAPS(TYPE_DEPTH_BRIDGE)
+#define HWLOC_TYPE_DEPTH_PCI_DEVICE HWLOC_NAME_CAPS(TYPE_DEPTH_PCI_DEVICE)
+#define HWLOC_TYPE_DEPTH_OS_DEVICE HWLOC_NAME_CAPS(TYPE_DEPTH_OS_DEVICE)
+
+#define hwloc_get_depth_type HWLOC_NAME(get_depth_type)
+#define hwloc_get_nbobjs_by_depth HWLOC_NAME(get_nbobjs_by_depth)
+#define hwloc_get_nbobjs_by_type HWLOC_NAME(get_nbobjs_by_type)
+
+#define hwloc_topology_is_thissystem HWLOC_NAME(topology_is_thissystem)
+#define hwloc_topology_get_flags HWLOC_NAME(topology_get_flags)
+
+#define hwloc_get_obj_by_depth HWLOC_NAME(get_obj_by_depth )
+#define hwloc_get_obj_by_type HWLOC_NAME(get_obj_by_type )
+
+#define hwloc_obj_type_string HWLOC_NAME(obj_type_string )
+#define hwloc_obj_type_snprintf HWLOC_NAME(obj_type_snprintf )
+#define hwloc_obj_attr_snprintf HWLOC_NAME(obj_attr_snprintf )
+#define hwloc_obj_cpuset_snprintf HWLOC_NAME(obj_cpuset_snprintf)
+#define hwloc_obj_type_sscanf HWLOC_NAME(obj_type_sscanf)
+
+#define hwloc_obj_get_info_by_name HWLOC_NAME(obj_get_info_by_name)
+#define hwloc_obj_add_info HWLOC_NAME(obj_add_info)
+
+#define HWLOC_CPUBIND_PROCESS HWLOC_NAME_CAPS(CPUBIND_PROCESS)
+#define HWLOC_CPUBIND_THREAD HWLOC_NAME_CAPS(CPUBIND_THREAD)
+#define HWLOC_CPUBIND_STRICT HWLOC_NAME_CAPS(CPUBIND_STRICT)
+#define HWLOC_CPUBIND_NOMEMBIND HWLOC_NAME_CAPS(CPUBIND_NOMEMBIND)
+
+#define hwloc_cpubind_flags_t HWLOC_NAME(cpubind_flags_t)
+
+#define hwloc_set_cpubind HWLOC_NAME(set_cpubind)
+#define hwloc_get_cpubind HWLOC_NAME(get_cpubind)
+#define hwloc_set_proc_cpubind HWLOC_NAME(set_proc_cpubind)
+#define hwloc_get_proc_cpubind HWLOC_NAME(get_proc_cpubind)
+#define hwloc_set_thread_cpubind HWLOC_NAME(set_thread_cpubind)
+#define hwloc_get_thread_cpubind HWLOC_NAME(get_thread_cpubind)
+
+#define hwloc_get_last_cpu_location HWLOC_NAME(get_last_cpu_location)
+#define hwloc_get_proc_last_cpu_location HWLOC_NAME(get_proc_last_cpu_location)
+
+#define HWLOC_MEMBIND_DEFAULT HWLOC_NAME_CAPS(MEMBIND_DEFAULT)
+#define HWLOC_MEMBIND_FIRSTTOUCH HWLOC_NAME_CAPS(MEMBIND_FIRSTTOUCH)
+#define HWLOC_MEMBIND_BIND HWLOC_NAME_CAPS(MEMBIND_BIND)
+#define HWLOC_MEMBIND_INTERLEAVE HWLOC_NAME_CAPS(MEMBIND_INTERLEAVE)
+#define HWLOC_MEMBIND_REPLICATE HWLOC_NAME_CAPS(MEMBIND_REPLICATE)
+#define HWLOC_MEMBIND_NEXTTOUCH HWLOC_NAME_CAPS(MEMBIND_NEXTTOUCH)
+#define HWLOC_MEMBIND_MIXED HWLOC_NAME_CAPS(MEMBIND_MIXED)
+
+#define hwloc_membind_policy_t HWLOC_NAME(membind_policy_t)
+
+#define HWLOC_MEMBIND_PROCESS HWLOC_NAME_CAPS(MEMBIND_PROCESS)
+#define HWLOC_MEMBIND_THREAD HWLOC_NAME_CAPS(MEMBIND_THREAD)
+#define HWLOC_MEMBIND_STRICT HWLOC_NAME_CAPS(MEMBIND_STRICT)
+#define HWLOC_MEMBIND_MIGRATE HWLOC_NAME_CAPS(MEMBIND_MIGRATE)
+#define HWLOC_MEMBIND_NOCPUBIND HWLOC_NAME_CAPS(MEMBIND_NOCPUBIND)
+#define HWLOC_MEMBIND_BYNODESET HWLOC_NAME_CAPS(MEMBIND_BYNODESET)
+
+#define hwloc_membind_flags_t HWLOC_NAME(membind_flags_t)
+
+#define hwloc_set_membind_nodeset HWLOC_NAME(set_membind_nodeset)
+#define hwloc_set_membind HWLOC_NAME(set_membind)
+#define hwloc_get_membind_nodeset HWLOC_NAME(get_membind_nodeset)
+#define hwloc_get_membind HWLOC_NAME(get_membind)
+#define hwloc_set_proc_membind_nodeset HWLOC_NAME(set_proc_membind_nodeset)
+#define hwloc_set_proc_membind HWLOC_NAME(set_proc_membind)
+#define hwloc_get_proc_membind_nodeset HWLOC_NAME(get_proc_membind_nodeset)
+#define hwloc_get_proc_membind HWLOC_NAME(get_proc_membind)
+#define hwloc_set_area_membind_nodeset HWLOC_NAME(set_area_membind_nodeset)
+#define hwloc_set_area_membind HWLOC_NAME(set_area_membind)
+#define hwloc_get_area_membind_nodeset HWLOC_NAME(get_area_membind_nodeset)
+#define hwloc_get_area_membind HWLOC_NAME(get_area_membind)
+#define hwloc_get_area_memlocation HWLOC_NAME(get_area_memlocation)
+#define hwloc_alloc_membind_nodeset HWLOC_NAME(alloc_membind_nodeset)
+#define hwloc_alloc_membind HWLOC_NAME(alloc_membind)
+#define hwloc_alloc HWLOC_NAME(alloc)
+#define hwloc_free HWLOC_NAME(free)
+
+#define hwloc_get_non_io_ancestor_obj HWLOC_NAME(get_non_io_ancestor_obj)
+#define hwloc_get_next_pcidev HWLOC_NAME(get_next_pcidev)
+#define hwloc_get_pcidev_by_busid HWLOC_NAME(get_pcidev_by_busid)
+#define hwloc_get_pcidev_by_busidstring HWLOC_NAME(get_pcidev_by_busidstring)
+#define hwloc_get_next_osdev HWLOC_NAME(get_next_osdev)
+#define hwloc_get_next_bridge HWLOC_NAME(get_next_bridge)
+#define hwloc_bridge_covers_pcibus HWLOC_NAME(bridge_covers_pcibus)
+#define hwloc_get_hostbridge_by_pcibus HWLOC_NAME(get_hostbridge_by_pcibus)
+
+/* hwloc/bitmap.h */
+
+#define hwloc_bitmap_s HWLOC_NAME(bitmap_s)
+#define hwloc_bitmap_t HWLOC_NAME(bitmap_t)
+#define hwloc_const_bitmap_t HWLOC_NAME(const_bitmap_t)
+
+#define hwloc_bitmap_alloc HWLOC_NAME(bitmap_alloc)
+#define hwloc_bitmap_alloc_full HWLOC_NAME(bitmap_alloc_full)
+#define hwloc_bitmap_free HWLOC_NAME(bitmap_free)
+#define hwloc_bitmap_dup HWLOC_NAME(bitmap_dup)
+#define hwloc_bitmap_copy HWLOC_NAME(bitmap_copy)
+#define hwloc_bitmap_snprintf HWLOC_NAME(bitmap_snprintf)
+#define hwloc_bitmap_asprintf HWLOC_NAME(bitmap_asprintf)
+#define hwloc_bitmap_sscanf HWLOC_NAME(bitmap_sscanf)
+#define hwloc_bitmap_list_snprintf HWLOC_NAME(bitmap_list_snprintf)
+#define hwloc_bitmap_list_asprintf HWLOC_NAME(bitmap_list_asprintf)
+#define hwloc_bitmap_list_sscanf HWLOC_NAME(bitmap_list_sscanf)
+#define hwloc_bitmap_taskset_snprintf HWLOC_NAME(bitmap_taskset_snprintf)
+#define hwloc_bitmap_taskset_asprintf HWLOC_NAME(bitmap_taskset_asprintf)
+#define hwloc_bitmap_taskset_sscanf HWLOC_NAME(bitmap_taskset_sscanf)
+#define hwloc_bitmap_zero HWLOC_NAME(bitmap_zero)
+#define hwloc_bitmap_fill HWLOC_NAME(bitmap_fill)
+#define hwloc_bitmap_from_ulong HWLOC_NAME(bitmap_from_ulong)
+
+#define hwloc_bitmap_from_ith_ulong HWLOC_NAME(bitmap_from_ith_ulong)
+#define hwloc_bitmap_to_ulong HWLOC_NAME(bitmap_to_ulong)
+#define hwloc_bitmap_to_ith_ulong HWLOC_NAME(bitmap_to_ith_ulong)
+#define hwloc_bitmap_only HWLOC_NAME(bitmap_only)
+#define hwloc_bitmap_allbut HWLOC_NAME(bitmap_allbut)
+#define hwloc_bitmap_set HWLOC_NAME(bitmap_set)
+#define hwloc_bitmap_set_range HWLOC_NAME(bitmap_set_range)
+#define hwloc_bitmap_set_ith_ulong HWLOC_NAME(bitmap_set_ith_ulong)
+#define hwloc_bitmap_clr HWLOC_NAME(bitmap_clr)
+#define hwloc_bitmap_clr_range HWLOC_NAME(bitmap_clr_range)
+#define hwloc_bitmap_isset HWLOC_NAME(bitmap_isset)
+#define hwloc_bitmap_iszero HWLOC_NAME(bitmap_iszero)
+#define hwloc_bitmap_isfull HWLOC_NAME(bitmap_isfull)
+#define hwloc_bitmap_isequal HWLOC_NAME(bitmap_isequal)
+#define hwloc_bitmap_intersects HWLOC_NAME(bitmap_intersects)
+#define hwloc_bitmap_isincluded HWLOC_NAME(bitmap_isincluded)
+#define hwloc_bitmap_or HWLOC_NAME(bitmap_or)
+#define hwloc_bitmap_and HWLOC_NAME(bitmap_and)
+#define hwloc_bitmap_andnot HWLOC_NAME(bitmap_andnot)
+#define hwloc_bitmap_xor HWLOC_NAME(bitmap_xor)
+#define hwloc_bitmap_not HWLOC_NAME(bitmap_not)
+#define hwloc_bitmap_first HWLOC_NAME(bitmap_first)
+#define hwloc_bitmap_last HWLOC_NAME(bitmap_last)
+#define hwloc_bitmap_next HWLOC_NAME(bitmap_next)
+#define hwloc_bitmap_singlify HWLOC_NAME(bitmap_singlify)
+#define hwloc_bitmap_compare_first HWLOC_NAME(bitmap_compare_first)
+#define hwloc_bitmap_compare HWLOC_NAME(bitmap_compare)
+#define hwloc_bitmap_weight HWLOC_NAME(bitmap_weight)
+
+/* hwloc/helper.h */
+
+#define hwloc_get_type_or_below_depth HWLOC_NAME(get_type_or_below_depth)
+#define hwloc_get_type_or_above_depth HWLOC_NAME(get_type_or_above_depth)
+#define hwloc_get_root_obj HWLOC_NAME(get_root_obj)
+#define hwloc_get_ancestor_obj_by_depth HWLOC_NAME(get_ancestor_obj_by_depth)
+#define hwloc_get_ancestor_obj_by_type HWLOC_NAME(get_ancestor_obj_by_type)
+#define hwloc_get_next_obj_by_depth HWLOC_NAME(get_next_obj_by_depth)
+#define hwloc_get_next_obj_by_type HWLOC_NAME(get_next_obj_by_type)
+#define hwloc_get_pu_obj_by_os_index HWLOC_NAME(get_pu_obj_by_os_index)
+#define hwloc_get_numanode_obj_by_os_index HWLOC_NAME(get_numanode_obj_by_os_index)
+#define hwloc_get_next_child HWLOC_NAME(get_next_child)
+#define hwloc_get_common_ancestor_obj HWLOC_NAME(get_common_ancestor_obj)
+#define hwloc_obj_is_in_subtree HWLOC_NAME(obj_is_in_subtree)
+#define hwloc_get_first_largest_obj_inside_cpuset HWLOC_NAME(get_first_largest_obj_inside_cpuset)
+#define hwloc_get_largest_objs_inside_cpuset HWLOC_NAME(get_largest_objs_inside_cpuset)
+#define hwloc_get_next_obj_inside_cpuset_by_depth HWLOC_NAME(get_next_obj_inside_cpuset_by_depth)
+#define hwloc_get_next_obj_inside_cpuset_by_type HWLOC_NAME(get_next_obj_inside_cpuset_by_type)
+#define hwloc_get_obj_inside_cpuset_by_depth HWLOC_NAME(get_obj_inside_cpuset_by_depth)
+#define hwloc_get_obj_inside_cpuset_by_type HWLOC_NAME(get_obj_inside_cpuset_by_type)
+#define hwloc_get_nbobjs_inside_cpuset_by_depth HWLOC_NAME(get_nbobjs_inside_cpuset_by_depth)
+#define hwloc_get_nbobjs_inside_cpuset_by_type HWLOC_NAME(get_nbobjs_inside_cpuset_by_type)
+#define hwloc_get_obj_index_inside_cpuset HWLOC_NAME(get_obj_index_inside_cpuset)
+#define hwloc_get_child_covering_cpuset HWLOC_NAME(get_child_covering_cpuset)
+#define hwloc_get_obj_covering_cpuset HWLOC_NAME(get_obj_covering_cpuset)
+#define hwloc_get_next_obj_covering_cpuset_by_depth HWLOC_NAME(get_next_obj_covering_cpuset_by_depth)
+#define hwloc_get_next_obj_covering_cpuset_by_type HWLOC_NAME(get_next_obj_covering_cpuset_by_type)
+#define hwloc_get_cache_type_depth HWLOC_NAME(get_cache_type_depth)
+#define hwloc_get_cache_covering_cpuset HWLOC_NAME(get_cache_covering_cpuset)
+#define hwloc_get_shared_cache_covering_obj HWLOC_NAME(get_shared_cache_covering_obj)
+#define hwloc_get_closest_objs HWLOC_NAME(get_closest_objs)
+#define hwloc_get_obj_below_by_type HWLOC_NAME(get_obj_below_by_type)
+#define hwloc_get_obj_below_array_by_type HWLOC_NAME(get_obj_below_array_by_type)
+#define hwloc_distrib_flags_e HWLOC_NAME(distrib_flags_e)
+#define HWLOC_DISTRIB_FLAG_REVERSE HWLOC_NAME_CAPS(DISTRIB_FLAG_REVERSE)
+#define hwloc_distrib HWLOC_NAME(distrib)
+#define hwloc_alloc_membind_policy HWLOC_NAME(alloc_membind_policy)
+#define hwloc_alloc_membind_policy_nodeset HWLOC_NAME(alloc_membind_policy_nodeset)
+#define hwloc_topology_get_complete_cpuset HWLOC_NAME(topology_get_complete_cpuset)
+#define hwloc_topology_get_topology_cpuset HWLOC_NAME(topology_get_topology_cpuset)
+#define hwloc_topology_get_online_cpuset HWLOC_NAME(topology_get_online_cpuset)
+#define hwloc_topology_get_allowed_cpuset HWLOC_NAME(topology_get_allowed_cpuset)
+#define hwloc_topology_get_complete_nodeset HWLOC_NAME(topology_get_complete_nodeset)
+#define hwloc_topology_get_topology_nodeset HWLOC_NAME(topology_get_topology_nodeset)
+#define hwloc_topology_get_allowed_nodeset HWLOC_NAME(topology_get_allowed_nodeset)
+#define hwloc_cpuset_to_nodeset HWLOC_NAME(cpuset_to_nodeset)
+#define hwloc_cpuset_to_nodeset_strict HWLOC_NAME(cpuset_to_nodeset_strict)
+#define hwloc_cpuset_from_nodeset HWLOC_NAME(cpuset_from_nodeset)
+#define hwloc_cpuset_from_nodeset_strict HWLOC_NAME(cpuset_from_nodeset_strict)
+#define hwloc_get_whole_distance_matrix_by_depth HWLOC_NAME(get_whole_distance_matrix_by_depth)
+#define hwloc_get_whole_distance_matrix_by_type HWLOC_NAME(get_whole_distance_matrix_by_type)
+#define hwloc_get_distance_matrix_covering_obj_by_depth HWLOC_NAME(get_distance_matrix_covering_obj_by_depth)
+#define hwloc_get_latency HWLOC_NAME(get_latency)
+
+/* diff.h */
+
+#define hwloc_topology_diff_obj_attr_type_e HWLOC_NAME(topology_diff_obj_attr_type_e)
+#define hwloc_topology_diff_obj_attr_type_t HWLOC_NAME(topology_diff_obj_attr_type_t)
+#define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR_SIZE)
+#define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR_NAME)
+#define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR_INFO)
+#define hwloc_topology_diff_obj_attr_u HWLOC_NAME(topology_diff_obj_attr_u)
+#define hwloc_topology_diff_obj_attr_generic_s HWLOC_NAME(topology_diff_obj_attr_generic_s)
+#define hwloc_topology_diff_obj_attr_uint64_s HWLOC_NAME(topology_diff_obj_attr_uint64_s)
+#define hwloc_topology_diff_obj_attr_string_s HWLOC_NAME(topology_diff_obj_attr_string_s)
+#define hwloc_topology_diff_type_e HWLOC_NAME(topology_diff_type_e)
+#define hwloc_topology_diff_type_t HWLOC_NAME(topology_diff_type_t)
+#define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR)
+#define HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX HWLOC_NAME_CAPS(TOPOLOGY_DIFF_TOO_COMPLEX)
+#define hwloc_topology_diff_u HWLOC_NAME(topology_diff_u)
+#define hwloc_topology_diff_t HWLOC_NAME(topology_diff_t)
+#define hwloc_topology_diff_generic_s HWLOC_NAME(topology_diff_generic_s)
+#define hwloc_topology_diff_obj_attr_s HWLOC_NAME(topology_diff_obj_attr_s)
+#define hwloc_topology_diff_too_complex_s HWLOC_NAME(topology_diff_too_complex_s)
+#define hwloc_topology_diff_build HWLOC_NAME(topology_diff_build)
+#define hwloc_topology_diff_apply_flags_e HWLOC_NAME(topology_diff_apply_flags_e)
+#define HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE HWLOC_NAME_CAPS(TOPOLOGY_DIFF_APPLY_REVERSE)
+#define hwloc_topology_diff_apply HWLOC_NAME(topology_diff_apply)
+#define hwloc_topology_diff_destroy HWLOC_NAME(topology_diff_destroy)
+#define hwloc_topology_diff_load_xml HWLOC_NAME(topology_diff_load_xml)
+#define hwloc_topology_diff_export_xml HWLOC_NAME(topology_diff_export_xml)
+#define hwloc_topology_diff_load_xmlbuffer HWLOC_NAME(topology_diff_load_xmlbuffer)
+#define hwloc_topology_diff_export_xmlbuffer HWLOC_NAME(topology_diff_export_xmlbuffer)
+
+/* glibc-sched.h */
+
+#define hwloc_cpuset_to_glibc_sched_affinity HWLOC_NAME(cpuset_to_glibc_sched_affinity)
+#define hwloc_cpuset_from_glibc_sched_affinity HWLOC_NAME(cpuset_from_glibc_sched_affinity)
+
+/* linux-libnuma.h */
+
+#define hwloc_cpuset_to_linux_libnuma_ulongs HWLOC_NAME(cpuset_to_linux_libnuma_ulongs)
+#define hwloc_nodeset_to_linux_libnuma_ulongs HWLOC_NAME(nodeset_to_linux_libnuma_ulongs)
+#define hwloc_cpuset_from_linux_libnuma_ulongs HWLOC_NAME(cpuset_from_linux_libnuma_ulongs)
+#define hwloc_nodeset_from_linux_libnuma_ulongs HWLOC_NAME(nodeset_from_linux_libnuma_ulongs)
+#define hwloc_cpuset_to_linux_libnuma_bitmask HWLOC_NAME(cpuset_to_linux_libnuma_bitmask)
+#define hwloc_nodeset_to_linux_libnuma_bitmask HWLOC_NAME(nodeset_to_linux_libnuma_bitmask)
+#define hwloc_cpuset_from_linux_libnuma_bitmask HWLOC_NAME(cpuset_from_linux_libnuma_bitmask)
+#define hwloc_nodeset_from_linux_libnuma_bitmask HWLOC_NAME(nodeset_from_linux_libnuma_bitmask)
+
+/* linux.h */
+
+#define hwloc_linux_parse_cpumap_file HWLOC_NAME(linux_parse_cpumap_file)
+#define hwloc_linux_set_tid_cpubind HWLOC_NAME(linux_set_tid_cpubind)
+#define hwloc_linux_get_tid_cpubind HWLOC_NAME(linux_get_tid_cpubind)
+#define hwloc_linux_get_tid_last_cpu_location HWLOC_NAME(linux_get_tid_last_cpu_location)
+
+/* openfabrics-verbs.h */
+
+#define hwloc_ibv_get_device_cpuset HWLOC_NAME(ibv_get_device_cpuset)
+#define hwloc_ibv_get_device_osdev HWLOC_NAME(ibv_get_device_osdev)
+#define hwloc_ibv_get_device_osdev_by_name HWLOC_NAME(ibv_get_device_osdev_by_name)
+
+/* myriexpress.h */
+
+#define hwloc_mx_board_get_device_cpuset HWLOC_NAME(mx_board_get_device_cpuset)
+#define hwloc_mx_endpoint_get_device_cpuset HWLOC_NAME(mx_endpoint_get_device_cpuset)
+
+/* intel-mic.h */
+
+#define hwloc_intel_mic_get_device_cpuset HWLOC_NAME(intel_mic_get_device_cpuset)
+#define hwloc_intel_mic_get_device_osdev_by_index HWLOC_NAME(intel_mic_get_device_osdev_by_index)
+
+/* opencl.h */
+
+#define hwloc_opencl_get_device_cpuset HWLOC_NAME(opencl_get_device_cpuset)
+#define hwloc_opencl_get_device_osdev HWLOC_NAME(opencl_get_device_osdev)
+#define hwloc_opencl_get_device_osdev_by_index HWLOC_NAME(opencl_get_device_osdev_by_index)
+
+/* cuda.h */
+
+#define hwloc_cuda_get_device_pci_ids HWLOC_NAME(cuda_get_device_pci_ids)
+#define hwloc_cuda_get_device_cpuset HWLOC_NAME(cuda_get_device_cpuset)
+#define hwloc_cuda_get_device_pcidev HWLOC_NAME(cuda_get_device_pcidev)
+#define hwloc_cuda_get_device_osdev HWLOC_NAME(cuda_get_device_osdev)
+#define hwloc_cuda_get_device_osdev_by_index HWLOC_NAME(cuda_get_device_osdev_by_index)
+
+/* cudart.h */
+
+#define hwloc_cudart_get_device_pci_ids HWLOC_NAME(cudart_get_device_pci_ids)
+#define hwloc_cudart_get_device_cpuset HWLOC_NAME(cudart_get_device_cpuset)
+#define hwloc_cudart_get_device_pcidev HWLOC_NAME(cudart_get_device_pcidev)
+#define hwloc_cudart_get_device_osdev_by_index HWLOC_NAME(cudart_get_device_osdev_by_index)
+
+/* nvml.h */
+
+#define hwloc_nvml_get_device_cpuset HWLOC_NAME(nvml_get_device_cpuset)
+#define hwloc_nvml_get_device_osdev HWLOC_NAME(nvml_get_device_osdev)
+#define hwloc_nvml_get_device_osdev_by_index HWLOC_NAME(nvml_get_device_osdev_by_index)
+
+/* gl.h */
+
+#define hwloc_gl_get_display_osdev_by_port_device HWLOC_NAME(gl_get_display_osdev_by_port_device)
+#define hwloc_gl_get_display_osdev_by_name HWLOC_NAME(gl_get_display_osdev_by_name)
+#define hwloc_gl_get_display_by_osdev HWLOC_NAME(gl_get_display_by_osdev)
+
+/* hwloc/plugins.h */
+
+#define hwloc_disc_component_type_e HWLOC_NAME(disc_component_type_e)
+#define HWLOC_DISC_COMPONENT_TYPE_CPU HWLOC_NAME_CAPS(DISC_COMPONENT_TYPE_CPU)
+#define HWLOC_DISC_COMPONENT_TYPE_GLOBAL HWLOC_NAME_CAPS(DISC_COMPONENT_TYPE_GLOBAL)
+#define HWLOC_DISC_COMPONENT_TYPE_MISC HWLOC_NAME_CAPS(DISC_COMPONENT_TYPE_MISC)
+#define hwloc_disc_component_type_t HWLOC_NAME(disc_component_type_t)
+#define hwloc_disc_component HWLOC_NAME(disc_component)
+
+#define hwloc_backend HWLOC_NAME(backend)
+#define hwloc_backend_flag_e HWLOC_NAME(backend_flag_e)
+#define HWLOC_BACKEND_FLAG_NEED_LEVELS HWLOC_NAME_CAPS(BACKEND_FLAG_NEED_LEVELS)
+
+#define hwloc_backend_alloc HWLOC_NAME(backend_alloc)
+#define hwloc_backend_enable HWLOC_NAME(backend_enable)
+#define hwloc_backends_get_obj_cpuset HWLOC_NAME(backends_get_obj_cpuset)
+#define hwloc_backends_notify_new_object HWLOC_NAME(backends_notify_new_object)
+
+#define hwloc_component_type_e HWLOC_NAME(component_type_e)
+#define HWLOC_COMPONENT_TYPE_DISC HWLOC_NAME_CAPS(COMPONENT_TYPE_DISC)
+#define HWLOC_COMPONENT_TYPE_XML HWLOC_NAME_CAPS(COMPONENT_TYPE_XML)
+#define hwloc_component_type_t HWLOC_NAME(component_type_t)
+#define hwloc_component HWLOC_NAME(component)
+
+#define hwloc_plugin_check_namespace HWLOC_NAME(plugin_check_namespace)
+
+#define hwloc_insert_object_by_cpuset HWLOC_NAME(insert_object_by_cpuset)
+#define hwloc_report_error_t HWLOC_NAME(report_error_t)
+#define hwloc_report_os_error HWLOC_NAME(report_os_error)
+#define hwloc_hide_errors HWLOC_NAME(hide_errors)
+#define hwloc__insert_object_by_cpuset HWLOC_NAME(_insert_object_by_cpuset)
+#define hwloc_insert_object_by_parent HWLOC_NAME(insert_object_by_parent)
+#define hwloc_alloc_setup_object HWLOC_NAME(alloc_setup_object)
+#define hwloc_fill_object_sets HWLOC_NAME(fill_object_sets)
+
+#define hwloc_insert_pci_device_list HWLOC_NAME(insert_pci_device_list)
+#define hwloc_pci_find_cap HWLOC_NAME(pci_find_cap)
+#define hwloc_pci_find_linkspeed HWLOC_NAME(pci_find_linkspeed)
+#define hwloc_pci_prepare_bridge HWLOC_NAME(pci_prepare_bridge)
+
+/* hwloc/deprecated.h */
+
+#define hwloc_obj_type_of_string HWLOC_NAME(obj_type_of_string )
+#define hwloc_obj_snprintf HWLOC_NAME(obj_snprintf)
+#define hwloc_distributev HWLOC_NAME(distributev)
+#define hwloc_distribute HWLOC_NAME(distribute)
+
+/* private/debug.h */
+
+#define hwloc_debug_enabled HWLOC_NAME(debug_enabled)
+#define hwloc_debug HWLOC_NAME(debug)
+
+/* private/misc.h */
+
+#define hwloc_snprintf HWLOC_NAME(snprintf)
+#define hwloc_namecoloncmp HWLOC_NAME(namecoloncmp)
+#define hwloc_ffsl_manual HWLOC_NAME(ffsl_manual)
+#define hwloc_ffs32 HWLOC_NAME(ffs32)
+#define hwloc_ffsl_from_ffs32 HWLOC_NAME(ffsl_from_ffs32)
+#define hwloc_flsl_manual HWLOC_NAME(flsl_manual)
+#define hwloc_fls32 HWLOC_NAME(fls32)
+#define hwloc_flsl_from_fls32 HWLOC_NAME(flsl_from_fls32)
+#define hwloc_weight_long HWLOC_NAME(weight_long)
+#define hwloc_strncasecmp HWLOC_NAME(strncasecmp)
+
+#define hwloc_linux_pci_link_speed_from_string HWLOC_NAME(linux_pci_link_speed_from_string)
+
+/* private/cpuid-x86.h */
+
+#define hwloc_have_x86_cpuid HWLOC_NAME(have_x86_cpuid)
+#define hwloc_x86_cpuid HWLOC_NAME(x86_cpuid)
+
+/* private/xml.h */
+
+#define hwloc__xml_verbose HWLOC_NAME(_xml_verbose)
+
+#define hwloc__xml_import_state_s HWLOC_NAME(_xml_import_state_s)
+#define hwloc__xml_import_state_t HWLOC_NAME(_xml_import_state_t)
+#define hwloc__xml_import_diff HWLOC_NAME(_xml_import_diff)
+#define hwloc_xml_backend_data_s HWLOC_NAME(xml_backend_data_s)
+#define hwloc__xml_export_state_s HWLOC_NAME(_xml_export_state_s)
+#define hwloc__xml_export_state_t HWLOC_NAME(_xml_export_state_t)
+#define hwloc__xml_export_object HWLOC_NAME(_xml_export_object)
+#define hwloc__xml_export_diff HWLOC_NAME(_xml_export_diff)
+
+#define hwloc_xml_callbacks HWLOC_NAME(xml_callbacks)
+#define hwloc_xml_component HWLOC_NAME(xml_component)
+#define hwloc_xml_callbacks_register HWLOC_NAME(xml_callbacks_register)
+#define hwloc_xml_callbacks_reset HWLOC_NAME(xml_callbacks_reset)
+
+/* private/components.h */
+
+#define hwloc_disc_component_force_enable HWLOC_NAME(disc_component_force_enable)
+#define hwloc_disc_components_enable_others HWLOC_NAME(disc_components_instantiate_others)
+
+#define hwloc_backends_disable_all HWLOC_NAME(backends_disable_all)
+#define hwloc_backends_is_thissystem HWLOC_NAME(backends_is_thissystem)
+
+#define hwloc_components_init HWLOC_NAME(components_init)
+#define hwloc_components_destroy_all HWLOC_NAME(components_destroy_all)
+
+/* private/internal-private.h */
+
+#define hwloc_xml_component HWLOC_NAME(xml_component)
+#define hwloc_synthetic_component HWLOC_NAME(synthetic_component)
+#define hwloc_custom_component HWLOC_NAME(custom_component)
+
+#define hwloc_aix_component HWLOC_NAME(aix_component)
+#define hwloc_bgq_component HWLOC_NAME(bgq_component)
+#define hwloc_darwin_component HWLOC_NAME(darwin_component)
+#define hwloc_freebsd_component HWLOC_NAME(freebsd_component)
+#define hwloc_hpux_component HWLOC_NAME(hpux_component)
+#define hwloc_linux_component HWLOC_NAME(linux_component)
+#define hwloc_netbsd_component HWLOC_NAME(netbsd_component)
+#define hwloc_noos_component HWLOC_NAME(noos_component)
+#define hwloc_osf_component HWLOC_NAME(osf_component)
+#define hwloc_solaris_component HWLOC_NAME(solaris_component)
+#define hwloc_windows_component HWLOC_NAME(windows_component)
+#define hwloc_x86_component HWLOC_NAME(x86_component)
+
+#define hwloc_cuda_component HWLOC_NAME(cuda_component)
+#define hwloc_gl_component HWLOC_NAME(gl_component)
+#define hwloc_linuxpci_component HWLOC_NAME(linuxpci_component)
+#define hwloc_nvml_component HWLOC_NAME(nvml_component)
+#define hwloc_opencl_component HWLOC_NAME(opencl_component)
+#define hwloc_pci_component HWLOC_NAME(pci_component)
+
+#define hwloc_xml_libxml_component HWLOC_NAME(xml_libxml_component)
+#define hwloc_xml_nolibxml_component HWLOC_NAME(xml_nolibxml_component)
+
+/* private/private.h */
+
+#define hwloc_ignore_type_e HWLOC_NAME(ignore_type_e)
+
+#define HWLOC_IGNORE_TYPE_NEVER HWLOC_NAME_CAPS(IGNORE_TYPE_NEVER)
+#define HWLOC_IGNORE_TYPE_KEEP_STRUCTURE HWLOC_NAME_CAPS(IGNORE_TYPE_KEEP_STRUCTURE)
+#define HWLOC_IGNORE_TYPE_ALWAYS HWLOC_NAME_CAPS(IGNORE_TYPE_ALWAYS)
+
+#define hwloc_os_distances_s HWLOC_NAME(os_distances_s)
+
+#define hwloc_xml_imported_distances_s HWLOC_NAME(xml_imported_distances_s)
+
+#define hwloc_alloc_obj_cpusets HWLOC_NAME(alloc_obj_cpusets)
+#define hwloc_setup_pu_level HWLOC_NAME(setup_pu_level)
+#define hwloc_get_sysctlbyname HWLOC_NAME(get_sysctlbyname)
+#define hwloc_get_sysctl HWLOC_NAME(get_sysctl)
+#define hwloc_fallback_nbprocessors HWLOC_NAME(fallback_nbprocessors)
+#define hwloc_connect_children HWLOC_NAME(connect_children)
+#define hwloc_connect_levels HWLOC_NAME(connect_levels)
+
+#define hwloc__object_cpusets_compare_first HWLOC_NAME(_object_cpusets_compare_first)
+
+#define hwloc_topology_setup_defaults HWLOC_NAME(topology_setup_defaults)
+#define hwloc_topology_clear HWLOC_NAME(topology_clear)
+
+#define hwloc__add_info HWLOC_NAME(_add_info)
+#define hwloc__find_info_slot HWLOC_NAME(_find_info_slot)
+#define hwloc__move_infos HWLOC_NAME(_move_infos)
+#define hwloc__free_infos HWLOC_NAME(_free_infos)
+
+#define hwloc_binding_hooks HWLOC_NAME(binding_hooks)
+#define hwloc_set_native_binding_hooks HWLOC_NAME(set_native_binding_hooks)
+#define hwloc_set_binding_hooks HWLOC_NAME(set_binding_hooks)
+
+#define hwloc_set_linuxfs_hooks HWLOC_NAME(set_linuxfs_hooks)
+#define hwloc_set_bgq_hooks HWLOC_NAME(set_bgq_hooks)
+#define hwloc_set_solaris_hooks HWLOC_NAME(set_solaris_hooks)
+#define hwloc_set_aix_hooks HWLOC_NAME(set_aix_hooks)
+#define hwloc_set_osf_hooks HWLOC_NAME(set_osf_hooks)
+#define hwloc_set_windows_hooks HWLOC_NAME(set_windows_hooks)
+#define hwloc_set_darwin_hooks HWLOC_NAME(set_darwin_hooks)
+#define hwloc_set_freebsd_hooks HWLOC_NAME(set_freebsd_hooks)
+#define hwloc_set_netbsd_hooks HWLOC_NAME(set_netbsd_hooks)
+#define hwloc_set_hpux_hooks HWLOC_NAME(set_hpux_hooks)
+
+#define hwloc_look_hardwired_fujitsu_k HWLOC_NAME(look_hardwired_fujitsu_k)
+#define hwloc_look_hardwired_fujitsu_fx10 HWLOC_NAME(look_hardwired_fujitsu_fx10)
+#define hwloc_look_hardwired_fujitsu_fx100 HWLOC_NAME(look_hardwired_fujitsu_fx100)
+
+#define hwloc_add_uname_info HWLOC_NAME(add_uname_info)
+#define hwloc_free_unlinked_object HWLOC_NAME(free_unlinked_object)
+#define hwloc__duplicate_objects HWLOC_NAME(_duplicate_objects)
+
+#define hwloc_alloc_heap HWLOC_NAME(alloc_heap)
+#define hwloc_alloc_mmap HWLOC_NAME(alloc_mmap)
+#define hwloc_free_heap HWLOC_NAME(free_heap)
+#define hwloc_free_mmap HWLOC_NAME(free_mmap)
+#define hwloc_alloc_or_fail HWLOC_NAME(alloc_or_fail)
+
+#define hwloc_distances_init HWLOC_NAME(distances_init)
+#define hwloc_distances_destroy HWLOC_NAME(distances_destroy)
+#define hwloc_distances_set HWLOC_NAME(distances_set)
+#define hwloc_distances_set_from_env HWLOC_NAME(distances_set_from_env)
+#define hwloc_distances_restrict_os HWLOC_NAME(distances_restrict_os)
+#define hwloc_distances_restrict HWLOC_NAME(distances_restrict)
+#define hwloc_distances_finalize_os HWLOC_NAME(distances_finalize_os)
+#define hwloc_distances_finalize_logical HWLOC_NAME(distances_finalize_logical)
+#define hwloc_clear_object_distances HWLOC_NAME(clear_object_distances)
+#define hwloc_clear_object_distances_one HWLOC_NAME(clear_object_distances_one)
+#define hwloc_group_by_distances HWLOC_NAME(group_by_distances)
+
+#define hwloc_encode_to_base64 HWLOC_NAME(encode_to_base64)
+#define hwloc_decode_from_base64 HWLOC_NAME(decode_from_base64)
+
+#define hwloc_obj_add_info_nodup HWLOC_NAME(obj_add_info_nodup)
+
+#define hwloc_progname HWLOC_NAME(progname)
+
+#define hwloc_bitmap_compare_inclusion HWLOC_NAME(bitmap_compare_inclusion)
+
+/* private/solaris-chiptype.h */
+
+#define hwloc_solaris_chip_info_s HWLOC_NAME(solaris_chip_info_s)
+#define hwloc_solaris_get_chip_info HWLOC_NAME(solaris_get_chip_info)
+
+#endif /* HWLOC_SYM_TRANSFORM */
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
+#endif /* HWLOC_RENAME_H */
--- /dev/null
+/* include/private/autogen/config.h.in. Generated from configure.ac by autoheader. */
+
+/* -*- c -*-
+ *
+ * Copyright © 2009, 2011, 2012 CNRS, inria., Université Bordeaux All rights reserved.
+ * Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+ * $COPYRIGHT$
+ *
+ * Additional copyrights may follow
+ *
+ * $HEADER$
+ *
+ * This file is automatically generated by configure. Edits will be lost
+ * the next time you run configure!
+ */
+
+#ifndef HWLOC_CONFIGURE_H
+#define HWLOC_CONFIGURE_H
+
+
+/* Define to 1 if the system has the type `CACHE_DESCRIPTOR'. */
+#undef HAVE_CACHE_DESCRIPTOR
+
+/* Define to 1 if the system has the type `CACHE_RELATIONSHIP'. */
+#undef HAVE_CACHE_RELATIONSHIP
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#undef HAVE_CLOCK_GETTIME
+
+/* Define to 1 if you have the `clz' function. */
+#undef HAVE_CLZ
+
+/* Define to 1 if you have the `clzl' function. */
+#undef HAVE_CLZL
+
+/* Define to 1 if you have the <CL/cl_ext.h> header file. */
+#undef HAVE_CL_CL_EXT_H
+
+/* Define to 1 if you have the `cpuset_setaffinity' function. */
+#undef HAVE_CPUSET_SETAFFINITY
+
+/* Define to 1 if you have the `cpuset_setid' function. */
+#undef HAVE_CPUSET_SETID
+
+/* Define to 1 if you have the <ctype.h> header file. */
+#undef HAVE_CTYPE_H
+
+/* Define to 1 if we have -lcuda */
+#undef HAVE_CUDA
+
+/* Define to 1 if you have the <cuda.h> header file. */
+#undef HAVE_CUDA_H
+
+/* Define to 1 if you have the <cuda_runtime_api.h> header file. */
+#undef HAVE_CUDA_RUNTIME_API_H
+
+/* Define to 1 if you have the declaration of `CL_DEVICE_TOPOLOGY_AMD', and to
+ 0 if you don't. */
+#undef HAVE_DECL_CL_DEVICE_TOPOLOGY_AMD
+
+/* Define to 1 if you have the declaration of `CTL_HW', and to 0 if you don't.
+ */
+#undef HAVE_DECL_CTL_HW
+
+/* Define to 1 if you have the declaration of `fabsf', and to 0 if you don't.
+ */
+#undef HAVE_DECL_FABSF
+
+/* Define to 1 if you have the declaration of `getexecname', and to 0 if you
+ don't. */
+#undef HAVE_DECL_GETEXECNAME
+
+/* Define to 1 if you have the declaration of `GetModuleFileName', and to 0 if
+ you don't. */
+#undef HAVE_DECL_GETMODULEFILENAME
+
+/* Define to 1 if you have the declaration of `getprogname', and to 0 if you
+ don't. */
+#undef HAVE_DECL_GETPROGNAME
+
+/* Define to 1 if you have the declaration of `HW_NCPU', and to 0 if you
+ don't. */
+#undef HAVE_DECL_HW_NCPU
+
+/* Define to 1 if you have the declaration of `lgrp_latency_cookie', and to 0
+ if you don't. */
+#undef HAVE_DECL_LGRP_LATENCY_COOKIE
+
+/* Define to 1 if you have the declaration of `modff', and to 0 if you don't.
+ */
+#undef HAVE_DECL_MODFF
+
+/* Define to 1 if you have the declaration of
+ `nvmlDeviceGetMaxPcieLinkGeneration', and to 0 if you don't. */
+#undef HAVE_DECL_NVMLDEVICEGETMAXPCIELINKGENERATION
+
+/* Define to 1 if you have the declaration of `pthread_getaffinity_np', and to
+ 0 if you don't. */
+#undef HAVE_DECL_PTHREAD_GETAFFINITY_NP
+
+/* Define to 1 if you have the declaration of `pthread_setaffinity_np', and to
+ 0 if you don't. */
+#undef HAVE_DECL_PTHREAD_SETAFFINITY_NP
+
+/* Embedded mode; just assume we do not have Valgrind support */
+#undef HAVE_DECL_RUNNING_ON_VALGRIND
+
+/* Define to 1 if you have the declaration of `sched_getcpu', and to 0 if you
+ don't. */
+#undef HAVE_DECL_SCHED_GETCPU
+
+/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_SNPRINTF
+
+/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
+ don't. */
+#undef HAVE_DECL_STRTOULL
+
+/* Define to 1 if you have the declaration of `_putenv', and to 0 if you
+ don't. */
+#undef HAVE_DECL__PUTENV
+
+/* Define to 1 if you have the declaration of `_SC_LARGE_PAGESIZE', and to 0
+ if you don't. */
+#undef HAVE_DECL__SC_LARGE_PAGESIZE
+
+/* Define to 1 if you have the declaration of `_SC_NPROCESSORS_CONF', and to 0
+ if you don't. */
+#undef HAVE_DECL__SC_NPROCESSORS_CONF
+
+/* Define to 1 if you have the declaration of `_SC_NPROCESSORS_ONLN', and to 0
+ if you don't. */
+#undef HAVE_DECL__SC_NPROCESSORS_ONLN
+
+/* Define to 1 if you have the declaration of `_SC_NPROC_CONF', and to 0 if
+ you don't. */
+#undef HAVE_DECL__SC_NPROC_CONF
+
+/* Define to 1 if you have the declaration of `_SC_NPROC_ONLN', and to 0 if
+ you don't. */
+#undef HAVE_DECL__SC_NPROC_ONLN
+
+/* Define to 1 if you have the declaration of `_SC_PAGESIZE', and to 0 if you
+ don't. */
+#undef HAVE_DECL__SC_PAGESIZE
+
+/* Define to 1 if you have the declaration of `_SC_PAGE_SIZE', and to 0 if you
+ don't. */
+#undef HAVE_DECL__SC_PAGE_SIZE
+
+/* Define to 1 if you have the declaration of `_strdup', and to 0 if you
+ don't. */
+#undef HAVE_DECL__STRDUP
+
+/* Define to 1 if you have the <dirent.h> header file. */
+#undef HAVE_DIRENT_H
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the `ffs' function. */
+#undef HAVE_FFS
+
+/* Define to 1 if you have the `ffsl' function. */
+#undef HAVE_FFSL
+
+/* Define to 1 if you have the `fls' function. */
+#undef HAVE_FLS
+
+/* Define to 1 if you have the `flsl' function. */
+#undef HAVE_FLSL
+
+/* Define to 1 if you have the `getpagesize' function. */
+#undef HAVE_GETPAGESIZE
+
+/* Define to 1 if the system has the type `GROUP_AFFINITY'. */
+#undef HAVE_GROUP_AFFINITY
+
+/* Define to 1 if the system has the type `GROUP_RELATIONSHIP'. */
+#undef HAVE_GROUP_RELATIONSHIP
+
+/* Define to 1 if you have the `host_info' function. */
+#undef HAVE_HOST_INFO
+
+/* Define to 1 if you have the <infiniband/verbs.h> header file. */
+#undef HAVE_INFINIBAND_VERBS_H
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if the system has the type `KAFFINITY'. */
+#undef HAVE_KAFFINITY
+
+/* Define to 1 if you have the <kstat.h> header file. */
+#undef HAVE_KSTAT_H
+
+/* Define to 1 if you have the <langinfo.h> header file. */
+#undef HAVE_LANGINFO_H
+
+/* Define to 1 if we have -lgdi32 */
+#undef HAVE_LIBGDI32
+
+/* Define to 1 if we have -libverbs */
+#undef HAVE_LIBIBVERBS
+
+/* Define to 1 if we have -lkstat */
+#undef HAVE_LIBKSTAT
+
+/* Define to 1 if we have -llgrp */
+#undef HAVE_LIBLGRP
+
+/* Define to 1 if you have the <libudev.h> header file. */
+#undef HAVE_LIBUDEV_H
+
+/* Define to 1 if you have the <locale.h> header file. */
+#undef HAVE_LOCALE_H
+
+/* Define to 1 if the system has the type `LOGICAL_PROCESSOR_RELATIONSHIP'. */
+#undef HAVE_LOGICAL_PROCESSOR_RELATIONSHIP
+
+/* Define to 1 if you have the <mach/mach_host.h> header file. */
+#undef HAVE_MACH_MACH_HOST_H
+
+/* Define to 1 if you have the <mach/mach_init.h> header file. */
+#undef HAVE_MACH_MACH_INIT_H
+
+/* Define to 1 if you have the <malloc.h> header file. */
+#undef HAVE_MALLOC_H
+
+/* Define to 1 if you have the `memalign' function. */
+#undef HAVE_MEMALIGN
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the `mkstemp' function. */
+#undef HAVE_MKSTEMP
+
+/* Define to 1 if we have -lmyriexpress */
+#undef HAVE_MYRIEXPRESS
+
+/* Define to 1 if you have the <myriexpress.h> header file. */
+#undef HAVE_MYRIEXPRESS_H
+
+/* Define to 1 if you have the `nl_langinfo' function. */
+#undef HAVE_NL_LANGINFO
+
+/* Define to 1 if you have the <numaif.h> header file. */
+#undef HAVE_NUMAIF_H
+
+/* Define to 1 if the system has the type `NUMA_NODE_RELATIONSHIP'. */
+#undef HAVE_NUMA_NODE_RELATIONSHIP
+
+/* Define to 1 if you have the <NVCtrl/NVCtrl.h> header file. */
+#undef HAVE_NVCTRL_NVCTRL_H
+
+/* Define to 1 if you have the <nvml.h> header file. */
+#undef HAVE_NVML_H
+
+/* Define to 1 if you have the `openat' function. */
+#undef HAVE_OPENAT
+
+/* Define to 1 if you have the <OpenCL/cl_ext.h> header file. */
+#undef HAVE_OPENCL_CL_EXT_H
+
+/* Define to 1 if you have the <picl.h> header file. */
+#undef HAVE_PICL_H
+
+/* Define to 1 if you have the `posix_memalign' function. */
+#undef HAVE_POSIX_MEMALIGN
+
+/* Define to 1 if the system has the type `PROCESSOR_CACHE_TYPE'. */
+#undef HAVE_PROCESSOR_CACHE_TYPE
+
+/* Define to 1 if the system has the type `PROCESSOR_GROUP_INFO'. */
+#undef HAVE_PROCESSOR_GROUP_INFO
+
+/* Define to 1 if the system has the type `PROCESSOR_NUMBER'. */
+#undef HAVE_PROCESSOR_NUMBER
+
+/* Define to 1 if the system has the type `PROCESSOR_RELATIONSHIP'. */
+#undef HAVE_PROCESSOR_RELATIONSHIP
+
+/* Define to '1' if program_invocation_name is present and usable */
+#undef HAVE_PROGRAM_INVOCATION_NAME
+
+/* Define to 1 if the system has the type `PSAPI_WORKING_SET_EX_BLOCK'. */
+#undef HAVE_PSAPI_WORKING_SET_EX_BLOCK
+
+/* Define to 1 if the system has the type `PSAPI_WORKING_SET_EX_INFORMATION'.
+ */
+#undef HAVE_PSAPI_WORKING_SET_EX_INFORMATION
+
+/* Define to 1 if you have the <pthread_np.h> header file. */
+#undef HAVE_PTHREAD_NP_H
+
+/* Define to 1 if the system has the type `pthread_t'. */
+#undef HAVE_PTHREAD_T
+
+/* Define to 1 if you have the `putwc' function. */
+#undef HAVE_PUTWC
+
+/* Define to 1 if the system has the type `RelationProcessorPackage'. */
+#undef HAVE_RELATIONPROCESSORPACKAGE
+
+/* Define to 1 if you have the `setlocale' function. */
+#undef HAVE_SETLOCALE
+
+/* Define to 1 if the system has the type `ssize_t'. */
+#undef HAVE_SSIZE_T
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the `strcasecmp' function. */
+#undef HAVE_STRCASECMP
+
+/* Define to 1 if you have the `strftime' function. */
+#undef HAVE_STRFTIME
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the `strncasecmp' function. */
+#undef HAVE_STRNCASECMP
+
+/* Define to 1 if you have the `strtoull' function. */
+#undef HAVE_STRTOULL
+
+/* Define to '1' if sysctl is present and usable */
+#undef HAVE_SYSCTL
+
+/* Define to '1' if sysctlbyname is present and usable */
+#undef HAVE_SYSCTLBYNAME
+
+/* Define to 1 if the system has the type
+ `SYSTEM_LOGICAL_PROCESSOR_INFORMATION'. */
+#undef HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION
+
+/* Define to 1 if the system has the type
+ `SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX'. */
+#undef HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
+
+/* Define to 1 if you have the <sys/cpuset.h> header file. */
+#undef HAVE_SYS_CPUSET_H
+
+/* Define to 1 if you have the <sys/lgrp_user.h> header file. */
+#undef HAVE_SYS_LGRP_USER_H
+
+/* Define to 1 if you have the <sys/mman.h> header file. */
+#undef HAVE_SYS_MMAN_H
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#undef HAVE_SYS_PARAM_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#undef HAVE_SYS_SYSCTL_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <sys/utsname.h> header file. */
+#undef HAVE_SYS_UTSNAME_H
+
+/* Define to 1 if you have the <time.h> header file. */
+#undef HAVE_TIME_H
+
+/* Define to 1 if you have the `uname' function. */
+#undef HAVE_UNAME
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to 1 if you have the `uselocale' function. */
+#undef HAVE_USELOCALE
+
+/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
+#undef HAVE_VALGRIND_VALGRIND_H
+
+/* Define to 1 if the system has the type `wchar_t'. */
+#undef HAVE_WCHAR_T
+
+/* Define to 1 if you have the <X11/keysym.h> header file. */
+#undef HAVE_X11_KEYSYM_H
+
+/* Define to 1 if you have the <X11/Xlib.h> header file. */
+#undef HAVE_X11_XLIB_H
+
+/* Define to 1 if you have the <X11/Xutil.h> header file. */
+#undef HAVE_X11_XUTIL_H
+
+/* Define to 1 if you have the <xlocale.h> header file. */
+#undef HAVE_XLOCALE_H
+
+/* Define to '1' if __progname is present and usable */
+#undef HAVE___PROGNAME
+
+/* Define to 1 on AIX */
+#undef HWLOC_AIX_SYS
+
+/* Define to 1 on BlueGene/Q */
+#undef HWLOC_BGQ_SYS
+
+/* Whether C compiler supports symbol visibility or not */
+#undef HWLOC_C_HAVE_VISIBILITY
+
+/* Define to 1 on Darwin */
+#undef HWLOC_DARWIN_SYS
+
+/* Whether we are in debugging mode or not */
+#undef HWLOC_DEBUG
+
+/* Define to 1 on *FREEBSD */
+#undef HWLOC_FREEBSD_SYS
+
+/* Whether your compiler has __attribute__ or not */
+#undef HWLOC_HAVE_ATTRIBUTE
+
+/* Whether your compiler has __attribute__ aligned or not */
+#undef HWLOC_HAVE_ATTRIBUTE_ALIGNED
+
+/* Whether your compiler has __attribute__ always_inline or not */
+#undef HWLOC_HAVE_ATTRIBUTE_ALWAYS_INLINE
+
+/* Whether your compiler has __attribute__ cold or not */
+#undef HWLOC_HAVE_ATTRIBUTE_COLD
+
+/* Whether your compiler has __attribute__ const or not */
+#undef HWLOC_HAVE_ATTRIBUTE_CONST
+
+/* Whether your compiler has __attribute__ deprecated or not */
+#undef HWLOC_HAVE_ATTRIBUTE_DEPRECATED
+
+/* Whether your compiler has __attribute__ format or not */
+#undef HWLOC_HAVE_ATTRIBUTE_FORMAT
+
+/* Whether your compiler has __attribute__ hot or not */
+#undef HWLOC_HAVE_ATTRIBUTE_HOT
+
+/* Whether your compiler has __attribute__ malloc or not */
+#undef HWLOC_HAVE_ATTRIBUTE_MALLOC
+
+/* Whether your compiler has __attribute__ may_alias or not */
+#undef HWLOC_HAVE_ATTRIBUTE_MAY_ALIAS
+
+/* Whether your compiler has __attribute__ nonnull or not */
+#undef HWLOC_HAVE_ATTRIBUTE_NONNULL
+
+/* Whether your compiler has __attribute__ noreturn or not */
+#undef HWLOC_HAVE_ATTRIBUTE_NORETURN
+
+/* Whether your compiler has __attribute__ no_instrument_function or not */
+#undef HWLOC_HAVE_ATTRIBUTE_NO_INSTRUMENT_FUNCTION
+
+/* Whether your compiler has __attribute__ packed or not */
+#undef HWLOC_HAVE_ATTRIBUTE_PACKED
+
+/* Whether your compiler has __attribute__ pure or not */
+#undef HWLOC_HAVE_ATTRIBUTE_PURE
+
+/* Whether your compiler has __attribute__ sentinel or not */
+#undef HWLOC_HAVE_ATTRIBUTE_SENTINEL
+
+/* Whether your compiler has __attribute__ unused or not */
+#undef HWLOC_HAVE_ATTRIBUTE_UNUSED
+
+/* Whether your compiler has __attribute__ warn unused result or not */
+#undef HWLOC_HAVE_ATTRIBUTE_WARN_UNUSED_RESULT
+
+/* Whether your compiler has __attribute__ weak alias or not */
+#undef HWLOC_HAVE_ATTRIBUTE_WEAK_ALIAS
+
+/* Define to 1 if your `ffs' function is known to be broken. */
+#undef HWLOC_HAVE_BROKEN_FFS
+
+/* Define to 1 if you have the `cairo' library. */
+#undef HWLOC_HAVE_CAIRO
+
+/* Define to 1 if you have the `clz' function. */
+#undef HWLOC_HAVE_CLZ
+
+/* Define to 1 if you have the `clzl' function. */
+#undef HWLOC_HAVE_CLZL
+
+/* Define to 1 if the CPU_SET macro works */
+#undef HWLOC_HAVE_CPU_SET
+
+/* Define to 1 if the CPU_SET_S macro works */
+#undef HWLOC_HAVE_CPU_SET_S
+
+/* Define to 1 if you have the `cudart' SDK. */
+#undef HWLOC_HAVE_CUDART
+
+/* Define to 1 if function `clz' is declared by system headers */
+#undef HWLOC_HAVE_DECL_CLZ
+
+/* Define to 1 if function `clzl' is declared by system headers */
+#undef HWLOC_HAVE_DECL_CLZL
+
+/* Define to 1 if function `ffs' is declared by system headers */
+#undef HWLOC_HAVE_DECL_FFS
+
+/* Define to 1 if function `ffsl' is declared by system headers */
+#undef HWLOC_HAVE_DECL_FFSL
+
+/* Define to 1 if function `fls' is declared by system headers */
+#undef HWLOC_HAVE_DECL_FLS
+
+/* Define to 1 if function `flsl' is declared by system headers */
+#undef HWLOC_HAVE_DECL_FLSL
+
+/* Define to 1 if function `strcasecmp' is declared by system headers */
+#undef HWLOC_HAVE_DECL_STRCASECMP
+
+/* Define to 1 if function `strncasecmp' is declared by system headers */
+#undef HWLOC_HAVE_DECL_STRNCASECMP
+
+/* Define to 1 if you have the `ffs' function. */
+#undef HWLOC_HAVE_FFS
+
+/* Define to 1 if you have the `ffsl' function. */
+#undef HWLOC_HAVE_FFSL
+
+/* Define to 1 if you have the `fls' function. */
+#undef HWLOC_HAVE_FLS
+
+/* Define to 1 if you have the `flsl' function. */
+#undef HWLOC_HAVE_FLSL
+
+/* Define to 1 if you have the GL module components. */
+#undef HWLOC_HAVE_GL
+
+/* Define to 1 if you have a library providing the termcap interface */
+#undef HWLOC_HAVE_LIBTERMCAP
+
+/* Define to 1 if you have libudev. */
+#undef HWLOC_HAVE_LIBUDEV
+
+/* Define to 1 if you have the `libxml2' library. */
+#undef HWLOC_HAVE_LIBXML2
+
+/* Define to 1 if building the Linux PCI component */
+#undef HWLOC_HAVE_LINUXPCI
+
+/* Define to 1 if mbind is available. */
+#undef HWLOC_HAVE_MBIND
+
+/* Define to 1 if migrate_pages is available. */
+#undef HWLOC_HAVE_MIGRATE_PAGES
+
+/* Define to 1 if move_pages is available. */
+#undef HWLOC_HAVE_MOVE_PAGES
+
+/* Define to 1 if you have the `NVML' library. */
+#undef HWLOC_HAVE_NVML
+
+/* Define to 1 if glibc provides the old prototype (without length) of
+ sched_setaffinity() */
+#undef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+
+/* Define to 1 if you have the `OpenCL' library. */
+#undef HWLOC_HAVE_OPENCL
+
+/* Define to 1 if the hwloc library should support dynamically-loaded plugins
+ */
+#undef HWLOC_HAVE_PLUGINS
+
+/* `Define to 1 if you have pthread_getthrds_np' */
+#undef HWLOC_HAVE_PTHREAD_GETTHRDS_NP
+
+/* Define to 1 if pthread mutexes are available */
+#undef HWLOC_HAVE_PTHREAD_MUTEX
+
+/* Define to 1 if glibc provides a prototype of sched_setaffinity() */
+#undef HWLOC_HAVE_SCHED_SETAFFINITY
+
+/* Define to 1 if set_mempolicy is available. */
+#undef HWLOC_HAVE_SET_MEMPOLICY
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HWLOC_HAVE_STDINT_H
+
+/* Define to 1 if function `syscall' is available */
+#undef HWLOC_HAVE_SYSCALL
+
+/* Define to 1 if you have the `windows.h' header. */
+#undef HWLOC_HAVE_WINDOWS_H
+
+/* Define to 1 if X11 headers including Xutil.h and keysym.h are available. */
+#undef HWLOC_HAVE_X11_KEYSYM
+
+/* Define to 1 if you have x86 cpuid */
+#undef HWLOC_HAVE_X86_CPUID
+
+/* Define to 1 on HP-UX */
+#undef HWLOC_HPUX_SYS
+
+/* Define to 1 on Irix */
+#undef HWLOC_IRIX_SYS
+
+/* Define to 1 on Linux */
+#undef HWLOC_LINUX_SYS
+
+/* Define to 1 on *NETBSD */
+#undef HWLOC_NETBSD_SYS
+
+/* Define to 1 on OSF */
+#undef HWLOC_OSF_SYS
+
+/* The size of `unsigned int', as computed by sizeof */
+#undef HWLOC_SIZEOF_UNSIGNED_INT
+
+/* The size of `unsigned long', as computed by sizeof */
+#undef HWLOC_SIZEOF_UNSIGNED_LONG
+
+/* Define to 1 on Solaris */
+#undef HWLOC_SOLARIS_SYS
+
+/* The hwloc symbol prefix */
+#undef HWLOC_SYM_PREFIX
+
+/* The hwloc symbol prefix in all caps */
+#undef HWLOC_SYM_PREFIX_CAPS
+
+/* Whether we need to re-define all the hwloc public symbols or not */
+#undef HWLOC_SYM_TRANSFORM
+
+/* Define to 1 on unsupported systems */
+#undef HWLOC_UNSUPPORTED_SYS
+
+/* Define to 1 if ncurses works, preferred over curses */
+#undef HWLOC_USE_NCURSES
+
+/* The library version, always available, even in embedded mode, contrary to
+ VERSION */
+#undef HWLOC_VERSION
+
+/* Define to 1 on WINDOWS */
+#undef HWLOC_WIN_SYS
+
+/* Define to 1 on x86_32 */
+#undef HWLOC_X86_32_ARCH
+
+/* Define to 1 on x86_64 */
+#undef HWLOC_X86_64_ARCH
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#undef LT_OBJDIR
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* The size of `unsigned int', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_INT
+
+/* The size of `unsigned long', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_LONG
+
+/* The size of `void *', as computed by sizeof. */
+#undef SIZEOF_VOID_P
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Enable extensions on HP-UX. */
+#ifndef _HPUX_SOURCE
+# undef _HPUX_SOURCE
+#endif
+
+
+/* Enable extensions on AIX 3, Interix. */
+#ifndef _ALL_SOURCE
+# undef _ALL_SOURCE
+#endif
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
+#endif
+/* Enable extensions on HP NonStop. */
+#ifndef _TANDEM_SOURCE
+# undef _TANDEM_SOURCE
+#endif
+/* Enable general extensions on Solaris. */
+#ifndef __EXTENSIONS__
+# undef __EXTENSIONS__
+#endif
+
+
+/* Version number of package */
+#undef VERSION
+
+/* Define to 1 if the X Window System is missing or not being used. */
+#undef X_DISPLAY_MISSING
+
+/* Are we building for HP-UX? */
+#undef _HPUX_SOURCE
+
+/* Define to 1 if on MINIX. */
+#undef _MINIX
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+ this defined. */
+#undef _POSIX_1_SOURCE
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+#undef _POSIX_SOURCE
+
+/* Define this to the process ID type */
+#undef hwloc_pid_t
+
+/* Define this to the thread ID type */
+#undef hwloc_thread_t
+
+
+#endif /* HWLOC_CONFIGURE_H */
+
--- /dev/null
+/*
+ * Copyright © 2012 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+
+#ifdef HWLOC_INSIDE_PLUGIN
+/*
+ * these declarations are internal only, they are not available to plugins
+ * (many functions below are internal static symbols).
+ */
+#error This file should not be used in plugins
+#endif
+
+
+#ifndef PRIVATE_COMPONENTS_H
+#define PRIVATE_COMPONENTS_H 1
+
+#include <hwloc/plugins.h>
+
+struct hwloc_topology;
+
+extern int hwloc_disc_component_force_enable(struct hwloc_topology *topology,
+ int envvar_forced, /* 1 if forced through envvar, 0 if forced through API */
+ int type, const char *name,
+ const void *data1, const void *data2, const void *data3);
+extern void hwloc_disc_components_enable_others(struct hwloc_topology *topology);
+
+/* Compute the topology is_thissystem flag based on enabled backends */
+extern void hwloc_backends_is_thissystem(struct hwloc_topology *topology);
+
+/* Disable and destroy all backends used by a topology */
+extern void hwloc_backends_disable_all(struct hwloc_topology *topology);
+
+/* Used by the core to setup/destroy the list of components */
+extern void hwloc_components_init(struct hwloc_topology *topology); /* increases components refcount, should be called exactly once per topology (during init) */
+extern void hwloc_components_destroy_all(struct hwloc_topology *topology); /* decreases components refcount, should be called exactly once per topology (during destroy) */
+
+#endif /* PRIVATE_COMPONENTS_H */
+
--- /dev/null
+/*
+ * Copyright © 2010-2012, 2014 Université Bordeaux
+ * Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+ * Copyright © 2014 Inria. All rights reserved.
+ *
+ * See COPYING in top-level directory.
+ */
+
+/* Internals for x86's cpuid. */
+
+#ifndef HWLOC_PRIVATE_CPUID_X86_H
+#define HWLOC_PRIVATE_CPUID_X86_H
+
+#if (defined HWLOC_X86_32_ARCH) && (!defined HWLOC_HAVE_MSVC_CPUIDEX)
+static __hwloc_inline int hwloc_have_x86_cpuid(void)
+{
+ int ret;
+ unsigned tmp, tmp2;
+ __asm__(
+ "mov $0,%0\n\t" /* Not supported a priori */
+
+ "pushfl \n\t" /* Save flags */
+
+ "pushfl \n\t" \
+ "pop %1 \n\t" /* Get flags */ \
+
+#define TRY_TOGGLE \
+ "xor $0x00200000,%1\n\t" /* Try to toggle ID */ \
+ "mov %1,%2\n\t" /* Save expected value */ \
+ "push %1 \n\t" \
+ "popfl \n\t" /* Try to toggle */ \
+ "pushfl \n\t" \
+ "pop %1 \n\t" \
+ "cmp %1,%2\n\t" /* Compare with expected value */ \
+ "jnz 0f\n\t" /* Unexpected, failure */ \
+
+ TRY_TOGGLE /* Try to set/clear */
+ TRY_TOGGLE /* Try to clear/set */
+
+ "mov $1,%0\n\t" /* Passed the test! */
+
+ "0: \n\t"
+ "popfl \n\t" /* Restore flags */
+
+ : "=r" (ret), "=&r" (tmp), "=&r" (tmp2));
+ return ret;
+}
+#endif /* !defined HWLOC_X86_32_ARCH && !defined HWLOC_HAVE_MSVC_CPUIDEX*/
+#if (defined HWLOC_X86_64_ARCH) || (defined HWLOC_HAVE_MSVC_CPUIDEX)
+static __hwloc_inline int hwloc_have_x86_cpuid(void) { return 1; }
+#endif /* HWLOC_X86_64_ARCH */
+
+static __hwloc_inline void hwloc_x86_cpuid(unsigned *eax, unsigned *ebx, unsigned *ecx, unsigned *edx)
+{
+#ifdef HWLOC_HAVE_MSVC_CPUIDEX
+ int regs[4];
+ __cpuidex(regs, *eax, *ecx);
+ *eax = regs[0];
+ *ebx = regs[1];
+ *ecx = regs[2];
+ *edx = regs[3];
+#else /* HWLOC_HAVE_MSVC_CPUIDEX */
+ /* Note: gcc might want to use bx or the stack for %1 addressing, so we can't
+ * use them :/ */
+#ifdef HWLOC_X86_64_ARCH
+ hwloc_uint64_t sav_rbx;
+ __asm__(
+ "mov %%rbx,%2\n\t"
+ "cpuid\n\t"
+ "xchg %2,%%rbx\n\t"
+ "movl %k2,%1\n\t"
+ : "+a" (*eax), "=m" (*ebx), "=&r"(sav_rbx),
+ "+c" (*ecx), "=&d" (*edx));
+#elif defined(HWLOC_X86_32_ARCH)
+ __asm__(
+ "mov %%ebx,%1\n\t"
+ "cpuid\n\t"
+ "xchg %%ebx,%1\n\t"
+ : "+a" (*eax), "=SD" (*ebx), "+c" (*ecx), "=d" (*edx));
+#else
+#error unknown architecture
+#endif
+#endif /* HWLOC_HAVE_MSVC_CPUIDEX */
+}
+
+#endif /* HWLOC_PRIVATE_X86_CPUID_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009, 2011 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* The configuration file */
+
+#ifndef HWLOC_DEBUG_H
+#define HWLOC_DEBUG_H
+
+#include <private/autogen/config.h>
+
+#ifdef HWLOC_DEBUG
+#include <stdarg.h>
+#include <stdio.h>
+#endif
+
+#ifdef HWLOC_DEBUG
+static __hwloc_inline int hwloc_debug_enabled(void)
+{
+ static int checked = 0;
+ static int enabled = 1;
+ if (!checked) {
+ const char *env = getenv("HWLOC_DEBUG_VERBOSE");
+ if (env)
+ enabled = atoi(env);
+ if (enabled)
+ fprintf(stderr, "hwloc verbose debug enabled, may be disabled with HWLOC_DEBUG_VERBOSE=0 in the environment.\n");
+ checked = 1;
+ }
+ return enabled;
+}
+#endif
+
+#if HWLOC_HAVE_ATTRIBUTE_FORMAT
+/* FIXME: use __hwloc_attribute_format from private/private.h but that header cannot be used in plugins */
+static __hwloc_inline void hwloc_debug(const char *s __hwloc_attribute_unused, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
+#endif
+
+static __hwloc_inline void hwloc_debug(const char *s __hwloc_attribute_unused, ...)
+{
+#ifdef HWLOC_DEBUG
+ if (hwloc_debug_enabled()) {
+ va_list ap;
+ va_start(ap, s);
+ vfprintf(stderr, s, ap);
+ va_end(ap);
+ }
+#endif
+}
+
+#ifdef HWLOC_DEBUG
+#define hwloc_debug_bitmap(fmt, bitmap) do { \
+if (hwloc_debug_enabled()) { \
+ char *s; \
+ hwloc_bitmap_asprintf(&s, bitmap); \
+ fprintf(stderr, fmt, s); \
+ free(s); \
+} } while (0)
+#define hwloc_debug_1arg_bitmap(fmt, arg1, bitmap) do { \
+if (hwloc_debug_enabled()) { \
+ char *s; \
+ hwloc_bitmap_asprintf(&s, bitmap); \
+ fprintf(stderr, fmt, arg1, s); \
+ free(s); \
+} } while (0)
+#define hwloc_debug_2args_bitmap(fmt, arg1, arg2, bitmap) do { \
+if (hwloc_debug_enabled()) { \
+ char *s; \
+ hwloc_bitmap_asprintf(&s, bitmap); \
+ fprintf(stderr, fmt, arg1, arg2, s); \
+ free(s); \
+} } while (0)
+#else
+#define hwloc_debug_bitmap(s, bitmap) do { } while(0)
+#define hwloc_debug_1arg_bitmap(s, arg1, bitmap) do { } while(0)
+#define hwloc_debug_2args_bitmap(s, arg1, arg2, bitmap) do { } while(0)
+#endif
+
+#endif /* HWLOC_DEBUG_H */
--- /dev/null
+/*
+ * Copyright © 2018 Inria. All rights reserved.
+ *
+ * See COPYING in top-level directory.
+ */
+
+/* List of components defined inside hwloc */
+
+#ifndef PRIVATE_INTERNAL_COMPONENTS_H
+#define PRIVATE_INTERNAL_COMPONENTS_H
+
+/* global discovery */
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_xml_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_synthetic_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_custom_component;
+
+/* CPU discovery */
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_aix_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_bgq_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_darwin_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_freebsd_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_hpux_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_linux_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_netbsd_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_noos_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_osf_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_solaris_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_windows_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_x86_component;
+
+/* I/O discovery */
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_cuda_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_gl_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_linuxpci_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_nvml_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_opencl_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_pci_component;
+
+/* XML backend */
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_xml_nolibxml_component;
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_xml_libxml_component;
+
+#endif /* PRIVATE_INTERNAL_COMPONENTS_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* Misc macros and inlines. */
+
+#ifndef HWLOC_PRIVATE_MISC_H
+#define HWLOC_PRIVATE_MISC_H
+
+#include <hwloc/autogen/config.h>
+#include <private/autogen/config.h>
+
+#ifdef HWLOC_HAVE_DECL_STRNCASECMP
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#else
+#ifdef HAVE_CTYPE_H
+#include <ctype.h>
+#endif
+#endif
+
+/* Compile-time assertion */
+#define HWLOC_BUILD_ASSERT(condition) ((void)sizeof(char[1 - 2*!(condition)]))
+
+#define HWLOC_BITS_PER_LONG (HWLOC_SIZEOF_UNSIGNED_LONG * 8)
+#define HWLOC_BITS_PER_INT (HWLOC_SIZEOF_UNSIGNED_INT * 8)
+
+#if (HWLOC_BITS_PER_LONG != 32) && (HWLOC_BITS_PER_LONG != 64)
+#error "unknown size for unsigned long."
+#endif
+
+#if (HWLOC_BITS_PER_INT != 16) && (HWLOC_BITS_PER_INT != 32) && (HWLOC_BITS_PER_INT != 64)
+#error "unknown size for unsigned int."
+#endif
+
+
+/**
+ * ffsl helpers.
+ */
+
+#if defined(HWLOC_HAVE_BROKEN_FFS)
+
+/* System has a broken ffs().
+ * We must check the before __GNUC__ or HWLOC_HAVE_FFSL
+ */
+# define HWLOC_NO_FFS
+
+#elif defined(__GNUC__)
+
+# if (__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4))
+ /* Starting from 3.4, gcc has a long variant. */
+# define hwloc_ffsl(x) __builtin_ffsl(x)
+# else
+# define hwloc_ffs(x) __builtin_ffs(x)
+# define HWLOC_NEED_FFSL
+# endif
+
+#elif defined(HWLOC_HAVE_FFSL)
+
+# ifndef HWLOC_HAVE_DECL_FFSL
+extern int ffsl(long) __hwloc_attribute_const;
+# endif
+
+# define hwloc_ffsl(x) ffsl(x)
+
+#elif defined(HWLOC_HAVE_FFS)
+
+# ifndef HWLOC_HAVE_DECL_FFS
+extern int ffs(int) __hwloc_attribute_const;
+# endif
+
+# define hwloc_ffs(x) ffs(x)
+# define HWLOC_NEED_FFSL
+
+#else /* no ffs implementation */
+
+# define HWLOC_NO_FFS
+
+#endif
+
+#ifdef HWLOC_NO_FFS
+
+/* no ffs or it is known to be broken */
+static __hwloc_inline int
+hwloc_ffsl_manual(unsigned long x) __hwloc_attribute_const;
+static __hwloc_inline int
+hwloc_ffsl_manual(unsigned long x)
+{
+ int i;
+
+ if (!x)
+ return 0;
+
+ i = 1;
+#if HWLOC_BITS_PER_LONG >= 64
+ if (!(x & 0xfffffffful)) {
+ x >>= 32;
+ i += 32;
+ }
+#endif
+ if (!(x & 0xffffu)) {
+ x >>= 16;
+ i += 16;
+ }
+ if (!(x & 0xff)) {
+ x >>= 8;
+ i += 8;
+ }
+ if (!(x & 0xf)) {
+ x >>= 4;
+ i += 4;
+ }
+ if (!(x & 0x3)) {
+ x >>= 2;
+ i += 2;
+ }
+ if (!(x & 0x1)) {
+ x >>= 1;
+ i += 1;
+ }
+
+ return i;
+}
+/* always define hwloc_ffsl as a macro, to avoid renaming breakage */
+#define hwloc_ffsl hwloc_ffsl_manual
+
+#elif defined(HWLOC_NEED_FFSL)
+
+/* We only have an int ffs(int) implementation, build a long one. */
+
+/* First make it 32 bits if it was only 16. */
+static __hwloc_inline int
+hwloc_ffs32(unsigned long x) __hwloc_attribute_const;
+static __hwloc_inline int
+hwloc_ffs32(unsigned long x)
+{
+#if HWLOC_BITS_PER_INT == 16
+ int low_ffs, hi_ffs;
+
+ low_ffs = hwloc_ffs(x & 0xfffful);
+ if (low_ffs)
+ return low_ffs;
+
+ hi_ffs = hwloc_ffs(x >> 16);
+ if (hi_ffs)
+ return hi_ffs + 16;
+
+ return 0;
+#else
+ return hwloc_ffs(x);
+#endif
+}
+
+/* Then make it 64 bit if longs are. */
+static __hwloc_inline int
+hwloc_ffsl_from_ffs32(unsigned long x) __hwloc_attribute_const;
+static __hwloc_inline int
+hwloc_ffsl_from_ffs32(unsigned long x)
+{
+#if HWLOC_BITS_PER_LONG == 64
+ int low_ffs, hi_ffs;
+
+ low_ffs = hwloc_ffs32(x & 0xfffffffful);
+ if (low_ffs)
+ return low_ffs;
+
+ hi_ffs = hwloc_ffs32(x >> 32);
+ if (hi_ffs)
+ return hi_ffs + 32;
+
+ return 0;
+#else
+ return hwloc_ffs32(x);
+#endif
+}
+/* always define hwloc_ffsl as a macro, to avoid renaming breakage */
+#define hwloc_ffsl hwloc_ffsl_from_ffs32
+
+#endif
+
+/**
+ * flsl helpers.
+ */
+#ifdef __GNUC_____
+
+# if (__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4))
+# define hwloc_flsl(x) ((x) ? (8*sizeof(long) - __builtin_clzl(x)) : 0)
+# else
+# define hwloc_fls(x) ((x) ? (8*sizeof(int) - __builtin_clz(x)) : 0)
+# define HWLOC_NEED_FLSL
+# endif
+
+#elif defined(HWLOC_HAVE_FLSL)
+
+# ifndef HWLOC_HAVE_DECL_FLSL
+extern int flsl(long) __hwloc_attribute_const;
+# endif
+
+# define hwloc_flsl(x) flsl(x)
+
+#elif defined(HWLOC_HAVE_CLZL)
+
+# ifndef HWLOC_HAVE_DECL_CLZL
+extern int clzl(long) __hwloc_attribute_const;
+# endif
+
+# define hwloc_flsl(x) ((x) ? (8*sizeof(long) - clzl(x)) : 0)
+
+#elif defined(HWLOC_HAVE_FLS)
+
+# ifndef HWLOC_HAVE_DECL_FLS
+extern int fls(int) __hwloc_attribute_const;
+# endif
+
+# define hwloc_fls(x) fls(x)
+# define HWLOC_NEED_FLSL
+
+#elif defined(HWLOC_HAVE_CLZ)
+
+# ifndef HWLOC_HAVE_DECL_CLZ
+extern int clz(int) __hwloc_attribute_const;
+# endif
+
+# define hwloc_fls(x) ((x) ? (8*sizeof(int) - clz(x)) : 0)
+# define HWLOC_NEED_FLSL
+
+#else /* no fls implementation */
+
+static __hwloc_inline int
+hwloc_flsl_manual(unsigned long x) __hwloc_attribute_const;
+static __hwloc_inline int
+hwloc_flsl_manual(unsigned long x)
+{
+ int i = 0;
+
+ if (!x)
+ return 0;
+
+ i = 1;
+#if HWLOC_BITS_PER_LONG >= 64
+ if ((x & 0xffffffff00000000ul)) {
+ x >>= 32;
+ i += 32;
+ }
+#endif
+ if ((x & 0xffff0000u)) {
+ x >>= 16;
+ i += 16;
+ }
+ if ((x & 0xff00)) {
+ x >>= 8;
+ i += 8;
+ }
+ if ((x & 0xf0)) {
+ x >>= 4;
+ i += 4;
+ }
+ if ((x & 0xc)) {
+ x >>= 2;
+ i += 2;
+ }
+ if ((x & 0x2)) {
+ x >>= 1;
+ i += 1;
+ }
+
+ return i;
+}
+/* always define hwloc_flsl as a macro, to avoid renaming breakage */
+#define hwloc_flsl hwloc_flsl_manual
+
+#endif
+
+#ifdef HWLOC_NEED_FLSL
+
+/* We only have an int fls(int) implementation, build a long one. */
+
+/* First make it 32 bits if it was only 16. */
+static __hwloc_inline int
+hwloc_fls32(unsigned long x) __hwloc_attribute_const;
+static __hwloc_inline int
+hwloc_fls32(unsigned long x)
+{
+#if HWLOC_BITS_PER_INT == 16
+ int low_fls, hi_fls;
+
+ hi_fls = hwloc_fls(x >> 16);
+ if (hi_fls)
+ return hi_fls + 16;
+
+ low_fls = hwloc_fls(x & 0xfffful);
+ if (low_fls)
+ return low_fls;
+
+ return 0;
+#else
+ return hwloc_fls(x);
+#endif
+}
+
+/* Then make it 64 bit if longs are. */
+static __hwloc_inline int
+hwloc_flsl_from_fls32(unsigned long x) __hwloc_attribute_const;
+static __hwloc_inline int
+hwloc_flsl_from_fls32(unsigned long x)
+{
+#if HWLOC_BITS_PER_LONG == 64
+ int low_fls, hi_fls;
+
+ hi_fls = hwloc_fls32(x >> 32);
+ if (hi_fls)
+ return hi_fls + 32;
+
+ low_fls = hwloc_fls32(x & 0xfffffffful);
+ if (low_fls)
+ return low_fls;
+
+ return 0;
+#else
+ return hwloc_fls32(x);
+#endif
+}
+/* always define hwloc_flsl as a macro, to avoid renaming breakage */
+#define hwloc_flsl hwloc_flsl_from_fls32
+
+#endif
+
+static __hwloc_inline int
+hwloc_weight_long(unsigned long w) __hwloc_attribute_const;
+static __hwloc_inline int
+hwloc_weight_long(unsigned long w)
+{
+#if HWLOC_BITS_PER_LONG == 32
+#if (__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__) >= 4)
+ return __builtin_popcount(w);
+#else
+ unsigned int res = (w & 0x55555555) + ((w >> 1) & 0x55555555);
+ res = (res & 0x33333333) + ((res >> 2) & 0x33333333);
+ res = (res & 0x0F0F0F0F) + ((res >> 4) & 0x0F0F0F0F);
+ res = (res & 0x00FF00FF) + ((res >> 8) & 0x00FF00FF);
+ return (res & 0x0000FFFF) + ((res >> 16) & 0x0000FFFF);
+#endif
+#else /* HWLOC_BITS_PER_LONG == 32 */
+#if (__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__) >= 4)
+ return __builtin_popcountll(w);
+#else
+ unsigned long res;
+ res = (w & 0x5555555555555555ul) + ((w >> 1) & 0x5555555555555555ul);
+ res = (res & 0x3333333333333333ul) + ((res >> 2) & 0x3333333333333333ul);
+ res = (res & 0x0F0F0F0F0F0F0F0Ful) + ((res >> 4) & 0x0F0F0F0F0F0F0F0Ful);
+ res = (res & 0x00FF00FF00FF00FFul) + ((res >> 8) & 0x00FF00FF00FF00FFul);
+ res = (res & 0x0000FFFF0000FFFFul) + ((res >> 16) & 0x0000FFFF0000FFFFul);
+ return (res & 0x00000000FFFFFFFFul) + ((res >> 32) & 0x00000000FFFFFFFFul);
+#endif
+#endif /* HWLOC_BITS_PER_LONG == 64 */
+}
+
+#if !HAVE_DECL_STRTOULL && defined(HAVE_STRTOULL)
+unsigned long long int strtoull(const char *nptr, char **endptr, int base);
+#endif
+
+static __hwloc_inline int hwloc_strncasecmp(const char *s1, const char *s2, size_t n)
+{
+#ifdef HWLOC_HAVE_DECL_STRNCASECMP
+ return strncasecmp(s1, s2, n);
+#else
+ while (n) {
+ char c1 = tolower(*s1), c2 = tolower(*s2);
+ if (!c1 || !c2 || c1 != c2)
+ return c1-c2;
+ n--; s1++; s2++;
+ }
+ return 0;
+#endif
+}
+
+/* Parse a PCI link speed (GT/s) string from Linux sysfs */
+#ifdef HWLOC_LINUX_SYS
+#include <stdlib.h> /* for atof() */
+static __hwloc_inline float
+hwloc_linux_pci_link_speed_from_string(const char *string)
+{
+ /* don't parse Gen1 with atof() since it expects a localized string
+ * while the kernel sysfs files aren't.
+ */
+ if (!strncmp(string, "2.5 ", 4))
+ /* "2.5 GT/s" is Gen1 with 8/10 encoding */
+ return 2.5 * .8;
+
+ /* also hardwire Gen2 since it also has a specific encoding */
+ if (!strncmp(string, "5 ", 2))
+ /* "5 GT/s" is Gen2 with 8/10 encoding */
+ return 5 * .8;
+
+ /* handle Gen3+ in a generic way */
+ return atof(string) * 128./130; /* Gen3+ encoding is 128/130 */
+}
+#endif
+
+#if !HAVE_DECL_MODFF
+#define modff(x,iptr) (float)modf((double)x,(double *)iptr)
+#endif
+
+#ifdef HWLOC_WIN_SYS
+# ifndef HAVE_SSIZE_T
+typedef SSIZE_T ssize_t;
+# endif
+# if !HAVE_DECL_STRTOULL && !defined(HAVE_STRTOULL)
+# define strtoull _strtoui64
+# endif
+# ifndef S_ISREG
+# define S_ISREG(m) ((m) & S_IFREG)
+# endif
+# ifndef S_ISDIR
+# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
+# endif
+# ifndef S_IRWXU
+# define S_IRWXU 00700
+# endif
+# ifndef HWLOC_HAVE_DECL_STRCASECMP
+# define strcasecmp _stricmp
+# endif
+# if !HAVE_DECL_SNPRINTF
+# define snprintf _snprintf
+# endif
+# if HAVE_DECL__STRDUP
+# define strdup _strdup
+# endif
+# if HAVE_DECL__PUTENV
+# define putenv _putenv
+# endif
+#endif
+
+#endif /* HWLOC_PRIVATE_MISC_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ *
+ * See COPYING in top-level directory.
+ */
+
+/* Internal types and helpers. */
+
+
+#ifdef HWLOC_INSIDE_PLUGIN
+/*
+ * these declarations are internal only, they are not available to plugins
+ * (many functions below are internal static symbols).
+ */
+#error This file should not be used in plugins
+#endif
+
+
+#ifndef HWLOC_PRIVATE_H
+#define HWLOC_PRIVATE_H
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/bitmap.h>
+#include <private/components.h>
+#include <private/debug.h>
+#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+#ifdef HAVE_SYS_UTSNAME_H
+#include <sys/utsname.h>
+#endif
+#include <string.h>
+
+enum hwloc_ignore_type_e {
+ HWLOC_IGNORE_TYPE_NEVER = 0,
+ HWLOC_IGNORE_TYPE_KEEP_STRUCTURE,
+ HWLOC_IGNORE_TYPE_ALWAYS
+};
+
+#define HWLOC_DEPTH_MAX 128
+
+struct hwloc_topology {
+ unsigned nb_levels; /* Number of horizontal levels */
+ unsigned next_group_depth; /* Depth of the next Group object that we may create */
+ unsigned level_nbobjects[HWLOC_DEPTH_MAX]; /* Number of objects on each horizontal level */
+ struct hwloc_obj **levels[HWLOC_DEPTH_MAX]; /* Direct access to levels, levels[l = 0 .. nblevels-1][0..level_nbobjects[l]] */
+ unsigned long flags;
+ int type_depth[HWLOC_OBJ_TYPE_MAX];
+ enum hwloc_ignore_type_e ignored_types[HWLOC_OBJ_TYPE_MAX];
+ int is_thissystem;
+ int is_loaded;
+ hwloc_pid_t pid; /* Process ID the topology is view from, 0 for self */
+ void *userdata;
+
+ unsigned bridge_nbobjects;
+ struct hwloc_obj **bridge_level;
+ struct hwloc_obj *first_bridge, *last_bridge;
+ unsigned pcidev_nbobjects;
+ struct hwloc_obj **pcidev_level;
+ struct hwloc_obj *first_pcidev, *last_pcidev;
+ unsigned osdev_nbobjects;
+ struct hwloc_obj **osdev_level;
+ struct hwloc_obj *first_osdev, *last_osdev;
+
+ struct hwloc_binding_hooks {
+ int (*set_thisproc_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags);
+ int (*get_thisproc_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags);
+ int (*set_thisthread_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags);
+ int (*get_thisthread_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags);
+ int (*set_proc_cpubind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t set, int flags);
+ int (*get_proc_cpubind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags);
+#ifdef hwloc_thread_t
+ int (*set_thread_cpubind)(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_const_cpuset_t set, int flags);
+ int (*get_thread_cpubind)(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_cpuset_t set, int flags);
+#endif
+
+ int (*get_thisproc_last_cpu_location)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags);
+ int (*get_thisthread_last_cpu_location)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags);
+ int (*get_proc_last_cpu_location)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int flags);
+
+ int (*set_thisproc_membind)(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+ int (*get_thisproc_membind)(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags);
+ int (*set_thisthread_membind)(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+ int (*get_thisthread_membind)(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags);
+ int (*set_proc_membind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+ int (*get_proc_membind)(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags);
+ int (*set_area_membind)(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+ int (*get_area_membind)(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags);
+ int (*get_area_memlocation)(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags);
+ /* This has to return the same kind of pointer as alloc_membind, so that free_membind can be used on it */
+ void *(*alloc)(hwloc_topology_t topology, size_t len);
+ /* alloc_membind has to always succeed if !(flags & HWLOC_MEMBIND_STRICT).
+ * see hwloc_alloc_or_fail which is convenient for that. */
+ void *(*alloc_membind)(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags);
+ int (*free_membind)(hwloc_topology_t topology, void *addr, size_t len);
+
+ int (*get_allowed_resources)(hwloc_topology_t topology);
+ } binding_hooks;
+
+ struct hwloc_topology_support support;
+
+ void (*userdata_export_cb)(void *reserved, struct hwloc_topology *topology, struct hwloc_obj *obj);
+ void (*userdata_import_cb)(struct hwloc_topology *topology, struct hwloc_obj *obj, const char *name, const void *buffer, size_t length);
+ int userdata_not_decoded;
+
+ struct hwloc_os_distances_s {
+ hwloc_obj_type_t type;
+ int nbobjs;
+ unsigned *indexes; /* array of OS indexes before we can convert them into objs. always available.
+ */
+ struct hwloc_obj **objs; /* array of objects, in the same order as above.
+ * either given (by a backend) together with the indexes array above.
+ * or build from the above indexes array when not given (by the user).
+ */
+ float *distances; /* distance matrices, ordered according to the above indexes/objs array.
+ * distance from i to j is stored in slot i*nbnodes+j.
+ * will be copied into the main logical-index-ordered distance at the end of the discovery.
+ */
+ int forced; /* set if the user forced a matrix to ignore the OS one */
+
+ struct hwloc_os_distances_s *prev, *next;
+ } *first_osdist, *last_osdist;
+
+ /* list of enabled backends. */
+ struct hwloc_backend * backends;
+};
+
+extern void hwloc_alloc_obj_cpusets(hwloc_obj_t obj);
+extern void hwloc_setup_pu_level(struct hwloc_topology *topology, unsigned nb_pus);
+extern int hwloc_get_sysctlbyname(const char *name, int64_t *n);
+extern int hwloc_get_sysctl(int name[], unsigned namelen, int *n);
+extern unsigned hwloc_fallback_nbprocessors(struct hwloc_topology *topology);
+extern void hwloc_connect_children(hwloc_obj_t obj);
+extern int hwloc_connect_levels(hwloc_topology_t topology);
+
+extern int hwloc__object_cpusets_compare_first(hwloc_obj_t obj1, hwloc_obj_t obj2);
+
+extern void hwloc_topology_setup_defaults(struct hwloc_topology *topology);
+extern void hwloc_topology_clear(struct hwloc_topology *topology);
+
+extern void hwloc__add_info(struct hwloc_obj_info_s **infosp, unsigned *countp, const char *name, const char *value);
+extern char ** hwloc__find_info_slot(struct hwloc_obj_info_s **infosp, unsigned *countp, const char *name);
+extern void hwloc__move_infos(struct hwloc_obj_info_s **dst_infosp, unsigned *dst_countp, struct hwloc_obj_info_s **src_infosp, unsigned *src_countp);
+extern void hwloc__free_infos(struct hwloc_obj_info_s *infos, unsigned count);
+
+/* set native OS binding hooks */
+extern void hwloc_set_native_binding_hooks(struct hwloc_binding_hooks *hooks, struct hwloc_topology_support *support);
+/* set either native OS binding hooks (if thissystem), or dummy ones */
+extern void hwloc_set_binding_hooks(struct hwloc_topology *topology);
+
+#if defined(HWLOC_LINUX_SYS)
+extern void hwloc_set_linuxfs_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_LINUX_SYS */
+
+#if defined(HWLOC_BGQ_SYS)
+extern void hwloc_set_bgq_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_BGQ_SYS */
+
+#ifdef HWLOC_SOLARIS_SYS
+extern void hwloc_set_solaris_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_SOLARIS_SYS */
+
+#ifdef HWLOC_AIX_SYS
+extern void hwloc_set_aix_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_AIX_SYS */
+
+#ifdef HWLOC_OSF_SYS
+extern void hwloc_set_osf_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_OSF_SYS */
+
+#ifdef HWLOC_WIN_SYS
+extern void hwloc_set_windows_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_WIN_SYS */
+
+#ifdef HWLOC_DARWIN_SYS
+extern void hwloc_set_darwin_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_DARWIN_SYS */
+
+#ifdef HWLOC_FREEBSD_SYS
+extern void hwloc_set_freebsd_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_FREEBSD_SYS */
+
+#ifdef HWLOC_NETBSD_SYS
+extern void hwloc_set_netbsd_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_NETBSD_SYS */
+
+#ifdef HWLOC_HPUX_SYS
+extern void hwloc_set_hpux_hooks(struct hwloc_binding_hooks *binding_hooks, struct hwloc_topology_support *support);
+#endif /* HWLOC_HPUX_SYS */
+
+extern int hwloc_look_hardwired_fujitsu_k(struct hwloc_topology *topology);
+extern int hwloc_look_hardwired_fujitsu_fx10(struct hwloc_topology *topology);
+extern int hwloc_look_hardwired_fujitsu_fx100(struct hwloc_topology *topology);
+
+/* Insert uname-specific names/values in the object infos array.
+ * If cached_uname isn't NULL, it is used as a struct utsname instead of recalling uname.
+ * Any field that starts with \0 is ignored.
+ */
+extern void hwloc_add_uname_info(struct hwloc_topology *topology, void *cached_uname);
+
+/* Free obj and its attributes assuming it doesn't have any children/parent anymore */
+extern void hwloc_free_unlinked_object(hwloc_obj_t obj);
+
+/* Duplicate src and its children under newparent in newtopology */
+extern void hwloc__duplicate_objects(struct hwloc_topology *newtopology, struct hwloc_obj *newparent, struct hwloc_obj *src);
+
+/* This can be used for the alloc field to get allocated data that can be freed by free() */
+void *hwloc_alloc_heap(hwloc_topology_t topology, size_t len);
+
+/* This can be used for the alloc field to get allocated data that can be freed by munmap() */
+void *hwloc_alloc_mmap(hwloc_topology_t topology, size_t len);
+
+/* This can be used for the free_membind field to free data using free() */
+int hwloc_free_heap(hwloc_topology_t topology, void *addr, size_t len);
+
+/* This can be used for the free_membind field to free data using munmap() */
+int hwloc_free_mmap(hwloc_topology_t topology, void *addr, size_t len);
+
+/* Allocates unbound memory or fail, depending on whether STRICT is requested
+ * or not */
+static __hwloc_inline void *
+hwloc_alloc_or_fail(hwloc_topology_t topology, size_t len, int flags)
+{
+ if (flags & HWLOC_MEMBIND_STRICT)
+ return NULL;
+ return hwloc_alloc(topology, len);
+}
+
+extern void hwloc_distances_init(struct hwloc_topology *topology);
+extern void hwloc_distances_destroy(struct hwloc_topology *topology);
+extern void hwloc_distances_set(struct hwloc_topology *topology, hwloc_obj_type_t type, unsigned nbobjs, unsigned *indexes, hwloc_obj_t *objs, float *distances, int force);
+extern void hwloc_distances_set_from_env(struct hwloc_topology *topology);
+extern void hwloc_distances_restrict_os(struct hwloc_topology *topology);
+extern void hwloc_distances_restrict(struct hwloc_topology *topology, unsigned long flags);
+extern void hwloc_distances_finalize_os(struct hwloc_topology *topology);
+extern void hwloc_distances_finalize_logical(struct hwloc_topology *topology);
+extern void hwloc_clear_object_distances(struct hwloc_obj *obj);
+extern void hwloc_clear_object_distances_one(struct hwloc_distances_s *distances);
+extern void hwloc_group_by_distances(struct hwloc_topology *topology);
+
+#ifdef HAVE_USELOCALE
+#include "locale.h"
+#ifdef HAVE_XLOCALE_H
+#include "xlocale.h"
+#endif
+#define hwloc_localeswitch_declare locale_t __old_locale = (locale_t)0, __new_locale
+#define hwloc_localeswitch_init() do { \
+ __new_locale = newlocale(LC_ALL_MASK, "C", (locale_t)0); \
+ if (__new_locale != (locale_t)0) \
+ __old_locale = uselocale(__new_locale); \
+} while (0)
+#define hwloc_localeswitch_fini() do { \
+ if (__new_locale != (locale_t)0) { \
+ uselocale(__old_locale); \
+ freelocale(__new_locale); \
+ } \
+} while(0)
+#else /* HAVE_USELOCALE */
+#if __HWLOC_HAVE_ATTRIBUTE_UNUSED
+#define hwloc_localeswitch_declare int __dummy_nolocale __hwloc_attribute_unused
+#define hwloc_localeswitch_init()
+#else
+#define hwloc_localeswitch_declare int __dummy_nolocale
+#define hwloc_localeswitch_init() (void)__dummy_nolocale
+#endif
+#define hwloc_localeswitch_fini()
+#endif /* HAVE_USELOCALE */
+
+#if !HAVE_DECL_FABSF
+#define fabsf(f) fabs((double)(f))
+#endif
+
+#if HAVE_DECL__SC_PAGE_SIZE
+#define hwloc_getpagesize() sysconf(_SC_PAGE_SIZE)
+#elif HAVE_DECL__SC_PAGESIZE
+#define hwloc_getpagesize() sysconf(_SC_PAGESIZE)
+#elif defined HAVE_GETPAGESIZE
+#define hwloc_getpagesize() getpagesize()
+#else
+#undef hwloc_getpagesize
+#endif
+
+/* encode src buffer into target buffer.
+ * targsize must be at least 4*((srclength+2)/3)+1.
+ * target will be 0-terminated.
+ */
+extern int hwloc_encode_to_base64(const char *src, size_t srclength, char *target, size_t targsize);
+/* decode src buffer into target buffer.
+ * src is 0-terminated.
+ * targsize must be at least srclength*3/4+1 (srclength not including \0)
+ * but only srclength*3/4 characters will be meaningful
+ * (the next one may be partially written during decoding, but it should be ignored).
+ */
+extern int hwloc_decode_from_base64(char const *src, char *target, size_t targsize);
+
+/* Check whether needle matches the beginning of haystack, at least n, and up
+ * to a colon or \0 */
+extern int hwloc_namecoloncmp(const char *haystack, const char *needle, size_t n);
+
+#if HWLOC_HAVE_ATTRIBUTE_FORMAT
+# define __hwloc_attribute_format(type, str, arg) __attribute__((__format__(type, str, arg)))
+#else
+# define __hwloc_attribute_format(type, str, arg)
+#endif
+
+#define hwloc_memory_size_printf_value(_size, _verbose) \
+ ((_size) < (10ULL<<20) || (_verbose) ? (((_size)>>9)+1)>>1 : (_size) < (10ULL<<30) ? (((_size)>>19)+1)>>1 : (_size) < (10ULL<<40) ? (((_size)>>29)+1)>>1 : (((_size)>>39)+1)>>1)
+#define hwloc_memory_size_printf_unit(_size, _verbose) \
+ ((_size) < (10ULL<<20) || (_verbose) ? "KB" : (_size) < (10ULL<<30) ? "MB" : (_size) < (10ULL<<40) ? "GB" : "TB")
+
+/* On some systems, snprintf returns the size of written data, not the actually
+ * required size. hwloc_snprintf always report the actually required size. */
+extern int hwloc_snprintf(char *str, size_t size, const char *format, ...) __hwloc_attribute_format(printf, 3, 4);
+
+extern void hwloc_obj_add_info_nodup(hwloc_obj_t obj, const char *name, const char *value, int nodup);
+
+/* Return the name of the currently running program, if supported.
+ * If not NULL, must be freed by the caller.
+ */
+extern char * hwloc_progname(struct hwloc_topology *topology);
+
+#define HWLOC_BITMAP_EQUAL 0 /* Bitmaps are equal */
+#define HWLOC_BITMAP_INCLUDED 1 /* First bitmap included in second */
+#define HWLOC_BITMAP_CONTAINS 2 /* First bitmap contains second */
+#define HWLOC_BITMAP_INTERSECTS 3 /* Bitmaps intersect without any inclusion */
+#define HWLOC_BITMAP_DIFFERENT 4 /* Bitmaps do not intersect */
+
+/** \brief Compare bitmaps \p bitmap1 and \p bitmap2 from an inclusion point of view.
+ */
+HWLOC_DECLSPEC int hwloc_bitmap_compare_inclusion(hwloc_const_bitmap_t bitmap1, hwloc_const_bitmap_t bitmap2) __hwloc_attribute_pure;
+
+#endif /* HWLOC_PRIVATE_H */
--- /dev/null
+/*
+ * Copyright © 2009-2010 Oracle and/or its affiliates. All rights reserved.
+ *
+ * Copyright © 2017 Inria. All rights reserved.
+ * $COPYRIGHT$
+ *
+ * Additional copyrights may follow
+ *
+ * $HEADER$
+ */
+
+
+#ifdef HWLOC_INSIDE_PLUGIN
+/*
+ * these declarations are internal only, they are not available to plugins
+ * (functions below are internal static symbols).
+ */
+#error This file should not be used in plugins
+#endif
+
+
+#ifndef HWLOC_PRIVATE_SOLARIS_CHIPTYPE_H
+#define HWLOC_PRIVATE_SOLARIS_CHIPTYPE_H
+
+struct hwloc_solaris_chip_info_s {
+ char *model;
+ char *type;
+ /* L1i, L1d, L2, L3 */
+#define HWLOC_SOLARIS_CHIP_INFO_L1I 0
+#define HWLOC_SOLARIS_CHIP_INFO_L1D 1
+#define HWLOC_SOLARIS_CHIP_INFO_L2I 2
+#define HWLOC_SOLARIS_CHIP_INFO_L2D 3
+#define HWLOC_SOLARIS_CHIP_INFO_L3 4
+ long cache_size[5]; /* cleared to -1 if we don't want of that cache */
+ unsigned cache_linesize[5];
+ unsigned cache_associativity[5];
+ int l2_unified;
+};
+
+/* fills the structure with 0 on error */
+extern void hwloc_solaris_get_chip_info(struct hwloc_solaris_chip_info_s *info);
+
+#endif /* HWLOC_PRIVATE_SOLARIS_CHIPTYPE_H */
--- /dev/null
+/*
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef PRIVATE_XML_H
+#define PRIVATE_XML_H 1
+
+#include <hwloc.h>
+
+#include <sys/types.h>
+
+HWLOC_DECLSPEC int hwloc__xml_verbose(void);
+
+/**************
+ * XML import *
+ **************/
+
+typedef struct hwloc__xml_import_state_s {
+ struct hwloc__xml_import_state_s *parent;
+
+ /* globals shared because the entire stack of states during import */
+ struct hwloc_xml_backend_data_s *global;
+
+ /* opaque data used to store backend-specific data.
+ * statically allocated to allow stack-allocation by the common code without knowing actual backend needs.
+ */
+ char data[32];
+} * hwloc__xml_import_state_t;
+
+HWLOC_DECLSPEC int hwloc__xml_import_diff(hwloc__xml_import_state_t state, hwloc_topology_diff_t *firstdiffp);
+
+struct hwloc_xml_backend_data_s {
+ /* xml backend parameters */
+ int (*look_init)(struct hwloc_xml_backend_data_s *bdata, struct hwloc__xml_import_state_s *state);
+ void (*look_failed)(struct hwloc_xml_backend_data_s *bdata);
+ void (*backend_exit)(struct hwloc_xml_backend_data_s *bdata);
+ int (*next_attr)(struct hwloc__xml_import_state_s * state, char **namep, char **valuep);
+ int (*find_child)(struct hwloc__xml_import_state_s * state, struct hwloc__xml_import_state_s * childstate, char **tagp);
+ int (*close_tag)(struct hwloc__xml_import_state_s * state); /* look for an explicit closing tag </name> */
+ void (*close_child)(struct hwloc__xml_import_state_s * state);
+ int (*get_content)(struct hwloc__xml_import_state_s * state, char **beginp, size_t expected_length); /* return 0 on empty content (and sets beginp to empty string), 1 on actual content, -1 on error or unexpected content length */
+ void (*close_content)(struct hwloc__xml_import_state_s * state);
+ char * msgprefix;
+ void *data; /* libxml2 doc, or nolibxml buffer */
+ struct hwloc_xml_imported_distances_s {
+ hwloc_obj_t root;
+ struct hwloc_distances_s distances;
+ struct hwloc_xml_imported_distances_s *prev, *next;
+ } *first_distances, *last_distances;
+};
+
+/**************
+ * XML export *
+ **************/
+
+typedef struct hwloc__xml_export_state_s {
+ struct hwloc__xml_export_state_s *parent;
+
+ void (*new_child)(struct hwloc__xml_export_state_s *parentstate, struct hwloc__xml_export_state_s *state, const char *name);
+ void (*new_prop)(struct hwloc__xml_export_state_s *state, const char *name, const char *value);
+ void (*add_content)(struct hwloc__xml_export_state_s *state, const char *buffer, size_t length);
+ void (*end_object)(struct hwloc__xml_export_state_s *state, const char *name);
+
+ /* opaque data used to store backend-specific data.
+ * statically allocated to allow stack-allocation by the common code without knowing actual backend needs.
+ */
+ char data[40];
+} * hwloc__xml_export_state_t;
+
+HWLOC_DECLSPEC void hwloc__xml_export_object (hwloc__xml_export_state_t state, struct hwloc_topology *topology, struct hwloc_obj *obj);
+
+HWLOC_DECLSPEC void hwloc__xml_export_diff(hwloc__xml_export_state_t parentstate, hwloc_topology_diff_t diff);
+
+/******************
+ * XML components *
+ ******************/
+
+struct hwloc_xml_callbacks {
+ int (*backend_init)(struct hwloc_xml_backend_data_s *bdata, const char *xmlpath, const char *xmlbuffer, int xmlbuflen);
+ int (*export_file)(struct hwloc_topology *topology, const char *filename);
+ int (*export_buffer)(struct hwloc_topology *topology, char **xmlbuffer, int *buflen);
+ void (*free_buffer)(void *xmlbuffer);
+ int (*import_diff)(struct hwloc__xml_import_state_s *state, const char *xmlpath, const char *xmlbuffer, int xmlbuflen, hwloc_topology_diff_t *diff, char **refnamep);
+ int (*export_diff_file)(union hwloc_topology_diff_u *diff, const char *refname, const char *filename);
+ int (*export_diff_buffer)(union hwloc_topology_diff_u *diff, const char *refname, char **xmlbuffer, int *buflen);
+};
+
+struct hwloc_xml_component {
+ struct hwloc_xml_callbacks *nolibxml_callbacks;
+ struct hwloc_xml_callbacks *libxml_callbacks;
+};
+
+HWLOC_DECLSPEC void hwloc_xml_callbacks_register(struct hwloc_xml_component *component);
+HWLOC_DECLSPEC void hwloc_xml_callbacks_reset(void);
+
+#endif /* PRIVATE_XML_H */
--- /dev/null
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2011-2012 Oracle and/or its affiliates. All rights reserved.
+# See COPYING in top-level directory.
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS) -DHWLOC_INSIDE_LIBHWLOC
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+EXTRA_DIST = dolib.c
+
+# If we're in standalone mode, build the installable library.
+# Otherwise, build the embedded library.
+
+if HWLOC_BUILD_STANDALONE
+lib_LTLIBRARIES = libhwloc.la
+else
+noinst_LTLIBRARIES = libhwloc_embedded.la
+endif
+
+pluginsdir = @HWLOC_PLUGINS_DIR@
+plugins_LTLIBRARIES =
+plugins_ldflags = -module -avoid-version -lltdl
+# Beware that files are not rebuilt automatically when reconfiguring with different paths in these flags.
+AM_CPPFLAGS += -DHWLOC_PLUGINS_PATH=\"$(HWLOC_PLUGINS_PATH)\" -DRUNSTATEDIR=\"$(HWLOC_runstatedir)\"
+
+# Sources and ldflags
+
+sources = \
+ topology.c \
+ traversal.c \
+ distances.c \
+ components.c \
+ bind.c \
+ bitmap.c \
+ pci-common.c \
+ diff.c \
+ misc.c \
+ base64.c \
+ topology-noos.c \
+ topology-synthetic.c \
+ topology-custom.c \
+ topology-xml.c \
+ topology-xml-nolibxml.c
+ldflags =
+
+# Conditionally add to the sources and ldflags
+
+if HWLOC_HAVE_LIBXML2
+if HWLOC_XML_LIBXML_BUILD_STATIC
+sources += topology-xml-libxml.c
+else
+plugins_LTLIBRARIES += hwloc_xml_libxml.la
+hwloc_xml_libxml_la_SOURCES = topology-xml-libxml.c
+hwloc_xml_libxml_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_LIBXML2_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+hwloc_xml_libxml_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_LIBXML2_LIBS)
+endif
+endif HWLOC_HAVE_LIBXML2
+
+if HWLOC_HAVE_PCI
+if HWLOC_PCI_BUILD_STATIC
+sources += topology-pci.c
+else
+plugins_LTLIBRARIES += hwloc_pci.la
+hwloc_pci_la_SOURCES = topology-pci.c
+hwloc_pci_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_PCIACCESS_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+hwloc_pci_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_PCIACCESS_LIBS)
+endif
+endif HWLOC_HAVE_PCI
+
+if HWLOC_HAVE_OPENCL
+if HWLOC_OPENCL_BUILD_STATIC
+sources += topology-opencl.c
+else
+plugins_LTLIBRARIES += hwloc_opencl.la
+hwloc_opencl_la_SOURCES = topology-opencl.c
+hwloc_opencl_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_OPENCL_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+hwloc_opencl_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_OPENCL_LIBS) $(HWLOC_OPENCL_LDFLAGS)
+endif
+endif HWLOC_HAVE_OPENCL
+
+if HWLOC_HAVE_CUDART
+if HWLOC_CUDA_BUILD_STATIC
+sources += topology-cuda.c
+else
+plugins_LTLIBRARIES += hwloc_cuda.la
+hwloc_cuda_la_SOURCES = topology-cuda.c
+hwloc_cuda_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_CUDA_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+hwloc_cuda_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_CUDA_LIBS)
+endif
+endif HWLOC_HAVE_CUDART
+
+if HWLOC_HAVE_NVML
+if HWLOC_NVML_BUILD_STATIC
+sources += topology-nvml.c
+else
+plugins_LTLIBRARIES += hwloc_nvml.la
+hwloc_nvml_la_SOURCES = topology-nvml.c
+hwloc_nvml_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_NVML_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+hwloc_nvml_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_NVML_LIBS)
+endif
+endif HWLOC_HAVE_NVML
+
+if HWLOC_HAVE_GL
+if HWLOC_GL_BUILD_STATIC
+sources += topology-gl.c
+else
+plugins_LTLIBRARIES += hwloc_gl.la
+hwloc_gl_la_SOURCES = topology-gl.c
+hwloc_gl_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_GL_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+hwloc_gl_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_GL_LIBS)
+endif
+endif HWLOC_HAVE_GL
+
+if HWLOC_HAVE_SOLARIS
+sources += topology-solaris.c
+sources += topology-solaris-chiptype.c
+endif HWLOC_HAVE_SOLARIS
+
+if HWLOC_HAVE_LINUX
+sources += topology-linux.c topology-hardwired.c
+endif HWLOC_HAVE_LINUX
+
+if HWLOC_HAVE_BGQ
+sources += topology-bgq.c
+endif HWLOC_HAVE_BGQ
+
+if HWLOC_HAVE_AIX
+sources += topology-aix.c
+ldflags += -lpthread
+endif HWLOC_HAVE_AIX
+
+if HWLOC_HAVE_OSF
+sources += topology-osf.c
+ldflags += -lnuma -lpthread
+endif HWLOC_HAVE_OSF
+
+if HWLOC_HAVE_HPUX
+sources += topology-hpux.c
+ldflags += -lpthread
+endif HWLOC_HAVE_HPUX
+
+if HWLOC_HAVE_WINDOWS
+sources += topology-windows.c
+endif HWLOC_HAVE_WINDOWS
+
+if HWLOC_HAVE_DARWIN
+sources += topology-darwin.c
+endif HWLOC_HAVE_DARWIN
+
+if HWLOC_HAVE_FREEBSD
+sources += topology-freebsd.c
+endif HWLOC_HAVE_FREEBSD
+
+if HWLOC_HAVE_NETBSD
+sources += topology-netbsd.c
+ldflags += -lpthread
+endif HWLOC_HAVE_NETBSD
+
+if HWLOC_HAVE_X86_CPUID
+sources += topology-x86.c
+endif HWLOC_HAVE_X86_CPUID
+
+if HWLOC_HAVE_GCC
+ldflags += -no-undefined
+endif HWLOC_HAVE_GCC
+
+
+if HWLOC_HAVE_WINDOWS
+# Windows specific rules
+
+LC_MESSAGES=C
+export LC_MESSAGES
+ldflags += -Xlinker --output-def -Xlinker .libs/libhwloc.def
+
+if HWLOC_HAVE_MS_LIB
+dolib$(EXEEXT): dolib.c
+ $(CC_FOR_BUILD) $< -o $@
+.libs/libhwloc.lib: libhwloc.la dolib$(EXEEXT)
+ [ ! -r .libs/libhwloc.def ] || ./dolib$(EXEEXT) "$(HWLOC_MS_LIB)" $(HWLOC_MS_LIB_ARCH) .libs/libhwloc.def $(libhwloc_so_version) .libs/libhwloc.lib
+all-local: .libs/libhwloc.lib
+clean-local:
+ $(RM) dolib$(EXEEXT)
+endif HWLOC_HAVE_MS_LIB
+
+install-exec-hook:
+ [ ! -r .libs/libhwloc.def ] || $(INSTALL) .libs/libhwloc.def $(DESTDIR)$(libdir)
+if HWLOC_HAVE_MS_LIB
+ [ ! -r .libs/libhwloc.def ] || $(INSTALL) .libs/libhwloc.lib $(DESTDIR)$(libdir)
+ [ ! -r .libs/libhwloc.def ] || $(INSTALL) .libs/libhwloc.exp $(DESTDIR)$(libdir)
+endif HWLOC_HAVE_MS_LIB
+
+uninstall-local:
+ rm -f $(DESTDIR)$(libdir)/libhwloc.def
+if HWLOC_HAVE_MS_LIB
+ rm -f $(DESTDIR)$(libdir)/libhwloc.lib $(DESTDIR)$(libdir)/libhwloc.exp
+endif HWLOC_HAVE_MS_LIB
+
+# End of Windows specific rules
+endif HWLOC_HAVE_WINDOWS
+
+
+# Installable library
+
+libhwloc_la_SOURCES = $(sources)
+libhwloc_la_LDFLAGS = $(ldflags) -version-info $(libhwloc_so_version) $(HWLOC_LIBS) $(HWLOC_LDFLAGS)
+
+if HWLOC_HAVE_PLUGINS
+AM_CPPFLAGS += $(LTDLINCL)
+libhwloc_la_LDFLAGS += -export-dynamic
+libhwloc_la_LIBADD = $(LIBLTDL)
+endif
+
+# Embedded library (note the lack of a .so version number -- that
+# intentionally only appears in the installable library). Also note
+# the lack of _LDFLAGS -- all libs are added by the upper layer (via
+# HWLOC_EMBEDDED_LIBS).
+
+libhwloc_embedded_la_SOURCES = $(sources)
+
+# XML data (only install if we're building in standalone mode)
+
+if HWLOC_BUILD_STANDALONE
+xml_DATA = $(srcdir)/hwloc.dtd
+xmldir = $(pkgdatadir)
+EXTRA_DIST += hwloc.dtd
+endif
+
+DISTCLEANFILES = static-components.h
+
+if HWLOC_HAVE_PLUGINS
+check_LTLIBRARIES = hwloc_fake.la
+hwloc_fake_la_SOURCES = topology-fake.c
+hwloc_fake_la_LDFLAGS = $(plugins_ldflags) -rpath /nowhere # force libtool to build a shared-library even it's check-only
+endif
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2011-2012 Oracle and/or its affiliates. All rights reserved.
+# See COPYING in top-level directory.
+
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+
+# Conditionally add to the sources and ldflags
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_TRUE@am__append_1 = topology-xml-libxml.c
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_FALSE@am__append_2 = hwloc_xml_libxml.la
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_TRUE@am__append_3 = topology-pci.c
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@am__append_4 = hwloc_pci.la
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_TRUE@am__append_5 = topology-opencl.c
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_FALSE@am__append_6 = hwloc_opencl.la
+@HWLOC_CUDA_BUILD_STATIC_TRUE@@HWLOC_HAVE_CUDART_TRUE@am__append_7 = topology-cuda.c
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@am__append_8 = hwloc_cuda.la
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_TRUE@am__append_9 = topology-nvml.c
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@am__append_10 = hwloc_nvml.la
+@HWLOC_GL_BUILD_STATIC_TRUE@@HWLOC_HAVE_GL_TRUE@am__append_11 = topology-gl.c
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@am__append_12 = hwloc_gl.la
+@HWLOC_HAVE_SOLARIS_TRUE@am__append_13 = topology-solaris.c \
+@HWLOC_HAVE_SOLARIS_TRUE@ topology-solaris-chiptype.c
+@HWLOC_HAVE_LINUX_TRUE@am__append_14 = topology-linux.c topology-hardwired.c
+@HWLOC_HAVE_BGQ_TRUE@am__append_15 = topology-bgq.c
+@HWLOC_HAVE_AIX_TRUE@am__append_16 = topology-aix.c
+@HWLOC_HAVE_AIX_TRUE@am__append_17 = -lpthread
+@HWLOC_HAVE_OSF_TRUE@am__append_18 = topology-osf.c
+@HWLOC_HAVE_OSF_TRUE@am__append_19 = -lnuma -lpthread
+@HWLOC_HAVE_HPUX_TRUE@am__append_20 = topology-hpux.c
+@HWLOC_HAVE_HPUX_TRUE@am__append_21 = -lpthread
+@HWLOC_HAVE_WINDOWS_TRUE@am__append_22 = topology-windows.c
+@HWLOC_HAVE_DARWIN_TRUE@am__append_23 = topology-darwin.c
+@HWLOC_HAVE_FREEBSD_TRUE@am__append_24 = topology-freebsd.c
+@HWLOC_HAVE_NETBSD_TRUE@am__append_25 = topology-netbsd.c
+@HWLOC_HAVE_NETBSD_TRUE@am__append_26 = -lpthread
+@HWLOC_HAVE_X86_CPUID_TRUE@am__append_27 = topology-x86.c
+@HWLOC_HAVE_GCC_TRUE@am__append_28 = -no-undefined
+@HWLOC_HAVE_WINDOWS_TRUE@am__append_29 = -Xlinker --output-def -Xlinker .libs/libhwloc.def
+@HWLOC_HAVE_PLUGINS_TRUE@am__append_30 = $(LTDLINCL)
+@HWLOC_HAVE_PLUGINS_TRUE@am__append_31 = -export-dynamic
+@HWLOC_BUILD_STANDALONE_TRUE@am__append_32 = hwloc.dtd
+subdir = src
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pluginsdir)" \
+ "$(DESTDIR)$(xmldir)"
+LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) \
+ $(plugins_LTLIBRARIES)
+hwloc_cuda_la_LIBADD =
+am__hwloc_cuda_la_SOURCES_DIST = topology-cuda.c
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@am_hwloc_cuda_la_OBJECTS = hwloc_cuda_la-topology-cuda.lo
+hwloc_cuda_la_OBJECTS = $(am_hwloc_cuda_la_OBJECTS)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+hwloc_cuda_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(hwloc_cuda_la_CFLAGS) \
+ $(CFLAGS) $(hwloc_cuda_la_LDFLAGS) $(LDFLAGS) -o $@
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@am_hwloc_cuda_la_rpath = \
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@ -rpath \
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@ $(pluginsdir)
+hwloc_fake_la_LIBADD =
+am__hwloc_fake_la_SOURCES_DIST = topology-fake.c
+@HWLOC_HAVE_PLUGINS_TRUE@am_hwloc_fake_la_OBJECTS = topology-fake.lo
+hwloc_fake_la_OBJECTS = $(am_hwloc_fake_la_OBJECTS)
+hwloc_fake_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(hwloc_fake_la_LDFLAGS) $(LDFLAGS) -o $@
+@HWLOC_HAVE_PLUGINS_TRUE@am_hwloc_fake_la_rpath =
+hwloc_gl_la_LIBADD =
+am__hwloc_gl_la_SOURCES_DIST = topology-gl.c
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@am_hwloc_gl_la_OBJECTS = hwloc_gl_la-topology-gl.lo
+hwloc_gl_la_OBJECTS = $(am_hwloc_gl_la_OBJECTS)
+hwloc_gl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(hwloc_gl_la_CFLAGS) \
+ $(CFLAGS) $(hwloc_gl_la_LDFLAGS) $(LDFLAGS) -o $@
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@am_hwloc_gl_la_rpath = \
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@ -rpath \
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@ $(pluginsdir)
+hwloc_nvml_la_LIBADD =
+am__hwloc_nvml_la_SOURCES_DIST = topology-nvml.c
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@am_hwloc_nvml_la_OBJECTS = hwloc_nvml_la-topology-nvml.lo
+hwloc_nvml_la_OBJECTS = $(am_hwloc_nvml_la_OBJECTS)
+hwloc_nvml_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(hwloc_nvml_la_CFLAGS) \
+ $(CFLAGS) $(hwloc_nvml_la_LDFLAGS) $(LDFLAGS) -o $@
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@am_hwloc_nvml_la_rpath = \
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@ -rpath \
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@ $(pluginsdir)
+hwloc_opencl_la_LIBADD =
+am__hwloc_opencl_la_SOURCES_DIST = topology-opencl.c
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_FALSE@am_hwloc_opencl_la_OBJECTS = hwloc_opencl_la-topology-opencl.lo
+hwloc_opencl_la_OBJECTS = $(am_hwloc_opencl_la_OBJECTS)
+hwloc_opencl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+ $(hwloc_opencl_la_CFLAGS) $(CFLAGS) $(hwloc_opencl_la_LDFLAGS) \
+ $(LDFLAGS) -o $@
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_FALSE@am_hwloc_opencl_la_rpath = -rpath \
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_FALSE@ $(pluginsdir)
+hwloc_pci_la_LIBADD =
+am__hwloc_pci_la_SOURCES_DIST = topology-pci.c
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@am_hwloc_pci_la_OBJECTS = hwloc_pci_la-topology-pci.lo
+hwloc_pci_la_OBJECTS = $(am_hwloc_pci_la_OBJECTS)
+hwloc_pci_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(hwloc_pci_la_CFLAGS) \
+ $(CFLAGS) $(hwloc_pci_la_LDFLAGS) $(LDFLAGS) -o $@
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@am_hwloc_pci_la_rpath = \
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@ -rpath \
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@ $(pluginsdir)
+hwloc_xml_libxml_la_LIBADD =
+am__hwloc_xml_libxml_la_SOURCES_DIST = topology-xml-libxml.c
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_FALSE@am_hwloc_xml_libxml_la_OBJECTS = hwloc_xml_libxml_la-topology-xml-libxml.lo
+hwloc_xml_libxml_la_OBJECTS = $(am_hwloc_xml_libxml_la_OBJECTS)
+hwloc_xml_libxml_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+ $(hwloc_xml_libxml_la_CFLAGS) $(CFLAGS) \
+ $(hwloc_xml_libxml_la_LDFLAGS) $(LDFLAGS) -o $@
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_FALSE@am_hwloc_xml_libxml_la_rpath = -rpath \
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_FALSE@ $(pluginsdir)
+libhwloc_la_DEPENDENCIES =
+am__libhwloc_la_SOURCES_DIST = topology.c traversal.c distances.c \
+ components.c bind.c bitmap.c pci-common.c diff.c misc.c \
+ base64.c topology-noos.c topology-synthetic.c \
+ topology-custom.c topology-xml.c topology-xml-nolibxml.c \
+ topology-xml-libxml.c topology-pci.c topology-opencl.c \
+ topology-cuda.c topology-nvml.c topology-gl.c \
+ topology-solaris.c topology-solaris-chiptype.c \
+ topology-linux.c topology-hardwired.c topology-bgq.c \
+ topology-aix.c topology-osf.c topology-hpux.c \
+ topology-windows.c topology-darwin.c topology-freebsd.c \
+ topology-netbsd.c topology-x86.c
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_TRUE@am__objects_1 = topology-xml-libxml.lo
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_TRUE@am__objects_2 = topology-pci.lo
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_TRUE@am__objects_3 = topology-opencl.lo
+@HWLOC_CUDA_BUILD_STATIC_TRUE@@HWLOC_HAVE_CUDART_TRUE@am__objects_4 = topology-cuda.lo
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_TRUE@am__objects_5 = topology-nvml.lo
+@HWLOC_GL_BUILD_STATIC_TRUE@@HWLOC_HAVE_GL_TRUE@am__objects_6 = topology-gl.lo
+@HWLOC_HAVE_SOLARIS_TRUE@am__objects_7 = topology-solaris.lo \
+@HWLOC_HAVE_SOLARIS_TRUE@ topology-solaris-chiptype.lo
+@HWLOC_HAVE_LINUX_TRUE@am__objects_8 = topology-linux.lo \
+@HWLOC_HAVE_LINUX_TRUE@ topology-hardwired.lo
+@HWLOC_HAVE_BGQ_TRUE@am__objects_9 = topology-bgq.lo
+@HWLOC_HAVE_AIX_TRUE@am__objects_10 = topology-aix.lo
+@HWLOC_HAVE_OSF_TRUE@am__objects_11 = topology-osf.lo
+@HWLOC_HAVE_HPUX_TRUE@am__objects_12 = topology-hpux.lo
+@HWLOC_HAVE_WINDOWS_TRUE@am__objects_13 = topology-windows.lo
+@HWLOC_HAVE_DARWIN_TRUE@am__objects_14 = topology-darwin.lo
+@HWLOC_HAVE_FREEBSD_TRUE@am__objects_15 = topology-freebsd.lo
+@HWLOC_HAVE_NETBSD_TRUE@am__objects_16 = topology-netbsd.lo
+@HWLOC_HAVE_X86_CPUID_TRUE@am__objects_17 = topology-x86.lo
+am__objects_18 = topology.lo traversal.lo distances.lo components.lo \
+ bind.lo bitmap.lo pci-common.lo diff.lo misc.lo base64.lo \
+ topology-noos.lo topology-synthetic.lo topology-custom.lo \
+ topology-xml.lo topology-xml-nolibxml.lo $(am__objects_1) \
+ $(am__objects_2) $(am__objects_3) $(am__objects_4) \
+ $(am__objects_5) $(am__objects_6) $(am__objects_7) \
+ $(am__objects_8) $(am__objects_9) $(am__objects_10) \
+ $(am__objects_11) $(am__objects_12) $(am__objects_13) \
+ $(am__objects_14) $(am__objects_15) $(am__objects_16) \
+ $(am__objects_17)
+am_libhwloc_la_OBJECTS = $(am__objects_18)
+libhwloc_la_OBJECTS = $(am_libhwloc_la_OBJECTS)
+libhwloc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libhwloc_la_LDFLAGS) $(LDFLAGS) -o $@
+@HWLOC_BUILD_STANDALONE_TRUE@am_libhwloc_la_rpath = -rpath $(libdir)
+libhwloc_embedded_la_LIBADD =
+am__libhwloc_embedded_la_SOURCES_DIST = topology.c traversal.c \
+ distances.c components.c bind.c bitmap.c pci-common.c diff.c \
+ misc.c base64.c topology-noos.c topology-synthetic.c \
+ topology-custom.c topology-xml.c topology-xml-nolibxml.c \
+ topology-xml-libxml.c topology-pci.c topology-opencl.c \
+ topology-cuda.c topology-nvml.c topology-gl.c \
+ topology-solaris.c topology-solaris-chiptype.c \
+ topology-linux.c topology-hardwired.c topology-bgq.c \
+ topology-aix.c topology-osf.c topology-hpux.c \
+ topology-windows.c topology-darwin.c topology-freebsd.c \
+ topology-netbsd.c topology-x86.c
+am_libhwloc_embedded_la_OBJECTS = $(am__objects_18)
+libhwloc_embedded_la_OBJECTS = $(am_libhwloc_embedded_la_OBJECTS)
+@HWLOC_BUILD_STANDALONE_FALSE@am_libhwloc_embedded_la_rpath =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/private/autogen -I$(top_builddir)/include/hwloc/autogen
+depcomp = $(SHELL) $(top_srcdir)/./config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(hwloc_cuda_la_SOURCES) $(hwloc_fake_la_SOURCES) \
+ $(hwloc_gl_la_SOURCES) $(hwloc_nvml_la_SOURCES) \
+ $(hwloc_opencl_la_SOURCES) $(hwloc_pci_la_SOURCES) \
+ $(hwloc_xml_libxml_la_SOURCES) $(libhwloc_la_SOURCES) \
+ $(libhwloc_embedded_la_SOURCES)
+DIST_SOURCES = $(am__hwloc_cuda_la_SOURCES_DIST) \
+ $(am__hwloc_fake_la_SOURCES_DIST) \
+ $(am__hwloc_gl_la_SOURCES_DIST) \
+ $(am__hwloc_nvml_la_SOURCES_DIST) \
+ $(am__hwloc_opencl_la_SOURCES_DIST) \
+ $(am__hwloc_pci_la_SOURCES_DIST) \
+ $(am__hwloc_xml_libxml_la_SOURCES_DIST) \
+ $(am__libhwloc_la_SOURCES_DIST) \
+ $(am__libhwloc_embedded_la_SOURCES_DIST)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+DATA = $(xml_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/topology-aix.c \
+ $(srcdir)/topology-bgq.c $(srcdir)/topology-cuda.c \
+ $(srcdir)/topology-darwin.c $(srcdir)/topology-freebsd.c \
+ $(srcdir)/topology-gl.c $(srcdir)/topology-hpux.c \
+ $(srcdir)/topology-netbsd.c $(srcdir)/topology-nvml.c \
+ $(srcdir)/topology-opencl.c $(srcdir)/topology-osf.c \
+ $(srcdir)/topology-solaris-chiptype.c \
+ $(srcdir)/topology-solaris.c $(srcdir)/topology-windows.c \
+ $(top_srcdir)/./config/depcomp
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+# Beware that files are not rebuilt automatically when reconfiguring with different paths in these flags.
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS) -DHWLOC_INSIDE_LIBHWLOC \
+ -DHWLOC_PLUGINS_PATH=\"$(HWLOC_PLUGINS_PATH)\" \
+ -DRUNSTATEDIR=\"$(HWLOC_runstatedir)\" $(am__append_30)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+EXTRA_DIST = dolib.c $(am__append_32)
+
+# If we're in standalone mode, build the installable library.
+# Otherwise, build the embedded library.
+@HWLOC_BUILD_STANDALONE_TRUE@lib_LTLIBRARIES = libhwloc.la
+@HWLOC_BUILD_STANDALONE_FALSE@noinst_LTLIBRARIES = libhwloc_embedded.la
+pluginsdir = @HWLOC_PLUGINS_DIR@
+plugins_LTLIBRARIES = $(am__append_2) $(am__append_4) $(am__append_6) \
+ $(am__append_8) $(am__append_10) $(am__append_12)
+plugins_ldflags = -module -avoid-version -lltdl
+
+# Sources and ldflags
+sources = topology.c traversal.c distances.c components.c bind.c \
+ bitmap.c pci-common.c diff.c misc.c base64.c topology-noos.c \
+ topology-synthetic.c topology-custom.c topology-xml.c \
+ topology-xml-nolibxml.c $(am__append_1) $(am__append_3) \
+ $(am__append_5) $(am__append_7) $(am__append_9) \
+ $(am__append_11) $(am__append_13) $(am__append_14) \
+ $(am__append_15) $(am__append_16) $(am__append_18) \
+ $(am__append_20) $(am__append_22) $(am__append_23) \
+ $(am__append_24) $(am__append_25) $(am__append_27)
+ldflags = $(am__append_17) $(am__append_19) $(am__append_21) \
+ $(am__append_26) $(am__append_28) $(am__append_29)
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_FALSE@hwloc_xml_libxml_la_SOURCES = topology-xml-libxml.c
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_FALSE@hwloc_xml_libxml_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_LIBXML2_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+@HWLOC_HAVE_LIBXML2_TRUE@@HWLOC_XML_LIBXML_BUILD_STATIC_FALSE@hwloc_xml_libxml_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_LIBXML2_LIBS)
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@hwloc_pci_la_SOURCES = topology-pci.c
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@hwloc_pci_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_PCIACCESS_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+@HWLOC_HAVE_PCI_TRUE@@HWLOC_PCI_BUILD_STATIC_FALSE@hwloc_pci_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_PCIACCESS_LIBS)
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_FALSE@hwloc_opencl_la_SOURCES = topology-opencl.c
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_FALSE@hwloc_opencl_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_OPENCL_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+@HWLOC_HAVE_OPENCL_TRUE@@HWLOC_OPENCL_BUILD_STATIC_FALSE@hwloc_opencl_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_OPENCL_LIBS) $(HWLOC_OPENCL_LDFLAGS)
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@hwloc_cuda_la_SOURCES = topology-cuda.c
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@hwloc_cuda_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_CUDA_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+@HWLOC_CUDA_BUILD_STATIC_FALSE@@HWLOC_HAVE_CUDART_TRUE@hwloc_cuda_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_CUDA_LIBS)
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@hwloc_nvml_la_SOURCES = topology-nvml.c
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@hwloc_nvml_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_NVML_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+@HWLOC_HAVE_NVML_TRUE@@HWLOC_NVML_BUILD_STATIC_FALSE@hwloc_nvml_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_NVML_LIBS)
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@hwloc_gl_la_SOURCES = topology-gl.c
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@hwloc_gl_la_CFLAGS = $(AM_CFLAGS) $(HWLOC_GL_CFLAGS) -DHWLOC_INSIDE_PLUGIN
+@HWLOC_GL_BUILD_STATIC_FALSE@@HWLOC_HAVE_GL_TRUE@hwloc_gl_la_LDFLAGS = $(plugins_ldflags) $(HWLOC_GL_LIBS)
+
+# Windows specific rules
+@HWLOC_HAVE_WINDOWS_TRUE@LC_MESSAGES = C
+
+# End of Windows specific rules
+
+# Installable library
+libhwloc_la_SOURCES = $(sources)
+libhwloc_la_LDFLAGS = $(ldflags) -version-info $(libhwloc_so_version) \
+ $(HWLOC_LIBS) $(HWLOC_LDFLAGS) $(am__append_31)
+@HWLOC_HAVE_PLUGINS_TRUE@libhwloc_la_LIBADD = $(LIBLTDL)
+
+# Embedded library (note the lack of a .so version number -- that
+# intentionally only appears in the installable library). Also note
+# the lack of _LDFLAGS -- all libs are added by the upper layer (via
+# HWLOC_EMBEDDED_LIBS).
+libhwloc_embedded_la_SOURCES = $(sources)
+
+# XML data (only install if we're building in standalone mode)
+@HWLOC_BUILD_STANDALONE_TRUE@xml_DATA = $(srcdir)/hwloc.dtd
+@HWLOC_BUILD_STANDALONE_TRUE@xmldir = $(pkgdatadir)
+DISTCLEANFILES = static-components.h
+@HWLOC_HAVE_PLUGINS_TRUE@check_LTLIBRARIES = hwloc_fake.la
+@HWLOC_HAVE_PLUGINS_TRUE@hwloc_fake_la_SOURCES = topology-fake.c
+@HWLOC_HAVE_PLUGINS_TRUE@hwloc_fake_la_LDFLAGS = $(plugins_ldflags) -rpath /nowhere # force libtool to build a shared-library even it's check-only
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign src/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-checkLTLIBRARIES:
+ -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
+ @list='$(check_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
+ list2=; for p in $$list; do \
+ if test -f $$p; then \
+ list2="$$list2 $$p"; \
+ else :; fi; \
+ done; \
+ test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
+ }
+
+uninstall-libLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
+ done
+
+clean-libLTLIBRARIES:
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ @list='$(lib_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(plugins_LTLIBRARIES)'; test -n "$(pluginsdir)" || list=; \
+ list2=; for p in $$list; do \
+ if test -f $$p; then \
+ list2="$$list2 $$p"; \
+ else :; fi; \
+ done; \
+ test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pluginsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pluginsdir)" || exit 1; \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pluginsdir)'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pluginsdir)"; \
+ }
+
+uninstall-pluginsLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(plugins_LTLIBRARIES)'; test -n "$(pluginsdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pluginsdir)/$$f'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pluginsdir)/$$f"; \
+ done
+
+clean-pluginsLTLIBRARIES:
+ -test -z "$(plugins_LTLIBRARIES)" || rm -f $(plugins_LTLIBRARIES)
+ @list='$(plugins_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+hwloc_cuda.la: $(hwloc_cuda_la_OBJECTS) $(hwloc_cuda_la_DEPENDENCIES) $(EXTRA_hwloc_cuda_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(hwloc_cuda_la_LINK) $(am_hwloc_cuda_la_rpath) $(hwloc_cuda_la_OBJECTS) $(hwloc_cuda_la_LIBADD) $(LIBS)
+
+hwloc_fake.la: $(hwloc_fake_la_OBJECTS) $(hwloc_fake_la_DEPENDENCIES) $(EXTRA_hwloc_fake_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(hwloc_fake_la_LINK) $(am_hwloc_fake_la_rpath) $(hwloc_fake_la_OBJECTS) $(hwloc_fake_la_LIBADD) $(LIBS)
+
+hwloc_gl.la: $(hwloc_gl_la_OBJECTS) $(hwloc_gl_la_DEPENDENCIES) $(EXTRA_hwloc_gl_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(hwloc_gl_la_LINK) $(am_hwloc_gl_la_rpath) $(hwloc_gl_la_OBJECTS) $(hwloc_gl_la_LIBADD) $(LIBS)
+
+hwloc_nvml.la: $(hwloc_nvml_la_OBJECTS) $(hwloc_nvml_la_DEPENDENCIES) $(EXTRA_hwloc_nvml_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(hwloc_nvml_la_LINK) $(am_hwloc_nvml_la_rpath) $(hwloc_nvml_la_OBJECTS) $(hwloc_nvml_la_LIBADD) $(LIBS)
+
+hwloc_opencl.la: $(hwloc_opencl_la_OBJECTS) $(hwloc_opencl_la_DEPENDENCIES) $(EXTRA_hwloc_opencl_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(hwloc_opencl_la_LINK) $(am_hwloc_opencl_la_rpath) $(hwloc_opencl_la_OBJECTS) $(hwloc_opencl_la_LIBADD) $(LIBS)
+
+hwloc_pci.la: $(hwloc_pci_la_OBJECTS) $(hwloc_pci_la_DEPENDENCIES) $(EXTRA_hwloc_pci_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(hwloc_pci_la_LINK) $(am_hwloc_pci_la_rpath) $(hwloc_pci_la_OBJECTS) $(hwloc_pci_la_LIBADD) $(LIBS)
+
+hwloc_xml_libxml.la: $(hwloc_xml_libxml_la_OBJECTS) $(hwloc_xml_libxml_la_DEPENDENCIES) $(EXTRA_hwloc_xml_libxml_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(hwloc_xml_libxml_la_LINK) $(am_hwloc_xml_libxml_la_rpath) $(hwloc_xml_libxml_la_OBJECTS) $(hwloc_xml_libxml_la_LIBADD) $(LIBS)
+
+libhwloc.la: $(libhwloc_la_OBJECTS) $(libhwloc_la_DEPENDENCIES) $(EXTRA_libhwloc_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(libhwloc_la_LINK) $(am_libhwloc_la_rpath) $(libhwloc_la_OBJECTS) $(libhwloc_la_LIBADD) $(LIBS)
+
+libhwloc_embedded.la: $(libhwloc_embedded_la_OBJECTS) $(libhwloc_embedded_la_DEPENDENCIES) $(EXTRA_libhwloc_embedded_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_embedded_la_rpath) $(libhwloc_embedded_la_OBJECTS) $(libhwloc_embedded_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base64.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bind.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bitmap.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/components.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diff.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/distances.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_cuda_la-topology-cuda.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_gl_la-topology-gl.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_nvml_la-topology-nvml.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_opencl_la-topology-opencl.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_pci_la-topology-pci.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_xml_libxml_la-topology-xml-libxml.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pci-common.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-aix.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-bgq.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-cuda.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-custom.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-darwin.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-fake.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-freebsd.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-gl.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-hardwired.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-hpux.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-linux.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-netbsd.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-noos.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-nvml.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-opencl.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-osf.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-pci.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-solaris-chiptype.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-solaris.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-synthetic.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-windows.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-x86.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-xml-libxml.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-xml-nolibxml.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology-xml.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/traversal.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+hwloc_cuda_la-topology-cuda.lo: topology-cuda.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_cuda_la_CFLAGS) $(CFLAGS) -MT hwloc_cuda_la-topology-cuda.lo -MD -MP -MF $(DEPDIR)/hwloc_cuda_la-topology-cuda.Tpo -c -o hwloc_cuda_la-topology-cuda.lo `test -f 'topology-cuda.c' || echo '$(srcdir)/'`topology-cuda.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_cuda_la-topology-cuda.Tpo $(DEPDIR)/hwloc_cuda_la-topology-cuda.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-cuda.c' object='hwloc_cuda_la-topology-cuda.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_cuda_la_CFLAGS) $(CFLAGS) -c -o hwloc_cuda_la-topology-cuda.lo `test -f 'topology-cuda.c' || echo '$(srcdir)/'`topology-cuda.c
+
+hwloc_gl_la-topology-gl.lo: topology-gl.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_gl_la_CFLAGS) $(CFLAGS) -MT hwloc_gl_la-topology-gl.lo -MD -MP -MF $(DEPDIR)/hwloc_gl_la-topology-gl.Tpo -c -o hwloc_gl_la-topology-gl.lo `test -f 'topology-gl.c' || echo '$(srcdir)/'`topology-gl.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_gl_la-topology-gl.Tpo $(DEPDIR)/hwloc_gl_la-topology-gl.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-gl.c' object='hwloc_gl_la-topology-gl.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_gl_la_CFLAGS) $(CFLAGS) -c -o hwloc_gl_la-topology-gl.lo `test -f 'topology-gl.c' || echo '$(srcdir)/'`topology-gl.c
+
+hwloc_nvml_la-topology-nvml.lo: topology-nvml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_nvml_la_CFLAGS) $(CFLAGS) -MT hwloc_nvml_la-topology-nvml.lo -MD -MP -MF $(DEPDIR)/hwloc_nvml_la-topology-nvml.Tpo -c -o hwloc_nvml_la-topology-nvml.lo `test -f 'topology-nvml.c' || echo '$(srcdir)/'`topology-nvml.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_nvml_la-topology-nvml.Tpo $(DEPDIR)/hwloc_nvml_la-topology-nvml.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-nvml.c' object='hwloc_nvml_la-topology-nvml.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_nvml_la_CFLAGS) $(CFLAGS) -c -o hwloc_nvml_la-topology-nvml.lo `test -f 'topology-nvml.c' || echo '$(srcdir)/'`topology-nvml.c
+
+hwloc_opencl_la-topology-opencl.lo: topology-opencl.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_opencl_la_CFLAGS) $(CFLAGS) -MT hwloc_opencl_la-topology-opencl.lo -MD -MP -MF $(DEPDIR)/hwloc_opencl_la-topology-opencl.Tpo -c -o hwloc_opencl_la-topology-opencl.lo `test -f 'topology-opencl.c' || echo '$(srcdir)/'`topology-opencl.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_opencl_la-topology-opencl.Tpo $(DEPDIR)/hwloc_opencl_la-topology-opencl.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-opencl.c' object='hwloc_opencl_la-topology-opencl.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_opencl_la_CFLAGS) $(CFLAGS) -c -o hwloc_opencl_la-topology-opencl.lo `test -f 'topology-opencl.c' || echo '$(srcdir)/'`topology-opencl.c
+
+hwloc_pci_la-topology-pci.lo: topology-pci.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_pci_la_CFLAGS) $(CFLAGS) -MT hwloc_pci_la-topology-pci.lo -MD -MP -MF $(DEPDIR)/hwloc_pci_la-topology-pci.Tpo -c -o hwloc_pci_la-topology-pci.lo `test -f 'topology-pci.c' || echo '$(srcdir)/'`topology-pci.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_pci_la-topology-pci.Tpo $(DEPDIR)/hwloc_pci_la-topology-pci.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-pci.c' object='hwloc_pci_la-topology-pci.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_pci_la_CFLAGS) $(CFLAGS) -c -o hwloc_pci_la-topology-pci.lo `test -f 'topology-pci.c' || echo '$(srcdir)/'`topology-pci.c
+
+hwloc_xml_libxml_la-topology-xml-libxml.lo: topology-xml-libxml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_xml_libxml_la_CFLAGS) $(CFLAGS) -MT hwloc_xml_libxml_la-topology-xml-libxml.lo -MD -MP -MF $(DEPDIR)/hwloc_xml_libxml_la-topology-xml-libxml.Tpo -c -o hwloc_xml_libxml_la-topology-xml-libxml.lo `test -f 'topology-xml-libxml.c' || echo '$(srcdir)/'`topology-xml-libxml.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_xml_libxml_la-topology-xml-libxml.Tpo $(DEPDIR)/hwloc_xml_libxml_la-topology-xml-libxml.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-xml-libxml.c' object='hwloc_xml_libxml_la-topology-xml-libxml.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hwloc_xml_libxml_la_CFLAGS) $(CFLAGS) -c -o hwloc_xml_libxml_la-topology-xml-libxml.lo `test -f 'topology-xml-libxml.c' || echo '$(srcdir)/'`topology-xml-libxml.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-xmlDATA: $(xml_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(xml_DATA)'; test -n "$(xmldir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(xmldir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(xmldir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(xmldir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(xmldir)" || exit $$?; \
+ done
+
+uninstall-xmlDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(xml_DATA)'; test -n "$(xmldir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(xmldir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES)
+check: check-am
+@HWLOC_HAVE_MS_LIB_FALSE@all-local:
+@HWLOC_HAVE_WINDOWS_FALSE@all-local:
+all-am: Makefile $(LTLIBRARIES) $(DATA) all-local
+installdirs:
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pluginsdir)" "$(DESTDIR)$(xmldir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+@HWLOC_HAVE_MS_LIB_FALSE@clean-local:
+@HWLOC_HAVE_WINDOWS_FALSE@clean-local:
+@HWLOC_HAVE_WINDOWS_FALSE@uninstall-local:
+@HWLOC_HAVE_WINDOWS_FALSE@install-exec-hook:
+clean: clean-am
+
+clean-am: clean-checkLTLIBRARIES clean-generic clean-libLTLIBRARIES \
+ clean-libtool clean-local clean-noinstLTLIBRARIES \
+ clean-pluginsLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pluginsLTLIBRARIES install-xmlDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-libLTLIBRARIES
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libLTLIBRARIES uninstall-local \
+ uninstall-pluginsLTLIBRARIES uninstall-xmlDATA
+
+.MAKE: check-am install-am install-exec-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
+ clean-checkLTLIBRARIES clean-generic clean-libLTLIBRARIES \
+ clean-libtool clean-local clean-noinstLTLIBRARIES \
+ clean-pluginsLTLIBRARIES cscopelist-am ctags ctags-am \
+ distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-exec-hook install-html install-html-am \
+ install-info install-info-am install-libLTLIBRARIES \
+ install-man install-pdf install-pdf-am \
+ install-pluginsLTLIBRARIES install-ps install-ps-am \
+ install-strip install-xmlDATA installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-libLTLIBRARIES uninstall-local \
+ uninstall-pluginsLTLIBRARIES uninstall-xmlDATA
+
+.PRECIOUS: Makefile
+
+@HWLOC_HAVE_WINDOWS_TRUE@export LC_MESSAGES
+
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@dolib$(EXEEXT): dolib.c
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ $(CC_FOR_BUILD) $< -o $@
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@.libs/libhwloc.lib: libhwloc.la dolib$(EXEEXT)
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ [ ! -r .libs/libhwloc.def ] || ./dolib$(EXEEXT) "$(HWLOC_MS_LIB)" $(HWLOC_MS_LIB_ARCH) .libs/libhwloc.def $(libhwloc_so_version) .libs/libhwloc.lib
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@all-local: .libs/libhwloc.lib
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@clean-local:
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ $(RM) dolib$(EXEEXT)
+
+@HWLOC_HAVE_WINDOWS_TRUE@install-exec-hook:
+@HWLOC_HAVE_WINDOWS_TRUE@ [ ! -r .libs/libhwloc.def ] || $(INSTALL) .libs/libhwloc.def $(DESTDIR)$(libdir)
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ [ ! -r .libs/libhwloc.def ] || $(INSTALL) .libs/libhwloc.lib $(DESTDIR)$(libdir)
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ [ ! -r .libs/libhwloc.def ] || $(INSTALL) .libs/libhwloc.exp $(DESTDIR)$(libdir)
+
+@HWLOC_HAVE_WINDOWS_TRUE@uninstall-local:
+@HWLOC_HAVE_WINDOWS_TRUE@ rm -f $(DESTDIR)$(libdir)/libhwloc.def
+@HWLOC_HAVE_MS_LIB_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@ rm -f $(DESTDIR)$(libdir)/libhwloc.lib $(DESTDIR)$(libdir)/libhwloc.exp
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+/*
+ * Copyright © 2012-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ *
+ * Modifications after import:
+ * - removed all #if
+ * - updated prototypes
+ * - updated #include
+ */
+
+/* include hwloc's config before anything else
+ * so that extensions and features are properly enabled
+ */
+#include <private/private.h>
+
+/* $OpenBSD: base64.c,v 1.5 2006/10/21 09:55:03 otto Exp $ */
+
+/*
+ * Copyright (c) 1996 by Internet Software Consortium.
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
+ * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
+ * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
+ * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+ * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+ * SOFTWARE.
+ */
+
+/*
+ * Portions Copyright (c) 1995 by International Business Machines, Inc.
+ *
+ * International Business Machines, Inc. (hereinafter called IBM) grants
+ * permission under its copyrights to use, copy, modify, and distribute this
+ * Software with or without fee, provided that the above copyright notice and
+ * all paragraphs of this notice appear in all copies, and that the name of IBM
+ * not be used in connection with the marketing of any product incorporating
+ * the Software or modifications thereof, without specific, written prior
+ * permission.
+ *
+ * To the extent it has a right to do so, IBM grants an immunity from suit
+ * under its patents, if any, for the use, sale or manufacture of products to
+ * the extent that such products are used for performing Domain Name System
+ * dynamic updates in TCP/IP networks by means of the Software. No immunity is
+ * granted for any product per se or for any other function of any product.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL,
+ * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING
+ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
+ * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
+ */
+
+/* OPENBSD ORIGINAL: lib/libc/net/base64.c */
+
+static const char Base64[] =
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+static const char Pad64 = '=';
+
+/* (From RFC1521 and draft-ietf-dnssec-secext-03.txt)
+ The following encoding technique is taken from RFC 1521 by Borenstein
+ and Freed. It is reproduced here in a slightly edited form for
+ convenience.
+
+ A 65-character subset of US-ASCII is used, enabling 6 bits to be
+ represented per printable character. (The extra 65th character, "=",
+ is used to signify a special processing function.)
+
+ The encoding process represents 24-bit groups of input bits as output
+ strings of 4 encoded characters. Proceeding from left to right, a
+ 24-bit input group is formed by concatenating 3 8-bit input groups.
+ These 24 bits are then treated as 4 concatenated 6-bit groups, each
+ of which is translated into a single digit in the base64 alphabet.
+
+ Each 6-bit group is used as an index into an array of 64 printable
+ characters. The character referenced by the index is placed in the
+ output string.
+
+ Table 1: The Base64 Alphabet
+
+ Value Encoding Value Encoding Value Encoding Value Encoding
+ 0 A 17 R 34 i 51 z
+ 1 B 18 S 35 j 52 0
+ 2 C 19 T 36 k 53 1
+ 3 D 20 U 37 l 54 2
+ 4 E 21 V 38 m 55 3
+ 5 F 22 W 39 n 56 4
+ 6 G 23 X 40 o 57 5
+ 7 H 24 Y 41 p 58 6
+ 8 I 25 Z 42 q 59 7
+ 9 J 26 a 43 r 60 8
+ 10 K 27 b 44 s 61 9
+ 11 L 28 c 45 t 62 +
+ 12 M 29 d 46 u 63 /
+ 13 N 30 e 47 v
+ 14 O 31 f 48 w (pad) =
+ 15 P 32 g 49 x
+ 16 Q 33 h 50 y
+
+ Special processing is performed if fewer than 24 bits are available
+ at the end of the data being encoded. A full encoding quantum is
+ always completed at the end of a quantity. When fewer than 24 input
+ bits are available in an input group, zero bits are added (on the
+ right) to form an integral number of 6-bit groups. Padding at the
+ end of the data is performed using the '=' character.
+
+ Since all base64 input is an integral number of octets, only the
+ -------------------------------------------------
+ following cases can arise:
+
+ (1) the final quantum of encoding input is an integral
+ multiple of 24 bits; here, the final unit of encoded
+ output will be an integral multiple of 4 characters
+ with no "=" padding,
+ (2) the final quantum of encoding input is exactly 8 bits;
+ here, the final unit of encoded output will be two
+ characters followed by two "=" padding characters, or
+ (3) the final quantum of encoding input is exactly 16 bits;
+ here, the final unit of encoded output will be three
+ characters followed by one "=" padding character.
+ */
+
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+
+int
+hwloc_encode_to_base64(const char *src, size_t srclength, char *target, size_t targsize)
+{
+ size_t datalength = 0;
+ unsigned char input[3];
+ unsigned char output[4];
+ unsigned int i;
+
+ while (2 < srclength) {
+ input[0] = *src++;
+ input[1] = *src++;
+ input[2] = *src++;
+ srclength -= 3;
+
+ output[0] = input[0] >> 2;
+ output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
+ output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
+ output[3] = input[2] & 0x3f;
+
+ if (datalength + 4 > targsize)
+ return (-1);
+ target[datalength++] = Base64[output[0]];
+ target[datalength++] = Base64[output[1]];
+ target[datalength++] = Base64[output[2]];
+ target[datalength++] = Base64[output[3]];
+ }
+
+ /* Now we worry about padding. */
+ if (0 != srclength) {
+ /* Get what's left. */
+ input[0] = input[1] = input[2] = '\0';
+ for (i = 0; i < srclength; i++)
+ input[i] = *src++;
+
+ output[0] = input[0] >> 2;
+ output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4);
+ output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6);
+
+ if (datalength + 4 > targsize)
+ return (-1);
+ target[datalength++] = Base64[output[0]];
+ target[datalength++] = Base64[output[1]];
+ if (srclength == 1)
+ target[datalength++] = Pad64;
+ else
+ target[datalength++] = Base64[output[2]];
+ target[datalength++] = Pad64;
+ }
+ if (datalength >= targsize)
+ return (-1);
+ target[datalength] = '\0'; /* Returned value doesn't count \0. */
+ return (int)(datalength);
+}
+
+/* skips all whitespace anywhere.
+ converts characters, four at a time, starting at (or after)
+ src from base - 64 numbers into three 8 bit bytes in the target area.
+ it returns the number of data bytes stored at the target, or -1 on error.
+ */
+
+int
+hwloc_decode_from_base64(char const *src, char *target, size_t targsize)
+{
+ unsigned int tarindex, state;
+ int ch;
+ char *pos;
+
+ state = 0;
+ tarindex = 0;
+
+ while ((ch = *src++) != '\0') {
+ if (isspace(ch)) /* Skip whitespace anywhere. */
+ continue;
+
+ if (ch == Pad64)
+ break;
+
+ pos = strchr(Base64, ch);
+ if (pos == 0) /* A non-base64 character. */
+ return (-1);
+
+ switch (state) {
+ case 0:
+ if (target) {
+ if (tarindex >= targsize)
+ return (-1);
+ target[tarindex] = (char)(pos - Base64) << 2;
+ }
+ state = 1;
+ break;
+ case 1:
+ if (target) {
+ if (tarindex + 1 >= targsize)
+ return (-1);
+ target[tarindex] |= (pos - Base64) >> 4;
+ target[tarindex+1] = ((pos - Base64) & 0x0f)
+ << 4 ;
+ }
+ tarindex++;
+ state = 2;
+ break;
+ case 2:
+ if (target) {
+ if (tarindex + 1 >= targsize)
+ return (-1);
+ target[tarindex] |= (pos - Base64) >> 2;
+ target[tarindex+1] = ((pos - Base64) & 0x03)
+ << 6;
+ }
+ tarindex++;
+ state = 3;
+ break;
+ case 3:
+ if (target) {
+ if (tarindex >= targsize)
+ return (-1);
+ target[tarindex] |= (pos - Base64);
+ }
+ tarindex++;
+ state = 0;
+ break;
+ }
+ }
+
+ /*
+ * We are done decoding Base-64 chars. Let's see if we ended
+ * on a byte boundary, and/or with erroneous trailing characters.
+ */
+
+ if (ch == Pad64) { /* We got a pad char. */
+ ch = *src++; /* Skip it, get next. */
+ switch (state) {
+ case 0: /* Invalid = in first position */
+ case 1: /* Invalid = in second position */
+ return (-1);
+
+ case 2: /* Valid, means one byte of info */
+ /* Skip any number of spaces. */
+ for (; ch != '\0'; ch = *src++)
+ if (!isspace(ch))
+ break;
+ /* Make sure there is another trailing = sign. */
+ if (ch != Pad64)
+ return (-1);
+ ch = *src++; /* Skip the = */
+ /* Fall through to "single trailing =" case. */
+ /* FALLTHROUGH */
+
+ case 3: /* Valid, means two bytes of info */
+ /*
+ * We know this char is an =. Is there anything but
+ * whitespace after it?
+ */
+ for (; ch != '\0'; ch = *src++)
+ if (!isspace(ch))
+ return (-1);
+
+ /*
+ * Now make sure for cases 2 and 3 that the "extra"
+ * bits that slopped past the last full byte were
+ * zeros. If we don't check them, they become a
+ * subliminal channel.
+ */
+ if (target && target[tarindex] != 0)
+ return (-1);
+ }
+ } else {
+ /*
+ * We ended by seeing the end of the string. Make sure we
+ * have no partial bytes lying around.
+ */
+ if (state != 0)
+ return (-1);
+ }
+
+ return (tarindex);
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2012 Université Bordeaux
+ * Copyright © 2011-2015 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <hwloc/helper.h>
+#ifdef HAVE_SYS_MMAN_H
+# include <sys/mman.h>
+#endif
+/* <malloc.h> is only needed if we don't have posix_memalign() */
+#if defined(hwloc_getpagesize) && !defined(HAVE_POSIX_MEMALIGN) && defined(HAVE_MEMALIGN) && defined(HAVE_MALLOC_H)
+#include <malloc.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <stdlib.h>
+#include <errno.h>
+
+/* TODO: HWLOC_GNU_SYS, HWLOC_IRIX_SYS,
+ *
+ * IRIX: see MP_MUSTRUN / _DSM_MUSTRUN, pthread_setrunon_np, /hw, procss_cpulink, numa_create
+ *
+ * We could use glibc's sched_setaffinity generically when it is available
+ *
+ * Darwin and OpenBSD don't seem to have binding facilities.
+ */
+
+static hwloc_const_bitmap_t
+hwloc_fix_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t set)
+{
+ hwloc_const_bitmap_t topology_set = hwloc_topology_get_topology_cpuset(topology);
+ hwloc_const_bitmap_t complete_set = hwloc_topology_get_complete_cpuset(topology);
+
+ if (!topology_set) {
+ /* The topology is composed of several systems, the cpuset is ambiguous. */
+ errno = EXDEV;
+ return NULL;
+ }
+
+ if (hwloc_bitmap_iszero(set)) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ if (!hwloc_bitmap_isincluded(set, complete_set)) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ if (hwloc_bitmap_isincluded(topology_set, set))
+ set = complete_set;
+
+ return set;
+}
+
+int
+hwloc_set_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t set, int flags)
+{
+ set = hwloc_fix_cpubind(topology, set);
+ if (!set)
+ return -1;
+
+ if (flags & HWLOC_CPUBIND_PROCESS) {
+ if (topology->binding_hooks.set_thisproc_cpubind)
+ return topology->binding_hooks.set_thisproc_cpubind(topology, set, flags);
+ } else if (flags & HWLOC_CPUBIND_THREAD) {
+ if (topology->binding_hooks.set_thisthread_cpubind)
+ return topology->binding_hooks.set_thisthread_cpubind(topology, set, flags);
+ } else {
+ if (topology->binding_hooks.set_thisproc_cpubind) {
+ int err = topology->binding_hooks.set_thisproc_cpubind(topology, set, flags);
+ if (err >= 0 || errno != ENOSYS)
+ return err;
+ /* ENOSYS, fallback */
+ }
+ if (topology->binding_hooks.set_thisthread_cpubind)
+ return topology->binding_hooks.set_thisthread_cpubind(topology, set, flags);
+ }
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_cpubind(hwloc_topology_t topology, hwloc_bitmap_t set, int flags)
+{
+ if (flags & HWLOC_CPUBIND_PROCESS) {
+ if (topology->binding_hooks.get_thisproc_cpubind)
+ return topology->binding_hooks.get_thisproc_cpubind(topology, set, flags);
+ } else if (flags & HWLOC_CPUBIND_THREAD) {
+ if (topology->binding_hooks.get_thisthread_cpubind)
+ return topology->binding_hooks.get_thisthread_cpubind(topology, set, flags);
+ } else {
+ if (topology->binding_hooks.get_thisproc_cpubind) {
+ int err = topology->binding_hooks.get_thisproc_cpubind(topology, set, flags);
+ if (err >= 0 || errno != ENOSYS)
+ return err;
+ /* ENOSYS, fallback */
+ }
+ if (topology->binding_hooks.get_thisthread_cpubind)
+ return topology->binding_hooks.get_thisthread_cpubind(topology, set, flags);
+ }
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, int flags)
+{
+ set = hwloc_fix_cpubind(topology, set);
+ if (!set)
+ return -1;
+
+ if (topology->binding_hooks.set_proc_cpubind)
+ return topology->binding_hooks.set_proc_cpubind(topology, pid, set, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, int flags)
+{
+ if (topology->binding_hooks.get_proc_cpubind)
+ return topology->binding_hooks.get_proc_cpubind(topology, pid, set, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+#ifdef hwloc_thread_t
+int
+hwloc_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_const_bitmap_t set, int flags)
+{
+ set = hwloc_fix_cpubind(topology, set);
+ if (!set)
+ return -1;
+
+ if (topology->binding_hooks.set_thread_cpubind)
+ return topology->binding_hooks.set_thread_cpubind(topology, tid, set, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t tid, hwloc_bitmap_t set, int flags)
+{
+ if (topology->binding_hooks.get_thread_cpubind)
+ return topology->binding_hooks.get_thread_cpubind(topology, tid, set, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+#endif
+
+int
+hwloc_get_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t set, int flags)
+{
+ if (flags & HWLOC_CPUBIND_PROCESS) {
+ if (topology->binding_hooks.get_thisproc_last_cpu_location)
+ return topology->binding_hooks.get_thisproc_last_cpu_location(topology, set, flags);
+ } else if (flags & HWLOC_CPUBIND_THREAD) {
+ if (topology->binding_hooks.get_thisthread_last_cpu_location)
+ return topology->binding_hooks.get_thisthread_last_cpu_location(topology, set, flags);
+ } else {
+ if (topology->binding_hooks.get_thisproc_last_cpu_location) {
+ int err = topology->binding_hooks.get_thisproc_last_cpu_location(topology, set, flags);
+ if (err >= 0 || errno != ENOSYS)
+ return err;
+ /* ENOSYS, fallback */
+ }
+ if (topology->binding_hooks.get_thisthread_last_cpu_location)
+ return topology->binding_hooks.get_thisthread_last_cpu_location(topology, set, flags);
+ }
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_proc_last_cpu_location(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, int flags)
+{
+ if (topology->binding_hooks.get_proc_last_cpu_location)
+ return topology->binding_hooks.get_proc_last_cpu_location(topology, pid, set, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+#define HWLOC_MEMBIND_ALLFLAGS (HWLOC_MEMBIND_PROCESS|HWLOC_MEMBIND_THREAD|HWLOC_MEMBIND_STRICT|HWLOC_MEMBIND_MIGRATE|HWLOC_MEMBIND_NOCPUBIND|HWLOC_MEMBIND_BYNODESET)
+
+static hwloc_const_nodeset_t
+hwloc_fix_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset)
+{
+ hwloc_const_bitmap_t topology_nodeset = hwloc_topology_get_topology_nodeset(topology);
+ hwloc_const_bitmap_t complete_nodeset = hwloc_topology_get_complete_nodeset(topology);
+
+ if (!hwloc_topology_get_topology_cpuset(topology)) {
+ /* The topology is composed of several systems, the nodeset is thus
+ * ambiguous. */
+ errno = EXDEV;
+ return NULL;
+ }
+
+ if (!complete_nodeset) {
+ /* There is no NUMA node */
+ errno = ENODEV;
+ return NULL;
+ }
+
+ if (hwloc_bitmap_iszero(nodeset)) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ if (!hwloc_bitmap_isincluded(nodeset, complete_nodeset)) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ if (hwloc_bitmap_isincluded(topology_nodeset, nodeset))
+ return complete_nodeset;
+
+ return nodeset;
+}
+
+static int
+hwloc_fix_membind_cpuset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_const_cpuset_t cpuset)
+{
+ hwloc_const_bitmap_t topology_set = hwloc_topology_get_topology_cpuset(topology);
+ hwloc_const_bitmap_t complete_set = hwloc_topology_get_complete_cpuset(topology);
+ hwloc_const_bitmap_t complete_nodeset = hwloc_topology_get_complete_nodeset(topology);
+
+ if (!topology_set) {
+ /* The topology is composed of several systems, the cpuset is thus
+ * ambiguous. */
+ errno = EXDEV;
+ return -1;
+ }
+
+ if (!complete_nodeset) {
+ /* There is no NUMA node */
+ errno = ENODEV;
+ return -1;
+ }
+
+ if (hwloc_bitmap_iszero(cpuset)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (!hwloc_bitmap_isincluded(cpuset, complete_set)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (hwloc_bitmap_isincluded(topology_set, cpuset)) {
+ hwloc_bitmap_copy(nodeset, complete_nodeset);
+ return 0;
+ }
+
+ hwloc_cpuset_to_nodeset(topology, cpuset, nodeset);
+ return 0;
+}
+
+int
+hwloc_set_membind_nodeset(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ nodeset = hwloc_fix_membind(topology, nodeset);
+ if (!nodeset)
+ return -1;
+
+ if (flags & HWLOC_MEMBIND_PROCESS) {
+ if (topology->binding_hooks.set_thisproc_membind)
+ return topology->binding_hooks.set_thisproc_membind(topology, nodeset, policy, flags);
+ } else if (flags & HWLOC_MEMBIND_THREAD) {
+ if (topology->binding_hooks.set_thisthread_membind)
+ return topology->binding_hooks.set_thisthread_membind(topology, nodeset, policy, flags);
+ } else {
+ if (topology->binding_hooks.set_thisproc_membind) {
+ int err = topology->binding_hooks.set_thisproc_membind(topology, nodeset, policy, flags);
+ if (err >= 0 || errno != ENOSYS)
+ return err;
+ /* ENOSYS, fallback */
+ }
+ if (topology->binding_hooks.set_thisthread_membind)
+ return topology->binding_hooks.set_thisthread_membind(topology, nodeset, policy, flags);
+ }
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_set_membind(hwloc_topology_t topology, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)
+{
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_set_membind_nodeset(topology, set, policy, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ if (hwloc_fix_membind_cpuset(topology, nodeset, set))
+ ret = -1;
+ else
+ ret = hwloc_set_membind_nodeset(topology, nodeset, policy, flags);
+ hwloc_bitmap_free(nodeset);
+ }
+ return ret;
+}
+
+int
+hwloc_get_membind_nodeset(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags)
+{
+ if (flags & HWLOC_MEMBIND_PROCESS) {
+ if (topology->binding_hooks.get_thisproc_membind)
+ return topology->binding_hooks.get_thisproc_membind(topology, nodeset, policy, flags);
+ } else if (flags & HWLOC_MEMBIND_THREAD) {
+ if (topology->binding_hooks.get_thisthread_membind)
+ return topology->binding_hooks.get_thisthread_membind(topology, nodeset, policy, flags);
+ } else {
+ if (topology->binding_hooks.get_thisproc_membind) {
+ int err = topology->binding_hooks.get_thisproc_membind(topology, nodeset, policy, flags);
+ if (err >= 0 || errno != ENOSYS)
+ return err;
+ /* ENOSYS, fallback */
+ }
+ if (topology->binding_hooks.get_thisthread_membind)
+ return topology->binding_hooks.get_thisthread_membind(topology, nodeset, policy, flags);
+ }
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_membind(hwloc_topology_t topology, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags)
+{
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_get_membind_nodeset(topology, set, policy, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ ret = hwloc_get_membind_nodeset(topology, nodeset, policy, flags);
+ if (!ret)
+ hwloc_cpuset_from_nodeset(topology, set, nodeset);
+ hwloc_bitmap_free(nodeset);
+ }
+
+ return ret;
+}
+
+int
+hwloc_set_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ nodeset = hwloc_fix_membind(topology, nodeset);
+ if (!nodeset)
+ return -1;
+
+ if (topology->binding_hooks.set_proc_membind)
+ return topology->binding_hooks.set_proc_membind(topology, pid, nodeset, policy, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+
+int
+hwloc_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)
+{
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_set_proc_membind_nodeset(topology, pid, set, policy, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ if (hwloc_fix_membind_cpuset(topology, nodeset, set))
+ ret = -1;
+ else
+ ret = hwloc_set_proc_membind_nodeset(topology, pid, nodeset, policy, flags);
+ hwloc_bitmap_free(nodeset);
+ }
+
+ return ret;
+}
+
+int
+hwloc_get_proc_membind_nodeset(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags)
+{
+ if (topology->binding_hooks.get_proc_membind)
+ return topology->binding_hooks.get_proc_membind(topology, pid, nodeset, policy, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags)
+{
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_get_proc_membind_nodeset(topology, pid, set, policy, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ ret = hwloc_get_proc_membind_nodeset(topology, pid, nodeset, policy, flags);
+ if (!ret)
+ hwloc_cpuset_from_nodeset(topology, set, nodeset);
+ hwloc_bitmap_free(nodeset);
+ }
+
+ return ret;
+}
+
+int
+hwloc_set_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ if (!len)
+ /* nothing to do */
+ return 0;
+
+ nodeset = hwloc_fix_membind(topology, nodeset);
+ if (!nodeset)
+ return -1;
+
+ if (topology->binding_hooks.set_area_membind)
+ return topology->binding_hooks.set_area_membind(topology, addr, len, nodeset, policy, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)
+{
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_set_area_membind_nodeset(topology, addr, len, set, policy, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ if (hwloc_fix_membind_cpuset(topology, nodeset, set))
+ ret = -1;
+ else
+ ret = hwloc_set_area_membind_nodeset(topology, addr, len, nodeset, policy, flags);
+ hwloc_bitmap_free(nodeset);
+ }
+
+ return ret;
+}
+
+int
+hwloc_get_area_membind_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags)
+{
+ if (!len) {
+ /* nothing to query */
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (topology->binding_hooks.get_area_membind)
+ return topology->binding_hooks.get_area_membind(topology, addr, len, nodeset, policy, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags)
+{
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_get_area_membind_nodeset(topology, addr, len, set, policy, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ ret = hwloc_get_area_membind_nodeset(topology, addr, len, nodeset, policy, flags);
+ if (!ret)
+ hwloc_cpuset_from_nodeset(topology, set, nodeset);
+ hwloc_bitmap_free(nodeset);
+ }
+
+ return ret;
+}
+
+static int
+hwloc_get_area_memlocation_by_nodeset(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags)
+{
+ if (flags & ~HWLOC_MEMBIND_ALLFLAGS) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (!len)
+ /* nothing to do */
+ return 0;
+
+ if (topology->binding_hooks.get_area_memlocation)
+ return topology->binding_hooks.get_area_memlocation(topology, addr, len, nodeset, flags);
+
+ errno = ENOSYS;
+ return -1;
+}
+
+int
+hwloc_get_area_memlocation(hwloc_topology_t topology, const void *addr, size_t len, hwloc_cpuset_t set, int flags)
+{
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_get_area_memlocation_by_nodeset(topology, addr, len, set, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ ret = hwloc_get_area_memlocation_by_nodeset(topology, addr, len, nodeset, flags);
+ if (!ret)
+ hwloc_cpuset_from_nodeset(topology, set, nodeset);
+ hwloc_bitmap_free(nodeset);
+ }
+
+ return ret;
+}
+
+void *
+hwloc_alloc_heap(hwloc_topology_t topology __hwloc_attribute_unused, size_t len)
+{
+ void *p = NULL;
+#if defined(hwloc_getpagesize) && defined(HAVE_POSIX_MEMALIGN)
+ errno = posix_memalign(&p, hwloc_getpagesize(), len);
+ if (errno)
+ p = NULL;
+#elif defined(hwloc_getpagesize) && defined(HAVE_MEMALIGN)
+ p = memalign(hwloc_getpagesize(), len);
+#else
+ p = malloc(len);
+#endif
+ return p;
+}
+
+#ifdef MAP_ANONYMOUS
+void *
+hwloc_alloc_mmap(hwloc_topology_t topology __hwloc_attribute_unused, size_t len)
+{
+ void * buffer = mmap(NULL, len, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
+ return buffer == MAP_FAILED ? NULL : buffer;
+}
+#endif
+
+int
+hwloc_free_heap(hwloc_topology_t topology __hwloc_attribute_unused, void *addr, size_t len __hwloc_attribute_unused)
+{
+ free(addr);
+ return 0;
+}
+
+#ifdef MAP_ANONYMOUS
+int
+hwloc_free_mmap(hwloc_topology_t topology __hwloc_attribute_unused, void *addr, size_t len)
+{
+ if (!addr)
+ return 0;
+ return munmap(addr, len);
+}
+#endif
+
+void *
+hwloc_alloc(hwloc_topology_t topology, size_t len)
+{
+ if (topology->binding_hooks.alloc)
+ return topology->binding_hooks.alloc(topology, len);
+ return hwloc_alloc_heap(topology, len);
+}
+
+void *
+hwloc_alloc_membind_nodeset(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ void *p;
+ nodeset = hwloc_fix_membind(topology, nodeset);
+ if (!nodeset)
+ goto fallback;
+ if (flags & HWLOC_MEMBIND_MIGRATE) {
+ errno = EINVAL;
+ goto fallback;
+ }
+
+ if (topology->binding_hooks.alloc_membind)
+ return topology->binding_hooks.alloc_membind(topology, len, nodeset, policy, flags);
+ else if (topology->binding_hooks.set_area_membind) {
+ p = hwloc_alloc(topology, len);
+ if (!p)
+ return NULL;
+ if (topology->binding_hooks.set_area_membind(topology, p, len, nodeset, policy, flags) && flags & HWLOC_MEMBIND_STRICT) {
+ int error = errno;
+ free(p);
+ errno = error;
+ return NULL;
+ }
+ return p;
+ } else {
+ errno = ENOSYS;
+ }
+
+fallback:
+ if (flags & HWLOC_MEMBIND_STRICT)
+ /* Report error */
+ return NULL;
+ /* Never mind, allocate anyway */
+ return hwloc_alloc(topology, len);
+}
+
+void *
+hwloc_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_bitmap_t set, hwloc_membind_policy_t policy, int flags)
+{
+ void *ret;
+
+ if (flags & HWLOC_MEMBIND_BYNODESET) {
+ ret = hwloc_alloc_membind_nodeset(topology, len, set, policy, flags);
+ } else {
+ hwloc_nodeset_t nodeset = hwloc_bitmap_alloc();
+ if (hwloc_fix_membind_cpuset(topology, nodeset, set)) {
+ if (flags & HWLOC_MEMBIND_STRICT)
+ ret = NULL;
+ else
+ ret = hwloc_alloc(topology, len);
+ } else
+ ret = hwloc_alloc_membind_nodeset(topology, len, nodeset, policy, flags);
+ hwloc_bitmap_free(nodeset);
+ }
+
+ return ret;
+}
+
+int
+hwloc_free(hwloc_topology_t topology, void *addr, size_t len)
+{
+ if (topology->binding_hooks.free_membind)
+ return topology->binding_hooks.free_membind(topology, addr, len);
+ return hwloc_free_heap(topology, addr, len);
+}
+
+/*
+ * Empty binding hooks always returning success
+ */
+
+static int dontset_return_complete_cpuset(hwloc_topology_t topology, hwloc_cpuset_t set)
+{
+ hwloc_const_cpuset_t cpuset = hwloc_topology_get_complete_cpuset(topology);
+ if (cpuset) {
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_cpuset(topology));
+ return 0;
+ } else
+ return -1;
+}
+
+static int dontset_thisthread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_thisthread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_cpuset(topology, set);
+}
+static int dontset_thisproc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_thisproc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_cpuset(topology, set);
+}
+static int dontset_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_bitmap_t cpuset, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_cpuset(topology, cpuset);
+}
+#ifdef hwloc_thread_t
+static int dontset_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid __hwloc_attribute_unused, hwloc_bitmap_t cpuset, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_cpuset(topology, cpuset);
+}
+#endif
+
+static int dontset_return_complete_nodeset(hwloc_topology_t topology, hwloc_nodeset_t set, hwloc_membind_policy_t *policy)
+{
+ hwloc_const_nodeset_t nodeset = hwloc_topology_get_complete_nodeset(topology);
+ if (nodeset) {
+ hwloc_bitmap_copy(set, hwloc_topology_get_complete_nodeset(topology));
+ *policy = HWLOC_MEMBIND_DEFAULT;
+ return 0;
+ } else
+ return -1;
+}
+
+static int dontset_thisproc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_thisproc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_nodeset(topology, set, policy);
+}
+
+static int dontset_thisthread_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_thisthread_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_nodeset(topology, set, policy);
+}
+
+static int dontset_proc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_proc_membind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_nodeset(topology, set, policy);
+}
+
+static int dontset_area_membind(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int dontget_area_membind(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_bitmap_t set, hwloc_membind_policy_t * policy, int flags __hwloc_attribute_unused)
+{
+ return dontset_return_complete_nodeset(topology, set, policy);
+}
+static int dontget_area_memlocation(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_bitmap_t set, int flags __hwloc_attribute_unused)
+{
+ hwloc_membind_policy_t policy;
+ return dontset_return_complete_nodeset(topology, set, &policy);
+}
+
+static void * dontalloc_membind(hwloc_topology_t topology __hwloc_attribute_unused, size_t size __hwloc_attribute_unused, hwloc_const_bitmap_t set __hwloc_attribute_unused, hwloc_membind_policy_t policy __hwloc_attribute_unused, int flags __hwloc_attribute_unused)
+{
+ return malloc(size);
+}
+static int dontfree_membind(hwloc_topology_t topology __hwloc_attribute_unused, void *addr __hwloc_attribute_unused, size_t size __hwloc_attribute_unused)
+{
+ free(addr);
+ return 0;
+}
+
+static void hwloc_set_dummy_hooks(struct hwloc_binding_hooks *hooks,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+ hooks->set_thisproc_cpubind = dontset_thisproc_cpubind;
+ hooks->get_thisproc_cpubind = dontget_thisproc_cpubind;
+ hooks->set_thisthread_cpubind = dontset_thisthread_cpubind;
+ hooks->get_thisthread_cpubind = dontget_thisthread_cpubind;
+ hooks->set_proc_cpubind = dontset_proc_cpubind;
+ hooks->get_proc_cpubind = dontget_proc_cpubind;
+#ifdef hwloc_thread_t
+ hooks->set_thread_cpubind = dontset_thread_cpubind;
+ hooks->get_thread_cpubind = dontget_thread_cpubind;
+#endif
+ hooks->get_thisproc_last_cpu_location = dontget_thisproc_cpubind; /* cpubind instead of last_cpu_location is ok */
+ hooks->get_thisthread_last_cpu_location = dontget_thisthread_cpubind; /* cpubind instead of last_cpu_location is ok */
+ hooks->get_proc_last_cpu_location = dontget_proc_cpubind; /* cpubind instead of last_cpu_location is ok */
+ /* TODO: get_thread_last_cpu_location */
+ hooks->set_thisproc_membind = dontset_thisproc_membind;
+ hooks->get_thisproc_membind = dontget_thisproc_membind;
+ hooks->set_thisthread_membind = dontset_thisthread_membind;
+ hooks->get_thisthread_membind = dontget_thisthread_membind;
+ hooks->set_proc_membind = dontset_proc_membind;
+ hooks->get_proc_membind = dontget_proc_membind;
+ hooks->set_area_membind = dontset_area_membind;
+ hooks->get_area_membind = dontget_area_membind;
+ hooks->get_area_memlocation = dontget_area_memlocation;
+ hooks->alloc_membind = dontalloc_membind;
+ hooks->free_membind = dontfree_membind;
+}
+
+void
+hwloc_set_native_binding_hooks(struct hwloc_binding_hooks *hooks, struct hwloc_topology_support *support)
+{
+# ifdef HWLOC_LINUX_SYS
+ hwloc_set_linuxfs_hooks(hooks, support);
+# endif /* HWLOC_LINUX_SYS */
+
+# ifdef HWLOC_BGQ_SYS
+ hwloc_set_bgq_hooks(hooks, support);
+# endif /* HWLOC_BGQ_SYS */
+
+# ifdef HWLOC_AIX_SYS
+ hwloc_set_aix_hooks(hooks, support);
+# endif /* HWLOC_AIX_SYS */
+
+# ifdef HWLOC_OSF_SYS
+ hwloc_set_osf_hooks(hooks, support);
+# endif /* HWLOC_OSF_SYS */
+
+# ifdef HWLOC_SOLARIS_SYS
+ hwloc_set_solaris_hooks(hooks, support);
+# endif /* HWLOC_SOLARIS_SYS */
+
+# ifdef HWLOC_WIN_SYS
+ hwloc_set_windows_hooks(hooks, support);
+# endif /* HWLOC_WIN_SYS */
+
+# ifdef HWLOC_DARWIN_SYS
+ hwloc_set_darwin_hooks(hooks, support);
+# endif /* HWLOC_DARWIN_SYS */
+
+# ifdef HWLOC_FREEBSD_SYS
+ hwloc_set_freebsd_hooks(hooks, support);
+# endif /* HWLOC_FREEBSD_SYS */
+
+# ifdef HWLOC_NETBSD_SYS
+ hwloc_set_netbsd_hooks(hooks, support);
+# endif /* HWLOC_NETBSD_SYS */
+
+# ifdef HWLOC_HPUX_SYS
+ hwloc_set_hpux_hooks(hooks, support);
+# endif /* HWLOC_HPUX_SYS */
+}
+
+/* If the represented system is actually not this system, use dummy binding hooks. */
+void
+hwloc_set_binding_hooks(struct hwloc_topology *topology)
+{
+ if (topology->is_thissystem) {
+ hwloc_set_native_binding_hooks(&topology->binding_hooks, &topology->support);
+ /* every hook not set above will return ENOSYS */
+ } else {
+ /* not this system, use dummy binding hooks that do nothing (but don't return ENOSYS) */
+ hwloc_set_dummy_hooks(&topology->binding_hooks, &topology->support);
+ }
+
+ /* if not is_thissystem, set_cpubind is fake
+ * and get_cpubind returns the whole system cpuset,
+ * so don't report that set/get_cpubind as supported
+ */
+ if (topology->is_thissystem) {
+#define DO(which,kind) \
+ if (topology->binding_hooks.kind) \
+ topology->support.which##bind->kind = 1;
+ DO(cpu,set_thisproc_cpubind);
+ DO(cpu,get_thisproc_cpubind);
+ DO(cpu,set_proc_cpubind);
+ DO(cpu,get_proc_cpubind);
+ DO(cpu,set_thisthread_cpubind);
+ DO(cpu,get_thisthread_cpubind);
+#ifdef hwloc_thread_t
+ DO(cpu,set_thread_cpubind);
+ DO(cpu,get_thread_cpubind);
+#endif
+ DO(cpu,get_thisproc_last_cpu_location);
+ DO(cpu,get_proc_last_cpu_location);
+ DO(cpu,get_thisthread_last_cpu_location);
+ DO(mem,set_thisproc_membind);
+ DO(mem,get_thisproc_membind);
+ DO(mem,set_thisthread_membind);
+ DO(mem,get_thisthread_membind);
+ DO(mem,set_proc_membind);
+ DO(mem,get_proc_membind);
+ DO(mem,set_area_membind);
+ DO(mem,get_area_membind);
+ DO(mem,get_area_memlocation);
+ DO(mem,alloc_membind);
+ }
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc/autogen/config.h>
+#include <hwloc.h>
+#include <private/misc.h>
+#include <private/private.h>
+#include <hwloc/bitmap.h>
+
+#include <stdarg.h>
+#include <stdio.h>
+#include <assert.h>
+#include <errno.h>
+#include <ctype.h>
+
+/* TODO
+ * - have a way to change the initial allocation size
+ * - preallocate inside the bitmap structure (so that the whole structure is a cacheline for instance)
+ * and allocate a dedicated array only later when reallocating larger
+ */
+
+/* magic number */
+#define HWLOC_BITMAP_MAGIC 0x20091007
+
+/* actual opaque type internals */
+struct hwloc_bitmap_s {
+ unsigned ulongs_count; /* how many ulong bitmasks are valid, >= 1 */
+ unsigned ulongs_allocated; /* how many ulong bitmasks are allocated, >= ulongs_count */
+ unsigned long *ulongs;
+ int infinite; /* set to 1 if all bits beyond ulongs are set */
+#ifdef HWLOC_DEBUG
+ int magic;
+#endif
+};
+
+/* overzealous check in debug-mode, not as powerful as valgrind but still useful */
+#ifdef HWLOC_DEBUG
+#define HWLOC__BITMAP_CHECK(set) do { \
+ assert((set)->magic == HWLOC_BITMAP_MAGIC); \
+ assert((set)->ulongs_count >= 1); \
+ assert((set)->ulongs_allocated >= (set)->ulongs_count); \
+} while (0)
+#else
+#define HWLOC__BITMAP_CHECK(set)
+#endif
+
+/* extract a subset from a set using an index or a cpu */
+#define HWLOC_SUBBITMAP_INDEX(cpu) ((cpu)/(HWLOC_BITS_PER_LONG))
+#define HWLOC_SUBBITMAP_CPU_ULBIT(cpu) ((cpu)%(HWLOC_BITS_PER_LONG))
+/* Read from a bitmap ulong without knowing whether x is valid.
+ * Writers should make sure that x is valid and modify set->ulongs[x] directly.
+ */
+#define HWLOC_SUBBITMAP_READULONG(set,x) ((x) < (set)->ulongs_count ? (set)->ulongs[x] : (set)->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO)
+
+/* predefined subset values */
+#define HWLOC_SUBBITMAP_ZERO 0UL
+#define HWLOC_SUBBITMAP_FULL (~0UL)
+#define HWLOC_SUBBITMAP_ULBIT(bit) (1UL<<(bit))
+#define HWLOC_SUBBITMAP_CPU(cpu) HWLOC_SUBBITMAP_ULBIT(HWLOC_SUBBITMAP_CPU_ULBIT(cpu))
+#define HWLOC_SUBBITMAP_ULBIT_TO(bit) (HWLOC_SUBBITMAP_FULL>>(HWLOC_BITS_PER_LONG-1-(bit)))
+#define HWLOC_SUBBITMAP_ULBIT_FROM(bit) (HWLOC_SUBBITMAP_FULL<<(bit))
+#define HWLOC_SUBBITMAP_ULBIT_FROMTO(begin,end) (HWLOC_SUBBITMAP_ULBIT_TO(end) & HWLOC_SUBBITMAP_ULBIT_FROM(begin))
+
+struct hwloc_bitmap_s * hwloc_bitmap_alloc(void)
+{
+ struct hwloc_bitmap_s * set;
+
+ set = malloc(sizeof(struct hwloc_bitmap_s));
+ if (!set)
+ return NULL;
+
+ set->ulongs_count = 1;
+ set->ulongs_allocated = 64/sizeof(unsigned long);
+ set->ulongs = malloc(64);
+ if (!set->ulongs) {
+ free(set);
+ return NULL;
+ }
+
+ set->ulongs[0] = HWLOC_SUBBITMAP_ZERO;
+ set->infinite = 0;
+#ifdef HWLOC_DEBUG
+ set->magic = HWLOC_BITMAP_MAGIC;
+#endif
+ return set;
+}
+
+struct hwloc_bitmap_s * hwloc_bitmap_alloc_full(void)
+{
+ struct hwloc_bitmap_s * set = hwloc_bitmap_alloc();
+ if (set) {
+ set->infinite = 1;
+ set->ulongs[0] = HWLOC_SUBBITMAP_FULL;
+ }
+ return set;
+}
+
+void hwloc_bitmap_free(struct hwloc_bitmap_s * set)
+{
+ if (!set)
+ return;
+
+ HWLOC__BITMAP_CHECK(set);
+#ifdef HWLOC_DEBUG
+ set->magic = 0;
+#endif
+
+ free(set->ulongs);
+ free(set);
+}
+
+/* enlarge until it contains at least needed_count ulongs.
+ */
+static void
+hwloc_bitmap_enlarge_by_ulongs(struct hwloc_bitmap_s * set, unsigned needed_count)
+{
+ unsigned tmp = 1 << hwloc_flsl((unsigned long) needed_count - 1);
+ if (tmp > set->ulongs_allocated) {
+ set->ulongs = realloc(set->ulongs, tmp * sizeof(unsigned long));
+ assert(set->ulongs);
+ set->ulongs_allocated = tmp;
+ }
+}
+
+/* enlarge until it contains at least needed_count ulongs,
+ * and update new ulongs according to the infinite field.
+ */
+static void
+hwloc_bitmap_realloc_by_ulongs(struct hwloc_bitmap_s * set, unsigned needed_count)
+{
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (needed_count <= set->ulongs_count)
+ return;
+
+ /* realloc larger if needed */
+ hwloc_bitmap_enlarge_by_ulongs(set, needed_count);
+
+ /* fill the newly allocated subset depending on the infinite flag */
+ for(i=set->ulongs_count; i<needed_count; i++)
+ set->ulongs[i] = set->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO;
+ set->ulongs_count = needed_count;
+}
+
+/* realloc until it contains at least cpu+1 bits */
+#define hwloc_bitmap_realloc_by_cpu_index(set, cpu) hwloc_bitmap_realloc_by_ulongs(set, ((cpu)/HWLOC_BITS_PER_LONG)+1)
+
+/* reset a bitmap to exactely the needed size.
+ * the caller must reinitialize all ulongs and the infinite flag later.
+ */
+static void
+hwloc_bitmap_reset_by_ulongs(struct hwloc_bitmap_s * set, unsigned needed_count)
+{
+ hwloc_bitmap_enlarge_by_ulongs(set, needed_count);
+ set->ulongs_count = needed_count;
+}
+
+/* reset until it contains exactly cpu+1 bits (roundup to a ulong).
+ * the caller must reinitialize all ulongs and the infinite flag later.
+ */
+#define hwloc_bitmap_reset_by_cpu_index(set, cpu) hwloc_bitmap_reset_by_ulongs(set, ((cpu)/HWLOC_BITS_PER_LONG)+1)
+
+struct hwloc_bitmap_s * hwloc_bitmap_dup(const struct hwloc_bitmap_s * old)
+{
+ struct hwloc_bitmap_s * new;
+
+ if (!old)
+ return NULL;
+
+ HWLOC__BITMAP_CHECK(old);
+
+ new = malloc(sizeof(struct hwloc_bitmap_s));
+ if (!new)
+ return NULL;
+
+ new->ulongs = malloc(old->ulongs_allocated * sizeof(unsigned long));
+ if (!new->ulongs) {
+ free(new);
+ return NULL;
+ }
+ new->ulongs_allocated = old->ulongs_allocated;
+ new->ulongs_count = old->ulongs_count;
+ memcpy(new->ulongs, old->ulongs, new->ulongs_count * sizeof(unsigned long));
+ new->infinite = old->infinite;
+#ifdef HWLOC_DEBUG
+ new->magic = HWLOC_BITMAP_MAGIC;
+#endif
+ return new;
+}
+
+void hwloc_bitmap_copy(struct hwloc_bitmap_s * dst, const struct hwloc_bitmap_s * src)
+{
+ HWLOC__BITMAP_CHECK(dst);
+ HWLOC__BITMAP_CHECK(src);
+
+ hwloc_bitmap_reset_by_ulongs(dst, src->ulongs_count);
+
+ memcpy(dst->ulongs, src->ulongs, src->ulongs_count * sizeof(unsigned long));
+ dst->infinite = src->infinite;
+}
+
+/* Strings always use 32bit groups */
+#define HWLOC_PRIxSUBBITMAP "%08lx"
+#define HWLOC_BITMAP_SUBSTRING_SIZE 32
+#define HWLOC_BITMAP_SUBSTRING_LENGTH (HWLOC_BITMAP_SUBSTRING_SIZE/4)
+#define HWLOC_BITMAP_STRING_PER_LONG (HWLOC_BITS_PER_LONG/HWLOC_BITMAP_SUBSTRING_SIZE)
+
+int hwloc_bitmap_snprintf(char * __hwloc_restrict buf, size_t buflen, const struct hwloc_bitmap_s * __hwloc_restrict set)
+{
+ ssize_t size = buflen;
+ char *tmp = buf;
+ int res, ret = 0;
+ int needcomma = 0;
+ int i;
+ unsigned long accum = 0;
+ int accumed = 0;
+#if HWLOC_BITS_PER_LONG == HWLOC_BITMAP_SUBSTRING_SIZE
+ const unsigned long accum_mask = ~0UL;
+#else /* HWLOC_BITS_PER_LONG != HWLOC_BITMAP_SUBSTRING_SIZE */
+ const unsigned long accum_mask = ((1UL << HWLOC_BITMAP_SUBSTRING_SIZE) - 1) << (HWLOC_BITS_PER_LONG - HWLOC_BITMAP_SUBSTRING_SIZE);
+#endif /* HWLOC_BITS_PER_LONG != HWLOC_BITMAP_SUBSTRING_SIZE */
+
+ HWLOC__BITMAP_CHECK(set);
+
+ /* mark the end in case we do nothing later */
+ if (buflen > 0)
+ tmp[0] = '\0';
+
+ if (set->infinite) {
+ res = hwloc_snprintf(tmp, size, "0xf...f");
+ needcomma = 1;
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= size)
+ res = size>0 ? (int)size - 1 : 0;
+ tmp += res;
+ size -= res;
+ }
+
+ i=set->ulongs_count-1;
+
+ if (set->infinite) {
+ /* ignore starting FULL since we have 0xf...f already */
+ while (i>=0 && set->ulongs[i] == HWLOC_SUBBITMAP_FULL)
+ i--;
+ } else {
+ /* ignore starting ZERO except the last one */
+ while (i>=0 && set->ulongs[i] == HWLOC_SUBBITMAP_ZERO)
+ i--;
+ }
+
+ while (i>=0 || accumed) {
+ /* Refill accumulator */
+ if (!accumed) {
+ accum = set->ulongs[i--];
+ accumed = HWLOC_BITS_PER_LONG;
+ }
+
+ if (accum & accum_mask) {
+ /* print the whole subset if not empty */
+ res = hwloc_snprintf(tmp, size, needcomma ? ",0x" HWLOC_PRIxSUBBITMAP : "0x" HWLOC_PRIxSUBBITMAP,
+ (accum & accum_mask) >> (HWLOC_BITS_PER_LONG - HWLOC_BITMAP_SUBSTRING_SIZE));
+ needcomma = 1;
+ } else if (i == -1 && accumed == HWLOC_BITMAP_SUBSTRING_SIZE) {
+ /* print a single 0 to mark the last subset */
+ res = hwloc_snprintf(tmp, size, needcomma ? ",0x0" : "0x0");
+ } else if (needcomma) {
+ res = hwloc_snprintf(tmp, size, ",");
+ } else {
+ res = 0;
+ }
+ if (res < 0)
+ return -1;
+ ret += res;
+
+#if HWLOC_BITS_PER_LONG == HWLOC_BITMAP_SUBSTRING_SIZE
+ accum = 0;
+ accumed = 0;
+#else
+ accum <<= HWLOC_BITMAP_SUBSTRING_SIZE;
+ accumed -= HWLOC_BITMAP_SUBSTRING_SIZE;
+#endif
+
+ if (res >= size)
+ res = size>0 ? (int)size - 1 : 0;
+
+ tmp += res;
+ size -= res;
+ }
+
+ /* if didn't display anything, display 0x0 */
+ if (!ret) {
+ res = hwloc_snprintf(tmp, size, "0x0");
+ if (res < 0)
+ return -1;
+ ret += res;
+ }
+
+ return ret;
+}
+
+int hwloc_bitmap_asprintf(char ** strp, const struct hwloc_bitmap_s * __hwloc_restrict set)
+{
+ int len;
+ char *buf;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ len = hwloc_bitmap_snprintf(NULL, 0, set);
+ buf = malloc(len+1);
+ if (!buf)
+ return -1;
+ *strp = buf;
+ return hwloc_bitmap_snprintf(buf, len+1, set);
+}
+
+int hwloc_bitmap_sscanf(struct hwloc_bitmap_s *set, const char * __hwloc_restrict string)
+{
+ const char * current = string;
+ unsigned long accum = 0;
+ int count=0;
+ int infinite = 0;
+
+ /* count how many substrings there are */
+ count++;
+ while ((current = strchr(current+1, ',')) != NULL)
+ count++;
+
+ current = string;
+ if (!strncmp("0xf...f", current, 7)) {
+ current += 7;
+ if (*current != ',') {
+ /* special case for infinite/full bitmap */
+ hwloc_bitmap_fill(set);
+ return 0;
+ }
+ current++;
+ infinite = 1;
+ count--;
+ }
+
+ hwloc_bitmap_reset_by_ulongs(set, (count + HWLOC_BITMAP_STRING_PER_LONG - 1) / HWLOC_BITMAP_STRING_PER_LONG);
+ set->infinite = 0;
+
+ while (*current != '\0') {
+ unsigned long val;
+ char *next;
+ val = strtoul(current, &next, 16);
+
+ assert(count > 0);
+ count--;
+
+ accum |= (val << ((count * HWLOC_BITMAP_SUBSTRING_SIZE) % HWLOC_BITS_PER_LONG));
+ if (!(count % HWLOC_BITMAP_STRING_PER_LONG)) {
+ set->ulongs[count / HWLOC_BITMAP_STRING_PER_LONG] = accum;
+ accum = 0;
+ }
+
+ if (*next != ',') {
+ if (*next || count > 0)
+ goto failed;
+ else
+ break;
+ }
+ current = (const char*) next+1;
+ }
+
+ set->infinite = infinite; /* set at the end, to avoid spurious realloc with filled new ulongs */
+
+ return 0;
+
+ failed:
+ /* failure to parse */
+ hwloc_bitmap_zero(set);
+ return -1;
+}
+
+int hwloc_bitmap_list_snprintf(char * __hwloc_restrict buf, size_t buflen, const struct hwloc_bitmap_s * __hwloc_restrict set)
+{
+ int prev = -1;
+ hwloc_bitmap_t reverse;
+ ssize_t size = buflen;
+ char *tmp = buf;
+ int res, ret = 0;
+ int needcomma = 0;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ reverse = hwloc_bitmap_alloc(); /* FIXME: add hwloc_bitmap_alloc_size() + hwloc_bitmap_init_allocated() to avoid malloc? */
+ hwloc_bitmap_not(reverse, set);
+
+ /* mark the end in case we do nothing later */
+ if (buflen > 0)
+ tmp[0] = '\0';
+
+ while (1) {
+ int begin, end;
+
+ begin = hwloc_bitmap_next(set, prev);
+ if (begin == -1)
+ break;
+ end = hwloc_bitmap_next(reverse, begin);
+
+ if (end == begin+1) {
+ res = hwloc_snprintf(tmp, size, needcomma ? ",%d" : "%d", begin);
+ } else if (end == -1) {
+ res = hwloc_snprintf(tmp, size, needcomma ? ",%d-" : "%d-", begin);
+ } else {
+ res = hwloc_snprintf(tmp, size, needcomma ? ",%d-%d" : "%d-%d", begin, end-1);
+ }
+ if (res < 0) {
+ hwloc_bitmap_free(reverse);
+ return -1;
+ }
+ ret += res;
+
+ if (res >= size)
+ res = size>0 ? (int)size - 1 : 0;
+
+ tmp += res;
+ size -= res;
+ needcomma = 1;
+
+ if (end == -1)
+ break;
+ else
+ prev = end - 1;
+ }
+
+ hwloc_bitmap_free(reverse);
+
+ return ret;
+}
+
+int hwloc_bitmap_list_asprintf(char ** strp, const struct hwloc_bitmap_s * __hwloc_restrict set)
+{
+ int len;
+ char *buf;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ len = hwloc_bitmap_list_snprintf(NULL, 0, set);
+ buf = malloc(len+1);
+ if (!buf)
+ return -1;
+ *strp = buf;
+ return hwloc_bitmap_list_snprintf(buf, len+1, set);
+}
+
+int hwloc_bitmap_list_sscanf(struct hwloc_bitmap_s *set, const char * __hwloc_restrict string)
+{
+ const char * current = string;
+ char *next;
+ long begin = -1, val;
+
+ hwloc_bitmap_zero(set);
+
+ while (*current != '\0') {
+
+ /* ignore empty ranges */
+ while (*current == ',' || *current == ' ')
+ current++;
+
+ val = strtoul(current, &next, 0);
+ /* make sure we got at least one digit */
+ if (next == current)
+ goto failed;
+
+ if (begin != -1) {
+ /* finishing a range */
+ hwloc_bitmap_set_range(set, begin, val);
+ begin = -1;
+
+ } else if (*next == '-') {
+ /* starting a new range */
+ if (*(next+1) == '\0') {
+ /* infinite range */
+ hwloc_bitmap_set_range(set, val, -1);
+ break;
+ } else {
+ /* normal range */
+ begin = val;
+ }
+
+ } else if (*next == ',' || *next == ' ' || *next == '\0') {
+ /* single digit */
+ hwloc_bitmap_set(set, val);
+ }
+
+ if (*next == '\0')
+ break;
+ current = next+1;
+ }
+
+ return 0;
+
+ failed:
+ /* failure to parse */
+ hwloc_bitmap_zero(set);
+ return -1;
+}
+
+int hwloc_bitmap_taskset_snprintf(char * __hwloc_restrict buf, size_t buflen, const struct hwloc_bitmap_s * __hwloc_restrict set)
+{
+ ssize_t size = buflen;
+ char *tmp = buf;
+ int res, ret = 0;
+ int started = 0;
+ int i;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ /* mark the end in case we do nothing later */
+ if (buflen > 0)
+ tmp[0] = '\0';
+
+ if (set->infinite) {
+ res = hwloc_snprintf(tmp, size, "0xf...f");
+ started = 1;
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= size)
+ res = size>0 ? (int)size - 1 : 0;
+ tmp += res;
+ size -= res;
+ }
+
+ i=set->ulongs_count-1;
+
+ if (set->infinite) {
+ /* ignore starting FULL since we have 0xf...f already */
+ while (i>=0 && set->ulongs[i] == HWLOC_SUBBITMAP_FULL)
+ i--;
+ } else {
+ /* ignore starting ZERO except the last one */
+ while (i>=1 && set->ulongs[i] == HWLOC_SUBBITMAP_ZERO)
+ i--;
+ }
+
+ while (i>=0) {
+ unsigned long val = set->ulongs[i--];
+ if (started) {
+ /* print the whole subset */
+#if HWLOC_BITS_PER_LONG == 64
+ res = hwloc_snprintf(tmp, size, "%016lx", val);
+#else
+ res = hwloc_snprintf(tmp, size, "%08lx", val);
+#endif
+ } else if (val || i == -1) {
+ res = hwloc_snprintf(tmp, size, "0x%lx", val);
+ started = 1;
+ } else {
+ res = 0;
+ }
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= size)
+ res = size>0 ? (int)size - 1 : 0;
+ tmp += res;
+ size -= res;
+ }
+
+ /* if didn't display anything, display 0x0 */
+ if (!ret) {
+ res = hwloc_snprintf(tmp, size, "0x0");
+ if (res < 0)
+ return -1;
+ ret += res;
+ }
+
+ return ret;
+}
+
+int hwloc_bitmap_taskset_asprintf(char ** strp, const struct hwloc_bitmap_s * __hwloc_restrict set)
+{
+ int len;
+ char *buf;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ len = hwloc_bitmap_taskset_snprintf(NULL, 0, set);
+ buf = malloc(len+1);
+ if (!buf)
+ return -1;
+ *strp = buf;
+ return hwloc_bitmap_taskset_snprintf(buf, len+1, set);
+}
+
+int hwloc_bitmap_taskset_sscanf(struct hwloc_bitmap_s *set, const char * __hwloc_restrict string)
+{
+ const char * current = string;
+ int chars;
+ int count;
+ int infinite = 0;
+
+ if (!strncmp("0xf...f", current, 7)) {
+ /* infinite bitmap */
+ infinite = 1;
+ current += 7;
+ if (*current == '\0') {
+ /* special case for infinite/full bitmap */
+ hwloc_bitmap_fill(set);
+ return 0;
+ }
+ } else {
+ /* finite bitmap */
+ if (!strncmp("0x", current, 2))
+ current += 2;
+ if (*current == '\0') {
+ /* special case for empty bitmap */
+ hwloc_bitmap_zero(set);
+ return 0;
+ }
+ }
+ /* we know there are other characters now */
+
+ chars = (int)strlen(current);
+ count = (chars * 4 + HWLOC_BITS_PER_LONG - 1) / HWLOC_BITS_PER_LONG;
+
+ hwloc_bitmap_reset_by_ulongs(set, count);
+ set->infinite = 0;
+
+ while (*current != '\0') {
+ int tmpchars;
+ char ustr[17];
+ unsigned long val;
+ char *next;
+
+ tmpchars = chars % (HWLOC_BITS_PER_LONG/4);
+ if (!tmpchars)
+ tmpchars = (HWLOC_BITS_PER_LONG/4);
+
+ memcpy(ustr, current, tmpchars);
+ ustr[tmpchars] = '\0';
+ val = strtoul(ustr, &next, 16);
+ if (*next != '\0')
+ goto failed;
+
+ set->ulongs[count-1] = val;
+
+ current += tmpchars;
+ chars -= tmpchars;
+ count--;
+ }
+
+ set->infinite = infinite; /* set at the end, to avoid spurious realloc with filled new ulongs */
+
+ return 0;
+
+ failed:
+ /* failure to parse */
+ hwloc_bitmap_zero(set);
+ return -1;
+}
+
+static void hwloc_bitmap__zero(struct hwloc_bitmap_s *set)
+{
+ unsigned i;
+ for(i=0; i<set->ulongs_count; i++)
+ set->ulongs[i] = HWLOC_SUBBITMAP_ZERO;
+ set->infinite = 0;
+}
+
+void hwloc_bitmap_zero(struct hwloc_bitmap_s * set)
+{
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_reset_by_ulongs(set, 1);
+ hwloc_bitmap__zero(set);
+}
+
+static void hwloc_bitmap__fill(struct hwloc_bitmap_s * set)
+{
+ unsigned i;
+ for(i=0; i<set->ulongs_count; i++)
+ set->ulongs[i] = HWLOC_SUBBITMAP_FULL;
+ set->infinite = 1;
+}
+
+void hwloc_bitmap_fill(struct hwloc_bitmap_s * set)
+{
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_reset_by_ulongs(set, 1);
+ hwloc_bitmap__fill(set);
+}
+
+void hwloc_bitmap_from_ulong(struct hwloc_bitmap_s *set, unsigned long mask)
+{
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_reset_by_ulongs(set, 1);
+ set->ulongs[0] = mask; /* there's always at least one ulong allocated */
+ set->infinite = 0;
+}
+
+void hwloc_bitmap_from_ith_ulong(struct hwloc_bitmap_s *set, unsigned i, unsigned long mask)
+{
+ unsigned j;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_reset_by_ulongs(set, i+1);
+ set->ulongs[i] = mask;
+ for(j=0; j<i; j++)
+ set->ulongs[j] = HWLOC_SUBBITMAP_ZERO;
+ set->infinite = 0;
+}
+
+unsigned long hwloc_bitmap_to_ulong(const struct hwloc_bitmap_s *set)
+{
+ HWLOC__BITMAP_CHECK(set);
+
+ return set->ulongs[0]; /* there's always at least one ulong allocated */
+}
+
+unsigned long hwloc_bitmap_to_ith_ulong(const struct hwloc_bitmap_s *set, unsigned i)
+{
+ HWLOC__BITMAP_CHECK(set);
+
+ return HWLOC_SUBBITMAP_READULONG(set, i);
+}
+
+void hwloc_bitmap_only(struct hwloc_bitmap_s * set, unsigned cpu)
+{
+ unsigned index_ = HWLOC_SUBBITMAP_INDEX(cpu);
+
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_reset_by_cpu_index(set, cpu);
+ hwloc_bitmap__zero(set);
+ set->ulongs[index_] |= HWLOC_SUBBITMAP_CPU(cpu);
+}
+
+void hwloc_bitmap_allbut(struct hwloc_bitmap_s * set, unsigned cpu)
+{
+ unsigned index_ = HWLOC_SUBBITMAP_INDEX(cpu);
+
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_reset_by_cpu_index(set, cpu);
+ hwloc_bitmap__fill(set);
+ set->ulongs[index_] &= ~HWLOC_SUBBITMAP_CPU(cpu);
+}
+
+void hwloc_bitmap_set(struct hwloc_bitmap_s * set, unsigned cpu)
+{
+ unsigned index_ = HWLOC_SUBBITMAP_INDEX(cpu);
+
+ HWLOC__BITMAP_CHECK(set);
+
+ /* nothing to do if setting inside the infinite part of the bitmap */
+ if (set->infinite && cpu >= set->ulongs_count * HWLOC_BITS_PER_LONG)
+ return;
+
+ hwloc_bitmap_realloc_by_cpu_index(set, cpu);
+ set->ulongs[index_] |= HWLOC_SUBBITMAP_CPU(cpu);
+}
+
+void hwloc_bitmap_set_range(struct hwloc_bitmap_s * set, unsigned begincpu, int _endcpu)
+{
+ unsigned i;
+ unsigned beginset,endset;
+ unsigned endcpu = (unsigned) _endcpu;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (endcpu < begincpu)
+ return;
+ if (set->infinite && begincpu >= set->ulongs_count * HWLOC_BITS_PER_LONG)
+ /* setting only in the already-set infinite part, nothing to do */
+ return;
+
+ if (_endcpu == -1) {
+ /* infinite range */
+
+ /* make sure we can play with the ulong that contains begincpu */
+ hwloc_bitmap_realloc_by_cpu_index(set, begincpu);
+ /* update the ulong that contains begincpu */
+ beginset = HWLOC_SUBBITMAP_INDEX(begincpu);
+ set->ulongs[beginset] |= HWLOC_SUBBITMAP_ULBIT_FROM(HWLOC_SUBBITMAP_CPU_ULBIT(begincpu));
+ /* set ulongs after begincpu if any already allocated */
+ for(i=beginset+1; i<set->ulongs_count; i++)
+ set->ulongs[i] = HWLOC_SUBBITMAP_FULL;
+ /* mark the infinity as set */
+ set->infinite = 1;
+ } else {
+ /* finite range */
+
+ /* ignore the part of the range that overlaps with the already-set infinite part */
+ if (set->infinite && endcpu >= set->ulongs_count * HWLOC_BITS_PER_LONG)
+ endcpu = set->ulongs_count * HWLOC_BITS_PER_LONG - 1;
+ /* make sure we can play with the ulongs that contain begincpu and endcpu */
+ hwloc_bitmap_realloc_by_cpu_index(set, endcpu);
+ /* update first and last ulongs */
+ beginset = HWLOC_SUBBITMAP_INDEX(begincpu);
+ endset = HWLOC_SUBBITMAP_INDEX(endcpu);
+ if (beginset == endset) {
+ set->ulongs[beginset] |= HWLOC_SUBBITMAP_ULBIT_FROMTO(HWLOC_SUBBITMAP_CPU_ULBIT(begincpu), HWLOC_SUBBITMAP_CPU_ULBIT(endcpu));
+ } else {
+ set->ulongs[beginset] |= HWLOC_SUBBITMAP_ULBIT_FROM(HWLOC_SUBBITMAP_CPU_ULBIT(begincpu));
+ set->ulongs[endset] |= HWLOC_SUBBITMAP_ULBIT_TO(HWLOC_SUBBITMAP_CPU_ULBIT(endcpu));
+ }
+ /* set ulongs in the middle of the range */
+ for(i=beginset+1; i<endset; i++)
+ set->ulongs[i] = HWLOC_SUBBITMAP_FULL;
+ }
+}
+
+void hwloc_bitmap_set_ith_ulong(struct hwloc_bitmap_s *set, unsigned i, unsigned long mask)
+{
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_realloc_by_ulongs(set, i+1);
+ set->ulongs[i] = mask;
+}
+
+void hwloc_bitmap_clr(struct hwloc_bitmap_s * set, unsigned cpu)
+{
+ unsigned index_ = HWLOC_SUBBITMAP_INDEX(cpu);
+
+ HWLOC__BITMAP_CHECK(set);
+
+ /* nothing to do if clearing inside the infinitely-unset part of the bitmap */
+ if (!set->infinite && cpu >= set->ulongs_count * HWLOC_BITS_PER_LONG)
+ return;
+
+ hwloc_bitmap_realloc_by_cpu_index(set, cpu);
+ set->ulongs[index_] &= ~HWLOC_SUBBITMAP_CPU(cpu);
+}
+
+void hwloc_bitmap_clr_range(struct hwloc_bitmap_s * set, unsigned begincpu, int _endcpu)
+{
+ unsigned i;
+ unsigned beginset,endset;
+ unsigned endcpu = (unsigned) _endcpu;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (endcpu < begincpu)
+ return;
+
+ if (!set->infinite && begincpu >= set->ulongs_count * HWLOC_BITS_PER_LONG)
+ /* clearing only in the already-unset infinite part, nothing to do */
+ return;
+
+ if (_endcpu == -1) {
+ /* infinite range */
+
+ /* make sure we can play with the ulong that contains begincpu */
+ hwloc_bitmap_realloc_by_cpu_index(set, begincpu);
+ /* update the ulong that contains begincpu */
+ beginset = HWLOC_SUBBITMAP_INDEX(begincpu);
+ set->ulongs[beginset] &= ~HWLOC_SUBBITMAP_ULBIT_FROM(HWLOC_SUBBITMAP_CPU_ULBIT(begincpu));
+ /* clear ulong after begincpu if any already allocated */
+ for(i=beginset+1; i<set->ulongs_count; i++)
+ set->ulongs[i] = HWLOC_SUBBITMAP_ZERO;
+ /* mark the infinity as unset */
+ set->infinite = 0;
+ } else {
+ /* finite range */
+
+ /* ignore the part of the range that overlaps with the already-unset infinite part */
+ if (!set->infinite && endcpu >= set->ulongs_count * HWLOC_BITS_PER_LONG)
+ endcpu = set->ulongs_count * HWLOC_BITS_PER_LONG - 1;
+ /* make sure we can play with the ulongs that contain begincpu and endcpu */
+ hwloc_bitmap_realloc_by_cpu_index(set, endcpu);
+ /* update first and last ulongs */
+ beginset = HWLOC_SUBBITMAP_INDEX(begincpu);
+ endset = HWLOC_SUBBITMAP_INDEX(endcpu);
+ if (beginset == endset) {
+ set->ulongs[beginset] &= ~HWLOC_SUBBITMAP_ULBIT_FROMTO(HWLOC_SUBBITMAP_CPU_ULBIT(begincpu), HWLOC_SUBBITMAP_CPU_ULBIT(endcpu));
+ } else {
+ set->ulongs[beginset] &= ~HWLOC_SUBBITMAP_ULBIT_FROM(HWLOC_SUBBITMAP_CPU_ULBIT(begincpu));
+ set->ulongs[endset] &= ~HWLOC_SUBBITMAP_ULBIT_TO(HWLOC_SUBBITMAP_CPU_ULBIT(endcpu));
+ }
+ /* clear ulongs in the middle of the range */
+ for(i=beginset+1; i<endset; i++)
+ set->ulongs[i] = HWLOC_SUBBITMAP_ZERO;
+ }
+}
+
+int hwloc_bitmap_isset(const struct hwloc_bitmap_s * set, unsigned cpu)
+{
+ unsigned index_ = HWLOC_SUBBITMAP_INDEX(cpu);
+
+ HWLOC__BITMAP_CHECK(set);
+
+ return (HWLOC_SUBBITMAP_READULONG(set, index_) & HWLOC_SUBBITMAP_CPU(cpu)) != 0;
+}
+
+int hwloc_bitmap_iszero(const struct hwloc_bitmap_s *set)
+{
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (set->infinite)
+ return 0;
+ for(i=0; i<set->ulongs_count; i++)
+ if (set->ulongs[i] != HWLOC_SUBBITMAP_ZERO)
+ return 0;
+ return 1;
+}
+
+int hwloc_bitmap_isfull(const struct hwloc_bitmap_s *set)
+{
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (!set->infinite)
+ return 0;
+ for(i=0; i<set->ulongs_count; i++)
+ if (set->ulongs[i] != HWLOC_SUBBITMAP_FULL)
+ return 0;
+ return 1;
+}
+
+int hwloc_bitmap_isequal (const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2)
+{
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned min_count = count1 < count2 ? count1 : count2;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ for(i=0; i<min_count; i++)
+ if (set1->ulongs[i] != set2->ulongs[i])
+ return 0;
+
+ if (count1 != count2) {
+ unsigned long w1 = set1->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO;
+ unsigned long w2 = set2->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO;
+ for(i=min_count; i<count1; i++) {
+ if (set1->ulongs[i] != w2)
+ return 0;
+ }
+ for(i=min_count; i<count2; i++) {
+ if (set2->ulongs[i] != w1)
+ return 0;
+ }
+ }
+
+ if (set1->infinite != set2->infinite)
+ return 0;
+
+ return 1;
+}
+
+int hwloc_bitmap_intersects (const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2)
+{
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned min_count = count1 < count2 ? count1 : count2;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ for(i=0; i<min_count; i++)
+ if (set1->ulongs[i] & set2->ulongs[i])
+ return 1;
+
+ if (count1 != count2) {
+ if (set2->infinite) {
+ for(i=min_count; i<set1->ulongs_count; i++)
+ if (set1->ulongs[i])
+ return 1;
+ }
+ if (set1->infinite) {
+ for(i=min_count; i<set2->ulongs_count; i++)
+ if (set2->ulongs[i])
+ return 1;
+ }
+ }
+
+ if (set1->infinite && set2->infinite)
+ return 1;
+
+ return 0;
+}
+
+int hwloc_bitmap_isincluded (const struct hwloc_bitmap_s *sub_set, const struct hwloc_bitmap_s *super_set)
+{
+ unsigned super_count = super_set->ulongs_count;
+ unsigned sub_count = sub_set->ulongs_count;
+ unsigned min_count = super_count < sub_count ? super_count : sub_count;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(sub_set);
+ HWLOC__BITMAP_CHECK(super_set);
+
+ for(i=0; i<min_count; i++)
+ if (super_set->ulongs[i] != (super_set->ulongs[i] | sub_set->ulongs[i]))
+ return 0;
+
+ if (super_count != sub_count) {
+ if (!super_set->infinite)
+ for(i=min_count; i<sub_count; i++)
+ if (sub_set->ulongs[i])
+ return 0;
+ if (sub_set->infinite)
+ for(i=min_count; i<super_count; i++)
+ if (super_set->ulongs[i] != HWLOC_SUBBITMAP_FULL)
+ return 0;
+ }
+
+ if (sub_set->infinite && !super_set->infinite)
+ return 0;
+
+ return 1;
+}
+
+void hwloc_bitmap_or (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2)
+{
+ /* cache counts so that we can reset res even if it's also set1 or set2 */
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned max_count = count1 > count2 ? count1 : count2;
+ unsigned min_count = count1 + count2 - max_count;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(res);
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ hwloc_bitmap_reset_by_ulongs(res, max_count);
+
+ for(i=0; i<min_count; i++)
+ res->ulongs[i] = set1->ulongs[i] | set2->ulongs[i];
+
+ if (count1 != count2) {
+ if (min_count < count1) {
+ if (set2->infinite) {
+ res->ulongs_count = min_count;
+ } else {
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = set1->ulongs[i];
+ }
+ } else {
+ if (set1->infinite) {
+ res->ulongs_count = min_count;
+ } else {
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = set2->ulongs[i];
+ }
+ }
+ }
+
+ res->infinite = set1->infinite || set2->infinite;
+}
+
+void hwloc_bitmap_and (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2)
+{
+ /* cache counts so that we can reset res even if it's also set1 or set2 */
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned max_count = count1 > count2 ? count1 : count2;
+ unsigned min_count = count1 + count2 - max_count;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(res);
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ hwloc_bitmap_reset_by_ulongs(res, max_count);
+
+ for(i=0; i<min_count; i++)
+ res->ulongs[i] = set1->ulongs[i] & set2->ulongs[i];
+
+ if (count1 != count2) {
+ if (min_count < count1) {
+ if (set2->infinite) {
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = set1->ulongs[i];
+ } else {
+ res->ulongs_count = min_count;
+ }
+ } else {
+ if (set1->infinite) {
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = set2->ulongs[i];
+ } else {
+ res->ulongs_count = min_count;
+ }
+ }
+ }
+
+ res->infinite = set1->infinite && set2->infinite;
+}
+
+void hwloc_bitmap_andnot (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2)
+{
+ /* cache counts so that we can reset res even if it's also set1 or set2 */
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned max_count = count1 > count2 ? count1 : count2;
+ unsigned min_count = count1 + count2 - max_count;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(res);
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ hwloc_bitmap_reset_by_ulongs(res, max_count);
+
+ for(i=0; i<min_count; i++)
+ res->ulongs[i] = set1->ulongs[i] & ~set2->ulongs[i];
+
+ if (count1 != count2) {
+ if (min_count < count1) {
+ if (!set2->infinite) {
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = set1->ulongs[i];
+ } else {
+ res->ulongs_count = min_count;
+ }
+ } else {
+ if (set1->infinite) {
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = ~set2->ulongs[i];
+ } else {
+ res->ulongs_count = min_count;
+ }
+ }
+ }
+
+ res->infinite = set1->infinite && !set2->infinite;
+}
+
+void hwloc_bitmap_xor (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set1, const struct hwloc_bitmap_s *set2)
+{
+ /* cache counts so that we can reset res even if it's also set1 or set2 */
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned max_count = count1 > count2 ? count1 : count2;
+ unsigned min_count = count1 + count2 - max_count;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(res);
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ hwloc_bitmap_reset_by_ulongs(res, max_count);
+
+ for(i=0; i<min_count; i++)
+ res->ulongs[i] = set1->ulongs[i] ^ set2->ulongs[i];
+
+ if (count1 != count2) {
+ if (min_count < count1) {
+ unsigned long w2 = set2->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO;
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = set1->ulongs[i] ^ w2;
+ } else {
+ unsigned long w1 = set1->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO;
+ for(i=min_count; i<max_count; i++)
+ res->ulongs[i] = set2->ulongs[i] ^ w1;
+ }
+ }
+
+ res->infinite = (!set1->infinite) != (!set2->infinite);
+}
+
+void hwloc_bitmap_not (struct hwloc_bitmap_s *res, const struct hwloc_bitmap_s *set)
+{
+ unsigned count = set->ulongs_count;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(res);
+ HWLOC__BITMAP_CHECK(set);
+
+ hwloc_bitmap_reset_by_ulongs(res, count);
+
+ for(i=0; i<count; i++)
+ res->ulongs[i] = ~set->ulongs[i];
+
+ res->infinite = !set->infinite;
+}
+
+int hwloc_bitmap_first(const struct hwloc_bitmap_s * set)
+{
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ for(i=0; i<set->ulongs_count; i++) {
+ /* subsets are unsigned longs, use ffsl */
+ unsigned long w = set->ulongs[i];
+ if (w)
+ return hwloc_ffsl(w) - 1 + HWLOC_BITS_PER_LONG*i;
+ }
+
+ if (set->infinite)
+ return set->ulongs_count * HWLOC_BITS_PER_LONG;
+
+ return -1;
+}
+
+int hwloc_bitmap_last(const struct hwloc_bitmap_s * set)
+{
+ int i;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (set->infinite)
+ return -1;
+
+ for(i=set->ulongs_count-1; i>=0; i--) {
+ /* subsets are unsigned longs, use flsl */
+ unsigned long w = set->ulongs[i];
+ if (w)
+ return hwloc_flsl(w) - 1 + HWLOC_BITS_PER_LONG*i;
+ }
+
+ return -1;
+}
+
+int hwloc_bitmap_next(const struct hwloc_bitmap_s * set, int prev_cpu)
+{
+ unsigned i = HWLOC_SUBBITMAP_INDEX(prev_cpu + 1);
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (i >= set->ulongs_count) {
+ if (set->infinite)
+ return prev_cpu + 1;
+ else
+ return -1;
+ }
+
+ for(; i<set->ulongs_count; i++) {
+ /* subsets are unsigned longs, use ffsl */
+ unsigned long w = set->ulongs[i];
+
+ /* if the prev cpu is in the same word as the possible next one,
+ we need to mask out previous cpus */
+ if (prev_cpu >= 0 && HWLOC_SUBBITMAP_INDEX((unsigned) prev_cpu) == i)
+ w &= ~HWLOC_SUBBITMAP_ULBIT_TO(HWLOC_SUBBITMAP_CPU_ULBIT(prev_cpu));
+
+ if (w)
+ return hwloc_ffsl(w) - 1 + HWLOC_BITS_PER_LONG*i;
+ }
+
+ if (set->infinite)
+ return set->ulongs_count * HWLOC_BITS_PER_LONG;
+
+ return -1;
+}
+
+void hwloc_bitmap_singlify(struct hwloc_bitmap_s * set)
+{
+ unsigned i;
+ int found = 0;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ for(i=0; i<set->ulongs_count; i++) {
+ if (found) {
+ set->ulongs[i] = HWLOC_SUBBITMAP_ZERO;
+ continue;
+ } else {
+ /* subsets are unsigned longs, use ffsl */
+ unsigned long w = set->ulongs[i];
+ if (w) {
+ int _ffs = hwloc_ffsl(w);
+ set->ulongs[i] = HWLOC_SUBBITMAP_CPU(_ffs-1);
+ found = 1;
+ }
+ }
+ }
+
+ if (set->infinite) {
+ if (found) {
+ set->infinite = 0;
+ } else {
+ /* set the first non allocated bit */
+ unsigned first = set->ulongs_count * HWLOC_BITS_PER_LONG;
+ set->infinite = 0; /* do not let realloc fill the newly allocated sets */
+ hwloc_bitmap_set(set, first);
+ }
+ }
+}
+
+int hwloc_bitmap_compare_first(const struct hwloc_bitmap_s * set1, const struct hwloc_bitmap_s * set2)
+{
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned max_count = count1 > count2 ? count1 : count2;
+ unsigned min_count = count1 + count2 - max_count;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ for(i=0; i<min_count; i++) {
+ unsigned long w1 = set1->ulongs[i];
+ unsigned long w2 = set2->ulongs[i];
+ if (w1 || w2) {
+ int _ffs1 = hwloc_ffsl(w1);
+ int _ffs2 = hwloc_ffsl(w2);
+ /* if both have a bit set, compare for real */
+ if (_ffs1 && _ffs2)
+ return _ffs1-_ffs2;
+ /* one is empty, and it is considered higher, so reverse-compare them */
+ return _ffs2-_ffs1;
+ }
+ }
+
+ if (count1 != count2) {
+ if (min_count < count2) {
+ for(i=min_count; i<count2; i++) {
+ unsigned long w2 = set2->ulongs[i];
+ if (set1->infinite)
+ return -!(w2 & 1);
+ else if (w2)
+ return 1;
+ }
+ } else {
+ for(i=min_count; i<count1; i++) {
+ unsigned long w1 = set1->ulongs[i];
+ if (set2->infinite)
+ return !(w1 & 1);
+ else if (w1)
+ return -1;
+ }
+ }
+ }
+
+ return !!set1->infinite - !!set2->infinite;
+}
+
+int hwloc_bitmap_compare(const struct hwloc_bitmap_s * set1, const struct hwloc_bitmap_s * set2)
+{
+ unsigned count1 = set1->ulongs_count;
+ unsigned count2 = set2->ulongs_count;
+ unsigned max_count = count1 > count2 ? count1 : count2;
+ unsigned min_count = count1 + count2 - max_count;
+ int i;
+
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ if ((!set1->infinite) != (!set2->infinite))
+ return !!set1->infinite - !!set2->infinite;
+
+ if (count1 != count2) {
+ if (min_count < count2) {
+ unsigned long val1 = set1->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO;
+ for(i=max_count-1; i>=(signed) min_count; i--) {
+ unsigned long val2 = set2->ulongs[i];
+ if (val1 == val2)
+ continue;
+ return val1 < val2 ? -1 : 1;
+ }
+ } else {
+ unsigned long val2 = set2->infinite ? HWLOC_SUBBITMAP_FULL : HWLOC_SUBBITMAP_ZERO;
+ for(i=max_count-1; i>=(signed) min_count; i--) {
+ unsigned long val1 = set1->ulongs[i];
+ if (val1 == val2)
+ continue;
+ return val1 < val2 ? -1 : 1;
+ }
+ }
+ }
+
+ for(i=min_count-1; i>=0; i--) {
+ unsigned long val1 = set1->ulongs[i];
+ unsigned long val2 = set2->ulongs[i];
+ if (val1 == val2)
+ continue;
+ return val1 < val2 ? -1 : 1;
+ }
+
+ return 0;
+}
+
+int hwloc_bitmap_weight(const struct hwloc_bitmap_s * set)
+{
+ int weight = 0;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set);
+
+ if (set->infinite)
+ return -1;
+
+ for(i=0; i<set->ulongs_count; i++)
+ weight += hwloc_weight_long(set->ulongs[i]);
+ return weight;
+}
+
+int hwloc_bitmap_compare_inclusion(const struct hwloc_bitmap_s * set1, const struct hwloc_bitmap_s * set2)
+{
+ unsigned max_count = set1->ulongs_count > set2->ulongs_count ? set1->ulongs_count : set2->ulongs_count;
+ int result = HWLOC_BITMAP_EQUAL; /* means empty sets return equal */
+ int empty1 = 1;
+ int empty2 = 1;
+ unsigned i;
+
+ HWLOC__BITMAP_CHECK(set1);
+ HWLOC__BITMAP_CHECK(set2);
+
+ for(i=0; i<max_count; i++) {
+ unsigned long val1 = HWLOC_SUBBITMAP_READULONG(set1, (unsigned) i);
+ unsigned long val2 = HWLOC_SUBBITMAP_READULONG(set2, (unsigned) i);
+
+ if (!val1) {
+ if (!val2)
+ /* both empty, no change */
+ continue;
+
+ /* val1 empty, val2 not */
+ if (result == HWLOC_BITMAP_CONTAINS) {
+ if (!empty2)
+ return HWLOC_BITMAP_INTERSECTS;
+ result = HWLOC_BITMAP_DIFFERENT;
+ } else if (result == HWLOC_BITMAP_EQUAL) {
+ result = HWLOC_BITMAP_INCLUDED;
+ }
+ /* no change otherwise */
+
+ } else if (!val2) {
+ /* val2 empty, val1 not */
+ if (result == HWLOC_BITMAP_INCLUDED) {
+ if (!empty1)
+ return HWLOC_BITMAP_INTERSECTS;
+ result = HWLOC_BITMAP_DIFFERENT;
+ } else if (result == HWLOC_BITMAP_EQUAL) {
+ result = HWLOC_BITMAP_CONTAINS;
+ }
+ /* no change otherwise */
+
+ } else if (val1 == val2) {
+ /* equal and not empty */
+ if (result == HWLOC_BITMAP_DIFFERENT)
+ return HWLOC_BITMAP_INTERSECTS;
+ /* equal/contains/included unchanged */
+
+ } else if ((val1 & val2) == val1) {
+ /* included and not empty */
+ if (result == HWLOC_BITMAP_CONTAINS || result == HWLOC_BITMAP_DIFFERENT)
+ return HWLOC_BITMAP_INTERSECTS;
+ /* equal/included unchanged */
+ result = HWLOC_BITMAP_INCLUDED;
+
+ } else if ((val1 & val2) == val2) {
+ /* contains and not empty */
+ if (result == HWLOC_BITMAP_INCLUDED || result == HWLOC_BITMAP_DIFFERENT)
+ return HWLOC_BITMAP_INTERSECTS;
+ /* equal/contains unchanged */
+ result = HWLOC_BITMAP_CONTAINS;
+
+ } else if ((val1 & val2) != 0) {
+ /* intersects and not empty */
+ return HWLOC_BITMAP_INTERSECTS;
+
+ } else {
+ /* different and not empty */
+
+ /* equal/included/contains with non-empty sets means intersects */
+ if (result == HWLOC_BITMAP_EQUAL && !empty1 /* implies !empty2 */)
+ return HWLOC_BITMAP_INTERSECTS;
+ if (result == HWLOC_BITMAP_INCLUDED && !empty1)
+ return HWLOC_BITMAP_INTERSECTS;
+ if (result == HWLOC_BITMAP_CONTAINS && !empty2)
+ return HWLOC_BITMAP_INTERSECTS;
+ /* otherwise means different */
+ result = HWLOC_BITMAP_DIFFERENT;
+ }
+
+ empty1 &= !val1;
+ empty2 &= !val2;
+ }
+
+ if (!set1->infinite) {
+ if (set2->infinite) {
+ /* set2 infinite only */
+ if (result == HWLOC_BITMAP_CONTAINS) {
+ if (!empty2)
+ return HWLOC_BITMAP_INTERSECTS;
+ result = HWLOC_BITMAP_DIFFERENT;
+ } else if (result == HWLOC_BITMAP_EQUAL) {
+ result = HWLOC_BITMAP_INCLUDED;
+ }
+ /* no change otherwise */
+ }
+ } else if (!set2->infinite) {
+ /* set1 infinite only */
+ if (result == HWLOC_BITMAP_INCLUDED) {
+ if (!empty1)
+ return HWLOC_BITMAP_INTERSECTS;
+ result = HWLOC_BITMAP_DIFFERENT;
+ } else if (result == HWLOC_BITMAP_EQUAL) {
+ result = HWLOC_BITMAP_CONTAINS;
+ }
+ /* no change otherwise */
+ } else {
+ /* both infinite */
+ if (result == HWLOC_BITMAP_DIFFERENT)
+ return HWLOC_BITMAP_INTERSECTS;
+ /* equal/contains/included unchanged */
+ }
+
+ return result;
+}
--- /dev/null
+/*
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2012 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/xml.h>
+#include <private/misc.h>
+
+#define HWLOC_COMPONENT_STOP_NAME "stop"
+#define HWLOC_COMPONENT_EXCLUDE_CHAR '-'
+#define HWLOC_COMPONENT_SEPS ","
+
+/* list of all registered discovery components, sorted by priority, higher priority first.
+ * noos is last because its priority is 0.
+ * others' priority is 10.
+ */
+static struct hwloc_disc_component * hwloc_disc_components = NULL;
+
+static unsigned hwloc_components_users = 0; /* first one initializes, last ones destroys */
+
+static int hwloc_components_verbose = 0;
+#ifdef HWLOC_HAVE_PLUGINS
+static int hwloc_plugins_verbose = 0;
+static const char * hwloc_plugins_blacklist = NULL;
+#endif
+
+/* hwloc_components_mutex serializes:
+ * - loading/unloading plugins, and modifications of the hwloc_plugins list
+ * - calls to ltdl, including in hwloc_check_plugin_namespace()
+ * - registration of components with hwloc_disc_component_register()
+ * and hwloc_xml_callbacks_register()
+ */
+#ifdef HWLOC_WIN_SYS
+/* Basic mutex on top of InterlockedCompareExchange() on windows,
+ * Far from perfect, but easy to maintain, and way enough given that this code will never be needed for real. */
+#include <windows.h>
+static LONG hwloc_components_mutex = 0;
+#define HWLOC_COMPONENTS_LOCK() do { \
+ while (InterlockedCompareExchange(&hwloc_components_mutex, 1, 0) != 0) \
+ SwitchToThread(); \
+} while (0)
+#define HWLOC_COMPONENTS_UNLOCK() do { \
+ assert(hwloc_components_mutex == 1); \
+ hwloc_components_mutex = 0; \
+} while (0)
+
+#elif defined HWLOC_HAVE_PTHREAD_MUTEX
+/* pthread mutex if available (except on windows) */
+#include <pthread.h>
+static pthread_mutex_t hwloc_components_mutex = PTHREAD_MUTEX_INITIALIZER;
+#define HWLOC_COMPONENTS_LOCK() pthread_mutex_lock(&hwloc_components_mutex)
+#define HWLOC_COMPONENTS_UNLOCK() pthread_mutex_unlock(&hwloc_components_mutex)
+
+#else /* HWLOC_WIN_SYS || HWLOC_HAVE_PTHREAD_MUTEX */
+#error No mutex implementation available
+#endif
+
+
+#ifdef HWLOC_HAVE_PLUGINS
+
+#include <ltdl.h>
+
+/* array of pointers to dynamically loaded plugins */
+static struct hwloc__plugin_desc {
+ char *name;
+ struct hwloc_component *component;
+ char *filename;
+ lt_dlhandle handle;
+ struct hwloc__plugin_desc *next;
+} *hwloc_plugins = NULL;
+
+static int
+hwloc__dlforeach_cb(const char *filename, void *_data __hwloc_attribute_unused)
+{
+ const char *basename;
+ lt_dlhandle handle;
+ char *componentsymbolname = NULL;
+ struct hwloc_component *component;
+ struct hwloc__plugin_desc *desc, **prevdesc;
+
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin dlforeach found `%s'\n", filename);
+
+ basename = strrchr(filename, '/');
+ if (!basename)
+ basename = filename;
+ else
+ basename++;
+
+ if (hwloc_plugins_blacklist && strstr(hwloc_plugins_blacklist, basename)) {
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin `%s' is blacklisted in the environment\n", basename);
+ goto out;
+ }
+
+ /* dlopen and get the component structure */
+ handle = lt_dlopenext(filename);
+ if (!handle) {
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Failed to load plugin: %s\n", lt_dlerror());
+ goto out;
+ }
+ componentsymbolname = malloc(strlen(basename)+10+1);
+ sprintf(componentsymbolname, "%s_component", basename);
+ component = lt_dlsym(handle, componentsymbolname);
+ if (!component) {
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Failed to find component symbol `%s'\n",
+ componentsymbolname);
+ goto out_with_handle;
+ }
+ if (component->abi != HWLOC_COMPONENT_ABI) {
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin symbol ABI %u instead of %d\n",
+ component->abi, HWLOC_COMPONENT_ABI);
+ goto out_with_handle;
+ }
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin contains expected symbol `%s'\n",
+ componentsymbolname);
+ free(componentsymbolname);
+ componentsymbolname = NULL;
+
+ if (HWLOC_COMPONENT_TYPE_DISC == component->type) {
+ if (strncmp(basename, "hwloc_", 6)) {
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin name `%s' doesn't match its type DISCOVERY\n", basename);
+ goto out_with_handle;
+ }
+ } else if (HWLOC_COMPONENT_TYPE_XML == component->type) {
+ if (strncmp(basename, "hwloc_xml_", 10)) {
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin name `%s' doesn't match its type XML\n", basename);
+ goto out_with_handle;
+ }
+ } else {
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin name `%s' has invalid type %u\n",
+ basename, (unsigned) component->type);
+ goto out_with_handle;
+ }
+
+ /* allocate a plugin_desc and queue it */
+ desc = malloc(sizeof(*desc));
+ if (!desc)
+ goto out_with_handle;
+ desc->name = strdup(basename);
+ desc->filename = strdup(filename);
+ desc->component = component;
+ desc->handle = handle;
+ desc->next = NULL;
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin descriptor `%s' ready\n", basename);
+
+ /* append to the list */
+ prevdesc = &hwloc_plugins;
+ while (*prevdesc)
+ prevdesc = &((*prevdesc)->next);
+ *prevdesc = desc;
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Plugin descriptor `%s' queued\n", basename);
+ return 0;
+
+ out_with_handle:
+ lt_dlclose(handle);
+ free(componentsymbolname); /* NULL if already freed */
+ out:
+ return 0;
+}
+
+static void
+hwloc_plugins_exit(void)
+{
+ struct hwloc__plugin_desc *desc, *next;
+
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Closing all plugins\n");
+
+ desc = hwloc_plugins;
+ while (desc) {
+ next = desc->next;
+ lt_dlclose(desc->handle);
+ free(desc->name);
+ free(desc->filename);
+ free(desc);
+ desc = next;
+ }
+ hwloc_plugins = NULL;
+
+ lt_dlexit();
+}
+
+static int
+hwloc_plugins_init(void)
+{
+ const char *verboseenv;
+ char *path = HWLOC_PLUGINS_PATH;
+ const char *env;
+ int err;
+
+ verboseenv = getenv("HWLOC_PLUGINS_VERBOSE");
+ hwloc_plugins_verbose = verboseenv ? atoi(verboseenv) : 0;
+
+ hwloc_plugins_blacklist = getenv("HWLOC_PLUGINS_BLACKLIST");
+
+ err = lt_dlinit();
+ if (err)
+ goto out;
+
+ env = getenv("HWLOC_PLUGINS_PATH");
+ if (env)
+ path = env;
+
+ hwloc_plugins = NULL;
+
+ if (hwloc_plugins_verbose)
+ fprintf(stderr, "Starting plugin dlforeach in %s\n", path);
+ err = lt_dlforeachfile(path, hwloc__dlforeach_cb, NULL);
+ if (err)
+ goto out_with_init;
+
+ return 0;
+
+ out_with_init:
+ hwloc_plugins_exit();
+ out:
+ return -1;
+}
+
+#endif /* HWLOC_HAVE_PLUGINS */
+
+static const char *
+hwloc_disc_component_type_string(hwloc_disc_component_type_t type)
+{
+ switch (type) {
+ case HWLOC_DISC_COMPONENT_TYPE_CPU: return "cpu";
+ case HWLOC_DISC_COMPONENT_TYPE_GLOBAL: return "global";
+ case HWLOC_DISC_COMPONENT_TYPE_MISC: return "misc";
+ default: return "**unknown**";
+ }
+}
+
+static int
+hwloc_disc_component_register(struct hwloc_disc_component *component,
+ const char *filename)
+{
+ struct hwloc_disc_component **prev;
+
+ /* check that the component name is valid */
+ if (!strcmp(component->name, HWLOC_COMPONENT_STOP_NAME)) {
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Cannot register discovery component with reserved name `" HWLOC_COMPONENT_STOP_NAME "'\n");
+ return -1;
+ }
+ if (strchr(component->name, HWLOC_COMPONENT_EXCLUDE_CHAR)
+ || strcspn(component->name, HWLOC_COMPONENT_SEPS) != strlen(component->name)) {
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Cannot register discovery component with name `%s' containing reserved characters `%c" HWLOC_COMPONENT_SEPS "'\n",
+ component->name, HWLOC_COMPONENT_EXCLUDE_CHAR);
+ return -1;
+ }
+ /* check that the component type is valid */
+ switch ((unsigned) component->type) {
+ case HWLOC_DISC_COMPONENT_TYPE_CPU:
+ case HWLOC_DISC_COMPONENT_TYPE_GLOBAL:
+ case HWLOC_DISC_COMPONENT_TYPE_MISC:
+ break;
+ default:
+ fprintf(stderr, "Cannot register discovery component `%s' with unknown type %u\n",
+ component->name, (unsigned) component->type);
+ return -1;
+ }
+
+ prev = &hwloc_disc_components;
+ while (NULL != *prev) {
+ if (!strcmp((*prev)->name, component->name)) {
+ /* if two components have the same name, only keep the highest priority one */
+ if ((*prev)->priority < component->priority) {
+ /* drop the existing component */
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Dropping previously registered discovery component `%s', priority %u lower than new one %u\n",
+ (*prev)->name, (*prev)->priority, component->priority);
+ *prev = (*prev)->next;
+ } else {
+ /* drop the new one */
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Ignoring new discovery component `%s', priority %u lower than previously registered one %u\n",
+ component->name, component->priority, (*prev)->priority);
+ return -1;
+ }
+ }
+ prev = &((*prev)->next);
+ }
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Registered %s discovery component `%s' with priority %u (%s%s)\n",
+ hwloc_disc_component_type_string(component->type), component->name, component->priority,
+ filename ? "from plugin " : "statically build", filename ? filename : "");
+
+ prev = &hwloc_disc_components;
+ while (NULL != *prev) {
+ if ((*prev)->priority < component->priority)
+ break;
+ prev = &((*prev)->next);
+ }
+ component->next = *prev;
+ *prev = component;
+ return 0;
+}
+
+#include <static-components.h>
+
+static void (**hwloc_component_finalize_cbs)(unsigned long);
+static unsigned hwloc_component_finalize_cb_count;
+
+void
+hwloc_components_init(struct hwloc_topology *topology __hwloc_attribute_unused)
+{
+#ifdef HWLOC_HAVE_PLUGINS
+ struct hwloc__plugin_desc *desc;
+#endif
+ const char *verboseenv;
+ unsigned i;
+
+ HWLOC_COMPONENTS_LOCK();
+ assert((unsigned) -1 != hwloc_components_users);
+ if (0 != hwloc_components_users++) {
+ HWLOC_COMPONENTS_UNLOCK();
+ goto ok;
+ }
+
+ verboseenv = getenv("HWLOC_COMPONENTS_VERBOSE");
+ hwloc_components_verbose = verboseenv ? atoi(verboseenv) : 0;
+
+#ifdef HWLOC_HAVE_PLUGINS
+ hwloc_plugins_init();
+#endif
+
+ hwloc_component_finalize_cbs = NULL;
+ hwloc_component_finalize_cb_count = 0;
+ /* count the max number of finalize callbacks */
+ for(i=0; NULL != hwloc_static_components[i]; i++)
+ hwloc_component_finalize_cb_count++;
+#ifdef HWLOC_HAVE_PLUGINS
+ for(desc = hwloc_plugins; NULL != desc; desc = desc->next)
+ hwloc_component_finalize_cb_count++;
+#endif
+ if (hwloc_component_finalize_cb_count) {
+ hwloc_component_finalize_cbs = calloc(hwloc_component_finalize_cb_count,
+ sizeof(*hwloc_component_finalize_cbs));
+ assert(hwloc_component_finalize_cbs);
+ /* forget that max number and recompute the real one below */
+ hwloc_component_finalize_cb_count = 0;
+ }
+
+ /* hwloc_static_components is created by configure in static-components.h */
+ for(i=0; NULL != hwloc_static_components[i]; i++) {
+ if (hwloc_static_components[i]->flags) {
+ fprintf(stderr, "Ignoring static component with invalid flags %lx\n",
+ hwloc_static_components[i]->flags);
+ continue;
+ }
+
+ /* initialize the component */
+ if (hwloc_static_components[i]->init && hwloc_static_components[i]->init(0) < 0) {
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Ignoring static component, failed to initialize\n");
+ continue;
+ }
+ /* queue ->finalize() callback if any */
+ if (hwloc_static_components[i]->finalize)
+ hwloc_component_finalize_cbs[hwloc_component_finalize_cb_count++] = hwloc_static_components[i]->finalize;
+
+ /* register for real now */
+ if (HWLOC_COMPONENT_TYPE_DISC == hwloc_static_components[i]->type)
+ hwloc_disc_component_register(hwloc_static_components[i]->data, NULL);
+ else if (HWLOC_COMPONENT_TYPE_XML == hwloc_static_components[i]->type)
+ hwloc_xml_callbacks_register(hwloc_static_components[i]->data);
+ else
+ assert(0);
+ }
+
+ /* dynamic plugins */
+#ifdef HWLOC_HAVE_PLUGINS
+ for(desc = hwloc_plugins; NULL != desc; desc = desc->next) {
+ if (desc->component->flags) {
+ fprintf(stderr, "Ignoring plugin `%s' component with invalid flags %lx\n",
+ desc->name, desc->component->flags);
+ continue;
+ }
+
+ /* initialize the component */
+ if (desc->component->init && desc->component->init(0) < 0) {
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Ignoring plugin `%s', failed to initialize\n", desc->name);
+ continue;
+ }
+ /* queue ->finalize() callback if any */
+ if (desc->component->finalize)
+ hwloc_component_finalize_cbs[hwloc_component_finalize_cb_count++] = desc->component->finalize;
+
+ /* register for real now */
+ if (HWLOC_COMPONENT_TYPE_DISC == desc->component->type)
+ hwloc_disc_component_register(desc->component->data, desc->filename);
+ else if (HWLOC_COMPONENT_TYPE_XML == desc->component->type)
+ hwloc_xml_callbacks_register(desc->component->data);
+ else
+ assert(0);
+ }
+#endif
+
+ HWLOC_COMPONENTS_UNLOCK();
+
+ ok:
+ topology->backends = NULL;
+}
+
+static struct hwloc_disc_component *
+hwloc_disc_component_find(int type /* hwloc_disc_component_type_t or -1 if any */,
+ const char *name /* name of NULL if any */)
+{
+ struct hwloc_disc_component *comp = hwloc_disc_components;
+ while (NULL != comp) {
+ if ((-1 == type || type == (int) comp->type)
+ && (NULL == name || !strcmp(name, comp->name)))
+ return comp;
+ comp = comp->next;
+ }
+ return NULL;
+}
+
+/* used by set_xml(), set_synthetic(), ... environment variables, ... to force the first backend */
+int
+hwloc_disc_component_force_enable(struct hwloc_topology *topology,
+ int envvar_forced,
+ int type, const char *name,
+ const void *data1, const void *data2, const void *data3)
+{
+ struct hwloc_disc_component *comp;
+ struct hwloc_backend *backend;
+
+ if (topology->is_loaded) {
+ errno = EBUSY;
+ return -1;
+ }
+
+ comp = hwloc_disc_component_find(type, name);
+ if (!comp) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ backend = comp->instantiate(comp, data1, data2, data3);
+ if (backend) {
+ backend->envvar_forced = envvar_forced;
+ if (topology->backends)
+ hwloc_backends_disable_all(topology);
+ return hwloc_backend_enable(topology, backend);
+ } else
+ return -1;
+}
+
+static int
+hwloc_disc_component_try_enable(struct hwloc_topology *topology,
+ struct hwloc_disc_component *comp,
+ const char *comparg,
+ unsigned *excludes,
+ int envvar_forced)
+{
+ struct hwloc_backend *backend;
+ int err;
+
+ if ((*excludes) & comp->type) {
+ if (hwloc_components_verbose)
+ /* do not warn if envvar_forced since system-wide HWLOC_COMPONENTS must be silently ignored after set_xml() etc.
+ */
+ fprintf(stderr, "Excluding %s discovery component `%s', conflicts with excludes 0x%x\n",
+ hwloc_disc_component_type_string(comp->type), comp->name, *excludes);
+ return -1;
+ }
+
+ backend = comp->instantiate(comp, comparg, NULL, NULL);
+ if (!backend) {
+ if (hwloc_components_verbose || envvar_forced)
+ fprintf(stderr, "Failed to instantiate discovery component `%s'\n", comp->name);
+ return -1;
+ }
+
+ backend->envvar_forced = envvar_forced;
+ err = hwloc_backend_enable(topology, backend);
+ if (err < 0)
+ return -1;
+
+ *excludes |= comp->excludes;
+
+ return 0;
+}
+
+void
+hwloc_disc_components_enable_others(struct hwloc_topology *topology)
+{
+ struct hwloc_disc_component *comp;
+ struct hwloc_backend *backend;
+ unsigned excludes = 0;
+ int tryall = 1;
+ const char *_env;
+ char *env; /* we'll to modify the env value, so duplicate it */
+
+ _env = getenv("HWLOC_COMPONENTS");
+ env = _env ? strdup(_env) : NULL;
+
+ /* compute current excludes */
+ backend = topology->backends;
+ while (backend) {
+ excludes |= backend->component->excludes;
+ backend = backend->next;
+ }
+
+ /* enable explicitly listed components */
+ if (env) {
+ char *curenv = env;
+ size_t s;
+
+ while (*curenv) {
+ s = strcspn(curenv, HWLOC_COMPONENT_SEPS);
+ if (s) {
+ char *arg;
+ char c, d;
+
+ /* replace libpci with pci for backward compatibility with v1.6 */
+ if (!strncmp(curenv, "libpci", 6) && s == 6) {
+ curenv[0] = curenv[1] = curenv[2] = *HWLOC_COMPONENT_SEPS;
+ curenv += 3;
+ s -= 3;
+ } else if (curenv[0] == HWLOC_COMPONENT_EXCLUDE_CHAR && !strncmp(curenv+1, "libpci", 6) && s == 7 ) {
+ curenv[3] = curenv[0];
+ curenv[0] = curenv[1] = curenv[2] = *HWLOC_COMPONENT_SEPS;
+ curenv += 3;
+ s -= 3;
+ /* skip this name, it's a negated one */
+ goto nextname;
+ }
+
+ if (curenv[0] == HWLOC_COMPONENT_EXCLUDE_CHAR)
+ goto nextname;
+
+ if (!strncmp(curenv, HWLOC_COMPONENT_STOP_NAME, s)) {
+ tryall = 0;
+ break;
+ }
+
+ /* save the last char and replace with \0 */
+ c = curenv[s];
+ curenv[s] = '\0';
+
+ arg = strchr(curenv, '=');
+ if (arg) {
+ d = *arg;
+ *arg = '\0';
+ }
+
+ comp = hwloc_disc_component_find(-1, curenv);
+ if (comp) {
+ hwloc_disc_component_try_enable(topology, comp, arg ? arg+1 : NULL, &excludes, 1 /* envvar forced */);
+ } else {
+ fprintf(stderr, "Cannot find discovery component `%s'\n", curenv);
+ }
+
+ /* restore chars (the second loop below needs env to be unmodified) */
+ curenv[s] = c;
+ if (arg)
+ *arg = d;
+ }
+
+nextname:
+ curenv += s;
+ if (*curenv)
+ /* Skip comma */
+ curenv++;
+ }
+ }
+
+ /* env is still the same, the above loop didn't modify it */
+
+ /* now enable remaining components (except the explicitly '-'-listed ones) */
+ if (tryall) {
+ comp = hwloc_disc_components;
+ while (NULL != comp) {
+ /* check if this component was explicitly excluded in env */
+ if (env) {
+ char *curenv = env;
+ while (*curenv) {
+ size_t s = strcspn(curenv, HWLOC_COMPONENT_SEPS);
+ if (curenv[0] == HWLOC_COMPONENT_EXCLUDE_CHAR && !strncmp(curenv+1, comp->name, s-1) && strlen(comp->name) == s-1) {
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Excluding %s discovery component `%s' because of HWLOC_COMPONENTS environment variable\n",
+ hwloc_disc_component_type_string(comp->type), comp->name);
+ goto nextcomp;
+ }
+ curenv += s;
+ if (*curenv)
+ /* Skip comma */
+ curenv++;
+ }
+ }
+ hwloc_disc_component_try_enable(topology, comp, NULL, &excludes, 0 /* defaults, not envvar forced */);
+nextcomp:
+ comp = comp->next;
+ }
+ }
+
+ if (hwloc_components_verbose) {
+ /* print a summary */
+ int first = 1;
+ backend = topology->backends;
+ fprintf(stderr, "Final list of enabled discovery components: ");
+ while (backend != NULL) {
+ fprintf(stderr, "%s%s", first ? "" : ",", backend->component->name);
+ backend = backend->next;
+ first = 0;
+ }
+ fprintf(stderr, "\n");
+ }
+
+ if (env)
+ free(env);
+}
+
+void
+hwloc_components_destroy_all(struct hwloc_topology *topology __hwloc_attribute_unused)
+{
+ unsigned i;
+
+ HWLOC_COMPONENTS_LOCK();
+ assert(0 != hwloc_components_users);
+ if (0 != --hwloc_components_users) {
+ HWLOC_COMPONENTS_UNLOCK();
+ return;
+ }
+
+ for(i=0; i<hwloc_component_finalize_cb_count; i++)
+ hwloc_component_finalize_cbs[hwloc_component_finalize_cb_count-i-1](0);
+ free(hwloc_component_finalize_cbs);
+ hwloc_component_finalize_cbs = NULL;
+ hwloc_component_finalize_cb_count = 0;
+
+ /* no need to unlink/free the list of components, they'll be unloaded below */
+
+ hwloc_disc_components = NULL;
+ hwloc_xml_callbacks_reset();
+
+#ifdef HWLOC_HAVE_PLUGINS
+ hwloc_plugins_exit();
+#endif
+
+ HWLOC_COMPONENTS_UNLOCK();
+}
+
+struct hwloc_backend *
+hwloc_backend_alloc(struct hwloc_disc_component *component)
+{
+ struct hwloc_backend * backend = malloc(sizeof(*backend));
+ if (!backend) {
+ errno = ENOMEM;
+ return NULL;
+ }
+ backend->component = component;
+ backend->flags = 0;
+ backend->discover = NULL;
+ backend->get_obj_cpuset = NULL;
+ backend->notify_new_object = NULL;
+ backend->disable = NULL;
+ backend->is_custom = 0;
+ backend->is_thissystem = -1;
+ backend->next = NULL;
+ backend->envvar_forced = 0;
+ return backend;
+}
+
+static void
+hwloc_backend_disable(struct hwloc_backend *backend)
+{
+ if (backend->disable)
+ backend->disable(backend);
+ free(backend);
+}
+
+int
+hwloc_backend_enable(struct hwloc_topology *topology, struct hwloc_backend *backend)
+{
+ struct hwloc_backend **pprev;
+
+ /* check backend flags */
+ if (backend->flags & (~(HWLOC_BACKEND_FLAG_NEED_LEVELS))) {
+ fprintf(stderr, "Cannot enable %s discovery component `%s' with unknown flags %lx\n",
+ hwloc_disc_component_type_string(backend->component->type), backend->component->name, backend->flags);
+ return -1;
+ }
+
+ /* make sure we didn't already enable this backend, we don't want duplicates */
+ pprev = &topology->backends;
+ while (NULL != *pprev) {
+ if ((*pprev)->component == backend->component) {
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Cannot enable %s discovery component `%s' twice\n",
+ hwloc_disc_component_type_string(backend->component->type), backend->component->name);
+ hwloc_backend_disable(backend);
+ errno = EBUSY;
+ return -1;
+ }
+ pprev = &((*pprev)->next);
+ }
+
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Enabling %s discovery component `%s'\n",
+ hwloc_disc_component_type_string(backend->component->type), backend->component->name);
+
+ /* enqueue at the end */
+ pprev = &topology->backends;
+ while (NULL != *pprev)
+ pprev = &((*pprev)->next);
+ backend->next = *pprev;
+ *pprev = backend;
+
+ backend->topology = topology;
+
+ return 0;
+}
+
+void
+hwloc_backends_is_thissystem(struct hwloc_topology *topology)
+{
+ struct hwloc_backend *backend;
+ const char *local_env;
+
+ /* Apply is_thissystem topology flag before we enforce envvar backends.
+ * If the application changed the backend with set_foo(),
+ * it may use set_flags() update the is_thissystem flag here.
+ * If it changes the backend with environment variables below,
+ * it may use HWLOC_THISSYSTEM envvar below as well.
+ */
+
+ topology->is_thissystem = 1;
+
+ /* apply thissystem from normally-given backends (envvar_forced=0, either set_foo() or defaults) */
+ backend = topology->backends;
+ while (backend != NULL) {
+ if (backend->envvar_forced == 0 && backend->is_thissystem != -1) {
+ assert(backend->is_thissystem == 0);
+ topology->is_thissystem = 0;
+ }
+ backend = backend->next;
+ }
+
+ /* override set_foo() with flags */
+ if (topology->flags & HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM)
+ topology->is_thissystem = 1;
+
+ /* now apply envvar-forced backend (envvar_forced=1) */
+ backend = topology->backends;
+ while (backend != NULL) {
+ if (backend->envvar_forced == 1 && backend->is_thissystem != -1) {
+ assert(backend->is_thissystem == 0);
+ topology->is_thissystem = 0;
+ }
+ backend = backend->next;
+ }
+
+ /* override with envvar-given flag */
+ local_env = getenv("HWLOC_THISSYSTEM");
+ if (local_env)
+ topology->is_thissystem = atoi(local_env);
+}
+
+int
+hwloc_backends_get_obj_cpuset(struct hwloc_backend *caller, struct hwloc_obj *obj, hwloc_bitmap_t cpuset)
+{
+ struct hwloc_topology *topology = caller->topology;
+ struct hwloc_backend *backend = topology->backends;
+ /* use the first backend's get_obj_cpuset callback */
+ while (backend != NULL) {
+ if (backend->get_obj_cpuset)
+ return backend->get_obj_cpuset(backend, caller, obj, cpuset);
+ backend = backend->next;
+ }
+ return -1;
+}
+
+int
+hwloc_backends_notify_new_object(struct hwloc_backend *caller, struct hwloc_obj *obj)
+{
+ struct hwloc_backend *backend;
+ int res = 0;
+
+ backend = caller->topology->backends;
+ while (NULL != backend) {
+ if (backend != caller && backend->notify_new_object)
+ res += backend->notify_new_object(backend, caller, obj);
+ backend = backend->next;
+ }
+
+ return res;
+}
+
+void
+hwloc_backends_disable_all(struct hwloc_topology *topology)
+{
+ struct hwloc_backend *backend;
+
+ while (NULL != (backend = topology->backends)) {
+ struct hwloc_backend *next = backend->next;
+ if (hwloc_components_verbose)
+ fprintf(stderr, "Disabling %s discovery component `%s'\n",
+ hwloc_disc_component_type_string(backend->component->type), backend->component->name);
+ hwloc_backend_disable(backend);
+ topology->backends = next;
+ }
+ topology->backends = NULL;
+}
--- /dev/null
+/*
+ * Copyright © 2013-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <private/private.h>
+#include <private/misc.h>
+
+int hwloc_topology_diff_destroy(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_topology_diff_t diff)
+{
+ hwloc_topology_diff_t next;
+ while (diff) {
+ next = diff->generic.next;
+ switch (diff->generic.type) {
+ default:
+ break;
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR:
+ switch (diff->obj_attr.diff.generic.type) {
+ default:
+ break;
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME:
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO:
+ free(diff->obj_attr.diff.string.name);
+ free(diff->obj_attr.diff.string.oldvalue);
+ free(diff->obj_attr.diff.string.newvalue);
+ break;
+ }
+ break;
+ }
+ free(diff);
+ diff = next;
+ }
+ return 0;
+}
+
+/************************
+ * Computing diffs
+ */
+
+static void hwloc_append_diff(hwloc_topology_diff_t newdiff,
+ hwloc_topology_diff_t *firstdiffp,
+ hwloc_topology_diff_t *lastdiffp)
+{
+ if (*firstdiffp)
+ (*lastdiffp)->generic.next = newdiff;
+ else
+ *firstdiffp = newdiff;
+ *lastdiffp = newdiff;
+ newdiff->generic.next = NULL;
+}
+
+static int hwloc_append_diff_too_complex(hwloc_obj_t obj1,
+ hwloc_topology_diff_t *firstdiffp,
+ hwloc_topology_diff_t *lastdiffp)
+{
+ hwloc_topology_diff_t newdiff;
+ newdiff = malloc(sizeof(*newdiff));
+ if (!newdiff)
+ return -1;
+
+ newdiff->too_complex.type = HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX;
+ newdiff->too_complex.obj_depth = obj1->depth;
+ newdiff->too_complex.obj_index = obj1->logical_index;
+ hwloc_append_diff(newdiff, firstdiffp, lastdiffp);
+ return 0;
+}
+
+static int hwloc_append_diff_obj_attr_string(hwloc_obj_t obj,
+ hwloc_topology_diff_obj_attr_type_t type,
+ const char *name,
+ const char *oldvalue,
+ const char *newvalue,
+ hwloc_topology_diff_t *firstdiffp,
+ hwloc_topology_diff_t *lastdiffp)
+{
+ hwloc_topology_diff_t newdiff;
+
+ if (obj->type == HWLOC_OBJ_MISC)
+ /* TODO: add a custom level/depth for Misc */
+ return hwloc_append_diff_too_complex(obj, firstdiffp, lastdiffp);
+
+ newdiff = malloc(sizeof(*newdiff));
+ if (!newdiff)
+ return -1;
+
+ newdiff->obj_attr.type = HWLOC_TOPOLOGY_DIFF_OBJ_ATTR;
+ newdiff->obj_attr.obj_depth = obj->depth;
+ newdiff->obj_attr.obj_index = obj->logical_index;
+ newdiff->obj_attr.diff.string.type = type;
+ newdiff->obj_attr.diff.string.name = name ? strdup(name) : NULL;
+ newdiff->obj_attr.diff.string.oldvalue = oldvalue ? strdup(oldvalue) : NULL;
+ newdiff->obj_attr.diff.string.newvalue = newvalue ? strdup(newvalue) : NULL;
+ hwloc_append_diff(newdiff, firstdiffp, lastdiffp);
+ return 0;
+}
+
+static int hwloc_append_diff_obj_attr_uint64(hwloc_obj_t obj,
+ hwloc_topology_diff_obj_attr_type_t type,
+ hwloc_uint64_t idx,
+ hwloc_uint64_t oldvalue,
+ hwloc_uint64_t newvalue,
+ hwloc_topology_diff_t *firstdiffp,
+ hwloc_topology_diff_t *lastdiffp)
+{
+ hwloc_topology_diff_t newdiff;
+
+ if (obj->type == HWLOC_OBJ_MISC)
+ /* TODO: add a custom level/depth for Misc */
+ return hwloc_append_diff_too_complex(obj, firstdiffp, lastdiffp);
+
+ newdiff = malloc(sizeof(*newdiff));
+ if (!newdiff)
+ return -1;
+
+ newdiff->obj_attr.type = HWLOC_TOPOLOGY_DIFF_OBJ_ATTR;
+ newdiff->obj_attr.obj_depth = obj->depth;
+ newdiff->obj_attr.obj_index = obj->logical_index;
+ newdiff->obj_attr.diff.uint64.type = type;
+ newdiff->obj_attr.diff.uint64.index = idx;
+ newdiff->obj_attr.diff.uint64.oldvalue = oldvalue;
+ newdiff->obj_attr.diff.uint64.newvalue = newvalue;
+ hwloc_append_diff(newdiff, firstdiffp, lastdiffp);
+ return 0;
+}
+
+static int
+hwloc_diff_trees(hwloc_topology_t topo1, hwloc_obj_t obj1,
+ hwloc_topology_t topo2, hwloc_obj_t obj2,
+ unsigned flags,
+ hwloc_topology_diff_t *firstdiffp, hwloc_topology_diff_t *lastdiffp)
+{
+ unsigned i;
+ int err;
+
+ if (obj1->depth != obj2->depth)
+ goto out_too_complex;
+ if (obj1->type != obj2->type)
+ goto out_too_complex;
+
+ if (obj1->os_index != obj2->os_index)
+ /* we could allow different os_index for non-PU non-NUMAnode objects
+ * but it's likely useless anyway */
+ goto out_too_complex;
+
+#define _SETS_DIFFERENT(_set1, _set2) \
+ ( ( !(_set1) != !(_set2) ) \
+ || ( (_set1) && !hwloc_bitmap_isequal(_set1, _set2) ) )
+#define SETS_DIFFERENT(_set, _obj1, _obj2) _SETS_DIFFERENT((_obj1)->_set, (_obj2)->_set)
+ if (SETS_DIFFERENT(cpuset, obj1, obj2)
+ || SETS_DIFFERENT(complete_cpuset, obj1, obj2)
+ || SETS_DIFFERENT(online_cpuset, obj1, obj2)
+ || SETS_DIFFERENT(allowed_cpuset, obj1, obj2)
+ || SETS_DIFFERENT(nodeset, obj1, obj2)
+ || SETS_DIFFERENT(complete_nodeset, obj1, obj2)
+ || SETS_DIFFERENT(allowed_nodeset, obj1, obj2))
+ goto out_too_complex;
+
+ /* no need to check logical_index, sibling_rank, symmetric_subtree,
+ * the parents did it */
+
+ if ((!obj1->name) != (!obj2->name)
+ || (obj1->name && strcmp(obj1->name, obj2->name))) {
+ err = hwloc_append_diff_obj_attr_string(obj1,
+ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME,
+ NULL,
+ obj1->name,
+ obj2->name,
+ firstdiffp, lastdiffp);
+ if (err < 0)
+ return err;
+ }
+
+ /* memory */
+ if (obj1->memory.local_memory != obj2->memory.local_memory) {
+ err = hwloc_append_diff_obj_attr_uint64(obj1,
+ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE,
+ 0,
+ obj1->memory.local_memory,
+ obj2->memory.local_memory,
+ firstdiffp, lastdiffp);
+ if (err < 0)
+ return err;
+ }
+ /* ignore memory page_types */
+
+ /* ignore os_level */
+
+ /* type-specific attrs */
+ switch (obj1->type) {
+ default:
+ break;
+ case HWLOC_OBJ_CACHE:
+ if (memcmp(obj1->attr, obj2->attr, sizeof(obj1->attr->cache)))
+ goto out_too_complex;
+ break;
+ case HWLOC_OBJ_GROUP:
+ if (memcmp(obj1->attr, obj2->attr, sizeof(obj1->attr->group)))
+ goto out_too_complex;
+ break;
+ case HWLOC_OBJ_PCI_DEVICE:
+ if (memcmp(obj1->attr, obj2->attr, sizeof(obj1->attr->pcidev)))
+ goto out_too_complex;
+ break;
+ case HWLOC_OBJ_BRIDGE:
+ if (memcmp(obj1->attr, obj2->attr, sizeof(obj1->attr->bridge)))
+ goto out_too_complex;
+ break;
+ case HWLOC_OBJ_OS_DEVICE:
+ if (memcmp(obj1->attr, obj2->attr, sizeof(obj1->attr->osdev)))
+ goto out_too_complex;
+ break;
+ }
+
+ /* distances */
+ if (obj1->distances_count != obj2->distances_count)
+ goto out_too_complex;
+ for(i=0; i<obj1->distances_count; i++) {
+ struct hwloc_distances_s *d1 = obj1->distances[i], *d2 = obj2->distances[i];
+ if (d1->relative_depth != d2->relative_depth
+ || d1->nbobjs != d2->nbobjs
+ || d1->latency_max != d2->latency_max
+ || d1->latency_base != d2->latency_base
+ || memcmp(d1->latency, d2->latency, d1->nbobjs * d1->nbobjs * sizeof(*d1->latency)))
+ goto out_too_complex;
+ }
+
+ /* infos */
+ if (obj1->infos_count != obj2->infos_count)
+ goto out_too_complex;
+ for(i=0; i<obj1->infos_count; i++) {
+ if (strcmp(obj1->infos[i].name, obj2->infos[i].name))
+ goto out_too_complex;
+ if (strcmp(obj1->infos[i].value, obj2->infos[i].value)) {
+ err = hwloc_append_diff_obj_attr_string(obj1,
+ HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO,
+ obj1->infos[i].name,
+ obj1->infos[i].value,
+ obj2->infos[i].value,
+ firstdiffp, lastdiffp);
+ if (err < 0)
+ return err;
+ }
+ }
+
+ /* ignore userdata */
+
+ /* children */
+ if (obj1->arity != obj2->arity)
+ goto out_too_complex;
+ for(i=0; i<obj1->arity; i++) {
+ err = hwloc_diff_trees(topo1, obj1->children[i],
+ topo2, obj2->children[i],
+ flags,
+ firstdiffp, lastdiffp);
+ if (err < 0)
+ return err;
+ }
+
+ return 0;
+
+out_too_complex:
+ hwloc_append_diff_too_complex(obj1, firstdiffp, lastdiffp);
+ return 0;
+}
+
+int hwloc_topology_diff_build(hwloc_topology_t topo1,
+ hwloc_topology_t topo2,
+ unsigned long flags,
+ hwloc_topology_diff_t *diffp)
+{
+ hwloc_topology_diff_t lastdiff, tmpdiff;
+ int err;
+
+ if (flags != 0) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ *diffp = NULL;
+ err = hwloc_diff_trees(topo1, hwloc_get_root_obj(topo1),
+ topo2, hwloc_get_root_obj(topo2),
+ flags,
+ diffp, &lastdiff);
+
+ if (!err) {
+ tmpdiff = *diffp;
+ while (tmpdiff) {
+ if (tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX) {
+ err = 1;
+ break;
+ }
+ tmpdiff = tmpdiff->generic.next;
+ }
+ }
+
+ return err;
+}
+
+/********************
+ * Applying diffs
+ */
+
+static int
+hwloc_apply_diff_one(hwloc_topology_t topology,
+ hwloc_topology_diff_t diff,
+ unsigned long flags)
+{
+ int reverse = !!(flags & HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE);
+
+ switch (diff->generic.type) {
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR: {
+ struct hwloc_topology_diff_obj_attr_s *obj_attr = &diff->obj_attr;
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, obj_attr->obj_depth, obj_attr->obj_index);
+ if (!obj)
+ return -1;
+
+ switch (obj_attr->diff.generic.type) {
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE: {
+ hwloc_obj_t tmpobj;
+ hwloc_uint64_t oldvalue = reverse ? obj_attr->diff.uint64.newvalue : obj_attr->diff.uint64.oldvalue;
+ hwloc_uint64_t newvalue = reverse ? obj_attr->diff.uint64.oldvalue : obj_attr->diff.uint64.newvalue;
+ hwloc_uint64_t valuediff = newvalue - oldvalue;
+ if (obj->memory.local_memory != oldvalue)
+ return -1;
+ obj->memory.local_memory = newvalue;
+ tmpobj = obj;
+ while (tmpobj) {
+ tmpobj->memory.total_memory += valuediff;
+ tmpobj = tmpobj->parent;
+ }
+ break;
+ }
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME: {
+ const char *oldvalue = reverse ? obj_attr->diff.string.newvalue : obj_attr->diff.string.oldvalue;
+ const char *newvalue = reverse ? obj_attr->diff.string.oldvalue : obj_attr->diff.string.newvalue;
+ if (!obj->name || strcmp(obj->name, oldvalue))
+ return -1;
+ free(obj->name);
+ obj->name = strdup(newvalue);
+ break;
+ }
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO: {
+ const char *name = obj_attr->diff.string.name;
+ const char *oldvalue = reverse ? obj_attr->diff.string.newvalue : obj_attr->diff.string.oldvalue;
+ const char *newvalue = reverse ? obj_attr->diff.string.oldvalue : obj_attr->diff.string.newvalue;
+ unsigned i;
+ int found = 0;
+ for(i=0; i<obj->infos_count; i++) {
+ if (!strcmp(obj->infos[i].name, name)
+ && !strcmp(obj->infos[i].value, oldvalue)) {
+ free(obj->infos[i].value);
+ obj->infos[i].value = strdup(newvalue);
+ found = 1;
+ break;
+ }
+ }
+ if (!found)
+ return -1;
+ break;
+ }
+ default:
+ return -1;
+ }
+
+ break;
+ }
+ default:
+ return -1;
+ }
+
+ return 0;
+}
+
+int hwloc_topology_diff_apply(hwloc_topology_t topology,
+ hwloc_topology_diff_t diff,
+ unsigned long flags)
+{
+ hwloc_topology_diff_t tmpdiff, tmpdiff2;
+ int err, nr;
+
+ if (flags & ~HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ tmpdiff = diff;
+ nr = 0;
+ while (tmpdiff) {
+ nr++;
+ err = hwloc_apply_diff_one(topology, tmpdiff, flags);
+ if (err < 0)
+ goto cancel;
+ tmpdiff = tmpdiff->generic.next;
+ }
+ return 0;
+
+cancel:
+ tmpdiff2 = tmpdiff;
+ tmpdiff = diff;
+ while (tmpdiff != tmpdiff2) {
+ hwloc_apply_diff_one(topology, tmpdiff, flags ^ HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE);
+ tmpdiff = tmpdiff->generic.next;
+ }
+ errno = EINVAL;
+ return -nr; /* return the index (starting at 1) of the first element that couldn't be applied */
+}
--- /dev/null
+/*
+ * Copyright © 2010-2018 Inria. All rights reserved.
+ * Copyright © 2011-2012 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+#include <private/misc.h>
+
+#include <float.h>
+#include <math.h>
+
+/**************************
+ * Main Init/Clear/Destroy
+ */
+
+/* called during topology init */
+void hwloc_distances_init(struct hwloc_topology *topology)
+{
+ topology->first_osdist = topology->last_osdist = NULL;
+}
+
+/* called during topology destroy */
+void hwloc_distances_destroy(struct hwloc_topology * topology)
+{
+ struct hwloc_os_distances_s *osdist, *next = topology->first_osdist;
+ while ((osdist = next) != NULL) {
+ next = osdist->next;
+ /* remove final distance matrics AND physically-ordered ones */
+ free(osdist->indexes);
+ free(osdist->objs);
+ free(osdist->distances);
+ free(osdist);
+ }
+ topology->first_osdist = topology->last_osdist = NULL;
+}
+
+/******************************************************
+ * Inserting distances in the topology
+ * from a backend, from the environment or by the user
+ */
+
+/* insert a distance matrix in the topology.
+ * the caller gives us those pointers, we take care of freeing them later and so on.
+ */
+void hwloc_distances_set(hwloc_topology_t __hwloc_restrict topology, hwloc_obj_type_t type,
+ unsigned nbobjs, unsigned *indexes, hwloc_obj_t *objs, float *distances,
+ int force)
+{
+ struct hwloc_os_distances_s *osdist, *next = topology->first_osdist;
+ /* look for existing distances for the same type */
+ while ((osdist = next) != NULL) {
+ next = osdist->next;
+ if (osdist->type == type) {
+ if (osdist->forced && !force) {
+ /* there is a forced distance element, ignore the new non-forced one */
+ free(indexes);
+ free(objs);
+ free(distances);
+ return;
+ } else if (force) {
+ /* we're forcing a new distance, remove the old ones */
+ free(osdist->indexes);
+ free(osdist->objs);
+ free(osdist->distances);
+ /* remove current object */
+ if (osdist->prev)
+ osdist->prev->next = next;
+ else
+ topology->first_osdist = next;
+ if (next)
+ next->prev = osdist->prev;
+ else
+ topology->last_osdist = osdist->prev;
+ /* free current object */
+ free(osdist);
+ }
+ }
+ }
+
+ if (!nbobjs)
+ /* we're just clearing, return now */
+ return;
+ assert(nbobjs >= 2);
+
+ /* create the new element */
+ osdist = malloc(sizeof(struct hwloc_os_distances_s));
+ osdist->nbobjs = nbobjs;
+ osdist->indexes = indexes;
+ osdist->objs = objs;
+ osdist->distances = distances;
+ osdist->forced = force;
+ osdist->type = type;
+ /* insert it */
+ osdist->next = NULL;
+ osdist->prev = topology->last_osdist;
+ if (topology->last_osdist)
+ topology->last_osdist->next = osdist;
+ else
+ topology->first_osdist = osdist;
+ topology->last_osdist = osdist;
+}
+
+/* make sure a user-given distance matrix is sane */
+static int hwloc_distances__check_matrix(hwloc_topology_t __hwloc_restrict topology __hwloc_attribute_unused, hwloc_obj_type_t type __hwloc_attribute_unused,
+ unsigned nbobjs, unsigned *indexes, hwloc_obj_t *objs __hwloc_attribute_unused, float *distances __hwloc_attribute_unused)
+{
+ unsigned i,j;
+ /* make sure we don't have the same index twice */
+ for(i=0; i<nbobjs; i++)
+ for(j=i+1; j<nbobjs; j++)
+ if (indexes[i] == indexes[j]) {
+ errno = EINVAL;
+ return -1;
+ }
+ return 0;
+}
+
+static void hwloc_distances__set_from_string(struct hwloc_topology *topology,
+ hwloc_obj_type_t type, const char *string)
+{
+ /* the string format is: "index[0],...,index[N-1]:distance[0],...,distance[N*N-1]"
+ * or "index[0],...,index[N-1]:X*Y" or "index[0],...,index[N-1]:X*Y*Z"
+ */
+ const char *tmp = string, *next;
+ unsigned *indexes;
+ float *distances;
+ unsigned nbobjs = 0, i, j, x, y, z;
+
+ if (!strcmp(string, "none")) {
+ hwloc_distances_set(topology, type, 0, NULL, NULL, NULL, 1 /* force */);
+ return;
+ }
+
+ if (sscanf(string, "%u-%u:", &i, &j) == 2) {
+ /* range i-j */
+ if (j <= i) {
+ fprintf(stderr, "Ignoring %s distances from environment variable, range doesn't cover at least 2 indexes\n",
+ hwloc_obj_type_string(type));
+ return;
+ }
+ nbobjs = j-i+1;
+
+ tmp = strchr(string, ':');
+ if (!tmp) {
+ fprintf(stderr, "Ignoring %s distances from environment variable, missing colon\n",
+ hwloc_obj_type_string(type));
+ return;
+ }
+ tmp++;
+
+ indexes = calloc(nbobjs, sizeof(unsigned));
+ distances = calloc(nbobjs*nbobjs, sizeof(float));
+ /* make sure the user didn't give a veeeeery large range */
+ if (!indexes || !distances) {
+ free(indexes);
+ free(distances);
+ return;
+ }
+ for(j=0; j<nbobjs; j++)
+ indexes[j] = j+i;
+
+ } else {
+ /* explicit list of indexes, count them */
+ while (1) {
+ size_t size = strspn(tmp, "0123456789");
+ if (!size)
+ /* missing index */
+ break;
+ if (tmp[size] != ',') {
+ /* last element */
+ tmp += size;
+ nbobjs++;
+ break;
+ }
+ /* another index */
+ tmp += size+1;
+ nbobjs++;
+ }
+
+ if (nbobjs < 2) {
+ fprintf(stderr, "Ignoring %s distances from environment variable, needs at least 2 indexes\n",
+ hwloc_obj_type_string(type));
+ return;
+ }
+ if (*tmp != ':') {
+ fprintf(stderr, "Ignoring %s distances from environment variable, missing colon\n",
+ hwloc_obj_type_string(type));
+ return;
+ }
+
+ indexes = calloc(nbobjs, sizeof(unsigned));
+ distances = calloc(nbobjs*nbobjs, sizeof(float));
+ tmp = string;
+
+ /* parse indexes */
+ for(i=0; i<nbobjs; i++) {
+ indexes[i] = strtoul(tmp, (char **) &next, 0);
+ tmp = next+1;
+ }
+ }
+
+
+ /* parse distances */
+ z=1; /* default if sscanf finds only 2 values below */
+ if (sscanf(tmp, "%u*%u*%u", &x, &y, &z) >= 2) {
+ /* generate the matrix to create x groups of y elements */
+ if (x*y*z != nbobjs) {
+ fprintf(stderr, "Ignoring %s distances from environment variable, invalid grouping (%u*%u*%u=%u instead of %u)\n",
+ hwloc_obj_type_string(type), x, y, z, x*y*z, nbobjs);
+ free(indexes);
+ free(distances);
+ return;
+ }
+ for(i=0; i<nbobjs; i++)
+ for(j=0; j<nbobjs; j++)
+ if (i==j)
+ distances[i*nbobjs+j] = 1;
+ else if (i/z == j/z)
+ distances[i*nbobjs+j] = 2;
+ else if (i/z/y == j/z/y)
+ distances[i*nbobjs+j] = 4;
+ else
+ distances[i*nbobjs+j] = 8;
+
+ } else {
+ /* parse a comma separated list of distances */
+ for(i=0; i<nbobjs*nbobjs; i++) {
+ distances[i] = (float) atof(tmp);
+ next = strchr(tmp, ',');
+ if (next) {
+ tmp = next+1;
+ } else if (i!=nbobjs*nbobjs-1) {
+ fprintf(stderr, "Ignoring %s distances from environment variable, not enough values (%u out of %u)\n",
+ hwloc_obj_type_string(type), i+1, nbobjs*nbobjs);
+ free(indexes);
+ free(distances);
+ return;
+ }
+ }
+ }
+
+ if (hwloc_distances__check_matrix(topology, type, nbobjs, indexes, NULL, distances) < 0) {
+ fprintf(stderr, "Ignoring invalid %s distances from environment variable\n", hwloc_obj_type_string(type));
+ free(indexes);
+ free(distances);
+ return;
+ }
+
+ hwloc_distances_set(topology, type, nbobjs, indexes, NULL, distances, 1 /* force */);
+}
+
+/* take distances in the environment, store them as is in the topology.
+ * we'll convert them into object later once the tree is filled
+ */
+void hwloc_distances_set_from_env(struct hwloc_topology *topology)
+{
+ hwloc_obj_type_t type;
+ for(type = HWLOC_OBJ_SYSTEM; type < HWLOC_OBJ_TYPE_MAX; type++) {
+ const char *env;
+ char envname[64];
+ snprintf(envname, sizeof(envname), "HWLOC_%s_DISTANCES", hwloc_obj_type_string(type));
+ env = getenv(envname);
+ if (env) {
+ hwloc_localeswitch_declare;
+ hwloc_localeswitch_init();
+ hwloc_distances__set_from_string(topology, type, env);
+ hwloc_localeswitch_fini();
+ }
+ }
+}
+
+/* The actual set() function exported to the user
+ *
+ * take the given distance, store them as is in the topology.
+ * we'll convert them into object later once the tree is filled.
+ */
+int hwloc_topology_set_distance_matrix(hwloc_topology_t __hwloc_restrict topology, hwloc_obj_type_t type,
+ unsigned nbobjs, unsigned *indexes, float *distances)
+{
+ unsigned *_indexes;
+ float *_distances;
+
+ if (!nbobjs && !indexes && !distances) {
+ hwloc_distances_set(topology, type, 0, NULL, NULL, NULL, 1 /* force */);
+ return 0;
+ }
+
+ if (nbobjs < 2 || !indexes || !distances)
+ return -1;
+
+ if (hwloc_distances__check_matrix(topology, type, nbobjs, indexes, NULL, distances) < 0)
+ return -1;
+
+ /* copy the input arrays and give them to the topology */
+ _indexes = malloc(nbobjs*sizeof(unsigned));
+ memcpy(_indexes, indexes, nbobjs*sizeof(unsigned));
+ _distances = malloc(nbobjs*nbobjs*sizeof(float));
+ memcpy(_distances, distances, nbobjs*nbobjs*sizeof(float));
+ hwloc_distances_set(topology, type, nbobjs, _indexes, NULL, _distances, 1 /* force */);
+
+ return 0;
+}
+
+/************************
+ * Restricting distances
+ */
+
+/* called when some objects have been removed because empty/ignored/cgroup/restrict,
+ * we must rebuild the list of objects from indexes (in hwloc_distances_finalize_os())
+ */
+void hwloc_distances_restrict_os(struct hwloc_topology *topology)
+{
+ struct hwloc_os_distances_s * osdist;
+ for(osdist = topology->first_osdist; osdist; osdist = osdist->next) {
+ /* remove the objs array, we'll rebuild it from the indexes
+ * depending on remaining objects */
+ free(osdist->objs);
+ osdist->objs = NULL;
+ }
+}
+
+
+/* cleanup everything we created from distances so that we may rebuild them
+ * at the end of restrict()
+ */
+void hwloc_distances_restrict(struct hwloc_topology *topology, unsigned long flags)
+{
+ if (flags & HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES) {
+ /* some objects may have been removed, clear objects arrays so that finalize_os rebuilds them properly */
+ hwloc_distances_restrict_os(topology);
+ } else {
+ /* if not adapting distances, drop everything */
+ hwloc_distances_destroy(topology);
+ }
+}
+
+/**************************************************************
+ * Convert user/env given array of indexes into actual objects
+ */
+
+static hwloc_obj_t hwloc_find_obj_by_type_and_os_index(hwloc_obj_t root, hwloc_obj_type_t type, unsigned os_index)
+{
+ hwloc_obj_t child;
+ if (root->type == type && root->os_index == os_index)
+ return root;
+ child = root->first_child;
+ while (child) {
+ hwloc_obj_t found = hwloc_find_obj_by_type_and_os_index(child, type, os_index);
+ if (found)
+ return found;
+ child = child->next_sibling;
+ }
+ return NULL;
+}
+
+/* convert distance indexes that were previously stored in the topology
+ * into actual objects if not done already.
+ * it's already done when distances come from backends (this function should not be called then).
+ * it's not done when distances come from the user.
+ *
+ * returns -1 if the matrix was invalid
+ */
+static int
+hwloc_distances__finalize_os(struct hwloc_topology *topology, struct hwloc_os_distances_s *osdist)
+{
+ unsigned nbobjs = osdist->nbobjs;
+ unsigned *indexes = osdist->indexes;
+ float *distances = osdist->distances;
+ unsigned i, j;
+ hwloc_obj_type_t type = osdist->type;
+ hwloc_obj_t *objs = calloc(nbobjs, sizeof(hwloc_obj_t));
+
+ assert(!osdist->objs);
+
+ /* traverse the topology and look for the relevant objects */
+ for(i=0; i<nbobjs; i++) {
+ hwloc_obj_t obj = hwloc_find_obj_by_type_and_os_index(topology->levels[0][0], type, indexes[i]);
+ if (!obj) {
+
+ /* shift the matrix */
+#define OLDPOS(i,j) (distances+(i)*nbobjs+(j))
+#define NEWPOS(i,j) (distances+(i)*(nbobjs-1)+(j))
+ if (i>0) {
+ /** no need to move beginning of 0th line */
+ for(j=0; j<i-1; j++)
+ /** move end of jth line + beginning of (j+1)th line */
+ memmove(NEWPOS(j,i), OLDPOS(j,i+1), (nbobjs-1)*sizeof(*distances));
+ /** move end of (i-1)th line */
+ memmove(NEWPOS(i-1,i), OLDPOS(i-1,i+1), (nbobjs-i-1)*sizeof(*distances));
+ }
+ if (i<nbobjs-1) {
+ /** move beginning of (i+1)th line */
+ memmove(NEWPOS(i,0), OLDPOS(i+1,0), i*sizeof(*distances));
+ /** move end of jth line + beginning of (j+1)th line */
+ for(j=i; j<nbobjs-2; j++)
+ memmove(NEWPOS(j,i), OLDPOS(j+1,i+1), (nbobjs-1)*sizeof(*distances));
+ /** move end of (nbobjs-2)th line */
+ memmove(NEWPOS(nbobjs-2,i), OLDPOS(nbobjs-1,i+1), (nbobjs-i-1)*sizeof(*distances));
+ }
+
+ /* shift the indexes array */
+ memmove(indexes+i, indexes+i+1, (nbobjs-i-1)*sizeof(*indexes));
+
+ /* update counters */
+ nbobjs--;
+ i--;
+ continue;
+ }
+ objs[i] = obj;
+ }
+
+ osdist->nbobjs = nbobjs;
+ if (!nbobjs) {
+ /* the whole matrix was invalid, let the caller remove this distances */
+ free(objs);
+ return -1;
+ }
+
+ /* setup the objs array */
+ osdist->objs = objs;
+ return 0;
+}
+
+
+void hwloc_distances_finalize_os(struct hwloc_topology *topology)
+{
+ int dropall = !topology->levels[0][0]->cpuset; /* we don't support distances on multinode systems */
+
+ struct hwloc_os_distances_s *osdist, *next = topology->first_osdist;
+ while ((osdist = next) != NULL) {
+ int err;
+ next = osdist->next;
+
+ if (dropall)
+ goto drop;
+
+ /* remove final distance matrics AND physically-ordered ones */
+
+ if (osdist->objs)
+ /* nothing to do, switch to the next element */
+ continue;
+
+ err = hwloc_distances__finalize_os(topology, osdist);
+ if (!err)
+ /* convert ok, switch to the next element */
+ continue;
+
+ drop:
+ /* remove this element */
+ free(osdist->indexes);
+ free(osdist->distances);
+ /* remove current object */
+ if (osdist->prev)
+ osdist->prev->next = next;
+ else
+ topology->first_osdist = next;
+ if (next)
+ next->prev = osdist->prev;
+ else
+ topology->last_osdist = osdist->prev;
+ /* free current object */
+ free(osdist);
+ }
+}
+
+/***********************************************************
+ * Convert internal distances given by the backend/env/user
+ * into exported logical distances attached to objects
+ */
+
+static void
+hwloc_distances__finalize_logical(struct hwloc_topology *topology,
+ unsigned nbobjs,
+ hwloc_obj_t *objs, float *osmatrix)
+{
+ struct hwloc_distances_s ** tmpdistances;
+ unsigned i, j, li, lj, minl;
+ float min = FLT_MAX, max = FLT_MIN;
+ hwloc_obj_t root, obj;
+ float *matrix;
+ hwloc_cpuset_t cpuset, complete_cpuset;
+ hwloc_nodeset_t nodeset, complete_nodeset;
+ unsigned depth;
+ int idx;
+
+ /* find the root */
+ cpuset = hwloc_bitmap_alloc();
+ complete_cpuset = hwloc_bitmap_alloc();
+ nodeset = hwloc_bitmap_alloc();
+ complete_nodeset = hwloc_bitmap_alloc();
+ for(i=0; i<nbobjs; i++) {
+ hwloc_bitmap_or(cpuset, cpuset, objs[i]->cpuset);
+ if (objs[i]->complete_cpuset)
+ hwloc_bitmap_or(complete_cpuset, complete_cpuset, objs[i]->complete_cpuset);
+ if (objs[i]->nodeset)
+ hwloc_bitmap_or(nodeset, nodeset, objs[i]->nodeset);
+ if (objs[i]->complete_nodeset)
+ hwloc_bitmap_or(complete_nodeset, complete_nodeset, objs[i]->complete_nodeset);
+ }
+ /* find the object covering cpuset, we'll take care of the nodeset later */
+ root = hwloc_get_obj_covering_cpuset(topology, cpuset);
+ /* walk up to find a parent that also covers the nodeset */
+ while (root &&
+ (!hwloc_bitmap_isincluded(nodeset, root->nodeset)
+ || !hwloc_bitmap_isincluded(complete_nodeset, root->complete_nodeset)
+ || !hwloc_bitmap_isincluded(complete_cpuset, root->complete_cpuset)))
+ root = root->parent;
+ if (!root) {
+ /* should not happen unless cpuset is empty.
+ * cpuset may be empty if some objects got removed by KEEP_STRUCTURE, etc
+ * or if all objects are CPU-less.
+ */
+ if (!hwloc_hide_errors() && !hwloc_bitmap_iszero(cpuset)) {
+ char *a, *b;
+ hwloc_bitmap_asprintf(&a, cpuset);
+ hwloc_bitmap_asprintf(&b, nodeset);
+ fprintf(stderr, "****************************************************************************\n");
+ fprintf(stderr, "* hwloc %s failed to add a distance matrix to the topology.\n", HWLOC_VERSION);
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* hwloc_distances__finalize_logical() could not find any object covering\n");
+ fprintf(stderr, "* cpuset %s and nodeset %s\n", a, b);
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* Please make sure that distances given through the programming API or\n");
+ fprintf(stderr, "* environment variables do not contradict any other topology information.\n");
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* Please report this error message to the hwloc user's mailing list,\n");
+#ifdef HWLOC_LINUX_SYS
+ fprintf(stderr, "* along with the files generated by the hwloc-gather-topology script.\n");
+#else
+ fprintf(stderr, "* along with any relevant topology information from your platform.\n");
+#endif
+ fprintf(stderr, "* \n");
+ fprintf(stderr, "* hwloc will now ignore this invalid topology information and continue.\n");
+ fprintf(stderr, "****************************************************************************\n");
+ free(a);
+ free(b);
+ }
+ hwloc_bitmap_free(cpuset);
+ hwloc_bitmap_free(complete_cpuset);
+ hwloc_bitmap_free(nodeset);
+ hwloc_bitmap_free(complete_nodeset);
+ return;
+ }
+ /* don't attach to Misc objects */
+ while (root->type == HWLOC_OBJ_MISC)
+ root = root->parent;
+ /* ideally, root has the exact cpuset and nodeset.
+ * but ignoring or other things that remove objects may cause the object array to reduce */
+ assert(hwloc_bitmap_isincluded(cpuset, root->cpuset));
+ assert(hwloc_bitmap_isincluded(complete_cpuset, root->complete_cpuset));
+ assert(hwloc_bitmap_isincluded(nodeset, root->nodeset));
+ assert(hwloc_bitmap_isincluded(complete_nodeset, root->complete_nodeset));
+ hwloc_bitmap_free(cpuset);
+ hwloc_bitmap_free(complete_cpuset);
+ hwloc_bitmap_free(nodeset);
+ hwloc_bitmap_free(complete_nodeset);
+ depth = objs[0]->depth; /* this assume that we have distances between objects of the same level */
+ if (root->depth >= depth) {
+ /* strange topology led us to find invalid relative depth, ignore */
+ return;
+ }
+
+ /* count objects at that depth that are below root.
+ * we can't use hwloc_get_nbobjs_inside_cpuset_by_depth() because it ignore CPU-less objects.
+ */
+ i = 0;
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_depth(topology, depth, obj)) != NULL) {
+ hwloc_obj_t myparent = obj->parent;
+ while (myparent->depth > root->depth)
+ myparent = myparent->parent;
+ if (myparent == root)
+ i++;
+ }
+ if (i != nbobjs)
+ /* the root does not cover the right number of objects, maybe we failed to insert a root (bad intersect or so). */
+ return;
+
+ /* get the logical index offset, it's the min of all logical indexes */
+ minl = UINT_MAX;
+ for(i=0; i<nbobjs; i++)
+ if (minl > objs[i]->logical_index)
+ minl = objs[i]->logical_index;
+
+ /* compute/check min/max values */
+ for(i=0; i<nbobjs; i++)
+ for(j=0; j<nbobjs; j++) {
+ float val = osmatrix[i*nbobjs+j];
+ if (val < min)
+ min = val;
+ if (val > max)
+ max = val;
+ }
+ if (!min) {
+ /* Linux up to 2.6.36 reports ACPI SLIT distances, which should be memory latencies.
+ * Except of SGI IP27 (SGI Origin 200/2000 with MIPS processors) where the distances
+ * are the number of hops between routers.
+ */
+ hwloc_debug("%s", "minimal distance is 0, matrix does not seem to contain latencies, ignoring\n");
+ return;
+ }
+
+ /* store the normalized latency matrix in the root object */
+ tmpdistances = realloc(root->distances, (root->distances_count+1) * sizeof(struct hwloc_distances_s *));
+ if (!tmpdistances)
+ return; /* Failed to allocate, ignore this distance matrix */
+
+ root->distances = tmpdistances;
+ idx = root->distances_count++;
+ root->distances[idx] = malloc(sizeof(struct hwloc_distances_s));
+ root->distances[idx]->relative_depth = depth - root->depth;
+ root->distances[idx]->nbobjs = nbobjs;
+ root->distances[idx]->latency = matrix = malloc(nbobjs*nbobjs*sizeof(float));
+ root->distances[idx]->latency_base = (float) min;
+#define NORMALIZE_LATENCY(d) ((d)/(min))
+ root->distances[idx]->latency_max = NORMALIZE_LATENCY(max);
+ for(i=0; i<nbobjs; i++) {
+ li = objs[i]->logical_index - minl;
+ matrix[li*nbobjs+li] = NORMALIZE_LATENCY(osmatrix[i*nbobjs+i]);
+ for(j=i+1; j<nbobjs; j++) {
+ lj = objs[j]->logical_index - minl;
+ matrix[li*nbobjs+lj] = NORMALIZE_LATENCY(osmatrix[i*nbobjs+j]);
+ matrix[lj*nbobjs+li] = NORMALIZE_LATENCY(osmatrix[j*nbobjs+i]);
+ }
+ }
+}
+
+/* convert internal distances into logically-ordered distances
+ * that can be exposed in the API
+ */
+void
+hwloc_distances_finalize_logical(struct hwloc_topology *topology)
+{
+ unsigned nbobjs;
+ int depth;
+ struct hwloc_os_distances_s * osdist;
+ for(osdist = topology->first_osdist; osdist; osdist = osdist->next) {
+
+ nbobjs = osdist->nbobjs;
+ if (!nbobjs)
+ continue;
+
+ depth = hwloc_get_type_depth(topology, osdist->type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN || depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ continue;
+
+ if (osdist->objs) {
+ assert(osdist->distances);
+ hwloc_distances__finalize_logical(topology, nbobjs,
+ osdist->objs,
+ osdist->distances);
+ }
+ }
+}
+
+/***************************************************
+ * Destroying logical distances attached to objects
+ */
+
+/* destroy an object distances structure */
+void
+hwloc_clear_object_distances_one(struct hwloc_distances_s * distances)
+{
+ free(distances->latency);
+ free(distances);
+
+}
+
+void
+hwloc_clear_object_distances(hwloc_obj_t obj)
+{
+ unsigned i;
+ for (i=0; i<obj->distances_count; i++)
+ hwloc_clear_object_distances_one(obj->distances[i]);
+ free(obj->distances);
+ obj->distances = NULL;
+ obj->distances_count = 0;
+}
+
+/******************************************
+ * Grouping objects according to distances
+ */
+
+static void hwloc_report_user_distance_error(const char *msg, int line)
+{
+ static int reported = 0;
+
+ if (!reported && !hwloc_hide_errors()) {
+ fprintf(stderr, "****************************************************************************\n");
+ fprintf(stderr, "* hwloc %s was given invalid distances by the user.\n", HWLOC_VERSION);
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* %s\n", msg);
+ fprintf(stderr, "* Error occurred in topology.c line %d\n", line);
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* Please make sure that distances given through the programming API or\n");
+ fprintf(stderr, "* environment variables do not contradict any other topology information.\n");
+ fprintf(stderr, "* \n");
+ fprintf(stderr, "* hwloc will now ignore this invalid topology information and continue.\n");
+ fprintf(stderr, "****************************************************************************\n");
+ reported = 1;
+ }
+}
+
+static int hwloc_compare_distances(float a, float b, float accuracy)
+{
+ if (accuracy != 0.0 && fabsf(a-b) < a * accuracy)
+ return 0;
+ return a < b ? -1 : a == b ? 0 : 1;
+}
+
+/*
+ * Place objects in groups if they are in a transitive graph of minimal distances.
+ * Return how many groups were created, or 0 if some incomplete distance graphs were found.
+ */
+static unsigned
+hwloc__find_groups_by_min_distance(unsigned nbobjs,
+ float *_distances,
+ float accuracy,
+ unsigned *groupids,
+ int verbose)
+{
+ float min_distance = FLT_MAX;
+ unsigned groupid = 1;
+ unsigned i,j,k;
+ unsigned skipped = 0;
+
+#define DISTANCE(i, j) _distances[(i) * nbobjs + (j)]
+
+ memset(groupids, 0, nbobjs*sizeof(*groupids));
+
+ /* find the minimal distance */
+ for(i=0; i<nbobjs; i++)
+ for(j=0; j<nbobjs; j++) /* check the entire matrix, it may not be perfectly symmetric depending on the accuracy */
+ if (i != j && DISTANCE(i, j) < min_distance) /* no accuracy here, we want the real minimal */
+ min_distance = DISTANCE(i, j);
+ hwloc_debug("found minimal distance %f between objects\n", min_distance);
+
+ if (min_distance == FLT_MAX)
+ return 0;
+
+ /* build groups of objects connected with this distance */
+ for(i=0; i<nbobjs; i++) {
+ unsigned size;
+ int firstfound;
+
+ /* if already grouped, skip */
+ if (groupids[i])
+ continue;
+
+ /* start a new group */
+ groupids[i] = groupid;
+ size = 1;
+ firstfound = i;
+
+ while (firstfound != -1) {
+ /* we added new objects to the group, the first one was firstfound.
+ * rescan all connections from these new objects (starting at first found) to any other objects,
+ * so as to find new objects minimally-connected by transivity.
+ */
+ int newfirstfound = -1;
+ for(j=firstfound; j<nbobjs; j++)
+ if (groupids[j] == groupid)
+ for(k=0; k<nbobjs; k++)
+ if (!groupids[k] && !hwloc_compare_distances(DISTANCE(j, k), min_distance, accuracy)) {
+ groupids[k] = groupid;
+ size++;
+ if (newfirstfound == -1)
+ newfirstfound = k;
+ if (i == j)
+ hwloc_debug("object %u is minimally connected to %u\n", k, i);
+ else
+ hwloc_debug("object %u is minimally connected to %u through %u\n", k, i, j);
+ }
+ firstfound = newfirstfound;
+ }
+
+ if (size == 1) {
+ /* cancel this useless group, ignore this object and try from the next one */
+ groupids[i] = 0;
+ skipped++;
+ continue;
+ }
+
+ /* valid this group */
+ groupid++;
+ if (verbose)
+ fprintf(stderr, "Found transitive graph with %u objects with minimal distance %f accuracy %f\n",
+ size, min_distance, accuracy);
+ }
+
+ if (groupid == 2 && !skipped)
+ /* we created a single group containing all objects, ignore it */
+ return 0;
+
+ /* return the last id, since it's also the number of used group ids */
+ return groupid-1;
+}
+
+/* check that the matrix is ok */
+static int
+hwloc__check_grouping_matrix(unsigned nbobjs, float *_distances, float accuracy, int verbose)
+{
+ unsigned i,j;
+ for(i=0; i<nbobjs; i++) {
+ for(j=i+1; j<nbobjs; j++) {
+ /* should be symmetric */
+ if (hwloc_compare_distances(DISTANCE(i, j), DISTANCE(j, i), accuracy)) {
+ if (verbose)
+ fprintf(stderr, "Distance matrix asymmetric ([%u,%u]=%f != [%u,%u]=%f), aborting\n",
+ i, j, DISTANCE(i, j), j, i, DISTANCE(j, i));
+ return -1;
+ }
+ /* diagonal is smaller than everything else */
+ if (hwloc_compare_distances(DISTANCE(i, j), DISTANCE(i, i), accuracy) <= 0) {
+ if (verbose)
+ fprintf(stderr, "Distance to self not strictly minimal ([%u,%u]=%f <= [%u,%u]=%f), aborting\n",
+ i, j, DISTANCE(i, j), i, i, DISTANCE(i, i));
+ return -1;
+ }
+ }
+ }
+ return 0;
+}
+
+/*
+ * Look at object physical distances to group them.
+ */
+static void
+hwloc__groups_by_distances(struct hwloc_topology *topology,
+ unsigned nbobjs,
+ struct hwloc_obj **objs,
+ float *_distances,
+ unsigned nbaccuracies, float *accuracies,
+ int fromuser,
+ int needcheck,
+ int verbose)
+{
+ unsigned *groupids = NULL;
+ unsigned nbgroups = 0;
+ unsigned i,j;
+
+ if (nbobjs <= 2) {
+ return;
+ }
+
+ groupids = malloc(sizeof(unsigned) * nbobjs);
+ if (NULL == groupids) {
+ return;
+ }
+
+ for(i=0; i<nbaccuracies; i++) {
+ if (verbose)
+ fprintf(stderr, "Trying to group %u %s objects according to physical distances with accuracy %f\n",
+ nbobjs, hwloc_obj_type_string(objs[0]->type), accuracies[i]);
+ if (needcheck && hwloc__check_grouping_matrix(nbobjs, _distances, accuracies[i], verbose) < 0)
+ continue;
+ nbgroups = hwloc__find_groups_by_min_distance(nbobjs, _distances, accuracies[i], groupids, verbose);
+ if (nbgroups)
+ break;
+ }
+ if (!nbgroups)
+ goto outter_free;
+
+ /* For convenience, put these declarations inside a block. It's a
+ crying shame we can't use C99 syntax here, and have to do a bunch
+ of mallocs. :-( */
+ {
+ hwloc_obj_t *groupobjs = NULL;
+ unsigned *groupsizes = NULL;
+ float *groupdistances = NULL;
+ unsigned failed = 0;
+
+ groupobjs = malloc(sizeof(hwloc_obj_t) * nbgroups);
+ groupsizes = malloc(sizeof(unsigned) * nbgroups);
+ groupdistances = malloc(sizeof(float) * nbgroups * nbgroups);
+ if (NULL == groupobjs || NULL == groupsizes || NULL == groupdistances) {
+ goto inner_free;
+ }
+ /* create new Group objects and record their size */
+ memset(&(groupsizes[0]), 0, sizeof(groupsizes[0]) * nbgroups);
+ for(i=0; i<nbgroups; i++) {
+ /* create the Group object */
+ hwloc_obj_t group_obj, res_obj;
+ group_obj = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, -1);
+ group_obj->cpuset = hwloc_bitmap_alloc();
+ group_obj->attr->group.depth = topology->next_group_depth;
+ for (j=0; j<nbobjs; j++)
+ if (groupids[j] == i+1) {
+ /* assemble the group cpuset */
+ hwloc_bitmap_or(group_obj->cpuset, group_obj->cpuset, objs[j]->cpuset);
+ if (objs[i]->complete_cpuset) {
+ if (!group_obj->complete_cpuset)
+ group_obj->complete_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(group_obj->complete_cpuset, group_obj->complete_cpuset, objs[j]->complete_cpuset);
+ }
+ /* if one obj has a nodeset, assemble a group nodeset */
+ if (objs[j]->nodeset) {
+ if (!group_obj->nodeset)
+ group_obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(group_obj->nodeset, group_obj->nodeset, objs[j]->nodeset);
+ }
+ if (objs[i]->complete_nodeset) {
+ if (!group_obj->complete_nodeset)
+ group_obj->complete_nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(group_obj->complete_nodeset, group_obj->complete_nodeset, objs[j]->complete_nodeset);
+ }
+ groupsizes[i]++;
+ }
+ hwloc_debug_1arg_bitmap("adding Group object with %u objects and cpuset %s\n",
+ groupsizes[i], group_obj->cpuset);
+ res_obj = hwloc__insert_object_by_cpuset(topology, group_obj,
+ fromuser ? hwloc_report_user_distance_error : hwloc_report_os_error);
+ /* res_obj may be NULL on failure to insert. */
+ if (!res_obj)
+ failed++;
+ /* or it may be different from groupobjs if we got groups from XML import before grouping */
+ groupobjs[i] = res_obj;
+ }
+
+ if (failed)
+ /* don't try to group above if we got a NULL group here, just keep this incomplete level */
+ goto inner_free;
+
+ /* factorize distances */
+ memset(&(groupdistances[0]), 0, sizeof(groupdistances[0]) * nbgroups * nbgroups);
+#undef DISTANCE
+#define DISTANCE(i, j) _distances[(i) * nbobjs + (j)]
+#define GROUP_DISTANCE(i, j) groupdistances[(i) * nbgroups + (j)]
+ for(i=0; i<nbobjs; i++)
+ if (groupids[i])
+ for(j=0; j<nbobjs; j++)
+ if (groupids[j])
+ GROUP_DISTANCE(groupids[i]-1, groupids[j]-1) += DISTANCE(i, j);
+ for(i=0; i<nbgroups; i++)
+ for(j=0; j<nbgroups; j++) {
+ unsigned groupsize = groupsizes[i]*groupsizes[j];
+ float groupsizef = (float) groupsize;
+ GROUP_DISTANCE(i, j) /= groupsizef;
+ }
+#ifdef HWLOC_DEBUG
+ hwloc_debug("%s", "generated new distance matrix between groups:\n");
+ hwloc_debug("%s", " index");
+ for(j=0; j<nbgroups; j++)
+ hwloc_debug(" % 5d", (int) j); /* print index because os_index is -1 for Groups */
+ hwloc_debug("%s", "\n");
+ for(i=0; i<nbgroups; i++) {
+ hwloc_debug(" % 5d", (int) i);
+ for(j=0; j<nbgroups; j++)
+ hwloc_debug(" %2.3f", GROUP_DISTANCE(i, j));
+ hwloc_debug("%s", "\n");
+ }
+#endif
+
+ topology->next_group_depth++;
+ hwloc__groups_by_distances(topology, nbgroups, groupobjs, (float*) groupdistances, nbaccuracies, accuracies, fromuser, 0 /* no need to check generated matrix */, verbose);
+
+ inner_free:
+ /* Safely free everything */
+ if (NULL != groupobjs) {
+ free(groupobjs);
+ }
+ if (NULL != groupsizes) {
+ free(groupsizes);
+ }
+ if (NULL != groupdistances) {
+ free(groupdistances);
+ }
+ }
+
+ outter_free:
+ if (NULL != groupids) {
+ free(groupids);
+ }
+}
+
+void
+hwloc_group_by_distances(struct hwloc_topology *topology)
+{
+ unsigned nbobjs;
+ struct hwloc_os_distances_s * osdist;
+ const char *env;
+ float accuracies[5] = { 0.0f, 0.01f, 0.02f, 0.05f, 0.1f };
+ unsigned nbaccuracies = 5;
+ hwloc_obj_t group_obj;
+ int verbose = 0;
+ unsigned i;
+ hwloc_localeswitch_declare;
+#ifdef HWLOC_DEBUG
+ unsigned j;
+#endif
+
+ env = getenv("HWLOC_GROUPING");
+ if (env && !atoi(env))
+ return;
+ /* backward compat with v1.2 */
+ if (getenv("HWLOC_IGNORE_DISTANCES"))
+ return;
+
+ hwloc_localeswitch_init();
+ env = getenv("HWLOC_GROUPING_ACCURACY");
+ if (!env) {
+ /* only use 0.0 */
+ nbaccuracies = 1;
+ } else if (strcmp(env, "try")) {
+ /* use the given value */
+ nbaccuracies = 1;
+ accuracies[0] = (float) atof(env);
+ } /* otherwise try all values */
+ hwloc_localeswitch_fini();
+
+#ifdef HWLOC_DEBUG
+ verbose = 1;
+#else
+ env = getenv("HWLOC_GROUPING_VERBOSE");
+ if (env)
+ verbose = atoi(env);
+#endif
+
+ for(osdist = topology->first_osdist; osdist; osdist = osdist->next) {
+
+ nbobjs = osdist->nbobjs;
+ if (!nbobjs)
+ continue;
+
+ if (osdist->objs) {
+ /* if we have objs, we must have distances as well,
+ * thanks to hwloc_convert_distances_indexes_into_objects()
+ */
+ assert(osdist->distances);
+
+#ifdef HWLOC_DEBUG
+ hwloc_debug("%s", "trying to group objects using distance matrix:\n");
+ hwloc_debug("%s", " index");
+ for(j=0; j<nbobjs; j++)
+ hwloc_debug(" % 5d", (int) osdist->objs[j]->os_index);
+ hwloc_debug("%s", "\n");
+ for(i=0; i<nbobjs; i++) {
+ hwloc_debug(" % 5d", (int) osdist->objs[i]->os_index);
+ for(j=0; j<nbobjs; j++)
+ hwloc_debug(" %2.3f", osdist->distances[i*nbobjs + j]);
+ hwloc_debug("%s", "\n");
+ }
+#endif
+
+ hwloc__groups_by_distances(topology, nbobjs,
+ osdist->objs,
+ osdist->distances,
+ nbaccuracies, accuracies,
+ osdist->indexes != NULL,
+ 1 /* check the first matrice */,
+ verbose);
+
+ /* add a final group object covering everybody so that the distance matrix can be stored somewhere.
+ * this group will be merged into a regular object if the matrix isn't strangely incomplete
+ */
+ group_obj = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, -1);
+ group_obj->attr->group.depth = (unsigned) -1;
+ group_obj->cpuset = hwloc_bitmap_alloc();
+ for(i=0; i<nbobjs; i++) {
+ /* assemble the group cpuset */
+ hwloc_bitmap_or(group_obj->cpuset, group_obj->cpuset, osdist->objs[i]->cpuset);
+ if (osdist->objs[i]->complete_cpuset) {
+ if (!group_obj->complete_cpuset)
+ group_obj->complete_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(group_obj->complete_cpuset, group_obj->complete_cpuset, osdist->objs[i]->complete_cpuset);
+ }
+ /* if one obj has a nodeset, assemble a group nodeset */
+ if (osdist->objs[i]->nodeset) {
+ if (!group_obj->nodeset)
+ group_obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(group_obj->nodeset, group_obj->nodeset, osdist->objs[i]->nodeset);
+ }
+ if (osdist->objs[i]->complete_nodeset) {
+ if (!group_obj->complete_nodeset)
+ group_obj->complete_nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(group_obj->complete_nodeset, group_obj->complete_nodeset, osdist->objs[i]->complete_nodeset);
+ }
+ }
+ hwloc_debug_1arg_bitmap("adding Group object (as root of distance matrix with %u objects) with cpuset %s\n",
+ nbobjs, group_obj->cpuset);
+ hwloc__insert_object_by_cpuset(topology, group_obj,
+ osdist->indexes != NULL ? hwloc_report_user_distance_error : hwloc_report_os_error);
+ }
+ }
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009, 2012 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+/* Wrapper to avoid msys' tendency to turn / into \ and : into ; */
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <stdio.h>
+#include <stdlib.h>
+
+int main(int argc, char *argv[]) {
+ char *prog, *arch, *def, *version, *lib;
+ char s[1024];
+ char name[16];
+ int current, age, revision;
+
+ if (argc != 6) {
+ fprintf(stderr,"bad number of arguments");
+ exit(EXIT_FAILURE);
+ }
+
+ prog = argv[1];
+ arch = argv[2];
+ def = argv[3];
+ version = argv[4];
+ lib = argv[5];
+
+ if (sscanf(version, "%d:%d:%d", ¤t, &revision, &age) != 3)
+ exit(EXIT_FAILURE);
+
+ _snprintf(name, sizeof(name), "libhwloc-%d", current - age);
+ printf("using soname %s\n", name);
+
+ _snprintf(s, sizeof(s), "\"%s\" /machine:%s /def:%s /name:%s /out:%s",
+ prog, arch, def, name, lib);
+ if (system(s)) {
+ fprintf(stderr, "%s failed\n", s);
+ exit(EXIT_FAILURE);
+ }
+
+ exit(EXIT_SUCCESS);
+}
--- /dev/null
+<!--
+ Copyright © 2009 CNRS
+ Copyright © 2009-2019 Inria. All rights reserved.
+ Copyright © 2009-2011 Université Bordeaux.
+ See COPYING in top-level directory.
+
+ This is the DTD for hwloc v1.x XMLs and diff XMLs.
+ -->
+
+<!ELEMENT topology (object)+>
+<!ELEMENT root (object)+>
+
+<!ELEMENT object (page_type*,info*,distances*,userdata*,object*)>
+<!ATTLIST object type (System | Machine | Misc | Group | NUMANode | Socket | Package | Cache | Core | PU | Bridge | PCIDev | OSDev) #REQUIRED>
+<!ATTLIST object os_level CDATA "-1" >
+<!ATTLIST object os_index CDATA "-1" >
+<!ATTLIST object name CDATA "" >
+<!ATTLIST object local_memory CDATA "0" >
+<!ATTLIST object cache_size CDATA "0" >
+<!ATTLIST object cache_linesize CDATA "0" >
+<!ATTLIST object cache_associativity CDATA "0" >
+<!ATTLIST object cache_type CDATA "0" >
+<!ATTLIST object huge_page_size_kB CDATA "0" >
+<!ATTLIST object huge_page_free CDATA "0" >
+<!ATTLIST object depth CDATA "-1" >
+<!ATTLIST object cpuset CDATA "0" >
+<!ATTLIST object complete_cpuset CDATA "" >
+<!ATTLIST object online_cpuset CDATA "" >
+<!ATTLIST object allowed_cpuset CDATA "" >
+<!ATTLIST object nodeset CDATA "" >
+<!ATTLIST object complete_nodeset CDATA "" >
+<!ATTLIST object allowed_nodeset CDATA "" >
+<!ATTLIST object dont_merge CDATA "0" >
+<!ATTLIST object bridge_type CDATA "" >
+<!ATTLIST object bridge_pci CDATA "" >
+<!ATTLIST object pci_busid CDATA "" >
+<!ATTLIST object pci_type CDATA "" >
+<!ATTLIST object pci_link_speed CDATA "0." >
+<!ATTLIST object osdev_type CDATA "" >
+
+<!ELEMENT page_type EMPTY>
+<!ATTLIST page_type size CDATA #REQUIRED>
+<!ATTLIST page_type count CDATA #REQUIRED>
+
+<!ELEMENT info EMPTY>
+<!ATTLIST info name CDATA #REQUIRED>
+<!ATTLIST info value CDATA #REQUIRED>
+
+<!ELEMENT distances (latency*)>
+<!ATTLIST distances nbobjs CDATA #REQUIRED>
+<!ATTLIST distances relative_depth CDATA #REQUIRED>
+<!ATTLIST distances latency_base CDATA #REQUIRED>
+
+<!ELEMENT latency EMPTY>
+<!ATTLIST latency value CDATA #REQUIRED>
+
+<!ELEMENT userdata (#PCDATA)>
+<!ATTLIST userdata name CDATA "" >
+<!ATTLIST userdata length CDATA "0" >
+<!ATTLIST userdata encoding CDATA "" >
+
+
+<!ELEMENT topologydiff (diff)*>
+<!ATTLIST topologydiff refname CDATA "">
+
+<!ELEMENT diff EMPTY>
+<!ATTLIST diff type CDATA #REQUIRED>
+<!ATTLIST diff obj_depth CDATA "-1" >
+<!ATTLIST diff obj_index CDATA "-1" >
+<!ATTLIST diff obj_attr_type CDATA "-1" >
+<!ATTLIST diff obj_attr_index CDATA "-1" >
+<!ATTLIST diff obj_attr_name CDATA "" >
+<!ATTLIST diff obj_attr_newvalue CDATA "" >
+<!ATTLIST diff obj_attr_oldvalue CDATA "" >
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2009-2018 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <private/private.h>
+#include <private/misc.h>
+
+#include <stdarg.h>
+#ifdef HAVE_SYS_UTSNAME_H
+#include <sys/utsname.h>
+#endif
+#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+#include <errno.h>
+#include <ctype.h>
+
+#ifdef HAVE_PROGRAM_INVOCATION_NAME
+#include <errno.h>
+extern char *program_invocation_name;
+#endif
+#ifdef HAVE___PROGNAME
+extern char *__progname;
+#endif
+
+int hwloc_snprintf(char *str, size_t size, const char *format, ...)
+{
+ int ret;
+ va_list ap;
+ static char bin;
+ size_t fakesize;
+ char *fakestr;
+
+ /* Some systems crash on str == NULL */
+ if (!size) {
+ str = &bin;
+ size = 1;
+ }
+
+ va_start(ap, format);
+ ret = vsnprintf(str, size, format, ap);
+ va_end(ap);
+
+ if (ret >= 0 && (size_t) ret != size-1)
+ return ret;
+
+ /* vsnprintf returned size-1 or -1. That could be a system which reports the
+ * written data and not the actually required room. Try increasing buffer
+ * size to get the latter. */
+
+ fakesize = size;
+ fakestr = NULL;
+ do {
+ fakesize *= 2;
+ free(fakestr);
+ fakestr = malloc(fakesize);
+ if (NULL == fakestr)
+ return -1;
+ va_start(ap, format);
+ errno = 0;
+ ret = vsnprintf(fakestr, fakesize, format, ap);
+ va_end(ap);
+ } while ((size_t) ret == fakesize-1 || (ret < 0 && (!errno || errno == ERANGE)));
+
+ if (ret >= 0 && size) {
+ if (size > (size_t) ret+1)
+ size = ret+1;
+ memcpy(str, fakestr, size-1);
+ str[size-1] = 0;
+ }
+ free(fakestr);
+
+ return ret;
+}
+
+int hwloc_namecoloncmp(const char *haystack, const char *needle, size_t n)
+{
+ size_t i = 0;
+ while (*haystack && *haystack != ':') {
+ int ha = *haystack++;
+ int low_h = tolower(ha);
+ int ne = *needle++;
+ int low_n = tolower(ne);
+ if (low_h != low_n)
+ return 1;
+ i++;
+ }
+ return i < n;
+}
+
+void hwloc_add_uname_info(struct hwloc_topology *topology __hwloc_attribute_unused,
+ void *cached_uname __hwloc_attribute_unused)
+{
+#ifdef HAVE_UNAME
+ struct utsname _utsname, *utsname;
+
+ if (hwloc_obj_get_info_by_name(topology->levels[0][0], "OSName"))
+ /* don't annotate twice */
+ return;
+
+ if (cached_uname)
+ utsname = (struct utsname *) cached_uname;
+ else {
+ utsname = &_utsname;
+ if (uname(utsname) < 0)
+ return;
+ }
+
+ if (*utsname->sysname)
+ hwloc_obj_add_info(topology->levels[0][0], "OSName", utsname->sysname);
+ if (*utsname->release)
+ hwloc_obj_add_info(topology->levels[0][0], "OSRelease", utsname->release);
+ if (*utsname->version)
+ hwloc_obj_add_info(topology->levels[0][0], "OSVersion", utsname->version);
+ if (*utsname->nodename)
+ hwloc_obj_add_info(topology->levels[0][0], "HostName", utsname->nodename);
+ if (*utsname->machine)
+ hwloc_obj_add_info(topology->levels[0][0], "Architecture", utsname->machine);
+#endif /* HAVE_UNAME */
+}
+
+char *
+hwloc_progname(struct hwloc_topology *topology __hwloc_attribute_unused)
+{
+#if HAVE_DECL_GETMODULEFILENAME
+ char name[256], *local_basename;
+ unsigned res = GetModuleFileName(NULL, name, sizeof(name));
+ if (res == sizeof(name) || !res)
+ return NULL;
+ local_basename = strrchr(name, '\\');
+ if (!local_basename)
+ local_basename = name;
+ else
+ local_basename++;
+ return strdup(local_basename);
+#else /* !HAVE_GETMODULEFILENAME */
+ const char *name, *local_basename;
+#if HAVE_DECL_GETPROGNAME
+ name = getprogname(); /* FreeBSD, NetBSD, some Solaris */
+#elif HAVE_DECL_GETEXECNAME
+ name = getexecname(); /* Solaris */
+#elif defined HAVE_PROGRAM_INVOCATION_NAME
+ name = program_invocation_name; /* Glibc. BGQ CNK. */
+ /* could use program_invocation_short_name directly, but we have the code to remove the path below anyway */
+#elif defined HAVE___PROGNAME
+ name = __progname; /* fallback for most unix, used for OpenBSD */
+#else
+ /* TODO: _NSGetExecutablePath(path, &size) on Darwin */
+ /* TODO: AIX, HPUX, OSF */
+ name = NULL;
+#endif
+ if (!name)
+ return NULL;
+ local_basename = strrchr(name, '/');
+ if (!local_basename)
+ local_basename = name;
+ else
+ local_basename++;
+ return strdup(local_basename);
+#endif /* !HAVE_GETMODULEFILENAME */
+}
--- /dev/null
+/*
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/plugins.h>
+#include <private/private.h>
+#include <private/debug.h>
+#include <private/misc.h>
+
+#ifdef HWLOC_DEBUG
+static void
+hwloc_pci_traverse_print_cb(void * cbdata __hwloc_attribute_unused,
+ struct hwloc_obj *pcidev)
+{
+ char busid[14];
+ hwloc_obj_t parent;
+
+ /* indent */
+ parent = pcidev->parent;
+ while (parent) {
+ hwloc_debug("%s", " ");
+ parent = parent->parent;
+ }
+
+ snprintf(busid, sizeof(busid), "%04x:%02x:%02x.%01x",
+ pcidev->attr->pcidev.domain, pcidev->attr->pcidev.bus, pcidev->attr->pcidev.dev, pcidev->attr->pcidev.func);
+
+ if (pcidev->type == HWLOC_OBJ_BRIDGE) {
+ if (pcidev->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_HOST)
+ hwloc_debug("HostBridge");
+ else
+ hwloc_debug("%s Bridge [%04x:%04x]", busid,
+ pcidev->attr->pcidev.vendor_id, pcidev->attr->pcidev.device_id);
+ hwloc_debug(" to %04x:[%02x:%02x]\n",
+ pcidev->attr->bridge.downstream.pci.domain, pcidev->attr->bridge.downstream.pci.secondary_bus, pcidev->attr->bridge.downstream.pci.subordinate_bus);
+ } else
+ hwloc_debug("%s Device [%04x:%04x (%04x:%04x) rev=%02x class=%04x]\n", busid,
+ pcidev->attr->pcidev.vendor_id, pcidev->attr->pcidev.device_id,
+ pcidev->attr->pcidev.subvendor_id, pcidev->attr->pcidev.subdevice_id,
+ pcidev->attr->pcidev.revision, pcidev->attr->pcidev.class_id);
+}
+#endif /* HWLOC_DEBUG */
+
+static void
+hwloc_pci_traverse_lookuposdevices_cb(void * cbdata,
+ struct hwloc_obj *pcidev)
+{
+ struct hwloc_backend *backend = cbdata;
+
+ if (pcidev->type == HWLOC_OBJ_BRIDGE)
+ return;
+
+ hwloc_backends_notify_new_object(backend, pcidev);
+}
+
+static void
+hwloc_pci__traverse(void * cbdata, struct hwloc_obj *root,
+ void (*cb)(void * cbdata, struct hwloc_obj *))
+{
+ struct hwloc_obj *child = root->first_child;
+ while (child) {
+ cb(cbdata, child);
+ if (child->type == HWLOC_OBJ_BRIDGE)
+ hwloc_pci__traverse(cbdata, child, cb);
+ child = child->next_sibling;
+ }
+}
+
+static void
+hwloc_pci_traverse(void * cbdata, struct hwloc_obj *root,
+ void (*cb)(void * cbdata, struct hwloc_obj *))
+{
+ hwloc_pci__traverse(cbdata, root, cb);
+}
+
+enum hwloc_pci_busid_comparison_e {
+ HWLOC_PCI_BUSID_LOWER,
+ HWLOC_PCI_BUSID_HIGHER,
+ HWLOC_PCI_BUSID_INCLUDED,
+ HWLOC_PCI_BUSID_SUPERSET
+};
+
+static enum hwloc_pci_busid_comparison_e
+hwloc_pci_compare_busids(struct hwloc_obj *a, struct hwloc_obj *b)
+{
+ if (a->type == HWLOC_OBJ_BRIDGE)
+ assert(a->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI);
+ if (b->type == HWLOC_OBJ_BRIDGE)
+ assert(b->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI);
+
+ if (a->attr->pcidev.domain < b->attr->pcidev.domain)
+ return HWLOC_PCI_BUSID_LOWER;
+ if (a->attr->pcidev.domain > b->attr->pcidev.domain)
+ return HWLOC_PCI_BUSID_HIGHER;
+
+ if (a->type == HWLOC_OBJ_BRIDGE
+ && b->attr->pcidev.bus >= a->attr->bridge.downstream.pci.secondary_bus
+ && b->attr->pcidev.bus <= a->attr->bridge.downstream.pci.subordinate_bus)
+ return HWLOC_PCI_BUSID_SUPERSET;
+ if (b->type == HWLOC_OBJ_BRIDGE
+ && a->attr->pcidev.bus >= b->attr->bridge.downstream.pci.secondary_bus
+ && a->attr->pcidev.bus <= b->attr->bridge.downstream.pci.subordinate_bus)
+ return HWLOC_PCI_BUSID_INCLUDED;
+
+ if (a->attr->pcidev.bus < b->attr->pcidev.bus)
+ return HWLOC_PCI_BUSID_LOWER;
+ if (a->attr->pcidev.bus > b->attr->pcidev.bus)
+ return HWLOC_PCI_BUSID_HIGHER;
+
+ if (a->attr->pcidev.dev < b->attr->pcidev.dev)
+ return HWLOC_PCI_BUSID_LOWER;
+ if (a->attr->pcidev.dev > b->attr->pcidev.dev)
+ return HWLOC_PCI_BUSID_HIGHER;
+
+ if (a->attr->pcidev.func < b->attr->pcidev.func)
+ return HWLOC_PCI_BUSID_LOWER;
+ if (a->attr->pcidev.func > b->attr->pcidev.func)
+ return HWLOC_PCI_BUSID_HIGHER;
+
+ /* Should never reach here. Abort on both debug builds and
+ non-debug builds */
+ assert(0);
+ fprintf(stderr, "Bad assertion in hwloc %s:%d (aborting)\n", __FILE__, __LINE__);
+ exit(1);
+}
+
+static void
+hwloc_pci_add_child_before(struct hwloc_obj *root, struct hwloc_obj *child, struct hwloc_obj *new)
+{
+ if (child) {
+ new->prev_sibling = child->prev_sibling;
+ child->prev_sibling = new;
+ } else {
+ new->prev_sibling = root->last_child;
+ root->last_child = new;
+ }
+
+ if (new->prev_sibling)
+ new->prev_sibling->next_sibling = new;
+ else
+ root->first_child = new;
+ new->next_sibling = child;
+
+ new->parent = root; /* so that hwloc_pci_traverse_print_cb() can indent by depth */
+}
+
+static void
+hwloc_pci_remove_child(struct hwloc_obj *root, struct hwloc_obj *child)
+{
+ if (child->next_sibling)
+ child->next_sibling->prev_sibling = child->prev_sibling;
+ else
+ root->last_child = child->prev_sibling;
+ if (child->prev_sibling)
+ child->prev_sibling->next_sibling = child->next_sibling;
+ else
+ root->first_child = child->next_sibling;
+ child->prev_sibling = NULL;
+ child->next_sibling = NULL;
+}
+
+static void hwloc_pci_add_object(struct hwloc_obj *root, struct hwloc_obj *new);
+
+static void
+hwloc_pci_try_insert_siblings_below_new_bridge(struct hwloc_obj *root, struct hwloc_obj *new)
+{
+ enum hwloc_pci_busid_comparison_e comp;
+ struct hwloc_obj *current, *next;
+
+ next = new->next_sibling;
+ while (next) {
+ current = next;
+ next = current->next_sibling;
+
+ comp = hwloc_pci_compare_busids(current, new);
+ assert(comp != HWLOC_PCI_BUSID_SUPERSET);
+ if (comp == HWLOC_PCI_BUSID_HIGHER)
+ continue;
+ assert(comp == HWLOC_PCI_BUSID_INCLUDED);
+
+ /* move this object below the new bridge */
+ hwloc_pci_remove_child(root, current);
+ hwloc_pci_add_object(new, current);
+ }
+}
+
+static void
+hwloc_pci_add_object(struct hwloc_obj *root, struct hwloc_obj *new)
+{
+ struct hwloc_obj *current;
+
+ current = root->first_child;
+ while (current) {
+ enum hwloc_pci_busid_comparison_e comp = hwloc_pci_compare_busids(new, current);
+ switch (comp) {
+ case HWLOC_PCI_BUSID_HIGHER:
+ /* go further */
+ current = current->next_sibling;
+ continue;
+ case HWLOC_PCI_BUSID_INCLUDED:
+ /* insert below current bridge */
+ hwloc_pci_add_object(current, new);
+ return;
+ case HWLOC_PCI_BUSID_LOWER:
+ case HWLOC_PCI_BUSID_SUPERSET:
+ /* insert before current object */
+ hwloc_pci_add_child_before(root, current, new);
+ /* walk next siblings and move them below new bridge if needed */
+ hwloc_pci_try_insert_siblings_below_new_bridge(root, new);
+ return;
+ }
+ }
+ /* add to the end of the list if higher than everybody */
+ hwloc_pci_add_child_before(root, NULL, new);
+}
+
+static struct hwloc_obj *
+hwloc_pci_fixup_hostbridge_parent(struct hwloc_topology *topology __hwloc_attribute_unused,
+ struct hwloc_obj *hostbridge,
+ struct hwloc_obj *parent)
+{
+ /* Xeon E5v3 in cluster-on-die mode only have PCI on the first NUMA node of each package.
+ * but many dual-processor host report the second PCI hierarchy on 2nd NUMA of first package.
+ */
+ if (parent->depth >= 2
+ && parent->type == HWLOC_OBJ_NUMANODE
+ && parent->sibling_rank == 1 && parent->parent->arity == 2
+ && parent->parent->type == HWLOC_OBJ_PACKAGE
+ && parent->parent->sibling_rank == 0 && parent->parent->parent->arity == 2) {
+ const char *cpumodel = hwloc_obj_get_info_by_name(parent->parent, "CPUModel");
+ if (cpumodel && strstr(cpumodel, "Xeon")) {
+ if (!hwloc_hide_errors()) {
+ fprintf(stderr, "****************************************************************************\n");
+ fprintf(stderr, "* hwloc %s has encountered an incorrect PCI locality information.\n", HWLOC_VERSION);
+ fprintf(stderr, "* PCI bus %04x:%02x is supposedly close to 2nd NUMA node of 1st package,\n",
+ hostbridge->first_child->attr->pcidev.domain, hostbridge->first_child->attr->pcidev.bus);
+ fprintf(stderr, "* however hwloc believes this is impossible on this architecture.\n");
+ fprintf(stderr, "* Therefore the PCI bus will be moved to 1st NUMA node of 2nd package.\n");
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* If you feel this fixup is wrong, disable it by setting in your environment\n");
+ fprintf(stderr, "* HWLOC_PCI_%04x_%02x_LOCALCPUS= (empty value), and report the problem\n",
+ hostbridge->first_child->attr->pcidev.domain, hostbridge->first_child->attr->pcidev.bus);
+ fprintf(stderr, "* to the hwloc's user mailing list together with the XML output of lstopo.\n");
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* You may silence this message by setting HWLOC_HIDE_ERRORS=1 in your environment.\n");
+ fprintf(stderr, "****************************************************************************\n");
+ }
+ return parent->parent->next_sibling->first_child;
+ }
+ }
+
+ return parent;
+}
+
+static struct hwloc_obj *
+hwloc_pci_find_hostbridge_parent(struct hwloc_topology *topology, struct hwloc_backend *backend,
+ struct hwloc_obj *hostbridge)
+{
+ hwloc_bitmap_t cpuset = hwloc_bitmap_alloc();
+ struct hwloc_obj *parent;
+ const char *env;
+ int err;
+
+ /* override the cpuset with the environment if given */
+ int forced = 0;
+ char envname[256];
+ snprintf(envname, sizeof(envname), "HWLOC_PCI_%04x_%02x_LOCALCPUS",
+ hostbridge->first_child->attr->pcidev.domain, hostbridge->first_child->attr->pcidev.bus);
+ env = getenv(envname);
+ if (env)
+ /* if env exists but is empty, don't let quirks change what the OS reports */
+ forced = 1;
+ if (env && *env) {
+ /* force the hostbridge cpuset */
+ hwloc_debug("Overriding localcpus using %s in the environment\n", envname);
+ hwloc_bitmap_sscanf(cpuset, env);
+ } else {
+ /* get the hostbridge cpuset by acking the OS backend.
+ * it's not a PCI device, so we use its first child locality info.
+ */
+ err = hwloc_backends_get_obj_cpuset(backend, hostbridge->first_child, cpuset);
+ if (err < 0)
+ /* if we got nothing, assume the hostbridge is attached to the top of hierarchy */
+ hwloc_bitmap_copy(cpuset, hwloc_topology_get_topology_cpuset(topology));
+ }
+
+ hwloc_debug_bitmap("Attaching hostbridge to cpuset %s\n", cpuset);
+
+ /* restrict to the existing topology cpuset to avoid errors later */
+ hwloc_bitmap_and(cpuset, cpuset, hwloc_topology_get_topology_cpuset(topology));
+
+ /* if the remaining cpuset is empty, take the root */
+ if (hwloc_bitmap_iszero(cpuset))
+ hwloc_bitmap_copy(cpuset, hwloc_topology_get_topology_cpuset(topology));
+
+ /* attach the hostbridge now that it contains the right objects */
+ parent = hwloc_get_obj_covering_cpuset(topology, cpuset);
+ /* in the worst case, we got the root object */
+
+ if (hwloc_bitmap_isequal(cpuset, parent->cpuset)) {
+ /* this object has the right cpuset, but it could be a cache or so,
+ * go up as long as the cpuset is the same
+ */
+ while (parent->parent && hwloc_bitmap_isequal(parent->cpuset, parent->parent->cpuset))
+ parent = parent->parent;
+
+ if (!forced)
+ parent = hwloc_pci_fixup_hostbridge_parent(topology, hostbridge, parent);
+
+ } else {
+ /* the object we found is too large, insert an intermediate group */
+ hwloc_obj_t group_obj = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, -1);
+ if (group_obj) {
+ group_obj->cpuset = hwloc_bitmap_dup(cpuset);
+ group_obj->complete_cpuset = hwloc_bitmap_dup(cpuset);
+ group_obj->attr->group.depth = (unsigned) -1;
+ parent = hwloc__insert_object_by_cpuset(topology, group_obj, hwloc_report_os_error);
+ if (parent == group_obj)
+ /* if didn't get merged, setup its sets */
+ hwloc_fill_object_sets(group_obj);
+ if (!parent)
+ /* Failed to insert the parent, maybe a conflicting cpuset, attach to the root object instead */
+ parent = hwloc_get_root_obj(topology);
+ }
+ }
+
+ hwloc_bitmap_free(cpuset);
+
+ return parent;
+}
+
+int
+hwloc_insert_pci_device_list(struct hwloc_backend *backend,
+ struct hwloc_obj *first_obj)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_obj fakeparent;
+ struct hwloc_obj *obj;
+ unsigned current_hostbridge;
+
+ if (!first_obj)
+ /* found nothing, exit */
+ return 0;
+
+ /* first, organise object as tree under a fake parent object */
+ fakeparent.parent = NULL;
+ fakeparent.first_child = NULL;
+ fakeparent.last_child = NULL;
+ while (first_obj) {
+ obj = first_obj;
+ first_obj = obj->next_sibling;
+ hwloc_pci_add_object(&fakeparent, obj);
+ }
+
+#ifdef HWLOC_DEBUG
+ hwloc_debug("%s", "\nPCI hierarchy under fake parent:\n");
+ hwloc_pci_traverse(NULL, &fakeparent, hwloc_pci_traverse_print_cb);
+ hwloc_debug("%s", "\n");
+#endif
+
+ /* walk the hierarchy, and lookup OS devices */
+ hwloc_pci_traverse(backend, &fakeparent, hwloc_pci_traverse_lookuposdevices_cb);
+
+ /*
+ * fakeparent lists all objects connected to any upstream bus in the machine.
+ * We now create one real hostbridge object per upstream bus.
+ * It's not actually a PCI device so we have to create it.
+ */
+ current_hostbridge = 0;
+ while (fakeparent.first_child) {
+ /* start a new host bridge */
+ struct hwloc_obj *hostbridge = hwloc_alloc_setup_object(HWLOC_OBJ_BRIDGE, current_hostbridge++);
+ struct hwloc_obj *child = fakeparent.first_child;
+ struct hwloc_obj *next_child;
+ struct hwloc_obj *parent;
+ unsigned short current_domain = child->attr->pcidev.domain;
+ unsigned char current_bus = child->attr->pcidev.bus;
+ unsigned char current_subordinate = current_bus;
+
+ hwloc_debug("Starting new PCI hostbridge %04x:%02x\n", current_domain, current_bus);
+
+ /*
+ * attach all objects from the same upstream domain/bus
+ */
+ next_child:
+ next_child = child->next_sibling;
+ hwloc_pci_remove_child(&fakeparent, child);
+ hwloc_pci_add_child_before(hostbridge, NULL, child);
+
+ /* compute hostbridge secondary/subordinate buses */
+ if (child->type == HWLOC_OBJ_BRIDGE
+ && child->attr->bridge.downstream.pci.subordinate_bus > current_subordinate)
+ current_subordinate = child->attr->bridge.downstream.pci.subordinate_bus;
+
+ /* use next child if it has the same domains/bus */
+ child = next_child;
+ if (child
+ && child->attr->pcidev.domain == current_domain
+ && child->attr->pcidev.bus == current_bus)
+ goto next_child;
+
+ /* finish setting up this hostbridge */
+ hostbridge->attr->bridge.upstream_type = HWLOC_OBJ_BRIDGE_HOST;
+ hostbridge->attr->bridge.downstream_type = HWLOC_OBJ_BRIDGE_PCI;
+ hostbridge->attr->bridge.downstream.pci.domain = current_domain;
+ hostbridge->attr->bridge.downstream.pci.secondary_bus = current_bus;
+ hostbridge->attr->bridge.downstream.pci.subordinate_bus = current_subordinate;
+ hwloc_debug("New PCI hostbridge %04x:[%02x-%02x]\n",
+ current_domain, current_bus, current_subordinate);
+
+ /* attach the hostbridge where it belongs */
+ parent = hwloc_pci_find_hostbridge_parent(topology, backend, hostbridge);
+ hwloc_insert_object_by_parent(topology, parent, hostbridge);
+ }
+
+ return 1;
+}
+
+#define HWLOC_PCI_STATUS 0x06
+#define HWLOC_PCI_STATUS_CAP_LIST 0x10
+#define HWLOC_PCI_CAPABILITY_LIST 0x34
+#define HWLOC_PCI_CAP_LIST_ID 0
+#define HWLOC_PCI_CAP_LIST_NEXT 1
+
+unsigned
+hwloc_pci_find_cap(const unsigned char *config, unsigned cap)
+{
+ unsigned char seen[256] = { 0 };
+ unsigned char ptr; /* unsigned char to make sure we stay within the 256-byte config space */
+
+ if (!(config[HWLOC_PCI_STATUS] & HWLOC_PCI_STATUS_CAP_LIST))
+ return 0;
+
+ for (ptr = config[HWLOC_PCI_CAPABILITY_LIST] & ~3;
+ ptr; /* exit if next is 0 */
+ ptr = config[ptr + HWLOC_PCI_CAP_LIST_NEXT] & ~3) {
+ unsigned char id;
+
+ /* Looped around! */
+ if (seen[ptr])
+ break;
+ seen[ptr] = 1;
+
+ id = config[ptr + HWLOC_PCI_CAP_LIST_ID];
+ if (id == cap)
+ return ptr;
+ if (id == 0xff) /* exit if id is 0 or 0xff */
+ break;
+ }
+ return 0;
+}
+
+#define HWLOC_PCI_EXP_LNKSTA 0x12
+#define HWLOC_PCI_EXP_LNKSTA_SPEED 0x000f
+#define HWLOC_PCI_EXP_LNKSTA_WIDTH 0x03f0
+
+int
+hwloc_pci_find_linkspeed(const unsigned char *config,
+ unsigned offset, float *linkspeed)
+{
+ unsigned linksta, speed, width;
+ float lanespeed;
+
+ memcpy(&linksta, &config[offset + HWLOC_PCI_EXP_LNKSTA], 4);
+ speed = linksta & HWLOC_PCI_EXP_LNKSTA_SPEED; /* PCIe generation */
+ width = (linksta & HWLOC_PCI_EXP_LNKSTA_WIDTH) >> 4; /* how many lanes */
+ /* PCIe Gen1 = 2.5GT/s signal-rate per lane with 8/10 encoding = 0.25GB/s data-rate per lane
+ * PCIe Gen2 = 5 GT/s signal-rate per lane with 8/10 encoding = 0.5 GB/s data-rate per lane
+ * PCIe Gen3 = 8 GT/s signal-rate per lane with 128/130 encoding = 1 GB/s data-rate per lane
+ * PCIe Gen4 = 16 GT/s signal-rate per lane with 128/130 encoding = 2 GB/s data-rate per lane
+ */
+
+ /* lanespeed in Gbit/s */
+ if (speed <= 2)
+ lanespeed = 2.5f * speed * 0.8f;
+ else
+ lanespeed = 8.0f * (1<<(speed-3)) * 128/130; /* assume Gen5 will be 32 GT/s and so on */
+
+ /* linkspeed in GB/s */
+ *linkspeed = lanespeed * width / 8;
+ return 0;
+}
+
+#define HWLOC_PCI_HEADER_TYPE 0x0e
+#define HWLOC_PCI_HEADER_TYPE_BRIDGE 1
+#define HWLOC_PCI_CLASS_BRIDGE_PCI 0x0604
+#define HWLOC_PCI_PRIMARY_BUS 0x18
+#define HWLOC_PCI_SECONDARY_BUS 0x19
+#define HWLOC_PCI_SUBORDINATE_BUS 0x1a
+
+int
+hwloc_pci_prepare_bridge(hwloc_obj_t obj,
+ const unsigned char *config)
+{
+ unsigned char headertype;
+ unsigned isbridge;
+ struct hwloc_pcidev_attr_s *pattr = &obj->attr->pcidev;
+ struct hwloc_bridge_attr_s *battr;
+
+ headertype = config[HWLOC_PCI_HEADER_TYPE] & 0x7f;
+ isbridge = (pattr->class_id == HWLOC_PCI_CLASS_BRIDGE_PCI
+ && headertype == HWLOC_PCI_HEADER_TYPE_BRIDGE);
+
+ if (!isbridge)
+ return 0;
+
+ battr = &obj->attr->bridge;
+
+ if (config[HWLOC_PCI_PRIMARY_BUS] != pattr->bus) {
+ /* Sometimes the config space contains 00 instead of the actual primary bus number.
+ * Always trust the bus ID because it was built by the system which has more information
+ * to workaround such problems (e.g. ACPI information about PCI parent/children).
+ */
+ hwloc_debug(" %04x:%02x:%02x.%01x bridge with (ignored) invalid PCI_PRIMARY_BUS %02x\n",
+ pattr->domain, pattr->bus, pattr->dev, pattr->func, config[HWLOC_PCI_PRIMARY_BUS]);
+ }
+
+ obj->type = HWLOC_OBJ_BRIDGE;
+ battr->upstream_type = HWLOC_OBJ_BRIDGE_PCI;
+ battr->downstream_type = HWLOC_OBJ_BRIDGE_PCI;
+ battr->downstream.pci.domain = pattr->domain;
+ battr->downstream.pci.secondary_bus = config[HWLOC_PCI_SECONDARY_BUS];
+ battr->downstream.pci.subordinate_bus = config[HWLOC_PCI_SUBORDINATE_BUS];
+
+ if (battr->downstream.pci.secondary_bus <= pattr->bus
+ || battr->downstream.pci.subordinate_bus <= pattr->bus
+ || battr->downstream.pci.secondary_bus > battr->downstream.pci.subordinate_bus) {
+ /* This should catch most cases of invalid bridge information
+ * (e.g. 00 for secondary and subordinate).
+ * Ideally we would also check that [secondary-subordinate] is included
+ * in the parent bridge [secondary+1:subordinate]. But that's hard to do
+ * because objects may be discovered out of order (especially in the fsroot case).
+ */
+ hwloc_debug(" %04x:%02x:%02x.%01x bridge has invalid secondary-subordinate buses [%02x-%02x]\n",
+ pattr->domain, pattr->bus, pattr->dev, pattr->func,
+ battr->downstream.pci.secondary_bus, battr->downstream.pci.subordinate_bus);
+ hwloc_free_unlinked_object(obj);
+ return -1;
+ }
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2011, 2013 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* TODO: use SIGRECONFIG & dr_reconfig for state change */
+
+#include <private/autogen/config.h>
+
+#include <sys/types.h>
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <string.h>
+#include <errno.h>
+#include <stdio.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/misc.h>
+#include <private/debug.h>
+
+#include <procinfo.h>
+#include <sys/types.h>
+#include <sys/rset.h>
+#include <sys/processor.h>
+#include <sys/thread.h>
+#include <sys/mman.h>
+#include <sys/systemcfg.h>
+
+#ifndef __power_pc
+#define __power_pc() 0
+#endif
+#ifndef __power_4
+#define __power_4() 0
+#endif
+#ifndef __power_5
+#define __power_5() 0
+#endif
+#ifndef __power_6
+#define __power_6() 0
+#endif
+#ifndef __power_7
+#define __power_7() 0
+#endif
+
+static int
+hwloc_aix_set_sth_cpubind(hwloc_topology_t topology, rstype_t what, rsid_t who, pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ rsethandle_t rad;
+ int res;
+ unsigned cpu;
+
+ if (flags & HWLOC_CPUBIND_NOMEMBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ /* The resulting binding is always strict */
+
+ if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) {
+ if (ra_detachrset(what, who, 0))
+ return -1;
+ return 0;
+ }
+
+ rad = rs_alloc(RS_EMPTY);
+ hwloc_bitmap_foreach_begin(cpu, hwloc_set)
+ rs_op(RS_ADDRESOURCE, rad, NULL, R_PROCS, cpu);
+ hwloc_bitmap_foreach_end();
+
+ res = ra_attachrset(what, who, rad, 0);
+ if (res < 0 && errno == EPERM) {
+ /* EPERM may mean that one thread has ben bound with bindprocessor().
+ * Unbind the entire process (we can't unbind individual threads)
+ * and try again.
+ */
+ bindprocessor(BINDPROCESS, pid, PROCESSOR_CLASS_ANY);
+ res = ra_attachrset(what, who, rad, 0);
+ }
+
+ rs_free(rad);
+ return res;
+}
+
+static int
+hwloc_aix_get_sth_rset_cpubind(hwloc_topology_t topology, rstype_t what, rsid_t who, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused, int *boundp)
+{
+ rsethandle_t rset;
+ unsigned cpu, maxcpus;
+ int res = -1;
+ int bound = 0;
+
+ rset = rs_alloc(RS_EMPTY);
+
+ if (ra_getrset(what, who, 0, rset) == -1)
+ goto out;
+
+ hwloc_bitmap_zero(hwloc_set);
+ maxcpus = rs_getinfo(rset, R_MAXPROCS, 0);
+ for (cpu = 0; cpu < maxcpus; cpu++)
+ if (rs_op(RS_TESTRESOURCE, rset, NULL, R_PROCS, cpu) == 1)
+ hwloc_bitmap_set(hwloc_set, cpu);
+ else
+ bound = 1;
+ hwloc_bitmap_and(hwloc_set, hwloc_set, hwloc_topology_get_complete_cpuset(topology));
+ res = 0;
+ *boundp = bound;
+
+out:
+ rs_free(rset);
+ return res;
+}
+
+static int
+hwloc_aix_get_pid_getthrds_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, pid_t pid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+#if HWLOC_BITS_PER_LONG == 64
+ struct thrdentry64 thread_info;
+ tid64_t next_thread;
+#else
+ struct thrdsinfo thread_info;
+ tid_t next_thread;
+#endif
+
+ next_thread = 0;
+ /* TODO: get multiple at once */
+#if HWLOC_BITS_PER_LONG == 64
+ while (getthrds64 (pid, &thread_info, sizeof (thread_info),
+ &next_thread, 1) == 1) {
+#else
+ while (getthrds (pid, &thread_info, sizeof (thread_info),
+ &next_thread, 1) == 1) {
+#endif
+ if (PROCESSOR_CLASS_ANY != thread_info.ti_cpuid)
+ hwloc_bitmap_set(hwloc_set, thread_info.ti_cpuid);
+ else
+ hwloc_bitmap_fill(hwloc_set);
+ }
+ /* TODO: what if the thread list changes and we get nothing? */
+
+ return 0;
+}
+
+static int
+hwloc_aix_get_tid_getthrds_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, tid_t tid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+#if HWLOC_BITS_PER_LONG == 64
+ struct thrdentry64 thread_info;
+ tid64_t next_thread;
+#else
+ struct thrdsinfo thread_info;
+ tid_t next_thread;
+#endif
+ pid_t pid = getpid();
+
+ next_thread = 0;
+ /* TODO: get multiple at once */
+#if HWLOC_BITS_PER_LONG == 64
+ while (getthrds64 (pid, &thread_info, sizeof (thread_info),
+ &next_thread, 1) == 1) {
+#else
+ while (getthrds (pid, &thread_info, sizeof (thread_info),
+ &next_thread, 1) == 1) {
+#endif
+ if (thread_info.ti_tid == tid) {
+ if (PROCESSOR_CLASS_ANY != thread_info.ti_cpuid)
+ hwloc_bitmap_set(hwloc_set, thread_info.ti_cpuid);
+ else
+ hwloc_bitmap_fill(hwloc_set);
+ break;
+ }
+ }
+ /* TODO: what if the thread goes away in the meantime? */
+
+ return 0;
+}
+
+static int
+hwloc_aix_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ rsid_t who;
+ who.at_pid = getpid();
+ return hwloc_aix_set_sth_cpubind(topology, R_PROCESS, who, who.at_pid, hwloc_set, flags);
+}
+
+static int
+hwloc_aix_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags)
+{
+ int ret, bound;
+ rsid_t who;
+ who.at_pid = getpid();
+ ret = hwloc_aix_get_sth_rset_cpubind(topology, R_PROCESS, who, hwloc_set, flags, &bound);
+ if (!ret && !bound) {
+ hwloc_bitmap_zero(hwloc_set);
+ ret = hwloc_aix_get_pid_getthrds_cpubind(topology, who.at_pid, hwloc_set, flags);
+ }
+ return ret;
+}
+
+#ifdef R_THREAD
+static int
+hwloc_aix_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ rsid_t who;
+ who.at_tid = thread_self();
+ return hwloc_aix_set_sth_cpubind(topology, R_THREAD, who, getpid(), hwloc_set, flags);
+}
+
+static int
+hwloc_aix_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags)
+{
+ int ret, bound;
+ rsid_t who;
+ who.at_tid = thread_self();
+ ret = hwloc_aix_get_sth_rset_cpubind(topology, R_THREAD, who, hwloc_set, flags, &bound);
+ if (!ret && !bound) {
+ hwloc_bitmap_zero(hwloc_set);
+ ret = hwloc_aix_get_tid_getthrds_cpubind(topology, who.at_tid, hwloc_set, flags);
+ }
+ return ret;
+}
+#endif /* R_THREAD */
+
+static int
+hwloc_aix_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ rsid_t who;
+ who.at_pid = pid;
+ return hwloc_aix_set_sth_cpubind(topology, R_PROCESS, who, pid, hwloc_set, flags);
+}
+
+static int
+hwloc_aix_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_set, int flags)
+{
+ int ret, bound;
+ rsid_t who;
+ who.at_pid = pid;
+ ret = hwloc_aix_get_sth_rset_cpubind(topology, R_PROCESS, who, hwloc_set, flags, &bound);
+ if (!ret && !bound) {
+ hwloc_bitmap_zero(hwloc_set);
+ ret = hwloc_aix_get_pid_getthrds_cpubind(topology, who.at_pid, hwloc_set, flags);
+ }
+ return ret;
+}
+
+#ifdef R_THREAD
+#ifdef HWLOC_HAVE_PTHREAD_GETTHRDS_NP
+static int
+hwloc_aix_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ struct __pthrdsinfo info;
+ int size;
+ if ((errno = pthread_getthrds_np(&pthread, PTHRDSINFO_QUERY_TID, &info, sizeof(info), NULL, &size)))
+ return -1;
+ {
+ rsid_t who;
+ who.at_tid = info.__pi_tid;
+ return hwloc_aix_set_sth_cpubind(topology, R_THREAD, who, getpid(), hwloc_set, flags);
+ }
+}
+
+static int
+hwloc_aix_get_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_bitmap_t hwloc_set, int flags)
+{
+ struct __pthrdsinfo info;
+ int size;
+ if (pthread_getthrds_np(&pthread, PTHRDSINFO_QUERY_TID, &info, sizeof(info), NULL, &size))
+ return -1;
+ {
+ int ret, bound;
+ rsid_t who;
+ who.at_tid = info.__pi_tid;
+ ret = hwloc_aix_get_sth_rset_cpubind(topology, R_THREAD, who, hwloc_set, flags, &bound);
+ if (!ret && !bound) {
+ hwloc_bitmap_zero(hwloc_set);
+ ret = hwloc_aix_get_tid_getthrds_cpubind(topology, who.at_tid, hwloc_set, flags);
+ }
+ return ret;
+ }
+}
+#endif /* HWLOC_HAVE_PTHREAD_GETTHRDS_NP */
+#endif /* R_THREAD */
+
+static int
+hwloc_aix_get_thisthread_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ cpu_t cpu;
+
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ cpu = mycpu();
+ if (cpu < 0)
+ return -1;
+
+ hwloc_bitmap_only(hwloc_set, cpu);
+ return 0;
+}
+
+#ifdef P_DEFAULT
+
+static int
+hwloc_aix_membind_policy_from_hwloc(uint_t *aix_policy, int policy)
+{
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT:
+ case HWLOC_MEMBIND_BIND:
+ *aix_policy = P_DEFAULT;
+ break;
+ case HWLOC_MEMBIND_FIRSTTOUCH:
+ *aix_policy = P_FIRST_TOUCH;
+ break;
+ case HWLOC_MEMBIND_INTERLEAVE:
+ *aix_policy = P_BALANCED;
+ break;
+ default:
+ errno = ENOSYS;
+ return -1;
+ }
+ return 0;
+}
+
+static int
+hwloc_aix_prepare_membind(hwloc_topology_t topology, rsethandle_t *rad, hwloc_const_nodeset_t nodeset, int flags __hwloc_attribute_unused)
+{
+ rsethandle_t rset, noderad;
+ int MCMlevel;
+ int node;
+
+ MCMlevel = rs_getinfo(NULL, R_MCMSDL, 0);
+ if ((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM))
+ rset = rs_alloc(RS_ALL);
+ else
+ rset = rs_alloc(RS_PARTITION);
+ *rad = rs_alloc(RS_EMPTY);
+ noderad = rs_alloc(RS_EMPTY);
+
+ hwloc_bitmap_foreach_begin(node, nodeset)
+ /* we used MCMlevel rad number for node->os_index during lookup */
+ rs_getrad(rset, noderad, MCMlevel, node, 0);
+ rs_op(RS_UNION, noderad, *rad, 0, 0);
+ hwloc_bitmap_foreach_end();
+
+ rs_free(rset);
+ rs_free(noderad);
+
+ return 0;
+}
+
+static int
+hwloc_aix_set_sth_membind(hwloc_topology_t topology, rstype_t what, rsid_t who, pid_t pid, hwloc_const_bitmap_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ rsethandle_t rad;
+ int res;
+
+ if (flags & HWLOC_MEMBIND_NOCPUBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT:
+ case HWLOC_MEMBIND_BIND:
+ break;
+ default:
+ errno = ENOSYS;
+ return -1;
+ }
+
+ if (hwloc_aix_prepare_membind(topology, &rad, nodeset, flags))
+ return -1;
+
+ res = ra_attachrset(what, who, rad, 0);
+ if (res < 0 && errno == EPERM) {
+ /* EPERM may mean that one thread has ben bound with bindprocessor().
+ * Unbind the entire process (we can't unbind individual threads)
+ * and try again.
+ */
+ bindprocessor(BINDPROCESS, pid, PROCESSOR_CLASS_ANY);
+ res = ra_attachrset(what, who, rad, 0);
+ }
+
+ rs_free(rad);
+ return res;
+}
+
+static int
+hwloc_aix_get_sth_membind(hwloc_topology_t topology, rstype_t what, rsid_t who, hwloc_bitmap_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused)
+{
+ hwloc_bitmap_t hwloc_set;
+ rsethandle_t rset;
+ unsigned cpu, maxcpus;
+ int res = -1;
+ int depth, n, i;
+
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ if (depth < 0) {
+ errno = EXDEV;
+ return -1;
+ }
+ n = hwloc_get_nbobjs_by_depth(topology, depth);
+
+ rset = rs_alloc(RS_EMPTY);
+
+ if (ra_getrset(what, who, 0, rset) == -1)
+ goto out;
+
+ hwloc_set = hwloc_bitmap_alloc();
+
+ maxcpus = rs_getinfo(rset, R_MAXPROCS, 0);
+ for (cpu = 0; cpu < maxcpus; cpu++)
+ if (rs_op(RS_TESTRESOURCE, rset, NULL, R_PROCS, cpu) == 1)
+ hwloc_bitmap_set(hwloc_set, cpu);
+ hwloc_bitmap_and(hwloc_set, hwloc_set, hwloc_topology_get_complete_cpuset(topology));
+
+ hwloc_bitmap_zero(nodeset);
+ for (i = 0; i < n; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, i);
+ if (hwloc_bitmap_isincluded(obj->cpuset, hwloc_set))
+ hwloc_bitmap_set(nodeset, obj->os_index);
+ }
+
+ hwloc_bitmap_free(hwloc_set);
+
+ *policy = HWLOC_MEMBIND_BIND;
+ res = 0;
+
+out:
+ rs_free(rset);
+ return res;
+}
+
+static int
+hwloc_aix_set_thisproc_membind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags)
+{
+ rsid_t who;
+ who.at_pid = getpid();
+ return hwloc_aix_set_sth_membind(topology, R_PROCESS, who, who.at_pid, hwloc_set, policy, flags);
+}
+
+static int
+hwloc_aix_get_thisproc_membind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags)
+{
+ rsid_t who;
+ who.at_pid = getpid();
+ return hwloc_aix_get_sth_membind(topology, R_PROCESS, who, hwloc_set, policy, flags);
+}
+
+#ifdef R_THREAD
+static int
+hwloc_aix_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags)
+{
+ rsid_t who;
+ who.at_tid = thread_self();
+ return hwloc_aix_set_sth_membind(topology, R_THREAD, who, getpid(), hwloc_set, policy, flags);
+}
+
+static int
+hwloc_aix_get_thisthread_membind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags)
+{
+ rsid_t who;
+ who.at_tid = thread_self();
+ return hwloc_aix_get_sth_membind(topology, R_THREAD, who, hwloc_set, policy, flags);
+}
+#endif /* R_THREAD */
+
+static int
+hwloc_aix_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags)
+{
+ rsid_t who;
+ who.at_pid = pid;
+ return hwloc_aix_set_sth_membind(topology, R_PROCESS, who, pid, hwloc_set, policy, flags);
+}
+
+static int
+hwloc_aix_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags)
+{
+ rsid_t who;
+ who.at_pid = pid;
+ return hwloc_aix_get_sth_membind(topology, R_PROCESS, who, hwloc_set, policy, flags);
+}
+
+#ifdef R_THREAD
+#if 0 /* def HWLOC_HAVE_PTHREAD_GETTHRDS_NP */
+static int
+hwloc_aix_set_thread_membind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_const_bitmap_t hwloc_set, hwloc_membind_policy_t policy, int flags)
+{
+ struct __pthrdsinfo info;
+ int size;
+ if ((errno = pthread_getthrds_np(&pthread, PTHRDSINFO_QUERY_TID, &info, sizeof(info), NULL, &size)))
+ return -1;
+ {
+ rsid_t who;
+ who.at_tid = info.__pi_tid;
+ return hwloc_aix_set_sth_membind(topology, R_THREAD, who, getpid(), hwloc_set, policy, flags);
+ }
+}
+
+static int
+hwloc_aix_get_thread_membind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_bitmap_t hwloc_set, hwloc_membind_policy_t *policy, int flags)
+{
+ struct __pthrdsinfo info;
+ int size;
+ if (pthread_getthrds_np(&pthread, PTHRDSINFO_QUERY_TID, &info, sizeof(info), NULL, &size))
+ return -1;
+ {
+ rsid_t who;
+ who.at_tid = info.__pi_tid;
+ return hwloc_aix_get_sth_membind(topology, R_THREAD, who, hwloc_set, policy, flags);
+ }
+}
+#endif /* HWLOC_HAVE_PTHREAD_GETTHRDS_NP */
+#endif /* R_THREAD */
+
+#if 0
+/* TODO: seems to be right, but doesn't seem to be working (EINVAL), even after
+ * aligning the range on 64K... */
+static int
+hwloc_aix_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ subrange_t subrange;
+ rsid_t rsid = { .at_subrange = &subrange };
+ uint_t aix_policy;
+ int ret;
+ fprintf(stderr,"yop\n");
+
+ if ((flags & (HWLOC_MEMBIND_MIGRATE|HWLOC_MEMBIND_STRICT))
+ == (HWLOC_MEMBIND_MIGRATE|HWLOC_MEMBIND_STRICT)) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ subrange.su_offset = (uintptr_t) addr;
+ subrange.su_length = len;
+ subrange.su_rstype = R_RSET;
+
+ if (hwloc_aix_membind_policy_from_hwloc(&aix_policy, policy))
+ return -1;
+
+ if (hwloc_aix_prepare_membind(topology, &subrange.su_rsid.at_rset, nodeset, flags))
+ return -1;
+
+ subrange.su_policy = aix_policy;
+
+ res = ra_attachrset(R_SUBRANGE, rsid, subrange.su_rsid.at_rset, 0);
+ if (res < 0 && errno == EPERM) {
+ /* EPERM may mean that one thread has ben bound with bindprocessor().
+ * Unbind the entire process (we can't unbind individual threads)
+ * and try again.
+ * FIXME: actually check that this EPERM can happen
+ */
+ bindprocessor(BINDPROCESS, getpid(), PROCESSOR_CLASS_ANY);
+ res = ra_attachrset(R_SUBRANGE, rsid, subrange.su_rsid.at_rset, 0);
+ }
+
+ rs_free(subrange.su_rsid.at_rset);
+ return ret;
+}
+#endif
+
+static void *
+hwloc_aix_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ void *ret;
+ rsid_t rsid;
+ uint_t aix_policy;
+
+ if (hwloc_aix_membind_policy_from_hwloc(&aix_policy, policy))
+ return hwloc_alloc_or_fail(topology, len, flags);
+
+ if (hwloc_aix_prepare_membind(topology, &rsid.at_rset, nodeset, flags))
+ return hwloc_alloc_or_fail(topology, len, flags);
+
+ ret = ra_mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0, R_RSET, rsid, aix_policy);
+
+ rs_free(rsid.at_rset);
+ return ret == (void*)-1 ? NULL : ret;
+}
+#endif /* P_DEFAULT */
+
+static void
+look_rset(int sdl, hwloc_obj_type_t type, struct hwloc_topology *topology, int level)
+{
+ rsethandle_t rset, rad;
+ int i,maxcpus,j;
+ int nbnodes;
+ struct hwloc_obj *obj;
+
+ if ((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM))
+ rset = rs_alloc(RS_ALL);
+ else
+ rset = rs_alloc(RS_PARTITION);
+ rad = rs_alloc(RS_EMPTY);
+ nbnodes = rs_numrads(rset, sdl, 0);
+ if (nbnodes == -1) {
+ perror("rs_numrads");
+ return;
+ }
+
+ for (i = 0; i < nbnodes; i++) {
+ hwloc_bitmap_t cpuset;
+ unsigned os_index = (unsigned) -1; /* no os_index except for PU and NUMANODE below */
+
+ if (rs_getrad(rset, rad, sdl, i, 0)) {
+ fprintf(stderr,"rs_getrad(%d) failed: %s\n", i, strerror(errno));
+ continue;
+ }
+ if (!rs_getinfo(rad, R_NUMPROCS, 0))
+ continue;
+
+ maxcpus = rs_getinfo(rad, R_MAXPROCS, 0);
+ cpuset = hwloc_bitmap_alloc();
+ for (j = 0; j < maxcpus; j++) {
+ if (rs_op(RS_TESTRESOURCE, rad, NULL, R_PROCS, j))
+ hwloc_bitmap_set(cpuset, j);
+ }
+
+ if (type == HWLOC_OBJ_PU) {
+ os_index = hwloc_bitmap_first(cpuset);
+ hwloc_debug("Found PU #%u inside node %d for sdl %d\n", os_index, i, sdl);
+ assert(hwloc_bitmap_weight(cpuset) == 1);
+ } else if (type == HWLOC_OBJ_NUMANODE) {
+ /* NUMA node os_index isn't used for binding, just use the rad number to get unique values.
+ * Note that we'll use that fact in hwloc_aix_prepare_membind(). */
+ os_index = i;
+ hwloc_debug("Using os_index #%u for NUMA node inside node %d for sdl %d\n", os_index, i, sdl);
+ }
+
+ obj = hwloc_alloc_setup_object(type, os_index);
+ obj->cpuset = cpuset;
+ obj->os_level = sdl;
+
+ switch(type) {
+ case HWLOC_OBJ_NUMANODE:
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, i);
+ obj->memory.local_memory = 0; /* TODO: odd, rs_getinfo(rad, R_MEMSIZE, 0) << 10 returns the total memory ... */
+ obj->memory.page_types_len = 2;
+ obj->memory.page_types = malloc(2*sizeof(*obj->memory.page_types));
+ memset(obj->memory.page_types, 0, 2*sizeof(*obj->memory.page_types));
+ obj->memory.page_types[0].size = hwloc_getpagesize();
+#if HAVE_DECL__SC_LARGE_PAGESIZE
+ obj->memory.page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+ /* TODO: obj->memory.page_types[1].count = rs_getinfo(rset, R_LGPGFREE, 0) / hugepagesize */
+ break;
+ case HWLOC_OBJ_CACHE:
+ obj->attr->cache.size = _system_configuration.L2_cache_size;
+ obj->attr->cache.associativity = _system_configuration.L2_cache_asc;
+
+ obj->attr->cache.linesize = 0; /* unknown by default */
+ if (__power_pc())
+ if (__power_4() || __power_5() || __power_6() || __power_7())
+ obj->attr->cache.linesize = 128;
+
+ obj->attr->cache.depth = 2;
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED; /* OK for power[4567], unknown for others */
+ break;
+ case HWLOC_OBJ_GROUP:
+ obj->attr->group.depth = level;
+ break;
+ case HWLOC_OBJ_CORE:
+ {
+ hwloc_obj_t obj2, obj3;
+ obj2 = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, i);
+ obj2->cpuset = hwloc_bitmap_dup(obj->cpuset);
+ obj2->attr->cache.size = _system_configuration.dcache_size;
+ obj2->attr->cache.associativity = _system_configuration.dcache_asc;
+ obj2->attr->cache.linesize = _system_configuration.dcache_line;
+ obj2->attr->cache.depth = 1;
+ if (_system_configuration.cache_attrib & (1<<30)) {
+ /* Unified cache */
+ obj2->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ hwloc_debug("Adding an L1u cache for core %d\n", i);
+ hwloc_insert_object_by_cpuset(topology, obj2);
+ } else {
+ /* Separate Instruction and Data caches */
+ obj2->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ hwloc_debug("Adding an L1d cache for core %d\n", i);
+ hwloc_insert_object_by_cpuset(topology, obj2);
+
+ obj3 = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, i);
+ obj3->cpuset = hwloc_bitmap_dup(obj->cpuset);
+ obj3->attr->cache.size = _system_configuration.icache_size;
+ obj3->attr->cache.associativity = _system_configuration.icache_asc;
+ obj3->attr->cache.linesize = _system_configuration.icache_line;
+ obj3->attr->cache.depth = 1;
+ obj3->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ hwloc_debug("Adding an L1i cache for core %d\n", i);
+ hwloc_insert_object_by_cpuset(topology, obj3);
+ }
+ break;
+ }
+ default:
+ break;
+ }
+ hwloc_debug_2args_bitmap("%s %d has cpuset %s\n",
+ hwloc_obj_type_string(type),
+ i, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+
+ rs_free(rset);
+ rs_free(rad);
+}
+
+static int
+hwloc_look_aix(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ int i;
+
+ if (topology->levels[0][0]->cpuset)
+ /* somebody discovered things */
+ return 0;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ /* TODO: R_LGPGDEF/R_LGPGFREE for large pages */
+
+ hwloc_debug("Note: SMPSDL is at %d\n", rs_getinfo(NULL, R_SMPSDL, 0));
+#ifdef R_REF1SDL
+ hwloc_debug("Note: REF1SDL is at %d\n", rs_getinfo(NULL, R_REF1SDL, 0));
+#endif
+
+ for (i=0; i<=rs_getinfo(NULL, R_MAXSDL, 0); i++)
+ {
+ int known = 0;
+#if 0
+ if (i == rs_getinfo(NULL, R_SMPSDL, 0))
+ /* Not enabled for now because I'm not sure what it corresponds to. On
+ * decrypthon it contains all the cpus. Is it a "machine" or a "system"
+ * level ?
+ */
+ {
+ hwloc_debug("looking AIX \"SMP\" sdl %d\n", i);
+ look_rset(i, HWLOC_OBJ_MACHINE, topology, i);
+ known = 1;
+ }
+#endif
+ if (i == rs_getinfo(NULL, R_MCMSDL, 0))
+ {
+ hwloc_debug("looking AIX node sdl %d\n", i);
+ look_rset(i, HWLOC_OBJ_NUMANODE, topology, i);
+ known = 1;
+ }
+# ifdef R_L2CSDL
+ if (i == rs_getinfo(NULL, R_L2CSDL, 0))
+ {
+ hwloc_debug("looking AIX L2 sdl %d\n", i);
+ look_rset(i, HWLOC_OBJ_CACHE, topology, i);
+ known = 1;
+ }
+# endif
+# ifdef R_PCORESDL
+ if (i == rs_getinfo(NULL, R_PCORESDL, 0))
+ {
+ hwloc_debug("looking AIX core sdl %d\n", i);
+ look_rset(i, HWLOC_OBJ_CORE, topology, i);
+ known = 1;
+ }
+# endif
+ if (i == rs_getinfo(NULL, R_MAXSDL, 0))
+ {
+ hwloc_debug("looking AIX max sdl %d\n", i);
+ look_rset(i, HWLOC_OBJ_PU, topology, i);
+ known = 1;
+ topology->support.discovery->pu = 1;
+ }
+
+ /* Don't know how it should be rendered, make a misc object for it. */
+ if (!known)
+ {
+ hwloc_debug("looking AIX unknown sdl %d\n", i);
+ look_rset(i, HWLOC_OBJ_GROUP, topology, i);
+ }
+ }
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "AIX");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+void
+hwloc_set_aix_hooks(struct hwloc_binding_hooks *hooks,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+ hooks->set_proc_cpubind = hwloc_aix_set_proc_cpubind;
+ hooks->get_proc_cpubind = hwloc_aix_get_proc_cpubind;
+#ifdef R_THREAD
+#ifdef HWLOC_HAVE_PTHREAD_GETTHRDS_NP
+ hooks->set_thread_cpubind = hwloc_aix_set_thread_cpubind;
+ hooks->get_thread_cpubind = hwloc_aix_get_thread_cpubind;
+#endif /* HWLOC_HAVE_PTHREAD_GETTHRDS_NP */
+#endif /* R_THREAD */
+ hooks->set_thisproc_cpubind = hwloc_aix_set_thisproc_cpubind;
+ hooks->get_thisproc_cpubind = hwloc_aix_get_thisproc_cpubind;
+#ifdef R_THREAD
+ hooks->set_thisthread_cpubind = hwloc_aix_set_thisthread_cpubind;
+ hooks->get_thisthread_cpubind = hwloc_aix_get_thisthread_cpubind;
+#endif /* R_THREAD */
+ hooks->get_thisthread_last_cpu_location = hwloc_aix_get_thisthread_last_cpu_location;
+ /* TODO: get_last_cpu_location: mycpu() only works for the current thread? */
+#ifdef P_DEFAULT
+ hooks->set_proc_membind = hwloc_aix_set_proc_membind;
+ hooks->get_proc_membind = hwloc_aix_get_proc_membind;
+#ifdef R_THREAD
+#if 0 /* def HWLOC_HAVE_PTHREAD_GETTHRDS_NP */
+ /* Does it really make sense to set the memory binding of another thread? */
+ hooks->set_thread_membind = hwloc_aix_set_thread_membind;
+ hooks->get_thread_membind = hwloc_aix_get_thread_membind;
+#endif /* HWLOC_HAVE_PTHREAD_GETTHRDS_NP */
+#endif /* R_THREAD */
+ hooks->set_thisproc_membind = hwloc_aix_set_thisproc_membind;
+ hooks->get_thisproc_membind = hwloc_aix_get_thisproc_membind;
+#ifdef R_THREAD
+ hooks->set_thisthread_membind = hwloc_aix_set_thisthread_membind;
+ hooks->get_thisthread_membind = hwloc_aix_get_thisthread_membind;
+#endif /* R_THREAD */
+ /* hooks->set_area_membind = hwloc_aix_set_area_membind; */
+ /* get_area_membind is not available */
+ hooks->alloc_membind = hwloc_aix_alloc_membind;
+ hooks->alloc = hwloc_alloc_mmap;
+ hooks->free_membind = hwloc_free_mmap;
+ support->membind->firsttouch_membind = 1;
+ support->membind->bind_membind = 1;
+ support->membind->interleave_membind = 1;
+#endif /* P_DEFAULT */
+}
+
+static struct hwloc_backend *
+hwloc_aix_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_aix;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_aix_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "aix",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_aix_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_aix_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_aix_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2013-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+
+#include <stdlib.h>
+#include <pthread.h>
+#include <sys/utsname.h>
+#include <spi/include/kernel/location.h>
+#include <spi/include/kernel/process.h>
+
+#ifndef HWLOC_DISABLE_BGQ_PORT_TEST
+
+#define HWLOC_BGQ_CORES 17 /* spare core ignored for now */
+
+static int
+hwloc_bgq__get_allowed_resources(struct hwloc_topology *topology)
+{
+ const char *env;
+ unsigned i;
+
+ /* mark the 17th core (OS-reserved) as disallowed */
+ hwloc_bitmap_clr_range(topology->levels[0][0]->allowed_cpuset, (HWLOC_BGQ_CORES-1)*4, HWLOC_BGQ_CORES*4-1);
+
+ if (topology->is_thissystem) { /* don't call CNK unless thissystem */
+ env = getenv("BG_THREADMODEL");
+ if (!env || atoi(env) != 2) {
+ /* process cannot use cores/threads outside of its Kernel_ThreadMask() unless BG_THREADMODEL=2 */
+ uint64_t bgmask = Kernel_ThreadMask(Kernel_MyTcoord());
+ /* the mask is reversed, manually reverse it */
+ for(i=0; i<64; i++)
+ if (((bgmask >> i) & 1) == 0)
+ hwloc_bitmap_clr(topology->levels[0][0]->allowed_cpuset, 63-i);
+ }
+ }
+ return 0;
+}
+
+static int
+hwloc_look_bgq(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ unsigned i;
+
+ if (!topology->levels[0][0]->cpuset) {
+ /* Nobody created objects yet, setup everything */
+ hwloc_bitmap_t set;
+ hwloc_obj_t obj;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ hwloc_bgq__get_allowed_resources(topology);
+
+ /* a single memory bank */
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(set, 0);
+ topology->levels[0][0]->nodeset = set;
+ topology->levels[0][0]->memory.local_memory = 16ULL*1024*1024*1024ULL;
+
+ /* package */
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, 0);
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(set, 0, HWLOC_BGQ_CORES*4-1);
+ obj->cpuset = set;
+ hwloc_obj_add_info(obj, "CPUModel", "IBM PowerPC A2");
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ /* shared L2 */
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ obj->attr->cache.depth = 2;
+ obj->attr->cache.size = 32*1024*1024;
+ obj->attr->cache.linesize = 128;
+ obj->attr->cache.associativity = 16;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ /* Cores */
+ for(i=0; i<HWLOC_BGQ_CORES; i++) {
+ /* Core */
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, i);
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(set, i*4, i*4+3);
+ obj->cpuset = set;
+ hwloc_insert_object_by_cpuset(topology, obj);
+ /* L1d */
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 16*1024;
+ obj->attr->cache.linesize = 64;
+ obj->attr->cache.associativity = 8;
+ hwloc_insert_object_by_cpuset(topology, obj);
+ /* L1i */
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 16*1024;
+ obj->attr->cache.linesize = 64;
+ obj->attr->cache.associativity = 4;
+ hwloc_insert_object_by_cpuset(topology, obj);
+ /* there's also a L1p "prefetch cache" of 4kB with 128B lines */
+ }
+
+ /* PUs */
+ topology->support.discovery->pu = 1;
+ hwloc_setup_pu_level(topology, HWLOC_BGQ_CORES*4);
+ }
+
+ /* Add BGQ specific information */
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "BGQ");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+static int
+hwloc_bgq_get_thread_cpubind(hwloc_topology_t topology, pthread_t thread, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ unsigned pu;
+ cpu_set_t bg_set;
+ int err;
+
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+ err = pthread_getaffinity_np(thread, sizeof(bg_set), &bg_set);
+ if (err) {
+ errno = err;
+ return -1;
+ }
+ for(pu=0; pu<64; pu++)
+ if (CPU_ISSET(pu, &bg_set)) {
+ /* the binding cannot contain multiple PUs */
+ hwloc_bitmap_only(hwloc_set, pu);
+ break;
+ }
+ return 0;
+}
+
+static int
+hwloc_bgq_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+ hwloc_bitmap_only(hwloc_set, Kernel_ProcessorID());
+ return 0;
+}
+
+static int
+hwloc_bgq_set_thread_cpubind(hwloc_topology_t topology, pthread_t thread, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ unsigned pu;
+ cpu_set_t bg_set;
+ int err;
+
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+ /* the binding cannot contain multiple PUs.
+ * keep the first PU only, and error out if STRICT.
+ */
+ if (hwloc_bitmap_weight(hwloc_set) != 1) {
+ if ((flags & HWLOC_CPUBIND_STRICT)) {
+ errno = ENOSYS;
+ return -1;
+ }
+ }
+ pu = hwloc_bitmap_first(hwloc_set);
+ CPU_ZERO(&bg_set);
+ CPU_SET(pu, &bg_set);
+ err = pthread_setaffinity_np(thread, sizeof(bg_set), &bg_set);
+ if (err) {
+ errno = err;
+ return -1;
+ }
+ return 0;
+}
+
+static int
+hwloc_bgq_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_bgq_set_thread_cpubind(topology, pthread_self(), hwloc_set, flags);
+}
+
+static int
+hwloc_bgq_get_allowed_resources(struct hwloc_topology *topology)
+{
+ /* Loading BGQ from XML isn't much useful since everything is hardwired anyway.
+ * But still implement XML + this callback in case portable applications want to always use XMLs.
+ */
+
+ /* In theory, when applying local restrictions to a XML-loaded topology,
+ * we should check that the current topology contains 1 NUMA nodes and 17*4 PUs.
+ *
+ * Just trust the user when he sets THISSYSTEM=1.
+ */
+ return hwloc_bgq__get_allowed_resources(topology);
+}
+
+void
+hwloc_set_bgq_hooks(struct hwloc_binding_hooks *hooks __hwloc_attribute_unused,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+ hooks->set_thisthread_cpubind = hwloc_bgq_set_thisthread_cpubind;
+ hooks->set_thread_cpubind = hwloc_bgq_set_thread_cpubind;
+ hooks->get_thisthread_cpubind = hwloc_bgq_get_thisthread_cpubind;
+ hooks->get_thread_cpubind = hwloc_bgq_get_thread_cpubind;
+ /* threads cannot be bound to more than one PU, so get_last_cpu_location == get_cpubind */
+ hooks->get_thisthread_last_cpu_location = hwloc_bgq_get_thisthread_cpubind;
+ /* hooks->get_thread_last_cpu_location = hwloc_bgq_get_thread_cpubind; */
+
+ hooks->get_allowed_resources = hwloc_bgq_get_allowed_resources;
+}
+
+static struct hwloc_backend *
+hwloc_bgq_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct utsname utsname;
+ struct hwloc_backend *backend;
+ int forced_nonbgq = 0;
+ int err;
+
+ err = uname(&utsname);
+ if (err || strcmp(utsname.sysname, "CNK") || strcmp(utsname.machine, "BGQ")) {
+ const char *env = getenv("HWLOC_FORCE_BGQ");
+ if (!env || !atoi(env)) {
+ fprintf(stderr, "*** Found unexpected uname sysname `%s' machine `%s'.\n", utsname.sysname, utsname.machine);
+ fprintf(stderr, "*** The BlueGene/Q backend (bgq) is only enabled by default on compute nodes\n"
+ "*** (where uname returns sysname=CNK and machine=BGQ).\n"
+ "*** If you know you *really* want to run the bgq backend on this non-compute node,\n"
+ "*** set HWLOC_FORCE_BGQ=1 in the environment.\n"
+ "*** If you just want to discover the native topology of this non-compute node,\n"
+ "*** do not pass any BlueGene/Q-specific options on the configure command-line.\n");
+ return NULL;
+ } else {
+ forced_nonbgq = 1;
+ }
+ }
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_bgq;
+ if (forced_nonbgq)
+ backend->is_thissystem = 0;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_bgq_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ "bgq",
+ ~0,
+ hwloc_bgq_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_bgq_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_bgq_disc_component
+};
+
+#endif /* !HWLOC_DISABLE_BGQ_PORT_TEST */
--- /dev/null
+/*
+ * Copyright © 2011 Université Bordeaux
+ * Copyright © 2012-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/plugins.h>
+#include <hwloc/cudart.h>
+
+/* private headers allowed for convenience because this plugin is built within hwloc */
+#include <private/misc.h>
+#include <private/debug.h>
+
+#include <cuda_runtime_api.h>
+
+struct hwloc_cuda_backend_data_s {
+ unsigned nr_devices; /* -1 when unknown yet, first callback will setup */
+ struct hwloc_cuda_device_info_s {
+ int idx;
+ unsigned pcidomain, pcibus, pcidev, pcifunc;
+ } * devices;
+};
+
+/* query all PCI bus ids for later */
+static void
+hwloc_cuda_query_devices(struct hwloc_cuda_backend_data_s *data)
+{
+ cudaError_t cures;
+ int nb, i;
+
+ /* mark the number of devices as 0 in case we fail below,
+ * so that we don't try again later.
+ */
+ data->nr_devices = 0;
+
+ cures = cudaGetDeviceCount(&nb);
+ if (cures)
+ return;
+
+ /* allocate structs */
+ data->devices = malloc(nb * sizeof(*data->devices));
+ if (!data->devices)
+ return;
+
+ for (i = 0; i < nb; i++) {
+ struct hwloc_cuda_device_info_s *info = &data->devices[data->nr_devices];
+ int domain, bus, dev;
+
+ if (hwloc_cudart_get_device_pci_ids(NULL /* topology unused */, i, &domain, &bus, &dev))
+ continue;
+
+ info->idx = i;
+ info->pcidomain = (unsigned) domain;
+ info->pcibus = (unsigned) bus;
+ info->pcidev = (unsigned) dev;
+ info->pcifunc = 0;
+
+ /* validate this device */
+ data->nr_devices++;
+ }
+
+ return;
+}
+
+static unsigned hwloc_cuda_cores_per_MP(int major, int minor)
+{
+ /* FP32 cores per MP, based on CUDA C Programming Guide, Annex G */
+ switch (major) {
+ case 1:
+ switch (minor) {
+ case 0:
+ case 1:
+ case 2:
+ case 3: return 8;
+ }
+ break;
+ case 2:
+ switch (minor) {
+ case 0: return 32;
+ case 1: return 48;
+ }
+ break;
+ case 3:
+ return 192;
+ case 5:
+ return 128;
+ case 6:
+ switch (minor) {
+ case 0: return 64;
+ case 1:
+ case 2: return 128;
+ }
+ break;
+ case 7:
+ return 64;
+ }
+ hwloc_debug("unknown compute capability %d.%d, disabling core display.\n", major, minor);
+ return 0;
+}
+
+static int
+hwloc_cuda_backend_notify_new_object(struct hwloc_backend *backend, struct hwloc_backend *caller __hwloc_attribute_unused,
+ struct hwloc_obj *pcidev)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_cuda_backend_data_s *data = backend->private_data;
+ unsigned i;
+
+ if (!(hwloc_topology_get_flags(topology) & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO)))
+ return 0;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ hwloc_debug("%s", "\nno CUDA detection (not thissystem)\n");
+ return 0;
+ }
+
+ if (HWLOC_OBJ_PCI_DEVICE != pcidev->type)
+ return 0;
+
+ if (data->nr_devices == (unsigned) -1) {
+ /* first call, lookup all devices */
+ hwloc_cuda_query_devices(data);
+ /* if it fails, data->nr_devices = 0 so we won't do anything below and in next callbacks */
+ }
+
+ if (!data->nr_devices)
+ /* found no devices */
+ return 0;
+
+ for(i=0; i<data->nr_devices; i++) {
+ struct hwloc_cuda_device_info_s *info = &data->devices[i];
+ char cuda_name[32];
+ char number[32];
+ struct cudaDeviceProp prop;
+ hwloc_obj_t cuda_device;
+ cudaError_t cures;
+ unsigned cores;
+
+ if (info->pcidomain != pcidev->attr->pcidev.domain)
+ continue;
+ if (info->pcibus != pcidev->attr->pcidev.bus)
+ continue;
+ if (info->pcidev != pcidev->attr->pcidev.dev)
+ continue;
+ if (info->pcifunc != pcidev->attr->pcidev.func)
+ continue;
+
+ cuda_device = hwloc_alloc_setup_object(HWLOC_OBJ_OS_DEVICE, -1);
+ snprintf(cuda_name, sizeof(cuda_name), "cuda%d", info->idx);
+ cuda_device->name = strdup(cuda_name);
+ cuda_device->depth = (unsigned) HWLOC_TYPE_DEPTH_UNKNOWN;
+ cuda_device->attr->osdev.type = HWLOC_OBJ_OSDEV_COPROC;
+
+ hwloc_obj_add_info(cuda_device, "CoProcType", "CUDA");
+ hwloc_obj_add_info(cuda_device, "Backend", "CUDA");
+ hwloc_obj_add_info(cuda_device, "GPUVendor", "NVIDIA Corporation");
+
+ cures = cudaGetDeviceProperties(&prop, info->idx);
+ if (!cures)
+ hwloc_obj_add_info(cuda_device, "GPUModel", prop.name);
+
+ snprintf(number, sizeof(number), "%llu", ((unsigned long long) prop.totalGlobalMem) >> 10);
+ hwloc_obj_add_info(cuda_device, "CUDAGlobalMemorySize", number);
+
+ snprintf(number, sizeof(number), "%llu", ((unsigned long long) prop.l2CacheSize) >> 10);
+ hwloc_obj_add_info(cuda_device, "CUDAL2CacheSize", number);
+
+ snprintf(number, sizeof(number), "%d", prop.multiProcessorCount);
+ hwloc_obj_add_info(cuda_device, "CUDAMultiProcessors", number);
+
+ cores = hwloc_cuda_cores_per_MP(prop.major, prop.minor);
+ if (cores) {
+ snprintf(number, sizeof(number), "%u", cores);
+ hwloc_obj_add_info(cuda_device, "CUDACoresPerMP", number);
+ }
+
+ snprintf(number, sizeof(number), "%llu", ((unsigned long long) prop.sharedMemPerBlock) >> 10);
+ hwloc_obj_add_info(cuda_device, "CUDASharedMemorySizePerMP", number);
+
+ hwloc_insert_object_by_parent(topology, pcidev, cuda_device);
+ return 1;
+ }
+
+ return 0;
+}
+
+static void
+hwloc_cuda_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_cuda_backend_data_s *data = backend->private_data;
+ free(data->devices);
+ free(data);
+}
+
+static struct hwloc_backend *
+hwloc_cuda_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ struct hwloc_cuda_backend_data_s *data;
+
+ /* thissystem may not be fully initialized yet, we'll check flags in discover() */
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ free(backend);
+ return NULL;
+ }
+ /* the first callback will initialize those */
+ data->nr_devices = (unsigned) -1; /* unknown yet */
+ data->devices = NULL;
+
+ backend->private_data = data;
+ backend->disable = hwloc_cuda_backend_disable;
+
+ backend->notify_new_object = hwloc_cuda_backend_notify_new_object;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_cuda_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_MISC,
+ "cuda",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_cuda_component_instantiate,
+ 10, /* after pci */
+ NULL
+};
+
+static int
+hwloc_cuda_component_init(unsigned long flags)
+{
+ if (flags)
+ return -1;
+ if (hwloc_plugin_check_namespace("cuda", "hwloc_backend_alloc") < 0)
+ return -1;
+ return 0;
+}
+
+#ifdef HWLOC_INSIDE_PLUGIN
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_cuda_component;
+#endif
+
+const struct hwloc_component hwloc_cuda_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_cuda_component_init, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_cuda_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2011-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+
+hwloc_obj_t
+hwloc_custom_insert_group_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, int groupdepth)
+{
+ hwloc_obj_t obj;
+
+ /* must be called between set_custom() and load(), so there's a single backend, the custom one */
+ if (topology->is_loaded || !topology->backends || !topology->backends->is_custom) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, -1);
+ obj->attr->group.depth = groupdepth;
+ hwloc_obj_add_info(obj, "Backend", "Custom");
+ hwloc_insert_object_by_parent(topology, parent, obj);
+ /* insert_object_by_parent() doesn't merge during insert, so obj is still valid */
+
+ return obj;
+}
+
+int
+hwloc_custom_insert_topology(struct hwloc_topology *newtopology,
+ struct hwloc_obj *newparent,
+ struct hwloc_topology *oldtopology,
+ struct hwloc_obj *oldroot)
+{
+ /* must be called between set_custom() and load(), so there's a single backend, the custom one */
+ if (newtopology->is_loaded || !newtopology->backends || !newtopology->backends->is_custom) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (!oldtopology->is_loaded) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ hwloc__duplicate_objects(newtopology, newparent, oldroot ? oldroot : oldtopology->levels[0][0]);
+ return 0;
+}
+
+static int
+hwloc_look_custom(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ hwloc_obj_t root = topology->levels[0][0];
+
+ assert(!root->cpuset);
+
+ if (!root->first_child) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ root->type = HWLOC_OBJ_SYSTEM;
+ hwloc_obj_add_info(root, "Backend", "Custom");
+ return 1;
+}
+
+static struct hwloc_backend *
+hwloc_custom_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_custom;
+ backend->is_custom = 1;
+ backend->is_thissystem = 0;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_custom_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ "custom",
+ ~0,
+ hwloc_custom_component_instantiate,
+ 30,
+ NULL
+};
+
+const struct hwloc_component hwloc_custom_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_custom_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2013 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* Detect topology change: registering for power management changes and check
+ * if for example hw.activecpu changed */
+
+/* Apparently, Darwin people do not _want_ to provide binding functions. */
+
+#include <private/autogen/config.h>
+
+#include <sys/types.h>
+#include <sys/sysctl.h>
+#include <stdlib.h>
+#include <inttypes.h>
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+
+static int
+hwloc_look_darwin(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ int64_t _nprocs;
+ unsigned nprocs;
+ int64_t _npackages;
+ unsigned i, j, cpu;
+ struct hwloc_obj *obj;
+ size_t size;
+ int64_t l1dcachesize, l1icachesize;
+ int64_t cacheways[2];
+ int64_t l2cachesize;
+ int64_t l3cachesize;
+ int64_t cachelinesize;
+ int64_t memsize;
+ int64_t _tmp;
+ char cpumodel[64];
+ char cpuvendor[64];
+ char cpufamilynumber[20], cpumodelnumber[20], cpustepping[20];
+
+ if (topology->levels[0][0]->cpuset)
+ /* somebody discovered things */
+ return 0;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ if (hwloc_get_sysctlbyname("hw.logicalcpu", &_nprocs) || _nprocs <= 0)
+ /* fallback to deprecated way */
+ if (hwloc_get_sysctlbyname("hw.ncpu", &_nprocs) || _nprocs <= 0)
+ return -1;
+
+ nprocs = _nprocs;
+ topology->support.discovery->pu = 1;
+
+ hwloc_debug("%u procs\n", nprocs);
+
+ size = sizeof(cpuvendor);
+ if (sysctlbyname("machdep.cpu.vendor", cpuvendor, &size, NULL, 0))
+ cpuvendor[0] = '\0';
+
+ size = sizeof(cpumodel);
+ if (sysctlbyname("machdep.cpu.brand_string", cpumodel, &size, NULL, 0))
+ cpumodel[0] = '\0';
+
+ if (hwloc_get_sysctlbyname("machdep.cpu.family", &_tmp))
+ cpufamilynumber[0] = '\0';
+ else
+ snprintf(cpufamilynumber, sizeof(cpufamilynumber), "%lld", (long long) _tmp);
+ if (hwloc_get_sysctlbyname("machdep.cpu.model", &_tmp))
+ cpumodelnumber[0] = '\0';
+ else
+ snprintf(cpumodelnumber, sizeof(cpumodelnumber), "%lld", (long long) _tmp);
+ /* .extfamily and .extmodel are already added to .family and .model */
+ if (hwloc_get_sysctlbyname("machdep.cpu.stepping", &_tmp))
+ cpustepping[0] = '\0';
+ else
+ snprintf(cpustepping, sizeof(cpustepping), "%lld", (long long) _tmp);
+
+ if (!hwloc_get_sysctlbyname("hw.packages", &_npackages) && _npackages > 0) {
+ unsigned npackages = _npackages;
+ int64_t _cores_per_package;
+ unsigned cores_per_package;
+ int64_t _logical_per_package;
+ unsigned logical_per_package;
+
+ hwloc_debug("%u packages\n", npackages);
+
+ if (!hwloc_get_sysctlbyname("machdep.cpu.thread_count", &_logical_per_package) && _logical_per_package > 0)
+ /* official/modern way */
+ logical_per_package = _logical_per_package;
+ else if (!hwloc_get_sysctlbyname("machdep.cpu.logical_per_package", &_logical_per_package) && _logical_per_package > 0)
+ /* old way, gives the max supported by this "kind" of processor,
+ * can be larger than the actual number for this model.
+ */
+ logical_per_package = _logical_per_package;
+ else
+ /* Assume the trivia. */
+ logical_per_package = nprocs / npackages;
+
+ hwloc_debug("%u threads per package\n", logical_per_package);
+
+
+ if (nprocs == npackages * logical_per_package)
+ for (i = 0; i < npackages; i++) {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, i);
+ obj->cpuset = hwloc_bitmap_alloc();
+ for (cpu = i*logical_per_package; cpu < (i+1)*logical_per_package; cpu++)
+ hwloc_bitmap_set(obj->cpuset, cpu);
+
+ hwloc_debug_1arg_bitmap("package %u has cpuset %s\n",
+ i, obj->cpuset);
+
+ if (cpuvendor[0] != '\0')
+ hwloc_obj_add_info(obj, "CPUVendor", cpuvendor);
+ if (cpumodel[0] != '\0')
+ hwloc_obj_add_info(obj, "CPUModel", cpumodel);
+ if (cpufamilynumber[0] != '\0')
+ hwloc_obj_add_info(obj, "CPUFamilyNumber", cpufamilynumber);
+ if (cpumodelnumber[0] != '\0')
+ hwloc_obj_add_info(obj, "CPUModelNumber", cpumodelnumber);
+ if (cpustepping[0] != '\0')
+ hwloc_obj_add_info(obj, "CPUStepping", cpustepping);
+
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ else {
+ if (cpuvendor[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUVendor", cpuvendor);
+ if (cpumodel[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUModel", cpumodel);
+ if (cpufamilynumber[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUFamilyNumber", cpufamilynumber);
+ if (cpumodelnumber[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUModelNumber", cpumodelnumber);
+ if (cpustepping[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUStepping", cpustepping);
+ }
+
+ if (!hwloc_get_sysctlbyname("machdep.cpu.core_count", &_cores_per_package) && _cores_per_package > 0)
+ /* official/modern way */
+ cores_per_package = _cores_per_package;
+ else if (!hwloc_get_sysctlbyname("machdep.cpu.cores_per_package", &_cores_per_package) && _cores_per_package > 0)
+ /* old way, gives the max supported by this "kind" of processor,
+ * can be larger than the actual number for this model.
+ */
+ cores_per_package = _cores_per_package;
+ else
+ /* no idea */
+ cores_per_package = 0;
+
+ if (cores_per_package > 0) {
+ hwloc_debug("%u cores per package\n", cores_per_package);
+
+ if (!(logical_per_package % cores_per_package))
+ for (i = 0; i < npackages * cores_per_package; i++) {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, i);
+ obj->cpuset = hwloc_bitmap_alloc();
+ for (cpu = i*(logical_per_package/cores_per_package);
+ cpu < (i+1)*(logical_per_package/cores_per_package);
+ cpu++)
+ hwloc_bitmap_set(obj->cpuset, cpu);
+
+ hwloc_debug_1arg_bitmap("core %u has cpuset %s\n",
+ i, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ }
+ } else {
+ if (cpuvendor[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUVendor", cpuvendor);
+ if (cpumodel[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUModel", cpumodel);
+ if (cpufamilynumber[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUFamilyNumber", cpufamilynumber);
+ if (cpumodelnumber[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUModelNumber", cpumodelnumber);
+ if (cpustepping[0] != '\0')
+ hwloc_obj_add_info(topology->levels[0][0], "CPUStepping", cpustepping);
+ }
+
+ if (hwloc_get_sysctlbyname("hw.l1dcachesize", &l1dcachesize))
+ l1dcachesize = 0;
+
+ if (hwloc_get_sysctlbyname("hw.l1icachesize", &l1icachesize))
+ l1icachesize = 0;
+
+ if (hwloc_get_sysctlbyname("hw.l2cachesize", &l2cachesize))
+ l2cachesize = 0;
+
+ if (hwloc_get_sysctlbyname("hw.l3cachesize", &l3cachesize))
+ l3cachesize = 0;
+
+ if (hwloc_get_sysctlbyname("machdep.cpu.cache.L1_associativity", &cacheways[0]))
+ cacheways[0] = 0;
+ else if (cacheways[0] == 0xff)
+ cacheways[0] = -1;
+
+ if (hwloc_get_sysctlbyname("machdep.cpu.cache.L2_associativity", &cacheways[1]))
+ cacheways[1] = 0;
+ else if (cacheways[1] == 0xff)
+ cacheways[1] = -1;
+
+ if (hwloc_get_sysctlbyname("hw.cachelinesize", &cachelinesize))
+ cachelinesize = 0;
+
+ if (hwloc_get_sysctlbyname("hw.memsize", &memsize))
+ memsize = 0;
+
+ if (!sysctlbyname("hw.cacheconfig", NULL, &size, NULL, 0)) {
+ unsigned n = size / sizeof(uint32_t);
+ uint64_t *cacheconfig = NULL;
+ uint64_t *cachesize = NULL;
+ uint32_t *cacheconfig32 = NULL;
+
+ cacheconfig = malloc(sizeof(uint64_t) * n);
+ if (NULL == cacheconfig) {
+ goto out;
+ }
+ cachesize = malloc(sizeof(uint64_t) * n);
+ if (NULL == cachesize) {
+ goto out;
+ }
+ cacheconfig32 = malloc(sizeof(uint32_t) * n);
+ if (NULL == cacheconfig32) {
+ goto out;
+ }
+
+ if ((!sysctlbyname("hw.cacheconfig", cacheconfig, &size, NULL, 0))) {
+ /* Yeech. Darwin seemingly has changed from 32bit to 64bit integers for
+ * cacheconfig, with apparently no way for detection. Assume the machine
+ * won't have more than 4 billion cpus */
+ if (cacheconfig[0] > 0xFFFFFFFFUL) {
+ memcpy(cacheconfig32, cacheconfig, size);
+ for (i = 0 ; i < size / sizeof(uint32_t); i++)
+ cacheconfig[i] = cacheconfig32[i];
+ }
+
+ memset(cachesize, 0, sizeof(uint64_t) * n);
+ size = sizeof(uint64_t) * n;
+ if (sysctlbyname("hw.cachesize", cachesize, &size, NULL, 0)) {
+ if (n > 0)
+ cachesize[0] = memsize;
+ if (n > 1)
+ cachesize[1] = l1dcachesize;
+ if (n > 2)
+ cachesize[2] = l2cachesize;
+ if (n > 3)
+ cachesize[3] = l3cachesize;
+ }
+
+ hwloc_debug("%s", "caches");
+ for (i = 0; i < n && cacheconfig[i]; i++)
+ hwloc_debug(" %"PRIu64"(%"PRIu64"kB)", cacheconfig[i], cachesize[i] / 1024);
+
+ /* Now we know how many caches there are */
+ n = i;
+ hwloc_debug("\n%u cache levels\n", n - 1);
+
+ /* For each cache level (0 is memory) */
+ for (i = 0; i < n; i++) {
+ /* cacheconfig tells us how many cpus share it, let's iterate on each cache */
+ for (j = 0; j < (nprocs / cacheconfig[i]); j++) {
+ obj = hwloc_alloc_setup_object(i?HWLOC_OBJ_CACHE:HWLOC_OBJ_NUMANODE, j);
+ if (!i) {
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, j);
+ }
+ obj->cpuset = hwloc_bitmap_alloc();
+ for (cpu = j*cacheconfig[i];
+ cpu < ((j+1)*cacheconfig[i]);
+ cpu++)
+ hwloc_bitmap_set(obj->cpuset, cpu);
+
+ if (i == 1 && l1icachesize) {
+ /* FIXME assuming that L1i and L1d are shared the same way. Darwin
+ * does not yet provide a way to know. */
+ hwloc_obj_t l1i = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, j);
+ l1i->cpuset = hwloc_bitmap_dup(obj->cpuset);
+ hwloc_debug_1arg_bitmap("L1icache %u has cpuset %s\n",
+ j, l1i->cpuset);
+ l1i->attr->cache.depth = i;
+ l1i->attr->cache.size = l1icachesize;
+ l1i->attr->cache.linesize = cachelinesize;
+ l1i->attr->cache.associativity = 0;
+ l1i->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+
+ hwloc_insert_object_by_cpuset(topology, l1i);
+ }
+ if (i) {
+ hwloc_debug_2args_bitmap("L%ucache %u has cpuset %s\n",
+ i, j, obj->cpuset);
+ obj->attr->cache.depth = i;
+ obj->attr->cache.size = cachesize[i];
+ obj->attr->cache.linesize = cachelinesize;
+ if (i <= sizeof(cacheways) / sizeof(cacheways[0]))
+ obj->attr->cache.associativity = cacheways[i-1];
+ else
+ obj->attr->cache.associativity = 0;
+ if (i == 1 && l1icachesize)
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ else
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ } else {
+ hwloc_debug_1arg_bitmap("node %u has cpuset %s\n",
+ j, obj->cpuset);
+ obj->memory.local_memory = cachesize[i];
+ obj->memory.page_types_len = 2;
+ obj->memory.page_types = malloc(2*sizeof(*obj->memory.page_types));
+ memset(obj->memory.page_types, 0, 2*sizeof(*obj->memory.page_types));
+ obj->memory.page_types[0].size = hwloc_getpagesize();
+#if HAVE_DECL__SC_LARGE_PAGESIZE
+ obj->memory.page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+ }
+
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ }
+ }
+ out:
+ if (NULL != cacheconfig) {
+ free(cacheconfig);
+ }
+ if (NULL != cachesize) {
+ free(cachesize);
+ }
+ if (NULL != cacheconfig32) {
+ free(cacheconfig32);
+ }
+ }
+
+
+ /* add PU objects */
+ hwloc_setup_pu_level(topology, nprocs);
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "Darwin");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+void
+hwloc_set_darwin_hooks(struct hwloc_binding_hooks *hooks __hwloc_attribute_unused,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+}
+
+static struct hwloc_backend *
+hwloc_darwin_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_darwin;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_darwin_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "darwin",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_darwin_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_darwin_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_darwin_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2012-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+
+#include <stdlib.h>
+
+static struct hwloc_backend *
+hwloc_fake_component_instantiate(struct hwloc_disc_component *component __hwloc_attribute_unused,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ if (getenv("HWLOC_DEBUG_FAKE_COMPONENT"))
+ printf("fake component instantiated\n");
+ return NULL;
+}
+
+static struct hwloc_disc_component hwloc_fake_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_MISC, /* so that it's always enabled when using the OS discovery */
+ "fake",
+ 0, /* nothing to exclude */
+ hwloc_fake_component_instantiate,
+ 100, /* make sure it's loaded before anything conflicting excludes it */
+ NULL
+};
+
+static int
+hwloc_fake_component_init(unsigned long flags)
+{
+ if (flags)
+ return -1;
+ if (hwloc_plugin_check_namespace("fake", "hwloc_backend_alloc") < 0)
+ return -1;
+ if (getenv("HWLOC_DEBUG_FAKE_COMPONENT"))
+ printf("fake component initialized\n");
+ return 0;
+}
+
+static void
+hwloc_fake_component_finalize(unsigned long flags)
+{
+ if (flags)
+ return;
+ if (getenv("HWLOC_DEBUG_FAKE_COMPONENT"))
+ printf("fake component finalized\n");
+}
+
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_fake_component; /* never linked statically in the core */
+
+const struct hwloc_component hwloc_fake_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_fake_component_init, hwloc_fake_component_finalize,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_fake_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2012 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#include <sys/types.h>
+#include <stdlib.h>
+#include <inttypes.h>
+#include <sys/param.h>
+#include <pthread.h>
+#ifdef HAVE_PTHREAD_NP_H
+#include <pthread_np.h>
+#endif
+#ifdef HAVE_SYS_CPUSET_H
+#include <sys/cpuset.h>
+#endif
+#ifdef HAVE_SYS_SYSCTL_H
+#include <sys/sysctl.h>
+#endif
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+
+#if defined(HAVE_SYS_CPUSET_H) && defined(HAVE_CPUSET_SETAFFINITY)
+static void
+hwloc_freebsd_bsd2hwloc(hwloc_bitmap_t hwloc_cpuset, const cpuset_t *cset)
+{
+ unsigned cpu;
+ hwloc_bitmap_zero(hwloc_cpuset);
+ for (cpu = 0; cpu < CPU_SETSIZE; cpu++)
+ if (CPU_ISSET(cpu, cset))
+ hwloc_bitmap_set(hwloc_cpuset, cpu);
+}
+
+static void
+hwloc_freebsd_hwloc2bsd(hwloc_const_bitmap_t hwloc_cpuset, cpuset_t *cset)
+{
+ unsigned cpu;
+ CPU_ZERO(cset);
+ for (cpu = 0; cpu < CPU_SETSIZE; cpu++)
+ if (hwloc_bitmap_isset(hwloc_cpuset, cpu))
+ CPU_SET(cpu, cset);
+}
+
+static int
+hwloc_freebsd_set_sth_affinity(hwloc_topology_t topology __hwloc_attribute_unused, cpulevel_t level, cpuwhich_t which, id_t id, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ cpuset_t cset;
+
+ hwloc_freebsd_hwloc2bsd(hwloc_cpuset, &cset);
+
+ if (cpuset_setaffinity(level, which, id, sizeof(cset), &cset))
+ return -1;
+
+ return 0;
+}
+
+static int
+hwloc_freebsd_get_sth_affinity(hwloc_topology_t topology __hwloc_attribute_unused, cpulevel_t level, cpuwhich_t which, id_t id, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ cpuset_t cset;
+
+ if (cpuset_getaffinity(level, which, id, sizeof(cset), &cset))
+ return -1;
+
+ hwloc_freebsd_bsd2hwloc(hwloc_cpuset, &cset);
+ return 0;
+}
+
+static int
+hwloc_freebsd_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_freebsd_set_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, hwloc_cpuset, flags);
+}
+
+static int
+hwloc_freebsd_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_freebsd_get_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, hwloc_cpuset, flags);
+}
+
+static int
+hwloc_freebsd_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_freebsd_set_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_TID, -1, hwloc_cpuset, flags);
+}
+
+static int
+hwloc_freebsd_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_freebsd_get_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_TID, -1, hwloc_cpuset, flags);
+}
+
+static int
+hwloc_freebsd_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_freebsd_set_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, pid, hwloc_cpuset, flags);
+}
+
+static int
+hwloc_freebsd_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_freebsd_get_sth_affinity(topology, CPU_LEVEL_WHICH, CPU_WHICH_PID, pid, hwloc_cpuset, flags);
+}
+
+#ifdef hwloc_thread_t
+
+#if HAVE_DECL_PTHREAD_SETAFFINITY_NP
+#pragma weak pthread_setaffinity_np
+static int
+hwloc_freebsd_set_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ int err;
+ cpuset_t cset;
+
+ if (!pthread_setaffinity_np) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ hwloc_freebsd_hwloc2bsd(hwloc_cpuset, &cset);
+
+ err = pthread_setaffinity_np(tid, sizeof(cset), &cset);
+
+ if (err) {
+ errno = err;
+ return -1;
+ }
+
+ return 0;
+}
+#endif
+
+#if HAVE_DECL_PTHREAD_GETAFFINITY_NP
+#pragma weak pthread_getaffinity_np
+static int
+hwloc_freebsd_get_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ int err;
+ cpuset_t cset;
+
+ if (!pthread_getaffinity_np) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ err = pthread_getaffinity_np(tid, sizeof(cset), &cset);
+
+ if (err) {
+ errno = err;
+ return -1;
+ }
+
+ hwloc_freebsd_bsd2hwloc(hwloc_cpuset, &cset);
+ return 0;
+}
+#endif
+#endif
+#endif
+
+#if (defined HAVE_SYSCTL) && (defined HAVE_SYS_SYSCTL_H)
+static void
+hwloc_freebsd_node_meminfo_info(struct hwloc_topology *topology)
+{
+ int mib[2] = { CTL_HW, HW_PHYSMEM };
+ unsigned long physmem;
+ size_t len = sizeof(physmem);
+ sysctl(mib, 2, &physmem, &len, NULL, 0);
+ topology->levels[0][0]->memory.local_memory = physmem;
+}
+#endif
+
+static int
+hwloc_look_freebsd(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ unsigned nbprocs = hwloc_fallback_nbprocessors(topology);
+
+ if (!topology->levels[0][0]->cpuset) {
+ /* Nobody (even the x86 backend) created objects yet, setup basic objects */
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+ hwloc_setup_pu_level(topology, nbprocs);
+ }
+
+ /* Add FreeBSD specific information */
+#if (defined HAVE_SYSCTL) && (defined HAVE_SYS_SYSCTL_H)
+ hwloc_freebsd_node_meminfo_info(topology);
+#endif
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "FreeBSD");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+void
+hwloc_set_freebsd_hooks(struct hwloc_binding_hooks *hooks __hwloc_attribute_unused,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+#if defined(HAVE_SYS_CPUSET_H) && defined(HAVE_CPUSET_SETAFFINITY)
+ hooks->set_thisproc_cpubind = hwloc_freebsd_set_thisproc_cpubind;
+ hooks->get_thisproc_cpubind = hwloc_freebsd_get_thisproc_cpubind;
+ hooks->set_thisthread_cpubind = hwloc_freebsd_set_thisthread_cpubind;
+ hooks->get_thisthread_cpubind = hwloc_freebsd_get_thisthread_cpubind;
+ hooks->set_proc_cpubind = hwloc_freebsd_set_proc_cpubind;
+ hooks->get_proc_cpubind = hwloc_freebsd_get_proc_cpubind;
+#ifdef hwloc_thread_t
+#if HAVE_DECL_PTHREAD_SETAFFINITY_NP
+ hooks->set_thread_cpubind = hwloc_freebsd_set_thread_cpubind;
+#endif
+#if HAVE_DECL_PTHREAD_GETAFFINITY_NP
+ hooks->get_thread_cpubind = hwloc_freebsd_get_thread_cpubind;
+#endif
+#endif
+#endif
+ /* TODO: get_last_cpu_location: find out ki_lastcpu */
+}
+
+static struct hwloc_backend *
+hwloc_freebsd_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_freebsd;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_freebsd_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "freebsd",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_freebsd_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_freebsd_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_freebsd_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2012-2013 Blue Brain Project, BBP/EPFL. All rights reserved.
+ * Copyright © 2012-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/plugins.h>
+
+/* private headers allowed for convenience because this plugin is built within hwloc */
+#include <private/misc.h>
+#include <private/debug.h>
+
+#include <stdarg.h>
+#include <errno.h>
+#include <X11/Xlib.h>
+#include <NVCtrl/NVCtrl.h>
+#include <NVCtrl/NVCtrlLib.h>
+
+#define HWLOC_GL_SERVER_MAX 10
+#define HWLOC_GL_SCREEN_MAX 10
+struct hwloc_gl_backend_data_s {
+ unsigned nr_display;
+ struct hwloc_gl_display_info_s {
+ char name[10];
+ unsigned port, device;
+ unsigned pcidomain, pcibus, pcidevice, pcifunc;
+ char *productname;
+ } display[HWLOC_GL_SERVER_MAX*HWLOC_GL_SCREEN_MAX];
+};
+
+static void
+hwloc_gl_query_devices(struct hwloc_gl_backend_data_s *data)
+{
+ int err;
+ unsigned i,j;
+
+ /* mark the number of display as 0 in case we fail below,
+ * so that we don't try again later.
+ */
+ data->nr_display = 0;
+
+ for (i = 0; i < HWLOC_GL_SERVER_MAX; ++i) {
+ Display* display;
+ char displayName[10];
+ int opcode, event, error;
+
+ /* open X server */
+ snprintf(displayName, sizeof(displayName), ":%u", i);
+ display = XOpenDisplay(displayName);
+ if (!display)
+ continue;
+
+ /* Check for NV-CONTROL extension (it's per server) */
+ if(!XQueryExtension(display, "NV-CONTROL", &opcode, &event, &error)) {
+ XCloseDisplay(display);
+ continue;
+ }
+
+ for (j = 0; j < (unsigned) ScreenCount(display) && j < HWLOC_GL_SCREEN_MAX; j++) {
+ struct hwloc_gl_display_info_s *info = &data->display[data->nr_display];
+ const int screen = j;
+ unsigned int *ptr_binary_data;
+ int data_length;
+ int gpu_number;
+ int nv_ctrl_pci_bus;
+ int nv_ctrl_pci_device;
+ int nv_ctrl_pci_domain;
+ int nv_ctrl_pci_func;
+ char *productname;
+
+ /* the server supports NV-CONTROL but it may contain non-NVIDIA screen that don't support it */
+ if (!XNVCTRLIsNvScreen(display, screen))
+ continue;
+
+ /* Gets the GPU number attached to the default screen. */
+ /* For further details, see the <NVCtrl/NVCtrlLib.h> */
+ err = XNVCTRLQueryTargetBinaryData (display, NV_CTRL_TARGET_TYPE_X_SCREEN, screen, 0,
+ NV_CTRL_BINARY_DATA_GPUS_USED_BY_XSCREEN,
+ (unsigned char **) &ptr_binary_data, &data_length);
+ if (!err)
+ continue;
+
+ gpu_number = ptr_binary_data[1];
+ free(ptr_binary_data);
+
+#ifdef NV_CTRL_PCI_DOMAIN
+ /* Gets the ID's of the GPU defined by gpu_number
+ * For further details, see the <NVCtrl/NVCtrlLib.h> */
+ err = XNVCTRLQueryTargetAttribute(display, NV_CTRL_TARGET_TYPE_GPU, gpu_number, 0,
+ NV_CTRL_PCI_DOMAIN, &nv_ctrl_pci_domain);
+ if (!err)
+ continue;
+#else
+ nv_ctrl_pci_domain = 0;
+#endif
+
+ err = XNVCTRLQueryTargetAttribute(display, NV_CTRL_TARGET_TYPE_GPU, gpu_number, 0,
+ NV_CTRL_PCI_BUS, &nv_ctrl_pci_bus);
+ if (!err)
+ continue;
+
+ err = XNVCTRLQueryTargetAttribute(display, NV_CTRL_TARGET_TYPE_GPU, gpu_number, 0,
+ NV_CTRL_PCI_DEVICE, &nv_ctrl_pci_device);
+ if (!err)
+ continue;
+
+ err = XNVCTRLQueryTargetAttribute(display, NV_CTRL_TARGET_TYPE_GPU, gpu_number, 0,
+ NV_CTRL_PCI_FUNCTION, &nv_ctrl_pci_func);
+ if (!err)
+ continue;
+
+ productname = NULL;
+ err = XNVCTRLQueryTargetStringAttribute(display, NV_CTRL_TARGET_TYPE_GPU, gpu_number, 0,
+ NV_CTRL_STRING_PRODUCT_NAME, &productname);
+
+ snprintf(info->name, sizeof(info->name), ":%u.%u", i, j);
+ info->port = i;
+ info->device = j;
+ info->pcidomain = nv_ctrl_pci_domain;
+ info->pcibus = nv_ctrl_pci_bus;
+ info->pcidevice = nv_ctrl_pci_device;
+ info->pcifunc = nv_ctrl_pci_func;
+ info->productname = productname;
+
+ hwloc_debug("GL device %s (product %s) on PCI %04x:%02x:%02x.%01x\n",
+ info->name, productname,
+ (unsigned) nv_ctrl_pci_domain, (unsigned) nv_ctrl_pci_bus, (unsigned) nv_ctrl_pci_device, (unsigned) nv_ctrl_pci_func);
+
+ /* validate this device */
+ data->nr_display++;
+ }
+ XCloseDisplay(display);
+ }
+}
+
+static int
+hwloc_gl_backend_notify_new_object(struct hwloc_backend *backend, struct hwloc_backend *caller __hwloc_attribute_unused,
+ struct hwloc_obj *pcidev)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_gl_backend_data_s *data = backend->private_data;
+ unsigned i, res;
+
+ if (!(hwloc_topology_get_flags(topology) & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO)))
+ return 0;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ hwloc_debug("%s", "\nno GL detection (not thissystem)\n");
+ return 0;
+ }
+
+ if (HWLOC_OBJ_PCI_DEVICE != pcidev->type)
+ return 0;
+
+ if (data->nr_display == (unsigned) -1) {
+ /* first call, lookup all display */
+ hwloc_gl_query_devices(data);
+ /* if it fails, data->nr_display = 0 so we won't do anything below and in next callbacks */
+ }
+
+ if (!data->nr_display)
+ /* found no display */
+ return 0;
+
+ /* now the display array is ready to use */
+ res = 0;
+ for(i=0; i<data->nr_display; i++) {
+ struct hwloc_gl_display_info_s *info = &data->display[i];
+ hwloc_obj_t osdev;
+
+ if (info->pcidomain != pcidev->attr->pcidev.domain)
+ continue;
+ if (info->pcibus != pcidev->attr->pcidev.bus)
+ continue;
+ if (info->pcidevice != pcidev->attr->pcidev.dev)
+ continue;
+ if (info->pcifunc != pcidev->attr->pcidev.func)
+ continue;
+
+ osdev = hwloc_alloc_setup_object(HWLOC_OBJ_OS_DEVICE, -1);
+ osdev->name = strdup(info->name);
+ osdev->logical_index = -1;
+ osdev->attr->osdev.type = HWLOC_OBJ_OSDEV_GPU;
+ hwloc_obj_add_info(osdev, "Backend", "GL");
+ hwloc_obj_add_info(osdev, "GPUVendor", "NVIDIA Corporation");
+ if (info->productname)
+ hwloc_obj_add_info(osdev, "GPUModel", info->productname);
+ hwloc_insert_object_by_parent(topology, pcidev, osdev);
+
+ res++;
+ /* there may be others */
+ }
+
+ return res;
+}
+
+static void
+hwloc_gl_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_gl_backend_data_s *data = backend->private_data;
+ unsigned i;
+ if (data->nr_display != (unsigned) -1) { /* could be -1 if --no-io */
+ for(i=0; i<data->nr_display; i++) {
+ struct hwloc_gl_display_info_s *info = &data->display[i];
+ free(info->productname);
+ }
+ }
+ free(backend->private_data);
+}
+
+static struct hwloc_backend *
+hwloc_gl_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ struct hwloc_gl_backend_data_s *data;
+
+ /* thissystem may not be fully initialized yet, we'll check flags in discover() */
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ free(backend);
+ return NULL;
+ }
+ /* the first callback will initialize those */
+ data->nr_display = (unsigned) -1; /* unknown yet */
+
+ backend->private_data = data;
+ backend->disable = hwloc_gl_backend_disable;
+
+ backend->notify_new_object = hwloc_gl_backend_notify_new_object;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_gl_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_MISC,
+ "gl",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_gl_component_instantiate,
+ 10, /* after pci */
+ NULL
+};
+
+static int
+hwloc_gl_component_init(unsigned long flags)
+{
+ if (flags)
+ return -1;
+ if (hwloc_plugin_check_namespace("gl", "hwloc_backend_alloc") < 0)
+ return -1;
+ return 0;
+}
+
+#ifdef HWLOC_INSIDE_PLUGIN
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_gl_component;
+#endif
+
+const struct hwloc_component hwloc_gl_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_gl_component_init, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_gl_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2015-2016 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#include <hwloc.h>
+#include <private/private.h>
+
+int hwloc_look_hardwired_fujitsu_k(struct hwloc_topology *topology)
+{
+ /* If a broken core gets disabled, its bit disappears and other core bits are NOT shifted towards 0.
+ * Node is not given to user job, not need to handle that case properly.
+ */
+ unsigned i;
+ hwloc_obj_t obj;
+ hwloc_bitmap_t set;
+
+ for(i=0; i<8; i++) {
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(set, i);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 32*1024;
+ obj->attr->cache.linesize = 128;
+ obj->attr->cache.associativity = 2;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 32*1024;
+ obj->attr->cache.linesize = 128;
+ obj->attr->cache.associativity = 2;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, i);
+ obj->cpuset = set;
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(set, 0, 7);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ obj->attr->cache.depth = 2;
+ obj->attr->cache.size = 6*1024*1024;
+ obj->attr->cache.linesize = 128;
+ obj->attr->cache.associativity = 12;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, 0);
+ obj->cpuset = set;
+ hwloc_obj_add_info(obj, "CPUVendor", "Fujitsu");
+ hwloc_obj_add_info(obj, "CPUModel", "SPARC64 VIIIfx");
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ topology->support.discovery->pu = 1;
+ hwloc_setup_pu_level(topology, 8);
+
+ return 0;
+}
+
+int hwloc_look_hardwired_fujitsu_fx10(struct hwloc_topology *topology)
+{
+ /* If a broken core gets disabled, its bit disappears and other core bits are NOT shifted towards 0.
+ * Node is not given to user job, not need to handle that case properly.
+ */
+ unsigned i;
+ hwloc_obj_t obj;
+ hwloc_bitmap_t set;
+
+ for(i=0; i<16; i++) {
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(set, i);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 32*1024;
+ obj->attr->cache.linesize = 128;
+ obj->attr->cache.associativity = 2;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 32*1024;
+ obj->attr->cache.linesize = 128;
+ obj->attr->cache.associativity = 2;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, i);
+ obj->cpuset = set;
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(set, 0, 15);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ obj->attr->cache.depth = 2;
+ obj->attr->cache.size = 12*1024*1024;
+ obj->attr->cache.linesize = 128;
+ obj->attr->cache.associativity = 24;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, 0);
+ obj->cpuset = set;
+ hwloc_obj_add_info(obj, "CPUVendor", "Fujitsu");
+ hwloc_obj_add_info(obj, "CPUModel", "SPARC64 IXfx");
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ topology->support.discovery->pu = 1;
+ hwloc_setup_pu_level(topology, 16);
+
+ return 0;
+}
+
+int hwloc_look_hardwired_fujitsu_fx100(struct hwloc_topology *topology)
+{
+ /* If a broken core gets disabled, its bit disappears and other core bits are NOT shifted towards 0.
+ * Node is not given to user job, not need to handle that case properly.
+ */
+ unsigned i;
+ hwloc_obj_t obj;
+ hwloc_bitmap_t set;
+
+ for(i=0; i<34; i++) {
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(set, i);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 64*1024;
+ obj->attr->cache.linesize = 256;
+ obj->attr->cache.associativity = 4;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_dup(set);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ obj->attr->cache.depth = 1;
+ obj->attr->cache.size = 64*1024;
+ obj->attr->cache.linesize = 256;
+ obj->attr->cache.associativity = 4;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, i);
+ obj->cpuset = set;
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(obj->cpuset, 0, 15);
+ hwloc_bitmap_set(obj->cpuset, 32);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ obj->attr->cache.depth = 2;
+ obj->attr->cache.size = 12*1024*1024;
+ obj->attr->cache.linesize = 256;
+ obj->attr->cache.associativity = 24;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(obj->cpuset, 16, 31);
+ hwloc_bitmap_set(obj->cpuset, 33);
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ obj->attr->cache.depth = 2;
+ obj->attr->cache.size = 12*1024*1024;
+ obj->attr->cache.linesize = 256;
+ obj->attr->cache.associativity = 24;
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, 0);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(obj->cpuset, 0, 33);
+ hwloc_obj_add_info(obj, "CPUVendor", "Fujitsu");
+ hwloc_obj_add_info(obj, "CPUModel", "SPARC64 XIfx");
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ topology->support.discovery->pu = 1;
+ hwloc_setup_pu_level(topology, 34);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2013 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* TODO: psets? (Only for root)
+ * since 11i 1.6:
+ _SC_PSET_SUPPORT
+ pset_create/destroy/assign/setattr
+ pset_ctl/getattr
+ pset_bind()
+ pthread_pset_bind_np()
+ */
+
+#include <private/autogen/config.h>
+
+#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <string.h>
+#include <errno.h>
+#include <stdio.h>
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+
+#include <sys/mpctl.h>
+#include <sys/mman.h>
+#include <pthread.h>
+
+static ldom_t
+hwloc_hpux_find_ldom(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set)
+{
+ int has_numa = sysconf(_SC_CCNUMA_SUPPORT) == 1;
+ hwloc_obj_t obj;
+
+ if (!has_numa)
+ return -1;
+
+ obj = hwloc_get_first_largest_obj_inside_cpuset(topology, hwloc_set);
+ if (!hwloc_bitmap_isequal(obj->cpuset, hwloc_set))
+ /* Does not correspond to exactly one node */
+ return -1;
+ /* obj is the highest possibly matching object, but some (single) child (with same cpuset) could match too */
+ while (obj->type != HWLOC_OBJ_NUMANODE) {
+ /* try the first child, in case it has the same cpuset */
+ if (!obj->first_child
+ || !obj->first_child->cpuset
+ || !hwloc_bitmap_isequal(obj->cpuset, obj->first_child->cpuset))
+ return -1;
+ obj = obj->first_child;
+ }
+
+ return obj->os_index;
+}
+
+static spu_t
+hwloc_hpux_find_spu(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_bitmap_t hwloc_set)
+{
+ spu_t cpu;
+
+ cpu = hwloc_bitmap_first(hwloc_set);
+ if (cpu != -1 && hwloc_bitmap_weight(hwloc_set) == 1)
+ return cpu;
+ return -1;
+}
+
+/* Note: get_cpubind not available on HP-UX */
+static int
+hwloc_hpux_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ ldom_t ldom;
+ spu_t cpu;
+
+ /* Drop previous binding */
+ mpctl(MPC_SETLDOM, MPC_LDOMFLOAT, pid);
+ mpctl(MPC_SETPROCESS, MPC_SPUFLOAT, pid);
+
+ if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology)))
+ return 0;
+
+ ldom = hwloc_hpux_find_ldom(topology, hwloc_set);
+ if (ldom != -1)
+ return mpctl(MPC_SETLDOM, ldom, pid);
+
+ cpu = hwloc_hpux_find_spu(topology, hwloc_set);
+ if (cpu != -1)
+ return mpctl((flags & HWLOC_CPUBIND_STRICT) ? MPC_SETPROCESS_FORCE : MPC_SETPROCESS, cpu, pid);
+
+ errno = EXDEV;
+ return -1;
+}
+
+static int
+hwloc_hpux_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_hpux_set_proc_cpubind(topology, MPC_SELFPID, hwloc_set, flags);
+}
+
+#ifdef hwloc_thread_t
+static int
+hwloc_hpux_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t pthread, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ ldom_t ldom, ldom2;
+ spu_t cpu, cpu2;
+
+ /* Drop previous binding */
+ pthread_ldom_bind_np(&ldom2, PTHREAD_LDOMFLOAT_NP, pthread);
+ pthread_processor_bind_np(PTHREAD_BIND_ADVISORY_NP, &cpu2, PTHREAD_SPUFLOAT_NP, pthread);
+
+ if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology)))
+ return 0;
+
+ ldom = hwloc_hpux_find_ldom(topology, hwloc_set);
+ if (ldom != -1)
+ return pthread_ldom_bind_np(&ldom2, ldom, pthread);
+
+ cpu = hwloc_hpux_find_spu(topology, hwloc_set);
+ if (cpu != -1)
+ return pthread_processor_bind_np((flags & HWLOC_CPUBIND_STRICT) ? PTHREAD_BIND_FORCED_NP : PTHREAD_BIND_ADVISORY_NP, &cpu2, cpu, pthread);
+
+ errno = EXDEV;
+ return -1;
+}
+
+static int
+hwloc_hpux_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_hpux_set_thread_cpubind(topology, PTHREAD_SELFTID_NP, hwloc_set, flags);
+}
+#endif
+
+/* According to HP docs, HP-UX up to 11iv2 don't support migration */
+
+#ifdef MAP_MEM_FIRST_TOUCH
+static void*
+hwloc_hpux_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ int mmap_flags;
+ void *p;
+
+ /* Can not give a set of nodes. */
+ if (!hwloc_bitmap_isequal(nodeset, hwloc_topology_get_complete_nodeset(topology))) {
+ errno = EXDEV;
+ return hwloc_alloc_or_fail(topology, len, flags);
+ }
+
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT:
+ case HWLOC_MEMBIND_BIND:
+ mmap_flags = 0;
+ break;
+ case HWLOC_MEMBIND_FIRSTTOUCH:
+ mmap_flags = MAP_MEM_FIRST_TOUCH;
+ break;
+ case HWLOC_MEMBIND_INTERLEAVE:
+ mmap_flags = MAP_MEM_INTERLEAVED;
+ break;
+ default:
+ errno = ENOSYS;
+ return NULL;
+ }
+
+ p = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | mmap_flags, -1, 0);
+ return p == MAP_FAILED ? NULL : p;
+}
+#endif /* MAP_MEM_FIRST_TOUCH */
+
+static int
+hwloc_look_hpux(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ int has_numa = sysconf(_SC_CCNUMA_SUPPORT) == 1;
+ hwloc_obj_t *nodes = NULL, obj;
+ spu_t currentcpu;
+ ldom_t currentnode;
+ int i, nbnodes = 0;
+
+ if (topology->levels[0][0]->cpuset)
+ /* somebody discovered things */
+ return 0;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ if (has_numa) {
+ nbnodes = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ?
+ MPC_GETNUMLDOMS_SYS : MPC_GETNUMLDOMS, 0, 0);
+
+ hwloc_debug("%d nodes\n", nbnodes);
+
+ nodes = malloc(nbnodes * sizeof(*nodes));
+
+ i = 0;
+ currentnode = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ?
+ MPC_GETFIRSTLDOM_SYS : MPC_GETFIRSTLDOM, 0, 0);
+ while (currentnode != -1 && i < nbnodes) {
+ hwloc_debug("node %d is %d\n", i, currentnode);
+ nodes[i] = obj = hwloc_alloc_setup_object(HWLOC_OBJ_NUMANODE, currentnode);
+ obj->cpuset = hwloc_bitmap_alloc();
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, currentnode);
+ /* TODO: obj->attr->node.memory_kB */
+ /* TODO: obj->attr->node.huge_page_free */
+
+ currentnode = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ?
+ MPC_GETNEXTLDOM_SYS : MPC_GETNEXTLDOM, currentnode, 0);
+ i++;
+ }
+ }
+
+ i = 0;
+ currentcpu = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ?
+ MPC_GETFIRSTSPU_SYS : MPC_GETFIRSTSPU, 0,0);
+ while (currentcpu != -1) {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PU, currentcpu);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->cpuset, currentcpu);
+
+ hwloc_debug("cpu %d\n", currentcpu);
+
+ if (nodes) {
+ /* Add this cpu to its node */
+ currentnode = mpctl(MPC_SPUTOLDOM, currentcpu, 0);
+ /* Hopefully it's just the same as previous cpu */
+ if (i >= nbnodes || (ldom_t) nodes[i]->os_index != currentnode)
+ for (i = 0; i < nbnodes; i++)
+ if ((ldom_t) nodes[i]->os_index == currentnode)
+ break;
+ if (i < nbnodes) {
+ hwloc_bitmap_set(nodes[i]->cpuset, currentcpu);
+ hwloc_debug("is in node %d\n", i);
+ } else {
+ hwloc_debug("%s", "is in no node?!\n");
+ }
+ }
+
+ /* Add cpu */
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ currentcpu = mpctl((topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM) ?
+ MPC_GETNEXTSPU_SYS : MPC_GETNEXTSPU, currentcpu, 0);
+ }
+
+ if (nodes) {
+ /* Add nodes */
+ for (i = 0 ; i < nbnodes ; i++)
+ hwloc_insert_object_by_cpuset(topology, nodes[i]);
+ free(nodes);
+ }
+
+ topology->support.discovery->pu = 1;
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "HP-UX");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+void
+hwloc_set_hpux_hooks(struct hwloc_binding_hooks *hooks,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+ hooks->set_proc_cpubind = hwloc_hpux_set_proc_cpubind;
+ hooks->set_thisproc_cpubind = hwloc_hpux_set_thisproc_cpubind;
+#ifdef hwloc_thread_t
+ hooks->set_thread_cpubind = hwloc_hpux_set_thread_cpubind;
+ hooks->set_thisthread_cpubind = hwloc_hpux_set_thisthread_cpubind;
+#endif
+#ifdef MAP_MEM_FIRST_TOUCH
+ hooks->alloc_membind = hwloc_hpux_alloc_membind;
+ hooks->alloc = hwloc_alloc_mmap;
+ hooks->free_membind = hwloc_free_mmap;
+ support->membind->firsttouch_membind = 1;
+ support->membind->bind_membind = 1;
+ support->membind->interleave_membind = 1;
+#endif /* MAP_MEM_FIRST_TOUCH */
+}
+
+static struct hwloc_backend *
+hwloc_hpux_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_hpux;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_hpux_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "hpux",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_hpux_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_hpux_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_hpux_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2013, 2015 Université Bordeaux
+ * Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+ * Copyright © 2015 Intel, Inc. All rights reserved.
+ * Copyright © 2010 IBM
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/linux.h>
+#include <private/misc.h>
+#include <private/private.h>
+#include <private/misc.h>
+#include <private/debug.h>
+
+#include <limits.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <assert.h>
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#ifdef HWLOC_HAVE_LIBUDEV
+#include <libudev.h>
+#endif
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sched.h>
+#include <pthread.h>
+#include <sys/mman.h>
+#include <sys/syscall.h>
+#include <mntent.h>
+#if defined HWLOC_HAVE_SET_MEMPOLICY || defined HWLOC_HAVE_MBIND || defined HWLOC_HAVE_MOVE_PAGES
+#define migratepages migrate_pages /* workaround broken migratepages prototype in numaif.h before libnuma 2.0.2 */
+#include <numaif.h>
+#endif
+
+struct hwloc_linux_backend_data_s {
+ char *root_path; /* NULL if unused */
+ int root_fd; /* The file descriptor for the file system root, used when browsing, e.g., Linux' sysfs and procfs. */
+ int is_real_fsroot; /* Boolean saying whether root_fd points to the real filesystem root of the system */
+#ifdef HWLOC_HAVE_LIBUDEV
+ struct udev *udev; /* Global udev context */
+#endif
+ char *dumped_hwdata_dirname;
+ enum {
+ HWLOC_LINUX_ARCH_X86, /* x86 32 or 64bits, including k1om (KNC) */
+ HWLOC_LINUX_ARCH_IA64,
+ HWLOC_LINUX_ARCH_ARM,
+ HWLOC_LINUX_ARCH_POWER,
+ HWLOC_LINUX_ARCH_UNKNOWN
+ } arch;
+ int is_knl;
+ int is_amd_with_CU;
+ struct utsname utsname; /* fields contain \0 when unknown */
+ unsigned fallback_nbprocessors;
+ unsigned pagesize;
+
+ int deprecated_classlinks_model; /* -2 if never tried, -1 if unknown, 0 if new (device contains class/name), 1 if old (device contains class:name) */
+ int mic_need_directlookup; /* if not tried yet, 0 if not needed, 1 if needed */
+ unsigned mic_directlookup_id_max; /* -1 if not tried yet, 0 if none to lookup, maxid+1 otherwise */
+};
+
+
+
+/***************************
+ * Misc Abstraction layers *
+ ***************************/
+
+#if !(defined HWLOC_HAVE_SCHED_SETAFFINITY) && (defined HWLOC_HAVE_SYSCALL)
+/* libc doesn't have support for sched_setaffinity, make system call
+ * ourselves: */
+# include <linux/unistd.h>
+# ifndef __NR_sched_setaffinity
+# ifdef __i386__
+# define __NR_sched_setaffinity 241
+# elif defined(__x86_64__)
+# define __NR_sched_setaffinity 203
+# elif defined(__ia64__)
+# define __NR_sched_setaffinity 1231
+# elif defined(__hppa__)
+# define __NR_sched_setaffinity 211
+# elif defined(__alpha__)
+# define __NR_sched_setaffinity 395
+# elif defined(__s390__)
+# define __NR_sched_setaffinity 239
+# elif defined(__sparc__)
+# define __NR_sched_setaffinity 261
+# elif defined(__m68k__)
+# define __NR_sched_setaffinity 311
+# elif defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) || defined(__powerpc64__) || defined(__ppc64__)
+# define __NR_sched_setaffinity 222
+# elif defined(__aarch64__)
+# define __NR_sched_setaffinity 122
+# elif defined(__arm__)
+# define __NR_sched_setaffinity 241
+# elif defined(__cris__)
+# define __NR_sched_setaffinity 241
+/*# elif defined(__mips__)
+ # define __NR_sched_setaffinity TODO (32/64/nabi) */
+# else
+# warning "don't know the syscall number for sched_setaffinity on this architecture, will not support binding"
+# define sched_setaffinity(pid, lg, mask) (errno = ENOSYS, -1)
+# endif
+# endif
+# ifndef sched_setaffinity
+# define sched_setaffinity(pid, lg, mask) syscall(__NR_sched_setaffinity, pid, lg, mask)
+# endif
+# ifndef __NR_sched_getaffinity
+# ifdef __i386__
+# define __NR_sched_getaffinity 242
+# elif defined(__x86_64__)
+# define __NR_sched_getaffinity 204
+# elif defined(__ia64__)
+# define __NR_sched_getaffinity 1232
+# elif defined(__hppa__)
+# define __NR_sched_getaffinity 212
+# elif defined(__alpha__)
+# define __NR_sched_getaffinity 396
+# elif defined(__s390__)
+# define __NR_sched_getaffinity 240
+# elif defined(__sparc__)
+# define __NR_sched_getaffinity 260
+# elif defined(__m68k__)
+# define __NR_sched_getaffinity 312
+# elif defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) || defined(__powerpc64__) || defined(__ppc64__)
+# define __NR_sched_getaffinity 223
+# elif defined(__aarch64__)
+# define __NR_sched_getaffinity 123
+# elif defined(__arm__)
+# define __NR_sched_getaffinity 242
+# elif defined(__cris__)
+# define __NR_sched_getaffinity 242
+/*# elif defined(__mips__)
+ # define __NR_sched_getaffinity TODO (32/64/nabi) */
+# else
+# warning "don't know the syscall number for sched_getaffinity on this architecture, will not support getting binding"
+# define sched_getaffinity(pid, lg, mask) (errno = ENOSYS, -1)
+# endif
+# endif
+# ifndef sched_getaffinity
+# define sched_getaffinity(pid, lg, mask) (syscall(__NR_sched_getaffinity, pid, lg, mask) < 0 ? -1 : 0)
+# endif
+#endif
+
+/* Added for ntohl() */
+#include <arpa/inet.h>
+
+#ifdef HAVE_OPENAT
+/* Use our own filesystem functions if we have openat */
+
+static const char *
+hwloc_checkat(const char *path, int fsroot_fd)
+{
+ const char *relative_path;
+ if (fsroot_fd < 0) {
+ errno = EBADF;
+ return NULL;
+ }
+
+ /* Skip leading slashes. */
+ for (relative_path = path; *relative_path == '/'; relative_path++);
+
+ return relative_path;
+}
+
+static int
+hwloc_openat(const char *path, int fsroot_fd)
+{
+ const char *relative_path;
+
+ relative_path = hwloc_checkat(path, fsroot_fd);
+ if (!relative_path)
+ return -1;
+
+ return openat (fsroot_fd, relative_path, O_RDONLY);
+}
+
+static FILE *
+hwloc_fopenat(const char *path, const char *mode, int fsroot_fd)
+{
+ int fd;
+
+ if (strcmp(mode, "r")) {
+ errno = ENOTSUP;
+ return NULL;
+ }
+
+ fd = hwloc_openat (path, fsroot_fd);
+ if (fd == -1)
+ return NULL;
+
+ return fdopen(fd, mode);
+}
+
+static int
+hwloc_accessat(const char *path, int mode, int fsroot_fd)
+{
+ const char *relative_path;
+
+ relative_path = hwloc_checkat(path, fsroot_fd);
+ if (!relative_path)
+ return -1;
+
+ return faccessat(fsroot_fd, relative_path, mode, 0);
+}
+
+static int
+hwloc_fstatat(const char *path, struct stat *st, int flags, int fsroot_fd)
+{
+ const char *relative_path;
+
+ relative_path = hwloc_checkat(path, fsroot_fd);
+ if (!relative_path)
+ return -1;
+
+ return fstatat(fsroot_fd, relative_path, st, flags);
+}
+
+static DIR*
+hwloc_opendirat(const char *path, int fsroot_fd)
+{
+ int dir_fd;
+ const char *relative_path;
+
+ relative_path = hwloc_checkat(path, fsroot_fd);
+ if (!relative_path)
+ return NULL;
+
+ dir_fd = openat(fsroot_fd, relative_path, O_RDONLY | O_DIRECTORY);
+ if (dir_fd < 0)
+ return NULL;
+
+ return fdopendir(dir_fd);
+}
+
+#endif /* HAVE_OPENAT */
+
+/* Static inline version of fopen so that we can use openat if we have
+ it, but still preserve compiler parameter checking */
+static __hwloc_inline int
+hwloc_open(const char *p, int d __hwloc_attribute_unused)
+{
+#ifdef HAVE_OPENAT
+ return hwloc_openat(p, d);
+#else
+ return open(p, O_RDONLY);
+#endif
+}
+
+static __hwloc_inline FILE *
+hwloc_fopen(const char *p, const char *m, int d __hwloc_attribute_unused)
+{
+#ifdef HAVE_OPENAT
+ return hwloc_fopenat(p, m, d);
+#else
+ return fopen(p, m);
+#endif
+}
+
+/* Static inline version of access so that we can use openat if we have
+ it, but still preserve compiler parameter checking */
+static __hwloc_inline int
+hwloc_access(const char *p, int m, int d __hwloc_attribute_unused)
+{
+#ifdef HAVE_OPENAT
+ return hwloc_accessat(p, m, d);
+#else
+ return access(p, m);
+#endif
+}
+
+static __hwloc_inline int
+hwloc_stat(const char *p, struct stat *st, int d __hwloc_attribute_unused)
+{
+#ifdef HAVE_OPENAT
+ return hwloc_fstatat(p, st, 0, d);
+#else
+ return stat(p, st);
+#endif
+}
+
+static __hwloc_inline int
+hwloc_lstat(const char *p, struct stat *st, int d __hwloc_attribute_unused)
+{
+#ifdef HAVE_OPENAT
+ return hwloc_fstatat(p, st, AT_SYMLINK_NOFOLLOW, d);
+#else
+ return lstat(p, st);
+#endif
+}
+
+/* Static inline version of opendir so that we can use openat if we have
+ it, but still preserve compiler parameter checking */
+static __hwloc_inline DIR *
+hwloc_opendir(const char *p, int d __hwloc_attribute_unused)
+{
+#ifdef HAVE_OPENAT
+ return hwloc_opendirat(p, d);
+#else
+ return opendir(p);
+#endif
+}
+
+
+/*****************************************
+ ******* Helpers for reading files *******
+ *****************************************/
+
+static __hwloc_inline int
+hwloc_read_path_by_length(const char *path, char *string, size_t length, int fsroot_fd)
+{
+ int fd, ret;
+
+ fd = hwloc_open(path, fsroot_fd);
+ if (fd < 0)
+ return -1;
+
+ ret = read(fd, string, length-1); /* read -1 to put the ending \0 */
+ close(fd);
+
+ if (ret <= 0)
+ return -1;
+
+ string[ret] = 0;
+
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc_read_path_as_int(const char *path, int *value, int fsroot_fd)
+{
+ char string[11];
+ if (hwloc_read_path_by_length(path, string, sizeof(string), fsroot_fd) < 0)
+ return -1;
+ *value = atoi(string);
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc_read_path_as_uint(const char *path, unsigned *value, int fsroot_fd)
+{
+ char string[11];
+ if (hwloc_read_path_by_length(path, string, sizeof(string), fsroot_fd) < 0)
+ return -1;
+ *value = (unsigned) strtoul(string, NULL, 10);
+ return 0;
+}
+
+/* Read everything from fd and save it into a newly allocated buffer
+ * returned in bufferp. Use sizep as a default buffer size, and returned
+ * the actually needed size in sizep.
+ */
+static __hwloc_inline int
+hwloc__read_fd(int fd, char **bufferp, size_t *sizep)
+{
+ char *buffer;
+ size_t toread, filesize, totalread;
+ ssize_t ret;
+
+ toread = filesize = *sizep;
+
+ /* Alloc and read +1 so that we get EOF on 2^n without reading once more */
+ buffer = malloc(filesize+1);
+ if (!buffer)
+ return -1;
+
+ ret = read(fd, buffer, toread+1);
+ if (ret < 0) {
+ free(buffer);
+ return -1;
+ }
+
+ totalread = (size_t) ret;
+
+ if (totalread < toread + 1)
+ /* Normal case, a single read got EOF */
+ goto done;
+
+ /* Unexpected case, must extend the buffer and read again.
+ * Only occurs on first invocation and if the kernel ever uses multiple page for a single mask.
+ */
+ do {
+ char *tmp;
+
+ toread = filesize;
+ filesize *= 2;
+
+ tmp = realloc(buffer, filesize+1);
+ if (!tmp) {
+ free(buffer);
+ return -1;
+ }
+ buffer = tmp;
+
+ ret = read(fd, buffer+toread+1, toread);
+ if (ret < 0) {
+ free(buffer);
+ return -1;
+ }
+
+ totalread += ret;
+ } while ((size_t) ret == toread);
+
+ done:
+ buffer[totalread] = '\0';
+ *bufferp = buffer;
+ *sizep = filesize;
+ return 0;
+}
+
+/* kernel cpumaps are composed of an array of 32bits cpumasks */
+#define KERNEL_CPU_MASK_BITS 32
+#define KERNEL_CPU_MAP_LEN (KERNEL_CPU_MASK_BITS/4+2)
+
+static __hwloc_inline int
+hwloc__read_fd_as_cpumask(int fd, hwloc_bitmap_t set)
+{
+ static size_t _filesize = 0; /* will be dynamically initialized to hwloc_get_pagesize(), and increased later if needed */
+ size_t filesize;
+ unsigned long *maps;
+ unsigned long map;
+ int nr_maps = 0;
+ static int _nr_maps_allocated = 8; /* Only compute the power-of-two above the kernel cpumask size once.
+ * Actually, it may increase multiple times if first read cpumaps start with zeroes.
+ */
+ int nr_maps_allocated = _nr_maps_allocated;
+ char *buffer, *tmpbuf;
+ int i;
+
+ /* Kernel sysfs files are usually at most one page. 4kB may contain 455 32-bit
+ * masks (followed by comma), enough for 14k PUs. So allocate a page by default for now.
+ *
+ * If we ever need a larger buffer, we'll realloc() the buffer during the first
+ * invocation of this function so that others directly allocate the right size
+ * (all cpumask files have the exact same size).
+ */
+ filesize = _filesize;
+ if (!filesize)
+ filesize = hwloc_getpagesize();
+ if (hwloc__read_fd(fd, &buffer, &filesize) < 0)
+ return -1;
+ /* Only update the static value with the final one,
+ * to avoid sharing intermediate values that we modify,
+ * in case there's ever multiple concurrent calls.
+ */
+ _filesize = filesize;
+
+ maps = malloc(nr_maps_allocated * sizeof(*maps));
+ if (!maps) {
+ free(buffer);
+ return -1;
+ }
+
+ /* reset to zero first */
+ hwloc_bitmap_zero(set);
+
+ /* parse the whole mask */
+ tmpbuf = buffer;
+ while (sscanf(tmpbuf, "%lx", &map) == 1) {
+ /* read one kernel cpu mask and the ending comma */
+ if (nr_maps == nr_maps_allocated) {
+ unsigned long *tmp = realloc(maps, 2*nr_maps_allocated * sizeof(*maps));
+ if (!tmp) {
+ free(buffer);
+ free(maps);
+ return -1;
+ }
+ maps = tmp;
+ nr_maps_allocated *= 2;
+ }
+
+ tmpbuf = strchr(tmpbuf, ',');
+ if (!tmpbuf) {
+ maps[nr_maps++] = map;
+ break;
+ } else
+ tmpbuf++;
+
+ if (!map && !nr_maps)
+ /* ignore the first map if it's empty */
+ continue;
+
+ maps[nr_maps++] = map;
+ }
+
+ free(buffer);
+
+ /* convert into a set */
+#if KERNEL_CPU_MASK_BITS == HWLOC_BITS_PER_LONG
+ for(i=0; i<nr_maps; i++)
+ hwloc_bitmap_set_ith_ulong(set, i, maps[nr_maps-1-i]);
+#else
+ for(i=0; i<(nr_maps+1)/2; i++) {
+ unsigned long mask;
+ mask = maps[nr_maps-2*i-1];
+ if (2*i+1<nr_maps)
+ mask |= maps[nr_maps-2*i-2] << KERNEL_CPU_MASK_BITS;
+ hwloc_bitmap_set_ith_ulong(set, i, mask);
+ }
+#endif
+
+ free(maps);
+
+ /* Only update the static value with the final one,
+ * to avoid sharing intermediate values that we modify,
+ * in case there's ever multiple concurrent calls.
+ */
+ if (nr_maps_allocated > _nr_maps_allocated)
+ _nr_maps_allocated = nr_maps_allocated;
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc__read_path_as_cpumask(const char *maskpath, hwloc_bitmap_t set, int fsroot_fd)
+{
+ int fd, err;
+ fd = hwloc_open(maskpath, fsroot_fd);
+ if (fd < 0)
+ return -1;
+ err = hwloc__read_fd_as_cpumask(fd, set);
+ close(fd);
+ return err;
+}
+
+static __hwloc_inline hwloc_bitmap_t
+hwloc__alloc_read_path_as_cpumask(const char *maskpath, int fsroot_fd)
+{
+ hwloc_bitmap_t set;
+ int err;
+ set = hwloc_bitmap_alloc();
+ if (!set)
+ return NULL;
+ err = hwloc__read_path_as_cpumask(maskpath, set, fsroot_fd);
+ if (err < 0) {
+ hwloc_bitmap_free(set);
+ return NULL;
+ } else
+ return set;
+}
+
+/* set must be full on input */
+static __hwloc_inline int
+hwloc__read_fd_as_cpulist(int fd, hwloc_bitmap_t set)
+{
+ /* Kernel sysfs files are usually at most one page.
+ * But cpulists can be of very different sizes depending on the fragmentation,
+ * so don't bother remember the actual read size between invocations.
+ * We don't have many invocations anyway.
+ */
+ size_t filesize = hwloc_getpagesize();
+ char *buffer, *current, *comma, *tmp;
+ int prevlast, nextfirst, nextlast; /* beginning/end of enabled-segments */
+
+ if (hwloc__read_fd(fd, &buffer, &filesize) < 0)
+ return -1;
+
+ current = buffer;
+ prevlast = -1;
+
+ while (1) {
+ /* save a pointer to the next comma and erase it to simplify things */
+ comma = strchr(current, ',');
+ if (comma)
+ *comma = '\0';
+
+ /* find current enabled-segment bounds */
+ nextfirst = strtoul(current, &tmp, 0);
+ if (*tmp == '-')
+ nextlast = strtoul(tmp+1, NULL, 0);
+ else
+ nextlast = nextfirst;
+ if (prevlast+1 <= nextfirst-1)
+ hwloc_bitmap_clr_range(set, prevlast+1, nextfirst-1);
+
+ /* switch to next enabled-segment */
+ prevlast = nextlast;
+ if (!comma)
+ break;
+ current = comma+1;
+ }
+
+ hwloc_bitmap_clr_range(set, prevlast+1, -1);
+ free(buffer);
+ return 0;
+}
+
+
+/*****************************
+ ******* CpuBind Hooks *******
+ *****************************/
+
+int
+hwloc_linux_set_tid_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, pid_t tid __hwloc_attribute_unused, hwloc_const_bitmap_t hwloc_set __hwloc_attribute_unused)
+{
+ /* TODO Kerrighed: Use
+ * int migrate (pid_t pid, int destination_node);
+ * int migrate_self (int destination_node);
+ * int thread_migrate (int thread_id, int destination_node);
+ */
+
+ /* The resulting binding is always strict */
+
+#if defined(HWLOC_HAVE_CPU_SET_S) && !defined(HWLOC_HAVE_OLD_SCHED_SETAFFINITY)
+ cpu_set_t *plinux_set;
+ unsigned cpu;
+ int last;
+ size_t setsize;
+ int err;
+
+ last = hwloc_bitmap_last(hwloc_set);
+ if (last == -1) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ setsize = CPU_ALLOC_SIZE(last+1);
+ plinux_set = CPU_ALLOC(last+1);
+
+ CPU_ZERO_S(setsize, plinux_set);
+ hwloc_bitmap_foreach_begin(cpu, hwloc_set)
+ CPU_SET_S(cpu, setsize, plinux_set);
+ hwloc_bitmap_foreach_end();
+
+ err = sched_setaffinity(tid, setsize, plinux_set);
+
+ CPU_FREE(plinux_set);
+ return err;
+#elif defined(HWLOC_HAVE_CPU_SET)
+ cpu_set_t linux_set;
+ unsigned cpu;
+
+ CPU_ZERO(&linux_set);
+ hwloc_bitmap_foreach_begin(cpu, hwloc_set)
+ CPU_SET(cpu, &linux_set);
+ hwloc_bitmap_foreach_end();
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ return sched_setaffinity(tid, &linux_set);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ return sched_setaffinity(tid, sizeof(linux_set), &linux_set);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+#elif defined(HWLOC_HAVE_SYSCALL)
+ unsigned long mask = hwloc_bitmap_to_ulong(hwloc_set);
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ return sched_setaffinity(tid, (void*) &mask);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ return sched_setaffinity(tid, sizeof(mask), (void*) &mask);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+#else /* !SYSCALL */
+ errno = ENOSYS;
+ return -1;
+#endif /* !SYSCALL */
+}
+
+#if defined(HWLOC_HAVE_CPU_SET_S) && !defined(HWLOC_HAVE_OLD_SCHED_SETAFFINITY)
+/*
+ * On some kernels, sched_getaffinity requires the output size to be larger
+ * than the kernel cpu_set size (defined by CONFIG_NR_CPUS).
+ * Try sched_affinity on ourself until we find a nr_cpus value that makes
+ * the kernel happy.
+ */
+static int
+hwloc_linux_find_kernel_nr_cpus(hwloc_topology_t topology)
+{
+ static int _nr_cpus = -1;
+ int nr_cpus = _nr_cpus;
+ int fd;
+
+ if (nr_cpus != -1)
+ /* already computed */
+ return nr_cpus;
+
+ if (topology->levels[0][0]->complete_cpuset)
+ /* start with a nr_cpus that may contain the whole topology */
+ nr_cpus = hwloc_bitmap_last(topology->levels[0][0]->complete_cpuset) + 1;
+ if (nr_cpus <= 0)
+ /* start from scratch, the topology isn't ready yet (complete_cpuset is missing (-1) or empty (0))*/
+ nr_cpus = 1;
+
+ fd = open("/sys/devices/system/cpu/possible", O_RDONLY); /* binding only supported in real fsroot, no need for data->root_fd */
+ if (fd >= 0) {
+ hwloc_bitmap_t possible_bitmap = hwloc_bitmap_alloc_full();
+ if (hwloc__read_fd_as_cpulist(fd, possible_bitmap) == 0) {
+ int max_possible = hwloc_bitmap_last(possible_bitmap);
+ hwloc_debug_bitmap("possible CPUs are %s\n", possible_bitmap);
+
+ if (nr_cpus < max_possible + 1)
+ nr_cpus = max_possible + 1;
+ }
+ close(fd);
+ hwloc_bitmap_free(possible_bitmap);
+ }
+
+ while (1) {
+ cpu_set_t *set = CPU_ALLOC(nr_cpus);
+ size_t setsize = CPU_ALLOC_SIZE(nr_cpus);
+ int err = sched_getaffinity(0, setsize, set); /* always works, unless setsize is too small */
+ CPU_FREE(set);
+ nr_cpus = setsize * 8; /* that's the value that was actually tested */
+ if (!err)
+ /* Found it. Only update the static value with the final one,
+ * to avoid sharing intermediate values that we modify,
+ * in case there's ever multiple concurrent calls.
+ */
+ return _nr_cpus = nr_cpus;
+ nr_cpus *= 2;
+ }
+}
+#endif
+
+int
+hwloc_linux_get_tid_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, pid_t tid __hwloc_attribute_unused, hwloc_bitmap_t hwloc_set __hwloc_attribute_unused)
+{
+ int err __hwloc_attribute_unused;
+ /* TODO Kerrighed */
+
+#if defined(HWLOC_HAVE_CPU_SET_S) && !defined(HWLOC_HAVE_OLD_SCHED_SETAFFINITY)
+ cpu_set_t *plinux_set;
+ unsigned cpu;
+ int last;
+ size_t setsize;
+ int kernel_nr_cpus;
+
+ /* find the kernel nr_cpus so as to use a large enough cpu_set size */
+ kernel_nr_cpus = hwloc_linux_find_kernel_nr_cpus(topology);
+ setsize = CPU_ALLOC_SIZE(kernel_nr_cpus);
+ plinux_set = CPU_ALLOC(kernel_nr_cpus);
+
+ err = sched_getaffinity(tid, setsize, plinux_set);
+
+ if (err < 0) {
+ CPU_FREE(plinux_set);
+ return -1;
+ }
+
+ last = -1;
+ if (topology->levels[0][0]->complete_cpuset)
+ last = hwloc_bitmap_last(topology->levels[0][0]->complete_cpuset);
+ if (last == -1)
+ /* round the maximal support number, the topology isn't ready yet (complete_cpuset is missing or empty)*/
+ last = kernel_nr_cpus-1;
+
+ hwloc_bitmap_zero(hwloc_set);
+ for(cpu=0; cpu<=(unsigned) last; cpu++)
+ if (CPU_ISSET_S(cpu, setsize, plinux_set))
+ hwloc_bitmap_set(hwloc_set, cpu);
+
+ CPU_FREE(plinux_set);
+#elif defined(HWLOC_HAVE_CPU_SET)
+ cpu_set_t linux_set;
+ unsigned cpu;
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = sched_getaffinity(tid, &linux_set);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ err = sched_getaffinity(tid, sizeof(linux_set), &linux_set);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ if (err < 0)
+ return -1;
+
+ hwloc_bitmap_zero(hwloc_set);
+ for(cpu=0; cpu<CPU_SETSIZE; cpu++)
+ if (CPU_ISSET(cpu, &linux_set))
+ hwloc_bitmap_set(hwloc_set, cpu);
+#elif defined(HWLOC_HAVE_SYSCALL)
+ unsigned long mask;
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = sched_getaffinity(tid, (void*) &mask);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ err = sched_getaffinity(tid, sizeof(mask), (void*) &mask);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ if (err < 0)
+ return -1;
+
+ hwloc_bitmap_from_ulong(hwloc_set, mask);
+#else /* !SYSCALL */
+ errno = ENOSYS;
+ return -1;
+#endif /* !SYSCALL */
+
+ return 0;
+}
+
+/* Get the array of tids of a process from the task directory in /proc */
+static int
+hwloc_linux_get_proc_tids(DIR *taskdir, unsigned *nr_tidsp, pid_t ** tidsp)
+{
+ struct dirent *dirent;
+ unsigned nr_tids = 0;
+ unsigned max_tids = 32;
+ pid_t *tids;
+ struct stat sb;
+
+ /* take the number of links as a good estimate for the number of tids */
+ if (fstat(dirfd(taskdir), &sb) == 0)
+ max_tids = sb.st_nlink;
+
+ tids = malloc(max_tids*sizeof(pid_t));
+ if (!tids) {
+ errno = ENOMEM;
+ return -1;
+ }
+
+ rewinddir(taskdir);
+
+ while ((dirent = readdir(taskdir)) != NULL) {
+ if (nr_tids == max_tids) {
+ pid_t *newtids;
+ max_tids += 8;
+ newtids = realloc(tids, max_tids*sizeof(pid_t));
+ if (!newtids) {
+ free(tids);
+ errno = ENOMEM;
+ return -1;
+ }
+ tids = newtids;
+ }
+ if (!strcmp(dirent->d_name, ".") || !strcmp(dirent->d_name, ".."))
+ continue;
+ tids[nr_tids++] = atoi(dirent->d_name);
+ }
+
+ *nr_tidsp = nr_tids;
+ *tidsp = tids;
+ return 0;
+}
+
+/* Per-tid callbacks */
+typedef int (*hwloc_linux_foreach_proc_tid_cb_t)(hwloc_topology_t topology, pid_t tid, void *data, int idx);
+
+static int
+hwloc_linux_foreach_proc_tid(hwloc_topology_t topology,
+ pid_t pid, hwloc_linux_foreach_proc_tid_cb_t cb,
+ void *data)
+{
+ char taskdir_path[128];
+ DIR *taskdir;
+ pid_t *tids, *newtids;
+ unsigned i, nr, newnr, failed = 0, failed_errno = 0;
+ unsigned retrynr = 0;
+ int err;
+
+ if (pid)
+ snprintf(taskdir_path, sizeof(taskdir_path), "/proc/%u/task", (unsigned) pid);
+ else
+ snprintf(taskdir_path, sizeof(taskdir_path), "/proc/self/task");
+
+ taskdir = opendir(taskdir_path);
+ if (!taskdir) {
+ if (errno == ENOENT)
+ errno = EINVAL;
+ err = -1;
+ goto out;
+ }
+
+ /* read the current list of threads */
+ err = hwloc_linux_get_proc_tids(taskdir, &nr, &tids);
+ if (err < 0)
+ goto out_with_dir;
+
+ retry:
+ /* apply the callback to all threads */
+ failed=0;
+ for(i=0; i<nr; i++) {
+ err = cb(topology, tids[i], data, i);
+ if (err < 0) {
+ failed++;
+ failed_errno = errno;
+ }
+ }
+
+ /* re-read the list of thread */
+ err = hwloc_linux_get_proc_tids(taskdir, &newnr, &newtids);
+ if (err < 0)
+ goto out_with_tids;
+ /* retry if the list changed in the meantime, or we failed for *some* threads only.
+ * if we're really unlucky, all threads changed but we got the same set of tids. no way to support this.
+ */
+ if (newnr != nr || memcmp(newtids, tids, nr*sizeof(pid_t)) || (failed && failed != nr)) {
+ free(tids);
+ tids = newtids;
+ nr = newnr;
+ if (++retrynr > 10) {
+ /* we tried 10 times, it didn't work, the application is probably creating/destroying many threads, stop trying */
+ errno = EAGAIN;
+ err = -1;
+ goto out_with_tids;
+ }
+ goto retry;
+ } else {
+ free(newtids);
+ }
+
+ /* if all threads failed, return the last errno. */
+ if (failed) {
+ err = -1;
+ errno = failed_errno;
+ goto out_with_tids;
+ }
+
+ err = 0;
+ out_with_tids:
+ free(tids);
+ out_with_dir:
+ closedir(taskdir);
+ out:
+ return err;
+}
+
+/* Per-tid proc_set_cpubind callback and caller.
+ * Callback data is a hwloc_bitmap_t. */
+static int
+hwloc_linux_foreach_proc_tid_set_cpubind_cb(hwloc_topology_t topology, pid_t tid, void *data, int idx __hwloc_attribute_unused)
+{
+ return hwloc_linux_set_tid_cpubind(topology, tid, (hwloc_bitmap_t) data);
+}
+
+static int
+hwloc_linux_set_pid_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ return hwloc_linux_foreach_proc_tid(topology, pid,
+ hwloc_linux_foreach_proc_tid_set_cpubind_cb,
+ (void*) hwloc_set);
+}
+
+/* Per-tid proc_get_cpubind callback data, callback function and caller */
+struct hwloc_linux_foreach_proc_tid_get_cpubind_cb_data_s {
+ hwloc_bitmap_t cpuset;
+ hwloc_bitmap_t tidset;
+ int flags;
+};
+
+static int
+hwloc_linux_foreach_proc_tid_get_cpubind_cb(hwloc_topology_t topology, pid_t tid, void *_data, int idx)
+{
+ struct hwloc_linux_foreach_proc_tid_get_cpubind_cb_data_s *data = _data;
+ hwloc_bitmap_t cpuset = data->cpuset;
+ hwloc_bitmap_t tidset = data->tidset;
+ int flags = data->flags;
+
+ if (hwloc_linux_get_tid_cpubind(topology, tid, tidset))
+ return -1;
+
+ /* reset the cpuset on first iteration */
+ if (!idx)
+ hwloc_bitmap_zero(cpuset);
+
+ if (flags & HWLOC_CPUBIND_STRICT) {
+ /* if STRICT, we want all threads to have the same binding */
+ if (!idx) {
+ /* this is the first thread, copy its binding */
+ hwloc_bitmap_copy(cpuset, tidset);
+ } else if (!hwloc_bitmap_isequal(cpuset, tidset)) {
+ /* this is not the first thread, and it's binding is different */
+ errno = EXDEV;
+ return -1;
+ }
+ } else {
+ /* if not STRICT, just OR all thread bindings */
+ hwloc_bitmap_or(cpuset, cpuset, tidset);
+ }
+ return 0;
+}
+
+static int
+hwloc_linux_get_pid_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags)
+{
+ struct hwloc_linux_foreach_proc_tid_get_cpubind_cb_data_s data;
+ hwloc_bitmap_t tidset = hwloc_bitmap_alloc();
+ int ret;
+
+ data.cpuset = hwloc_set;
+ data.tidset = tidset;
+ data.flags = flags;
+ ret = hwloc_linux_foreach_proc_tid(topology, pid,
+ hwloc_linux_foreach_proc_tid_get_cpubind_cb,
+ (void*) &data);
+ hwloc_bitmap_free(tidset);
+ return ret;
+}
+
+static int
+hwloc_linux_set_proc_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ if (pid == 0)
+ pid = topology->pid;
+ if (flags & HWLOC_CPUBIND_THREAD)
+ return hwloc_linux_set_tid_cpubind(topology, pid, hwloc_set);
+ else
+ return hwloc_linux_set_pid_cpubind(topology, pid, hwloc_set, flags);
+}
+
+static int
+hwloc_linux_get_proc_cpubind(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags)
+{
+ if (pid == 0)
+ pid = topology->pid;
+ if (flags & HWLOC_CPUBIND_THREAD)
+ return hwloc_linux_get_tid_cpubind(topology, pid, hwloc_set);
+ else
+ return hwloc_linux_get_pid_cpubind(topology, pid, hwloc_set, flags);
+}
+
+static int
+hwloc_linux_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_linux_set_pid_cpubind(topology, topology->pid, hwloc_set, flags);
+}
+
+static int
+hwloc_linux_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_linux_get_pid_cpubind(topology, topology->pid, hwloc_set, flags);
+}
+
+static int
+hwloc_linux_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+ return hwloc_linux_set_tid_cpubind(topology, 0, hwloc_set);
+}
+
+static int
+hwloc_linux_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+ return hwloc_linux_get_tid_cpubind(topology, 0, hwloc_set);
+}
+
+#if HAVE_DECL_PTHREAD_SETAFFINITY_NP
+#pragma weak pthread_setaffinity_np
+#pragma weak pthread_self
+
+static int
+hwloc_linux_set_thread_cpubind(hwloc_topology_t topology, pthread_t tid, hwloc_const_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ int err;
+
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ if (!pthread_self) {
+ /* ?! Application uses set_thread_cpubind, but doesn't link against libpthread ?! */
+ errno = ENOSYS;
+ return -1;
+ }
+ if (tid == pthread_self())
+ return hwloc_linux_set_tid_cpubind(topology, 0, hwloc_set);
+
+ if (!pthread_setaffinity_np) {
+ errno = ENOSYS;
+ return -1;
+ }
+ /* TODO Kerrighed: Use
+ * int migrate (pid_t pid, int destination_node);
+ * int migrate_self (int destination_node);
+ * int thread_migrate (int thread_id, int destination_node);
+ */
+
+#if defined(HWLOC_HAVE_CPU_SET_S) && !defined(HWLOC_HAVE_OLD_SCHED_SETAFFINITY)
+ /* Use a separate block so that we can define specific variable
+ types here */
+ {
+ cpu_set_t *plinux_set;
+ unsigned cpu;
+ int last;
+ size_t setsize;
+
+ last = hwloc_bitmap_last(hwloc_set);
+ if (last == -1) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ setsize = CPU_ALLOC_SIZE(last+1);
+ plinux_set = CPU_ALLOC(last+1);
+
+ CPU_ZERO_S(setsize, plinux_set);
+ hwloc_bitmap_foreach_begin(cpu, hwloc_set)
+ CPU_SET_S(cpu, setsize, plinux_set);
+ hwloc_bitmap_foreach_end();
+
+ err = pthread_setaffinity_np(tid, setsize, plinux_set);
+
+ CPU_FREE(plinux_set);
+ }
+#elif defined(HWLOC_HAVE_CPU_SET)
+ /* Use a separate block so that we can define specific variable
+ types here */
+ {
+ cpu_set_t linux_set;
+ unsigned cpu;
+
+ CPU_ZERO(&linux_set);
+ hwloc_bitmap_foreach_begin(cpu, hwloc_set)
+ CPU_SET(cpu, &linux_set);
+ hwloc_bitmap_foreach_end();
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = pthread_setaffinity_np(tid, &linux_set);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ err = pthread_setaffinity_np(tid, sizeof(linux_set), &linux_set);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ }
+#else /* CPU_SET */
+ /* Use a separate block so that we can define specific variable
+ types here */
+ {
+ unsigned long mask = hwloc_bitmap_to_ulong(hwloc_set);
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = pthread_setaffinity_np(tid, (void*) &mask);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ err = pthread_setaffinity_np(tid, sizeof(mask), (void*) &mask);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ }
+#endif /* CPU_SET */
+
+ if (err) {
+ errno = err;
+ return -1;
+ }
+ return 0;
+}
+#endif /* HAVE_DECL_PTHREAD_SETAFFINITY_NP */
+
+#if HAVE_DECL_PTHREAD_GETAFFINITY_NP
+#pragma weak pthread_getaffinity_np
+#pragma weak pthread_self
+
+static int
+hwloc_linux_get_thread_cpubind(hwloc_topology_t topology, pthread_t tid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ int err;
+
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ if (!pthread_self) {
+ /* ?! Application uses set_thread_cpubind, but doesn't link against libpthread ?! */
+ errno = ENOSYS;
+ return -1;
+ }
+ if (tid == pthread_self())
+ return hwloc_linux_get_tid_cpubind(topology, 0, hwloc_set);
+
+ if (!pthread_getaffinity_np) {
+ errno = ENOSYS;
+ return -1;
+ }
+ /* TODO Kerrighed */
+
+#if defined(HWLOC_HAVE_CPU_SET_S) && !defined(HWLOC_HAVE_OLD_SCHED_SETAFFINITY)
+ /* Use a separate block so that we can define specific variable
+ types here */
+ {
+ cpu_set_t *plinux_set;
+ unsigned cpu;
+ int last;
+ size_t setsize;
+
+ last = hwloc_bitmap_last(topology->levels[0][0]->complete_cpuset);
+ assert (last != -1);
+
+ setsize = CPU_ALLOC_SIZE(last+1);
+ plinux_set = CPU_ALLOC(last+1);
+
+ err = pthread_getaffinity_np(tid, setsize, plinux_set);
+ if (err) {
+ CPU_FREE(plinux_set);
+ errno = err;
+ return -1;
+ }
+
+ hwloc_bitmap_zero(hwloc_set);
+ for(cpu=0; cpu<=(unsigned) last; cpu++)
+ if (CPU_ISSET_S(cpu, setsize, plinux_set))
+ hwloc_bitmap_set(hwloc_set, cpu);
+
+ CPU_FREE(plinux_set);
+ }
+#elif defined(HWLOC_HAVE_CPU_SET)
+ /* Use a separate block so that we can define specific variable
+ types here */
+ {
+ cpu_set_t linux_set;
+ unsigned cpu;
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = pthread_getaffinity_np(tid, &linux_set);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ err = pthread_getaffinity_np(tid, sizeof(linux_set), &linux_set);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ if (err) {
+ errno = err;
+ return -1;
+ }
+
+ hwloc_bitmap_zero(hwloc_set);
+ for(cpu=0; cpu<CPU_SETSIZE; cpu++)
+ if (CPU_ISSET(cpu, &linux_set))
+ hwloc_bitmap_set(hwloc_set, cpu);
+ }
+#else /* CPU_SET */
+ /* Use a separate block so that we can define specific variable
+ types here */
+ {
+ unsigned long mask;
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = pthread_getaffinity_np(tid, (void*) &mask);
+#else /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ err = pthread_getaffinity_np(tid, sizeof(mask), (void*) &mask);
+#endif /* HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+ if (err) {
+ errno = err;
+ return -1;
+ }
+
+ hwloc_bitmap_from_ulong(hwloc_set, mask);
+ }
+#endif /* CPU_SET */
+
+ return 0;
+}
+#endif /* HAVE_DECL_PTHREAD_GETAFFINITY_NP */
+
+int
+hwloc_linux_get_tid_last_cpu_location(hwloc_topology_t topology __hwloc_attribute_unused, pid_t tid, hwloc_bitmap_t set)
+{
+ /* read /proc/pid/stat.
+ * its second field contains the command name between parentheses,
+ * and the command itself may contain parentheses,
+ * so read the whole line and find the last closing parenthesis to find the third field.
+ */
+ char buf[1024] = "";
+ char name[64];
+ char *tmp;
+ int fd, i, err;
+
+ /* TODO: find a way to use sched_getcpu().
+ * either compare tid with gettid() in all callbacks.
+ * or pass gettid() in the callback data.
+ */
+
+ if (!tid) {
+#ifdef SYS_gettid
+ tid = syscall(SYS_gettid);
+#else
+ errno = ENOSYS;
+ return -1;
+#endif
+ }
+
+ snprintf(name, sizeof(name), "/proc/%lu/stat", (unsigned long) tid);
+ fd = open(name, O_RDONLY); /* no fsroot for real /proc */
+ if (fd < 0) {
+ errno = ENOSYS;
+ return -1;
+ }
+ err = read(fd, buf, sizeof(buf)-1); /* read -1 to put the ending \0 */
+ close(fd);
+ if (err <= 0) {
+ errno = ENOSYS;
+ return -1;
+ }
+ buf[err-1] = '\0';
+
+ tmp = strrchr(buf, ')');
+ if (!tmp) {
+ errno = ENOSYS;
+ return -1;
+ }
+ /* skip ') ' to find the actual third argument */
+ tmp += 2;
+
+ /* skip 35 fields */
+ for(i=0; i<36; i++) {
+ tmp = strchr(tmp, ' ');
+ if (!tmp) {
+ errno = ENOSYS;
+ return -1;
+ }
+ /* skip the ' ' itself */
+ tmp++;
+ }
+
+ /* read the last cpu in the 38th field now */
+ if (sscanf(tmp, "%d ", &i) != 1) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ hwloc_bitmap_only(set, i);
+ return 0;
+}
+
+/* Per-tid proc_get_last_cpu_location callback data, callback function and caller */
+struct hwloc_linux_foreach_proc_tid_get_last_cpu_location_cb_data_s {
+ hwloc_bitmap_t cpuset;
+ hwloc_bitmap_t tidset;
+};
+
+static int
+hwloc_linux_foreach_proc_tid_get_last_cpu_location_cb(hwloc_topology_t topology, pid_t tid, void *_data, int idx)
+{
+ struct hwloc_linux_foreach_proc_tid_get_last_cpu_location_cb_data_s *data = _data;
+ hwloc_bitmap_t cpuset = data->cpuset;
+ hwloc_bitmap_t tidset = data->tidset;
+
+ if (hwloc_linux_get_tid_last_cpu_location(topology, tid, tidset))
+ return -1;
+
+ /* reset the cpuset on first iteration */
+ if (!idx)
+ hwloc_bitmap_zero(cpuset);
+
+ hwloc_bitmap_or(cpuset, cpuset, tidset);
+ return 0;
+}
+
+static int
+hwloc_linux_get_pid_last_cpu_location(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ struct hwloc_linux_foreach_proc_tid_get_last_cpu_location_cb_data_s data;
+ hwloc_bitmap_t tidset = hwloc_bitmap_alloc();
+ int ret;
+
+ data.cpuset = hwloc_set;
+ data.tidset = tidset;
+ ret = hwloc_linux_foreach_proc_tid(topology, pid,
+ hwloc_linux_foreach_proc_tid_get_last_cpu_location_cb,
+ &data);
+ hwloc_bitmap_free(tidset);
+ return ret;
+}
+
+static int
+hwloc_linux_get_proc_last_cpu_location(hwloc_topology_t topology, pid_t pid, hwloc_bitmap_t hwloc_set, int flags)
+{
+ if (pid == 0)
+ pid = topology->pid;
+ if (flags & HWLOC_CPUBIND_THREAD)
+ return hwloc_linux_get_tid_last_cpu_location(topology, pid, hwloc_set);
+ else
+ return hwloc_linux_get_pid_last_cpu_location(topology, pid, hwloc_set, flags);
+}
+
+static int
+hwloc_linux_get_thisproc_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_linux_get_pid_last_cpu_location(topology, topology->pid, hwloc_set, flags);
+}
+
+static int
+hwloc_linux_get_thisthread_last_cpu_location(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ if (topology->pid) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+#if HAVE_DECL_SCHED_GETCPU
+ {
+ int pu = sched_getcpu();
+ if (pu >= 0) {
+ hwloc_bitmap_only(hwloc_set, pu);
+ return 0;
+ }
+ }
+#endif
+
+ return hwloc_linux_get_tid_last_cpu_location(topology, 0, hwloc_set);
+}
+
+
+
+/***************************
+ ****** Membind hooks ******
+ ***************************/
+
+#if defined HWLOC_HAVE_SET_MEMPOLICY || defined HWLOC_HAVE_MBIND
+
+/* MPOL_LOCAL is not in numaif.h, and it's a enum if linux/mempolicy.h, define ours to avoid conflicts */
+#define HWLOC_MPOL_LOCAL 4
+
+static int
+hwloc_linux_membind_policy_from_hwloc(int *linuxpolicy, hwloc_membind_policy_t policy, int flags)
+{
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT:
+ *linuxpolicy = MPOL_DEFAULT;
+ break;
+ case HWLOC_MEMBIND_FIRSTTOUCH:
+ *linuxpolicy = HWLOC_MPOL_LOCAL;
+ break;
+ case HWLOC_MEMBIND_BIND:
+ if (flags & HWLOC_MEMBIND_STRICT)
+ *linuxpolicy = MPOL_BIND;
+ else
+ *linuxpolicy = MPOL_PREFERRED;
+ break;
+ case HWLOC_MEMBIND_INTERLEAVE:
+ *linuxpolicy = MPOL_INTERLEAVE;
+ break;
+ /* TODO: next-touch when (if?) patch applied upstream */
+ default:
+ errno = ENOSYS;
+ return -1;
+ }
+ return 0;
+}
+
+static int
+hwloc_linux_membind_mask_from_nodeset(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_const_nodeset_t nodeset,
+ unsigned *max_os_index_p, unsigned long **linuxmaskp)
+{
+ unsigned max_os_index = 0; /* highest os_index + 1 */
+ unsigned long *linuxmask;
+ unsigned i;
+ hwloc_nodeset_t linux_nodeset = NULL;
+
+ if (hwloc_bitmap_isfull(nodeset)) {
+ linux_nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_only(linux_nodeset, 0);
+ nodeset = linux_nodeset;
+ }
+
+ max_os_index = hwloc_bitmap_last(nodeset);
+ if (max_os_index == (unsigned) -1)
+ max_os_index = 0;
+ /* add 1 to convert the last os_index into a max_os_index,
+ * and round up to the nearest multiple of BITS_PER_LONG */
+ max_os_index = (max_os_index + 1 + HWLOC_BITS_PER_LONG - 1) & ~(HWLOC_BITS_PER_LONG - 1);
+
+ linuxmask = calloc(max_os_index/HWLOC_BITS_PER_LONG, sizeof(long));
+ if (!linuxmask) {
+ hwloc_bitmap_free(linux_nodeset);
+ errno = ENOMEM;
+ return -1;
+ }
+
+ for(i=0; i<max_os_index/HWLOC_BITS_PER_LONG; i++)
+ linuxmask[i] = hwloc_bitmap_to_ith_ulong(nodeset, i);
+
+ if (linux_nodeset)
+ hwloc_bitmap_free(linux_nodeset);
+
+ *max_os_index_p = max_os_index;
+ *linuxmaskp = linuxmask;
+ return 0;
+}
+
+static void
+hwloc_linux_membind_mask_to_nodeset(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_nodeset_t nodeset,
+ unsigned max_os_index, const unsigned long *linuxmask)
+{
+ unsigned i;
+
+#ifdef HWLOC_DEBUG
+ /* max_os_index comes from hwloc_linux_find_kernel_max_numnodes() so it's a multiple of HWLOC_BITS_PER_LONG */
+ assert(!(max_os_index%HWLOC_BITS_PER_LONG));
+#endif
+
+ hwloc_bitmap_zero(nodeset);
+ for(i=0; i<max_os_index/HWLOC_BITS_PER_LONG; i++)
+ hwloc_bitmap_set_ith_ulong(nodeset, i, linuxmask[i]);
+}
+#endif /* HWLOC_HAVE_SET_MEMPOLICY || HWLOC_HAVE_MBIND */
+
+#ifdef HWLOC_HAVE_MBIND
+static int
+hwloc_linux_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ unsigned max_os_index; /* highest os_index + 1 */
+ unsigned long *linuxmask;
+ size_t remainder;
+ int linuxpolicy;
+ unsigned linuxflags = 0;
+ int err;
+
+ remainder = (uintptr_t) addr & (hwloc_getpagesize()-1);
+ addr = (char*) addr - remainder;
+ len += remainder;
+
+ err = hwloc_linux_membind_policy_from_hwloc(&linuxpolicy, policy, flags);
+ if (err < 0)
+ return err;
+
+ if (linuxpolicy == MPOL_DEFAULT) {
+ /* Some Linux kernels don't like being passed a set */
+ return mbind((void *) addr, len, linuxpolicy, NULL, 0, 0);
+
+ } else if (linuxpolicy == HWLOC_MPOL_LOCAL) {
+ /* MPOL_LOCAL isn't supported before 3.8, and it's identical to PREFERRED with no nodeset, which was supported way before */
+ return mbind((void *) addr, len, MPOL_PREFERRED, NULL, 0, 0);
+ }
+
+ err = hwloc_linux_membind_mask_from_nodeset(topology, nodeset, &max_os_index, &linuxmask);
+ if (err < 0)
+ goto out;
+
+ if (flags & HWLOC_MEMBIND_MIGRATE) {
+#ifdef MPOL_MF_MOVE
+ linuxflags = MPOL_MF_MOVE;
+ if (flags & HWLOC_MEMBIND_STRICT)
+ linuxflags |= MPOL_MF_STRICT;
+#else
+ if (flags & HWLOC_MEMBIND_STRICT) {
+ errno = ENOSYS;
+ goto out_with_mask;
+ }
+#endif
+ }
+
+ err = mbind((void *) addr, len, linuxpolicy, linuxmask, max_os_index+1, linuxflags);
+ if (err < 0)
+ goto out_with_mask;
+
+ free(linuxmask);
+ return 0;
+
+ out_with_mask:
+ free(linuxmask);
+ out:
+ return -1;
+}
+
+static void *
+hwloc_linux_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ void *buffer;
+ int err;
+
+ buffer = hwloc_alloc_mmap(topology, len);
+ if (!buffer)
+ return NULL;
+
+ err = hwloc_linux_set_area_membind(topology, buffer, len, nodeset, policy, flags);
+ if (err < 0 && (flags & HWLOC_MEMBIND_STRICT)) {
+ munmap(buffer, len);
+ return NULL;
+ }
+
+ return buffer;
+}
+#endif /* HWLOC_HAVE_MBIND */
+
+#ifdef HWLOC_HAVE_SET_MEMPOLICY
+static int
+hwloc_linux_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ unsigned max_os_index; /* highest os_index + 1 */
+ unsigned long *linuxmask;
+ int linuxpolicy;
+ int err;
+
+ err = hwloc_linux_membind_policy_from_hwloc(&linuxpolicy, policy, flags);
+ if (err < 0)
+ return err;
+
+ if (linuxpolicy == MPOL_DEFAULT) {
+ /* Some Linux kernels don't like being passed a set */
+ return set_mempolicy(linuxpolicy, NULL, 0);
+
+ } else if (linuxpolicy == HWLOC_MPOL_LOCAL) {
+ /* MPOL_LOCAL isn't supported before 3.8, and it's identical to PREFERRED with no nodeset, which was supported way before */
+ return set_mempolicy(MPOL_PREFERRED, NULL, 0);
+ }
+
+ err = hwloc_linux_membind_mask_from_nodeset(topology, nodeset, &max_os_index, &linuxmask);
+ if (err < 0)
+ goto out;
+
+ if (flags & HWLOC_MEMBIND_MIGRATE) {
+#ifdef HWLOC_HAVE_MIGRATE_PAGES
+ unsigned long *fullmask = malloc(max_os_index/HWLOC_BITS_PER_LONG * sizeof(long));
+ if (fullmask) {
+ memset(fullmask, 0xf, max_os_index/HWLOC_BITS_PER_LONG * sizeof(long));
+ err = migrate_pages(0, max_os_index+1, fullmask, linuxmask);
+ free(fullmask);
+ } else
+ err = -1;
+ if (err < 0 && (flags & HWLOC_MEMBIND_STRICT))
+ goto out_with_mask;
+#else
+ errno = ENOSYS;
+ goto out_with_mask;
+#endif
+ }
+
+ err = set_mempolicy(linuxpolicy, linuxmask, max_os_index+1);
+ if (err < 0)
+ goto out_with_mask;
+
+ free(linuxmask);
+ return 0;
+
+ out_with_mask:
+ free(linuxmask);
+ out:
+ return -1;
+}
+
+/*
+ * On some kernels, get_mempolicy requires the output size to be larger
+ * than the kernel MAX_NUMNODES (defined by CONFIG_NODES_SHIFT).
+ * Try get_mempolicy on ourself until we find a max_os_index value that
+ * makes the kernel happy.
+ */
+static int
+hwloc_linux_find_kernel_max_numnodes(hwloc_topology_t topology __hwloc_attribute_unused)
+{
+ static int _max_numnodes = -1, max_numnodes;
+ int linuxpolicy;
+
+ if (_max_numnodes != -1)
+ /* already computed */
+ return _max_numnodes;
+
+ /* start with a single ulong, it's the minimal and it's enough for most machines */
+ max_numnodes = HWLOC_BITS_PER_LONG;
+ while (1) {
+ unsigned long *mask = malloc(max_numnodes / HWLOC_BITS_PER_LONG * sizeof(long));
+ int err = get_mempolicy(&linuxpolicy, mask, max_numnodes, 0, 0);
+ free(mask);
+ if (!err || errno != EINVAL)
+ /* Found it. Only update the static value with the final one,
+ * to avoid sharing intermediate values that we modify,
+ * in case there's ever multiple concurrent calls.
+ */
+ return _max_numnodes = max_numnodes;
+ max_numnodes *= 2;
+ }
+}
+
+static int
+hwloc_linux_membind_policy_to_hwloc(int linuxpolicy, hwloc_membind_policy_t *policy)
+{
+ switch (linuxpolicy) {
+ case MPOL_DEFAULT:
+ case HWLOC_MPOL_LOCAL: /* converted from MPOL_PREFERRED + empty nodeset by the caller */
+ *policy = HWLOC_MEMBIND_FIRSTTOUCH;
+ return 0;
+ case MPOL_PREFERRED:
+ case MPOL_BIND:
+ *policy = HWLOC_MEMBIND_BIND;
+ return 0;
+ case MPOL_INTERLEAVE:
+ *policy = HWLOC_MEMBIND_INTERLEAVE;
+ return 0;
+ default:
+ errno = EINVAL;
+ return -1;
+ }
+}
+
+static int hwloc_linux_mask_is_empty(unsigned max_os_index, unsigned long *linuxmask)
+{
+ unsigned i;
+ for(i=0; i<max_os_index/HWLOC_BITS_PER_LONG; i++)
+ if (linuxmask[i])
+ return 0;
+ return 1;
+}
+
+static int
+hwloc_linux_get_thisthread_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused)
+{
+ unsigned max_os_index;
+ unsigned long *linuxmask;
+ int linuxpolicy;
+ int err;
+
+ max_os_index = hwloc_linux_find_kernel_max_numnodes(topology);
+
+ linuxmask = malloc(max_os_index/HWLOC_BITS_PER_LONG * sizeof(long));
+ if (!linuxmask) {
+ errno = ENOMEM;
+ goto out;
+ }
+
+ err = get_mempolicy(&linuxpolicy, linuxmask, max_os_index, 0, 0);
+ if (err < 0)
+ goto out_with_mask;
+
+ /* MPOL_PREFERRED with empty mask is MPOL_LOCAL */
+ if (linuxpolicy == MPOL_PREFERRED && hwloc_linux_mask_is_empty(max_os_index, linuxmask))
+ linuxpolicy = HWLOC_MPOL_LOCAL;
+
+ if (linuxpolicy == MPOL_DEFAULT || linuxpolicy == HWLOC_MPOL_LOCAL) {
+ hwloc_bitmap_copy(nodeset, hwloc_topology_get_topology_nodeset(topology));
+ } else {
+ hwloc_linux_membind_mask_to_nodeset(topology, nodeset, max_os_index, linuxmask);
+ }
+
+ err = hwloc_linux_membind_policy_to_hwloc(linuxpolicy, policy);
+ if (err < 0)
+ goto out_with_mask;
+
+ free(linuxmask);
+ return 0;
+
+ out_with_mask:
+ free(linuxmask);
+ out:
+ return -1;
+}
+
+static int
+hwloc_linux_get_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused)
+{
+ unsigned max_os_index;
+ unsigned long *linuxmask, *globallinuxmask;
+ int linuxpolicy, globallinuxpolicy = 0;
+ int mixed = 0;
+ int full = 0;
+ int first = 1;
+ int pagesize = hwloc_getpagesize();
+ char *tmpaddr;
+ int err;
+ unsigned i;
+
+ max_os_index = hwloc_linux_find_kernel_max_numnodes(topology);
+
+ linuxmask = malloc(max_os_index/HWLOC_BITS_PER_LONG * sizeof(long));
+ if (!linuxmask) {
+ errno = ENOMEM;
+ goto out;
+ }
+ globallinuxmask = calloc(max_os_index/HWLOC_BITS_PER_LONG, sizeof(long));
+ if (!globallinuxmask) {
+ errno = ENOMEM;
+ goto out_with_masks;
+ }
+
+ for(tmpaddr = (char *)((unsigned long)addr & ~(pagesize-1));
+ tmpaddr < (char *)addr + len;
+ tmpaddr += pagesize) {
+ err = get_mempolicy(&linuxpolicy, linuxmask, max_os_index, tmpaddr, MPOL_F_ADDR);
+ if (err < 0)
+ goto out_with_masks;
+
+ /* MPOL_PREFERRED with empty mask is MPOL_LOCAL */
+ if (linuxpolicy == MPOL_PREFERRED && hwloc_linux_mask_is_empty(max_os_index, linuxmask))
+ linuxpolicy = HWLOC_MPOL_LOCAL;
+
+ /* use the first found policy. if we find a different one later, set mixed to 1 */
+ if (first)
+ globallinuxpolicy = linuxpolicy;
+ else if (globallinuxpolicy != linuxpolicy)
+ mixed = 1;
+
+ /* agregate masks, and set full to 1 if we ever find DEFAULT or LOCAL */
+ if (full || linuxpolicy == MPOL_DEFAULT || linuxpolicy == HWLOC_MPOL_LOCAL) {
+ full = 1;
+ } else {
+ for(i=0; i<max_os_index/HWLOC_BITS_PER_LONG; i++)
+ globallinuxmask[i] |= linuxmask[i];
+ }
+
+ first = 0;
+ }
+
+ if (mixed) {
+ *policy = HWLOC_MEMBIND_MIXED;
+ } else {
+ err = hwloc_linux_membind_policy_to_hwloc(linuxpolicy, policy);
+ if (err < 0)
+ goto out_with_masks;
+ }
+
+ if (full) {
+ hwloc_bitmap_copy(nodeset, hwloc_topology_get_topology_nodeset(topology));
+ } else {
+ hwloc_linux_membind_mask_to_nodeset(topology, nodeset, max_os_index, globallinuxmask);
+ }
+
+ free(globallinuxmask);
+ free(linuxmask);
+ return 0;
+
+ out_with_masks:
+ free(globallinuxmask);
+ free(linuxmask);
+ out:
+ return -1;
+}
+
+#endif /* HWLOC_HAVE_SET_MEMPOLICY */
+
+#ifdef HWLOC_HAVE_MOVE_PAGES
+static int
+hwloc_linux_get_area_memlocation(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags __hwloc_attribute_unused)
+{
+ unsigned offset;
+ unsigned long count;
+ void **pages;
+ int *status;
+ int pagesize = hwloc_getpagesize();
+ int ret;
+ unsigned i;
+
+ offset = ((unsigned long) addr) & (pagesize-1);
+ addr = ((char*) addr) - offset;
+ len += offset;
+ count = (len + pagesize-1)/pagesize;
+ pages = malloc(count*sizeof(*pages));
+ status = malloc(count*sizeof(*status));
+ if (!pages || !status) {
+ ret = -1;
+ goto out_with_pages;
+ }
+
+ for(i=0; i<count; i++)
+ pages[i] = ((char*)addr) + i*pagesize;
+
+ ret = move_pages(0, count, pages, NULL, status, 0);
+ if (ret < 0)
+ goto out_with_pages;
+
+ hwloc_bitmap_zero(nodeset);
+ for(i=0; i<count; i++)
+ if (status[i] >= 0)
+ hwloc_bitmap_set(nodeset, status[i]);
+ ret = 0;
+
+ out_with_pages:
+ free(pages);
+ free(status);
+ return ret;
+}
+#endif /* HWLOC_HAVE_MOVE_PAGES */
+
+static void hwloc_linux__get_allowed_resources(hwloc_topology_t topology, const char *root_path, int root_fd, char **cpuset_namep);
+
+static int hwloc_linux_get_allowed_resources_hook(hwloc_topology_t topology)
+{
+ const char *fsroot_path;
+ char *cpuset_name;
+ int root_fd = -1;
+
+ fsroot_path = getenv("HWLOC_FSROOT");
+ if (!fsroot_path)
+ fsroot_path = "/";
+
+#ifdef HAVE_OPENAT
+ root_fd = open(fsroot_path, O_RDONLY | O_DIRECTORY);
+ if (root_fd < 0)
+ goto out;
+#else
+ if (strcmp(fsroot_path, "/")) {
+ errno = ENOSYS;
+ goto out;
+ }
+#endif
+
+ /* we could also error-out if the current topology doesn't actually match the system,
+ * at least for PUs and NUMA nodes. But it would increase the overhead of loading XMLs.
+ *
+ * Just trust the user when he sets THISSYSTEM=1. It enables hacky
+ * tests such as restricting random XML or synthetic to the current
+ * machine (uses the default cgroup).
+ */
+
+ hwloc_linux__get_allowed_resources(topology, fsroot_path, root_fd, &cpuset_name);
+ if (cpuset_name) {
+ hwloc_obj_add_info(topology->levels[0][0], "LinuxCgroup", cpuset_name);
+ free(cpuset_name);
+ }
+ if (root_fd != -1)
+ close(root_fd);
+
+ out:
+ return -1;
+}
+
+void
+hwloc_set_linuxfs_hooks(struct hwloc_binding_hooks *hooks,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+ hooks->set_thisthread_cpubind = hwloc_linux_set_thisthread_cpubind;
+ hooks->get_thisthread_cpubind = hwloc_linux_get_thisthread_cpubind;
+ hooks->set_thisproc_cpubind = hwloc_linux_set_thisproc_cpubind;
+ hooks->get_thisproc_cpubind = hwloc_linux_get_thisproc_cpubind;
+ hooks->set_proc_cpubind = hwloc_linux_set_proc_cpubind;
+ hooks->get_proc_cpubind = hwloc_linux_get_proc_cpubind;
+#if HAVE_DECL_PTHREAD_SETAFFINITY_NP
+ hooks->set_thread_cpubind = hwloc_linux_set_thread_cpubind;
+#endif /* HAVE_DECL_PTHREAD_SETAFFINITY_NP */
+#if HAVE_DECL_PTHREAD_GETAFFINITY_NP
+ hooks->get_thread_cpubind = hwloc_linux_get_thread_cpubind;
+#endif /* HAVE_DECL_PTHREAD_GETAFFINITY_NP */
+ hooks->get_thisthread_last_cpu_location = hwloc_linux_get_thisthread_last_cpu_location;
+ hooks->get_thisproc_last_cpu_location = hwloc_linux_get_thisproc_last_cpu_location;
+ hooks->get_proc_last_cpu_location = hwloc_linux_get_proc_last_cpu_location;
+#ifdef HWLOC_HAVE_SET_MEMPOLICY
+ hooks->set_thisthread_membind = hwloc_linux_set_thisthread_membind;
+ hooks->get_thisthread_membind = hwloc_linux_get_thisthread_membind;
+ hooks->get_area_membind = hwloc_linux_get_area_membind;
+#endif /* HWLOC_HAVE_SET_MEMPOLICY */
+#ifdef HWLOC_HAVE_MBIND
+ hooks->set_area_membind = hwloc_linux_set_area_membind;
+#ifdef HWLOC_HAVE_MOVE_PAGES
+ hooks->get_area_memlocation = hwloc_linux_get_area_memlocation;
+#endif /* HWLOC_HAVE_MOVE_PAGES */
+ hooks->alloc_membind = hwloc_linux_alloc_membind;
+ hooks->alloc = hwloc_alloc_mmap;
+ hooks->free_membind = hwloc_free_mmap;
+ support->membind->firsttouch_membind = 1;
+ support->membind->bind_membind = 1;
+ support->membind->interleave_membind = 1;
+#endif /* HWLOC_HAVE_MBIND */
+#if (defined HWLOC_HAVE_MIGRATE_PAGES) || ((defined HWLOC_HAVE_MBIND) && (defined MPOL_MF_MOVE))
+ support->membind->migrate_membind = 1;
+#endif
+ hooks->get_allowed_resources = hwloc_linux_get_allowed_resources_hook;
+}
+
+
+/*******************************************
+ *** Misc Helpers for Topology Discovery ***
+ *******************************************/
+
+/* cpuinfo array */
+struct hwloc_linux_cpuinfo_proc {
+ /* set during hwloc_linux_parse_cpuinfo */
+ unsigned long Pproc;
+ /* set during hwloc_linux_parse_cpuinfo or -1 if unknown*/
+ long Pcore, Ppkg;
+ /* set later, or -1 if unknown */
+ long Lcore, Lpkg;
+
+ /* custom info, set during hwloc_linux_parse_cpuinfo */
+ struct hwloc_obj_info_s *infos;
+ unsigned infos_count;
+};
+
+/* deprecated but still needed in hwloc/linux.h for backward compat */
+int
+hwloc_linux_parse_cpumap_file(FILE *file, hwloc_bitmap_t set)
+{
+ unsigned long *maps;
+ unsigned long map;
+ int nr_maps = 0;
+ static int _nr_maps_allocated = 8; /* Only compute the power-of-two above the kernel cpumask size once.
+ * Actually, it may increase multiple times if first read cpumaps start with zeroes.
+ */
+ int nr_maps_allocated = _nr_maps_allocated;
+ int i;
+
+ maps = malloc(nr_maps_allocated * sizeof(*maps));
+ if (!maps)
+ return -1;
+
+ /* reset to zero first */
+ hwloc_bitmap_zero(set);
+
+ /* parse the whole mask */
+ while (fscanf(file, "%lx,", &map) == 1) /* read one kernel cpu mask and the ending comma */
+ {
+ if (nr_maps == nr_maps_allocated) {
+ unsigned long *tmp = realloc(maps, 2*nr_maps_allocated * sizeof(*maps));
+ if (!tmp) {
+ free(maps);
+ return -1;
+ }
+ maps = tmp;
+ nr_maps_allocated *= 2;
+ }
+
+ if (!map && !nr_maps)
+ /* ignore the first map if it's empty */
+ continue;
+
+ maps[nr_maps++] = map;
+ }
+
+ /* convert into a set */
+#if KERNEL_CPU_MASK_BITS == HWLOC_BITS_PER_LONG
+ for(i=0; i<nr_maps; i++)
+ hwloc_bitmap_set_ith_ulong(set, i, maps[nr_maps-1-i]);
+#else
+ for(i=0; i<(nr_maps+1)/2; i++) {
+ unsigned long mask;
+ mask = maps[nr_maps-2*i-1];
+ if (2*i+1<nr_maps)
+ mask |= maps[nr_maps-2*i-2] << KERNEL_CPU_MASK_BITS;
+ hwloc_bitmap_set_ith_ulong(set, i, mask);
+ }
+#endif
+
+ free(maps);
+
+ /* Only update the static value with the final one,
+ * to avoid sharing intermediate values that we modify,
+ * in case there's ever multiple concurrent calls.
+ */
+ if (nr_maps_allocated > _nr_maps_allocated)
+ _nr_maps_allocated = nr_maps_allocated;
+ return 0;
+}
+
+static void
+hwloc_find_linux_cpuset_mntpnt(char **cgroup_mntpnt, char **cpuset_mntpnt, const char *root_path)
+{
+ char *mount_path;
+ struct mntent mntent;
+ FILE *fd;
+ int err;
+ size_t bufsize;
+ char *buf;
+
+ *cgroup_mntpnt = NULL;
+ *cpuset_mntpnt = NULL;
+
+ if (root_path) {
+ /* setmntent() doesn't support openat(), so use the root_path directly */
+ err = asprintf(&mount_path, "%s/proc/mounts", root_path);
+ if (err < 0)
+ return;
+ fd = setmntent(mount_path, "r");
+ free(mount_path);
+ } else {
+ fd = setmntent("/proc/mounts", "r");
+ }
+ if (!fd)
+ return;
+
+ /* getmntent_r() doesn't actually report an error when the buffer
+ * is too small. It just silently truncates things. So we can't
+ * dynamically resize things.
+ *
+ * Linux limits mount type, string, and options to one page each.
+ * getmntent() limits the line size to 4kB.
+ * so use 4*pagesize to be far above both.
+ */
+ bufsize = hwloc_getpagesize()*4;
+ buf = malloc(bufsize);
+
+ while (getmntent_r(fd, &mntent, buf, bufsize)) {
+ if (!strcmp(mntent.mnt_type, "cpuset")) {
+ hwloc_debug("Found cpuset mount point on %s\n", mntent.mnt_dir);
+ *cpuset_mntpnt = strdup(mntent.mnt_dir);
+ break;
+ } else if (!strcmp(mntent.mnt_type, "cgroup")) {
+ /* found a cgroup mntpnt */
+ char *opt, *opts = mntent.mnt_opts;
+ int cpuset_opt = 0;
+ int noprefix_opt = 0;
+ /* look at options */
+ while ((opt = strsep(&opts, ",")) != NULL) {
+ if (!strcmp(opt, "cpuset"))
+ cpuset_opt = 1;
+ else if (!strcmp(opt, "noprefix"))
+ noprefix_opt = 1;
+ }
+ if (!cpuset_opt)
+ continue;
+ if (noprefix_opt) {
+ hwloc_debug("Found cgroup emulating a cpuset mount point on %s\n", mntent.mnt_dir);
+ *cpuset_mntpnt = strdup(mntent.mnt_dir);
+ } else {
+ hwloc_debug("Found cgroup/cpuset mount point on %s\n", mntent.mnt_dir);
+ *cgroup_mntpnt = strdup(mntent.mnt_dir);
+ }
+ break;
+ }
+ }
+
+ free(buf);
+ endmntent(fd);
+}
+
+/*
+ * Linux cpusets may be managed directly or through cgroup.
+ * If cgroup is used, tasks get a /proc/pid/cgroup which may contain a
+ * single line %d:cpuset:<name>. If cpuset are used they get /proc/pid/cpuset
+ * containing <name>.
+ */
+static char *
+hwloc_read_linux_cpuset_name(int fsroot_fd, hwloc_pid_t pid)
+{
+#define CPUSET_NAME_LEN 128
+ char cpuset_name[CPUSET_NAME_LEN];
+ FILE *file;
+ int err;
+ char *tmp;
+
+ /* check whether a cgroup-cpuset is enabled */
+ if (!pid)
+ file = hwloc_fopen("/proc/self/cgroup", "r", fsroot_fd);
+ else {
+ char path[] = "/proc/XXXXXXXXXX/cgroup";
+ snprintf(path, sizeof(path), "/proc/%d/cgroup", pid);
+ file = hwloc_fopen(path, "r", fsroot_fd);
+ }
+ if (file) {
+ /* find a cpuset line */
+#define CGROUP_LINE_LEN 256
+ char line[CGROUP_LINE_LEN];
+ while (fgets(line, sizeof(line), file)) {
+ char *end, *colon = strchr(line, ':');
+ if (!colon)
+ continue;
+ if (strncmp(colon, ":cpuset:", 8))
+ continue;
+
+ /* found a cgroup-cpuset line, return the name */
+ fclose(file);
+ end = strchr(colon, '\n');
+ if (end)
+ *end = '\0';
+ hwloc_debug("Found cgroup-cpuset %s\n", colon+8);
+ return strdup(colon+8);
+ }
+ fclose(file);
+ }
+
+ /* check whether a cpuset is enabled */
+ if (!pid)
+ err = hwloc_read_path_by_length("/proc/self/cpuset", cpuset_name, sizeof(cpuset_name), fsroot_fd);
+ else {
+ char path[] = "/proc/XXXXXXXXXX/cpuset";
+ snprintf(path, sizeof(path), "/proc/%d/cpuset", pid);
+ err = hwloc_read_path_by_length(path, cpuset_name, sizeof(cpuset_name), fsroot_fd);
+ }
+ if (err < 0) {
+ /* found nothing */
+ hwloc_debug("%s", "No cgroup or cpuset found\n");
+ return NULL;
+ }
+
+ /* found a cpuset, return the name */
+ tmp = strchr(cpuset_name, '\n');
+ if (tmp)
+ *tmp = '\0';
+ hwloc_debug("Found cpuset %s\n", cpuset_name);
+ return strdup(cpuset_name);
+}
+
+/*
+ * Then, the cpuset description is available from either the cgroup or
+ * the cpuset filesystem (usually mounted in / or /dev) where there
+ * are cgroup<name>/cpuset.{cpus,mems} or cpuset<name>/{cpus,mems} files.
+ */
+static void
+hwloc_admin_disable_set_from_cpuset(int root_fd,
+ const char *cgroup_mntpnt, const char *cpuset_mntpnt, const char *cpuset_name,
+ const char *attr_name,
+ hwloc_bitmap_t admin_enabled_cpus_set)
+{
+#define CPUSET_FILENAME_LEN 256
+ char cpuset_filename[CPUSET_FILENAME_LEN];
+ int fd;
+ int err;
+
+ if (cgroup_mntpnt) {
+ /* try to read the cpuset from cgroup */
+ snprintf(cpuset_filename, CPUSET_FILENAME_LEN, "%s%s/cpuset.%s", cgroup_mntpnt, cpuset_name, attr_name);
+ hwloc_debug("Trying to read cgroup file <%s>\n", cpuset_filename);
+ } else if (cpuset_mntpnt) {
+ /* try to read the cpuset directly */
+ snprintf(cpuset_filename, CPUSET_FILENAME_LEN, "%s%s/%s", cpuset_mntpnt, cpuset_name, attr_name);
+ hwloc_debug("Trying to read cpuset file <%s>\n", cpuset_filename);
+ }
+
+ fd = hwloc_open(cpuset_filename, root_fd);
+ if (fd < 0) {
+ /* found no cpuset description, ignore it */
+ hwloc_debug("Couldn't find cpuset <%s> description, ignoring\n", cpuset_name);
+ return;
+ }
+
+ err = hwloc__read_fd_as_cpulist(fd, admin_enabled_cpus_set);
+ close(fd);
+
+ if (err < 0)
+ hwloc_bitmap_fill(admin_enabled_cpus_set);
+ else
+ hwloc_debug_bitmap("cpuset includes %s\n", admin_enabled_cpus_set);
+}
+
+static void
+hwloc_parse_meminfo_info(struct hwloc_linux_backend_data_s *data,
+ const char *path,
+ uint64_t *local_memory,
+ uint64_t *meminfo_hugepages_count,
+ uint64_t *meminfo_hugepages_size,
+ int onlytotal)
+{
+ char *tmp;
+ char buffer[4096];
+ unsigned long long number;
+
+ if (hwloc_read_path_by_length(path, buffer, sizeof(buffer), data->root_fd) < 0)
+ return;
+
+ tmp = strstr(buffer, "MemTotal: "); /* MemTotal: %llu kB */
+ if (tmp) {
+ number = strtoull(tmp+10, NULL, 10);
+ *local_memory = number << 10;
+
+ if (onlytotal)
+ return;
+
+ tmp = strstr(tmp, "Hugepagesize: "); /* Hugepagesize: %llu */
+ if (tmp) {
+ number = strtoull(tmp+14, NULL, 10);
+ *meminfo_hugepages_size = number << 10;
+
+ tmp = strstr(tmp, "HugePages_Free: "); /* HugePages_Free: %llu */
+ if (tmp) {
+ number = strtoull(tmp+16, NULL, 10);
+ *meminfo_hugepages_count = number;
+ }
+ }
+ }
+}
+
+#define SYSFS_NUMA_NODE_PATH_LEN 128
+
+static void
+hwloc_parse_hugepages_info(struct hwloc_linux_backend_data_s *data,
+ const char *dirpath,
+ struct hwloc_obj_memory_s *memory,
+ uint64_t *remaining_local_memory)
+{
+ DIR *dir;
+ struct dirent *dirent;
+ unsigned long index_ = 1;
+ char line[64];
+ char path[SYSFS_NUMA_NODE_PATH_LEN];
+
+ dir = hwloc_opendir(dirpath, data->root_fd);
+ if (dir) {
+ while ((dirent = readdir(dir)) != NULL) {
+ int err;
+ if (strncmp(dirent->d_name, "hugepages-", 10))
+ continue;
+ memory->page_types[index_].size = strtoul(dirent->d_name+10, NULL, 0) * 1024ULL;
+ err = snprintf(path, sizeof(path), "%s/%s/nr_hugepages", dirpath, dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, line, sizeof(line), data->root_fd)) {
+ /* these are the actual total amount of huge pages */
+ memory->page_types[index_].count = strtoull(line, NULL, 0);
+ *remaining_local_memory -= memory->page_types[index_].count * memory->page_types[index_].size;
+ index_++;
+ }
+ }
+ closedir(dir);
+ memory->page_types_len = index_;
+ }
+}
+
+static void
+hwloc_get_kerrighed_node_meminfo_info(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data,
+ unsigned long node, struct hwloc_obj_memory_s *memory)
+{
+ char path[128];
+ uint64_t meminfo_hugepages_count, meminfo_hugepages_size = 0;
+ int err;
+
+ if (topology->is_thissystem) {
+ memory->page_types_len = 2;
+ memory->page_types = malloc(2*sizeof(*memory->page_types));
+ memset(memory->page_types, 0, 2*sizeof(*memory->page_types));
+ /* Try to get the hugepage size from sysconf in case we fail to get it from /proc/meminfo later */
+#ifdef HAVE__SC_LARGE_PAGESIZE
+ memory->page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+ memory->page_types[0].size = data->pagesize;
+ }
+
+ err = snprintf(path, sizeof(path), "/proc/nodes/node%lu/meminfo", node);
+ if ((size_t) err < sizeof(path))
+ hwloc_parse_meminfo_info(data, path,
+ &memory->local_memory,
+ &meminfo_hugepages_count, &meminfo_hugepages_size,
+ memory->page_types == NULL);
+
+ if (memory->page_types) {
+ uint64_t remaining_local_memory = memory->local_memory;
+ if (meminfo_hugepages_size) {
+ memory->page_types[1].size = meminfo_hugepages_size;
+ memory->page_types[1].count = meminfo_hugepages_count;
+ remaining_local_memory -= meminfo_hugepages_count * meminfo_hugepages_size;
+ } else {
+ memory->page_types_len = 1;
+ }
+ memory->page_types[0].count = remaining_local_memory / memory->page_types[0].size;
+ }
+}
+
+static void
+hwloc_get_procfs_meminfo_info(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data,
+ struct hwloc_obj_memory_s *memory)
+{
+ uint64_t meminfo_hugepages_count, meminfo_hugepages_size = 0;
+ struct stat st;
+ int has_sysfs_hugepages = 0;
+ const char *pagesize_env = getenv("HWLOC_DEBUG_PAGESIZE");
+ int types = 2;
+ int err;
+
+ err = hwloc_stat("/sys/kernel/mm/hugepages", &st, data->root_fd);
+ if (!err) {
+ types = 1 + st.st_nlink-2;
+ has_sysfs_hugepages = 1;
+ }
+
+ if (topology->is_thissystem || pagesize_env) {
+ /* we cannot report any page_type info unless we have the page size.
+ * we'll take it either from the system if local, or from the debug env variable
+ */
+ memory->page_types_len = types;
+ memory->page_types = calloc(types, sizeof(*memory->page_types));
+ }
+
+ if (topology->is_thissystem) {
+ /* Get the page and hugepage sizes from sysconf */
+#if HAVE_DECL__SC_LARGE_PAGESIZE
+ memory->page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+ memory->page_types[0].size = data->pagesize; /* might be overwritten later by /proc/meminfo or sysfs */
+ }
+
+ hwloc_parse_meminfo_info(data, "/proc/meminfo",
+ &memory->local_memory,
+ &meminfo_hugepages_count, &meminfo_hugepages_size,
+ memory->page_types == NULL);
+
+ if (memory->page_types) {
+ uint64_t remaining_local_memory = memory->local_memory;
+ if (has_sysfs_hugepages) {
+ /* read from node%d/hugepages/hugepages-%skB/nr_hugepages */
+ hwloc_parse_hugepages_info(data, "/sys/kernel/mm/hugepages", memory, &remaining_local_memory);
+ } else {
+ /* use what we found in meminfo */
+ if (meminfo_hugepages_size) {
+ memory->page_types[1].size = meminfo_hugepages_size;
+ memory->page_types[1].count = meminfo_hugepages_count;
+ remaining_local_memory -= meminfo_hugepages_count * meminfo_hugepages_size;
+ } else {
+ memory->page_types_len = 1;
+ }
+ }
+
+ if (pagesize_env) {
+ /* We cannot get the pagesize if not thissystem, use the env-given one to experience the code during make check */
+ memory->page_types[0].size = strtoull(pagesize_env, NULL, 10);
+ /* If failed, use 4kB */
+ if (!memory->page_types[0].size)
+ memory->page_types[0].size = 4096;
+ }
+ assert(memory->page_types[0].size); /* from sysconf if local or from the env */
+ /* memory->page_types[1].size from sysconf if local, or from /proc/meminfo, or from sysfs,
+ * may be 0 if no hugepage support in the kernel */
+
+ memory->page_types[0].count = remaining_local_memory / memory->page_types[0].size;
+ }
+}
+
+static void
+hwloc_sysfs_node_meminfo_info(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data,
+ const char *syspath, int node,
+ struct hwloc_obj_memory_s *memory)
+{
+ char path[SYSFS_NUMA_NODE_PATH_LEN];
+ char meminfopath[SYSFS_NUMA_NODE_PATH_LEN];
+ uint64_t meminfo_hugepages_count = 0;
+ uint64_t meminfo_hugepages_size = 0;
+ struct stat st;
+ int has_sysfs_hugepages = 0;
+ int types = 2;
+ int err;
+
+ sprintf(path, "%s/node%d/hugepages", syspath, node);
+ err = hwloc_stat(path, &st, data->root_fd);
+ if (!err) {
+ types = 1 + st.st_nlink-2;
+ has_sysfs_hugepages = 1;
+ }
+
+ if (topology->is_thissystem) {
+ memory->page_types_len = types;
+ memory->page_types = malloc(types*sizeof(*memory->page_types));
+ memset(memory->page_types, 0, types*sizeof(*memory->page_types));
+ }
+
+ sprintf(meminfopath, "%s/node%d/meminfo", syspath, node);
+ hwloc_parse_meminfo_info(data, meminfopath,
+ &memory->local_memory,
+ &meminfo_hugepages_count, NULL /* no hugepage size in node-specific meminfo */,
+ memory->page_types == NULL);
+
+ if (memory->page_types) {
+ uint64_t remaining_local_memory = memory->local_memory;
+ if (has_sysfs_hugepages) {
+ /* read from node%d/hugepages/hugepages-%skB/nr_hugepages */
+ hwloc_parse_hugepages_info(data, path, memory, &remaining_local_memory);
+ } else {
+ /* get hugepage size from machine-specific meminfo since there is no size in node-specific meminfo,
+ * hwloc_get_procfs_meminfo_info must have been called earlier */
+ meminfo_hugepages_size = topology->levels[0][0]->memory.page_types[1].size;
+ /* use what we found in meminfo */
+ if (meminfo_hugepages_size) {
+ memory->page_types[1].count = meminfo_hugepages_count;
+ memory->page_types[1].size = meminfo_hugepages_size;
+ remaining_local_memory -= meminfo_hugepages_count * meminfo_hugepages_size;
+ } else {
+ memory->page_types_len = 1;
+ }
+ }
+ /* update what's remaining as normal pages */
+ memory->page_types[0].size = data->pagesize;
+ memory->page_types[0].count = remaining_local_memory / memory->page_types[0].size;
+ }
+}
+
+static int
+hwloc_parse_nodes_distances(const char *path, unsigned nbnodes, unsigned *indexes, float *distances, int fsroot_fd)
+{
+ size_t len = (10+1)*nbnodes;
+ float *curdist = distances;
+ char *string;
+ unsigned i;
+
+ string = malloc(len); /* space-separated %d */
+ if (!string)
+ goto out;
+
+ for(i=0; i<nbnodes; i++) {
+ unsigned osnode = indexes[i];
+ char distancepath[SYSFS_NUMA_NODE_PATH_LEN];
+ char *tmp, *next;
+ unsigned found;
+
+ /* Linux nodeX/distance file contains distance from X to other localities (from ACPI SLIT table or so),
+ * store them in slots X*N...X*N+N-1 */
+ sprintf(distancepath, "%s/node%u/distance", path, osnode);
+ if (hwloc_read_path_by_length(distancepath, string, len, fsroot_fd) < 0)
+ goto out_with_string;
+
+ tmp = string;
+ found = 0;
+ while (tmp) {
+ unsigned distance = strtoul(tmp, &next, 0); /* stored as a %d */
+ if (next == tmp)
+ break;
+ *curdist = (float) distance;
+ curdist++;
+ found++;
+ if (found == nbnodes)
+ break;
+ tmp = next+1;
+ }
+ if (found != nbnodes)
+ goto out_with_string;
+ }
+
+ free(string);
+ return 0;
+
+ out_with_string:
+ free(string);
+ out:
+ return -1;
+}
+
+static void
+hwloc__get_dmi_id_one_info(struct hwloc_linux_backend_data_s *data,
+ hwloc_obj_t obj,
+ char *path, unsigned pathlen,
+ const char *dmi_name, const char *hwloc_name)
+{
+ char dmi_line[64];
+
+ strcpy(path+pathlen, dmi_name);
+ if (hwloc_read_path_by_length(path, dmi_line, sizeof(dmi_line), data->root_fd) < 0)
+ return;
+
+ if (dmi_line[0] != '\0') {
+ char *tmp = strchr(dmi_line, '\n');
+ if (tmp)
+ *tmp = '\0';
+ hwloc_debug("found %s '%s'\n", hwloc_name, dmi_line);
+ hwloc_obj_add_info(obj, hwloc_name, dmi_line);
+ }
+}
+
+static void
+hwloc__get_dmi_id_info(struct hwloc_linux_backend_data_s *data, hwloc_obj_t obj)
+{
+ char path[128];
+ unsigned pathlen;
+ DIR *dir;
+
+ strcpy(path, "/sys/devices/virtual/dmi/id");
+ dir = hwloc_opendir(path, data->root_fd);
+ if (dir) {
+ pathlen = 27;
+ } else {
+ strcpy(path, "/sys/class/dmi/id");
+ dir = hwloc_opendir(path, data->root_fd);
+ if (dir)
+ pathlen = 17;
+ else
+ return;
+ }
+ closedir(dir);
+
+ path[pathlen++] = '/';
+
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_name", "DMIProductName");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_version", "DMIProductVersion");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_serial", "DMIProductSerial");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "product_uuid", "DMIProductUUID");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_vendor", "DMIBoardVendor");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_name", "DMIBoardName");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_version", "DMIBoardVersion");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_serial", "DMIBoardSerial");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "board_asset_tag", "DMIBoardAssetTag");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_vendor", "DMIChassisVendor");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_type", "DMIChassisType");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_version", "DMIChassisVersion");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_serial", "DMIChassisSerial");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "chassis_asset_tag", "DMIChassisAssetTag");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "bios_vendor", "DMIBIOSVendor");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "bios_version", "DMIBIOSVersion");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "bios_date", "DMIBIOSDate");
+ hwloc__get_dmi_id_one_info(data, obj, path, pathlen, "sys_vendor", "DMISysVendor");
+}
+
+struct hwloc_firmware_dmi_mem_device_header {
+ unsigned char type;
+ unsigned char length;
+ unsigned char handle[2];
+ unsigned char phy_mem_handle[2];
+ unsigned char mem_err_handle[2];
+ unsigned char tot_width[2];
+ unsigned char dat_width[2];
+ unsigned char size[2];
+ unsigned char ff;
+ unsigned char dev_set;
+ unsigned char dev_loc_str_num;
+ unsigned char bank_loc_str_num;
+ unsigned char mem_type;
+ unsigned char type_detail[2];
+ unsigned char speed[2];
+ unsigned char manuf_str_num;
+ unsigned char serial_str_num;
+ unsigned char asset_tag_str_num;
+ unsigned char part_num_str_num;
+ /* don't include the following fields since we don't need them,
+ * some old implementations may miss them.
+ */
+};
+
+static int check_dmi_entry(const char *buffer)
+{
+ /* reject empty strings */
+ if (!*buffer)
+ return 0;
+ /* reject strings of spaces (at least Dell use this for empty memory slots) */
+ if (strspn(buffer, " ") == strlen(buffer))
+ return 0;
+ return 1;
+}
+
+static void
+hwloc__get_firmware_dmi_memory_info_one(struct hwloc_topology *topology,
+ unsigned idx, const char *path, FILE *fd,
+ struct hwloc_firmware_dmi_mem_device_header *header)
+{
+ unsigned slen;
+ char buffer[256]; /* enough for memory device strings, or at least for each of them */
+ unsigned foff; /* offset in raw file */
+ unsigned boff; /* offset in buffer read from raw file */
+ unsigned i;
+ struct hwloc_obj_info_s *infos = NULL;
+ unsigned infos_count = 0;
+ hwloc_obj_t misc;
+ int foundinfo = 0;
+
+ hwloc__add_info(&infos, &infos_count, "Type", "MemoryModule");
+
+ /* start after the header */
+ foff = header->length;
+ i = 1;
+ while (1) {
+ /* read one buffer */
+ if (fseek(fd, foff, SEEK_SET) < 0)
+ break;
+ if (!fgets(buffer, sizeof(buffer), fd))
+ break;
+ /* read string at the beginning of the buffer */
+ boff = 0;
+ while (1) {
+ /* stop on empty string */
+ if (!buffer[boff])
+ goto done;
+ /* stop if this string goes to the end of the buffer */
+ slen = strlen(buffer+boff);
+ if (boff + slen+1 == sizeof(buffer))
+ break;
+ /* string didn't get truncated, should be OK */
+ if (i == header->manuf_str_num) {
+ if (check_dmi_entry(buffer+boff)) {
+ hwloc__add_info(&infos, &infos_count, "Vendor", buffer+boff);
+ foundinfo = 1;
+ }
+ } else if (i == header->serial_str_num) {
+ if (check_dmi_entry(buffer+boff)) {
+ hwloc__add_info(&infos, &infos_count, "SerialNumber", buffer+boff);
+ foundinfo = 1;
+ }
+ } else if (i == header->asset_tag_str_num) {
+ if (check_dmi_entry(buffer+boff)) {
+ hwloc__add_info(&infos, &infos_count, "AssetTag", buffer+boff);
+ foundinfo = 1;
+ }
+ } else if (i == header->part_num_str_num) {
+ if (check_dmi_entry(buffer+boff)) {
+ hwloc__add_info(&infos, &infos_count, "PartNumber", buffer+boff);
+ foundinfo = 1;
+ }
+ } else if (i == header->dev_loc_str_num) {
+ if (check_dmi_entry(buffer+boff)) {
+ hwloc__add_info(&infos, &infos_count, "DeviceLocation", buffer+boff);
+ /* only a location, not an actual info about the device */
+ }
+ } else if (i == header->bank_loc_str_num) {
+ if (check_dmi_entry(buffer+boff)) {
+ hwloc__add_info(&infos, &infos_count, "BankLocation", buffer+boff);
+ /* only a location, not an actual info about the device */
+ }
+ } else {
+ goto done;
+ }
+ /* next string in buffer */
+ boff += slen+1;
+ i++;
+ }
+ /* couldn't read a single full string from that buffer, we're screwed */
+ if (!boff) {
+ fprintf(stderr, "hwloc could read a DMI firmware entry #%u in %s\n",
+ i, path);
+ break;
+ }
+ /* reread buffer after previous string */
+ foff += boff;
+ }
+
+done:
+ if (!foundinfo) {
+ /* found no actual info about the device. if there's only location info, the slot may be empty */
+ goto out_with_infos;
+ }
+
+ misc = hwloc_alloc_setup_object(HWLOC_OBJ_MISC, idx);
+ if (!misc)
+ goto out_with_infos;
+
+ hwloc__move_infos(&misc->infos, &misc->infos_count, &infos, &infos_count);
+ /* FIXME: find a way to identify the corresponding NUMA node and attach these objects there.
+ * but it means we need to parse DeviceLocation=DIMM_B4 but these vary significantly
+ * with the vendor, and it's hard to be 100% sure 'B' is second socket.
+ * Examples at http://sourceforge.net/p/edac-utils/code/HEAD/tree/trunk/src/etc/labels.db
+ * or https://github.com/grondo/edac-utils/blob/master/src/etc/labels.db
+ */
+ hwloc_insert_object_by_parent(topology, hwloc_get_root_obj(topology), misc);
+ return;
+
+ out_with_infos:
+ hwloc__free_infos(infos, infos_count);
+}
+
+static void
+hwloc__get_firmware_dmi_memory_info(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data)
+{
+ char path[128];
+ unsigned i;
+
+ for(i=0; ; i++) {
+ FILE *fd;
+ struct hwloc_firmware_dmi_mem_device_header header;
+ int err;
+
+ snprintf(path, sizeof(path), "/sys/firmware/dmi/entries/17-%u/raw", i);
+ fd = hwloc_fopen(path, "r", data->root_fd);
+ if (!fd)
+ break;
+
+ err = fread(&header, sizeof(header), 1, fd);
+ if (err != 1) {
+ fclose(fd);
+ break;
+ }
+ if (header.length < sizeof(header)) {
+ /* invalid, or too old entry/spec that doesn't contain what we need */
+ fclose(fd);
+ break;
+ }
+
+ hwloc__get_firmware_dmi_memory_info_one(topology, i, path, fd, &header);
+
+ fclose(fd);
+ }
+}
+
+
+/***********************************
+ ****** Device tree Discovery ******
+ ***********************************/
+
+/* Reads the entire file and returns bytes read if bytes_read != NULL
+ * Returned pointer can be freed by using free(). */
+static void *
+hwloc_read_raw(const char *p, const char *p1, size_t *bytes_read, int root_fd)
+{
+ char fname[256];
+ char *ret = NULL;
+ struct stat fs;
+ int file = -1;
+
+ snprintf(fname, sizeof(fname), "%s/%s", p, p1);
+
+ file = hwloc_open(fname, root_fd);
+ if (-1 == file) {
+ goto out_no_close;
+ }
+ if (fstat(file, &fs)) {
+ goto out;
+ }
+
+ ret = (char *) malloc(fs.st_size);
+ if (NULL != ret) {
+ ssize_t cb = read(file, ret, fs.st_size);
+ if (cb == -1) {
+ free(ret);
+ ret = NULL;
+ } else {
+ if (NULL != bytes_read)
+ *bytes_read = cb;
+ }
+ }
+
+ out:
+ close(file);
+ out_no_close:
+ return ret;
+}
+
+/* Reads the entire file and returns it as a 0-terminated string
+ * Returned pointer can be freed by using free(). */
+static char *
+hwloc_read_str(const char *p, const char *p1, int root_fd)
+{
+ size_t cb = 0;
+ char *ret = hwloc_read_raw(p, p1, &cb, root_fd);
+ if ((NULL != ret) && (0 < cb) && (0 != ret[cb-1])) {
+ char *tmp = realloc(ret, cb + 1);
+ if (!tmp) {
+ free(ret);
+ return NULL;
+ }
+ ret = tmp;
+ ret[cb] = 0;
+ }
+ return ret;
+}
+
+/* Reads first 32bit bigendian value */
+static ssize_t
+hwloc_read_unit32be(const char *p, const char *p1, uint32_t *buf, int root_fd)
+{
+ size_t cb = 0;
+ uint32_t *tmp = hwloc_read_raw(p, p1, &cb, root_fd);
+ if (sizeof(*buf) != cb) {
+ errno = EINVAL;
+ free(tmp); /* tmp is either NULL or contains useless things */
+ return -1;
+ }
+ *buf = htonl(*tmp);
+ free(tmp);
+ return sizeof(*buf);
+}
+
+typedef struct {
+ unsigned int n, allocated;
+ struct {
+ hwloc_bitmap_t cpuset;
+ uint32_t phandle;
+ uint32_t l2_cache;
+ char *name;
+ } *p;
+} device_tree_cpus_t;
+
+static void
+add_device_tree_cpus_node(device_tree_cpus_t *cpus, hwloc_bitmap_t cpuset,
+ uint32_t l2_cache, uint32_t phandle, const char *name)
+{
+ if (cpus->n == cpus->allocated) {
+ void *tmp;
+ unsigned allocated;
+ if (!cpus->allocated)
+ allocated = 64;
+ else
+ allocated = 2 * cpus->allocated;
+ tmp = realloc(cpus->p, allocated * sizeof(cpus->p[0]));
+ if (!tmp)
+ return; /* failed to realloc, ignore this entry */
+ cpus->p = tmp;
+ cpus->allocated = allocated;
+ }
+ cpus->p[cpus->n].phandle = phandle;
+ cpus->p[cpus->n].cpuset = (NULL == cpuset)?NULL:hwloc_bitmap_dup(cpuset);
+ cpus->p[cpus->n].l2_cache = l2_cache;
+ cpus->p[cpus->n].name = strdup(name);
+ ++cpus->n;
+}
+
+/* Walks over the cache list in order to detect nested caches and CPU mask for each */
+static int
+look_powerpc_device_tree_discover_cache(device_tree_cpus_t *cpus,
+ uint32_t phandle, unsigned int *level, hwloc_bitmap_t cpuset)
+{
+ unsigned int i;
+ int ret = -1;
+ if ((NULL == level) || (NULL == cpuset) || phandle == (uint32_t) -1)
+ return ret;
+ for (i = 0; i < cpus->n; ++i) {
+ if (phandle != cpus->p[i].l2_cache)
+ continue;
+ if (NULL != cpus->p[i].cpuset) {
+ hwloc_bitmap_or(cpuset, cpuset, cpus->p[i].cpuset);
+ ret = 0;
+ } else {
+ ++(*level);
+ if (0 == look_powerpc_device_tree_discover_cache(cpus,
+ cpus->p[i].phandle, level, cpuset))
+ ret = 0;
+ }
+ }
+ return ret;
+}
+
+static void
+try__add_cache_from_device_tree_cpu(struct hwloc_topology *topology,
+ unsigned int level, hwloc_obj_cache_type_t type,
+ uint32_t cache_line_size, uint32_t cache_size, uint32_t cache_sets,
+ hwloc_bitmap_t cpuset)
+{
+ struct hwloc_obj *c = NULL;
+
+ if (0 == cache_size)
+ return;
+
+ c = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ c->attr->cache.depth = level;
+ c->attr->cache.linesize = cache_line_size;
+ c->attr->cache.size = cache_size;
+ c->attr->cache.type = type;
+ if (cache_sets == 1)
+ /* likely wrong, make it unknown */
+ cache_sets = 0;
+ if (cache_sets && cache_line_size)
+ c->attr->cache.associativity = cache_size / (cache_sets * cache_line_size);
+ else
+ c->attr->cache.associativity = 0;
+ c->cpuset = hwloc_bitmap_dup(cpuset);
+ hwloc_debug_2args_bitmap("cache (%s) depth %u has cpuset %s\n",
+ type == HWLOC_OBJ_CACHE_UNIFIED ? "unified" : (type == HWLOC_OBJ_CACHE_DATA ? "data" : "instruction"),
+ level, c->cpuset);
+ hwloc_insert_object_by_cpuset(topology, c);
+}
+
+static void
+try_add_cache_from_device_tree_cpu(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data,
+ const char *cpu, unsigned int level, hwloc_bitmap_t cpuset)
+{
+ /* d-cache-block-size - ignore */
+ /* d-cache-line-size - to read, in bytes */
+ /* d-cache-sets - ignore */
+ /* d-cache-size - to read, in bytes */
+ /* i-cache, same for instruction */
+ /* cache-unified only exist if data and instruction caches are unified */
+ /* d-tlb-sets - ignore */
+ /* d-tlb-size - ignore, always 0 on power6 */
+ /* i-tlb-*, same */
+ uint32_t d_cache_line_size = 0, d_cache_size = 0, d_cache_sets = 0;
+ uint32_t i_cache_line_size = 0, i_cache_size = 0, i_cache_sets = 0;
+ char unified_path[1024];
+ struct stat statbuf;
+ int unified;
+
+ snprintf(unified_path, sizeof(unified_path), "%s/cache-unified", cpu);
+ unified = (hwloc_stat(unified_path, &statbuf, data->root_fd) == 0);
+
+ hwloc_read_unit32be(cpu, "d-cache-line-size", &d_cache_line_size,
+ data->root_fd);
+ hwloc_read_unit32be(cpu, "d-cache-size", &d_cache_size,
+ data->root_fd);
+ hwloc_read_unit32be(cpu, "d-cache-sets", &d_cache_sets,
+ data->root_fd);
+ hwloc_read_unit32be(cpu, "i-cache-line-size", &i_cache_line_size,
+ data->root_fd);
+ hwloc_read_unit32be(cpu, "i-cache-size", &i_cache_size,
+ data->root_fd);
+ hwloc_read_unit32be(cpu, "i-cache-sets", &i_cache_sets,
+ data->root_fd);
+
+ if (!unified)
+ try__add_cache_from_device_tree_cpu(topology, level, HWLOC_OBJ_CACHE_INSTRUCTION,
+ i_cache_line_size, i_cache_size, i_cache_sets, cpuset);
+ try__add_cache_from_device_tree_cpu(topology, level, unified ? HWLOC_OBJ_CACHE_UNIFIED : HWLOC_OBJ_CACHE_DATA,
+ d_cache_line_size, d_cache_size, d_cache_sets, cpuset);
+}
+
+/*
+ * Discovers L1/L2/L3 cache information on IBM PowerPC systems for old kernels (RHEL5.*)
+ * which provide NUMA nodes information without any details
+ */
+static void
+look_powerpc_device_tree(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data)
+{
+ device_tree_cpus_t cpus;
+ const char ofroot[] = "/proc/device-tree/cpus";
+ unsigned int i;
+ int root_fd = data->root_fd;
+ DIR *dt = hwloc_opendir(ofroot, root_fd);
+ struct dirent *dirent;
+
+ if (NULL == dt)
+ return;
+
+ /* only works for Power so far, and not useful on ARM */
+ if (data->arch != HWLOC_LINUX_ARCH_POWER) {
+ closedir(dt);
+ return;
+ }
+
+ cpus.n = 0;
+ cpus.p = NULL;
+ cpus.allocated = 0;
+
+ while (NULL != (dirent = readdir(dt))) {
+ char cpu[256];
+ char *device_type;
+ uint32_t reg = -1, l2_cache = -1, phandle = -1;
+ int err;
+
+ if ('.' == dirent->d_name[0])
+ continue;
+
+ err = snprintf(cpu, sizeof(cpu), "%s/%s", ofroot, dirent->d_name);
+ if ((size_t) err >= sizeof(cpu))
+ continue;
+
+ device_type = hwloc_read_str(cpu, "device_type", root_fd);
+ if (NULL == device_type)
+ continue;
+
+ hwloc_read_unit32be(cpu, "reg", ®, root_fd);
+ if (hwloc_read_unit32be(cpu, "next-level-cache", &l2_cache, root_fd) == -1)
+ hwloc_read_unit32be(cpu, "l2-cache", &l2_cache, root_fd);
+ if (hwloc_read_unit32be(cpu, "phandle", &phandle, root_fd) == -1)
+ if (hwloc_read_unit32be(cpu, "ibm,phandle", &phandle, root_fd) == -1)
+ hwloc_read_unit32be(cpu, "linux,phandle", &phandle, root_fd);
+
+ if (0 == strcmp(device_type, "cache")) {
+ add_device_tree_cpus_node(&cpus, NULL, l2_cache, phandle, dirent->d_name);
+ }
+ else if (0 == strcmp(device_type, "cpu")) {
+ /* Found CPU */
+ hwloc_bitmap_t cpuset = NULL;
+ size_t cb = 0;
+ uint32_t *threads = hwloc_read_raw(cpu, "ibm,ppc-interrupt-server#s", &cb, root_fd);
+ uint32_t nthreads = cb / sizeof(threads[0]);
+
+ if (NULL != threads) {
+ cpuset = hwloc_bitmap_alloc();
+ for (i = 0; i < nthreads; ++i) {
+ if (hwloc_bitmap_isset(topology->levels[0][0]->complete_cpuset, ntohl(threads[i])))
+ hwloc_bitmap_set(cpuset, ntohl(threads[i]));
+ }
+ free(threads);
+ } else if ((unsigned int)-1 != reg) {
+ /* Doesn't work on ARM because cpu "reg" do not start at 0.
+ * We know the first cpu "reg" is the lowest. The others are likely
+ * in order assuming the device-tree shows objects in order.
+ */
+ cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(cpuset, reg);
+ }
+
+ if (NULL == cpuset) {
+ hwloc_debug("%s has no \"reg\" property, skipping\n", cpu);
+ } else {
+ struct hwloc_obj *core = NULL;
+ add_device_tree_cpus_node(&cpus, cpuset, l2_cache, phandle, dirent->d_name);
+
+ /* Add core */
+ core = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, reg);
+ core->cpuset = hwloc_bitmap_dup(cpuset);
+ hwloc_insert_object_by_cpuset(topology, core);
+
+ /* Add L1 cache */
+ try_add_cache_from_device_tree_cpu(topology, data, cpu, 1, cpuset);
+
+ hwloc_bitmap_free(cpuset);
+ }
+ }
+ free(device_type);
+ }
+ closedir(dt);
+
+ /* No cores and L2 cache were found, exiting */
+ if (0 == cpus.n) {
+ hwloc_debug("No cores and L2 cache were found in %s, exiting\n", ofroot);
+ return;
+ }
+
+#ifdef HWLOC_DEBUG
+ for (i = 0; i < cpus.n; ++i) {
+ hwloc_debug("%u: %s ibm,phandle=%08X l2_cache=%08X ",
+ i, cpus.p[i].name, cpus.p[i].phandle, cpus.p[i].l2_cache);
+ if (NULL == cpus.p[i].cpuset) {
+ hwloc_debug("%s\n", "no cpuset");
+ } else {
+ hwloc_debug_bitmap("cpuset %s\n", cpus.p[i].cpuset);
+ }
+ }
+#endif
+
+ /* Scan L2/L3/... caches */
+ for (i = 0; i < cpus.n; ++i) {
+ unsigned int level = 2;
+ hwloc_bitmap_t cpuset;
+ /* Skip real CPUs */
+ if (NULL != cpus.p[i].cpuset)
+ continue;
+
+ /* Calculate cache level and CPU mask */
+ cpuset = hwloc_bitmap_alloc();
+ if (0 == look_powerpc_device_tree_discover_cache(&cpus,
+ cpus.p[i].phandle, &level, cpuset)) {
+ char cpu[256];
+ snprintf(cpu, sizeof(cpu), "%s/%s", ofroot, cpus.p[i].name);
+ try_add_cache_from_device_tree_cpu(topology, data, cpu, level, cpuset);
+ }
+ hwloc_bitmap_free(cpuset);
+ }
+
+ /* Do cleanup */
+ for (i = 0; i < cpus.n; ++i) {
+ hwloc_bitmap_free(cpus.p[i].cpuset);
+ free(cpus.p[i].name);
+ }
+ free(cpus.p);
+}
+
+/* Try to handle knl hwdata properties
+ * Returns 0 on success and -1 otherwise */
+static int hwloc_linux_try_handle_knl_hwdata_properties(hwloc_topology_t topology, struct hwloc_linux_backend_data_s *data, hwloc_obj_t *nodes, unsigned nbnodes)
+{
+ char *knl_cache_file;
+ long long int cache_size = -1;
+ int associativity = -1;
+ int inclusiveness = -1;
+ int line_size = -1;
+ int version = 0;
+ unsigned i;
+ char buffer[512] = {0};
+ char *data_beg = NULL;
+ char memory_mode_str[32] = {0};
+ char cluster_mode_str[32] = {0};
+ unsigned long MCDRAM_numa_size, DDR_numa_size;
+ unsigned MCDRAM_nbnodes, DDR_nbnodes;
+ unsigned long total_cache_size;
+ char * fallback_env = getenv("HWLOC_KNL_HDH_FALLBACK");
+ int fallback = fallback_env ? atoi(fallback_env) : -1; /* by default, only fallback if needed */
+
+ if (fallback == 1) {
+ hwloc_debug("KNL dumped hwdata ignored, forcing fallback\n");
+ goto fallback;
+ }
+
+ if (asprintf(&knl_cache_file, "%s/knl_memoryside_cache", data->dumped_hwdata_dirname) < 0)
+ goto fallback;
+
+ hwloc_debug("Reading knl cache data from: %s\n", knl_cache_file);
+ if (hwloc_read_path_by_length(knl_cache_file, buffer, sizeof(buffer), data->root_fd) < 0) {
+ hwloc_debug("Unable to open KNL data file `%s' (%s)\n", knl_cache_file, strerror(errno));
+ free(knl_cache_file);
+ goto fallback;
+ }
+ free(knl_cache_file);
+
+ data_beg = &buffer[0];
+
+ /* file must start with version information */
+ if (sscanf(data_beg, "version: %d", &version) != 1) {
+ fprintf(stderr, "Invalid knl_memoryside_cache header, expected \"version: <int>\".\n");
+ goto fallback;
+ }
+
+ while (1) {
+ char *line_end = strstr(data_beg, "\n");
+ if (!line_end)
+ break;
+ if (version >= 1) {
+ if (!strncmp("cache_size:", data_beg, strlen("cache_size"))) {
+ sscanf(data_beg, "cache_size: %lld", &cache_size);
+ hwloc_debug("read cache_size=%lld\n", cache_size);
+ } else if (!strncmp("line_size:", data_beg, strlen("line_size:"))) {
+ sscanf(data_beg, "line_size: %d", &line_size);
+ hwloc_debug("read line_size=%d\n", line_size);
+ } else if (!strncmp("inclusiveness:", data_beg, strlen("inclusiveness:"))) {
+ sscanf(data_beg, "inclusiveness: %d", &inclusiveness);
+ hwloc_debug("read inclusiveness=%d\n", inclusiveness);
+ } else if (!strncmp("associativity:", data_beg, strlen("associativity:"))) {
+ sscanf(data_beg, "associativity: %d\n", &associativity);
+ hwloc_debug("read associativity=%d\n", associativity);
+ }
+ }
+ if (version >= 2) {
+ if (!strncmp("cluster_mode: ", data_beg, strlen("cluster_mode: "))) {
+ size_t length;
+ data_beg += strlen("cluster_mode: ");
+ length = line_end-data_beg;
+ if (length > sizeof(cluster_mode_str)-1)
+ length = sizeof(cluster_mode_str)-1;
+ memcpy(cluster_mode_str, data_beg, length);
+ cluster_mode_str[length] = '\0';
+ hwloc_debug("read cluster_mode=%s\n", cluster_mode_str);
+ } else if (!strncmp("memory_mode: ", data_beg, strlen("memory_mode: "))) {
+ size_t length;
+ data_beg += strlen("memory_mode: ");
+ length = line_end-data_beg;
+ if (length > sizeof(memory_mode_str)-1)
+ length = sizeof(memory_mode_str)-1;
+ memcpy(memory_mode_str, data_beg, length);
+ memory_mode_str[length] = '\0';
+ hwloc_debug("read memory_mode=%s\n", memory_mode_str);
+ }
+ }
+
+ data_beg = line_end + 1;
+ }
+
+ if (line_size == -1 || cache_size == -1 || associativity == -1 || inclusiveness == -1) {
+ hwloc_debug("Incorrect file format line_size=%d cache_size=%lld associativity=%d inclusiveness=%d\n",
+ line_size, cache_size, associativity, inclusiveness);
+ goto fallback;
+ }
+
+ doit:
+ /* In file version 1 mcdram_cache is always non-zero.
+ * In file version 2 mcdram cache can be zero in flat mode. We need to check and do not expose cache in flat mode. */
+ if (cache_size > 0) {
+ for(i=0; i<nbnodes; i++) {
+ hwloc_obj_t cache;
+
+ if (hwloc_bitmap_iszero(nodes[i]->cpuset))
+ /* one L3 per DDR, none for MCDRAM nodes */
+ continue;
+
+ cache = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ if (!cache)
+ return -1;
+
+ cache->attr->cache.depth = 3;
+ cache->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ cache->attr->cache.associativity = associativity;
+ hwloc_obj_add_info(cache, "Inclusive", inclusiveness ? "1" : "0");
+ cache->attr->cache.size = cache_size;
+ cache->attr->cache.linesize = line_size;
+ cache->cpuset = hwloc_bitmap_dup(nodes[i]->cpuset);
+ hwloc_obj_add_info(cache, "Type", "MemorySideCache");
+ hwloc_insert_object_by_cpuset(topology, cache);
+ }
+ }
+ /* adding cluster and memory mode as properties of the machine */
+ if (version >= 2) {
+ if (*cluster_mode_str) /* in case the fallback below couldn't guess */
+ hwloc_obj_add_info(topology->levels[0][0], "ClusterMode", cluster_mode_str);
+ hwloc_obj_add_info(topology->levels[0][0], "MemoryMode", memory_mode_str);
+ }
+
+ return 0;
+
+ fallback:
+ if (fallback == 0) {
+ hwloc_debug("KNL hwdata fallback disabled\n");
+ return -1;
+ }
+
+ hwloc_debug("Falling back to a heuristic\n");
+
+ DDR_numa_size = 0;
+ DDR_nbnodes = 0;
+ MCDRAM_numa_size = 0;
+ MCDRAM_nbnodes = 0;
+ for(i=0; i<nbnodes; i++)
+ if (hwloc_bitmap_iszero(nodes[i]->cpuset)) {
+ MCDRAM_numa_size += nodes[i]->memory.local_memory;
+ MCDRAM_nbnodes++;
+ } else {
+ DDR_numa_size += nodes[i]->memory.local_memory;
+ DDR_nbnodes++;
+ }
+ assert(DDR_nbnodes + MCDRAM_nbnodes == nbnodes);
+
+ /* there can be 0 MCDRAM_nbnodes, but we must have at least one DDR node (not cpuless) */
+ assert(DDR_nbnodes);
+ /* there are either no MCDRAM nodes, or as many as DDR nodes */
+ assert(!MCDRAM_nbnodes || MCDRAM_nbnodes == DDR_nbnodes);
+
+ if (!MCDRAM_nbnodes && DDR_numa_size <= 16UL*1024*1024*1024) {
+ /* We only found DDR numa nodes, but they are <=16GB.
+ * It could be a DDR-less KNL where numa nodes are actually MCDRAM, we can't know for sure.
+ * Both cases are unlikely, disable the heuristic for now.
+ *
+ * In theory we could check if DDR_numa_size == 8/12/16GB exactly (amount of MCDRAM numa size in H50/H25/Flat modes),
+ * but that's never the case since some kilobytes are always stolen by the system.
+ */
+ hwloc_debug("Cannot guess if MCDRAM is in Cache or if the node is DDR-less (total NUMA node size %lu)\n",
+ DDR_numa_size);
+ return -1;
+ }
+
+ /* all commercial KNL/KNM have 16GB of MCDRAM */
+ total_cache_size = 16UL*1024*1024*1024 - MCDRAM_numa_size;
+
+ if (!MCDRAM_nbnodes) {
+ strcpy(memory_mode_str, "Cache");
+ } else {
+ if (!total_cache_size)
+ strcpy(memory_mode_str, "Flat");
+ else if (total_cache_size == 8UL*1024*1024*1024)
+ strcpy(memory_mode_str, "Hybrid50");
+ else if (total_cache_size == 4UL*1024*1024*1024)
+ strcpy(memory_mode_str, "Hybrid25");
+ else
+ fprintf(stderr, "Unexpected KNL MCDRAM cache size %lu\n", total_cache_size);
+ }
+ if (DDR_nbnodes == 4) {
+ strcpy(cluster_mode_str, "SNC4");
+ } else if (DDR_nbnodes == 2) {
+ strcpy(cluster_mode_str, "SNC2");
+ } else if (DDR_nbnodes == 1) {
+ /* either Quadrant, All2ALL or Hemisphere */
+ } else {
+ fprintf(stderr, "Unexpected number of KNL non-MCDRAM NUMA nodes %u\n", DDR_nbnodes);
+ }
+
+ cache_size = total_cache_size/DDR_nbnodes;
+ associativity = 1;
+ inclusiveness = 1;
+ line_size = 64;
+
+ version = 2;
+ goto doit;
+}
+
+
+
+/**************************************
+ ****** Sysfs Topology Discovery ******
+ **************************************/
+
+static int
+look_sysfsnode(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data,
+ const char *path, unsigned *found)
+{
+ unsigned osnode;
+ unsigned nbnodes = 0;
+ DIR *dir;
+ struct dirent *dirent;
+ hwloc_bitmap_t nodeset;
+
+ *found = 0;
+
+ /* Get the list of nodes first */
+ dir = hwloc_opendir(path, data->root_fd);
+ if (dir)
+ {
+ nodeset = hwloc_bitmap_alloc();
+ while ((dirent = readdir(dir)) != NULL)
+ {
+ if (strncmp(dirent->d_name, "node", 4))
+ continue;
+ osnode = strtoul(dirent->d_name+4, NULL, 0);
+ hwloc_bitmap_set(nodeset, osnode);
+ nbnodes++;
+ }
+ closedir(dir);
+ }
+ else
+ return -1;
+
+ if (!nbnodes || (nbnodes == 1 && !data->is_knl)) { /* always keep NUMA for KNL, or configs might look too different */
+ hwloc_bitmap_free(nodeset);
+ return 0;
+ }
+
+ /* For convenience, put these declarations inside a block. */
+
+ {
+ hwloc_obj_t * nodes = calloc(nbnodes, sizeof(hwloc_obj_t));
+ unsigned *indexes = calloc(nbnodes, sizeof(unsigned));
+ float * distances = NULL;
+ int failednodes = 0;
+ unsigned index_;
+
+ if (NULL == nodes || NULL == indexes) {
+ free(nodes);
+ free(indexes);
+ hwloc_bitmap_free(nodeset);
+ nbnodes = 0;
+ goto out;
+ }
+
+ /* Unsparsify node indexes.
+ * We'll need them later because Linux groups sparse distances
+ * and keeps them in order in the sysfs distance files.
+ * It'll simplify things in the meantime.
+ */
+ index_ = 0;
+ hwloc_bitmap_foreach_begin (osnode, nodeset) {
+ indexes[index_] = osnode;
+ index_++;
+ } hwloc_bitmap_foreach_end();
+ hwloc_bitmap_free(nodeset);
+
+#ifdef HWLOC_DEBUG
+ hwloc_debug("%s", "NUMA indexes: ");
+ for (index_ = 0; index_ < nbnodes; index_++) {
+ hwloc_debug(" %u", indexes[index_]);
+ }
+ hwloc_debug("%s", "\n");
+#endif
+
+ /* Create NUMA objects */
+ for (index_ = 0; index_ < nbnodes; index_++) {
+ hwloc_obj_t node, res_obj;
+ int annotate;
+
+ osnode = indexes[index_];
+
+ node = hwloc_get_numanode_obj_by_os_index(topology, osnode);
+ annotate = (node != NULL);
+ if (!annotate) {
+ /* create a new node */
+ char nodepath[SYSFS_NUMA_NODE_PATH_LEN];
+ hwloc_bitmap_t cpuset;
+ sprintf(nodepath, "%s/node%u/cpumap", path, osnode);
+ cpuset = hwloc__alloc_read_path_as_cpumask(nodepath, data->root_fd);
+ if (!cpuset) {
+ /* This NUMA object won't be inserted, we'll ignore distances */
+ failednodes++;
+ continue;
+ }
+
+ node = hwloc_alloc_setup_object(HWLOC_OBJ_NUMANODE, osnode);
+ node->cpuset = cpuset;
+ node->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(node->nodeset, osnode);
+ }
+ hwloc_sysfs_node_meminfo_info(topology, data, path, osnode, &node->memory);
+
+ hwloc_debug_1arg_bitmap("os node %u has cpuset %s\n",
+ osnode, node->cpuset);
+
+ if (annotate) {
+ nodes[index_] = node;
+ } else {
+ res_obj = hwloc_insert_object_by_cpuset(topology, node);
+ if (node == res_obj) {
+ nodes[index_] = node;
+ } else {
+ /* We got merged somehow, could be a buggy BIOS reporting wrong NUMA node cpuset.
+ * This object disappeared, we'll ignore distances */
+ failednodes++;
+ }
+ }
+ }
+
+ if (!failednodes && data->is_knl)
+ hwloc_linux_try_handle_knl_hwdata_properties(topology, data, nodes, nbnodes);
+
+ if (failednodes) {
+ /* failed to read/create some nodes, don't bother reading/fixing
+ * a distance matrix that would likely be wrong anyway.
+ */
+ nbnodes -= failednodes;
+ } else if (nbnodes > 1) {
+ distances = malloc(nbnodes*nbnodes*sizeof(*distances));
+ }
+
+ if (NULL == distances) {
+ free(nodes);
+ free(indexes);
+ goto out;
+ }
+
+ if (hwloc_parse_nodes_distances(path, nbnodes, indexes, distances, data->root_fd) < 0) {
+ free(nodes);
+ free(distances);
+ free(indexes);
+ goto out;
+ }
+
+ if (data->is_knl && distances) {
+ char *env = getenv("HWLOC_KNL_NUMA_QUIRK");
+ if (!(env && !atoi(env)) && nbnodes>=2) { /* SNC2 or SNC4, with 0 or 2/4 MCDRAM, and 0-4 DDR nodes */
+ unsigned i, j, closest;
+ for(i=0; i<nbnodes; i++) {
+ if (!hwloc_bitmap_iszero(nodes[i]->cpuset))
+ /* nodes with CPU, that's DDR, skip it */
+ continue;
+ hwloc_obj_add_info(nodes[i], "Type", "MCDRAM");
+
+ /* DDR is the closest node with CPUs */
+ closest = (unsigned)-1;
+ for(j=0; j<nbnodes; j++) {
+ if (j==i)
+ continue;
+ if (hwloc_bitmap_iszero(nodes[j]->cpuset))
+ /* nodes without CPU, that's another MCDRAM, skip it */
+ continue;
+ if (closest == (unsigned)-1 || distances[i*nbnodes+j]<distances[i*nbnodes+closest])
+ closest = j;
+ }
+ if (closest != (unsigned) -1) {
+ /* Add a Group for Cluster containing this MCDRAM + DDR */
+ hwloc_obj_t cluster = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, -1);
+ cluster->cpuset = hwloc_bitmap_dup(nodes[i]->cpuset);
+ cluster->nodeset = hwloc_bitmap_dup(nodes[i]->nodeset);
+ hwloc_bitmap_or(cluster->cpuset, cluster->cpuset, nodes[closest]->cpuset);
+ hwloc_bitmap_or(cluster->nodeset, cluster->nodeset, nodes[closest]->nodeset);
+ hwloc_obj_add_info(cluster, "Type", "Cluster");
+ hwloc_insert_object_by_cpuset(topology, cluster);
+ }
+ }
+ /* drop the distance matrix, it contradicts the above NUMA layout groups */
+ free(distances);
+ free(nodes);
+ free(indexes);
+ goto out;
+ }
+ }
+
+ hwloc_distances_set(topology, HWLOC_OBJ_NUMANODE, nbnodes, indexes, nodes, distances, 0 /* OS cannot force */);
+ }
+
+ out:
+ *found = nbnodes;
+ return 0;
+}
+
+/* Look at Linux' /sys/devices/system/cpu/cpu%d/topology/ */
+static int
+look_sysfscpu(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data,
+ const char *path, int old_filenames,
+ struct hwloc_linux_cpuinfo_proc * cpuinfo_Lprocs, unsigned cpuinfo_numprocs)
+{
+ hwloc_bitmap_t cpuset; /* Set of cpus for which we have topology information */
+#define CPU_TOPOLOGY_STR_LEN 128
+ char str[CPU_TOPOLOGY_STR_LEN];
+ DIR *dir;
+ int i,j;
+ unsigned caches_added, merge_buggy_core_siblings;
+ hwloc_obj_t packages = NULL; /* temporary list of packages before actual insert in the tree */
+ int threadwithcoreid = data->is_amd_with_CU ? -1 : 0; /* -1 means we don't know yet if threads have their own coreids within thread_siblings */
+ int dont_merge_die_groups;
+ const char *env;
+
+ /* fill the cpuset of interesting cpus */
+ dir = hwloc_opendir(path, data->root_fd);
+ if (!dir)
+ return -1;
+ else {
+ struct dirent *dirent;
+ cpuset = hwloc_bitmap_alloc();
+
+ while ((dirent = readdir(dir)) != NULL) {
+ unsigned long cpu;
+ char online[2];
+
+ if (strncmp(dirent->d_name, "cpu", 3))
+ continue;
+ cpu = strtoul(dirent->d_name+3, NULL, 0);
+
+ /* Maybe we don't have topology information but at least it exists */
+ hwloc_bitmap_set(topology->levels[0][0]->complete_cpuset, cpu);
+
+ /* check whether this processor is online */
+ sprintf(str, "%s/cpu%lu/online", path, cpu);
+ if (hwloc_read_path_by_length(str, online, sizeof(online), data->root_fd) == 0) {
+ if (atoi(online)) {
+ hwloc_debug("os proc %lu is online\n", cpu);
+ } else {
+ hwloc_debug("os proc %lu is offline\n", cpu);
+ hwloc_bitmap_clr(topology->levels[0][0]->online_cpuset, cpu);
+ }
+ }
+
+ /* check whether the kernel exports topology information for this cpu */
+ sprintf(str, "%s/cpu%lu/topology", path, cpu);
+ if (hwloc_access(str, X_OK, data->root_fd) < 0 && errno == ENOENT) {
+ hwloc_debug("os proc %lu has no accessible %s/cpu%lu/topology\n",
+ cpu, path, cpu);
+ continue;
+ }
+
+ hwloc_bitmap_set(cpuset, cpu);
+ }
+ closedir(dir);
+ }
+
+ topology->support.discovery->pu = 1;
+ hwloc_debug_1arg_bitmap("found %d cpu topologies, cpuset %s\n",
+ hwloc_bitmap_weight(cpuset), cpuset);
+
+ merge_buggy_core_siblings = (data->arch == HWLOC_LINUX_ARCH_X86);
+ caches_added = 0;
+ env = getenv("HWLOC_DONT_MERGE_DIE_GROUPS");
+ dont_merge_die_groups = env && atoi(env);
+ hwloc_bitmap_foreach_begin(i, cpuset) {
+ hwloc_bitmap_t packageset, coreset, bookset, threadset, dieset = NULL;
+ unsigned mypackageid, mydieid, mycoreid, mybookid;
+ int tmpint;
+
+ /* look at the die */
+ sprintf(str, "%s/cpu%d/topology/die_cpus", path, i);
+ dieset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd);
+ if (dieset) {
+ if (hwloc_bitmap_first(dieset) == i) {
+ hwloc_bitmap_free(dieset);
+ dieset = NULL;
+ }
+ /* look at packages before deciding whether we keep that die or not */
+ }
+
+ /* look at the package */
+ if (old_filenames)
+ sprintf(str, "%s/cpu%d/topology/core_siblings", path, i);
+ else
+ sprintf(str, "%s/cpu%d/topology/package_cpus", path, i);
+ packageset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd);
+ if (packageset && dieset && hwloc_bitmap_isequal(packageset, dieset)) {
+ /* die is identical to package, ignore it */
+ hwloc_bitmap_free(dieset);
+ dieset = NULL;
+ }
+ if (packageset && hwloc_bitmap_first(packageset) == i) {
+ /* first cpu in this package, add the package */
+ struct hwloc_obj *package;
+
+ mypackageid = (unsigned) -1;
+ sprintf(str, "%s/cpu%d/topology/physical_package_id", path, i); /* contains %d at least up to 4.9 */
+ if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0)
+ mypackageid = (unsigned) tmpint;
+
+ if (merge_buggy_core_siblings) {
+ /* check for another package with same physical_package_id */
+ hwloc_obj_t curpackage = packages;
+ while (curpackage) {
+ if (curpackage->os_index == mypackageid) {
+ /* found another package with same physical_package_id but different core_siblings.
+ * looks like a buggy kernel on Intel Xeon E5 v3 processor with two rings.
+ * merge these core_siblings to extend the existing first package object.
+ */
+ static int reported = 0;
+ if (!reported && !hwloc_hide_errors()) {
+ char *a, *b;
+ hwloc_bitmap_asprintf(&a, curpackage->cpuset);
+ hwloc_bitmap_asprintf(&b, packageset);
+ fprintf(stderr, "****************************************************************************\n");
+ fprintf(stderr, "* hwloc %s has detected buggy sysfs package information: Two packages have\n", HWLOC_VERSION);
+ fprintf(stderr, "* the same physical package id %u but different core_siblings %s and %s\n",
+ mypackageid, a, b);
+ fprintf(stderr, "* hwloc is merging these packages into a single one assuming your Linux kernel\n");
+ fprintf(stderr, "* does not support this processor correctly.\n");
+ fprintf(stderr, "* You may hide this warning by setting HWLOC_HIDE_ERRORS=1 in the environment.\n");
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* If hwloc does not report the right number of packages,\n");
+ fprintf(stderr, "* please report this error message to the hwloc user's mailing list,\n");
+ fprintf(stderr, "* along with the files generated by the hwloc-gather-topology script.\n");
+ fprintf(stderr, "****************************************************************************\n");
+ reported = 1;
+ free(a);
+ free(b);
+ }
+ hwloc_bitmap_or(curpackage->cpuset, curpackage->cpuset, packageset);
+ goto package_done;
+ }
+ curpackage = curpackage->next_cousin;
+ }
+ }
+
+ /* no package with same physical_package_id, create a new one */
+ package = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, mypackageid);
+ package->cpuset = packageset;
+ hwloc_debug_1arg_bitmap("os package %u has cpuset %s\n",
+ mypackageid, packageset);
+ /* add cpuinfo */
+ if (cpuinfo_Lprocs) {
+ for(j=0; j<(int) cpuinfo_numprocs; j++)
+ if ((int) cpuinfo_Lprocs[j].Pproc == i) {
+ hwloc__move_infos(&package->infos, &package->infos_count,
+ &cpuinfo_Lprocs[j].infos, &cpuinfo_Lprocs[j].infos_count);
+ }
+ }
+ /* insert in a temporary list in case we have to modify the cpuset by merging other core_siblings later.
+ * we'll actually insert the tree at the end of the entire sysfs cpu loop.
+ */
+ package->next_cousin = packages;
+ packages = package;
+
+ packageset = NULL; /* don't free it */
+ }
+package_done:
+ hwloc_bitmap_free(packageset);
+
+ if (dieset) {
+ struct hwloc_obj *die;
+
+ mydieid = (unsigned) -1;
+ sprintf(str, "%s/cpu%d/topology/die_id", path, i); /* contains %d when added in 5.2 */
+ if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0) {
+ mydieid = (unsigned) tmpint;
+
+ die = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, mydieid);
+ die->cpuset = dieset;
+ hwloc_debug_1arg_bitmap("os die %u has cpuset %s\n",
+ mydieid, dieset);
+ hwloc_obj_add_info(die, "Type", "Die");
+ die->attr->group.dont_merge = dont_merge_die_groups;
+ hwloc_insert_object_by_cpuset(topology, die);
+ }
+ }
+
+ /* look at the core */
+ if (old_filenames)
+ sprintf(str, "%s/cpu%d/topology/thread_siblings", path, i);
+ else
+ sprintf(str, "%s/cpu%d/topology/core_cpus", path, i);
+ coreset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd);
+
+ if (coreset) {
+ int gotcoreid = 0; /* to avoid reading the coreid twice */
+ if (hwloc_bitmap_weight(coreset) > 1 && threadwithcoreid == -1) {
+ /* check if this is hyper-threading or different coreids */
+ unsigned siblingid, siblingcoreid;
+
+ mycoreid = (unsigned) -1;
+ sprintf(str, "%s/cpu%d/topology/core_id", path, i); /* contains %d at least up to 4.9 */
+ if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0)
+ mycoreid = (unsigned) tmpint;
+ gotcoreid = 1;
+
+ siblingid = hwloc_bitmap_first(coreset);
+ if (siblingid == (unsigned) i)
+ siblingid = hwloc_bitmap_next(coreset, i);
+ siblingcoreid = (unsigned) -1;
+ sprintf(str, "%s/cpu%u/topology/core_id", path, siblingid); /* contains %d at least up to 4.9 */
+ if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0)
+ siblingcoreid = (unsigned) tmpint;
+ threadwithcoreid = (siblingcoreid != mycoreid);
+ }
+ if (hwloc_bitmap_first(coreset) == i || threadwithcoreid) {
+ /* regular core */
+ struct hwloc_obj *core;
+
+ if (!gotcoreid) {
+ mycoreid = (unsigned) -1;
+ sprintf(str, "%s/cpu%d/topology/core_id", path, i); /* contains %d at least up to 4.9 */
+ if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0)
+ mycoreid = (unsigned) tmpint;
+ }
+
+ core = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, mycoreid);
+ if (threadwithcoreid)
+ /* amd multicore compute-unit, create one core per thread */
+ hwloc_bitmap_only(coreset, i);
+ core->cpuset = coreset;
+ hwloc_debug_1arg_bitmap("os core %u has cpuset %s\n",
+ mycoreid, core->cpuset);
+ hwloc_insert_object_by_cpuset(topology, core);
+ coreset = NULL; /* don't free it */
+ }
+ hwloc_bitmap_free(coreset);
+ }
+
+ /* look at the books */
+ sprintf(str, "%s/cpu%d/topology/book_siblings", path, i);
+ bookset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd);
+ if (bookset) {
+ if (hwloc_bitmap_first(bookset) == i) {
+ struct hwloc_obj *book;
+
+ mybookid = (unsigned) -1;
+ sprintf(str, "%s/cpu%d/topology/book_id", path, i); /* contains %d at least up to 4.9 */
+ if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0) {
+ mybookid = (unsigned) tmpint;
+
+ book = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, mybookid);
+ book->cpuset = bookset;
+ hwloc_debug_1arg_bitmap("os book %u has cpuset %s\n",
+ mybookid, bookset);
+ hwloc_obj_add_info(book, "Type", "Book");
+ hwloc_insert_object_by_cpuset(topology, book);
+ bookset = NULL; /* don't free it */
+ }
+ }
+ hwloc_bitmap_free(bookset);
+ }
+
+ {
+ /* look at the thread */
+ struct hwloc_obj *thread = hwloc_alloc_setup_object(HWLOC_OBJ_PU, i);
+ threadset = hwloc_bitmap_alloc();
+ hwloc_bitmap_only(threadset, i);
+ thread->cpuset = threadset;
+ hwloc_debug_1arg_bitmap("thread %d has cpuset %s\n",
+ i, threadset);
+ hwloc_insert_object_by_cpuset(topology, thread);
+ }
+
+ /* look at the caches */
+ for(j=0; j<10; j++) {
+ char str2[20]; /* enough for a level number (one digit) or a type (Data/Instruction/Unified) */
+ hwloc_bitmap_t cacheset;
+
+ sprintf(str, "%s/cpu%d/cache/index%d/shared_cpu_map", path, i, j);
+ cacheset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd);
+ if (cacheset) {
+ if (hwloc_bitmap_iszero(cacheset)) {
+ hwloc_bitmap_t tmpset;
+ /* ia64 returning empty L3 and L2i? use the core set instead */
+ if (old_filenames)
+ sprintf(str, "%s/cpu%d/topology/thread_siblings", path, i);
+ else
+ sprintf(str, "%s/cpu%d/topology/core_cpus", path, i);
+ tmpset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd);
+ /* only use it if we actually got something */
+ if (tmpset) {
+ hwloc_bitmap_free(cacheset);
+ cacheset = tmpset;
+ }
+ }
+
+ if (hwloc_bitmap_first(cacheset) == i) {
+ unsigned kB;
+ unsigned linesize;
+ unsigned sets, lines_per_tag;
+ unsigned depth; /* 1 for L1, .... */
+ hwloc_obj_cache_type_t type = HWLOC_OBJ_CACHE_UNIFIED; /* default */
+ struct hwloc_obj *cache;
+
+ /* get the cache level depth */
+ sprintf(str, "%s/cpu%d/cache/index%d/level", path, i, j); /* contains %u at least up to 4.9 */
+ if (hwloc_read_path_as_uint(str, &depth, data->root_fd) < 0) {
+ hwloc_bitmap_free(cacheset);
+ continue;
+ }
+
+ /* cache type */
+ sprintf(str, "%s/cpu%d/cache/index%d/type", path, i, j);
+ if (hwloc_read_path_by_length(str, str2, sizeof(str2), data->root_fd) == 0) {
+ if (!strncmp(str2, "Data", 4))
+ type = HWLOC_OBJ_CACHE_DATA;
+ else if (!strncmp(str2, "Unified", 7))
+ type = HWLOC_OBJ_CACHE_UNIFIED;
+ else if (!strncmp(str2, "Instruction", 11))
+ type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ else {
+ hwloc_bitmap_free(cacheset);
+ continue;
+ }
+ } else {
+ hwloc_bitmap_free(cacheset);
+ continue;
+ }
+
+ /* get the cache size */
+ kB = 0;
+ sprintf(str, "%s/cpu%d/cache/index%d/size", path, i, j); /* contains %uK at least up to 4.9 */
+ hwloc_read_path_as_uint(str, &kB, data->root_fd);
+ /* KNL reports L3 with size=0 and full cpuset in cpuid.
+ * Let hwloc_linux_try_add_knl_mcdram_cache() detect it better.
+ */
+ if (!kB && depth == 3 && data->is_knl) {
+ hwloc_bitmap_free(cacheset);
+ continue;
+ }
+
+ /* get the line size */
+ linesize = 0;
+ sprintf(str, "%s/cpu%d/cache/index%d/coherency_line_size", path, i, j); /* contains %u at least up to 4.9 */
+ hwloc_read_path_as_uint(str, &linesize, data->root_fd);
+
+ /* get the number of sets and lines per tag.
+ * don't take the associativity directly in "ways_of_associativity" because
+ * some archs (ia64, ppc) put 0 there when fully-associative, while others (x86) put something like -1 there.
+ */
+ sets = 0;
+ sprintf(str, "%s/cpu%d/cache/index%d/number_of_sets", path, i, j); /* contains %u at least up to 4.9 */
+ hwloc_read_path_as_uint(str, &sets, data->root_fd);
+
+ lines_per_tag = 1;
+ sprintf(str, "%s/cpu%d/cache/index%d/physical_line_partition", path, i, j); /* contains %u at least up to 4.9 */
+ hwloc_read_path_as_uint(str, &lines_per_tag, data->root_fd);
+
+ /* first cpu in this cache, add the cache */
+ cache = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ cache->attr->cache.size = ((uint64_t)kB) << 10;
+ cache->attr->cache.depth = depth;
+ cache->attr->cache.linesize = linesize;
+ cache->attr->cache.type = type;
+ if (!linesize || !lines_per_tag || !sets)
+ cache->attr->cache.associativity = 0; /* unknown */
+ else if (sets == 1)
+ cache->attr->cache.associativity = 0; /* likely wrong, make it unknown */
+ else
+ cache->attr->cache.associativity = (kB << 10) / linesize / lines_per_tag / sets;
+ cache->cpuset = cacheset;
+ hwloc_debug_1arg_bitmap("cache depth %u has cpuset %s\n",
+ depth, cacheset);
+ hwloc_insert_object_by_cpuset(topology, cache);
+ cacheset = NULL; /* don't free it */
+ ++caches_added;
+ }
+ }
+ hwloc_bitmap_free(cacheset);
+ }
+ } hwloc_bitmap_foreach_end();
+
+ /* actually insert in the tree now that package cpusets have been fixed-up */
+ while (packages) {
+ hwloc_obj_t next = packages->next_cousin;
+ packages->next_cousin = NULL;
+ hwloc_insert_object_by_cpuset(topology, packages);
+ packages = next;
+ }
+
+ if (0 == caches_added)
+ look_powerpc_device_tree(topology, data);
+
+ hwloc_bitmap_free(cpuset);
+
+ return 0;
+}
+
+
+
+/****************************************
+ ****** cpuinfo Topology Discovery ******
+ ****************************************/
+
+static int
+hwloc_linux_parse_cpuinfo_x86(const char *prefix, const char *value,
+ struct hwloc_obj_info_s **infos, unsigned *infos_count,
+ int is_global __hwloc_attribute_unused)
+{
+ if (!strcmp("vendor_id", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUVendor", value);
+ } else if (!strcmp("model name", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUModel", value);
+ } else if (!strcmp("model", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUModelNumber", value);
+ } else if (!strcmp("cpu family", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUFamilyNumber", value);
+ } else if (!strcmp("stepping", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUStepping", value);
+ }
+ return 0;
+}
+
+static int
+hwloc_linux_parse_cpuinfo_ia64(const char *prefix, const char *value,
+ struct hwloc_obj_info_s **infos, unsigned *infos_count,
+ int is_global __hwloc_attribute_unused)
+{
+ if (!strcmp("vendor", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUVendor", value);
+ } else if (!strcmp("model name", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUModel", value);
+ } else if (!strcmp("model", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUModelNumber", value);
+ } else if (!strcmp("family", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUFamilyNumber", value);
+ }
+ return 0;
+}
+
+static int
+hwloc_linux_parse_cpuinfo_arm(const char *prefix, const char *value,
+ struct hwloc_obj_info_s **infos, unsigned *infos_count,
+ int is_global __hwloc_attribute_unused)
+{
+ if (!strcmp("Processor", prefix) /* old kernels with one Processor header */
+ || !strcmp("model name", prefix) /* new kernels with one model name per core */) {
+ hwloc__add_info(infos, infos_count, "CPUModel", value);
+ } else if (!strcmp("CPU implementer", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUImplementer", value);
+ } else if (!strcmp("CPU architecture", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUArchitecture", value);
+ } else if (!strcmp("CPU variant", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUVariant", value);
+ } else if (!strcmp("CPU part", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUPart", value);
+ } else if (!strcmp("CPU revision", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPURevision", value);
+ } else if (!strcmp("Hardware", prefix)) {
+ hwloc__add_info(infos, infos_count, "HardwareName", value);
+ } else if (!strcmp("Revision", prefix)) {
+ hwloc__add_info(infos, infos_count, "HardwareRevision", value);
+ } else if (!strcmp("Serial", prefix)) {
+ hwloc__add_info(infos, infos_count, "HardwareSerial", value);
+ }
+ return 0;
+}
+
+static int
+hwloc_linux_parse_cpuinfo_ppc(const char *prefix, const char *value,
+ struct hwloc_obj_info_s **infos, unsigned *infos_count,
+ int is_global)
+{
+ /* common fields */
+ if (!strcmp("cpu", prefix)) {
+ hwloc__add_info(infos, infos_count, "CPUModel", value);
+ } else if (!strcmp("platform", prefix)) {
+ hwloc__add_info(infos, infos_count, "PlatformName", value);
+ } else if (!strcmp("model", prefix)) {
+ hwloc__add_info(infos, infos_count, "PlatformModel", value);
+ }
+ /* platform-specific fields */
+ else if (!strcasecmp("vendor", prefix)) {
+ hwloc__add_info(infos, infos_count, "PlatformVendor", value);
+ } else if (!strcmp("Board ID", prefix)) {
+ hwloc__add_info(infos, infos_count, "PlatformBoardID", value);
+ } else if (!strcmp("Board", prefix)
+ || !strcasecmp("Machine", prefix)) {
+ /* machine and board are similar (and often more precise) than model above */
+ char **valuep = hwloc__find_info_slot(infos, infos_count, "PlatformModel");
+ if (*valuep)
+ free(*valuep);
+ *valuep = strdup(value);
+ } else if (!strcasecmp("Revision", prefix)
+ || !strcmp("Hardware rev", prefix)) {
+ hwloc__add_info(infos, infos_count, is_global ? "PlatformRevision" : "CPURevision", value);
+ } else if (!strcmp("SVR", prefix)) {
+ hwloc__add_info(infos, infos_count, "SystemVersionRegister", value);
+ } else if (!strcmp("PVR", prefix)) {
+ hwloc__add_info(infos, infos_count, "ProcessorVersionRegister", value);
+ }
+ /* don't match 'board*' because there's also "board l2" on some platforms */
+ return 0;
+}
+
+/*
+ * avr32: "chip type\t:" => OK
+ * blackfin: "model name\t:" => OK
+ * h8300: "CPU:" => OK
+ * m68k: "CPU:" => OK
+ * mips: "cpu model\t\t:" => OK
+ * openrisc: "CPU:" => OK
+ * sparc: "cpu\t\t:" => OK
+ * tile: "model name\t:" => OK
+ * unicore32: "Processor\t:" => OK
+ * alpha: "cpu\t\t\t: Alpha" + "cpu model\t\t:" => "cpu" overwritten by "cpu model", no processor indexes
+ * cris: "cpu\t\t:" + "cpu model\t:" => only "cpu"
+ * frv: "CPU-Core:" + "CPU:" => only "CPU"
+ * mn10300: "cpu core :" + "model name :" => only "model name"
+ * parisc: "cpu family\t:" + "cpu\t\t:" => only "cpu"
+ *
+ * not supported because of conflicts with other arch minor lines:
+ * m32r: "cpu family\t:" => KO (adding "cpu family" would break "blackfin")
+ * microblaze: "CPU-Family:" => KO
+ * sh: "cpu family\t:" + "cpu type\t:" => KO
+ * xtensa: "model\t\t:" => KO
+ */
+static int
+hwloc_linux_parse_cpuinfo_generic(const char *prefix, const char *value,
+ struct hwloc_obj_info_s **infos, unsigned *infos_count,
+ int is_global __hwloc_attribute_unused)
+{
+ if (!strcmp("model name", prefix)
+ || !strcmp("Processor", prefix)
+ || !strcmp("chip type", prefix)
+ || !strcmp("cpu model", prefix)
+ || !strcasecmp("cpu", prefix)) {
+ /* keep the last one, assume it's more precise than the first one.
+ * we should have the Architecture keypair for basic information anyway.
+ */
+ char **valuep = hwloc__find_info_slot(infos, infos_count, "CPUModel");
+ if (*valuep)
+ free(*valuep);
+ *valuep = strdup(value);
+ }
+ return 0;
+}
+
+/* Lprocs_p set to NULL unless returns > 0 */
+static int
+hwloc_linux_parse_cpuinfo(struct hwloc_linux_backend_data_s *data,
+ const char *path,
+ struct hwloc_linux_cpuinfo_proc ** Lprocs_p,
+ struct hwloc_obj_info_s **global_infos, unsigned *global_infos_count)
+{
+ FILE *fd;
+ char *str = NULL;
+ char *endptr;
+ unsigned len;
+ unsigned allocated_Lprocs = 0;
+ struct hwloc_linux_cpuinfo_proc * Lprocs = NULL;
+ unsigned numprocs = 0;
+ int curproc = -1;
+ int (*parse_cpuinfo_func)(const char *, const char *, struct hwloc_obj_info_s **, unsigned *, int) = NULL;
+
+ if (!(fd=hwloc_fopen(path,"r", data->root_fd)))
+ {
+ hwloc_debug("could not open %s\n", path);
+ return -1;
+ }
+
+# define PROCESSOR "processor"
+# define PACKAGEID "physical id" /* the longest one */
+# define COREID "core id"
+ len = 128; /* vendor/model can be very long */
+ str = malloc(len);
+ hwloc_debug("\n\n * Topology extraction from %s *\n\n", path);
+ while (fgets(str,len,fd)!=NULL) {
+ unsigned long Ppkg, Pcore, Pproc;
+ char *end, *dot, *prefix, *value;
+ int noend = 0;
+
+ /* remove the ending \n */
+ end = strchr(str, '\n');
+ if (end)
+ *end = 0;
+ else
+ noend = 1;
+ /* if empty line, skip and reset curproc */
+ if (!*str) {
+ curproc = -1;
+ continue;
+ }
+ /* skip lines with no dot */
+ dot = strchr(str, ':');
+ if (!dot)
+ continue;
+ /* skip lines not starting with a letter */
+ if ((*str > 'z' || *str < 'a')
+ && (*str > 'Z' || *str < 'A'))
+ continue;
+
+ /* mark the end of the prefix */
+ prefix = str;
+ end = dot;
+ while (end[-1] == ' ' || end[-1] == '\t') end--; /* need a strrspn() */
+ *end = 0;
+ /* find beginning of value, its end is already marked */
+ value = dot+1 + strspn(dot+1, " \t");
+
+ /* defines for parsing numbers */
+# define getprocnb_begin(field, var) \
+ if (!strcmp(field,prefix)) { \
+ var = strtoul(value,&endptr,0); \
+ if (endptr==value) { \
+ hwloc_debug("no number in "field" field of %s\n", path); \
+ goto err; \
+ } else if (var==ULONG_MAX) { \
+ hwloc_debug("too big "field" number in %s\n", path); \
+ goto err; \
+ } \
+ hwloc_debug(field " %lu\n", var)
+# define getprocnb_end() \
+ }
+ /* actually parse numbers */
+ getprocnb_begin(PROCESSOR, Pproc);
+ curproc = numprocs++;
+ if (numprocs > allocated_Lprocs) {
+ struct hwloc_linux_cpuinfo_proc * tmp;
+ if (!allocated_Lprocs)
+ allocated_Lprocs = 8;
+ else
+ allocated_Lprocs *= 2;
+ tmp = realloc(Lprocs, allocated_Lprocs * sizeof(*Lprocs));
+ if (!tmp)
+ goto err;
+ Lprocs = tmp;
+ }
+ Lprocs[curproc].Pproc = Pproc;
+ Lprocs[curproc].Pcore = -1;
+ Lprocs[curproc].Ppkg = -1;
+ Lprocs[curproc].Lcore = -1;
+ Lprocs[curproc].Lpkg = -1;
+ Lprocs[curproc].infos = NULL;
+ Lprocs[curproc].infos_count = 0;
+ getprocnb_end() else
+ getprocnb_begin(PACKAGEID, Ppkg);
+ Lprocs[curproc].Ppkg = Ppkg;
+ getprocnb_end() else
+ getprocnb_begin(COREID, Pcore);
+ Lprocs[curproc].Pcore = Pcore;
+ getprocnb_end() else {
+
+ /* architecture specific or default routine for parsing cpumodel */
+ switch (data->arch) {
+ case HWLOC_LINUX_ARCH_X86:
+ parse_cpuinfo_func = hwloc_linux_parse_cpuinfo_x86;
+ break;
+ case HWLOC_LINUX_ARCH_ARM:
+ parse_cpuinfo_func = hwloc_linux_parse_cpuinfo_arm;
+ break;
+ case HWLOC_LINUX_ARCH_POWER:
+ parse_cpuinfo_func = hwloc_linux_parse_cpuinfo_ppc;
+ break;
+ case HWLOC_LINUX_ARCH_IA64:
+ parse_cpuinfo_func = hwloc_linux_parse_cpuinfo_ia64;
+ break;
+ default:
+ parse_cpuinfo_func = hwloc_linux_parse_cpuinfo_generic;
+ }
+
+ /* we can't assume that we already got a processor index line:
+ * alpha/frv/h8300/m68k/microblaze/sparc have no processor lines at all, only a global entry.
+ * tile has a global section with model name before the list of processor lines.
+ */
+ parse_cpuinfo_func(prefix, value,
+ curproc >= 0 ? &Lprocs[curproc].infos : global_infos,
+ curproc >= 0 ? &Lprocs[curproc].infos_count : global_infos_count,
+ curproc < 0);
+ }
+
+ if (noend) {
+ /* ignore end of line */
+ if (fscanf(fd,"%*[^\n]") == EOF)
+ break;
+ getc(fd);
+ }
+ }
+ fclose(fd);
+ free(str);
+
+ *Lprocs_p = Lprocs;
+ return numprocs;
+
+ err:
+ fclose(fd);
+ free(str);
+ free(Lprocs);
+ *Lprocs_p = NULL;
+ return -1;
+}
+
+static void
+hwloc_linux_free_cpuinfo(struct hwloc_linux_cpuinfo_proc * Lprocs, unsigned numprocs,
+ struct hwloc_obj_info_s *global_infos, unsigned global_infos_count)
+{
+ if (Lprocs) {
+ unsigned i;
+ for(i=0; i<numprocs; i++) {
+ hwloc__free_infos(Lprocs[i].infos, Lprocs[i].infos_count);
+ }
+ free(Lprocs);
+ }
+ hwloc__free_infos(global_infos, global_infos_count);
+}
+
+static int
+look_cpuinfo(struct hwloc_topology *topology,
+ struct hwloc_linux_cpuinfo_proc * Lprocs,
+ unsigned numprocs, hwloc_bitmap_t online_cpuset)
+{
+ /* P for physical/OS index, L for logical (e.g. in we order we get them, not in the final hwloc logical order) */
+ unsigned *Lcore_to_Pcore;
+ unsigned *Lcore_to_Ppkg; /* needed because Lcore is equivalent to Pcore+Ppkg, not to Pcore alone */
+ unsigned *Lpkg_to_Ppkg;
+ unsigned numpkgs=0;
+ unsigned numcores=0;
+ unsigned long Lproc;
+ unsigned missingpkg;
+ unsigned missingcore;
+ unsigned i,j;
+ hwloc_bitmap_t cpuset;
+
+ /* initialize misc arrays, there can be at most numprocs entries */
+ Lcore_to_Pcore = malloc(numprocs * sizeof(*Lcore_to_Pcore));
+ Lcore_to_Ppkg = malloc(numprocs * sizeof(*Lcore_to_Ppkg));
+ Lpkg_to_Ppkg = malloc(numprocs * sizeof(*Lpkg_to_Ppkg));
+ for (i = 0; i < numprocs; i++) {
+ Lcore_to_Pcore[i] = -1;
+ Lcore_to_Ppkg[i] = -1;
+ Lpkg_to_Ppkg[i] = -1;
+ }
+
+ cpuset = hwloc_bitmap_alloc();
+
+ /* create PU objects */
+ for(Lproc=0; Lproc<numprocs; Lproc++) {
+ unsigned long Pproc = Lprocs[Lproc].Pproc;
+ hwloc_obj_t obj = hwloc_alloc_setup_object(HWLOC_OBJ_PU, Pproc);
+ hwloc_bitmap_set(cpuset, Pproc);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_only(obj->cpuset, Pproc);
+ hwloc_debug_2args_bitmap("cpu %lu (os %lu) has cpuset %s\n",
+ Lproc, Pproc, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+
+ topology->support.discovery->pu = 1;
+ hwloc_bitmap_copy(online_cpuset, cpuset);
+ hwloc_bitmap_free(cpuset);
+
+ hwloc_debug("%u online processors found\n", numprocs);
+ hwloc_debug_bitmap("online processor cpuset: %s\n", online_cpuset);
+
+ hwloc_debug("%s", "\n * Topology summary *\n");
+ hwloc_debug("%u processors)\n", numprocs);
+
+ /* fill Lprocs[].Lpkg and Lpkg_to_Ppkg */
+ for(Lproc=0; Lproc<numprocs; Lproc++) {
+ long Ppkg = Lprocs[Lproc].Ppkg;
+ if (Ppkg != -1) {
+ unsigned long Pproc = Lprocs[Lproc].Pproc;
+ for (i=0; i<numpkgs; i++)
+ if ((unsigned) Ppkg == Lpkg_to_Ppkg[i])
+ break;
+ Lprocs[Lproc].Lpkg = i;
+ hwloc_debug("%lu on package %u (%lx)\n", Pproc, i, (unsigned long) Ppkg);
+ if (i==numpkgs) {
+ Lpkg_to_Ppkg[numpkgs] = Ppkg;
+ numpkgs++;
+ }
+ }
+ }
+ /* Some buggy Linuxes don't provide numbers for processor 0, which makes us
+ * provide bogus information. We should rather drop it. */
+ missingpkg=0;
+ for(j=0; j<numprocs; j++)
+ if (Lprocs[j].Ppkg == -1) {
+ missingpkg=1;
+ break;
+ }
+ /* create package objects */
+ hwloc_debug("%u pkgs%s\n", numpkgs, missingpkg ? ", but some missing package" : "");
+ if (!missingpkg && numpkgs>0) {
+ for (i = 0; i < numpkgs; i++) {
+ struct hwloc_obj *obj = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, Lpkg_to_Ppkg[i]);
+ int doneinfos = 0;
+ obj->cpuset = hwloc_bitmap_alloc();
+ for(j=0; j<numprocs; j++)
+ if ((unsigned) Lprocs[j].Lpkg == i) {
+ hwloc_bitmap_set(obj->cpuset, Lprocs[j].Pproc);
+ if (!doneinfos) {
+ hwloc__move_infos(&obj->infos, &obj->infos_count, &Lprocs[j].infos, &Lprocs[j].infos_count);
+ doneinfos = 1;
+ }
+ }
+ hwloc_debug_1arg_bitmap("Package %u has cpuset %s\n", i, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ hwloc_debug("%s", "\n");
+ }
+
+ /* fill Lprocs[].Lcore, Lcore_to_Ppkg and Lcore_to_Pcore */
+ for(Lproc=0; Lproc<numprocs; Lproc++) {
+ long Pcore = Lprocs[Lproc].Pcore;
+ if (Pcore != -1) {
+ for (i=0; i<numcores; i++)
+ if ((unsigned) Pcore == Lcore_to_Pcore[i] && (unsigned) Lprocs[Lproc].Ppkg == Lcore_to_Ppkg[i])
+ break;
+ Lprocs[Lproc].Lcore = i;
+ if (i==numcores) {
+ Lcore_to_Ppkg[numcores] = Lprocs[Lproc].Ppkg;
+ Lcore_to_Pcore[numcores] = Pcore;
+ numcores++;
+ }
+ }
+ }
+ /* Some buggy Linuxes don't provide numbers for processor 0, which makes us
+ * provide bogus information. We should rather drop it. */
+ missingcore=0;
+ for(j=0; j<numprocs; j++)
+ if (Lprocs[j].Pcore == -1) {
+ missingcore=1;
+ break;
+ }
+ /* create Core objects */
+ hwloc_debug("%u cores%s\n", numcores, missingcore ? ", but some missing core" : "");
+ if (!missingcore && numcores>0) {
+ for (i = 0; i < numcores; i++) {
+ struct hwloc_obj *obj = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, Lcore_to_Pcore[i]);
+ obj->cpuset = hwloc_bitmap_alloc();
+ for(j=0; j<numprocs; j++)
+ if ((unsigned) Lprocs[j].Lcore == i)
+ hwloc_bitmap_set(obj->cpuset, Lprocs[j].Pproc);
+ hwloc_debug_1arg_bitmap("Core %u has cpuset %s\n", i, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ hwloc_debug("%s", "\n");
+ }
+
+ free(Lcore_to_Pcore);
+ free(Lcore_to_Ppkg);
+ free(Lpkg_to_Ppkg);
+ return 0;
+}
+
+
+
+/*************************************
+ ****** Main Topology Discovery ******
+ *************************************/
+
+static void
+hwloc__linux_get_mic_sn(struct hwloc_topology *topology, struct hwloc_linux_backend_data_s *data)
+{
+ char line[64], *tmp, *end;
+ if (hwloc_read_path_by_length("/proc/elog", line, sizeof(line), data->root_fd) < 0)
+ return;
+ if (strncmp(line, "Card ", 5))
+ return;
+ tmp = line + 5;
+ end = strchr(tmp, ':');
+ if (!end)
+ return;
+ *end = '\0';
+ hwloc_obj_add_info(hwloc_get_root_obj(topology), "MICSerialNumber", tmp);
+}
+
+static void
+hwloc_gather_system_info(struct hwloc_topology *topology,
+ struct hwloc_linux_backend_data_s *data)
+{
+ FILE *file;
+ char line[128]; /* enough for utsname fields */
+ const char *env;
+
+ /* initialize to something sane, in case !is_thissystem and we can't find things in /proc/hwloc-nofile-info */
+ memset(&data->utsname, 0, sizeof(data->utsname));
+ data->fallback_nbprocessors = 1;
+ data->pagesize = 4096;
+
+ /* read thissystem info */
+ if (topology->is_thissystem) {
+ uname(&data->utsname);
+ data->fallback_nbprocessors = hwloc_fallback_nbprocessors(topology);
+ data->pagesize = hwloc_getpagesize();
+ }
+
+ /* overwrite with optional /proc/hwloc-nofile-info */
+ file = hwloc_fopen("/proc/hwloc-nofile-info", "r", data->root_fd);
+ if (file) {
+ while (fgets(line, sizeof(line), file)) {
+ char *tmp = strchr(line, '\n');
+ if (!strncmp("OSName: ", line, 8)) {
+ if (tmp)
+ *tmp = '\0';
+ strncpy(data->utsname.sysname, line+8, sizeof(data->utsname.sysname));
+ data->utsname.sysname[sizeof(data->utsname.sysname)-1] = '\0';
+ } else if (!strncmp("OSRelease: ", line, 11)) {
+ if (tmp)
+ *tmp = '\0';
+ strncpy(data->utsname.release, line+11, sizeof(data->utsname.release));
+ data->utsname.release[sizeof(data->utsname.release)-1] = '\0';
+ } else if (!strncmp("OSVersion: ", line, 11)) {
+ if (tmp)
+ *tmp = '\0';
+ strncpy(data->utsname.version, line+11, sizeof(data->utsname.version));
+ data->utsname.version[sizeof(data->utsname.version)-1] = '\0';
+ } else if (!strncmp("HostName: ", line, 10)) {
+ if (tmp)
+ *tmp = '\0';
+ strncpy(data->utsname.nodename, line+10, sizeof(data->utsname.nodename));
+ data->utsname.nodename[sizeof(data->utsname.nodename)-1] = '\0';
+ } else if (!strncmp("Architecture: ", line, 14)) {
+ if (tmp)
+ *tmp = '\0';
+ strncpy(data->utsname.machine, line+14, sizeof(data->utsname.machine));
+ data->utsname.machine[sizeof(data->utsname.machine)-1] = '\0';
+ } else if (!strncmp("FallbackNbProcessors: ", line, 22)) {
+ if (tmp)
+ *tmp = '\0';
+ data->fallback_nbprocessors = atoi(line+22);
+ } else if (!strncmp("PageSize: ", line, 10)) {
+ if (tmp)
+ *tmp = '\0';
+ data->pagesize = strtoull(line+10, NULL, 10);
+ } else {
+ hwloc_debug("ignored /proc/hwloc-nofile-info line %s\n", line);
+ /* ignored */
+ }
+ }
+ fclose(file);
+ }
+
+ env = getenv("HWLOC_DUMP_NOFILE_INFO");
+ if (env && *env) {
+ file = fopen(env, "w");
+ if (file) {
+ if (*data->utsname.sysname)
+ fprintf(file, "OSName: %s\n", data->utsname.sysname);
+ if (*data->utsname.release)
+ fprintf(file, "OSRelease: %s\n", data->utsname.release);
+ if (*data->utsname.version)
+ fprintf(file, "OSVersion: %s\n", data->utsname.version);
+ if (*data->utsname.nodename)
+ fprintf(file, "HostName: %s\n", data->utsname.nodename);
+ if (*data->utsname.machine)
+ fprintf(file, "Architecture: %s\n", data->utsname.machine);
+ fprintf(file, "FallbackNbProcessors: %u\n", data->fallback_nbprocessors);
+ fprintf(file, "PageSize: %llu\n", (unsigned long long) data->pagesize);
+ fclose(file);
+ }
+ }
+
+ /* detect arch for quirks, using configure #defines if possible, or uname */
+#if (defined HWLOC_X86_32_ARCH) || (defined HWLOC_X86_64_ARCH) /* does not cover KNC */
+ if (topology->is_thissystem)
+ data->arch = HWLOC_LINUX_ARCH_X86;
+#endif
+ if (data->arch == HWLOC_LINUX_ARCH_UNKNOWN && *data->utsname.machine) {
+ if (!strcmp(data->utsname.machine, "x86_64")
+ || (data->utsname.machine[0] == 'i' && !strcmp(data->utsname.machine+2, "86"))
+ || !strcmp(data->utsname.machine, "k1om"))
+ data->arch = HWLOC_LINUX_ARCH_X86;
+ else if (!strncmp(data->utsname.machine, "arm", 3))
+ data->arch = HWLOC_LINUX_ARCH_ARM;
+ else if (!strncmp(data->utsname.machine, "ppc", 3)
+ || !strncmp(data->utsname.machine, "power", 5))
+ data->arch = HWLOC_LINUX_ARCH_POWER;
+ else if (!strcmp(data->utsname.machine, "ia64"))
+ data->arch = HWLOC_LINUX_ARCH_IA64;
+ }
+}
+
+/* returns 0 on success, -1 on non-match or error during hardwired load */
+static int
+hwloc_linux_try_hardwired_cpuinfo(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+
+ if (getenv("HWLOC_NO_HARDWIRED_TOPOLOGY"))
+ return -1;
+
+ if (!strcmp(data->utsname.machine, "s64fx")) {
+ char line[128];
+ /* Fujistu K-computer, FX10, and FX100 use specific processors
+ * whose Linux topology support is broken until 4.1 (acc455cffa75070d55e74fc7802b49edbc080e92and)
+ * and existing machines will likely never be fixed by kernel upgrade.
+ */
+
+ /* /proc/cpuinfo starts with one of these lines:
+ * "cpu : Fujitsu SPARC64 VIIIfx"
+ * "cpu : Fujitsu SPARC64 XIfx"
+ * "cpu : Fujitsu SPARC64 IXfx"
+ */
+ if (hwloc_read_path_by_length("/proc/cpuinfo", line, sizeof(line), data->root_fd) < 0)
+ return -1;
+
+ if (strncmp(line, "cpu\t", 4))
+ return -1;
+
+ if (strstr(line, "Fujitsu SPARC64 VIIIfx"))
+ return hwloc_look_hardwired_fujitsu_k(topology);
+ else if (strstr(line, "Fujitsu SPARC64 IXfx"))
+ return hwloc_look_hardwired_fujitsu_fx10(topology);
+ else if (strstr(line, "FUJITSU SPARC64 XIfx"))
+ return hwloc_look_hardwired_fujitsu_fx100(topology);
+ }
+ return -1;
+}
+
+static void hwloc_linux__get_allowed_resources(hwloc_topology_t topology, const char *root_path, int root_fd, char **cpuset_namep)
+{
+ char *cpuset_mntpnt, *cgroup_mntpnt, *cpuset_name = NULL;
+ hwloc_find_linux_cpuset_mntpnt(&cgroup_mntpnt, &cpuset_mntpnt, root_path);
+ if (cgroup_mntpnt || cpuset_mntpnt) {
+ cpuset_name = hwloc_read_linux_cpuset_name(root_fd, topology->pid);
+ if (cpuset_name) {
+ hwloc_admin_disable_set_from_cpuset(root_fd, cgroup_mntpnt, cpuset_mntpnt, cpuset_name, "cpus", topology->levels[0][0]->allowed_cpuset);
+ hwloc_admin_disable_set_from_cpuset(root_fd, cgroup_mntpnt, cpuset_mntpnt, cpuset_name, "mems", topology->levels[0][0]->allowed_nodeset);
+ }
+ free(cgroup_mntpnt);
+ free(cpuset_mntpnt);
+ }
+ *cpuset_namep = cpuset_name;
+}
+
+static int
+hwloc_look_linuxfs(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ DIR *nodes_dir;
+ unsigned nbnodes;
+ char *cpuset_name;
+ struct hwloc_linux_cpuinfo_proc * Lprocs = NULL;
+ struct hwloc_obj_info_s *global_infos = NULL;
+ unsigned global_infos_count = 0;
+ int numprocs;
+ int already_pus;
+ int old_siblings_filenames;
+ int err;
+
+ already_pus = (topology->levels[0][0]->complete_cpuset != NULL
+ && !hwloc_bitmap_iszero(topology->levels[0][0]->complete_cpuset));
+ /* if there are PUs, still look at memory information
+ * since x86 misses NUMA node information (unless we forced AMD topoext NUMA nodes)
+ * memory size.
+ */
+
+ /* allocate root sets in case not done yet */
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ /*********************************
+ * Platform information for later
+ */
+ hwloc_gather_system_info(topology, data);
+
+ /**********************
+ * /proc/cpuinfo
+ */
+ numprocs = hwloc_linux_parse_cpuinfo(data, "/proc/cpuinfo", &Lprocs, &global_infos, &global_infos_count);
+ if (numprocs < 0)
+ numprocs = 0;
+
+ /**************************
+ * detect model for quirks
+ */
+ if (data->arch == HWLOC_LINUX_ARCH_X86 && numprocs > 0) {
+ unsigned i;
+ const char *cpuvendor = NULL, *cpufamilynumber = NULL, *cpumodelnumber = NULL;
+ for(i=0; i<Lprocs[0].infos_count; i++) {
+ if (!strcmp(Lprocs[0].infos[i].name, "CPUVendor")) {
+ cpuvendor = Lprocs[0].infos[i].value;
+ } else if (!strcmp(Lprocs[0].infos[i].name, "CPUFamilyNumber")) {
+ cpufamilynumber = Lprocs[0].infos[i].value;
+ } else if (!strcmp(Lprocs[0].infos[i].name, "CPUModelNumber")) {
+ cpumodelnumber = Lprocs[0].infos[i].value;
+ }
+ }
+ if (cpuvendor && !strcmp(cpuvendor, "GenuineIntel")
+ && cpufamilynumber && !strcmp(cpufamilynumber, "6")
+ && cpumodelnumber && (!strcmp(cpumodelnumber, "87")
+ || !strcmp(cpumodelnumber, "133")))
+ data->is_knl = 1;
+ if (cpuvendor && !strcmp(cpuvendor, "AuthenticAMD")
+ && cpufamilynumber
+ && (!strcmp(cpufamilynumber, "21")
+ || !strcmp(cpufamilynumber, "22")))
+ data->is_amd_with_CU = 1;
+ }
+
+ /**********************
+ * Gather the list of admin-disabled cpus and mems
+ */
+ hwloc_linux__get_allowed_resources(topology, data->root_path, data->root_fd, &cpuset_name);
+
+ nodes_dir = hwloc_opendir("/proc/nodes", data->root_fd);
+ if (nodes_dir) {
+ /* Kerrighed */
+ struct dirent *dirent;
+ char path[128];
+ hwloc_obj_t machine;
+ hwloc_bitmap_t machine_online_set;
+
+ if (already_pus) {
+ /* we don't support extending kerrighed topologies */
+ free(cpuset_name);
+ hwloc_linux_free_cpuinfo(Lprocs, numprocs, global_infos, global_infos_count);
+ return 0;
+ }
+
+ /* replace top-level object type with SYSTEM and add some MACHINE underneath */
+
+ topology->levels[0][0]->type = HWLOC_OBJ_SYSTEM;
+ topology->levels[0][0]->name = strdup("Kerrighed");
+
+ /* No cpuset support for now. */
+ /* No sys support for now. */
+ while ((dirent = readdir(nodes_dir)) != NULL) {
+ struct hwloc_linux_cpuinfo_proc * machine_Lprocs = NULL;
+ struct hwloc_obj_info_s *machine_global_infos = NULL;
+ unsigned machine_global_infos_count = 0;
+ int machine_numprocs = 0;
+ unsigned long node;
+ if (strncmp(dirent->d_name, "node", 4))
+ continue;
+ machine_online_set = hwloc_bitmap_alloc();
+ node = strtoul(dirent->d_name+4, NULL, 0);
+ snprintf(path, sizeof(path), "/proc/nodes/node%lu/cpuinfo", node);
+ machine_numprocs = hwloc_linux_parse_cpuinfo(data, path, &machine_Lprocs, &machine_global_infos, &machine_global_infos_count);
+ if (machine_numprocs < 0) {
+ err = -1;
+ machine_numprocs = 0;
+ } else {
+ err = look_cpuinfo(topology, machine_Lprocs, machine_numprocs, machine_online_set);
+ }
+
+ hwloc_linux_free_cpuinfo(machine_Lprocs, machine_numprocs, machine_global_infos, machine_global_infos_count);
+ if (err < 0) {
+ hwloc_bitmap_free(machine_online_set);
+ continue;
+ }
+ hwloc_bitmap_or(topology->levels[0][0]->online_cpuset, topology->levels[0][0]->online_cpuset, machine_online_set);
+ machine = hwloc_alloc_setup_object(HWLOC_OBJ_MACHINE, node);
+ machine->cpuset = machine_online_set;
+ hwloc_debug_1arg_bitmap("machine number %lu has cpuset %s\n",
+ node, machine_online_set);
+
+ /* Get the machine memory attributes */
+ hwloc_get_kerrighed_node_meminfo_info(topology, data, node, &machine->memory);
+
+ /* Gather DMI info */
+ /* FIXME: get the right DMI info of each machine */
+ hwloc__get_dmi_id_info(data, machine);
+
+ hwloc_insert_object_by_cpuset(topology, machine);
+ }
+ closedir(nodes_dir);
+ } else {
+ /*********************
+ * Memory information
+ */
+
+ /* Get the machine memory attributes */
+ hwloc_get_procfs_meminfo_info(topology, data, &topology->levels[0][0]->memory);
+
+ /* Gather NUMA information. Must be after hwloc_get_procfs_meminfo_info so that the hugepage size is known */
+ if (look_sysfsnode(topology, data, "/sys/bus/node/devices", &nbnodes) < 0)
+ look_sysfsnode(topology, data, "/sys/devices/system/node", &nbnodes);
+
+ /* if we found some numa nodes, the machine object has no local memory */
+ if (nbnodes) {
+ unsigned i;
+ topology->levels[0][0]->memory.local_memory = 0;
+ if (topology->levels[0][0]->memory.page_types)
+ for(i=0; i<topology->levels[0][0]->memory.page_types_len; i++)
+ topology->levels[0][0]->memory.page_types[i].count = 0;
+ }
+
+ /**********************
+ * CPU information
+ */
+
+ /* Don't rediscover CPU resources if already done */
+ if (already_pus)
+ goto done;
+
+ /* Gather the list of cpus now */
+ err = hwloc_linux_try_hardwired_cpuinfo(backend);
+ if (!err)
+ goto done;
+
+ /* setup root info */
+ hwloc__move_infos(&hwloc_get_root_obj(topology)->infos, &hwloc_get_root_obj(topology)->infos_count,
+ &global_infos, &global_infos_count);
+
+ if (!hwloc_access("/sys/devices/system/cpu/cpu0/topology/core_cpus", R_OK, data->root_fd)
+ || !hwloc_access("/sys/devices/system/cpu/cpu0/topology/package_cpus", R_OK, data->root_fd)
+ || !hwloc_access("/sys/bus/cpu/devices/cpu0/topology/core_cpus", R_OK, data->root_fd)
+ || !hwloc_access("/sys/bus/cpu/devices/cpu0/topology/package_cpus", R_OK, data->root_fd))
+ old_siblings_filenames = 0;
+ else if (!hwloc_access("/sys/devices/system/cpu/cpu0/topology/core_siblings", R_OK, data->root_fd)
+ || !hwloc_access("/sys/devices/system/cpu/cpu0/topology/thread_siblings", R_OK, data->root_fd)
+ || !hwloc_access("/sys/bus/cpu/devices/cpu0/topology/thread_siblings", R_OK, data->root_fd)
+ || !hwloc_access("/sys/bus/cpu/devices/cpu0/topology/core_siblings", R_OK, data->root_fd))
+ old_siblings_filenames = 1;
+ else
+ old_siblings_filenames = -1;
+
+ if (getenv("HWLOC_LINUX_USE_CPUINFO") || old_siblings_filenames == -1) {
+ /* revert to reading cpuinfo only if /sys/.../topology unavailable (before 2.6.16)
+ * or not containing anything interesting */
+ if (numprocs > 0)
+ err = look_cpuinfo(topology, Lprocs, numprocs, topology->levels[0][0]->online_cpuset);
+ else
+ err = -1;
+ if (err < 0)
+ hwloc_setup_pu_level(topology, data->fallback_nbprocessors);
+ look_powerpc_device_tree(topology, data);
+
+ } else {
+ /* sysfs */
+ if (look_sysfscpu(topology, data, "/sys/bus/cpu/devices", old_siblings_filenames, Lprocs, numprocs) < 0)
+ if (look_sysfscpu(topology, data, "/sys/devices/system/cpu", old_siblings_filenames, Lprocs, numprocs) < 0)
+ /* sysfs but we failed to read cpu topology, fallback */
+ hwloc_setup_pu_level(topology, data->fallback_nbprocessors);
+ }
+
+ done:
+
+ /**********************
+ * Misc
+ */
+
+ /* Gather DMI info */
+ hwloc__get_dmi_id_info(data, topology->levels[0][0]);
+ if (hwloc_topology_get_flags(topology) & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO))
+ hwloc__get_firmware_dmi_memory_info(topology, data);
+ }
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "Linux");
+ if (cpuset_name) {
+ hwloc_obj_add_info(topology->levels[0][0], "LinuxCgroup", cpuset_name);
+ free(cpuset_name);
+ }
+
+ hwloc__linux_get_mic_sn(topology, data);
+
+ /* data->utsname was filled with real uname or \0, we can safely pass it */
+ hwloc_add_uname_info(topology, &data->utsname);
+
+ hwloc_linux_free_cpuinfo(Lprocs, numprocs, global_infos, global_infos_count);
+ return 1;
+}
+
+
+
+/****************************************
+ ***** Linux PCI backend callbacks ******
+ ****************************************
+ * Do not support changing the fsroot (use sysfs)
+ */
+
+static hwloc_obj_t
+hwloc_linux_add_os_device(struct hwloc_backend *backend, struct hwloc_obj *pcidev, hwloc_obj_osdev_type_t type, const char *name)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_obj *obj = hwloc_alloc_setup_object(HWLOC_OBJ_OS_DEVICE, -1);
+ obj->name = strdup(name);
+ obj->logical_index = -1;
+ obj->attr->osdev.type = type;
+
+ hwloc_insert_object_by_parent(topology, pcidev, obj);
+ /* insert_object_by_parent() doesn't merge during insert, so obj is still valid */
+
+ return obj;
+}
+
+typedef void (*hwloc_linux_class_fillinfos_t)(struct hwloc_backend *backend, struct hwloc_obj *osdev, const char *osdevpath);
+
+/* cannot be used in fsroot-aware code, would have to move to a per-topology variable */
+
+static void
+hwloc_linux_check_deprecated_classlinks_model(struct hwloc_linux_backend_data_s *data)
+{
+ int root_fd = data->root_fd;
+ DIR *dir;
+ struct dirent *dirent;
+ char path[128];
+ struct stat st;
+
+ data->deprecated_classlinks_model = -1;
+
+ dir = hwloc_opendir("/sys/class/net", root_fd);
+ if (!dir)
+ return;
+ while ((dirent = readdir(dir)) != NULL) {
+ int err;
+ if (!strcmp(dirent->d_name, ".") || !strcmp(dirent->d_name, "..") || !strcmp(dirent->d_name, "lo"))
+ continue;
+ err = snprintf(path, sizeof(path), "/sys/class/net/%s/device/net/%s", dirent->d_name, dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && hwloc_stat(path, &st, root_fd) == 0) {
+ data->deprecated_classlinks_model = 0;
+ goto out;
+ }
+ err = snprintf(path, sizeof(path), "/sys/class/net/%s/device/net:%s", dirent->d_name, dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && hwloc_stat(path, &st, root_fd) == 0) {
+ data->deprecated_classlinks_model = 1;
+ goto out;
+ }
+ }
+out:
+ closedir(dir);
+}
+
+/* class objects that are immediately below pci devices:
+ * look for objects of the given classname below a sysfs (pcidev) directory
+ */
+static int
+hwloc_linux_class_readdir(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, const char *devicepath,
+ hwloc_obj_osdev_type_t type, const char *classname,
+ hwloc_linux_class_fillinfos_t fillinfo)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ size_t classnamelen = strlen(classname);
+ char path[256];
+ DIR *dir;
+ struct dirent *dirent;
+ hwloc_obj_t obj;
+ int res = 0, err;
+
+ if (data->deprecated_classlinks_model == -2)
+ hwloc_linux_check_deprecated_classlinks_model(data);
+
+ if (data->deprecated_classlinks_model != 1) {
+ /* modern sysfs: <device>/<class>/<name> */
+ struct stat st;
+
+ err = snprintf(path, sizeof(path), "%s/%s", devicepath, classname);
+ if ((size_t) err >= sizeof(path))
+ goto trydeprecated;
+
+ /* some very host kernel (2.6.9/RHEL4) have <device>/<class> symlink without any way to find <name>.
+ * make sure <device>/<class> is a directory to avoid this case.
+ */
+ err = hwloc_lstat(path, &st, root_fd);
+ if (err < 0 || !S_ISDIR(st.st_mode))
+ goto trydeprecated;
+
+ dir = hwloc_opendir(path, root_fd);
+ if (dir) {
+ data->deprecated_classlinks_model = 0;
+ while ((dirent = readdir(dir)) != NULL) {
+ if (!strcmp(dirent->d_name, ".") || !strcmp(dirent->d_name, ".."))
+ continue;
+ obj = hwloc_linux_add_os_device(backend, pcidev, type, dirent->d_name);
+ if (fillinfo) {
+ err = snprintf(path, sizeof(path), "%s/%s/%s", devicepath, classname, dirent->d_name);
+ if ((size_t) err < sizeof(path))
+ fillinfo(backend, obj, path);
+ }
+ res++;
+ }
+ closedir(dir);
+ return res;
+ }
+ }
+
+trydeprecated:
+ if (data->deprecated_classlinks_model != 0) {
+ /* deprecated sysfs: <device>/<class>:<name> */
+ dir = hwloc_opendir(devicepath, root_fd);
+ if (dir) {
+ while ((dirent = readdir(dir)) != NULL) {
+ if (strncmp(dirent->d_name, classname, classnamelen) || dirent->d_name[classnamelen] != ':')
+ continue;
+ data->deprecated_classlinks_model = 1;
+ obj = hwloc_linux_add_os_device(backend, pcidev, type, dirent->d_name + classnamelen+1);
+ if (fillinfo) {
+ err = snprintf(path, sizeof(path), "%s/%s", devicepath, dirent->d_name);
+ if ((size_t) err < sizeof(path))
+ fillinfo(backend, obj, path);
+ }
+ res++;
+ }
+ closedir(dir);
+ return res;
+ }
+ }
+
+ return 0;
+}
+
+/*
+ * look for net objects below a pcidev in sysfs
+ */
+static void
+hwloc_linux_net_class_fillinfos(struct hwloc_backend *backend,
+ struct hwloc_obj *obj, const char *osdevpath)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ struct stat st;
+ char path[256];
+ char address[128];
+ snprintf(path, sizeof(path), "%s/address", osdevpath);
+ if (!hwloc_read_path_by_length(path, address, sizeof(address), root_fd)) {
+ char *eol = strchr(address, '\n');
+ if (eol)
+ *eol = 0;
+ hwloc_obj_add_info(obj, "Address", address);
+ }
+ snprintf(path, sizeof(path), "%s/device/infiniband", osdevpath);
+ if (!hwloc_stat(path, &st, root_fd)) {
+ char hexid[16];
+ snprintf(path, sizeof(path), "%s/dev_id", osdevpath);
+ if (!hwloc_read_path_by_length(path, hexid, sizeof(hexid), root_fd)) {
+ char *eoid;
+ unsigned long port;
+ port = strtoul(hexid, &eoid, 0);
+ if (eoid != hexid) {
+ char portstr[16];
+ snprintf(portstr, sizeof(portstr), "%lu", port+1);
+ hwloc_obj_add_info(obj, "Port", portstr);
+ }
+ }
+ }
+}
+
+static int
+hwloc_linux_lookup_net_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, const char *pcidevpath)
+{
+ return hwloc_linux_class_readdir(backend, pcidev, pcidevpath, HWLOC_OBJ_OSDEV_NETWORK, "net", hwloc_linux_net_class_fillinfos);
+}
+
+/*
+ * look for infiniband objects below a pcidev in sysfs
+ */
+static void
+hwloc_linux_infiniband_class_fillinfos(struct hwloc_backend *backend,
+ struct hwloc_obj *obj, const char *osdevpath)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ char path[256];
+ char guidvalue[20];
+ unsigned i,j;
+
+ snprintf(path, sizeof(path), "%s/node_guid", osdevpath);
+ if (!hwloc_read_path_by_length(path, guidvalue, sizeof(guidvalue), root_fd)) {
+ size_t len;
+ len = strspn(guidvalue, "0123456789abcdefx:");
+ guidvalue[len] = '\0';
+ hwloc_obj_add_info(obj, "NodeGUID", guidvalue);
+ }
+
+ snprintf(path, sizeof(path), "%s/sys_image_guid", osdevpath);
+ if (!hwloc_read_path_by_length(path, guidvalue, sizeof(guidvalue), root_fd)) {
+ size_t len;
+ len = strspn(guidvalue, "0123456789abcdefx:");
+ guidvalue[len] = '\0';
+ hwloc_obj_add_info(obj, "SysImageGUID", guidvalue);
+ }
+
+ for(i=1; ; i++) {
+ char statevalue[2];
+ char lidvalue[11];
+ char gidvalue[40];
+
+ snprintf(path, sizeof(path), "%s/ports/%u/state", osdevpath, i);
+ if (!hwloc_read_path_by_length(path, statevalue, sizeof(statevalue), root_fd)) {
+ char statename[32];
+ statevalue[1] = '\0'; /* only keep the first byte/digit */
+ snprintf(statename, sizeof(statename), "Port%uState", i);
+ hwloc_obj_add_info(obj, statename, statevalue);
+ } else {
+ /* no such port */
+ break;
+ }
+
+ snprintf(path, sizeof(path), "%s/ports/%u/lid", osdevpath, i);
+ if (!hwloc_read_path_by_length(path, lidvalue, sizeof(lidvalue), root_fd)) {
+ char lidname[32];
+ size_t len;
+ len = strspn(lidvalue, "0123456789abcdefx");
+ lidvalue[len] = '\0';
+ snprintf(lidname, sizeof(lidname), "Port%uLID", i);
+ hwloc_obj_add_info(obj, lidname, lidvalue);
+ }
+
+ snprintf(path, sizeof(path), "%s/ports/%u/lid_mask_count", osdevpath, i);
+ if (!hwloc_read_path_by_length(path, lidvalue, sizeof(lidvalue), root_fd)) {
+ char lidname[32];
+ size_t len;
+ len = strspn(lidvalue, "0123456789");
+ lidvalue[len] = '\0';
+ snprintf(lidname, sizeof(lidname), "Port%uLMC", i);
+ hwloc_obj_add_info(obj, lidname, lidvalue);
+ }
+
+ for(j=0; ; j++) {
+ snprintf(path, sizeof(path), "%s/ports/%u/gids/%u", osdevpath, i, j);
+ if (!hwloc_read_path_by_length(path, gidvalue, sizeof(gidvalue), root_fd)) {
+ char gidname[32];
+ size_t len;
+ len = strspn(gidvalue, "0123456789abcdefx:");
+ gidvalue[len] = '\0';
+ if (strncmp(gidvalue+20, "0000:0000:0000:0000", 19)) {
+ /* only keep initialized GIDs */
+ snprintf(gidname, sizeof(gidname), "Port%uGID%u", i, j);
+ hwloc_obj_add_info(obj, gidname, gidvalue);
+ }
+ } else {
+ /* no such port */
+ break;
+ }
+ }
+ }
+}
+
+static int
+hwloc_linux_lookup_openfabrics_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, const char *pcidevpath)
+{
+ return hwloc_linux_class_readdir(backend, pcidev, pcidevpath, HWLOC_OBJ_OSDEV_OPENFABRICS, "infiniband", hwloc_linux_infiniband_class_fillinfos);
+}
+
+/* look for dma objects below a pcidev in sysfs */
+static int
+hwloc_linux_lookup_dma_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, const char *pcidevpath)
+{
+ return hwloc_linux_class_readdir(backend, pcidev, pcidevpath, HWLOC_OBJ_OSDEV_DMA, "dma", NULL);
+}
+
+/* look for drm objects below a pcidev in sysfs */
+static int
+hwloc_linux_lookup_drm_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, const char *pcidevpath)
+{
+ return hwloc_linux_class_readdir(backend, pcidev, pcidevpath, HWLOC_OBJ_OSDEV_GPU, "drm", NULL);
+
+ /* we could look at the "graphics" class too, but it doesn't help for proprietary drivers either */
+
+ /* GPU devices (even with a proprietary driver) seem to have a boot_vga field in their PCI device directory (since 2.6.30),
+ * so we could create a OS device for each PCI devices with such a field.
+ * boot_vga is actually created when class >> 8 == VGA (it contains 1 for boot vga device), so it's trivial anyway.
+ */
+}
+
+/*
+ * look for block objects below a pcidev in sysfs
+ */
+
+static void
+hwloc_linux_block_class_fillinfos(struct hwloc_backend *backend,
+ struct hwloc_obj *obj, const char *osdevpath)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ FILE *file;
+ char path[256];
+ char line[128];
+ char vendor[64] = "";
+ char model[64] = "";
+ char serial[64] = "";
+ char revision[64] = "";
+ char blocktype[64] = "";
+ unsigned major_id, minor_id;
+ char *tmp;
+
+ snprintf(path, sizeof(path), "%s/dev", osdevpath);
+ if (hwloc_read_path_by_length(path, line, sizeof(line), root_fd) < 0)
+ goto done;
+
+ if (sscanf(line, "%u:%u", &major_id, &minor_id) != 2)
+ goto done;
+ tmp = strchr(line, '\n');
+ if (tmp)
+ *tmp = '\0';
+ hwloc_obj_add_info(obj, "LinuxDeviceID", line);
+
+#ifdef HWLOC_HAVE_LIBUDEV
+ if (data->udev) {
+ struct udev_device *dev;
+ const char *prop;
+ dev = udev_device_new_from_subsystem_sysname(data->udev, "block", obj->name);
+ if (!dev)
+ goto done;
+ prop = udev_device_get_property_value(dev, "ID_VENDOR");
+ if (prop) {
+ strncpy(vendor, prop, sizeof(vendor));
+ vendor[sizeof(vendor)-1] = '\0';
+ }
+ prop = udev_device_get_property_value(dev, "ID_MODEL");
+ if (prop) {
+ strncpy(model, prop, sizeof(model));
+ model[sizeof(model)-1] = '\0';
+ }
+ prop = udev_device_get_property_value(dev, "ID_REVISION");
+ if (prop) {
+ strncpy(revision, prop, sizeof(revision));
+ revision[sizeof(revision)-1] = '\0';
+ }
+ prop = udev_device_get_property_value(dev, "ID_SERIAL_SHORT");
+ if (prop) {
+ strncpy(serial, prop, sizeof(serial));
+ serial[sizeof(serial)-1] = '\0';
+ }
+ prop = udev_device_get_property_value(dev, "ID_TYPE");
+ if (prop) {
+ strncpy(blocktype, prop, sizeof(blocktype));
+ blocktype[sizeof(blocktype)-1] = '\0';
+ }
+
+ udev_device_unref(dev);
+ } else
+ /* fallback to reading files, works with any fsroot */
+#endif
+ {
+ snprintf(path, sizeof(path), "/run/udev/data/b%u:%u", major_id, minor_id);
+ file = hwloc_fopen(path, "r", root_fd);
+ if (!file)
+ goto done;
+
+ while (NULL != fgets(line, sizeof(line), file)) {
+ tmp = strchr(line, '\n');
+ if (tmp)
+ *tmp = '\0';
+ if (!strncmp(line, "E:ID_VENDOR=", strlen("E:ID_VENDOR="))) {
+ strncpy(vendor, line+strlen("E:ID_VENDOR="), sizeof(vendor));
+ vendor[sizeof(vendor)-1] = '\0';
+ } else if (!strncmp(line, "E:ID_MODEL=", strlen("E:ID_MODEL="))) {
+ strncpy(model, line+strlen("E:ID_MODEL="), sizeof(model));
+ model[sizeof(model)-1] = '\0';
+ } else if (!strncmp(line, "E:ID_REVISION=", strlen("E:ID_REVISION="))) {
+ strncpy(revision, line+strlen("E:ID_REVISION="), sizeof(revision));
+ revision[sizeof(revision)-1] = '\0';
+ } else if (!strncmp(line, "E:ID_SERIAL_SHORT=", strlen("E:ID_SERIAL_SHORT="))) {
+ strncpy(serial, line+strlen("E:ID_SERIAL_SHORT="), sizeof(serial));
+ serial[sizeof(serial)-1] = '\0';
+ } else if (!strncmp(line, "E:ID_TYPE=", strlen("E:ID_TYPE="))) {
+ strncpy(blocktype, line+strlen("E:ID_TYPE="), sizeof(blocktype));
+ blocktype[sizeof(blocktype)-1] = '\0';
+ }
+ }
+ fclose(file);
+ }
+
+ done:
+ /* clear fake "ATA" vendor name */
+ if (!strcasecmp(vendor, "ATA"))
+ *vendor = '\0';
+ /* overwrite vendor name from model when possible */
+ if (!*vendor) {
+ if (!strncasecmp(model, "wd", 2))
+ strcpy(vendor, "Western Digital");
+ else if (!strncasecmp(model, "st", 2))
+ strcpy(vendor, "Seagate");
+ else if (!strncasecmp(model, "samsung", 7))
+ strcpy(vendor, "Samsung");
+ else if (!strncasecmp(model, "sandisk", 7))
+ strcpy(vendor, "SanDisk");
+ else if (!strncasecmp(model, "toshiba", 7))
+ strcpy(vendor, "Toshiba");
+ }
+
+ if (*vendor)
+ hwloc_obj_add_info(obj, "Vendor", vendor);
+ if (*model)
+ hwloc_obj_add_info(obj, "Model", model);
+ if (*revision)
+ hwloc_obj_add_info(obj, "Revision", revision);
+ if (*serial)
+ hwloc_obj_add_info(obj, "SerialNumber", serial);
+
+ if (!strcmp(blocktype, "disk") || !strncmp(obj->name, "nvme", 4))
+ hwloc_obj_add_info(obj, "Type", "Disk");
+ else if (!strcmp(blocktype, "tape"))
+ hwloc_obj_add_info(obj, "Type", "Tape");
+ else if (!strcmp(blocktype, "cd") || !strcmp(blocktype, "floppy") || !strcmp(blocktype, "optical"))
+ hwloc_obj_add_info(obj, "Type", "Removable Media Device");
+ else /* generic, usb mass storage/rbc, usb mass storage/scsi */
+ hwloc_obj_add_info(obj, "Type", "Other");
+}
+
+/* block class objects are in
+ * host%d/target%d:%d:%d/%d:%d:%d:%d/
+ * or
+ * host%d/port-%d:%d/end_device-%d:%d/target%d:%d:%d/%d:%d:%d:%d/
+ * or
+ * ide%d/%d.%d/
+ * below pci devices */
+static int
+hwloc_linux_lookup_host_block_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, char *path, size_t pathlen)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ DIR *hostdir, *portdir, *targetdir;
+ struct dirent *hostdirent, *portdirent, *targetdirent;
+ size_t hostdlen, portdlen, targetdlen;
+ int dummy;
+ int res = 0;
+
+ hostdir = hwloc_opendir(path, root_fd);
+ if (!hostdir)
+ return 0;
+
+ while ((hostdirent = readdir(hostdir)) != NULL) {
+ if (sscanf(hostdirent->d_name, "port-%d:%d", &dummy, &dummy) == 2)
+ {
+ /* found host%d/port-%d:%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], hostdirent->d_name);
+ pathlen += hostdlen = 1+strlen(hostdirent->d_name);
+ portdir = hwloc_opendir(path, root_fd);
+ if (!portdir)
+ continue;
+ while ((portdirent = readdir(portdir)) != NULL) {
+ if (sscanf(portdirent->d_name, "end_device-%d:%d", &dummy, &dummy) == 2) {
+ /* found host%d/port-%d:%d/end_device-%d:%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], portdirent->d_name);
+ pathlen += portdlen = 1+strlen(portdirent->d_name);
+ res += hwloc_linux_lookup_host_block_class(backend, pcidev, path, pathlen);
+ /* restore parent path */
+ pathlen -= portdlen;
+ path[pathlen] = '\0';
+ }
+ }
+ closedir(portdir);
+ /* restore parent path */
+ pathlen -= hostdlen;
+ path[pathlen] = '\0';
+ continue;
+ } else if (sscanf(hostdirent->d_name, "target%d:%d:%d", &dummy, &dummy, &dummy) == 3) {
+ /* found host%d/target%d:%d:%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], hostdirent->d_name);
+ pathlen += hostdlen = 1+strlen(hostdirent->d_name);
+ targetdir = hwloc_opendir(path, root_fd);
+ if (!targetdir)
+ continue;
+ while ((targetdirent = readdir(targetdir)) != NULL) {
+ if (sscanf(targetdirent->d_name, "%d:%d:%d:%d", &dummy, &dummy, &dummy, &dummy) != 4)
+ continue;
+ /* found host%d/target%d:%d:%d/%d:%d:%d:%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], targetdirent->d_name);
+ pathlen += targetdlen = 1+strlen(targetdirent->d_name);
+ /* lookup block class for real */
+ res += hwloc_linux_class_readdir(backend, pcidev, path, HWLOC_OBJ_OSDEV_BLOCK, "block", hwloc_linux_block_class_fillinfos);
+ /* restore parent path */
+ pathlen -= targetdlen;
+ path[pathlen] = '\0';
+ }
+ closedir(targetdir);
+ /* restore parent path */
+ pathlen -= hostdlen;
+ path[pathlen] = '\0';
+ }
+ }
+ closedir(hostdir);
+
+ return res;
+}
+
+static int
+hwloc_linux_lookup_block_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, const char *pcidevpath)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ size_t pathlen;
+ DIR *devicedir, *hostdir, *nvmedir;
+ struct dirent *devicedirent, *hostdirent;
+ size_t devicedlen, hostdlen;
+ char path[256];
+ int dummy;
+ int res = 0;
+
+ strcpy(path, pcidevpath);
+ pathlen = strlen(path);
+
+ /* look for a NVMe class (Linux 4.0+) under nvme/nvme%d/nvme%dn%d/ */
+ strcpy(&path[pathlen], "/nvme");
+ nvmedir = hwloc_opendir(path, root_fd);
+ if (nvmedir) {
+ struct dirent *nvmedirent;
+ while ((nvmedirent = readdir(nvmedir)) != NULL) {
+ DIR *nvmesubdir;
+ if (strncmp(nvmedirent->d_name, "nvme", 4))
+ continue;
+ path[pathlen+5] = '/';
+ strcpy(&path[pathlen+6], nvmedirent->d_name);
+ nvmesubdir = hwloc_opendir(path, root_fd);
+ if (nvmesubdir) {
+ struct dirent *nvmesubdirent;
+ while ((nvmesubdirent = readdir(nvmesubdir)) != NULL) {
+ hwloc_obj_t obj;
+ size_t nvmednamelen = strlen(nvmedirent->d_name);
+ if (strncmp(nvmedirent->d_name, nvmesubdirent->d_name, nvmednamelen))
+ continue;
+ obj = hwloc_linux_add_os_device(backend, pcidev, HWLOC_OBJ_OSDEV_BLOCK, nvmesubdirent->d_name);
+ if (obj) {
+ path[pathlen+6+nvmednamelen] = '/';
+ strcpy(&path[pathlen+6+nvmednamelen+1], nvmesubdirent->d_name);
+ hwloc_linux_block_class_fillinfos(backend, obj, path);
+ res++;
+ }
+ }
+ closedir(nvmesubdir);
+ }
+ }
+ closedir(nvmedir);
+ return res;
+ }
+ path[pathlen] = '\0';
+
+ /* look for a direct block device here (such as NVMe before Linux 4.0,
+ * or something without controller subdirs in the middle)
+ */
+ res += hwloc_linux_class_readdir(backend, pcidev, path,
+ HWLOC_OBJ_OSDEV_BLOCK, "block",
+ hwloc_linux_block_class_fillinfos);
+ if (res)
+ return res;
+ /* otherwise try to find controller subdirectories */
+
+ devicedir = hwloc_opendir(pcidevpath, root_fd);
+ if (!devicedir)
+ return 0;
+
+ while ((devicedirent = readdir(devicedir)) != NULL) {
+ if (sscanf(devicedirent->d_name, "ide%d", &dummy) == 1) {
+ /* found ide%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], devicedirent->d_name);
+ pathlen += devicedlen = 1+strlen(devicedirent->d_name);
+ hostdir = hwloc_opendir(path, root_fd);
+ if (!hostdir)
+ continue;
+ while ((hostdirent = readdir(hostdir)) != NULL) {
+ if (sscanf(hostdirent->d_name, "%d.%d", &dummy, &dummy) == 2) {
+ /* found ide%d/%d.%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], hostdirent->d_name);
+ pathlen += hostdlen = 1+strlen(hostdirent->d_name);
+ /* lookup block class for real */
+ res += hwloc_linux_class_readdir(backend, pcidev, path, HWLOC_OBJ_OSDEV_BLOCK, "block", NULL);
+ /* restore parent path */
+ pathlen -= hostdlen;
+ path[pathlen] = '\0';
+ }
+ }
+ closedir(hostdir);
+ /* restore parent path */
+ pathlen -= devicedlen;
+ path[pathlen] = '\0';
+ } else if (sscanf(devicedirent->d_name, "host%d", &dummy) == 1) {
+ /* found host%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], devicedirent->d_name);
+ pathlen += devicedlen = 1+strlen(devicedirent->d_name);
+ res += hwloc_linux_lookup_host_block_class(backend, pcidev, path, pathlen);
+ /* restore parent path */
+ pathlen -= devicedlen;
+ path[pathlen] = '\0';
+ } else if (sscanf(devicedirent->d_name, "ata%d", &dummy) == 1) {
+ /* found ata%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], devicedirent->d_name);
+ pathlen += devicedlen = 1+strlen(devicedirent->d_name);
+ hostdir = hwloc_opendir(path, root_fd);
+ if (!hostdir)
+ continue;
+ while ((hostdirent = readdir(hostdir)) != NULL) {
+ if (sscanf(hostdirent->d_name, "host%d", &dummy) == 1) {
+ /* found ata%d/host%d */
+ path[pathlen] = '/';
+ strcpy(&path[pathlen+1], hostdirent->d_name);
+ pathlen += hostdlen = 1+strlen(hostdirent->d_name);
+ /* lookup block class for real */
+ res += hwloc_linux_lookup_host_block_class(backend, pcidev, path, pathlen);
+ /* restore parent path */
+ pathlen -= hostdlen;
+ path[pathlen] = '\0';
+ }
+ }
+ closedir(hostdir);
+ /* restore parent path */
+ pathlen -= devicedlen;
+ path[pathlen] = '\0';
+ }
+ }
+ closedir(devicedir);
+
+ return res;
+}
+
+static void
+hwloc_linux_mic_class_fillinfos(struct hwloc_backend *backend,
+ struct hwloc_obj *obj, const char *osdevpath)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ char path[256];
+ char family[64];
+ char sku[64];
+ char sn[64];
+ char string[20];
+
+ hwloc_obj_add_info(obj, "CoProcType", "MIC");
+
+ snprintf(path, sizeof(path), "%s/family", osdevpath);
+ if (!hwloc_read_path_by_length(path, family, sizeof(family), root_fd)) {
+ char *eol = strchr(family, '\n');
+ if (eol)
+ *eol = 0;
+ hwloc_obj_add_info(obj, "MICFamily", family);
+ }
+
+ snprintf(path, sizeof(path), "%s/sku", osdevpath);
+ if (!hwloc_read_path_by_length(path, sku, sizeof(sku), root_fd)) {
+ char *eol = strchr(sku, '\n');
+ if (eol)
+ *eol = 0;
+ hwloc_obj_add_info(obj, "MICSKU", sku);
+ }
+
+ snprintf(path, sizeof(path), "%s/serialnumber", osdevpath);
+ if (!hwloc_read_path_by_length(path, sn, sizeof(sn), root_fd)) {
+ char *eol;
+ eol = strchr(sn, '\n');
+ if (eol)
+ *eol = 0;
+ hwloc_obj_add_info(obj, "MICSerialNumber", sn);
+ }
+
+ snprintf(path, sizeof(path), "%s/active_cores", osdevpath);
+ if (!hwloc_read_path_by_length(path, string, sizeof(string), root_fd)) {
+ unsigned long count = strtoul(string, NULL, 16);
+ snprintf(string, sizeof(string), "%lu", count);
+ hwloc_obj_add_info(obj, "MICActiveCores", string);
+ }
+
+ snprintf(path, sizeof(path), "%s/memsize", osdevpath);
+ if (!hwloc_read_path_by_length(path, string, sizeof(string), root_fd)) {
+ unsigned long count = strtoul(string, NULL, 16);
+ snprintf(string, sizeof(string), "%lu", count);
+ hwloc_obj_add_info(obj, "MICMemorySize", string);
+ }
+}
+
+static int
+hwloc_linux_lookup_mic_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev, const char *pcidevpath)
+{
+ return hwloc_linux_class_readdir(backend, pcidev, pcidevpath, HWLOC_OBJ_OSDEV_COPROC, "mic", hwloc_linux_mic_class_fillinfos);
+}
+
+static int
+hwloc_linux_directlookup_mic_class(struct hwloc_backend *backend,
+ struct hwloc_obj *pcidev)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ int root_fd = data->root_fd;
+ char path[256];
+ struct stat st;
+ hwloc_obj_t obj;
+ unsigned idx;
+ int res = 0;
+
+ if (!data->mic_directlookup_id_max)
+ /* already tried, nothing to do */
+ return 0;
+
+ if (data->mic_directlookup_id_max == (unsigned) -1) {
+ /* never tried, find out the max id */
+ DIR *dir;
+ struct dirent *dirent;
+
+ /* make sure we never do this lookup again */
+ data->mic_directlookup_id_max = 0;
+
+ /* read the entire class and find the max id of mic%u dirents */
+ dir = hwloc_opendir("/sys/devices/virtual/mic", root_fd);
+ if (!dir) {
+ dir = hwloc_opendir("/sys/class/mic", root_fd);
+ if (!dir)
+ return 0;
+ }
+ while ((dirent = readdir(dir)) != NULL) {
+ if (!strcmp(dirent->d_name, ".") || !strcmp(dirent->d_name, ".."))
+ continue;
+ if (sscanf(dirent->d_name, "mic%u", &idx) != 1)
+ continue;
+ if (idx >= data->mic_directlookup_id_max)
+ data->mic_directlookup_id_max = idx+1;
+ }
+ closedir(dir);
+ }
+
+ /* now iterate over the mic ids and see if one matches our pcidev */
+ for(idx=0; idx<data->mic_directlookup_id_max; idx++) {
+ snprintf(path, sizeof(path), "/sys/class/mic/mic%u/pci_%02x:%02x.%02x",
+ idx, pcidev->attr->pcidev.bus, pcidev->attr->pcidev.dev, pcidev->attr->pcidev.func);
+ if (hwloc_stat(path, &st, root_fd) < 0)
+ continue;
+ snprintf(path, sizeof(path), "mic%u", idx);
+ obj = hwloc_linux_add_os_device(backend, pcidev, HWLOC_OBJ_OSDEV_COPROC, path);
+ snprintf(path, sizeof(path), "/sys/class/mic/mic%u", idx);
+ hwloc_linux_mic_class_fillinfos(backend, obj, path);
+ res++;
+ }
+
+ return res;
+}
+
+/*
+ * backend callback for inserting objects inside a pci device
+ */
+static int
+hwloc_linux_backend_notify_new_object(struct hwloc_backend *backend, struct hwloc_backend *caller __hwloc_attribute_unused,
+ struct hwloc_obj *obj)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ char pcidevpath[256];
+ int res = 0;
+
+ /* this callback is only used in the libpci backend for now */
+ assert(obj->type == HWLOC_OBJ_PCI_DEVICE);
+
+ snprintf(pcidevpath, sizeof(pcidevpath), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/",
+ obj->attr->pcidev.domain, obj->attr->pcidev.bus,
+ obj->attr->pcidev.dev, obj->attr->pcidev.func);
+
+ res += hwloc_linux_lookup_net_class(backend, obj, pcidevpath);
+ res += hwloc_linux_lookup_openfabrics_class(backend, obj, pcidevpath);
+ res += hwloc_linux_lookup_dma_class(backend, obj, pcidevpath);
+ res += hwloc_linux_lookup_drm_class(backend, obj, pcidevpath);
+ res += hwloc_linux_lookup_block_class(backend, obj, pcidevpath);
+
+ if (data->mic_need_directlookup == -1) {
+ struct stat st;
+ if (hwloc_stat("/sys/class/mic/mic0", &st, data->root_fd) == 0
+ && hwloc_stat("/sys/class/mic/mic0/device/mic/mic0", &st, data->root_fd) == -1)
+ /* hwloc_linux_lookup_mic_class will fail because pcidev sysfs directories
+ * do not have mic/mic%u symlinks to mic devices (old mic driver).
+ * if so, try from the mic class.
+ */
+ data->mic_need_directlookup = 1;
+ else
+ data->mic_need_directlookup = 0;
+ }
+ if (data->mic_need_directlookup)
+ res += hwloc_linux_directlookup_mic_class(backend, obj);
+ else
+ res += hwloc_linux_lookup_mic_class(backend, obj, pcidevpath);
+
+ return res;
+}
+
+/*
+ * backend callback for retrieving the location of a pci device
+ */
+static int
+hwloc_linux_backend_get_obj_cpuset(struct hwloc_backend *backend,
+ struct hwloc_backend *caller __hwloc_attribute_unused,
+ struct hwloc_obj *obj, hwloc_bitmap_t cpuset)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+ char path[256];
+
+ /* this callback is only used in the libpci backend for now */
+ assert(obj->type == HWLOC_OBJ_PCI_DEVICE
+ || (obj->type == HWLOC_OBJ_BRIDGE && obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI));
+
+ snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/local_cpus",
+ obj->attr->pcidev.domain, obj->attr->pcidev.bus,
+ obj->attr->pcidev.dev, obj->attr->pcidev.func);
+ if (!hwloc__read_path_as_cpumask(path, cpuset, data->root_fd)
+ && !hwloc_bitmap_iszero(cpuset))
+ return 0;
+ return -1;
+}
+
+
+
+/*******************************
+ ******* Linux component *******
+ *******************************/
+
+static void
+hwloc_linux_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_linux_backend_data_s *data = backend->private_data;
+#ifdef HAVE_OPENAT
+ if (data->root_path)
+ free(data->root_path);
+ close(data->root_fd);
+#endif
+#ifdef HWLOC_HAVE_LIBUDEV
+ if (data->udev)
+ udev_unref(data->udev);
+#endif
+ free(data);
+}
+
+static struct hwloc_backend *
+hwloc_linux_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ struct hwloc_linux_backend_data_s *data;
+ const char * fsroot_path = _data1;
+ int flags, root = -1;
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ goto out;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ errno = ENOMEM;
+ goto out_with_backend;
+ }
+
+ backend->private_data = data;
+ backend->flags = HWLOC_BACKEND_FLAG_NEED_LEVELS;
+ backend->discover = hwloc_look_linuxfs;
+ backend->get_obj_cpuset = hwloc_linux_backend_get_obj_cpuset;
+ backend->notify_new_object = hwloc_linux_backend_notify_new_object;
+ backend->disable = hwloc_linux_backend_disable;
+
+ /* default values */
+ data->arch = HWLOC_LINUX_ARCH_UNKNOWN;
+ data->is_knl = 0;
+ data->is_amd_with_CU = 0;
+ data->is_real_fsroot = 1;
+ data->root_path = NULL;
+ if (!fsroot_path)
+ fsroot_path = "/";
+
+#ifdef HAVE_OPENAT
+ root = open(fsroot_path, O_RDONLY | O_DIRECTORY);
+ if (root < 0)
+ goto out_with_data;
+
+ if (strcmp(fsroot_path, "/")) {
+ backend->is_thissystem = 0;
+ data->is_real_fsroot = 0;
+ data->root_path = strdup(fsroot_path);
+ }
+
+ /* Since this fd stays open after hwloc returns, mark it as
+ close-on-exec so that children don't inherit it. Stevens says
+ that we should GETFD before we SETFD, so we do. */
+ flags = fcntl(root, F_GETFD, 0);
+ if (-1 == flags ||
+ -1 == fcntl(root, F_SETFD, FD_CLOEXEC | flags)) {
+ close(root);
+ root = -1;
+ goto out_with_data;
+ }
+#else
+ if (strcmp(fsroot_path, "/")) {
+ errno = ENOSYS;
+ goto out_with_data;
+ }
+#endif
+ data->root_fd = root;
+
+#ifdef HWLOC_HAVE_LIBUDEV
+ data->udev = NULL;
+ if (data->is_real_fsroot) {
+ data->udev = udev_new();
+ }
+#endif
+
+ data->dumped_hwdata_dirname = getenv("HWLOC_DUMPED_HWDATA_DIR");
+ if (!data->dumped_hwdata_dirname) {
+ if (_data1)
+ data->dumped_hwdata_dirname = (char *) "/var/run/hwloc";
+ else
+ data->dumped_hwdata_dirname = (char *) RUNSTATEDIR "/hwloc";
+ }
+
+ data->deprecated_classlinks_model = -2; /* never tried */
+ data->mic_need_directlookup = -1; /* not initialized */
+ data->mic_directlookup_id_max = -1; /* not initialized */
+
+ return backend;
+
+ out_with_data:
+#ifdef HAVE_OPENAT
+ if (data->root_path)
+ free(data->root_path);
+#endif
+ free(data);
+ out_with_backend:
+ free(backend);
+ out:
+ return NULL;
+}
+
+static struct hwloc_disc_component hwloc_linux_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "linux",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_linux_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_linux_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_linux_disc_component
+};
+
+
+
+
+#ifdef HWLOC_HAVE_LINUXPCI
+
+/***********************************
+ ******* Linux PCI component *******
+ ***********************************/
+
+#define HWLOC_PCI_REVISION_ID 0x08
+#define HWLOC_PCI_CAP_ID_EXP 0x10
+#define HWLOC_PCI_CLASS_NOT_DEFINED 0x0000
+
+static int
+hwloc_look_linuxfs_pci(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_backend *tmpbackend;
+ hwloc_obj_t first_obj = NULL, last_obj = NULL;
+ int root_fd = -1;
+ DIR *dir;
+ struct dirent *dirent;
+ int res = 0;
+
+ if (!(hwloc_topology_get_flags(topology) & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO)))
+ return 0;
+
+ if (hwloc_get_next_pcidev(topology, NULL)) {
+ hwloc_debug("%s", "PCI objects already added, ignoring linuxpci backend.\n");
+ return 0;
+ }
+
+ /* hackily find the linux backend to steal its fsroot */
+ tmpbackend = topology->backends;
+ while (tmpbackend) {
+ if (tmpbackend->component == &hwloc_linux_disc_component) {
+ root_fd = ((struct hwloc_linux_backend_data_s *) tmpbackend->private_data)->root_fd;
+ hwloc_debug("linuxpci backend stole linux backend root_fd %d\n", root_fd);
+ break; }
+ tmpbackend = tmpbackend->next;
+ }
+ /* take our own descriptor, either pointing to linux fsroot, or to / if not found */
+ if (root_fd >= 0)
+ root_fd = dup(root_fd);
+ else
+ root_fd = open("/", O_RDONLY | O_DIRECTORY);
+
+ dir = hwloc_opendir("/sys/bus/pci/devices/", root_fd);
+ if (!dir)
+ goto out_with_rootfd;
+
+ while ((dirent = readdir(dir)) != NULL) {
+ unsigned domain, bus, dev, func;
+ hwloc_obj_t obj;
+ struct hwloc_pcidev_attr_s *attr;
+ unsigned os_index;
+ char path[64];
+ char value[16];
+ size_t ret;
+ int fd, err;
+
+ if (sscanf(dirent->d_name, "%04x:%02x:%02x.%01x", &domain, &bus, &dev, &func) != 4)
+ continue;
+
+ if (domain > 0xffff) {
+ static int warned = 0;
+ if (!warned)
+ fprintf(stderr, "Ignoring PCI device with non-16bit domain\n");
+ warned = 1;
+ continue;
+ }
+
+ os_index = (domain << 20) + (bus << 12) + (dev << 4) + func;
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PCI_DEVICE, os_index);
+ if (!obj)
+ break;
+ attr = &obj->attr->pcidev;
+
+ attr->domain = domain;
+ attr->bus = bus;
+ attr->dev = dev;
+ attr->func = func;
+
+ /* default (unknown) values */
+ attr->vendor_id = 0;
+ attr->device_id = 0;
+ attr->class_id = HWLOC_PCI_CLASS_NOT_DEFINED;
+ attr->revision = 0;
+ attr->subvendor_id = 0;
+ attr->subdevice_id = 0;
+ attr->linkspeed = 0;
+
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/vendor", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd))
+ attr->vendor_id = strtoul(value, NULL, 16);
+
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/device", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd))
+ attr->device_id = strtoul(value, NULL, 16);
+
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/class", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd))
+ attr->class_id = strtoul(value, NULL, 16) >> 8;
+
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/subsystem_vendor", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd))
+ attr->subvendor_id = strtoul(value, NULL, 16);
+
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/subsystem_device", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd))
+ attr->subdevice_id = strtoul(value, NULL, 16);
+
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/config", dirent->d_name);
+ if ((size_t) err < sizeof(path)) {
+ /* don't use hwloc_read_path_by_length() because we don't want the ending \0 */
+ fd = hwloc_open(path, root_fd);
+ if (fd >= 0) {
+#define CONFIG_SPACE_CACHESIZE 256
+ unsigned char config_space_cache[CONFIG_SPACE_CACHESIZE];
+ unsigned offset;
+
+ /* initialize the config space in case we fail to read it (missing permissions, etc). */
+ memset(config_space_cache, 0xff, CONFIG_SPACE_CACHESIZE);
+ ret = read(fd, config_space_cache, CONFIG_SPACE_CACHESIZE);
+ (void) ret; /* we initialized config_space_cache in case we don't read enough, ignore the read length */
+ close(fd);
+
+ /* is this a bridge? */
+ if (hwloc_pci_prepare_bridge(obj, config_space_cache) < 0)
+ continue;
+
+ /* get the revision */
+ attr->revision = config_space_cache[HWLOC_PCI_REVISION_ID];
+
+ /* try to get the link speed */
+ offset = hwloc_pci_find_cap(config_space_cache, HWLOC_PCI_CAP_ID_EXP);
+ if (offset > 0 && offset + 20 /* size of PCI express block up to link status */ <= CONFIG_SPACE_CACHESIZE) {
+ hwloc_pci_find_linkspeed(config_space_cache, offset, &attr->linkspeed);
+ } else {
+ /* if not available from config-space (extended part is root-only), look in sysfs files added in 4.13 */
+ float speed = 0.f;
+ unsigned width = 0;
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/current_link_speed", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd))
+ speed = hwloc_linux_pci_link_speed_from_string(value);
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/devices/%s/current_link_width", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, value, sizeof(value), root_fd))
+ width = atoi(value);
+ attr->linkspeed = speed*width/8;
+ }
+ }
+ }
+
+ if (first_obj)
+ last_obj->next_sibling = obj;
+ else
+ first_obj = obj;
+ last_obj = obj;
+ }
+
+ closedir(dir);
+
+ dir = hwloc_opendir("/sys/bus/pci/slots/", root_fd);
+ if (dir) {
+ while ((dirent = readdir(dir)) != NULL) {
+ char path[64];
+ char buf[64];
+ unsigned domain, bus, dev;
+ int err;
+ if (dirent->d_name[0] == '.')
+ continue;
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/slots/%s/address", dirent->d_name);
+ if ((size_t) err < sizeof(path)
+ && !hwloc_read_path_by_length(path, buf, sizeof(buf), root_fd)
+ && sscanf(buf, "%x:%x:%x", &domain, &bus, &dev) == 3) {
+ hwloc_obj_t obj = first_obj;
+ while (obj) {
+ if (obj->attr->pcidev.domain == domain
+ && obj->attr->pcidev.bus == bus
+ && obj->attr->pcidev.dev == dev) {
+ hwloc_obj_add_info(obj, "PCISlot", dirent->d_name);
+ }
+ obj = obj->next_sibling;
+ }
+ }
+ }
+ closedir(dir);
+ }
+
+ res = hwloc_insert_pci_device_list(backend, first_obj);
+
+ out_with_rootfd:
+ close(root_fd);
+ return res;
+}
+
+static struct hwloc_backend *
+hwloc_linuxpci_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+
+ /* thissystem may not be fully initialized yet, we'll check flags in discover() */
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->flags = HWLOC_BACKEND_FLAG_NEED_LEVELS;
+ backend->discover = hwloc_look_linuxfs_pci;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_linuxpci_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_MISC,
+ "linuxpci",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_linuxpci_component_instantiate,
+ 19, /* after pci */
+ NULL
+};
+
+const struct hwloc_component hwloc_linuxpci_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_linuxpci_disc_component
+};
+
+#endif /* HWLOC_HAVE_LINUXPCI */
--- /dev/null
+/*
+ * Copyright © 2012 Aleksej Saushev, The NetBSD Foundation
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#define _NETBSD_SOURCE /* request "_np" functions */
+
+#include <private/autogen/config.h>
+
+#include <sys/types.h>
+#include <stdlib.h>
+#include <inttypes.h>
+#include <sys/param.h>
+#include <pthread.h>
+#include <sched.h>
+#ifdef HAVE_SYS_SYSCTL_H
+#include <sys/sysctl.h>
+#endif
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+
+static void
+hwloc_netbsd_bsd2hwloc(hwloc_bitmap_t hwloc_cpuset, const cpuset_t *cpuset)
+{
+ unsigned cpu, cpulimit;
+ int found = 0;
+ hwloc_bitmap_zero(hwloc_cpuset);
+ cpulimit = cpuset_size(cpuset) * CHAR_BIT;
+ for (cpu = 0; cpu < cpulimit; cpu++)
+ if (cpuset_isset(cpu, cpuset)) {
+ hwloc_bitmap_set(hwloc_cpuset, cpu);
+ found++;
+ }
+ /* when never bound, it returns an empty set, fill it instead */
+ if (!found)
+ hwloc_bitmap_fill(hwloc_cpuset);
+}
+
+static void
+hwloc_netbsd_hwloc2bsd(hwloc_const_bitmap_t hwloc_cpuset, cpuset_t *cpuset)
+{
+ unsigned cpu, cpulimit;
+ cpuset_zero(cpuset);
+ cpulimit = cpuset_size(cpuset) * CHAR_BIT;
+ for (cpu = 0; cpu < cpulimit; cpu++)
+ if (hwloc_bitmap_isset(hwloc_cpuset, cpu))
+ cpuset_set(cpu, cpuset);
+}
+
+static int
+hwloc_netbsd_set_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ int status;
+ cpuset_t *cpuset = cpuset_create();
+ hwloc_netbsd_hwloc2bsd(hwloc_cpuset, cpuset);
+ status = sched_setaffinity_np(pid, cpuset_size(cpuset), cpuset);
+ cpuset_destroy(cpuset);
+ return status;
+}
+
+static int
+hwloc_netbsd_get_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t pid, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ int status;
+ cpuset_t *cpuset = cpuset_create();
+ status = sched_getaffinity_np(pid, cpuset_size(cpuset), cpuset);
+ hwloc_netbsd_bsd2hwloc(hwloc_cpuset, cpuset);
+ cpuset_destroy(cpuset);
+ return status;
+}
+
+
+static int
+hwloc_netbsd_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_netbsd_set_proc_cpubind(topology, 0, hwloc_cpuset, flags);
+}
+
+static int
+hwloc_netbsd_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_netbsd_get_proc_cpubind(topology, 0, hwloc_cpuset, flags);
+}
+
+
+static int
+hwloc_netbsd_set_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_const_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ int status;
+ cpuset_t *cpuset = cpuset_create();
+ hwloc_netbsd_hwloc2bsd(hwloc_cpuset, cpuset);
+ status = pthread_setaffinity_np(tid, cpuset_size(cpuset), cpuset);
+ cpuset_destroy(cpuset);
+
+ if (status) {
+ errno = status;
+ return -1;
+ }
+ return 0;
+}
+
+static int
+hwloc_netbsd_get_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t tid, hwloc_bitmap_t hwloc_cpuset, int flags __hwloc_attribute_unused)
+{
+ int status;
+ cpuset_t *cpuset = cpuset_create();
+ status = pthread_getaffinity_np(tid, cpuset_size(cpuset), cpuset);
+ hwloc_netbsd_bsd2hwloc(hwloc_cpuset, cpuset);
+ cpuset_destroy(cpuset);
+
+ if (status) {
+ errno = status;
+ return -1;
+ }
+ return 0;
+}
+
+
+static int
+hwloc_netbsd_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_netbsd_set_thread_cpubind(topology, pthread_self(), hwloc_cpuset, flags);
+}
+
+static int
+hwloc_netbsd_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_netbsd_get_thread_cpubind(topology, pthread_self(), hwloc_cpuset, flags);
+}
+
+#if (defined HAVE_SYSCTL) && (defined HAVE_SYS_SYSCTL_H)
+static void
+hwloc_netbsd_node_meminfo_info(struct hwloc_topology *topology)
+{
+ int mib[2] = { CTL_HW, HW_PHYSMEM64 };
+ unsigned long physmem;
+ size_t len = sizeof(physmem);
+ sysctl(mib, 2, &physmem, &len, NULL, 0);
+ topology->levels[0][0]->memory.local_memory = physmem;
+}
+#endif
+
+static int
+hwloc_look_netbsd(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ unsigned nbprocs = hwloc_fallback_nbprocessors(topology);
+
+ if (!topology->levels[0][0]->cpuset) {
+ /* Nobody (even the x86 backend) created objects yet, setup basic objects */
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+ hwloc_setup_pu_level(topology, nbprocs);
+ }
+
+ /* Add NetBSD specific information */
+#if (defined HAVE_SYSCTL) && (defined HAVE_SYS_SYSCTL_H)
+ hwloc_netbsd_node_meminfo_info(topology);
+#endif
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "NetBSD");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+void
+hwloc_set_netbsd_hooks(struct hwloc_binding_hooks *hooks __hwloc_attribute_unused,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+ hooks->set_proc_cpubind = hwloc_netbsd_set_proc_cpubind;
+ hooks->get_proc_cpubind = hwloc_netbsd_get_proc_cpubind;
+ hooks->set_thisproc_cpubind = hwloc_netbsd_set_thisproc_cpubind;
+ hooks->get_thisproc_cpubind = hwloc_netbsd_get_thisproc_cpubind;
+
+ hooks->set_thread_cpubind = hwloc_netbsd_set_thread_cpubind;
+ hooks->get_thread_cpubind = hwloc_netbsd_get_thread_cpubind;
+ hooks->set_thisthread_cpubind = hwloc_netbsd_set_thisthread_cpubind;
+ hooks->get_thisthread_cpubind = hwloc_netbsd_get_thisthread_cpubind;
+}
+
+static struct hwloc_backend *
+hwloc_netbsd_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_netbsd;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_netbsd_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "netbsd",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_netbsd_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_netbsd_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_netbsd_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+
+static int
+hwloc_look_noos(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+
+ if (topology->levels[0][0]->cpuset)
+ /* somebody discovered things */
+ return 0;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+ hwloc_setup_pu_level(topology, hwloc_fallback_nbprocessors(topology));
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+static struct hwloc_backend *
+hwloc_noos_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_noos;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_noos_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "no_os",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_noos_component_instantiate,
+ 40, /* lower than native OS component, higher than globals */
+ NULL
+};
+
+const struct hwloc_component hwloc_noos_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_noos_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2012-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/plugins.h>
+
+/* private headers allowed for convenience because this plugin is built within hwloc */
+#include <private/misc.h>
+#include <private/debug.h>
+
+#include <nvml.h>
+
+struct hwloc_nvml_backend_data_s {
+ unsigned nr_devices; /* -1 when unknown yet, first callback will setup */
+ struct hwloc_nvml_device_info_s {
+ char name[64];
+ char serial[64];
+ char uuid[64];
+ unsigned pcidomain, pcibus, pcidev, pcifunc;
+ float maxlinkspeed;
+ } * devices;
+};
+
+static void
+hwloc_nvml_query_devices(struct hwloc_nvml_backend_data_s *data)
+{
+ nvmlReturn_t ret;
+ unsigned nb, i;
+
+ /* mark the number of devices as 0 in case we fail below,
+ * so that we don't try again later.
+ */
+ data->nr_devices = 0;
+
+ ret = nvmlInit();
+ if (NVML_SUCCESS != ret)
+ goto out;
+ ret = nvmlDeviceGetCount(&nb);
+ if (NVML_SUCCESS != ret)
+ goto out_with_init;
+
+ /* allocate structs */
+ data->devices = malloc(nb * sizeof(*data->devices));
+ if (!data->devices)
+ goto out_with_init;
+
+ for(i=0; i<nb; i++) {
+ struct hwloc_nvml_device_info_s *info = &data->devices[data->nr_devices];
+ nvmlPciInfo_t pci;
+ nvmlDevice_t device;
+
+ ret = nvmlDeviceGetHandleByIndex(i, &device);
+ assert(ret == NVML_SUCCESS);
+
+ ret = nvmlDeviceGetPciInfo(device, &pci);
+ if (NVML_SUCCESS != ret)
+ continue;
+
+ info->pcidomain = pci.domain;
+ info->pcibus = pci.bus;
+ info->pcidev = pci.device;
+ info->pcifunc = 0;
+
+ info->name[0] = '\0';
+ ret = nvmlDeviceGetName(device, info->name, sizeof(info->name));
+ /* these may fail with NVML_ERROR_NOT_SUPPORTED on old devices */
+ info->serial[0] = '\0';
+ ret = nvmlDeviceGetSerial(device, info->serial, sizeof(info->serial));
+ info->uuid[0] = '\0';
+ ret = nvmlDeviceGetUUID(device, info->uuid, sizeof(info->uuid));
+
+ info->maxlinkspeed = 0.0f;
+#if HAVE_DECL_NVMLDEVICEGETMAXPCIELINKGENERATION
+ {
+ unsigned maxwidth = 0, maxgen = 0;
+ float lanespeed;
+ nvmlDeviceGetMaxPcieLinkWidth(device, &maxwidth);
+ nvmlDeviceGetMaxPcieLinkGeneration(device, &maxgen);
+ /* PCIe Gen1 = 2.5GT/s signal-rate per lane with 8/10 encoding = 0.25GB/s data-rate per lane
+ * PCIe Gen2 = 5 GT/s signal-rate per lane with 8/10 encoding = 0.5 GB/s data-rate per lane
+ * PCIe Gen3 = 8 GT/s signal-rate per lane with 128/130 encoding = 1 GB/s data-rate per lane
+ */
+ lanespeed = maxgen <= 2 ? 2.5 * maxgen * 0.8 : 8.0 * 128/130; /* Gbit/s per lane */
+ info->maxlinkspeed = lanespeed * maxwidth / 8; /* GB/s */
+ }
+#endif
+
+ /* validate this device */
+ data->nr_devices++;
+ }
+
+out_with_init:
+ nvmlShutdown();
+out:
+ return;
+}
+
+static int
+hwloc_nvml_backend_notify_new_object(struct hwloc_backend *backend, struct hwloc_backend *caller __hwloc_attribute_unused,
+ struct hwloc_obj *pcidev)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_nvml_backend_data_s *data = backend->private_data;
+ unsigned i;
+
+ if (!(hwloc_topology_get_flags(topology) & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO)))
+ return 0;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ hwloc_debug("%s", "\nno NVML detection (not thissystem)\n");
+ return 0;
+ }
+
+ if (HWLOC_OBJ_PCI_DEVICE != pcidev->type)
+ return 0;
+
+ if (data->nr_devices == (unsigned) -1) {
+ /* first call, lookup all devices */
+ hwloc_nvml_query_devices(data);
+ /* if it fails, data->nr_devices = 0 so we won't do anything below and in next callbacks */
+ }
+
+ if (!data->nr_devices)
+ /* found no devices */
+ return 0;
+
+ /* now the devices array is ready to use */
+ for(i=0; i<data->nr_devices; i++) {
+ struct hwloc_nvml_device_info_s *info = &data->devices[i];
+ hwloc_obj_t osdev;
+ char buffer[64];
+
+ if (info->pcidomain != pcidev->attr->pcidev.domain)
+ continue;
+ if (info->pcibus != pcidev->attr->pcidev.bus)
+ continue;
+ if (info->pcidev != pcidev->attr->pcidev.dev)
+ continue;
+ if (info->pcifunc != pcidev->attr->pcidev.func)
+ continue;
+
+ osdev = hwloc_alloc_setup_object(HWLOC_OBJ_OS_DEVICE, -1);
+ snprintf(buffer, sizeof(buffer), "nvml%u", i);
+ osdev->name = strdup(buffer);
+ osdev->depth = (unsigned) HWLOC_TYPE_DEPTH_UNKNOWN;
+ osdev->attr->osdev.type = HWLOC_OBJ_OSDEV_GPU;
+
+ hwloc_obj_add_info(osdev, "Backend", "NVML");
+ hwloc_obj_add_info(osdev, "GPUVendor", "NVIDIA Corporation");
+ hwloc_obj_add_info(osdev, "GPUModel", info->name);
+ if (info->serial[0] != '\0')
+ hwloc_obj_add_info(osdev, "NVIDIASerial", info->serial);
+ if (info->uuid[0] != '\0')
+ hwloc_obj_add_info(osdev, "NVIDIAUUID", info->uuid);
+
+ hwloc_insert_object_by_parent(topology, pcidev, osdev);
+
+ if (info->maxlinkspeed != 0.0f)
+ /* we found the max link speed, replace the current link speed found by pci (or none) */
+ pcidev->attr->pcidev.linkspeed = info->maxlinkspeed;
+
+ return 1;
+ }
+
+ return 0;
+}
+
+static void
+hwloc_nvml_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_nvml_backend_data_s *data = backend->private_data;
+ free(data->devices);
+ free(data);
+}
+
+static struct hwloc_backend *
+hwloc_nvml_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ struct hwloc_nvml_backend_data_s *data;
+
+ /* thissystem may not be fully initialized yet, we'll check flags in discover() */
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ free(backend);
+ return NULL;
+ }
+ /* the first callback will initialize those */
+ data->nr_devices = (unsigned) -1; /* unknown yet */
+ data->devices = NULL;
+
+ backend->private_data = data;
+ backend->disable = hwloc_nvml_backend_disable;
+
+ backend->notify_new_object = hwloc_nvml_backend_notify_new_object;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_nvml_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_MISC,
+ "nvml",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_nvml_component_instantiate,
+ 5, /* after pci, and after cuda since likely less useful */
+ NULL
+};
+
+static int
+hwloc_nvml_component_init(unsigned long flags)
+{
+ if (flags)
+ return -1;
+ if (hwloc_plugin_check_namespace("nvml", "hwloc_backend_alloc") < 0)
+ return -1;
+ return 0;
+}
+
+#ifdef HWLOC_INSIDE_PLUGIN
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_nvml_component;
+#endif
+
+const struct hwloc_component hwloc_nvml_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_nvml_component_init, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_nvml_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2012-2017 Inria. All rights reserved.
+ * Copyright © 2013, 2018 Université Bordeaux. All right reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/plugins.h>
+
+/* private headers allowed for convenience because this plugin is built within hwloc */
+#include <private/misc.h>
+#include <private/debug.h>
+
+#define CL_TARGET_OPENCL_VERSION 220
+#ifdef __APPLE__
+#include <OpenCL/cl_ext.h>
+#else
+#include <CL/cl_ext.h>
+#endif
+
+typedef enum hwloc_opencl_device_type_e {
+ HWLOC_OPENCL_DEVICE_AMD
+} hwloc_opencl_device_type_t;
+
+struct hwloc_opencl_backend_data_s {
+ unsigned nr_devices; /* -1 when unknown yet, first callback will setup */
+ struct hwloc_opencl_device_info_s {
+ hwloc_opencl_device_type_t type;
+
+ unsigned platformidx;
+ char platformname[64];
+ unsigned platformdeviceidx;
+ char devicename[64];
+ char devicevendor[64];
+ char devicetype[64];
+
+ unsigned computeunits;
+ unsigned long long globalmemsize;
+
+ union hwloc_opencl_device_info_u {
+ struct hwloc_opencl_device_info_amd_s {
+ unsigned pcidomain, pcibus, pcidev, pcifunc;
+ } amd;
+ } specific;
+ } * devices;
+};
+
+static void
+hwloc_opencl_query_devices(struct hwloc_opencl_backend_data_s *data)
+{
+ cl_platform_id *platform_ids = NULL;
+ cl_uint nr_platforms;
+ cl_device_id *device_ids = NULL;
+ cl_uint nr_devices, nr_total_devices, tmp;
+ cl_int clret;
+ unsigned curpfidx, curpfdvidx, i;
+
+ /* mark the number of devices as 0 in case we fail below,
+ * so that we don't try again later.
+ */
+ data->nr_devices = 0;
+
+ /* count platforms, allocate and get them */
+ clret = clGetPlatformIDs(0, NULL, &nr_platforms);
+ if (CL_SUCCESS != clret || !nr_platforms)
+ goto out;
+ hwloc_debug("%u OpenCL platforms\n", nr_platforms);
+ platform_ids = malloc(nr_platforms * sizeof(*platform_ids));
+ if (!platform_ids)
+ goto out;
+ clret = clGetPlatformIDs(nr_platforms, platform_ids, &nr_platforms);
+ if (CL_SUCCESS != clret || !nr_platforms)
+ goto out_with_platform_ids;
+
+ /* how many devices, total? */
+ tmp = 0;
+ for(i=0; i<nr_platforms; i++) {
+ clret = clGetDeviceIDs(platform_ids[i], CL_DEVICE_TYPE_ALL, 0, NULL, &nr_devices);
+ if (CL_SUCCESS != clret)
+ goto out_with_platform_ids;
+ tmp += nr_devices;
+ }
+ nr_total_devices = tmp;
+ hwloc_debug("%u OpenCL devices total\n", nr_total_devices);
+ /* allocate structs */
+ device_ids = malloc(nr_total_devices * sizeof(*device_ids));
+ data->devices = malloc(nr_total_devices * sizeof(*data->devices));
+ if (!data->devices || !device_ids)
+ goto out_with_device_ids;
+ /* actually query device ids */
+ tmp = 0;
+ for(i=0; i<nr_platforms; i++) {
+ clret = clGetDeviceIDs(platform_ids[i], CL_DEVICE_TYPE_ALL, nr_total_devices - tmp, device_ids + tmp, &nr_devices);
+ if (CL_SUCCESS != clret)
+ goto out_with_device_ids;
+ tmp += nr_devices;
+ }
+
+ /* query individual devices */
+ curpfidx = 0;
+ curpfdvidx = 0;
+ for(i=0; i<nr_total_devices; i++) {
+ struct hwloc_opencl_device_info_s *info = &data->devices[data->nr_devices];
+ cl_platform_id platform_id = 0;
+ cl_device_type type;
+#ifdef CL_DEVICE_TOPOLOGY_AMD
+ cl_device_topology_amd amdtopo;
+#endif
+ cl_ulong globalmemsize;
+ cl_uint computeunits;
+
+ hwloc_debug("Looking device %p\n", (void *) device_ids[i]);
+
+ info->platformname[0] = '\0';
+ clret = clGetDeviceInfo(device_ids[i], CL_DEVICE_PLATFORM, sizeof(platform_id), &platform_id, NULL);
+ if (CL_SUCCESS != clret)
+ continue;
+ clGetPlatformInfo(platform_id, CL_PLATFORM_NAME, sizeof(info->platformname), info->platformname, NULL);
+
+ info->devicename[0] = '\0';
+#ifdef CL_DEVICE_BOARD_NAME_AMD
+ clGetDeviceInfo(device_ids[i], CL_DEVICE_BOARD_NAME_AMD, sizeof(info->devicename), info->devicename, NULL);
+#else
+ clGetDeviceInfo(device_ids[i], CL_DEVICE_NAME, sizeof(info->devicename), info->devicename, NULL);
+#endif
+ info->devicevendor[0] = '\0';
+ clGetDeviceInfo(device_ids[i], CL_DEVICE_VENDOR, sizeof(info->devicevendor), info->devicevendor, NULL);
+
+ clGetDeviceInfo(device_ids[i], CL_DEVICE_TYPE, sizeof(type), &type, NULL);
+ switch (type) {
+ case CL_DEVICE_TYPE_CPU: /* FIXME: cannot happen in PCI devices? */
+ strcpy(info->devicetype, "CPU");
+ break;
+ case CL_DEVICE_TYPE_GPU:
+ strcpy(info->devicetype, "GPU");
+ break;
+ case CL_DEVICE_TYPE_ACCELERATOR:
+ strcpy(info->devicetype, "Accelerator");
+ break;
+ default:
+ strcpy(info->devicetype, "Unknown");
+ break;
+ }
+
+ clGetDeviceInfo(device_ids[i], CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(globalmemsize), &globalmemsize, NULL);
+ info->globalmemsize = globalmemsize / 1024;
+
+ clGetDeviceInfo(device_ids[i], CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(computeunits), &computeunits, NULL);
+ info->computeunits = computeunits;
+
+ hwloc_debug("platform %s device %s vendor %s type %s\n", info->platformname, info->devicename, info->devicevendor, info->devicetype);
+
+ /* find our indexes */
+ while (platform_id != platform_ids[curpfidx]) {
+ curpfidx++;
+ curpfdvidx = 0;
+ }
+ info->platformidx = curpfidx;
+ info->platformdeviceidx = curpfdvidx;
+ curpfdvidx++;
+
+ hwloc_debug("This is opencl%ud%u\n", info->platformidx, info->platformdeviceidx);
+
+#ifdef CL_DEVICE_TOPOLOGY_AMD
+ clret = clGetDeviceInfo(device_ids[i], CL_DEVICE_TOPOLOGY_AMD, sizeof(amdtopo), &amdtopo, NULL);
+ if (CL_SUCCESS != clret) {
+ hwloc_debug("no AMD-specific device information: %d\n", clret);
+ continue;
+ }
+ if (CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD != amdtopo.raw.type) {
+ hwloc_debug("not a PCIe device: %u\n", amdtopo.raw.type);
+ continue;
+ }
+
+ info->type = HWLOC_OPENCL_DEVICE_AMD;
+ info->specific.amd.pcidomain = 0;
+ info->specific.amd.pcibus = amdtopo.pcie.bus;
+ info->specific.amd.pcidev = amdtopo.pcie.device;
+ info->specific.amd.pcifunc = amdtopo.pcie.function;
+
+ hwloc_debug("OpenCL device on PCI 0000:%02x:%02x.%01x\n",
+ (unsigned) amdtopo.pcie.bus, (unsigned) amdtopo.pcie.device, (unsigned) amdtopo.pcie.function);
+
+ /* validate this device */
+ data->nr_devices++;
+#endif /* HAVE_DECL_CL_DEVICE_TOPOLOGY_AMD */
+ }
+ free(device_ids);
+ free(platform_ids);
+ return;
+
+out_with_device_ids:
+ free(device_ids);
+ free(data->devices);
+ data->devices = NULL;
+out_with_platform_ids:
+ free(platform_ids);
+out:
+ return;
+}
+
+static int
+hwloc_opencl_backend_notify_new_object(struct hwloc_backend *backend, struct hwloc_backend *caller __hwloc_attribute_unused,
+ struct hwloc_obj *pcidev)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_opencl_backend_data_s *data = backend->private_data;
+ unsigned i;
+
+ if (!(hwloc_topology_get_flags(topology) & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO)))
+ return 0;
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ hwloc_debug("%s", "\nno OpenCL detection (not thissystem)\n");
+ return 0;
+ }
+
+ if (HWLOC_OBJ_PCI_DEVICE != pcidev->type)
+ return 0;
+
+ if (data->nr_devices == (unsigned) -1) {
+ /* first call, lookup all devices */
+ hwloc_opencl_query_devices(data);
+ /* if it fails, data->nr_devices = 0 so we won't do anything below and in next callbacks */
+ }
+
+ if (!data->nr_devices)
+ /* found no devices */
+ return 0;
+
+ /* now the devices array is ready to use */
+ for(i=0; i<data->nr_devices; i++) {
+ struct hwloc_opencl_device_info_s *info = &data->devices[i];
+ hwloc_obj_t osdev;
+ char buffer[64];
+
+ assert(info->type == HWLOC_OPENCL_DEVICE_AMD);
+ if (info->specific.amd.pcidomain != pcidev->attr->pcidev.domain)
+ continue;
+ if (info->specific.amd.pcibus != pcidev->attr->pcidev.bus)
+ continue;
+ if (info->specific.amd.pcidev != pcidev->attr->pcidev.dev)
+ continue;
+ if (info->specific.amd.pcifunc != pcidev->attr->pcidev.func)
+ continue;
+
+ osdev = hwloc_alloc_setup_object(HWLOC_OBJ_OS_DEVICE, -1);
+ snprintf(buffer, sizeof(buffer), "opencl%ud%u", info->platformidx, info->platformdeviceidx);
+ osdev->name = strdup(buffer);
+ osdev->depth = (unsigned) HWLOC_TYPE_DEPTH_UNKNOWN;
+ osdev->attr->osdev.type = HWLOC_OBJ_OSDEV_COPROC;
+
+ hwloc_obj_add_info(osdev, "CoProcType", "OpenCL");
+ hwloc_obj_add_info(osdev, "Backend", "OpenCL");
+ hwloc_obj_add_info(osdev, "OpenCLDeviceType", info->devicetype);
+
+ if (info->devicevendor[0] != '\0')
+ hwloc_obj_add_info(osdev, "GPUVendor", info->devicevendor);
+ if (info->devicename[0] != '\0')
+ hwloc_obj_add_info(osdev, "GPUModel", info->devicename);
+
+ snprintf(buffer, sizeof(buffer), "%u", info->platformidx);
+ hwloc_obj_add_info(osdev, "OpenCLPlatformIndex", buffer);
+ if (info->platformname[0] != '\0')
+ hwloc_obj_add_info(osdev, "OpenCLPlatformName", info->platformname);
+
+ snprintf(buffer, sizeof(buffer), "%u", info->platformdeviceidx);
+ hwloc_obj_add_info(osdev, "OpenCLPlatformDeviceIndex", buffer);
+
+ snprintf(buffer, sizeof(buffer), "%u", info->computeunits);
+ hwloc_obj_add_info(osdev, "OpenCLComputeUnits", buffer);
+
+ snprintf(buffer, sizeof(buffer), "%llu", info->globalmemsize);
+ hwloc_obj_add_info(osdev, "OpenCLGlobalMemorySize", buffer);
+
+ hwloc_insert_object_by_parent(topology, pcidev, osdev);
+ return 1;
+ }
+
+ return 0;
+}
+
+static void
+hwloc_opencl_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_opencl_backend_data_s *data = backend->private_data;
+ free(data->devices);
+ free(data);
+}
+
+static struct hwloc_backend *
+hwloc_opencl_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ struct hwloc_opencl_backend_data_s *data;
+
+ /* thissystem may not be fully initialized yet, we'll check flags in discover() */
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ free(backend);
+ return NULL;
+ }
+ /* the first callback will initialize those */
+ data->nr_devices = (unsigned) -1; /* unknown yet */
+ data->devices = NULL;
+
+ backend->private_data = data;
+ backend->disable = hwloc_opencl_backend_disable;
+
+ backend->notify_new_object = hwloc_opencl_backend_notify_new_object;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_opencl_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_MISC,
+ "opencl",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_opencl_component_instantiate,
+ 10, /* after pci */
+ NULL
+};
+
+static int
+hwloc_opencl_component_init(unsigned long flags)
+{
+ if (flags)
+ return -1;
+ if (hwloc_plugin_check_namespace("opencl", "hwloc_backend_alloc") < 0)
+ return -1;
+ return 0;
+}
+
+#ifdef HWLOC_INSIDE_PLUGIN
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_opencl_component;
+#endif
+
+const struct hwloc_component hwloc_opencl_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_opencl_component_init, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_opencl_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#include <sys/types.h>
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <string.h>
+#include <errno.h>
+#include <stdio.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <pthread.h>
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+
+#include <numa.h>
+#include <radset.h>
+#include <cpuset.h>
+#include <sys/mman.h>
+
+/*
+ * TODO
+ *
+ * nsg_init(), nsg_attach_pid(), RAD_MIGRATE/RAD_WAIT
+ * assign_pid_to_pset()
+ *
+ * pthread_use_only_cpu too?
+ */
+
+static int
+prepare_radset(hwloc_topology_t topology __hwloc_attribute_unused, radset_t *radset, hwloc_const_bitmap_t hwloc_set)
+{
+ unsigned cpu;
+ cpuset_t target_cpuset;
+ cpuset_t cpuset, xor_cpuset;
+ radid_t radid;
+ int ret = 0;
+ int ret_errno = 0;
+ int nbnodes = rad_get_num();
+
+ cpusetcreate(&target_cpuset);
+ cpuemptyset(target_cpuset);
+ hwloc_bitmap_foreach_begin(cpu, hwloc_set)
+ cpuaddset(target_cpuset, cpu);
+ hwloc_bitmap_foreach_end();
+
+ cpusetcreate(&cpuset);
+ cpusetcreate(&xor_cpuset);
+ for (radid = 0; radid < nbnodes; radid++) {
+ cpuemptyset(cpuset);
+ if (rad_get_cpus(radid, cpuset)==-1) {
+ fprintf(stderr,"rad_get_cpus(%d) failed: %s\n",radid,strerror(errno));
+ continue;
+ }
+ cpuxorset(target_cpuset, cpuset, xor_cpuset);
+ if (cpucountset(xor_cpuset) == 0) {
+ /* Found it */
+ radsetcreate(radset);
+ rademptyset(*radset);
+ radaddset(*radset, radid);
+ ret = 1;
+ goto out;
+ }
+ }
+ /* radset containing exactly this set of CPUs not found */
+ ret_errno = EXDEV;
+
+out:
+ cpusetdestroy(&target_cpuset);
+ cpusetdestroy(&cpuset);
+ cpusetdestroy(&xor_cpuset);
+ errno = ret_errno;
+ return ret;
+}
+
+/* Note: get_cpubind not available on OSF */
+
+static int
+hwloc_osf_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ radset_t radset;
+
+ if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) {
+ if ((errno = pthread_rad_detach(thread)))
+ return -1;
+ return 0;
+ }
+
+ /* Apparently OSF migrates pages */
+ if (flags & HWLOC_CPUBIND_NOMEMBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ if (!prepare_radset(topology, &radset, hwloc_set))
+ return -1;
+
+ if (flags & HWLOC_CPUBIND_STRICT) {
+ if ((errno = pthread_rad_bind(thread, radset, RAD_INSIST | RAD_WAIT)))
+ return -1;
+ } else {
+ if ((errno = pthread_rad_attach(thread, radset, RAD_WAIT)))
+ return -1;
+ }
+ radsetdestroy(&radset);
+
+ return 0;
+}
+
+static int
+hwloc_osf_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ radset_t radset;
+
+ if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) {
+ if (rad_detach_pid(pid))
+ return -1;
+ return 0;
+ }
+
+ /* Apparently OSF migrates pages */
+ if (flags & HWLOC_CPUBIND_NOMEMBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ if (!prepare_radset(topology, &radset, hwloc_set))
+ return -1;
+
+ if (flags & HWLOC_CPUBIND_STRICT) {
+ if (rad_bind_pid(pid, radset, RAD_INSIST | RAD_WAIT))
+ return -1;
+ } else {
+ if (rad_attach_pid(pid, radset, RAD_WAIT))
+ return -1;
+ }
+ radsetdestroy(&radset);
+
+ return 0;
+}
+
+static int
+hwloc_osf_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_osf_set_thread_cpubind(topology, pthread_self(), hwloc_set, flags);
+}
+
+static int
+hwloc_osf_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_osf_set_proc_cpubind(topology, getpid(), hwloc_set, flags);
+}
+
+static int
+hwloc_osf_prepare_mattr(hwloc_topology_t topology __hwloc_attribute_unused, memalloc_attr_t *mattr, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags __hwloc_attribute_unused)
+{
+ unsigned long osf_policy;
+ int node;
+
+ switch (policy) {
+ case HWLOC_MEMBIND_FIRSTTOUCH:
+ osf_policy = MPOL_THREAD;
+ break;
+ case HWLOC_MEMBIND_DEFAULT:
+ case HWLOC_MEMBIND_BIND:
+ osf_policy = MPOL_DIRECTED;
+ break;
+ case HWLOC_MEMBIND_INTERLEAVE:
+ osf_policy = MPOL_STRIPPED;
+ break;
+ case HWLOC_MEMBIND_REPLICATE:
+ osf_policy = MPOL_REPLICATED;
+ break;
+ default:
+ errno = ENOSYS;
+ return -1;
+ }
+
+ memset(mattr, 0, sizeof(*mattr));
+ mattr->mattr_policy = osf_policy;
+ mattr->mattr_rad = RAD_NONE;
+ radsetcreate(&mattr->mattr_radset);
+ rademptyset(mattr->mattr_radset);
+
+ hwloc_bitmap_foreach_begin(node, nodeset)
+ radaddset(mattr->mattr_radset, node);
+ hwloc_bitmap_foreach_end();
+ return 0;
+}
+
+static int
+hwloc_osf_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ memalloc_attr_t mattr;
+ int behavior = 0;
+ int ret;
+
+ if (flags & HWLOC_MEMBIND_MIGRATE)
+ behavior |= MADV_CURRENT;
+ if (flags & HWLOC_MEMBIND_STRICT)
+ behavior |= MADV_INSIST;
+
+ if (hwloc_osf_prepare_mattr(topology, &mattr, nodeset, policy, flags))
+ return -1;
+
+ ret = nmadvise(addr, len, MADV_CURRENT, &mattr);
+ radsetdestroy(&mattr.mattr_radset);
+ return ret;
+}
+
+static void *
+hwloc_osf_alloc_membind(hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ memalloc_attr_t mattr;
+ void *ptr;
+
+ if (hwloc_osf_prepare_mattr(topology, &mattr, nodeset, policy, flags))
+ return hwloc_alloc_or_fail(topology, len, flags);
+
+ /* TODO: rather use acreate/amalloc ? */
+ ptr = nmmap(NULL, len, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1,
+ 0, &mattr);
+ radsetdestroy(&mattr.mattr_radset);
+ return ptr == MAP_FAILED ? NULL : ptr;
+}
+
+static int
+hwloc_look_osf(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ cpu_cursor_t cursor;
+ unsigned nbnodes;
+ radid_t radid, radid2;
+ radset_t radset, radset2;
+ cpuid_t cpuid;
+ cpuset_t cpuset;
+ struct hwloc_obj *obj;
+ unsigned distance;
+
+ if (topology->levels[0][0]->cpuset)
+ /* somebody discovered things */
+ return 0;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ nbnodes = rad_get_num();
+
+ cpusetcreate(&cpuset);
+ radsetcreate(&radset);
+ radsetcreate(&radset2);
+ {
+ hwloc_obj_t *nodes = calloc(nbnodes, sizeof(hwloc_obj_t));
+ unsigned *indexes = calloc(nbnodes, sizeof(unsigned));
+ float *distances = calloc(nbnodes*nbnodes, sizeof(float));
+ unsigned nfound;
+ numa_attr_t attr;
+
+ attr.nattr_type = R_RAD;
+ attr.nattr_descr.rd_radset = radset;
+ attr.nattr_flags = 0;
+
+ for (radid = 0; radid < (radid_t) nbnodes; radid++) {
+ rademptyset(radset);
+ radaddset(radset, radid);
+ cpuemptyset(cpuset);
+ if (rad_get_cpus(radid, cpuset)==-1) {
+ fprintf(stderr,"rad_get_cpus(%d) failed: %s\n",radid,strerror(errno));
+ continue;
+ }
+
+ indexes[radid] = radid;
+ nodes[radid] = obj = hwloc_alloc_setup_object(HWLOC_OBJ_NUMANODE, radid);
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, radid);
+ obj->cpuset = hwloc_bitmap_alloc();
+ obj->memory.local_memory = rad_get_physmem(radid) * hwloc_getpagesize();
+ obj->memory.page_types_len = 2;
+ obj->memory.page_types = malloc(2*sizeof(*obj->memory.page_types));
+ memset(obj->memory.page_types, 0, 2*sizeof(*obj->memory.page_types));
+ obj->memory.page_types[0].size = hwloc_getpagesize();
+#if HAVE_DECL__SC_LARGE_PAGESIZE
+ obj->memory.page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+
+ cursor = SET_CURSOR_INIT;
+ while((cpuid = cpu_foreach(cpuset, 0, &cursor)) != CPU_NONE)
+ hwloc_bitmap_set(obj->cpuset, cpuid);
+
+ hwloc_debug_1arg_bitmap("node %d has cpuset %s\n",
+ radid, obj->cpuset);
+
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ nfound = 0;
+ for (radid2 = 0; radid2 < (radid_t) nbnodes; radid2++)
+ distances[radid*nbnodes+radid2] = RAD_DIST_REMOTE;
+ for (distance = RAD_DIST_LOCAL; distance < RAD_DIST_REMOTE; distance++) {
+ attr.nattr_distance = distance;
+ /* get set of NUMA nodes at distance <= DISTANCE */
+ if (nloc(&attr, radset2)) {
+ fprintf(stderr,"nloc failed: %s\n", strerror(errno));
+ continue;
+ }
+ cursor = SET_CURSOR_INIT;
+ while ((radid2 = rad_foreach(radset2, 0, &cursor)) != RAD_NONE) {
+ if (distances[radid*nbnodes+radid2] == RAD_DIST_REMOTE) {
+ distances[radid*nbnodes+radid2] = (float) distance;
+ nfound++;
+ }
+ }
+ if (nfound == nbnodes)
+ /* Finished finding distances, no need to go up to RAD_DIST_REMOTE */
+ break;
+ }
+ }
+
+ hwloc_distances_set(topology, HWLOC_OBJ_NUMANODE, nbnodes, indexes, nodes, distances, 0 /* OS cannot force */);
+ }
+ radsetdestroy(&radset2);
+ radsetdestroy(&radset);
+ cpusetdestroy(&cpuset);
+
+ /* add PU objects */
+ hwloc_setup_pu_level(topology, hwloc_fallback_nbprocessors(topology));
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "OSF");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+void
+hwloc_set_osf_hooks(struct hwloc_binding_hooks *hooks,
+ struct hwloc_topology_support *support)
+{
+ hooks->set_thread_cpubind = hwloc_osf_set_thread_cpubind;
+ hooks->set_thisthread_cpubind = hwloc_osf_set_thisthread_cpubind;
+ hooks->set_proc_cpubind = hwloc_osf_set_proc_cpubind;
+ hooks->set_thisproc_cpubind = hwloc_osf_set_thisproc_cpubind;
+ hooks->set_area_membind = hwloc_osf_set_area_membind;
+ hooks->alloc_membind = hwloc_osf_alloc_membind;
+ hooks->alloc = hwloc_alloc_mmap;
+ hooks->free_membind = hwloc_free_mmap;
+ support->membind->firsttouch_membind = 1;
+ support->membind->bind_membind = 1;
+ support->membind->interleave_membind = 1;
+ support->membind->replicate_membind = 1;
+}
+
+static struct hwloc_backend *
+hwloc_osf_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_osf;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_osf_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "osf",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_osf_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_osf_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_osf_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2011, 2013 Université Bordeaux
+ * Copyright © 2014-2018 Cisco Systems, Inc. All rights reserved.
+ * Copyright © 2015 Research Organization for Information Science
+ * and Technology (RIST). All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/helper.h>
+#include <hwloc/plugins.h>
+
+/* private headers allowed for convenience because this plugin is built within hwloc */
+#include <private/debug.h>
+#include <private/misc.h>
+
+#include <stdio.h>
+#include <fcntl.h>
+#include <string.h>
+#include <assert.h>
+#include <stdarg.h>
+#ifdef HWLOC_LINUX_SYS
+#include <dirent.h>
+#endif
+
+#include <pciaccess.h>
+
+#ifndef PCI_HEADER_TYPE
+#define PCI_HEADER_TYPE 0x0e
+#endif
+#ifndef PCI_HEADER_TYPE_BRIDGE
+#define PCI_HEADER_TYPE_BRIDGE 1
+#endif
+
+#ifndef PCI_CLASS_DEVICE
+#define PCI_CLASS_DEVICE 0x0a
+#endif
+#ifndef PCI_CLASS_BRIDGE_PCI
+#define PCI_CLASS_BRIDGE_PCI 0x0604
+#endif
+
+#ifndef PCI_REVISION_ID
+#define PCI_REVISION_ID 0x08
+#endif
+
+#ifndef PCI_SUBSYSTEM_VENDOR_ID
+#define PCI_SUBSYSTEM_VENDOR_ID 0x2c
+#endif
+#ifndef PCI_SUBSYSTEM_ID
+#define PCI_SUBSYSTEM_ID 0x2e
+#endif
+
+#ifndef PCI_PRIMARY_BUS
+#define PCI_PRIMARY_BUS 0x18
+#endif
+#ifndef PCI_SECONDARY_BUS
+#define PCI_SECONDARY_BUS 0x19
+#endif
+#ifndef PCI_SUBORDINATE_BUS
+#define PCI_SUBORDINATE_BUS 0x1a
+#endif
+
+#ifndef PCI_CAP_ID_EXP
+#define PCI_CAP_ID_EXP 0x10
+#endif
+
+#ifndef PCI_CAP_NORMAL
+#define PCI_CAP_NORMAL 1
+#endif
+
+#define CONFIG_SPACE_CACHESIZE 256
+
+#ifdef HWLOC_WIN_SYS
+#error pciaccess locking currently not implemented on Windows
+
+#elif defined HWLOC_HAVE_PTHREAD_MUTEX
+/* pthread mutex if available (except on windows) */
+#include <pthread.h>
+static pthread_mutex_t hwloc_pciaccess_mutex = PTHREAD_MUTEX_INITIALIZER;
+#define HWLOC_PCIACCESS_LOCK() pthread_mutex_lock(&hwloc_pciaccess_mutex)
+#define HWLOC_PCIACCESS_UNLOCK() pthread_mutex_unlock(&hwloc_pciaccess_mutex)
+
+#else /* HWLOC_WIN_SYS || HWLOC_HAVE_PTHREAD_MUTEX */
+#error No mutex implementation available
+#endif
+
+static int
+hwloc_look_pci(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_obj *first_obj = NULL, *last_obj = NULL;
+ int ret;
+ struct pci_device_iterator *iter;
+ struct pci_device *pcidev;
+#ifdef HWLOC_LINUX_SYS
+ DIR *dir;
+#endif
+
+ if (!(hwloc_topology_get_flags(topology) & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO)))
+ return 0;
+
+ if (hwloc_get_next_pcidev(topology, NULL)) {
+ hwloc_debug("%s", "PCI objects already added, ignoring pci backend.\n");
+ return 0;
+ }
+
+ if (!hwloc_topology_is_thissystem(topology)) {
+ hwloc_debug("%s", "\nno PCI detection (not thissystem)\n");
+ return 0;
+ }
+
+ hwloc_debug("%s", "\nScanning PCI buses...\n");
+
+ /* pciaccess isn't thread-safe. it uses a single global variable that doesn't have
+ * refcounting, and is dynamically reallocated when vendor/device names are needed, etc.
+ */
+ HWLOC_PCIACCESS_LOCK();
+
+ /* initialize PCI scanning */
+ ret = pci_system_init();
+ if (ret) {
+ HWLOC_PCIACCESS_UNLOCK();
+ hwloc_debug("%s", "Can not initialize libpciaccess\n");
+ return -1;
+ }
+
+ iter = pci_slot_match_iterator_create(NULL);
+
+ /* iterate over devices */
+ for (pcidev = pci_device_next(iter);
+ pcidev;
+ pcidev = pci_device_next(iter))
+ {
+ const char *vendorname, *devicename, *fullname;
+ unsigned char config_space_cache[CONFIG_SPACE_CACHESIZE];
+ struct hwloc_obj *obj;
+ unsigned os_index;
+ unsigned domain;
+ unsigned device_class;
+ unsigned short tmp16;
+ char name[128];
+ unsigned offset;
+
+ /* initialize the config space in case we fail to read it (missing permissions, etc). */
+ memset(config_space_cache, 0xff, CONFIG_SPACE_CACHESIZE);
+ pci_device_probe(pcidev);
+ pci_device_cfg_read(pcidev, config_space_cache, 0, CONFIG_SPACE_CACHESIZE, NULL);
+
+ /* try to read the domain */
+ domain = pcidev->domain;
+ if (domain > 0xffff) {
+ static int warned = 0;
+ if (!warned)
+ fprintf(stderr, "Ignoring PCI device with non-16bit domain\n");
+ warned = 1;
+ continue;
+ }
+
+ /* try to read the device_class */
+ device_class = pcidev->device_class >> 8;
+
+ /* fixup SR-IOV buggy VF device/vendor IDs */
+ if (0xffff == pcidev->vendor_id && 0xffff == pcidev->device_id) {
+ /* SR-IOV puts ffff:ffff in Virtual Function config space.
+ * The actual VF device ID is stored at a special (dynamic) location in the Physical Function config space.
+ * VF and PF have the same vendor ID.
+ *
+ * libpciaccess just returns ffff:ffff, needs to be fixed.
+ * linuxpci is OK because sysfs files are already fixed the kernel.
+ * (pciutils is OK when it uses those Linux sysfs files.)
+ *
+ * Reading these files is an easy way to work around the libpciaccess issue on Linux,
+ * but we have no way to know if this is caused by SR-IOV or not.
+ *
+ * TODO:
+ * If PF has CAP_ID_PCIX or CAP_ID_EXP (offset>0),
+ * look for extended capability PCI_EXT_CAP_ID_SRIOV (need extended config space (more than 256 bytes)),
+ * then read the VF device ID after it (PCI_IOV_DID bytes later).
+ * Needs access to extended config space (needs root on Linux).
+ * TODO:
+ * Add string info attributes in VF and PF objects?
+ */
+#ifdef HWLOC_LINUX_SYS
+ /* Workaround for Linux (the kernel returns the VF device/vendor IDs). */
+ char path[64];
+ char value[16];
+ FILE *file;
+ size_t bytes_read;
+
+ snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/vendor",
+ domain, pcidev->bus, pcidev->dev, pcidev->func);
+ file = fopen(path, "r");
+ if (file) {
+ bytes_read = fread(value, 1, sizeof(value), file);
+ fclose(file);
+ if (bytes_read)
+ /* fixup the pciaccess struct so that pci_device_get_vendor_name() is correct later. */
+ pcidev->vendor_id = strtoul(value, NULL, 16);
+ }
+
+ snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/device",
+ domain, pcidev->bus, pcidev->dev, pcidev->func);
+ file = fopen(path, "r");
+ if (file) {
+ bytes_read = fread(value, 1, sizeof(value), file);
+ fclose(file);
+ if (bytes_read)
+ /* fixup the pciaccess struct so that pci_device_get_device_name() is correct later. */
+ pcidev->device_id = strtoul(value, NULL, 16);
+ }
+#endif
+ }
+
+ /* might be useful for debugging (note that domain might be truncated) */
+ os_index = (domain << 20) + (pcidev->bus << 12) + (pcidev->dev << 4) + pcidev->func;
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PCI_DEVICE, os_index);
+ obj->attr->pcidev.domain = domain;
+ obj->attr->pcidev.bus = pcidev->bus;
+ obj->attr->pcidev.dev = pcidev->dev;
+ obj->attr->pcidev.func = pcidev->func;
+ obj->attr->pcidev.vendor_id = pcidev->vendor_id;
+ obj->attr->pcidev.device_id = pcidev->device_id;
+ obj->attr->pcidev.class_id = device_class;
+ obj->attr->pcidev.revision = config_space_cache[PCI_REVISION_ID];
+
+ obj->attr->pcidev.linkspeed = 0; /* unknown */
+ offset = hwloc_pci_find_cap(config_space_cache, PCI_CAP_ID_EXP);
+
+ if (offset > 0 && offset + 20 /* size of PCI express block up to link status */ <= CONFIG_SPACE_CACHESIZE) {
+ hwloc_pci_find_linkspeed(config_space_cache, offset, &obj->attr->pcidev.linkspeed);
+#ifdef HWLOC_LINUX_SYS
+ } else {
+ /* if not available from config-space (extended part is root-only), look in Linux sysfs files added in 4.13 */
+ char path[64];
+ char value[16];
+ FILE *file;
+ size_t bytes_read;
+ float speed = 0.f;
+ unsigned width = 0;
+ snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/current_link_speed",
+ domain, pcidev->bus, pcidev->dev, pcidev->func);
+ file = fopen(path, "r");
+ if (file) {
+ bytes_read = fread(value, 1, sizeof(value), file);
+ fclose(file);
+ if (bytes_read)
+ speed = hwloc_linux_pci_link_speed_from_string(value);
+ }
+ snprintf(path, sizeof(path), "/sys/bus/pci/devices/%04x:%02x:%02x.%01x/current_link_width",
+ domain, pcidev->bus, pcidev->dev, pcidev->func);
+ file = fopen(path, "r");
+ if (file) {
+ bytes_read = fread(value, 1, sizeof(value), file);
+ fclose(file);
+ if (bytes_read)
+ width = atoi(value);
+ }
+ obj->attr->pcidev.linkspeed = speed*width/8;
+#endif
+ }
+
+ if (hwloc_pci_prepare_bridge(obj, config_space_cache) < 0)
+ continue;
+
+ if (obj->type == HWLOC_OBJ_PCI_DEVICE) {
+ memcpy(&tmp16, &config_space_cache[PCI_SUBSYSTEM_VENDOR_ID], sizeof(tmp16));
+ obj->attr->pcidev.subvendor_id = tmp16;
+ memcpy(&tmp16, &config_space_cache[PCI_SUBSYSTEM_ID], sizeof(tmp16));
+ obj->attr->pcidev.subdevice_id = tmp16;
+ } else {
+ /* TODO:
+ * bridge must lookup PCI_CAP_ID_SSVID and then look at offset+PCI_SSVID_VENDOR/DEVICE_ID
+ * cardbus must look at PCI_CB_SUBSYSTEM_VENDOR_ID and PCI_CB_SUBSYSTEM_ID
+ */
+ }
+
+ /* get the vendor name */
+ vendorname = pci_device_get_vendor_name(pcidev);
+ if (vendorname && *vendorname)
+ hwloc_obj_add_info(obj, "PCIVendor", vendorname);
+
+ /* get the device name */
+ devicename = pci_device_get_device_name(pcidev);
+ if (devicename && *devicename)
+ hwloc_obj_add_info(obj, "PCIDevice", devicename);
+
+ /* generate or get the fullname */
+ snprintf(name, sizeof(name), "%s%s%s",
+ vendorname ? vendorname : "",
+ vendorname && devicename ? " " : "",
+ devicename ? devicename : "");
+ fullname = name;
+ if (*name)
+ obj->name = strdup(name);
+ hwloc_debug(" %04x:%02x:%02x.%01x %04x %04x:%04x %s\n",
+ domain, pcidev->bus, pcidev->dev, pcidev->func,
+ device_class, pcidev->vendor_id, pcidev->device_id,
+ fullname && *fullname ? fullname : "??");
+
+ /* queue the object for now */
+ if (first_obj)
+ last_obj->next_sibling = obj;
+ else
+ first_obj = obj;
+ last_obj = obj;
+ }
+
+ /* finalize device scanning */
+ pci_iterator_destroy(iter);
+ pci_system_cleanup();
+ HWLOC_PCIACCESS_UNLOCK();
+
+#ifdef HWLOC_LINUX_SYS
+ dir = opendir("/sys/bus/pci/slots/");
+ if (dir) {
+ struct dirent *dirent;
+ while ((dirent = readdir(dir)) != NULL) {
+ char path[64];
+ FILE *file;
+ int err;
+ if (dirent->d_name[0] == '.')
+ continue;
+ err = snprintf(path, sizeof(path), "/sys/bus/pci/slots/%s/address", dirent->d_name);
+ if ((size_t) err < sizeof(path)) {
+ file = fopen(path, "r");
+ if (file) {
+ unsigned domain, bus, dev;
+ if (fscanf(file, "%x:%x:%x", &domain, &bus, &dev) == 3) {
+ hwloc_obj_t obj = first_obj;
+ while (obj) {
+ if (obj->attr->pcidev.domain == domain
+ && obj->attr->pcidev.bus == bus
+ && obj->attr->pcidev.dev == dev) {
+ hwloc_obj_add_info(obj, "PCISlot", dirent->d_name);
+ }
+ obj = obj->next_sibling;
+ }
+ }
+ fclose(file);
+ }
+ }
+ }
+ closedir(dir);
+ }
+#endif
+
+ return hwloc_insert_pci_device_list(backend, first_obj);
+}
+
+static struct hwloc_backend *
+hwloc_pci_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+
+ /* thissystem may not be fully initialized yet, we'll check flags in discover() */
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->flags = HWLOC_BACKEND_FLAG_NEED_LEVELS;
+#ifdef HWLOC_SOLARIS_SYS
+ if ((uid_t)0 != geteuid())
+ backend->discover = NULL;
+ else
+#endif
+ backend->discover = hwloc_look_pci;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_pci_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_MISC,
+ "pci",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_pci_component_instantiate,
+ 20,
+ NULL
+};
+
+static int
+hwloc_pci_component_init(unsigned long flags)
+{
+ if (flags)
+ return -1;
+ if (hwloc_plugin_check_namespace("pci", "hwloc_backend_alloc") < 0)
+ return -1;
+ return 0;
+}
+
+#ifdef HWLOC_INSIDE_PLUGIN
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_pci_component;
+#endif
+
+const struct hwloc_component hwloc_pci_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_pci_component_init, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_pci_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009-2010 Oracle and/or its affiliates. All rights reserved.
+ * Copyright © 2013 Université Bordeaux. All rights reserved.
+ * Copyright © 2016-2018 Inria. All rights reserved.
+ *
+ * $COPYRIGHT$
+ *
+ * Additional copyrights may follow
+ *
+ * $HEADER$
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/solaris-chiptype.h>
+#include <private/misc.h>
+#include <private/debug.h>
+
+#include <stdlib.h>
+#include <strings.h>
+
+#ifdef HAVE_PICL_H
+#include <sys/systeminfo.h>
+#include <picl.h>
+
+/* SPARC Chip Implementations. */
+#define IMPL_SPARC64_VI 0x6
+#define IMPL_SPARC64_VII 0x7
+#define IMPL_SPITFIRE 0x10
+#define IMPL_BLACKBIRD 0x11
+#define IMPL_SABRE 0x12
+#define IMPL_HUMMINGBIRD 0x13
+#define IMPL_CHEETAH 0x14
+#define IMPL_CHEETAHPLUS 0x15
+#define IMPL_JALAPENO 0x16
+#define IMPL_JAGUAR 0x18
+#define IMPL_PANTHER 0x19
+#define IMPL_NIAGARA 0x23
+#define IMPL_NIAGARA_2 0x24
+#define IMPL_ROCK 0x25
+
+/* Default Mfg, Cache, Speed settings */
+#define TI_MANUFACTURER 0x17
+#define TWO_MEG_CACHE 2097152
+#define SPITFIRE_SPEED 142943750
+
+/*****************************************************************************
+ Order of this list is important for the assign_value and
+ assign_string_value routines
+*****************************************************************************/
+
+static const char* items[] = {
+#define INDEX_PROCESSOR_TYPE 0
+ "ProcessorType",
+#define INDEX_BRAND_STRING 1
+ "brand-string",
+#define INDEX_COMPATIBLE 2
+ "compatible",
+#define INDEX_IMPLEMENTATION 3
+ "implementation#",
+
+/* the following groups must be contigous from L1I to L3 each */
+#define INDEX_L1I_CACHE_SIZE 4
+ "l1-icache-size",
+#define INDEX_L1D_CACHE_SIZE 5
+ "l1-dcache-size",
+#define INDEX_L2I_CACHE_SIZE 6
+ "l2-icache-size",
+#define INDEX_L2D_CACHE_SIZE 7
+ "l2-dcache-size",
+#define INDEX_L3_CACHE_SIZE 8
+ "l3-cache-size",
+
+#define INDEX_L1I_CACHE_LINESIZE 9
+ "l1-icache-line-size",
+#define INDEX_L1D_CACHE_LINESIZE 10
+ "l1-dcache-line-size",
+#define INDEX_L2I_CACHE_LINESIZE 11
+ "l2-icache-line-size",
+#define INDEX_L2D_CACHE_LINESIZE 12
+ "l2-dcache-line-size",
+#define INDEX_L3_CACHE_LINESIZE 13
+ "l3-cache-line-size",
+
+#define INDEX_L1I_CACHE_ASSOCIATIVITY 14
+ "l1-icache-associativity",
+#define INDEX_L1D_CACHE_ASSOCIATIVITY 15
+ "l1-dcache-associativity",
+#define INDEX_L2I_CACHE_ASSOCIATIVITY 16
+ "l2-icache-associativity",
+#define INDEX_L2D_CACHE_ASSOCIATIVITY 17
+ "l2-dcache-associativity",
+#define INDEX_L3_CACHE_ASSOCIATIVITY 18
+ "l3-cache-associativity",
+
+#define INDEX_L2U_CACHE_SIZE 19
+ "l2-cache-size",
+#define INDEX_L2U_CACHE_LINESIZE 20
+ "l2-cache-line-size",
+#define INDEX_L2U_CACHE_ASSOCIATIVITY 21
+ "l2-cache-associativity",
+
+#define INDEX_SL2_CACHE_SIZE 22
+ "sectored-l2-cache-size",
+#define INDEX_SL2_CACHE_LINESIZE 23
+ "sectored-l2-cache-line-size",
+#define INDEX_SL2_CACHE_ASSOCIATIVITY 24
+ "sectored-l2-cache-associativity",
+};
+
+#define NUM_ITEMS (sizeof(items) / sizeof(items[0]))
+
+/*****************************************************************************
+SPARC strings for chip modes and implementation
+*****************************************************************************/
+static const char* sparc_modes[] = {
+#define MODE_UNKNOWN 0
+ "UNKNOWN",
+#define MODE_SPITFIRE 1
+ "SPITFIRE",
+#define MODE_BLACKBIRD 2
+ "BLACKBIRD",
+#define MODE_CHEETAH 3
+ "CHEETAH",
+#define MODE_SPARC64_VI 4
+ "SPARC64_VI",
+#define MODE_T1 5
+ "T1",
+#define MODE_T2 6
+ "T2",
+/* needs T4, T3 and T2+ ? */
+#define MODE_SPARC64_VII 7
+ "SPARC64_VII",
+#define MODE_ROCK 8
+ "ROCK",
+#define MODE_T5 9
+ "T5",
+#define MODE_T6 10
+ "T6",
+#define MODE_M7 11
+ "M7",
+#define MODE_S7 12
+ "S7",
+#define MODE_M8 13
+ "M8"
+};
+
+/*****************************************************************************
+Default values are for Unknown so we can build up from there.
+*****************************************************************************/
+
+static int called_cpu_probe = 0;
+static char dss_chip_type[PICL_PROPNAMELEN_MAX+1];
+static char dss_chip_model[PICL_PROPNAMELEN_MAX+1];
+static long dss_chip_mode = MODE_UNKNOWN;
+
+struct hwloc_solaris_chip_info_s chip_info;
+
+/*****************************************************************************
+Assigns values based on the value of index. For this reason, the order of
+the items array is important.
+*****************************************************************************/
+static void assign_value(int index, long long val) {
+ if (index == INDEX_IMPLEMENTATION) {
+ /* implementation# T1, T2, and Rock do not have this, see RFE 6615268 */
+ long dss_chip_impl = val;
+ if (dss_chip_impl == IMPL_SPITFIRE) {
+ dss_chip_mode = MODE_SPITFIRE;
+ }
+ else if ((dss_chip_impl >= IMPL_BLACKBIRD) &&
+ (dss_chip_impl <= IMPL_HUMMINGBIRD)) {
+ dss_chip_mode = MODE_BLACKBIRD;
+ }
+ else if ((dss_chip_impl >= IMPL_CHEETAH) &&
+ (dss_chip_impl <= IMPL_PANTHER)) {
+ dss_chip_mode = MODE_CHEETAH;
+ }
+ else if (dss_chip_impl == IMPL_SPARC64_VI) {
+ dss_chip_mode = MODE_SPARC64_VI;
+ }
+ else if (dss_chip_impl == IMPL_NIAGARA) {
+ dss_chip_mode = MODE_T1;
+ }
+ else if (dss_chip_impl == IMPL_NIAGARA_2) {
+ dss_chip_mode = MODE_T2;
+ }
+ else if (dss_chip_impl == IMPL_SPARC64_VII) {
+ dss_chip_mode = MODE_SPARC64_VII;
+ }
+ else if (dss_chip_impl == IMPL_ROCK) {
+ dss_chip_mode = MODE_ROCK;
+ }
+ }
+
+ else if ((index >= INDEX_L1I_CACHE_SIZE) && (index <= INDEX_L3_CACHE_SIZE)) {
+ /* make sure our indexes and the target structure are ordered the same */
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_SIZE+HWLOC_SOLARIS_CHIP_INFO_L1I == INDEX_L1I_CACHE_SIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_SIZE+HWLOC_SOLARIS_CHIP_INFO_L1D == INDEX_L1D_CACHE_SIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_SIZE+HWLOC_SOLARIS_CHIP_INFO_L2I == INDEX_L2I_CACHE_SIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_SIZE+HWLOC_SOLARIS_CHIP_INFO_L2D == INDEX_L2D_CACHE_SIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_SIZE+HWLOC_SOLARIS_CHIP_INFO_L3 == INDEX_L3_CACHE_SIZE);
+
+ chip_info.cache_size[index-INDEX_L1I_CACHE_SIZE] = val;
+ }
+ else if ((index >= INDEX_L1I_CACHE_LINESIZE) && (index <= INDEX_L3_CACHE_LINESIZE)) {
+ /* make sure our indexes and the target structure are ordered the same */
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_LINESIZE+HWLOC_SOLARIS_CHIP_INFO_L1I == INDEX_L1I_CACHE_LINESIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_LINESIZE+HWLOC_SOLARIS_CHIP_INFO_L1D == INDEX_L1D_CACHE_LINESIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_LINESIZE+HWLOC_SOLARIS_CHIP_INFO_L2I == INDEX_L2I_CACHE_LINESIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_LINESIZE+HWLOC_SOLARIS_CHIP_INFO_L2D == INDEX_L2D_CACHE_LINESIZE);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_LINESIZE+HWLOC_SOLARIS_CHIP_INFO_L3 == INDEX_L3_CACHE_LINESIZE);
+
+ chip_info.cache_linesize[index-INDEX_L1I_CACHE_LINESIZE] = val;
+ }
+ else if ((index >= INDEX_L1I_CACHE_ASSOCIATIVITY) && (index <= INDEX_L3_CACHE_ASSOCIATIVITY)) {
+ /* make sure our indexes and the target structure are ordered the same */
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_ASSOCIATIVITY+HWLOC_SOLARIS_CHIP_INFO_L1I == INDEX_L1I_CACHE_ASSOCIATIVITY);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_ASSOCIATIVITY+HWLOC_SOLARIS_CHIP_INFO_L1D == INDEX_L1D_CACHE_ASSOCIATIVITY);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_ASSOCIATIVITY+HWLOC_SOLARIS_CHIP_INFO_L2I == INDEX_L2I_CACHE_ASSOCIATIVITY);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_ASSOCIATIVITY+HWLOC_SOLARIS_CHIP_INFO_L2D == INDEX_L2D_CACHE_ASSOCIATIVITY);
+ HWLOC_BUILD_ASSERT(INDEX_L1I_CACHE_ASSOCIATIVITY+HWLOC_SOLARIS_CHIP_INFO_L3 == INDEX_L3_CACHE_ASSOCIATIVITY);
+
+ chip_info.cache_associativity[index-INDEX_L1I_CACHE_ASSOCIATIVITY] = val;
+ }
+
+ /* store L2U info in L2D with l2_unified flag */
+ else if (index == INDEX_L2U_CACHE_SIZE) {
+ chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L2D] = val;
+ chip_info.l2_unified = 1;
+ }
+ else if (index == INDEX_L2U_CACHE_LINESIZE) {
+ chip_info.cache_linesize[HWLOC_SOLARIS_CHIP_INFO_L2D] = val;
+ chip_info.l2_unified = 1;
+ }
+ else if (index == INDEX_L2U_CACHE_ASSOCIATIVITY) {
+ chip_info.cache_associativity[HWLOC_SOLARIS_CHIP_INFO_L2D] = val;
+ chip_info.l2_unified = 1;
+ }
+
+ /* assume sectored L2 is identical to L2u for size/linesize/associativity */
+ else if (index == INDEX_SL2_CACHE_SIZE) {
+ chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L2D] = val;
+ chip_info.l2_unified = 1;
+ }
+ else if (index == INDEX_SL2_CACHE_LINESIZE) {
+ chip_info.cache_linesize[HWLOC_SOLARIS_CHIP_INFO_L2D] = val;
+ chip_info.l2_unified = 1;
+ }
+ else if (index == INDEX_SL2_CACHE_ASSOCIATIVITY) {
+ chip_info.cache_associativity[HWLOC_SOLARIS_CHIP_INFO_L2D] = val;
+ chip_info.l2_unified = 1;
+ }
+}
+
+/*****************************************************************************
+Assigns values based on the value of index. For this reason, the order of
+the items array is important.
+*****************************************************************************/
+static void assign_string_value(int index, char* string_val) {
+ if (index == INDEX_COMPATIBLE) { /* compatible */
+ if (strncasecmp(string_val, "FJSV,SPARC64-VI",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_SPARC64_VI;
+ }
+ else if (strncasecmp(string_val, "SUNW,UltraSPARC-T1",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_T1;
+ }
+ else if (strncasecmp(string_val, "SUNW,UltraSPARC-T2",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_T2;
+ }
+ else if (strncasecmp(string_val, "FJSV,SPARC64-VII",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_SPARC64_VII;
+ }
+ else if (strncasecmp(string_val, "SUNW,Rock",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_ROCK;
+ }
+ else if (strncasecmp(string_val, "SPARC-T5",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_T5;
+ }
+ else if (strncasecmp(string_val, "SPARC-T6", /* not actually tested */
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_T6;
+ }
+ else if (strncasecmp(string_val, "SPARC-M7",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_M7;
+ }
+ else if (strncasecmp(string_val, "SPARC-S7",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_S7;
+ }
+ else if (strncasecmp(string_val, "SPARC-M8",
+ PICL_PROPNAMELEN_MAX) == 0) {
+ dss_chip_mode = MODE_M8;
+ }
+ } else if (index == INDEX_PROCESSOR_TYPE) { /* ProcessorType */
+ strncpy(&dss_chip_type[0], string_val, PICL_PROPNAMELEN_MAX);
+ } else if (index == INDEX_BRAND_STRING) { /* brand-string */
+ strncpy(&dss_chip_model[0], string_val, PICL_PROPNAMELEN_MAX);
+ }
+}
+
+/*****************************************************************************
+Gets called by probe_cpu. Cycles through the table values until we find
+what we are looking for.
+*****************************************************************************/
+static void search_table(int index, picl_prophdl_t table_hdl) {
+
+ picl_prophdl_t col_hdl;
+ picl_prophdl_t row_hdl;
+ picl_propinfo_t p_info;
+ int val;
+ char string_val[PICL_PROPNAMELEN_MAX];
+
+ for (val = picl_get_next_by_col(table_hdl, &row_hdl); val != PICL_ENDOFLIST;
+ val = picl_get_next_by_col(row_hdl, &row_hdl)) {
+ if (val == PICL_SUCCESS) {
+ for (col_hdl = row_hdl; val != PICL_ENDOFLIST;
+ val = picl_get_next_by_row(col_hdl, &col_hdl)) {
+ if (val == PICL_SUCCESS) {
+ val = picl_get_propinfo(col_hdl, &p_info);
+ if (val == PICL_SUCCESS) {
+ if (p_info.type == PICL_PTYPE_CHARSTRING) {
+ val = picl_get_propval(col_hdl, &string_val, sizeof(string_val));
+ if (val == PICL_SUCCESS) {
+ assign_string_value(index, string_val);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+/*****************************************************************************
+Gets called by picl_walk_tree_by_class. Then it cycles through the properties
+until we find what we are looking for. Once we are done, we return
+PICL_WALK_TERMINATE to stop picl_walk_tree_by_class from traversing the tree.
+
+Note that PICL_PTYPE_UNSIGNED_INT and PICL_PTYPE_INT can either be 4-bytes
+or 8-bytes.
+*****************************************************************************/
+static int probe_cpu(picl_nodehdl_t node_hdl, void* dummy_arg __hwloc_attribute_unused) {
+
+ picl_prophdl_t p_hdl;
+ picl_prophdl_t table_hdl;
+ picl_propinfo_t p_info;
+ long long long_long_val;
+ unsigned int uint_val;
+ unsigned int index;
+ int int_val;
+ int val;
+ char string_val[PICL_PROPNAMELEN_MAX+1];
+
+ val = picl_get_first_prop(node_hdl, &p_hdl);
+ while (val == PICL_SUCCESS) {
+ called_cpu_probe = 1;
+ val = picl_get_propinfo(p_hdl, &p_info);
+ if (val == PICL_SUCCESS) {
+ for (index = 0; index < NUM_ITEMS; index++) {
+ if (strcasecmp(p_info.name, items[index]) == 0) {
+ if (p_info.type == PICL_PTYPE_UNSIGNED_INT) {
+ if (p_info.size == sizeof(uint_val)) {
+ val = picl_get_propval(p_hdl, &uint_val, sizeof(uint_val));
+ if (val == PICL_SUCCESS) {
+ long_long_val = uint_val;
+ assign_value(index, long_long_val);
+ }
+ }
+ else if (p_info.size == sizeof(long_long_val)) {
+ val = picl_get_propval(p_hdl, &long_long_val,
+ sizeof(long_long_val));
+ if (val == PICL_SUCCESS) {
+ assign_value(index, long_long_val);
+ }
+ }
+ }
+ else if (p_info.type == PICL_PTYPE_INT) {
+ if (p_info.size == sizeof(int_val)) {
+ val = picl_get_propval(p_hdl, &int_val, sizeof(int_val));
+ if (val == PICL_SUCCESS) {
+ long_long_val = int_val;
+ assign_value(index, long_long_val);
+ }
+ }
+ else if (p_info.size == sizeof(long_long_val)) {
+ val = picl_get_propval(p_hdl, &long_long_val,
+ sizeof(long_long_val));
+ if (val == PICL_SUCCESS) {
+ assign_value(index, long_long_val);
+ }
+ }
+ }
+ else if (p_info.type == PICL_PTYPE_CHARSTRING) {
+ val = picl_get_propval(p_hdl, &string_val, sizeof(string_val));
+ if (val == PICL_SUCCESS) {
+ assign_string_value(index, string_val);
+ }
+ }
+ else if (p_info.type == PICL_PTYPE_TABLE) {
+ val = picl_get_propval(p_hdl, &table_hdl, p_info.size);
+ if (val == PICL_SUCCESS) {
+ search_table(index, table_hdl);
+ }
+ }
+ break;
+ }
+ }
+ }
+
+ val = picl_get_next_prop(p_hdl, &p_hdl);
+ }
+ return PICL_WALK_TERMINATE;
+}
+
+
+/*****************************************************************************
+Initializes, gets the root, then walks the picl tree looking for information
+
+Currently, the "core" class is only needed for OPL systems
+*****************************************************************************/
+
+static void probe_picl(void)
+{
+ char *env;
+ int ret;
+
+ memset(&chip_info, 0, sizeof(chip_info));
+
+ /* if we ever see a heterogeneous platform, we'll need to parse PICL attributes for each CPU
+ * (which means returning PICL_WALK_CONTINUE instead of PICL_WALK_TERMINATE above)
+ * instead of using the first CPU PICL attributes for the entire machine.
+ *
+ * Use this env var to disable the PICL homogeneous-only parsing in the meantime.
+ */
+ env = getenv("HWLOC_PICL_HETEROGENEOUS");
+ if (env && atoi(env))
+ return;
+
+ ret = picl_initialize();
+ if (ret == PICL_SUCCESS) {
+ picl_nodehdl_t root;
+ ret = picl_get_root(&root);
+ if (ret == PICL_SUCCESS) {
+ ret = picl_walk_tree_by_class(root, "cpu", (void *)NULL, probe_cpu);
+ ret = picl_walk_tree_by_class(root, "core", (void *)NULL, probe_cpu);
+ }
+ picl_shutdown();
+ }
+
+ if (called_cpu_probe) {
+#if (defined HWLOC_X86_64_ARCH) || (defined HWLOC_X86_32_ARCH)
+ /* PICL returns some corrupted chip_type strings on x86,
+ * and CPUType only used on Sparc anyway, at least for now.
+ * So we just ignore this attribute on x86. */
+ dss_chip_type[0] = '\0';
+#endif
+ if (dss_chip_mode != MODE_UNKNOWN) { /* SPARC chip */
+ strncpy(dss_chip_model, sparc_modes[dss_chip_mode],
+ PICL_PROPNAMELEN_MAX);
+ }
+ } else {
+ /* no picl information on machine available */
+ sysinfo(SI_HW_PROVIDER, dss_chip_type, PICL_PROPNAMELEN_MAX);
+ sysinfo(SI_PLATFORM, dss_chip_model, PICL_PROPNAMELEN_MAX);
+ }
+
+#ifdef HWLOC_DEBUG
+ {
+ unsigned i;
+ for(i=0; i<sizeof(chip_info.cache_size)/sizeof(*chip_info.cache_size); i++)
+ hwloc_debug("PICL gave cache #%u size %lu line %u associativity %u\n",
+ i, chip_info.cache_size[i], chip_info.cache_linesize[i], chip_info.cache_associativity[i]);
+ }
+#endif
+
+ /* make sure strings are null-terminated */
+ dss_chip_type[sizeof(dss_chip_type)-1] = '\0';
+ dss_chip_model[sizeof(dss_chip_model)-1] = '\0';
+
+ /* setup the info struct */
+ if (dss_chip_type[0])
+ chip_info.type = dss_chip_type;
+ if (dss_chip_model[0])
+ chip_info.model = dss_chip_model;
+}
+
+void hwloc_solaris_get_chip_info(struct hwloc_solaris_chip_info_s *info)
+{
+ static int probe_done = 0;
+ if (!probe_done) {
+ probe_picl();
+ probe_done = 1;
+ }
+
+ memcpy(info, &chip_info, sizeof(*info));
+}
+
+#else /* !HAVE_PICL_H */
+void hwloc_solaris_get_chip_info(struct hwloc_solaris_chip_info_s *info)
+{
+ memset(info, 0, sizeof(*info));
+}
+#endif /* !HAVE_PICL_H */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * Copyright © 2011 Oracle and/or its affiliates. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+#include <private/solaris-chiptype.h>
+
+#include <stdio.h>
+#include <errno.h>
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <sys/types.h>
+#include <sys/processor.h>
+#include <sys/procset.h>
+#include <sys/systeminfo.h>
+#include <sys/types.h>
+#include <sys/mman.h>
+
+#ifdef HAVE_LIBLGRP
+# include <sys/lgrp_user.h>
+#endif
+
+static int
+hwloc_solaris_set_sth_cpubind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ unsigned target_cpu;
+
+ /* The resulting binding is always strict */
+
+ if (hwloc_bitmap_isequal(hwloc_set, hwloc_topology_get_complete_cpuset(topology))) {
+ if (processor_bind(idtype, id, PBIND_NONE, NULL) != 0)
+ return -1;
+#ifdef HAVE_LIBLGRP
+ if (!(flags & HWLOC_CPUBIND_NOMEMBIND)) {
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ if (depth >= 0) {
+ int n = hwloc_get_nbobjs_by_depth(topology, depth);
+ int i;
+
+ for (i = 0; i < n; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, i);
+ lgrp_affinity_set(idtype, id, obj->os_index, LGRP_AFF_NONE);
+ }
+ }
+ }
+#endif /* HAVE_LIBLGRP */
+ return 0;
+ }
+
+#ifdef HAVE_LIBLGRP
+ if (!(flags & HWLOC_CPUBIND_NOMEMBIND)) {
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ if (depth >= 0) {
+ int n = hwloc_get_nbobjs_by_depth(topology, depth);
+ int i;
+ int ok;
+ hwloc_bitmap_t target = hwloc_bitmap_alloc();
+
+ for (i = 0; i < n; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, i);
+ if (hwloc_bitmap_isincluded(obj->cpuset, hwloc_set))
+ hwloc_bitmap_or(target, target, obj->cpuset);
+ }
+
+ ok = hwloc_bitmap_isequal(target, hwloc_set);
+ hwloc_bitmap_free(target);
+
+ if (ok) {
+ /* Ok, managed to achieve hwloc_set by just combining NUMA nodes */
+
+ for (i = 0; i < n; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, i);
+
+ if (hwloc_bitmap_isincluded(obj->cpuset, hwloc_set)) {
+ lgrp_affinity_set(idtype, id, obj->os_index, LGRP_AFF_STRONG);
+ } else {
+ if (flags & HWLOC_CPUBIND_STRICT)
+ lgrp_affinity_set(idtype, id, obj->os_index, LGRP_AFF_NONE);
+ else
+ lgrp_affinity_set(idtype, id, obj->os_index, LGRP_AFF_WEAK);
+ }
+ }
+
+ return 0;
+ }
+ }
+ }
+#endif /* HAVE_LIBLGRP */
+
+ if (hwloc_bitmap_weight(hwloc_set) != 1) {
+ errno = EXDEV;
+ return -1;
+ }
+
+ target_cpu = hwloc_bitmap_first(hwloc_set);
+
+ if (processor_bind(idtype, id,
+ (processorid_t) (target_cpu), NULL) != 0)
+ return -1;
+
+ return 0;
+}
+
+static int
+hwloc_solaris_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_solaris_set_sth_cpubind(topology, P_PID, pid, hwloc_set, flags);
+}
+
+static int
+hwloc_solaris_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_solaris_set_sth_cpubind(topology, P_PID, P_MYID, hwloc_set, flags);
+}
+
+static int
+hwloc_solaris_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_solaris_set_sth_cpubind(topology, P_LWPID, P_MYID, hwloc_set, flags);
+}
+
+#ifdef HAVE_LIBLGRP
+static int
+hwloc_solaris_get_sth_cpubind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ processorid_t binding;
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ int n;
+ int i;
+
+ if (depth < 0) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ /* first check if processor_bind() was used to bind to a single processor rather than to an lgroup */
+ if ( processor_bind(idtype, id, PBIND_QUERY, &binding) == 0 && binding != PBIND_NONE ) {
+ hwloc_bitmap_only(hwloc_set, binding);
+ return 0;
+ }
+
+ /* if not, check lgroups */
+ hwloc_bitmap_zero(hwloc_set);
+ n = hwloc_get_nbobjs_by_depth(topology, depth);
+ for (i = 0; i < n; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, i);
+ lgrp_affinity_t aff = lgrp_affinity_get(idtype, id, obj->os_index);
+
+ if (aff == LGRP_AFF_STRONG)
+ hwloc_bitmap_or(hwloc_set, hwloc_set, obj->cpuset);
+ }
+
+ if (hwloc_bitmap_iszero(hwloc_set))
+ hwloc_bitmap_copy(hwloc_set, hwloc_topology_get_complete_cpuset(topology));
+
+ return 0;
+}
+
+static int
+hwloc_solaris_get_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_solaris_get_sth_cpubind(topology, P_PID, pid, hwloc_set, flags);
+}
+
+static int
+hwloc_solaris_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_solaris_get_sth_cpubind(topology, P_PID, P_MYID, hwloc_set, flags);
+}
+
+static int
+hwloc_solaris_get_thisthread_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_solaris_get_sth_cpubind(topology, P_LWPID, P_MYID, hwloc_set, flags);
+}
+#endif /* HAVE_LIBLGRP */
+
+/* TODO: given thread, probably not easy because of the historical n:m implementation */
+#ifdef HAVE_LIBLGRP
+static int
+hwloc_solaris_set_sth_membind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ int depth;
+ int n, i;
+
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT:
+ case HWLOC_MEMBIND_BIND:
+ break;
+ default:
+ errno = ENOSYS;
+ return -1;
+ }
+
+ if (flags & HWLOC_MEMBIND_NOCPUBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ if (depth < 0) {
+ errno = EXDEV;
+ return -1;
+ }
+ n = hwloc_get_nbobjs_by_depth(topology, depth);
+
+ for (i = 0; i < n; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, i);
+ if (hwloc_bitmap_isset(nodeset, obj->os_index)) {
+ lgrp_affinity_set(idtype, id, obj->os_index, LGRP_AFF_STRONG);
+ } else {
+ if (flags & HWLOC_CPUBIND_STRICT)
+ lgrp_affinity_set(idtype, id, obj->os_index, LGRP_AFF_NONE);
+ else
+ lgrp_affinity_set(idtype, id, obj->os_index, LGRP_AFF_WEAK);
+ }
+ }
+
+ return 0;
+}
+
+static int
+hwloc_solaris_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ return hwloc_solaris_set_sth_membind(topology, P_PID, pid, nodeset, policy, flags);
+}
+
+static int
+hwloc_solaris_set_thisproc_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ return hwloc_solaris_set_sth_membind(topology, P_PID, P_MYID, nodeset, policy, flags);
+}
+
+static int
+hwloc_solaris_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ return hwloc_solaris_set_sth_membind(topology, P_LWPID, P_MYID, nodeset, policy, flags);
+}
+
+static int
+hwloc_solaris_get_sth_membind(hwloc_topology_t topology, idtype_t idtype, id_t id, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags __hwloc_attribute_unused)
+{
+ int depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ int n;
+ int i;
+
+ if (depth < 0) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ hwloc_bitmap_zero(nodeset);
+ n = hwloc_get_nbobjs_by_depth(topology, depth);
+
+ for (i = 0; i < n; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, i);
+ lgrp_affinity_t aff = lgrp_affinity_get(idtype, id, obj->os_index);
+
+ if (aff == LGRP_AFF_STRONG)
+ hwloc_bitmap_set(nodeset, obj->os_index);
+ }
+
+ if (hwloc_bitmap_iszero(nodeset))
+ hwloc_bitmap_copy(nodeset, hwloc_topology_get_complete_nodeset(topology));
+
+ *policy = HWLOC_MEMBIND_BIND;
+ return 0;
+}
+
+static int
+hwloc_solaris_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)
+{
+ return hwloc_solaris_get_sth_membind(topology, P_PID, pid, nodeset, policy, flags);
+}
+
+static int
+hwloc_solaris_get_thisproc_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)
+{
+ return hwloc_solaris_get_sth_membind(topology, P_PID, P_MYID, nodeset, policy, flags);
+}
+
+static int
+hwloc_solaris_get_thisthread_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy, int flags)
+{
+ return hwloc_solaris_get_sth_membind(topology, P_LWPID, P_MYID, nodeset, policy, flags);
+}
+#endif /* HAVE_LIBLGRP */
+
+
+#ifdef MADV_ACCESS_LWP
+static int
+hwloc_solaris_set_area_membind(hwloc_topology_t topology, const void *addr, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags __hwloc_attribute_unused)
+{
+ int advice;
+ size_t remainder;
+
+ /* Can not give a set of nodes just for an area. */
+ if (!hwloc_bitmap_isequal(nodeset, hwloc_topology_get_complete_nodeset(topology))) {
+ errno = EXDEV;
+ return -1;
+ }
+
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT:
+ case HWLOC_MEMBIND_BIND:
+ advice = MADV_ACCESS_DEFAULT;
+ break;
+ case HWLOC_MEMBIND_FIRSTTOUCH:
+ case HWLOC_MEMBIND_NEXTTOUCH:
+ advice = MADV_ACCESS_LWP;
+ break;
+ case HWLOC_MEMBIND_INTERLEAVE:
+ advice = MADV_ACCESS_MANY;
+ break;
+ default:
+ errno = ENOSYS;
+ return -1;
+ }
+
+ remainder = (uintptr_t) addr & (sysconf(_SC_PAGESIZE)-1);
+ addr = (char*) addr - remainder;
+ len += remainder;
+ return madvise((void*) addr, len, advice);
+}
+#endif
+
+#ifdef HAVE_LIBLGRP
+
+/* list the allowed PUs and NUMA Nodes using LGRP_VIEW_CALLER */
+static void
+lgrp_list_allowed(struct hwloc_topology *topology)
+{
+ lgrp_cookie_t cookie;
+ lgrp_id_t root;
+ int npids, nnids;
+ int i, n;
+ processorid_t *pids;
+ lgrp_id_t *nids;
+
+ cookie = lgrp_init(LGRP_VIEW_CALLER);
+ if (cookie == LGRP_COOKIE_NONE) {
+ hwloc_debug("lgrp_init LGRP_VIEW_CALLER failed: %s\n", strerror(errno));
+ goto out;
+ }
+ root = lgrp_root(cookie);
+
+ /* list allowed PUs */
+ npids = lgrp_cpus(cookie, root, NULL, 0, LGRP_CONTENT_HIERARCHY);
+ if (npids < 0) {
+ hwloc_debug("lgrp_cpus failed: %s\n", strerror(errno));
+ goto out_with_cookie;
+ }
+ hwloc_debug("root lgrp contains %d allowed PUs\n", npids);
+ assert(npids > 0);
+
+ pids = malloc(npids * sizeof(*pids));
+ if (!pids)
+ goto out_with_cookie;
+
+ n = lgrp_cpus(cookie, root, pids, npids, LGRP_CONTENT_HIERARCHY);
+ assert(n == npids);
+
+ hwloc_bitmap_zero(topology->levels[0][0]->allowed_cpuset);
+
+ for(i=0; i<npids; i++) {
+ hwloc_debug("root lgrp contains allowed PU #%d = P#%d\n", i, pids[i]);
+ hwloc_bitmap_set(topology->levels[0][0]->allowed_cpuset, pids[i]);
+ }
+ free(pids);
+
+ /* list allowed NUMA nodes */
+ nnids = lgrp_resources(cookie, root, NULL, 0, LGRP_RSRC_MEM);
+ if (nnids < 0) {
+ hwloc_debug("lgrp_resources failed: %s\n", strerror(errno));
+ goto out_with_cookie;
+ }
+ hwloc_debug("root lgrp contains %d allowed NUMA nodes\n", nnids);
+ assert(nnids > 0);
+
+ nids = malloc(nnids * sizeof(*nids));
+ if (!nids)
+ goto out_with_cookie;
+
+ n = lgrp_resources(cookie, root, nids, nnids, LGRP_RSRC_MEM);
+ assert(n == nnids);
+
+ hwloc_bitmap_zero(topology->levels[0][0]->allowed_nodeset);
+
+ for(i=0; i<nnids; i++) {
+ hwloc_debug("root lgrp contains allowed NUMA node #%d = P#%ld\n", i, nids[i]);
+ hwloc_bitmap_set(topology->levels[0][0]->allowed_nodeset, nids[i]);
+ }
+ free(nids);
+
+ out_with_cookie:
+ lgrp_fini(cookie);
+ out:
+ return;
+}
+
+/* build all NUMAs (even if disallowed) and get global cpuset+nodeset using LGRP_VIEW_OS */
+static void
+lgrp_build_numanodes(struct hwloc_topology *topology,
+ lgrp_cookie_t cookie, lgrp_id_t root,
+ hwloc_obj_t *nodes, unsigned *nr_nodes)
+{
+ int npids, nnids;
+ int i, j, n;
+ processorid_t *pids;
+ lgrp_id_t *nids;
+
+ /* get the max number of PUs */
+ npids = lgrp_cpus(cookie, root, NULL, 0, LGRP_CONTENT_HIERARCHY);
+ if (npids < 0) {
+ hwloc_debug("lgrp_cpus failed: %s\n", strerror(errno));
+ goto out;
+ }
+ hwloc_debug("root lgrp contains %d PUs\n", npids);
+ assert(npids > 0);
+
+ /* allocate a single array that will be large enough for lgroup cpus below */
+ pids = malloc(npids * sizeof(*pids));
+ if (!pids)
+ goto out;
+
+ /* list NUMA nodes */
+ nnids = lgrp_resources(cookie, root, NULL, 0, LGRP_RSRC_MEM);
+ if (nnids < 0) {
+ hwloc_debug("lgrp_resources failed: %s\n", strerror(errno));
+ goto out_with_pids;
+ }
+ hwloc_debug("root lgrp contains %d NUMA nodes\n", nnids);
+ assert(nnids > 0);
+
+ nids = malloc(nnids * sizeof(*nids));
+ if (!nids)
+ goto out_with_pids;
+
+ n = lgrp_resources(cookie, root, nids, nnids, LGRP_RSRC_MEM);
+ assert(n == nnids);
+
+ for(i=0; i<nnids; i++) {
+ hwloc_obj_t obj;
+ lgrp_mem_size_t mem_size;
+ hwloc_debug("root lgrp contains NUMA node #%d = P#%ld\n", i, nids[i]);
+ mem_size = lgrp_mem_size(cookie, nids[i], LGRP_MEM_SZ_INSTALLED, LGRP_CONTENT_DIRECT);
+ /* or LGRP_MEM_SZ_FREE */
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_NUMANODE, nids[i]);
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, nids[i]);
+ obj->cpuset = hwloc_bitmap_alloc();
+ nodes[(*nr_nodes)++] = obj;
+
+ hwloc_debug("NUMA node %ld has %lldkB\n", nids[i], mem_size/1024);
+ obj->memory.local_memory = mem_size;
+ obj->memory.page_types_len = 2;
+ obj->memory.page_types = malloc(2*sizeof(*obj->memory.page_types));
+ memset(obj->memory.page_types, 0, 2*sizeof(*obj->memory.page_types));
+ obj->memory.page_types[0].size = hwloc_getpagesize();
+#if HAVE_DECL__SC_LARGE_PAGESIZE
+ obj->memory.page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+
+ n = lgrp_cpus(cookie, nids[i], pids, npids, LGRP_CONTENT_HIERARCHY);
+ if (n < 0) {
+ hwloc_debug("lgrp_cpus on NUMA node failed: %s\n", strerror(errno));
+ } else {
+ hwloc_debug("NUMA node %ld contains %d PUs\n", nids[i], n);
+ for (j = 0; j < n ; j++) {
+ hwloc_debug("node %ld's cpu %d is %d\n", nids[i], j, pids[j]);
+ hwloc_bitmap_set(obj->cpuset, pids[j]);
+ }
+ hwloc_debug_1arg_bitmap("node %ld has cpuset %s\n",
+ nids[i], obj->cpuset);
+ }
+
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+
+ out_with_pids:
+ free(pids);
+ out:
+ return;
+}
+
+static void
+hwloc_look_lgrp(struct hwloc_topology *topology)
+{
+ lgrp_cookie_t cookie;
+ unsigned curlgrp = 0;
+ int nlgrps;
+ lgrp_id_t root;
+
+ lgrp_list_allowed(topology);
+
+ cookie = lgrp_init(LGRP_VIEW_OS);
+ if (cookie == LGRP_COOKIE_NONE)
+ {
+ hwloc_debug("lgrp_init failed: %s\n", strerror(errno));
+ return;
+ }
+ nlgrps = lgrp_nlgrps(cookie);
+ root = lgrp_root(cookie);
+ if (nlgrps > 0) {
+ hwloc_obj_t *glob_lgrps = calloc(nlgrps, sizeof(hwloc_obj_t));
+
+ lgrp_build_numanodes(topology, cookie, root, glob_lgrps, &curlgrp);
+
+#if HAVE_DECL_LGRP_LATENCY_COOKIE
+ if (nlgrps > 1) {
+ float *distances = calloc(curlgrp*curlgrp, sizeof(float));
+ unsigned *indexes = calloc(curlgrp,sizeof(unsigned));
+ unsigned i, j;
+ if (distances && indexes) {
+ for (i = 0; i < curlgrp; i++) {
+ indexes[i] = glob_lgrps[i]->os_index;
+ for (j = 0; j < curlgrp; j++) {
+ int latency = lgrp_latency_cookie(cookie, glob_lgrps[i]->os_index, glob_lgrps[j]->os_index, LGRP_LAT_CPU_TO_MEM);
+ if (latency < 0) {
+ /* FIXME: if errno = ESRCH because some NUMA nodes are unavailable, we could reduce the matrix instead of ignoring */
+ free(distances);
+ free(indexes);
+ goto done;
+ }
+ distances[i*curlgrp+j] = (float) latency;
+ }
+ }
+ hwloc_distances_set(topology, HWLOC_OBJ_NUMANODE, curlgrp, indexes, glob_lgrps, distances, 0 /* OS cannot force */);
+ glob_lgrps = NULL; /* dont free it below */
+ }
+ }
+#endif /* HAVE_DECL_LGRP_LATENCY_COOKIE */
+done:
+ free(glob_lgrps);
+ }
+ lgrp_fini(cookie);
+}
+#endif /* LIBLGRP */
+
+#ifdef HAVE_LIBKSTAT
+#include <kstat.h>
+static int
+hwloc_look_kstat(struct hwloc_topology *topology)
+{
+ struct hwloc_solaris_chip_info_s chip_info;
+ static char architecture[6] = "";
+ int is_sparc = 0;
+ int l1i_from_core = 0;
+ int l1d_from_core = 0;
+ int ret;
+
+ kstat_ctl_t *kc = kstat_open();
+ kstat_t *ksp;
+ kstat_named_t *stat;
+ unsigned look_cores = 1, look_chips = 1;
+
+ unsigned Pproc_max = 0;
+ unsigned Pproc_alloc = 256;
+ struct hwloc_solaris_Pproc {
+ unsigned Lpkg, Ppkg, Lcore, Lproc;
+ } * Pproc = malloc(Pproc_alloc * sizeof(*Pproc));
+
+ unsigned Lproc_num = 0;
+ unsigned Lproc_alloc = 256;
+ struct hwloc_solaris_Lproc {
+ unsigned Pproc;
+ } * Lproc = malloc(Lproc_alloc * sizeof(*Lproc));
+
+ unsigned Lcore_num = 0;
+ unsigned Lcore_alloc = 256;
+ struct hwloc_solaris_Lcore {
+ unsigned Pcore, Ppkg;
+ } * Lcore = malloc(Lcore_alloc * sizeof(*Lcore));
+
+ unsigned Lpkg_num = 0;
+ unsigned Lpkg_alloc = 256;
+ struct hwloc_solaris_Lpkg {
+ unsigned Ppkg;
+ } * Lpkg = malloc(Lpkg_alloc * sizeof(*Lpkg));
+
+ unsigned pkgid, coreid, cpuid;
+ unsigned i;
+
+ for (i = 0; i < Pproc_alloc; i++) {
+ Pproc[i].Lproc = -1;
+ Pproc[i].Lpkg = -1;
+ Pproc[i].Ppkg = -1;
+ Pproc[i].Lcore = -1;
+ }
+
+ if (!kc) {
+ hwloc_debug("kstat_open failed: %s\n", strerror(errno));
+ free(Pproc);
+ free(Lproc);
+ free(Lcore);
+ free(Lpkg);
+ return 0;
+ }
+
+ ret = sysinfo(SI_ARCHITECTURE, architecture, sizeof architecture);
+ if (ret == 6 && !strcmp(architecture, "sparc"))
+ is_sparc = 1;
+
+ hwloc_solaris_get_chip_info(&chip_info);
+
+ /* mark empty caches as unneeded on !sparc since we have the x86 backend to better get them. */
+ if (!is_sparc) {
+ for(i=0; i<sizeof(chip_info.cache_size)/sizeof(*chip_info.cache_size); i++)
+ if (!chip_info.cache_size[i])
+ chip_info.cache_size[i] = -1;
+ }
+
+ /* on sparc, assume l1d and l1i have same sharing as the core.
+ * on !sparc, we don't know the sharing of these caches, hence we ignore them.
+ * on x86, the x86-backend will take care of these caches again.
+ */
+ if (is_sparc && chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L1D] >= 0) {
+ hwloc_debug("Will generate L1d caches from cores and PICL cache index #%u\n", HWLOC_SOLARIS_CHIP_INFO_L1D);
+ l1d_from_core = 1;
+ }
+ if (is_sparc && chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L1I] >= 0) {
+ hwloc_debug("Will generate L1i caches from cores and PICL cache index #%u\n", HWLOC_SOLARIS_CHIP_INFO_L1I);
+ l1i_from_core = 1;
+ }
+
+ for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) {
+ if (!strncmp("cpu_info", ksp->ks_module, 8)) {
+ cpuid = ksp->ks_instance;
+
+ if (kstat_read(kc, ksp, NULL) == -1)
+ {
+ fprintf(stderr, "kstat_read failed for CPU%u: %s\n", cpuid, strerror(errno));
+ continue;
+ }
+
+ hwloc_debug("cpu%u\n", cpuid);
+
+ if (cpuid >= Pproc_alloc) {
+ struct hwloc_solaris_Pproc *tmp = realloc(Pproc, 2*Pproc_alloc * sizeof(*Pproc));
+ if (!tmp)
+ goto err;
+ Pproc = tmp;
+ Pproc_alloc *= 2;
+ for(i = Pproc_alloc/2; i < Pproc_alloc; i++) {
+ Pproc[i].Lproc = -1;
+ Pproc[i].Lpkg = -1;
+ Pproc[i].Ppkg = -1;
+ Pproc[i].Lcore = -1;
+ }
+ }
+ Pproc[cpuid].Lproc = Lproc_num;
+
+ if (Lproc_num >= Lproc_alloc) {
+ struct hwloc_solaris_Lproc *tmp = realloc(Lproc, 2*Lproc_alloc * sizeof(*Lproc));
+ if (!tmp)
+ goto err;
+ Lproc = tmp;
+ Lproc_alloc *= 2;
+ }
+ Lproc[Lproc_num].Pproc = cpuid;
+ Lproc_num++;
+
+ if (cpuid >= Pproc_max)
+ Pproc_max = cpuid + 1;
+
+ stat = (kstat_named_t *) kstat_data_lookup(ksp, "state");
+ if (!stat)
+ hwloc_debug("could not read state for CPU%u: %s\n", cpuid, strerror(errno));
+ else if (stat->data_type != KSTAT_DATA_CHAR)
+ hwloc_debug("unknown kstat type %d for cpu state\n", stat->data_type);
+ else
+ {
+ hwloc_debug("cpu%u's state is %s\n", cpuid, stat->value.c);
+ if (strcmp(stat->value.c, "on-line"))
+ /* not online */
+ hwloc_bitmap_clr(topology->levels[0][0]->online_cpuset, cpuid);
+ }
+
+ if (look_chips) do {
+ /* Get Chip ID */
+ stat = (kstat_named_t *) kstat_data_lookup(ksp, "chip_id");
+ if (!stat)
+ {
+ if (Lpkg_num)
+ fprintf(stderr, "could not read package id for CPU%u: %s\n", cpuid, strerror(errno));
+ else
+ hwloc_debug("could not read package id for CPU%u: %s\n", cpuid, strerror(errno));
+ look_chips = 0;
+ continue;
+ }
+ switch (stat->data_type) {
+ case KSTAT_DATA_INT32:
+ pkgid = stat->value.i32;
+ break;
+ case KSTAT_DATA_UINT32:
+ pkgid = stat->value.ui32;
+ break;
+#ifdef _INT64_TYPE
+ case KSTAT_DATA_UINT64:
+ pkgid = stat->value.ui64;
+ break;
+ case KSTAT_DATA_INT64:
+ pkgid = stat->value.i64;
+ break;
+#endif
+ default:
+ fprintf(stderr, "chip_id type %u unknown\n", (unsigned) stat->data_type);
+ look_chips = 0;
+ continue;
+ }
+ Pproc[cpuid].Ppkg = pkgid;
+ for (i = 0; i < Lpkg_num; i++)
+ if (pkgid == Lpkg[i].Ppkg)
+ break;
+ Pproc[cpuid].Lpkg = i;
+ hwloc_debug("%u on package %u (%u)\n", cpuid, i, pkgid);
+ if (i == Lpkg_num) {
+ if (Lpkg_num == Lpkg_alloc) {
+ struct hwloc_solaris_Lpkg *tmp = realloc(Lpkg, 2*Lpkg_alloc * sizeof(*Lpkg));
+ if (!tmp)
+ goto err;
+ Lpkg = tmp;
+ Lpkg_alloc *= 2;
+ }
+ Lpkg[Lpkg_num++].Ppkg = pkgid;
+ }
+ } while(0);
+
+ if (look_cores) do {
+ /* Get Core ID */
+ stat = (kstat_named_t *) kstat_data_lookup(ksp, "core_id");
+ if (!stat)
+ {
+ if (Lcore_num)
+ fprintf(stderr, "could not read core id for CPU%u: %s\n", cpuid, strerror(errno));
+ else
+ hwloc_debug("could not read core id for CPU%u: %s\n", cpuid, strerror(errno));
+ look_cores = 0;
+ continue;
+ }
+ switch (stat->data_type) {
+ case KSTAT_DATA_INT32:
+ coreid = stat->value.i32;
+ break;
+ case KSTAT_DATA_UINT32:
+ coreid = stat->value.ui32;
+ break;
+#ifdef _INT64_TYPE
+ case KSTAT_DATA_UINT64:
+ coreid = stat->value.ui64;
+ break;
+ case KSTAT_DATA_INT64:
+ coreid = stat->value.i64;
+ break;
+#endif
+ default:
+ fprintf(stderr, "core_id type %u unknown\n", (unsigned) stat->data_type);
+ look_cores = 0;
+ continue;
+ }
+ for (i = 0; i < Lcore_num; i++)
+ if (coreid == Lcore[i].Pcore && Pproc[cpuid].Ppkg == Lcore[i].Ppkg)
+ break;
+ Pproc[cpuid].Lcore = i;
+ hwloc_debug("%u on core %u (%u)\n", cpuid, i, coreid);
+ if (i == Lcore_num) {
+ if (Lcore_num == Lcore_alloc) {
+ struct hwloc_solaris_Lcore *tmp = realloc(Lcore, 2*Lcore_alloc * sizeof(*Lcore));
+ if (!tmp)
+ goto err;
+ Lcore = tmp;
+ Lcore_alloc *= 2;
+ }
+ Lcore[Lcore_num].Ppkg = Pproc[cpuid].Ppkg;
+ Lcore[Lcore_num++].Pcore = coreid;
+ }
+ } while(0);
+
+ /* Note: there is also clog_id for the Thread ID (not unique) and
+ * pkg_core_id for the core ID (not unique). They are not useful to us
+ * however. */
+
+ } else if (!strcmp("pg_hw_perf", ksp->ks_module)) {
+ if (kstat_read(kc, ksp, NULL) == -1) {
+ fprintf(stderr, "kstat_read failed for module %s name %s instance %d: %s\n", ksp->ks_module, ksp->ks_name, ksp->ks_instance, strerror(errno));
+ continue;
+ }
+ stat = (kstat_named_t *) kstat_data_lookup(ksp, "cpus");
+ if (stat) {
+ hwloc_debug("found kstat module %s name %s instance %d cpus type %d\n", ksp->ks_module, ksp->ks_name, ksp->ks_instance, stat->data_type);
+ if (stat->data_type == KSTAT_DATA_STRING) {
+ hwloc_bitmap_t cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_list_sscanf(cpuset, stat->value.str.addr.ptr);
+
+ if (!strcmp(ksp->ks_name, "L3_Cache")) {
+ if (chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L3] >= 0) {
+ hwloc_obj_t l3 = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ l3->cpuset = cpuset;
+ l3->attr->cache.depth = 3;
+ l3->attr->cache.size = chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L3];
+ l3->attr->cache.linesize = chip_info.cache_linesize[HWLOC_SOLARIS_CHIP_INFO_L3];
+ l3->attr->cache.associativity = chip_info.cache_associativity[HWLOC_SOLARIS_CHIP_INFO_L3];
+ l3->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ hwloc_insert_object_by_cpuset(topology, l3);
+ cpuset = NULL; /* don't free below */
+ }
+ }
+ else if (!strcmp(ksp->ks_name, "L2_Cache")) {
+ if (!chip_info.l2_unified && chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L2I] >= 0) {
+ hwloc_obj_t l2i = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ l2i->cpuset = hwloc_bitmap_dup(cpuset);
+ l2i->attr->cache.depth = 2;
+ l2i->attr->cache.size = chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L2I];
+ l2i->attr->cache.linesize = chip_info.cache_linesize[HWLOC_SOLARIS_CHIP_INFO_L2I];
+ l2i->attr->cache.associativity = chip_info.cache_associativity[HWLOC_SOLARIS_CHIP_INFO_L2I];
+ l2i->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ hwloc_insert_object_by_cpuset(topology, l2i);
+ }
+ if (chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L2D] >= 0) {
+ hwloc_obj_t l2 = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ l2->cpuset = cpuset;
+ l2->attr->cache.depth = 2;
+ l2->attr->cache.size = chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L2D];
+ l2->attr->cache.linesize = chip_info.cache_linesize[HWLOC_SOLARIS_CHIP_INFO_L2D];
+ l2->attr->cache.associativity = chip_info.cache_associativity[HWLOC_SOLARIS_CHIP_INFO_L2D];
+ l2->attr->cache.type = chip_info.l2_unified ? HWLOC_OBJ_CACHE_UNIFIED : HWLOC_OBJ_CACHE_DATA;
+ hwloc_insert_object_by_cpuset(topology, l2);
+ cpuset = NULL; /* don't free below */
+ }
+ }
+ else {
+ hwloc_obj_t group = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, -1);
+ group->cpuset = cpuset;
+ group->attr->group.depth = hwloc_bitmap_weight(cpuset);
+ if (group->attr->group.depth >= topology->next_group_depth)
+ topology->next_group_depth = group->attr->group.depth + 1;
+ hwloc_obj_add_info(group, "SolarisProcessorGroup", ksp->ks_name);
+ hwloc_insert_object_by_cpuset(topology, group);
+ cpuset = NULL; /* don't free below */
+ }
+ hwloc_bitmap_free(cpuset);
+ }
+ }
+ }
+ }
+
+ if (look_chips) {
+ struct hwloc_obj *obj;
+ unsigned j,k;
+ hwloc_debug("%u Packages\n", Lpkg_num);
+ for (j = 0; j < Lpkg_num; j++) {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, Lpkg[j].Ppkg);
+ if (chip_info.type)
+ hwloc_obj_add_info(obj, "CPUType", chip_info.type);
+ if (chip_info.model)
+ hwloc_obj_add_info(obj, "CPUModel", chip_info.model);
+ obj->cpuset = hwloc_bitmap_alloc();
+ for(k=0; k<Pproc_max; k++)
+ if (Pproc[k].Lpkg == j)
+ hwloc_bitmap_set(obj->cpuset, k);
+ hwloc_debug_1arg_bitmap("Package %u has cpuset %s\n", j, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ hwloc_debug("%s", "\n");
+ }
+
+ if (look_cores || l1i_from_core || l1d_from_core) {
+ unsigned j;
+ hwloc_debug("%u Cores\n", Lcore_num);
+ for (j = 0; j < Lcore_num; j++) {
+ /* Build the core cpuset */
+ struct hwloc_obj *obj;
+ unsigned k;
+ hwloc_bitmap_t cpuset = hwloc_bitmap_alloc();
+ for(k=0; k<Pproc_max; k++)
+ if (Pproc[k].Lcore == j)
+ hwloc_bitmap_set(cpuset, k);
+ hwloc_debug_1arg_bitmap("Core %u has cpuset %s\n", j, cpuset);
+
+ /* Sparcs have per-core L1's. If we got their sizes from PICL, create those objects.
+ *
+ * On x86, let the x86 backend handle things.
+ * At least AMD Fam15h L1i isn't per core (shared by dual-core compute unit).
+ */
+ if (l1d_from_core) {
+ struct hwloc_obj *l1 = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ l1->cpuset = hwloc_bitmap_dup(cpuset);
+ l1->attr->cache.depth = 1;
+ l1->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ l1->attr->cache.size = chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L1D];
+ l1->attr->cache.linesize = chip_info.cache_linesize[HWLOC_SOLARIS_CHIP_INFO_L1D];
+ l1->attr->cache.associativity = chip_info.cache_associativity[HWLOC_SOLARIS_CHIP_INFO_L1D];
+ hwloc_insert_object_by_cpuset(topology, l1);
+ }
+ if (l1i_from_core) {
+ struct hwloc_obj *l1i = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, -1);
+ l1i->cpuset = hwloc_bitmap_dup(cpuset);
+ l1i->attr->cache.depth = 1;
+ l1i->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ l1i->attr->cache.size = chip_info.cache_size[HWLOC_SOLARIS_CHIP_INFO_L1I];
+ l1i->attr->cache.linesize = chip_info.cache_linesize[HWLOC_SOLARIS_CHIP_INFO_L1I];
+ l1i->attr->cache.associativity = chip_info.cache_associativity[HWLOC_SOLARIS_CHIP_INFO_L1I];
+ hwloc_insert_object_by_cpuset(topology, l1i);
+ }
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, Lcore[j].Pcore);
+ obj->cpuset = cpuset;
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ hwloc_debug("%s", "\n");
+ }
+ if (Lproc_num) {
+ struct hwloc_obj *obj;
+ unsigned j,k;
+ hwloc_debug("%u PUs\n", Lproc_num);
+ for (j = 0; j < Lproc_num; j++) {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PU, Lproc[j].Pproc);
+ obj->cpuset = hwloc_bitmap_alloc();
+ for(k=0; k<Pproc_max; k++)
+ if (Pproc[k].Lproc == j)
+ hwloc_bitmap_set(obj->cpuset, k);
+ hwloc_debug_1arg_bitmap("PU %u has cpuset %s\n", j, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ hwloc_debug("%s", "\n");
+ topology->support.discovery->pu = 1;
+ }
+
+ kstat_close(kc);
+
+ free(Pproc);
+ free(Lproc);
+ free(Lcore);
+ free(Lpkg);
+ return Lproc_num > 0;
+
+ err:
+ kstat_close(kc);
+
+ free(Pproc);
+ free(Lproc);
+ free(Lcore);
+ free(Lpkg);
+ return 0;
+}
+#endif /* LIBKSTAT */
+
+static int
+hwloc_look_solaris(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ unsigned nbprocs = hwloc_fallback_nbprocessors (topology);
+ int alreadypus = 0;
+
+ if (topology->levels[0][0]->cpuset)
+ /* somebody discovered things */
+ return 0;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+#ifdef HAVE_LIBLGRP
+ hwloc_look_lgrp(topology);
+#endif /* HAVE_LIBLGRP */
+#ifdef HAVE_LIBKSTAT
+ if (hwloc_look_kstat(topology) > 0)
+ alreadypus = 1;
+#endif /* HAVE_LIBKSTAT */
+
+ if (!alreadypus)
+ hwloc_setup_pu_level(topology, nbprocs);
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "Solaris");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+#ifdef HAVE_LIBLGRP
+static int hwloc_solaris_get_allowed_hook(hwloc_topology_t topology)
+{
+ lgrp_list_allowed(topology);
+ return 0;
+}
+#endif
+
+static int
+hwloc_solaris_get_thisthread_last_cpu_location(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_bitmap_t hwloc_set, int flags __hwloc_attribute_unused)
+{
+ int pu = getcpuid();
+ hwloc_bitmap_only(hwloc_set, pu);
+ return 0;
+}
+
+void
+hwloc_set_solaris_hooks(struct hwloc_binding_hooks *hooks,
+ struct hwloc_topology_support *support __hwloc_attribute_unused)
+{
+ hooks->set_proc_cpubind = hwloc_solaris_set_proc_cpubind;
+ hooks->set_thisproc_cpubind = hwloc_solaris_set_thisproc_cpubind;
+ hooks->set_thisthread_cpubind = hwloc_solaris_set_thisthread_cpubind;
+ hooks->get_thisthread_last_cpu_location = hwloc_solaris_get_thisthread_last_cpu_location;
+#ifdef HAVE_LIBLGRP
+ hooks->get_proc_cpubind = hwloc_solaris_get_proc_cpubind;
+ hooks->get_thisproc_cpubind = hwloc_solaris_get_thisproc_cpubind;
+ hooks->get_thisthread_cpubind = hwloc_solaris_get_thisthread_cpubind;
+ hooks->set_proc_membind = hwloc_solaris_set_proc_membind;
+ hooks->set_thisproc_membind = hwloc_solaris_set_thisproc_membind;
+ hooks->set_thisthread_membind = hwloc_solaris_set_thisthread_membind;
+ hooks->get_proc_membind = hwloc_solaris_get_proc_membind;
+ hooks->get_thisproc_membind = hwloc_solaris_get_thisproc_membind;
+ hooks->get_thisthread_membind = hwloc_solaris_get_thisthread_membind;
+#endif /* HAVE_LIBLGRP */
+#ifdef MADV_ACCESS_LWP
+ hooks->set_area_membind = hwloc_solaris_set_area_membind;
+ support->membind->firsttouch_membind = 1;
+ support->membind->bind_membind = 1;
+ support->membind->interleave_membind = 1;
+ support->membind->nexttouch_membind = 1;
+#endif
+#ifdef HAVE_LIBLGRP
+ hooks->get_allowed_resources = hwloc_solaris_get_allowed_hook;
+#endif
+}
+
+static struct hwloc_backend *
+hwloc_solaris_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_solaris;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_solaris_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "solaris",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_solaris_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_solaris_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_solaris_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/misc.h>
+#include <private/debug.h>
+
+#include <limits.h>
+#include <assert.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
+struct hwloc_synthetic_level_data_s {
+ unsigned arity;
+ unsigned long totalwidth;
+ hwloc_obj_type_t type;
+ unsigned depth; /* For caches/groups */
+ hwloc_obj_cache_type_t cachetype; /* For caches */
+ hwloc_uint64_t memorysize; /* For caches/memory */
+
+ /* the indexes= attribute before parsing */
+ const char *index_string;
+ unsigned long index_string_length;
+ /* the array of explicit indexes after parsing */
+ unsigned *index_array;
+
+ /* used while filling the topology */
+ unsigned next_os_index; /* id of the next object for that level */
+};
+
+struct hwloc_synthetic_backend_data_s {
+ /* synthetic backend parameters */
+ char *string;
+#define HWLOC_SYNTHETIC_MAX_DEPTH 128
+ struct hwloc_synthetic_level_data_s level[HWLOC_SYNTHETIC_MAX_DEPTH];
+};
+
+struct hwloc_synthetic_intlv_loop_s {
+ unsigned step;
+ unsigned nb;
+ unsigned level_depth;
+};
+
+static void
+hwloc_synthetic_process_level_indexes(struct hwloc_synthetic_backend_data_s *data,
+ unsigned curleveldepth,
+ int verbose)
+{
+ struct hwloc_synthetic_level_data_s *curlevel = &data->level[curleveldepth];
+ unsigned long total = curlevel->totalwidth;
+ const char *attr = curlevel->index_string;
+ unsigned long length = curlevel->index_string_length;
+ unsigned *array = NULL;
+ struct hwloc_synthetic_intlv_loop_s * loops = NULL;
+ size_t i;
+
+ if (!attr)
+ return;
+
+ array = calloc(total, sizeof(*array));
+ if (!array) {
+ if (verbose)
+ fprintf(stderr, "Failed to allocate synthetic index array of size %lu\n", total);
+ goto out;
+ }
+
+ i = strspn(attr, "0123456789,");
+ if (i == length) {
+ /* explicit array of indexes */
+
+ for(i=0; i<total; i++) {
+ const char *next;
+ unsigned idx = strtoul(attr, (char **) &next, 10);
+ if (next == attr) {
+ if (verbose)
+ fprintf(stderr, "Failed to read synthetic index #%lu at '%s'\n", (unsigned long) i, attr);
+ goto out_with_array;
+ }
+
+ array[i] = idx;
+ if (i != total-1) {
+ if (*next != ',') {
+ if (verbose)
+ fprintf(stderr, "Missing comma after synthetic index #%lu at '%s'\n", (unsigned long) i, attr);
+ goto out_with_array;
+ }
+ attr = next+1;
+ } else {
+ attr = next;
+ }
+ }
+ curlevel->index_array = array;
+
+ } else {
+ /* interleaving */
+ unsigned nr_loops = 1, cur_loop;
+ unsigned minstep = total;
+ unsigned long nbs = 1;
+ unsigned j, mul;
+ const char *tmp;
+
+ tmp = attr;
+ while (tmp) {
+ tmp = strchr(tmp, ':');
+ if (!tmp || tmp >= attr+length)
+ break;
+ nr_loops++;
+ tmp++;
+ }
+ /* nr_loops colon-separated fields, but we may need one more at the end */
+ loops = malloc((nr_loops+1)*sizeof(*loops));
+ if (!loops) {
+ if (verbose)
+ fprintf(stderr, "Failed to allocate synthetic index interleave loop array of size %u\n", nr_loops);
+ goto out_with_array;
+ }
+
+ if (*attr >= '0' && *attr <= '9') {
+ /* interleaving as x*y:z*t:... */
+ unsigned step, nb;
+
+ tmp = attr;
+ cur_loop = 0;
+ while (tmp) {
+ char *tmp2, *tmp3;
+ step = (unsigned) strtol(tmp, &tmp2, 0);
+ if (tmp2 == tmp || *tmp2 != '*') {
+ if (verbose)
+ fprintf(stderr, "Failed to read synthetic index interleaving loop '%s' without number before '*'\n", tmp);
+ goto out_with_loops;
+ }
+ if (!step) {
+ if (verbose)
+ fprintf(stderr, "Invalid interleaving loop with step 0 at '%s'\n", tmp);
+ goto out_with_loops;
+ }
+ tmp2++;
+ nb = (unsigned) strtol(tmp2, &tmp3, 0);
+ if (tmp3 == tmp2 || (*tmp3 && *tmp3 != ':' && *tmp3 != ')' && *tmp3 != ' ')) {
+ if (verbose)
+ fprintf(stderr, "Failed to read synthetic index interleaving loop '%s' without number between '*' and ':'\n", tmp);
+ goto out_with_loops;
+ }
+ if (!nb) {
+ if (verbose)
+ fprintf(stderr, "Invalid interleaving loop with number 0 at '%s'\n", tmp2);
+ goto out_with_loops;
+ }
+ loops[cur_loop].step = step;
+ loops[cur_loop].nb = nb;
+ if (step < minstep)
+ minstep = step;
+ nbs *= nb;
+ cur_loop++;
+ if (*tmp3 == ')' || *tmp3 == ' ')
+ break;
+ tmp = (const char*) (tmp3+1);
+ }
+
+ } else {
+ /* interleaving as type1:type2:... */
+ hwloc_obj_type_t type;
+ hwloc_obj_cache_type_t cachetypeattr;
+ int depthattr;
+ int err;
+
+ /* find level depths for each interleaving loop */
+ tmp = attr;
+ cur_loop = 0;
+ while (tmp) {
+ err = hwloc_obj_type_sscanf(tmp, &type, &depthattr, &cachetypeattr, sizeof(cachetypeattr));
+ if (err < 0) {
+ if (verbose)
+ fprintf(stderr, "Failed to read synthetic index interleaving loop type '%s'\n", tmp);
+ goto out_with_loops;
+ }
+ if (type == HWLOC_OBJ_MISC || type == HWLOC_OBJ_BRIDGE || type == HWLOC_OBJ_PCI_DEVICE || type == HWLOC_OBJ_OS_DEVICE) {
+ if (verbose)
+ fprintf(stderr, "Misc object type disallowed in synthetic index interleaving loop type '%s'\n", tmp);
+ goto out_with_loops;
+ }
+ for(i=0; i<curleveldepth; i++) {
+ if (type != data->level[i].type)
+ continue;
+ if ((type == HWLOC_OBJ_GROUP || type == HWLOC_OBJ_CACHE)
+ && depthattr != -1
+ && (unsigned) depthattr != data->level[i].depth)
+ continue;
+ if (type == HWLOC_OBJ_CACHE
+ && cachetypeattr != (hwloc_obj_cache_type_t) -1
+ && cachetypeattr != data->level[i].cachetype)
+ continue;
+ loops[cur_loop].level_depth = (unsigned)i;
+ break;
+ }
+ if (i == curleveldepth) {
+ if (verbose)
+ fprintf(stderr, "Failed to find level for synthetic index interleaving loop type '%s' above '%s'\n",
+ tmp, hwloc_obj_type_string(curlevel->type));
+ goto out_with_loops;
+ }
+ tmp = strchr(tmp, ':');
+ if (!tmp || tmp > attr+length)
+ break;
+ tmp++;
+ cur_loop++;
+ }
+
+ /* compute actual loop step/nb */
+ for(cur_loop=0; cur_loop<nr_loops; cur_loop++) {
+ unsigned mydepth = loops[cur_loop].level_depth;
+ unsigned prevdepth = 0;
+ unsigned step, nb;
+ for(i=0; i<nr_loops; i++) {
+ if (loops[i].level_depth == mydepth && i != cur_loop) {
+ if (verbose)
+ fprintf(stderr, "Invalid duplicate interleaving loop type in synthetic index '%s'\n", attr);
+ goto out_with_loops;
+ }
+ if (loops[i].level_depth < mydepth
+ && loops[i].level_depth > prevdepth)
+ prevdepth = loops[i].level_depth;
+ }
+ step = curlevel->totalwidth / data->level[mydepth].totalwidth; /* number of objects below us */
+ nb = data->level[mydepth].totalwidth / data->level[prevdepth].totalwidth; /* number of us within parent */
+
+ loops[cur_loop].step = step;
+ loops[cur_loop].nb = nb;
+ assert(nb);
+ assert(step);
+ if (step < minstep)
+ minstep = step;
+ nbs *= nb;
+ }
+ }
+ assert(nbs);
+
+ if (nbs != total) {
+ /* one loop of total/nbs steps is missing, add it if it's just the smallest one */
+ if (minstep == total/nbs) {
+ loops[nr_loops].step = 1;
+ loops[nr_loops].nb = total/nbs;
+ nr_loops++;
+ } else {
+ if (verbose)
+ fprintf(stderr, "Invalid index interleaving total width %lu instead of %lu\n", nbs, total);
+ goto out_with_loops;
+ }
+ }
+
+ /* generate the array of indexes */
+ mul = 1;
+ for(i=0; i<nr_loops; i++) {
+ unsigned step = loops[i].step;
+ unsigned nb = loops[i].nb;
+ for(j=0; j<total; j++)
+ array[j] += ((j / step) % nb) * mul;
+ mul *= nb;
+ }
+
+ /* check that we have the right values (cannot pass total, cannot give duplicate 0) */
+ for(j=0; j<total; j++) {
+ if (array[j] >= total) {
+ if (verbose)
+ fprintf(stderr, "Invalid index interleaving generates out-of-range index %u\n", array[j]);
+ goto out_with_loops;
+ }
+ if (!array[j] && j) {
+ if (verbose)
+ fprintf(stderr, "Invalid index interleaving generates duplicate index values\n");
+ goto out_with_loops;
+ }
+ }
+
+ free(loops);
+ curlevel->index_array = array;
+ }
+
+ return;
+
+ out_with_loops:
+ free(loops);
+ out_with_array:
+ free(array);
+ out:
+ return;
+}
+
+static hwloc_uint64_t
+hwloc_synthetic_parse_memory_attr(const char *attr, const char **endp)
+{
+ const char *endptr;
+ hwloc_uint64_t size;
+ size = strtoull(attr, (char **) &endptr, 0);
+ if (!hwloc_strncasecmp(endptr, "TB", 2)) {
+ size <<= 40;
+ endptr += 2;
+ } else if (!hwloc_strncasecmp(endptr, "GB", 2)) {
+ size <<= 30;
+ endptr += 2;
+ } else if (!hwloc_strncasecmp(endptr, "MB", 2)) {
+ size <<= 20;
+ endptr += 2;
+ } else if (!hwloc_strncasecmp(endptr, "kB", 2)) {
+ size <<= 10;
+ endptr += 2;
+ }
+ *endp = endptr;
+ return size;
+}
+
+static int
+hwloc_synthetic_parse_level_attrs(const char *attrs, const char **next_posp,
+ struct hwloc_synthetic_level_data_s *curlevel,
+ int verbose)
+{
+ hwloc_obj_type_t type = curlevel->type;
+ const char *next_pos;
+ hwloc_uint64_t memorysize = 0;
+ const char *index_string = NULL;
+ size_t index_string_length = 0;
+
+ next_pos = (const char *) strchr(attrs, ')');
+ if (!next_pos) {
+ if (verbose)
+ fprintf(stderr, "Missing attribute closing bracket in synthetic string doesn't have a number of objects at '%s'\n", attrs);
+ errno = EINVAL;
+ return -1;
+ }
+
+ while (')' != *attrs) {
+ if (HWLOC_OBJ_CACHE == type && !strncmp("size=", attrs, 5)) {
+ memorysize = hwloc_synthetic_parse_memory_attr(attrs+5, &attrs);
+
+ } else if (HWLOC_OBJ_CACHE != type && !strncmp("memory=", attrs, 7)) {
+ memorysize = hwloc_synthetic_parse_memory_attr(attrs+7, &attrs);
+
+ } else if (!strncmp("indexes=", attrs, 8)) {
+ index_string = attrs+8;
+ attrs += 8;
+ index_string_length = strcspn(attrs, " )");
+ attrs += index_string_length;
+
+ } else {
+ if (verbose)
+ fprintf(stderr, "Unknown attribute at '%s'\n", attrs);
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (' ' == *attrs)
+ attrs++;
+ else if (')' != *attrs) {
+ if (verbose)
+ fprintf(stderr, "Missing parameter separator at '%s'\n", attrs);
+ errno = EINVAL;
+ return -1;
+ }
+ }
+
+ curlevel->memorysize = memorysize;
+ curlevel->index_string = index_string;
+ curlevel->index_string_length = (unsigned long)index_string_length;
+ *next_posp = next_pos+1;
+ return 0;
+}
+
+/* Read from description a series of integers describing a symmetrical
+ topology and update the hwloc_synthetic_backend_data_s accordingly. On
+ success, return zero. */
+static int
+hwloc_backend_synthetic_init(struct hwloc_synthetic_backend_data_s *data,
+ const char *description)
+{
+ const char *pos, *next_pos;
+ unsigned long item, count;
+ unsigned i;
+ int cache_depth = 0, group_depth = 0;
+ int nb_machine_levels = 0, nb_node_levels = 0;
+ int nb_pu_levels = 0;
+ int verbose = 0;
+ const char *env = getenv("HWLOC_SYNTHETIC_VERBOSE");
+ int err;
+ unsigned long totalarity = 1;
+
+ if (env)
+ verbose = atoi(env);
+
+ /* default values before we add root attributes */
+ data->level[0].totalwidth = 1;
+ data->level[0].type = HWLOC_OBJ_MACHINE;
+ data->level[0].index_string = NULL;
+ data->level[0].index_array = NULL;
+ data->level[0].memorysize = 0;
+ if (*description == '(') {
+ err = hwloc_synthetic_parse_level_attrs(description+1, &description, &data->level[0], verbose);
+ if (err < 0)
+ return err;
+ }
+
+ for (pos = description, count = 1; *pos; pos = next_pos) {
+#define HWLOC_OBJ_TYPE_UNKNOWN ((hwloc_obj_type_t) -1)
+ hwloc_obj_type_t type = HWLOC_OBJ_TYPE_UNKNOWN;
+ int typedepth = -1;
+ hwloc_obj_cache_type_t cachetype = (hwloc_obj_cache_type_t) -1;
+
+ /* initialize parent arity to 0 so that the levels are not infinite */
+ data->level[count-1].arity = 0;
+
+ while (*pos == ' ')
+ pos++;
+
+ if (!*pos)
+ break;
+
+ if (*pos < '0' || *pos > '9') {
+ if (hwloc_obj_type_sscanf(pos, &type, &typedepth, &cachetype, sizeof(cachetype)) < 0) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string with unknown object type at '%s'\n", pos);
+ errno = EINVAL;
+ goto error;
+ }
+ if (type == HWLOC_OBJ_SYSTEM || type == HWLOC_OBJ_MISC || type == HWLOC_OBJ_BRIDGE || type == HWLOC_OBJ_PCI_DEVICE || type == HWLOC_OBJ_OS_DEVICE) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string with disallowed object type at '%s'\n", pos);
+ errno = EINVAL;
+ goto error;
+ }
+
+ next_pos = strchr(pos, ':');
+ if (!next_pos) {
+ if (verbose)
+ fprintf(stderr,"Synthetic string doesn't have a `:' after object type at '%s'\n", pos);
+ errno = EINVAL;
+ goto error;
+ }
+ pos = next_pos + 1;
+ }
+ data->level[count].type = type;
+ data->level[count].depth = (unsigned) typedepth;
+ data->level[count].cachetype = cachetype;
+
+ item = strtoul(pos, (char **)&next_pos, 0);
+ if (next_pos == pos) {
+ if (verbose)
+ fprintf(stderr,"Synthetic string doesn't have a number of objects at '%s'\n", pos);
+ errno = EINVAL;
+ goto error;
+ }
+ if (!item) {
+ if (verbose)
+ fprintf(stderr,"Synthetic string with disallow 0 number of objects at '%s'\n", pos);
+ errno = EINVAL;
+ goto error;
+ }
+
+ totalarity *= item;
+ data->level[count].totalwidth = totalarity;
+ data->level[count].index_string = NULL;
+ data->level[count].index_array = NULL;
+ data->level[count].memorysize = 0;
+ if (*next_pos == '(') {
+ err = hwloc_synthetic_parse_level_attrs(next_pos+1, &next_pos, &data->level[count], verbose);
+ if (err < 0)
+ goto error;
+ }
+
+ if (count + 1 >= HWLOC_SYNTHETIC_MAX_DEPTH) {
+ if (verbose)
+ fprintf(stderr,"Too many synthetic levels, max %d\n", HWLOC_SYNTHETIC_MAX_DEPTH);
+ errno = EINVAL;
+ goto error;
+ }
+ if (item > UINT_MAX) {
+ if (verbose)
+ fprintf(stderr,"Too big arity, max %u\n", UINT_MAX);
+ errno = EINVAL;
+ goto error;
+ }
+
+ data->level[count-1].arity = (unsigned)item;
+ count++;
+ }
+
+ if (count <= 0) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string doesn't contain any object\n");
+ errno = EINVAL;
+ goto error;
+ }
+
+ for(i=count-1; i>0; i--) {
+ struct hwloc_synthetic_level_data_s *curlevel = &data->level[i];
+ hwloc_obj_type_t type;
+
+ type = curlevel->type;
+
+ if (i == count-1 && type != HWLOC_OBJ_TYPE_UNKNOWN && type != HWLOC_OBJ_PU) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string cannot use non-PU type for last level\n");
+ errno = EINVAL;
+ return -1;
+ }
+ if (i != count-1 && type == HWLOC_OBJ_PU) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string cannot use PU type for non-last level\n");
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (type == HWLOC_OBJ_TYPE_UNKNOWN) {
+ if (i == count-1)
+ type = HWLOC_OBJ_PU;
+ else {
+ switch (data->level[i+1].type) {
+ case HWLOC_OBJ_PU: type = HWLOC_OBJ_CORE; break;
+ case HWLOC_OBJ_CORE: type = HWLOC_OBJ_CACHE; break;
+ case HWLOC_OBJ_CACHE: type = HWLOC_OBJ_PACKAGE; break;
+ case HWLOC_OBJ_PACKAGE: type = HWLOC_OBJ_NUMANODE; break;
+ case HWLOC_OBJ_NUMANODE:
+ case HWLOC_OBJ_MACHINE:
+ case HWLOC_OBJ_GROUP: type = HWLOC_OBJ_GROUP; break;
+ default:
+ assert(0);
+ }
+ }
+ curlevel->type = type;
+ }
+ switch (type) {
+ case HWLOC_OBJ_PU:
+ nb_pu_levels++;
+ break;
+ case HWLOC_OBJ_CACHE:
+ cache_depth++;
+ break;
+ case HWLOC_OBJ_GROUP:
+ group_depth++;
+ break;
+ case HWLOC_OBJ_NUMANODE:
+ nb_node_levels++;
+ break;
+ case HWLOC_OBJ_MACHINE:
+ nb_machine_levels++;
+ break;
+ default:
+ break;
+ }
+ }
+
+ if (!nb_pu_levels) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string missing ending number of PUs\n");
+ errno = EINVAL;
+ return -1;
+ }
+ if (nb_pu_levels > 1) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string can not have several PU levels\n");
+ errno = EINVAL;
+ return -1;
+ }
+ if (nb_node_levels > 1) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string can not have several NUMA node levels\n");
+ errno = EINVAL;
+ return -1;
+ }
+ if (nb_machine_levels > 1) {
+ if (verbose)
+ fprintf(stderr, "Synthetic string can not have several machine levels\n");
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (nb_machine_levels)
+ data->level[0].type = HWLOC_OBJ_SYSTEM;
+ else {
+ data->level[0].type = HWLOC_OBJ_MACHINE;
+ nb_machine_levels++;
+ }
+
+ if (cache_depth == 1)
+ /* if there is a single cache level, make it L2 */
+ cache_depth = 2;
+
+ for (i=0; i<count; i++) {
+ struct hwloc_synthetic_level_data_s *curlevel = &data->level[i];
+ hwloc_obj_type_t type = curlevel->type;
+
+ if (type == HWLOC_OBJ_GROUP) {
+ if (curlevel->depth == (unsigned)-1)
+ curlevel->depth = group_depth--;
+
+ } else if (type == HWLOC_OBJ_CACHE) {
+ if (curlevel->depth == (unsigned)-1)
+ curlevel->depth = cache_depth--;
+ if (curlevel->cachetype == (hwloc_obj_cache_type_t) -1)
+ curlevel->cachetype = curlevel->depth == 1 ? HWLOC_OBJ_CACHE_DATA : HWLOC_OBJ_CACHE_UNIFIED;
+ if (!curlevel->memorysize) {
+ if (1 == curlevel->depth)
+ /* 32Kb in L1 */
+ curlevel->memorysize = 32*1024;
+ else
+ /* *4 at each level, starting from 1MB for L2, unified */
+ curlevel->memorysize = 256ULL*1024 << (2*curlevel->depth);
+ }
+
+ } else if (type == HWLOC_OBJ_NUMANODE && !curlevel->memorysize) {
+ /* 1GB in memory nodes. */
+ curlevel->memorysize = 1024*1024*1024;
+ }
+
+ hwloc_synthetic_process_level_indexes(data, i, verbose);
+ }
+
+ data->string = strdup(description);
+ data->level[count-1].arity = 0;
+ return 0;
+
+ error:
+ for(i=0; i<HWLOC_SYNTHETIC_MAX_DEPTH; i++) {
+ struct hwloc_synthetic_level_data_s *curlevel = &data->level[i];
+ free(curlevel->index_array);
+ if (!curlevel->arity)
+ break;
+ }
+ return -1;
+}
+
+static void
+hwloc_synthetic__post_look_hooks(struct hwloc_synthetic_level_data_s *curlevel,
+ hwloc_obj_t obj)
+{
+ switch (obj->type) {
+ case HWLOC_OBJ_GROUP:
+ obj->attr->group.depth = curlevel->depth;
+ break;
+ case HWLOC_OBJ_SYSTEM:
+ break;
+ case HWLOC_OBJ_MACHINE:
+ break;
+ case HWLOC_OBJ_NUMANODE:
+ break;
+ case HWLOC_OBJ_PACKAGE:
+ break;
+ case HWLOC_OBJ_CACHE:
+ obj->attr->cache.depth = curlevel->depth;
+ obj->attr->cache.linesize = 64;
+ obj->attr->cache.type = curlevel->cachetype;
+ obj->attr->cache.size = curlevel->memorysize;
+ break;
+ case HWLOC_OBJ_CORE:
+ break;
+ case HWLOC_OBJ_PU:
+ break;
+ case HWLOC_OBJ_BRIDGE:
+ case HWLOC_OBJ_PCI_DEVICE:
+ case HWLOC_OBJ_OS_DEVICE:
+ case HWLOC_OBJ_MISC:
+ case HWLOC_OBJ_TYPE_MAX:
+ /* Should never happen */
+ assert(0);
+ break;
+ }
+ if (curlevel->memorysize && HWLOC_OBJ_CACHE != obj->type) {
+ obj->memory.local_memory = curlevel->memorysize;
+ obj->memory.page_types_len = 1;
+ obj->memory.page_types = malloc(sizeof(*obj->memory.page_types));
+ memset(obj->memory.page_types, 0, sizeof(*obj->memory.page_types));
+ obj->memory.page_types[0].size = 4096;
+ obj->memory.page_types[0].count = curlevel->memorysize / 4096;
+ }
+}
+
+/*
+ * Recursively build objects whose cpu start at first_cpu
+ * - level gives where to look in the type, arity and id arrays
+ * - the id array is used as a variable to get unique IDs for a given level.
+ * - generated memory should be added to *memory_kB.
+ * - generated cpus should be added to parent_cpuset.
+ * - next cpu number to be used should be returned.
+ */
+static void
+hwloc__look_synthetic(struct hwloc_topology *topology,
+ struct hwloc_synthetic_backend_data_s *data,
+ int level,
+ hwloc_bitmap_t parent_cpuset)
+{
+ hwloc_obj_t obj;
+ unsigned i;
+ struct hwloc_synthetic_level_data_s *curlevel = &data->level[level];
+ hwloc_obj_type_t type = curlevel->type;
+ unsigned os_index;
+
+ /* pre-hooks */
+ switch (type) {
+ case HWLOC_OBJ_GROUP:
+ break;
+ case HWLOC_OBJ_MACHINE:
+ break;
+ case HWLOC_OBJ_NUMANODE:
+ break;
+ case HWLOC_OBJ_PACKAGE:
+ break;
+ case HWLOC_OBJ_CACHE:
+ break;
+ case HWLOC_OBJ_CORE:
+ break;
+ case HWLOC_OBJ_PU:
+ break;
+ case HWLOC_OBJ_SYSTEM:
+ case HWLOC_OBJ_BRIDGE:
+ case HWLOC_OBJ_PCI_DEVICE:
+ case HWLOC_OBJ_OS_DEVICE:
+ case HWLOC_OBJ_MISC:
+ case HWLOC_OBJ_TYPE_MAX:
+ /* Should never happen */
+ assert(0);
+ break;
+ }
+
+ os_index = curlevel->next_os_index++;
+ if (curlevel->index_array)
+ os_index = curlevel->index_array[os_index];
+ obj = hwloc_alloc_setup_object(type, os_index);
+ obj->cpuset = hwloc_bitmap_alloc();
+
+ if (!curlevel->arity) {
+ hwloc_bitmap_set(obj->cpuset, os_index);
+ } else {
+ for (i = 0; i < curlevel->arity; i++)
+ hwloc__look_synthetic(topology, data, level + 1, obj->cpuset);
+ }
+
+ if (type == HWLOC_OBJ_NUMANODE) {
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, os_index);
+ }
+
+ hwloc_bitmap_or(parent_cpuset, parent_cpuset, obj->cpuset);
+
+ hwloc_synthetic__post_look_hooks(curlevel, obj);
+
+ hwloc_insert_object_by_cpuset(topology, obj);
+}
+
+static int
+hwloc_look_synthetic(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_synthetic_backend_data_s *data = backend->private_data;
+ hwloc_bitmap_t cpuset = hwloc_bitmap_alloc();
+ unsigned i;
+
+ assert(!topology->levels[0][0]->cpuset);
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ topology->support.discovery->pu = 1;
+
+ /* start with os_index 0 for each level */
+ for (i = 0; data->level[i].arity > 0; i++)
+ data->level[i].next_os_index = 0;
+ /* ... including the last one */
+ data->level[i].next_os_index = 0;
+
+ /* update first level type according to the synthetic type array */
+ topology->levels[0][0]->type = data->level[0].type;
+ hwloc_synthetic__post_look_hooks(&data->level[0], topology->levels[0][0]);
+
+ for (i = 0; i < data->level[0].arity; i++)
+ hwloc__look_synthetic(topology, data, 1, cpuset);
+
+ hwloc_bitmap_free(cpuset);
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "Synthetic");
+ hwloc_obj_add_info(topology->levels[0][0], "SyntheticDescription", data->string);
+ return 1;
+}
+
+static void
+hwloc_synthetic_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_synthetic_backend_data_s *data = backend->private_data;
+ unsigned i;
+ for(i=0; i<HWLOC_SYNTHETIC_MAX_DEPTH; i++) {
+ struct hwloc_synthetic_level_data_s *curlevel = &data->level[i];
+ free(curlevel->index_array);
+ if (!curlevel->arity)
+ break;
+ }
+ free(data->string);
+ free(data);
+}
+
+static struct hwloc_backend *
+hwloc_synthetic_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ struct hwloc_synthetic_backend_data_s *data;
+ int err;
+
+ if (!_data1) {
+ errno = EINVAL;
+ goto out;
+ }
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ goto out;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ errno = ENOMEM;
+ goto out_with_backend;
+ }
+
+ err = hwloc_backend_synthetic_init(data, (const char *) _data1);
+ if (err < 0)
+ goto out_with_data;
+
+ backend->private_data = data;
+ backend->discover = hwloc_look_synthetic;
+ backend->disable = hwloc_synthetic_backend_disable;
+ backend->is_thissystem = 0;
+
+ return backend;
+
+ out_with_data:
+ free(data);
+ out_with_backend:
+ free(backend);
+ out:
+ return NULL;
+}
+
+static struct hwloc_disc_component hwloc_synthetic_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ "synthetic",
+ ~0,
+ hwloc_synthetic_component_instantiate,
+ 30,
+ NULL
+};
+
+const struct hwloc_component hwloc_synthetic_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_synthetic_disc_component
+};
+
+static int hwloc_topology_export_synthetic_indexes(struct hwloc_topology * topology,
+ hwloc_obj_t obj,
+ char *buffer, size_t buflen)
+{
+ unsigned depth = obj->depth;
+ unsigned total = topology->level_nbobjects[depth];
+ unsigned step = 1;
+ unsigned nr_loops = 0;
+ struct hwloc_synthetic_intlv_loop_s *loops = NULL, *tmploops;
+ hwloc_obj_t cur;
+ unsigned i, j;
+ ssize_t tmplen = buflen;
+ char *tmp = buffer;
+ int res, ret = 0;
+
+ /* must start with 0 */
+ if (obj->os_index)
+ goto exportall;
+
+ while (step != total) {
+ /* must be a divider of the total */
+ if (total % step)
+ goto exportall;
+
+ /* look for os_index == step */
+ for(i=1; i<total; i++)
+ if (topology->levels[depth][i]->os_index == step)
+ break;
+ if (i == total)
+ goto exportall;
+ for(j=2; j<total/i; j++)
+ if (topology->levels[depth][i*j]->os_index != step*j)
+ break;
+
+ nr_loops++;
+ tmploops = realloc(loops, nr_loops*sizeof(*loops));
+ if (!tmploops)
+ goto exportall;
+ loops = tmploops;
+ loops[nr_loops-1].step = i;
+ loops[nr_loops-1].nb = j;
+ step *= j;
+ }
+
+ /* check this interleaving */
+ for(i=0; i<total; i++) {
+ unsigned ind = 0;
+ unsigned mul = 1;
+ for(j=0; j<nr_loops; j++) {
+ ind += (i / loops[j].step) % loops[j].nb * mul;
+ mul *= loops[j].nb;
+ }
+ if (topology->levels[depth][i]->os_index != ind)
+ goto exportall;
+ }
+
+ /* success, print it */
+ for(j=0; j<nr_loops; j++) {
+ res = hwloc_snprintf(tmp, tmplen, "%u*%u%s", loops[j].step, loops[j].nb,
+ j == nr_loops-1 ? ")" : ":");
+ if (res < 0) {
+ free(loops);
+ return -1;
+ }
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+ }
+
+ if (loops)
+ free(loops);
+
+ return ret;
+
+ exportall:
+ if (loops)
+ free(loops);
+
+ /* dump all indexes */
+ cur = obj;
+ while (cur) {
+ res = hwloc_snprintf(tmp, tmplen, "%u%s", cur->os_index,
+ cur->next_cousin ? "," : ")");
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+ cur = cur->next_cousin;
+ }
+ return ret;
+}
+
+static int hwloc_topology_export_synthetic_obj_attr(struct hwloc_topology * topology,
+ hwloc_obj_t obj,
+ char *buffer, size_t buflen)
+{
+ const char * separator = " ";
+ const char * prefix = "(";
+ char cachesize[64] = "";
+ char memsize[64] = "";
+ int needindexes = 0;
+
+ if (HWLOC_OBJ_CACHE == obj->type && obj->attr->cache.size) {
+ snprintf(cachesize, sizeof(cachesize), "%ssize=%llu",
+ prefix, (unsigned long long) obj->attr->cache.size);
+ prefix = separator;
+ }
+ if (obj->memory.local_memory) {
+ snprintf(memsize, sizeof(memsize), "%smemory=%llu",
+ prefix, (unsigned long long) obj->memory.local_memory);
+ prefix = separator;
+ }
+ if (obj->type == HWLOC_OBJ_PU || obj->type == HWLOC_OBJ_NUMANODE) {
+ hwloc_obj_t cur = obj;
+ while (cur) {
+ if (cur->os_index != cur->logical_index) {
+ needindexes = 1;
+ break;
+ }
+ cur = cur->next_cousin;
+ }
+ }
+ if (*cachesize || *memsize || needindexes) {
+ ssize_t tmplen = buflen;
+ char *tmp = buffer;
+ int res, ret = 0;
+
+ res = hwloc_snprintf(tmp, tmplen, "%s%s%s", cachesize, memsize, needindexes ? "" : ")");
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+
+ if (needindexes) {
+ res = hwloc_snprintf(tmp, tmplen, "%sindexes=", prefix);
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+
+ res = hwloc_topology_export_synthetic_indexes(topology, obj, tmp, tmplen);
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+ }
+ return ret;
+ } else {
+ return 0;
+ }
+}
+
+int
+hwloc_topology_export_synthetic(struct hwloc_topology * topology,
+ char *buffer, size_t buflen,
+ unsigned long flags)
+{
+ hwloc_obj_t obj = hwloc_get_root_obj(topology);
+ ssize_t tmplen = buflen;
+ char *tmp = buffer;
+ int res, ret = 0;
+ unsigned arity;
+ const char * separator = " ";
+ const char * prefix = "";
+
+ if (flags & ~(HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES|HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS)) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ /* TODO: add a flag to ignore symmetric_subtree and I/Os.
+ * just assume things are symmetric with the left branches of the tree.
+ * but the number of objects per level may be wrong, what to do with OS index array in this case?
+ * only allow ignoring symmetric_subtree if the level width remains OK?
+ */
+
+ /* TODO: add a root object by default, with a prefix such as tree=
+ * so that we can backward-compatibly recognize whether there's a root or not.
+ * and add a flag to disable it.
+ */
+
+ /* TODO: flag to force all indexes, not only for PU and NUMA? */
+
+ if (!obj->symmetric_subtree) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (!(flags & HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS)) {
+ /* root attributes */
+ res = hwloc_topology_export_synthetic_obj_attr(topology, obj, tmp, tmplen);
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (ret > 0)
+ prefix = separator;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+ }
+
+ arity = obj->arity;
+ while (arity) {
+ /* for each level */
+ obj = obj->first_child;
+ if (flags & HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES) {
+ res = hwloc_snprintf(tmp, tmplen, "%s%s:%u", prefix, hwloc_obj_type_string(obj->type), arity);
+ } else {
+ char types[64];
+ hwloc_obj_type_snprintf(types, sizeof(types), obj, 1);
+ res = hwloc_snprintf(tmp, tmplen, "%s%s:%u", prefix, types, arity);
+ }
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+
+ if (!(flags & HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS)) {
+ /* obj attributes */
+ res = hwloc_topology_export_synthetic_obj_attr(topology, obj, tmp, tmplen);
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+ }
+
+ /* next level */
+ prefix = separator;
+ arity = obj->arity;
+ }
+
+ return ret;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/* To try to get all declarations duplicated below. */
+#define _WIN32_WINNT 0x0601
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+
+#include <windows.h>
+
+#ifndef HAVE_KAFFINITY
+typedef ULONG_PTR KAFFINITY, *PKAFFINITY;
+#endif
+
+#ifndef HAVE_PROCESSOR_CACHE_TYPE
+typedef enum _PROCESSOR_CACHE_TYPE {
+ CacheUnified,
+ CacheInstruction,
+ CacheData,
+ CacheTrace
+} PROCESSOR_CACHE_TYPE;
+#endif
+
+#ifndef CACHE_FULLY_ASSOCIATIVE
+#define CACHE_FULLY_ASSOCIATIVE 0xFF
+#endif
+
+#ifndef MAXIMUM_PROC_PER_GROUP /* missing in MinGW */
+#define MAXIMUM_PROC_PER_GROUP 64
+#endif
+
+#ifndef HAVE_CACHE_DESCRIPTOR
+typedef struct _CACHE_DESCRIPTOR {
+ BYTE Level;
+ BYTE Associativity;
+ WORD LineSize;
+ DWORD Size; /* in bytes */
+ PROCESSOR_CACHE_TYPE Type;
+} CACHE_DESCRIPTOR, *PCACHE_DESCRIPTOR;
+#endif
+
+#ifndef HAVE_LOGICAL_PROCESSOR_RELATIONSHIP
+typedef enum _LOGICAL_PROCESSOR_RELATIONSHIP {
+ RelationProcessorCore,
+ RelationNumaNode,
+ RelationCache,
+ RelationProcessorPackage,
+ RelationGroup,
+ RelationAll = 0xffff
+} LOGICAL_PROCESSOR_RELATIONSHIP;
+#else /* HAVE_LOGICAL_PROCESSOR_RELATIONSHIP */
+# ifndef HAVE_RELATIONPROCESSORPACKAGE
+# define RelationProcessorPackage 3
+# define RelationGroup 4
+# define RelationAll 0xffff
+# endif /* HAVE_RELATIONPROCESSORPACKAGE */
+#endif /* HAVE_LOGICAL_PROCESSOR_RELATIONSHIP */
+
+#ifndef HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION
+typedef struct _SYSTEM_LOGICAL_PROCESSOR_INFORMATION {
+ ULONG_PTR ProcessorMask;
+ LOGICAL_PROCESSOR_RELATIONSHIP Relationship;
+ _ANONYMOUS_UNION
+ union {
+ struct {
+ BYTE flags;
+ } ProcessorCore;
+ struct {
+ DWORD NodeNumber;
+ } NumaNode;
+ CACHE_DESCRIPTOR Cache;
+ ULONGLONG Reserved[2];
+ } DUMMYUNIONNAME;
+} SYSTEM_LOGICAL_PROCESSOR_INFORMATION, *PSYSTEM_LOGICAL_PROCESSOR_INFORMATION;
+#endif
+
+/* Extended interface, for group support */
+
+#ifndef HAVE_GROUP_AFFINITY
+typedef struct _GROUP_AFFINITY {
+ KAFFINITY Mask;
+ WORD Group;
+ WORD Reserved[3];
+} GROUP_AFFINITY, *PGROUP_AFFINITY;
+#endif
+
+#ifndef HAVE_PROCESSOR_RELATIONSHIP
+typedef struct _PROCESSOR_RELATIONSHIP {
+ BYTE Flags;
+ BYTE Reserved[21];
+ WORD GroupCount;
+ GROUP_AFFINITY GroupMask[ANYSIZE_ARRAY];
+} PROCESSOR_RELATIONSHIP, *PPROCESSOR_RELATIONSHIP;
+#endif
+
+#ifndef HAVE_NUMA_NODE_RELATIONSHIP
+typedef struct _NUMA_NODE_RELATIONSHIP {
+ DWORD NodeNumber;
+ BYTE Reserved[20];
+ GROUP_AFFINITY GroupMask;
+} NUMA_NODE_RELATIONSHIP, *PNUMA_NODE_RELATIONSHIP;
+#endif
+
+#ifndef HAVE_CACHE_RELATIONSHIP
+typedef struct _CACHE_RELATIONSHIP {
+ BYTE Level;
+ BYTE Associativity;
+ WORD LineSize;
+ DWORD CacheSize;
+ PROCESSOR_CACHE_TYPE Type;
+ BYTE Reserved[20];
+ GROUP_AFFINITY GroupMask;
+} CACHE_RELATIONSHIP, *PCACHE_RELATIONSHIP;
+#endif
+
+#ifndef HAVE_PROCESSOR_GROUP_INFO
+typedef struct _PROCESSOR_GROUP_INFO {
+ BYTE MaximumProcessorCount;
+ BYTE ActiveProcessorCount;
+ BYTE Reserved[38];
+ KAFFINITY ActiveProcessorMask;
+} PROCESSOR_GROUP_INFO, *PPROCESSOR_GROUP_INFO;
+#endif
+
+#ifndef HAVE_GROUP_RELATIONSHIP
+typedef struct _GROUP_RELATIONSHIP {
+ WORD MaximumGroupCount;
+ WORD ActiveGroupCount;
+ ULONGLONG Reserved[2];
+ PROCESSOR_GROUP_INFO GroupInfo[ANYSIZE_ARRAY];
+} GROUP_RELATIONSHIP, *PGROUP_RELATIONSHIP;
+#endif
+
+#ifndef HAVE_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
+typedef struct _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX {
+ LOGICAL_PROCESSOR_RELATIONSHIP Relationship;
+ DWORD Size;
+ _ANONYMOUS_UNION
+ union {
+ PROCESSOR_RELATIONSHIP Processor;
+ NUMA_NODE_RELATIONSHIP NumaNode;
+ CACHE_RELATIONSHIP Cache;
+ GROUP_RELATIONSHIP Group;
+ /* Odd: no member to tell the cpu mask of the package... */
+ } DUMMYUNIONNAME;
+} SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, *PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX;
+#endif
+
+#ifndef HAVE_PSAPI_WORKING_SET_EX_BLOCK
+typedef union _PSAPI_WORKING_SET_EX_BLOCK {
+ ULONG_PTR Flags;
+ struct {
+ unsigned Valid :1;
+ unsigned ShareCount :3;
+ unsigned Win32Protection :11;
+ unsigned Shared :1;
+ unsigned Node :6;
+ unsigned Locked :1;
+ unsigned LargePage :1;
+ };
+} PSAPI_WORKING_SET_EX_BLOCK;
+#endif
+
+#ifndef HAVE_PSAPI_WORKING_SET_EX_INFORMATION
+typedef struct _PSAPI_WORKING_SET_EX_INFORMATION {
+ PVOID VirtualAddress;
+ PSAPI_WORKING_SET_EX_BLOCK VirtualAttributes;
+} PSAPI_WORKING_SET_EX_INFORMATION;
+#endif
+
+#ifndef HAVE_PROCESSOR_NUMBER
+typedef struct _PROCESSOR_NUMBER {
+ WORD Group;
+ BYTE Number;
+ BYTE Reserved;
+} PROCESSOR_NUMBER, *PPROCESSOR_NUMBER;
+#endif
+
+/* Function pointers */
+
+typedef WORD (WINAPI *PFN_GETACTIVEPROCESSORGROUPCOUNT)(void);
+static PFN_GETACTIVEPROCESSORGROUPCOUNT GetActiveProcessorGroupCountProc;
+
+static unsigned long nr_processor_groups = 1;
+static unsigned long max_numanode_index = 0;
+
+typedef WORD (WINAPI *PFN_GETACTIVEPROCESSORCOUNT)(WORD);
+static PFN_GETACTIVEPROCESSORCOUNT GetActiveProcessorCountProc;
+
+typedef DWORD (WINAPI *PFN_GETCURRENTPROCESSORNUMBER)(void);
+static PFN_GETCURRENTPROCESSORNUMBER GetCurrentProcessorNumberProc;
+
+typedef VOID (WINAPI *PFN_GETCURRENTPROCESSORNUMBEREX)(PPROCESSOR_NUMBER);
+static PFN_GETCURRENTPROCESSORNUMBEREX GetCurrentProcessorNumberExProc;
+
+typedef BOOL (WINAPI *PFN_GETLOGICALPROCESSORINFORMATION)(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Buffer, PDWORD ReturnLength);
+static PFN_GETLOGICALPROCESSORINFORMATION GetLogicalProcessorInformationProc;
+
+typedef BOOL (WINAPI *PFN_GETLOGICALPROCESSORINFORMATIONEX)(LOGICAL_PROCESSOR_RELATIONSHIP relationship, PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX Buffer, PDWORD ReturnLength);
+static PFN_GETLOGICALPROCESSORINFORMATIONEX GetLogicalProcessorInformationExProc;
+
+typedef BOOL (WINAPI *PFN_SETTHREADGROUPAFFINITY)(HANDLE hThread, const GROUP_AFFINITY *GroupAffinity, PGROUP_AFFINITY PreviousGroupAffinity);
+static PFN_SETTHREADGROUPAFFINITY SetThreadGroupAffinityProc;
+
+typedef BOOL (WINAPI *PFN_GETTHREADGROUPAFFINITY)(HANDLE hThread, PGROUP_AFFINITY GroupAffinity);
+static PFN_GETTHREADGROUPAFFINITY GetThreadGroupAffinityProc;
+
+typedef BOOL (WINAPI *PFN_GETNUMAAVAILABLEMEMORYNODE)(UCHAR Node, PULONGLONG AvailableBytes);
+static PFN_GETNUMAAVAILABLEMEMORYNODE GetNumaAvailableMemoryNodeProc;
+
+typedef BOOL (WINAPI *PFN_GETNUMAAVAILABLEMEMORYNODEEX)(USHORT Node, PULONGLONG AvailableBytes);
+static PFN_GETNUMAAVAILABLEMEMORYNODEEX GetNumaAvailableMemoryNodeExProc;
+
+typedef LPVOID (WINAPI *PFN_VIRTUALALLOCEXNUMA)(HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect, DWORD nndPreferred);
+static PFN_VIRTUALALLOCEXNUMA VirtualAllocExNumaProc;
+
+typedef BOOL (WINAPI *PFN_VIRTUALFREEEX)(HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD dwFreeType);
+static PFN_VIRTUALFREEEX VirtualFreeExProc;
+
+typedef BOOL (WINAPI *PFN_QUERYWORKINGSETEX)(HANDLE hProcess, PVOID pv, DWORD cb);
+static PFN_QUERYWORKINGSETEX QueryWorkingSetExProc;
+
+static void hwloc_win_get_function_ptrs(void)
+{
+ HMODULE kernel32;
+
+ kernel32 = LoadLibrary("kernel32.dll");
+ if (kernel32) {
+ GetActiveProcessorGroupCountProc =
+ (PFN_GETACTIVEPROCESSORGROUPCOUNT) GetProcAddress(kernel32, "GetActiveProcessorGroupCount");
+ GetActiveProcessorCountProc =
+ (PFN_GETACTIVEPROCESSORCOUNT) GetProcAddress(kernel32, "GetActiveProcessorCount");
+ GetLogicalProcessorInformationProc =
+ (PFN_GETLOGICALPROCESSORINFORMATION) GetProcAddress(kernel32, "GetLogicalProcessorInformation");
+ GetCurrentProcessorNumberProc =
+ (PFN_GETCURRENTPROCESSORNUMBER) GetProcAddress(kernel32, "GetCurrentProcessorNumber");
+ GetCurrentProcessorNumberExProc =
+ (PFN_GETCURRENTPROCESSORNUMBEREX) GetProcAddress(kernel32, "GetCurrentProcessorNumberEx");
+ SetThreadGroupAffinityProc =
+ (PFN_SETTHREADGROUPAFFINITY) GetProcAddress(kernel32, "SetThreadGroupAffinity");
+ GetThreadGroupAffinityProc =
+ (PFN_GETTHREADGROUPAFFINITY) GetProcAddress(kernel32, "GetThreadGroupAffinity");
+ GetNumaAvailableMemoryNodeProc =
+ (PFN_GETNUMAAVAILABLEMEMORYNODE) GetProcAddress(kernel32, "GetNumaAvailableMemoryNode");
+ GetNumaAvailableMemoryNodeExProc =
+ (PFN_GETNUMAAVAILABLEMEMORYNODEEX) GetProcAddress(kernel32, "GetNumaAvailableMemoryNodeEx");
+ GetLogicalProcessorInformationExProc =
+ (PFN_GETLOGICALPROCESSORINFORMATIONEX)GetProcAddress(kernel32, "GetLogicalProcessorInformationEx");
+ QueryWorkingSetExProc =
+ (PFN_QUERYWORKINGSETEX) GetProcAddress(kernel32, "K32QueryWorkingSetEx");
+ VirtualAllocExNumaProc =
+ (PFN_VIRTUALALLOCEXNUMA) GetProcAddress(kernel32, "VirtualAllocExNuma");
+ VirtualFreeExProc =
+ (PFN_VIRTUALFREEEX) GetProcAddress(kernel32, "VirtualFreeEx");
+ }
+
+ if (GetActiveProcessorGroupCountProc)
+ nr_processor_groups = GetActiveProcessorGroupCountProc();
+
+ if (!QueryWorkingSetExProc) {
+ HMODULE psapi = LoadLibrary("psapi.dll");
+ if (psapi)
+ QueryWorkingSetExProc = (PFN_QUERYWORKINGSETEX) GetProcAddress(psapi, "QueryWorkingSetEx");
+ }
+}
+
+/*
+ * ULONG_PTR and DWORD_PTR are 64/32bits depending on the arch
+ * while bitmaps use unsigned long (always 32bits)
+ */
+
+static void hwloc_bitmap_from_ULONG_PTR(hwloc_bitmap_t set, ULONG_PTR mask)
+{
+#if SIZEOF_VOID_P == 8
+ hwloc_bitmap_from_ulong(set, mask & 0xffffffff);
+ hwloc_bitmap_set_ith_ulong(set, 1, mask >> 32);
+#else
+ hwloc_bitmap_from_ulong(set, mask);
+#endif
+}
+
+static void hwloc_bitmap_from_ith_ULONG_PTR(hwloc_bitmap_t set, unsigned i, ULONG_PTR mask)
+{
+#if SIZEOF_VOID_P == 8
+ hwloc_bitmap_from_ith_ulong(set, 2*i, mask & 0xffffffff);
+ hwloc_bitmap_set_ith_ulong(set, 2*i+1, mask >> 32);
+#else
+ hwloc_bitmap_from_ith_ulong(set, i, mask);
+#endif
+}
+
+static void hwloc_bitmap_set_ith_ULONG_PTR(hwloc_bitmap_t set, unsigned i, ULONG_PTR mask)
+{
+#if SIZEOF_VOID_P == 8
+ hwloc_bitmap_set_ith_ulong(set, 2*i, mask & 0xffffffff);
+ hwloc_bitmap_set_ith_ulong(set, 2*i+1, mask >> 32);
+#else
+ hwloc_bitmap_set_ith_ulong(set, i, mask);
+#endif
+}
+
+static ULONG_PTR hwloc_bitmap_to_ULONG_PTR(hwloc_const_bitmap_t set)
+{
+#if SIZEOF_VOID_P == 8
+ ULONG_PTR up = hwloc_bitmap_to_ith_ulong(set, 1);
+ up <<= 32;
+ up |= hwloc_bitmap_to_ulong(set);
+ return up;
+#else
+ return hwloc_bitmap_to_ulong(set);
+#endif
+}
+
+static ULONG_PTR hwloc_bitmap_to_ith_ULONG_PTR(hwloc_const_bitmap_t set, unsigned i)
+{
+#if SIZEOF_VOID_P == 8
+ ULONG_PTR up = hwloc_bitmap_to_ith_ulong(set, 2*i+1);
+ up <<= 32;
+ up |= hwloc_bitmap_to_ith_ulong(set, 2*i);
+ return up;
+#else
+ return hwloc_bitmap_to_ith_ulong(set, i);
+#endif
+}
+
+/* convert set into index+mask if all set bits are in the same ULONG.
+ * otherwise return -1.
+ */
+static int hwloc_bitmap_to_single_ULONG_PTR(hwloc_const_bitmap_t set, unsigned *index, ULONG_PTR *mask)
+{
+ unsigned first_ulp, last_ulp;
+ if (hwloc_bitmap_weight(set) == -1)
+ return -1;
+ first_ulp = hwloc_bitmap_first(set) / (sizeof(ULONG_PTR)*8);
+ last_ulp = hwloc_bitmap_last(set) / (sizeof(ULONG_PTR)*8);
+ if (first_ulp != last_ulp)
+ return -1;
+ *mask = hwloc_bitmap_to_ith_ULONG_PTR(set, first_ulp);
+ *index = first_ulp;
+ return 0;
+}
+
+/**************************************************************
+ * hwloc PU numbering with respect to Windows processor groups
+ *
+ * Everywhere below we reserve 64 physical indexes per processor groups because that's
+ * the maximum (MAXIMUM_PROC_PER_GROUP). Windows may actually use less bits than that
+ * in some groups (either to avoid splitting NUMA nodes across groups, or because of OS
+ * tweaks such as "bcdedit /set groupsize 8") but we keep some unused indexes for simplicity.
+ * That means PU physical indexes and cpusets may be non-contigous.
+ * That also means hwloc_fallback_nbprocessors() below must return the last PU index + 1
+ * instead the actual number of processors.
+ */
+
+/********************
+ * last_cpu_location
+ */
+
+static int
+hwloc_win_get_thisthread_last_cpu_location(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_cpuset_t set, int flags __hwloc_attribute_unused)
+{
+ assert(GetCurrentProcessorNumberExProc || (GetCurrentProcessorNumberProc && nr_processor_groups == 1));
+
+ if (nr_processor_groups > 1 || !GetCurrentProcessorNumberProc) {
+ PROCESSOR_NUMBER num;
+ GetCurrentProcessorNumberExProc(&num);
+ hwloc_bitmap_from_ith_ULONG_PTR(set, num.Group, ((ULONG_PTR)1) << num.Number);
+ return 0;
+ }
+
+ hwloc_bitmap_from_ith_ULONG_PTR(set, 0, ((ULONG_PTR)1) << GetCurrentProcessorNumberProc());
+ return 0;
+}
+
+/* TODO: hwloc_win_get_thisproc_last_cpu_location() using
+ * CreateToolhelp32Snapshot(), Thread32First/Next()
+ * th.th32OwnerProcessID == GetCurrentProcessId() for filtering within process
+ * OpenThread(THREAD_SET_INFORMATION|THREAD_QUERY_INFORMATION, FALSE, te32.th32ThreadID) to get a handle.
+ */
+
+
+/******************************
+ * set cpu/membind for threads
+ */
+
+/* TODO: SetThreadIdealProcessor{,Ex} */
+
+static int
+hwloc_win_set_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t thread, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ DWORD_PTR mask;
+ unsigned group;
+
+ if (flags & HWLOC_CPUBIND_NOMEMBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ if (hwloc_bitmap_to_single_ULONG_PTR(hwloc_set, &group, &mask) < 0) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ assert(nr_processor_groups == 1 || SetThreadGroupAffinityProc);
+
+ if (nr_processor_groups > 1) {
+ GROUP_AFFINITY aff;
+ memset(&aff, 0, sizeof(aff)); /* we get Invalid Parameter error if Reserved field isn't cleared */
+ aff.Group = group;
+ aff.Mask = mask;
+ if (!SetThreadGroupAffinityProc(thread, &aff, NULL))
+ return -1;
+
+ } else {
+ /* SetThreadAffinityMask() only changes the mask inside the current processor group */
+ /* The resulting binding is always strict */
+ if (!SetThreadAffinityMask(thread, mask))
+ return -1;
+ }
+ return 0;
+}
+
+/* TODO: SetThreadGroupAffinity to get affinity */
+
+static int
+hwloc_win_set_thisthread_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_win_set_thread_cpubind(topology, GetCurrentThread(), hwloc_set, flags);
+}
+
+static int
+hwloc_win_set_thisthread_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ int ret;
+ hwloc_cpuset_t cpuset;
+
+ if ((policy != HWLOC_MEMBIND_DEFAULT && policy != HWLOC_MEMBIND_BIND)
+ || flags & HWLOC_MEMBIND_NOCPUBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ cpuset = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_nodeset(topology, cpuset, nodeset);
+ ret = hwloc_win_set_thisthread_cpubind(topology, cpuset,
+ (flags & HWLOC_MEMBIND_STRICT) ? HWLOC_CPUBIND_STRICT : 0);
+ hwloc_bitmap_free(cpuset);
+ return ret;
+}
+
+
+/******************************
+ * get cpu/membind for threads
+ */
+
+ static int
+hwloc_win_get_thread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_thread_t thread, hwloc_cpuset_t set, int flags __hwloc_attribute_unused)
+{
+ GROUP_AFFINITY aff;
+
+ assert(GetThreadGroupAffinityProc);
+
+ if (!GetThreadGroupAffinityProc(thread, &aff))
+ return -1;
+ hwloc_bitmap_from_ith_ULONG_PTR(set, aff.Group, aff.Mask);
+ return 0;
+}
+
+static int
+hwloc_win_get_thisthread_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_cpuset_t set, int flags __hwloc_attribute_unused)
+{
+ return hwloc_win_get_thread_cpubind(topology, GetCurrentThread(), set, flags);
+}
+
+static int
+hwloc_win_get_thisthread_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags)
+{
+ int ret;
+ hwloc_cpuset_t cpuset = hwloc_bitmap_alloc();
+ ret = hwloc_win_get_thread_cpubind(topology, GetCurrentThread(), cpuset, flags);
+ if (!ret) {
+ *policy = HWLOC_MEMBIND_BIND;
+ hwloc_cpuset_to_nodeset(topology, cpuset, nodeset);
+ }
+ hwloc_bitmap_free(cpuset);
+ return ret;
+}
+
+
+/********************************
+ * set cpu/membind for processes
+ */
+
+static int
+hwloc_win_set_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t proc, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ DWORD_PTR mask;
+
+ assert(nr_processor_groups == 1);
+
+ if (flags & HWLOC_CPUBIND_NOMEMBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ /* TODO: SetThreadGroupAffinity() for all threads doesn't enforce the whole process affinity,
+ * maybe because of process-specific resource locality */
+ /* TODO: if we are in a single group (check with GetProcessGroupAffinity()),
+ * SetProcessAffinityMask() changes the binding within that same group.
+ */
+ /* TODO: NtSetInformationProcess() works very well for binding to any mask in a single group,
+ * but it's an internal routine.
+ */
+ /* TODO: checks whether hwloc-bind.c needs to pass INHERIT_PARENT_AFFINITY to CreateProcess() instead of execvp(). */
+
+ /* The resulting binding is always strict */
+ mask = hwloc_bitmap_to_ULONG_PTR(hwloc_set);
+ if (!SetProcessAffinityMask(proc, mask))
+ return -1;
+ return 0;
+}
+
+static int
+hwloc_win_set_thisproc_cpubind(hwloc_topology_t topology, hwloc_const_bitmap_t hwloc_set, int flags)
+{
+ return hwloc_win_set_proc_cpubind(topology, GetCurrentProcess(), hwloc_set, flags);
+}
+
+static int
+hwloc_win_set_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ int ret;
+ hwloc_cpuset_t cpuset;
+
+ if ((policy != HWLOC_MEMBIND_DEFAULT && policy != HWLOC_MEMBIND_BIND)
+ || flags & HWLOC_MEMBIND_NOCPUBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ cpuset = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_nodeset(topology, cpuset, nodeset);
+ ret = hwloc_win_set_proc_cpubind(topology, pid, cpuset,
+ (flags & HWLOC_MEMBIND_STRICT) ? HWLOC_CPUBIND_STRICT : 0);
+ hwloc_bitmap_free(cpuset);
+ return ret;
+}
+
+static int
+hwloc_win_set_thisproc_membind(hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags)
+{
+ return hwloc_win_set_proc_membind(topology, GetCurrentProcess(), nodeset, policy, flags);
+}
+
+
+/********************************
+ * get cpu/membind for processes
+ */
+
+static int
+hwloc_win_get_proc_cpubind(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_pid_t proc, hwloc_bitmap_t hwloc_set, int flags)
+{
+ DWORD_PTR proc_mask, sys_mask;
+
+ assert(nr_processor_groups == 1);
+
+ if (flags & HWLOC_CPUBIND_NOMEMBIND) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ /* TODO: if we are in a single group (check with GetProcessGroupAffinity()),
+ * GetProcessAffinityMask() gives the mask within that group.
+ */
+ /* TODO: if we are in multiple groups, GetProcessGroupAffinity() gives their IDs,
+ * but we don't know their masks.
+ */
+ /* TODO: GetThreadGroupAffinity() for all threads can be smaller than the whole process affinity,
+ * maybe because of process-specific resource locality.
+ */
+
+ if (!GetProcessAffinityMask(proc, &proc_mask, &sys_mask))
+ return -1;
+ hwloc_bitmap_from_ULONG_PTR(hwloc_set, proc_mask);
+ return 0;
+}
+
+static int
+hwloc_win_get_proc_membind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags)
+{
+ int ret;
+ hwloc_cpuset_t cpuset = hwloc_bitmap_alloc();
+ ret = hwloc_win_get_proc_cpubind(topology, pid, cpuset,
+ (flags & HWLOC_MEMBIND_STRICT) ? HWLOC_CPUBIND_STRICT : 0);
+ if (!ret) {
+ *policy = HWLOC_MEMBIND_BIND;
+ hwloc_cpuset_to_nodeset(topology, cpuset, nodeset);
+ }
+ hwloc_bitmap_free(cpuset);
+ return ret;
+}
+
+static int
+hwloc_win_get_thisproc_cpubind(hwloc_topology_t topology, hwloc_bitmap_t hwloc_cpuset, int flags)
+{
+ return hwloc_win_get_proc_cpubind(topology, GetCurrentProcess(), hwloc_cpuset, flags);
+}
+
+static int
+hwloc_win_get_thisproc_membind(hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t * policy, int flags)
+{
+ return hwloc_win_get_proc_membind(topology, GetCurrentProcess(), nodeset, policy, flags);
+}
+
+
+/************************
+ * membind alloc/free
+ */
+
+static void *
+hwloc_win_alloc(hwloc_topology_t topology __hwloc_attribute_unused, size_t len) {
+ return VirtualAlloc(NULL, len, MEM_COMMIT|MEM_RESERVE, PAGE_EXECUTE_READWRITE);
+}
+
+static void *
+hwloc_win_alloc_membind(hwloc_topology_t topology __hwloc_attribute_unused, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) {
+ int node;
+
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT:
+ case HWLOC_MEMBIND_BIND:
+ break;
+ default:
+ errno = ENOSYS;
+ return hwloc_alloc_or_fail(topology, len, flags);
+ }
+
+ if (flags & HWLOC_MEMBIND_STRICT) {
+ errno = ENOSYS;
+ return NULL;
+ }
+
+ if (hwloc_bitmap_weight(nodeset) != 1) {
+ /* Not a single node, can't do this */
+ errno = EXDEV;
+ return hwloc_alloc_or_fail(topology, len, flags);
+ }
+
+ node = hwloc_bitmap_first(nodeset);
+ return VirtualAllocExNumaProc(GetCurrentProcess(), NULL, len, MEM_COMMIT|MEM_RESERVE, PAGE_EXECUTE_READWRITE, node);
+}
+
+static int
+hwloc_win_free_membind(hwloc_topology_t topology __hwloc_attribute_unused, void *addr, size_t len __hwloc_attribute_unused) {
+ if (!addr)
+ return 0;
+ if (!VirtualFreeExProc(GetCurrentProcess(), addr, 0, MEM_RELEASE))
+ return -1;
+ return 0;
+}
+
+
+/**********************
+ * membind for areas
+ */
+
+static int
+hwloc_win_get_area_memlocation(hwloc_topology_t topology __hwloc_attribute_unused, const void *addr, size_t len, hwloc_nodeset_t nodeset, int flags __hwloc_attribute_unused)
+{
+ SYSTEM_INFO SystemInfo;
+ DWORD page_size;
+ uintptr_t start;
+ unsigned nb;
+ PSAPI_WORKING_SET_EX_INFORMATION *pv;
+ unsigned i;
+
+ GetSystemInfo(&SystemInfo);
+ page_size = SystemInfo.dwPageSize;
+
+ start = (((uintptr_t) addr) / page_size) * page_size;
+ nb = (unsigned)((((uintptr_t) addr + len - start) + page_size - 1) / page_size);
+
+ if (!nb)
+ nb = 1;
+
+ pv = calloc(nb, sizeof(*pv));
+ if (!pv)
+ return -1;
+
+ for (i = 0; i < nb; i++)
+ pv[i].VirtualAddress = (void*) (start + i * page_size);
+ if (!QueryWorkingSetExProc(GetCurrentProcess(), pv, nb * sizeof(*pv))) {
+ free(pv);
+ return -1;
+ }
+
+ for (i = 0; i < nb; i++) {
+ if (pv[i].VirtualAttributes.Valid)
+ hwloc_bitmap_set(nodeset, pv[i].VirtualAttributes.Node);
+ }
+
+ free(pv);
+ return 0;
+}
+
+
+/*************************
+ * discovery
+ */
+
+static int
+hwloc_look_windows(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ hwloc_bitmap_t groups_pu_set = NULL;
+ SYSTEM_INFO SystemInfo;
+ DWORD length;
+
+ if (topology->levels[0][0]->cpuset)
+ /* somebody discovered things */
+ return 0;
+
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+
+ GetSystemInfo(&SystemInfo);
+
+ if (!GetLogicalProcessorInformationExProc && GetLogicalProcessorInformationProc) {
+ PSYSTEM_LOGICAL_PROCESSOR_INFORMATION procInfo, tmpprocInfo;
+ unsigned id;
+ unsigned i;
+ struct hwloc_obj *obj;
+ hwloc_obj_type_t type;
+
+ length = 0;
+ procInfo = NULL;
+
+ while (1) {
+ if (GetLogicalProcessorInformationProc(procInfo, &length))
+ break;
+ if (GetLastError() != ERROR_INSUFFICIENT_BUFFER)
+ return -1;
+ tmpprocInfo = realloc(procInfo, length);
+ if (!tmpprocInfo) {
+ free(procInfo);
+ goto out;
+ }
+ procInfo = tmpprocInfo;
+ }
+
+ assert(!length || procInfo);
+
+ for (i = 0; i < length / sizeof(*procInfo); i++) {
+
+ /* Ignore unknown caches */
+ if (procInfo->Relationship == RelationCache
+ && procInfo->Cache.Type != CacheUnified
+ && procInfo->Cache.Type != CacheData
+ && procInfo->Cache.Type != CacheInstruction)
+ continue;
+
+ id = -1;
+ switch (procInfo[i].Relationship) {
+ case RelationNumaNode:
+ type = HWLOC_OBJ_NUMANODE;
+ id = procInfo[i].NumaNode.NodeNumber;
+ if (id > max_numanode_index)
+ max_numanode_index = id;
+ break;
+ case RelationProcessorPackage:
+ type = HWLOC_OBJ_PACKAGE;
+ break;
+ case RelationCache:
+ type = HWLOC_OBJ_CACHE;
+ break;
+ case RelationProcessorCore:
+ type = HWLOC_OBJ_CORE;
+ break;
+ case RelationGroup:
+ default:
+ type = HWLOC_OBJ_GROUP;
+ break;
+ }
+
+ obj = hwloc_alloc_setup_object(type, id);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_debug("%s#%u mask %lx\n", hwloc_obj_type_string(type), id, procInfo[i].ProcessorMask);
+ /* ProcessorMask is a ULONG_PTR */
+ hwloc_bitmap_set_ith_ULONG_PTR(obj->cpuset, 0, procInfo[i].ProcessorMask);
+ hwloc_debug_2args_bitmap("%s#%u bitmap %s\n", hwloc_obj_type_string(type), id, obj->cpuset);
+
+ switch (type) {
+ case HWLOC_OBJ_NUMANODE:
+ {
+ ULONGLONG avail;
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, id);
+ if ((GetNumaAvailableMemoryNodeExProc && GetNumaAvailableMemoryNodeExProc(id, &avail))
+ || (GetNumaAvailableMemoryNodeProc && GetNumaAvailableMemoryNodeProc(id, &avail)))
+ obj->memory.local_memory = avail;
+ obj->memory.page_types_len = 2;
+ obj->memory.page_types = malloc(2 * sizeof(*obj->memory.page_types));
+ memset(obj->memory.page_types, 0, 2 * sizeof(*obj->memory.page_types));
+ obj->memory.page_types_len = 1;
+ obj->memory.page_types[0].size = SystemInfo.dwPageSize;
+#if HAVE_DECL__SC_LARGE_PAGESIZE
+ obj->memory.page_types_len++;
+ obj->memory.page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+ break;
+ }
+ case HWLOC_OBJ_CACHE:
+ obj->attr->cache.size = procInfo[i].Cache.Size;
+ obj->attr->cache.associativity = procInfo[i].Cache.Associativity == CACHE_FULLY_ASSOCIATIVE ? -1 : procInfo[i].Cache.Associativity ;
+ obj->attr->cache.linesize = procInfo[i].Cache.LineSize;
+ obj->attr->cache.depth = procInfo[i].Cache.Level;
+ switch (procInfo->Cache.Type) {
+ case CacheUnified:
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ break;
+ case CacheData:
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ break;
+ case CacheInstruction:
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ break;
+ default:
+ hwloc_free_unlinked_object(obj);
+ continue;
+ }
+ break;
+ case HWLOC_OBJ_GROUP:
+ obj->attr->group.depth = procInfo[i].Relationship == RelationGroup;
+ break;
+ default:
+ break;
+ }
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+
+ free(procInfo);
+ }
+
+ if (GetLogicalProcessorInformationExProc) {
+ PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX procInfoTotal, tmpprocInfoTotal, procInfo;
+ unsigned id;
+ struct hwloc_obj *obj;
+ hwloc_obj_type_t type;
+
+ length = 0;
+ procInfoTotal = NULL;
+
+ while (1) {
+ if (GetLogicalProcessorInformationExProc(RelationAll, procInfoTotal, &length))
+ break;
+ if (GetLastError() != ERROR_INSUFFICIENT_BUFFER)
+ return -1;
+ tmpprocInfoTotal = realloc(procInfoTotal, length);
+ if (!tmpprocInfoTotal) {
+ free(procInfoTotal);
+ goto out;
+ }
+ procInfoTotal = tmpprocInfoTotal;
+ }
+
+ for (procInfo = procInfoTotal;
+ (void*) procInfo < (void*) ((uintptr_t) procInfoTotal + length);
+ procInfo = (void*) ((uintptr_t) procInfo + procInfo->Size)) {
+ unsigned num, i;
+ GROUP_AFFINITY *GroupMask;
+
+ /* Ignore unknown caches */
+ if (procInfo->Relationship == RelationCache
+ && procInfo->Cache.Type != CacheUnified
+ && procInfo->Cache.Type != CacheData
+ && procInfo->Cache.Type != CacheInstruction)
+ continue;
+
+ id = -1;
+ switch (procInfo->Relationship) {
+ case RelationNumaNode:
+ type = HWLOC_OBJ_NUMANODE;
+ num = 1;
+ GroupMask = &procInfo->NumaNode.GroupMask;
+ id = procInfo->NumaNode.NodeNumber;
+ if (id > max_numanode_index)
+ max_numanode_index = id;
+ break;
+ case RelationProcessorPackage:
+ type = HWLOC_OBJ_PACKAGE;
+ num = procInfo->Processor.GroupCount;
+ GroupMask = procInfo->Processor.GroupMask;
+ break;
+ case RelationCache:
+ type = HWLOC_OBJ_CACHE;
+ num = 1;
+ GroupMask = &procInfo->Cache.GroupMask;
+ break;
+ case RelationProcessorCore:
+ type = HWLOC_OBJ_CORE;
+ num = procInfo->Processor.GroupCount;
+ GroupMask = procInfo->Processor.GroupMask;
+ break;
+ case RelationGroup:
+ /* So strange an interface... */
+ for (id = 0; id < procInfo->Group.ActiveGroupCount; id++) {
+ KAFFINITY mask;
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, id);
+ obj->cpuset = hwloc_bitmap_alloc();
+ mask = procInfo->Group.GroupInfo[id].ActiveProcessorMask;
+ hwloc_debug("group %u %d cpus mask %lx\n", id,
+ procInfo->Group.GroupInfo[id].ActiveProcessorCount, mask);
+ /* KAFFINITY is ULONG_PTR */
+ hwloc_bitmap_set_ith_ULONG_PTR(obj->cpuset, id, mask);
+ hwloc_debug_2args_bitmap("group %u %d bitmap %s\n", id, procInfo->Group.GroupInfo[id].ActiveProcessorCount, obj->cpuset);
+
+ /* save the set of PUs so that we can create them at the end */
+ if (!groups_pu_set)
+ groups_pu_set = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(groups_pu_set, groups_pu_set, obj->cpuset);
+
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ continue;
+ default:
+ /* Don't know how to get the mask. */
+ hwloc_debug("unknown relation %d\n", procInfo->Relationship);
+ continue;
+ }
+
+ obj = hwloc_alloc_setup_object(type, id);
+ obj->cpuset = hwloc_bitmap_alloc();
+ for (i = 0; i < num; i++) {
+ hwloc_debug("%s#%u %d: mask %d:%lx\n", hwloc_obj_type_string(type), id, i, GroupMask[i].Group, GroupMask[i].Mask);
+ /* GROUP_AFFINITY.Mask is KAFFINITY, which is ULONG_PTR */
+ hwloc_bitmap_set_ith_ULONG_PTR(obj->cpuset, GroupMask[i].Group, GroupMask[i].Mask);
+ }
+ hwloc_debug_2args_bitmap("%s#%u bitmap %s\n", hwloc_obj_type_string(type), id, obj->cpuset);
+
+ switch (type) {
+ case HWLOC_OBJ_NUMANODE:
+ {
+ ULONGLONG avail;
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(obj->nodeset, id);
+ if ((GetNumaAvailableMemoryNodeExProc && GetNumaAvailableMemoryNodeExProc(id, &avail))
+ || (GetNumaAvailableMemoryNodeProc && GetNumaAvailableMemoryNodeProc(id, &avail)))
+ obj->memory.local_memory = avail;
+ obj->memory.page_types = malloc(2 * sizeof(*obj->memory.page_types));
+ memset(obj->memory.page_types, 0, 2 * sizeof(*obj->memory.page_types));
+ obj->memory.page_types_len = 1;
+ obj->memory.page_types[0].size = SystemInfo.dwPageSize;
+#if HAVE_DECL__SC_LARGE_PAGESIZE
+ obj->memory.page_types_len++;
+ obj->memory.page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
+#endif
+ break;
+ }
+ case HWLOC_OBJ_CACHE:
+ obj->attr->cache.size = procInfo->Cache.CacheSize;
+ obj->attr->cache.associativity = procInfo->Cache.Associativity == CACHE_FULLY_ASSOCIATIVE ? -1 : procInfo->Cache.Associativity ;
+ obj->attr->cache.linesize = procInfo->Cache.LineSize;
+ obj->attr->cache.depth = procInfo->Cache.Level;
+ switch (procInfo->Cache.Type) {
+ case CacheUnified:
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ break;
+ case CacheData:
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ break;
+ case CacheInstruction:
+ obj->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ break;
+ default:
+ hwloc_free_unlinked_object(obj);
+ continue;
+ }
+ break;
+ default:
+ break;
+ }
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ free(procInfoTotal);
+ }
+
+ topology->support.discovery->pu = 1;
+
+ if (groups_pu_set) {
+ /* the system supports multiple Groups.
+ * PU indexes may be discontiguous, especially if Groups contain less than 64 procs.
+ */
+ hwloc_obj_t obj;
+ unsigned idx;
+ hwloc_bitmap_foreach_begin(idx, groups_pu_set) {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PU, idx);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_only(obj->cpuset, idx);
+ hwloc_debug_1arg_bitmap("cpu %u has cpuset %s\n",
+ idx, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ } hwloc_bitmap_foreach_end();
+ hwloc_bitmap_free(groups_pu_set);
+ } else {
+ /* no processor groups */
+ SYSTEM_INFO sysinfo;
+ hwloc_obj_t obj;
+ unsigned idx;
+ GetSystemInfo(&sysinfo);
+ for(idx=0; idx<32; idx++)
+ if (sysinfo.dwActiveProcessorMask & (((DWORD_PTR)1)<<idx)) {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PU, idx);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_only(obj->cpuset, idx);
+ hwloc_debug_1arg_bitmap("cpu %u has cpuset %s\n",
+ idx, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ }
+
+ out:
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "Windows");
+ if (topology->is_thissystem)
+ hwloc_add_uname_info(topology, NULL);
+ return 1;
+}
+
+void
+hwloc_set_windows_hooks(struct hwloc_binding_hooks *hooks,
+ struct hwloc_topology_support *support)
+{
+ if (GetCurrentProcessorNumberExProc || (GetCurrentProcessorNumberProc && nr_processor_groups == 1))
+ hooks->get_thisthread_last_cpu_location = hwloc_win_get_thisthread_last_cpu_location;
+
+ if (nr_processor_groups == 1) {
+ hooks->set_proc_cpubind = hwloc_win_set_proc_cpubind;
+ hooks->get_proc_cpubind = hwloc_win_get_proc_cpubind;
+ hooks->set_thisproc_cpubind = hwloc_win_set_thisproc_cpubind;
+ hooks->get_thisproc_cpubind = hwloc_win_get_thisproc_cpubind;
+ hooks->set_proc_membind = hwloc_win_set_proc_membind;
+ hooks->get_proc_membind = hwloc_win_get_proc_membind;
+ hooks->set_thisproc_membind = hwloc_win_set_thisproc_membind;
+ hooks->get_thisproc_membind = hwloc_win_get_thisproc_membind;
+ }
+ if (nr_processor_groups == 1 || SetThreadGroupAffinityProc) {
+ hooks->set_thread_cpubind = hwloc_win_set_thread_cpubind;
+ hooks->set_thisthread_cpubind = hwloc_win_set_thisthread_cpubind;
+ hooks->set_thisthread_membind = hwloc_win_set_thisthread_membind;
+ }
+ if (GetThreadGroupAffinityProc) {
+ hooks->get_thread_cpubind = hwloc_win_get_thread_cpubind;
+ hooks->get_thisthread_cpubind = hwloc_win_get_thisthread_cpubind;
+ hooks->get_thisthread_membind = hwloc_win_get_thisthread_membind;
+ }
+
+ if (VirtualAllocExNumaProc) {
+ hooks->alloc_membind = hwloc_win_alloc_membind;
+ hooks->alloc = hwloc_win_alloc;
+ hooks->free_membind = hwloc_win_free_membind;
+ support->membind->bind_membind = 1;
+ }
+
+ if (QueryWorkingSetExProc && max_numanode_index <= 63 /* PSAPI_WORKING_SET_EX_BLOCK.Node is 6 bits only */)
+ hooks->get_area_memlocation = hwloc_win_get_area_memlocation;
+}
+
+static int hwloc_windows_component_init(unsigned long flags __hwloc_attribute_unused)
+{
+ hwloc_win_get_function_ptrs();
+ return 0;
+}
+
+static void hwloc_windows_component_finalize(unsigned long flags __hwloc_attribute_unused)
+{
+}
+
+static struct hwloc_backend *
+hwloc_windows_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ return NULL;
+ backend->discover = hwloc_look_windows;
+ return backend;
+}
+
+static struct hwloc_disc_component hwloc_windows_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "windows",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_windows_component_instantiate,
+ 50,
+ NULL
+};
+
+const struct hwloc_component hwloc_windows_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_windows_component_init, hwloc_windows_component_finalize,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_windows_disc_component
+};
+
+unsigned
+hwloc_fallback_nbprocessors(struct hwloc_topology *topology) {
+ int n;
+ SYSTEM_INFO sysinfo;
+
+ /* by default, ignore groups (return only the number in the current group) */
+ GetSystemInfo(&sysinfo);
+ n = sysinfo.dwNumberOfProcessors; /* FIXME could be non-contigous, rather return a mask from dwActiveProcessorMask? */
+
+ if (nr_processor_groups > 1) {
+ /* assume n-1 groups are complete, since that's how we store things in cpusets */
+ if (GetActiveProcessorCountProc)
+ n = MAXIMUM_PROC_PER_GROUP*(nr_processor_groups-1)
+ + GetActiveProcessorCountProc((WORD)nr_processor_groups-1);
+ else
+ n = MAXIMUM_PROC_PER_GROUP*nr_processor_groups;
+ }
+
+ if (n >= 1)
+ topology->support.discovery->pu = 1;
+ else
+ n = 1;
+ return n;
+}
--- /dev/null
+/*
+ * Copyright © 2010-2019 Inria. All rights reserved.
+ * Copyright © 2010-2013 Université Bordeaux
+ * Copyright © 2010-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ *
+ *
+ * This backend is only used when the operating system does not export
+ * the necessary hardware topology information to user-space applications.
+ * Currently, only the FreeBSD backend relies on this x86 backend.
+ *
+ * Other backends such as Linux have their own way to retrieve various
+ * pieces of hardware topology information from the operating system
+ * on various architectures, without having to use this x86-specific code.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+#include <private/misc.h>
+
+#include <private/cpuid-x86.h>
+
+#ifdef HAVE_VALGRIND_VALGRIND_H
+#include <valgrind/valgrind.h>
+#endif
+
+struct hwloc_x86_backend_data_s {
+ unsigned nbprocs;
+ hwloc_bitmap_t apicid_set;
+ int apicid_unique;
+ int is_knl;
+};
+
+#define has_topoext(features) ((features)[6] & (1 << 22))
+#define has_x2apic(features) ((features)[4] & (1 << 21))
+
+struct cacheinfo {
+ unsigned type;
+ unsigned level;
+ unsigned nbthreads_sharing;
+ unsigned cacheid;
+
+ unsigned linesize;
+ unsigned linepart;
+ int inclusive;
+ int ways;
+ unsigned sets;
+ unsigned long size;
+};
+
+struct procinfo {
+ unsigned present;
+ unsigned apicid;
+ unsigned max_log_proc;
+ unsigned max_nbcores;
+ unsigned max_nbthreads;
+ unsigned packageid;
+ unsigned dieid;
+ unsigned nodeid;
+ unsigned unitid;
+ unsigned logprocid;
+ unsigned threadid;
+ unsigned coreid;
+ unsigned *otherids;
+ unsigned levels;
+ unsigned numcaches;
+ struct cacheinfo *cache;
+ char cpuvendor[13];
+ char cpumodel[3*4*4+1];
+ unsigned cpustepping;
+ unsigned cpumodelnumber;
+ unsigned cpufamilynumber;
+};
+
+enum cpuid_type {
+ intel,
+ amd,
+ zhaoxin,
+ hygon,
+ unknown
+};
+
+static void fill_amd_cache(struct procinfo *infos, unsigned level, int type, unsigned cpuid)
+{
+ struct cacheinfo *cache, *tmpcaches;
+ unsigned cachenum;
+ unsigned long size = 0;
+
+ if (level == 1)
+ size = ((cpuid >> 24)) << 10;
+ else if (level == 2)
+ size = ((cpuid >> 16)) << 10;
+ else if (level == 3)
+ size = ((cpuid >> 18)) << 19;
+ if (!size)
+ return;
+
+ tmpcaches = realloc(infos->cache, (infos->numcaches+1)*sizeof(*infos->cache));
+ if (!tmpcaches)
+ /* failed to allocated, ignore that cache */
+ return;
+ infos->cache = tmpcaches;
+ cachenum = infos->numcaches++;
+
+ cache = &infos->cache[cachenum];
+
+ cache->type = type;
+ cache->level = level;
+ if (level <= 2)
+ cache->nbthreads_sharing = 1;
+ else
+ cache->nbthreads_sharing = infos->max_log_proc;
+ cache->linesize = cpuid & 0xff;
+ cache->linepart = 0;
+ cache->inclusive = 0; /* old AMD (K8-K10) supposed to have exclusive caches */
+
+ if (level == 1) {
+ cache->ways = (cpuid >> 16) & 0xff;
+ if (cache->ways == 0xff)
+ /* Fully associative */
+ cache->ways = -1;
+ } else {
+ static const unsigned ways_tab[] = { 0, 1, 2, 0, 4, 0, 8, 0, 16, 0, 32, 48, 64, 96, 128, -1 };
+ unsigned ways = (cpuid >> 12) & 0xf;
+ cache->ways = ways_tab[ways];
+ }
+ cache->size = size;
+ cache->sets = 0;
+
+ hwloc_debug("cache L%u t%u linesize %u ways %d size %luKB\n", cache->level, cache->nbthreads_sharing, cache->linesize, cache->ways, cache->size >> 10);
+}
+
+static void look_exttopoenum(struct procinfo *infos, unsigned leaf)
+{
+ unsigned level, apic_nextshift, apic_number, apic_type, apic_id = 0, apic_shift = 0, id;
+ unsigned threadid __hwloc_attribute_unused = 0; /* shut-up compiler */
+ unsigned eax, ebx, ecx = 0, edx;
+ int apic_packageshift = 0;
+
+ for (level = 0; ; level++) {
+ ecx = level;
+ eax = leaf;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ if (!eax && !ebx)
+ break;
+ apic_packageshift = eax & 0x1f;
+ }
+
+ if (level) {
+ infos->otherids = malloc(level * sizeof(*infos->otherids));
+ if (infos->otherids) {
+ infos->levels = level;
+ for (level = 0; ; level++) {
+ ecx = level;
+ eax = leaf;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ if (!eax && !ebx)
+ break;
+ apic_nextshift = eax & 0x1f;
+ apic_number = ebx & 0xffff;
+ apic_type = (ecx & 0xff00) >> 8;
+ apic_id = edx;
+ id = (apic_id >> apic_shift) & ((1 << (apic_packageshift - apic_shift))
+- 1);
+ hwloc_debug("x2APIC %08x %u: nextshift %u num %2u type %u id %2u\n", apic_id, level, apic_nextshift, apic_number, apic_type, id);
+ infos->apicid = apic_id;
+ infos->otherids[level] = UINT_MAX;
+ switch (apic_type) {
+ case 1:
+ infos->threadid = id;
+ /* apic_number is the actual number of threads per core */
+ break;
+ case 2:
+ infos->coreid = id;
+ /* apic_number is the actual number of threads per module */
+ break;
+ case 5:
+ infos->dieid = id;
+ /* apic_number is the actual number of threads per package */
+ break;
+ default:
+ hwloc_debug("x2APIC %u: unknown type %u\n", level, apic_type);
+ infos->otherids[level] = apic_id >> apic_shift;
+ break;
+ }
+ apic_shift = apic_nextshift;
+ }
+ infos->apicid = apic_id;
+ infos->packageid = apic_id >> apic_shift;
+ hwloc_debug("x2APIC remainder: %u\n", infos->packageid);
+ hwloc_debug("this is thread %u of core %u\n", infos->threadid, infos->coreid);
+ }
+ }
+}
+
+/* Fetch information from the processor itself thanks to cpuid and store it in
+ * infos for summarize to analyze them globally */
+static void look_proc(struct hwloc_backend *backend, struct procinfo *infos, unsigned highest_cpuid, unsigned highest_ext_cpuid, unsigned *features, enum cpuid_type cpuid_type)
+{
+ struct hwloc_x86_backend_data_s *data = backend->private_data;
+ unsigned eax, ebx, ecx = 0, edx;
+ unsigned cachenum;
+ struct cacheinfo *cache;
+ unsigned regs[4];
+ unsigned _model, _extendedmodel, _family, _extendedfamily;
+
+ infos->present = 1;
+
+ /* on return from this function, the following fields must be set in infos:
+ * packageid, nodeid, unitid, coreid, threadid, or -1
+ * apicid
+ * levels and levels slots in otherids[]
+ * numcaches and numcaches slots in caches[]
+ *
+ * max_log_proc, max_nbthreads, max_nbcores, logprocid
+ * are only used temporarily inside this function and its callees.
+ */
+
+ /* Get apicid, max_log_proc, packageid, logprocid from cpuid 0x01 */
+ eax = 0x01;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ infos->apicid = ebx >> 24;
+ if (edx & (1 << 28))
+ infos->max_log_proc = 1 << hwloc_flsl(((ebx >> 16) & 0xff) - 1);
+ else
+ infos->max_log_proc = 1;
+ hwloc_debug("APIC ID 0x%02x max_log_proc %u\n", infos->apicid, infos->max_log_proc);
+ infos->packageid = infos->apicid / infos->max_log_proc;
+ infos->logprocid = infos->apicid % infos->max_log_proc;
+ hwloc_debug("phys %u thread %u\n", infos->packageid, infos->logprocid);
+
+ /* Get cpu model/family/stepping numbers from same cpuid */
+ _model = (eax>>4) & 0xf;
+ _extendedmodel = (eax>>16) & 0xf;
+ _family = (eax>>8) & 0xf;
+ _extendedfamily = (eax>>20) & 0xff;
+ if ((cpuid_type == intel || cpuid_type == amd || cpuid_type == hygon) && _family == 0xf) {
+ infos->cpufamilynumber = _family + _extendedfamily;
+ } else {
+ infos->cpufamilynumber = _family;
+ }
+ if ((cpuid_type == intel && (_family == 0x6 || _family == 0xf))
+ || ((cpuid_type == amd || cpuid_type == hygon) && _family == 0xf)
+ || (cpuid_type == zhaoxin && (_family == 0x6 || _family == 0x7))) {
+ infos->cpumodelnumber = _model + (_extendedmodel << 4);
+ } else {
+ infos->cpumodelnumber = _model;
+ }
+ infos->cpustepping = eax & 0xf;
+
+ if (cpuid_type == intel && infos->cpufamilynumber == 0x6 &&
+ (infos->cpumodelnumber == 0x57 || infos->cpumodelnumber == 0x85))
+ data->is_knl = 1; /* KNM is the same as KNL */
+
+ /* Get cpu vendor string from cpuid 0x00 */
+ memset(regs, 0, sizeof(regs));
+ regs[0] = 0;
+ hwloc_x86_cpuid(®s[0], ®s[1], ®s[3], ®s[2]);
+ memcpy(infos->cpuvendor, regs+1, 4*3);
+ /* infos was calloc'ed, already ends with \0 */
+
+ /* Get cpu model string from cpuid 0x80000002-4 */
+ if (highest_ext_cpuid >= 0x80000004) {
+ memset(regs, 0, sizeof(regs));
+ regs[0] = 0x80000002;
+ hwloc_x86_cpuid(®s[0], ®s[1], ®s[2], ®s[3]);
+ memcpy(infos->cpumodel, regs, 4*4);
+ regs[0] = 0x80000003;
+ hwloc_x86_cpuid(®s[0], ®s[1], ®s[2], ®s[3]);
+ memcpy(infos->cpumodel + 4*4, regs, 4*4);
+ regs[0] = 0x80000004;
+ hwloc_x86_cpuid(®s[0], ®s[1], ®s[2], ®s[3]);
+ memcpy(infos->cpumodel + 4*4*2, regs, 4*4);
+ /* infos was calloc'ed, already ends with \0 */
+ }
+
+ /* Get core/thread information from cpuid 0x80000008
+ * (not supported on Intel)
+ */
+ if (cpuid_type != intel && cpuid_type != zhaoxin && highest_ext_cpuid >= 0x80000008) {
+ unsigned coreidsize;
+ eax = 0x80000008;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ coreidsize = (ecx >> 12) & 0xf;
+ hwloc_debug("core ID size: %u\n", coreidsize);
+ if (!coreidsize) {
+ infos->max_nbcores = (ecx & 0xff) + 1;
+ } else
+ infos->max_nbcores = 1 << coreidsize;
+ hwloc_debug("Thus max # of cores: %u\n", infos->max_nbcores);
+ /* Still no multithreaded AMD */
+ infos->max_nbthreads = 1 ;
+ hwloc_debug("and max # of threads: %u\n", infos->max_nbthreads);
+ /* The legacy max_log_proc is deprecated, it can be smaller than max_nbcores,
+ * which is the maximum number of cores that the processor could theoretically support
+ * (see "Multiple Core Calculation" in the AMD CPUID specification).
+ * Recompute packageid/logprocid/threadid/coreid accordingly.
+ */
+ infos->packageid = infos->apicid / infos->max_nbcores;
+ infos->logprocid = infos->apicid % infos->max_nbcores;
+ infos->threadid = infos->logprocid % infos->max_nbthreads;
+ infos->coreid = infos->logprocid / infos->max_nbthreads;
+ hwloc_debug("this is thread %u of core %u\n", infos->threadid, infos->coreid);
+ }
+
+ infos->numcaches = 0;
+ infos->cache = NULL;
+
+ /* Get apicid, nodeid, unitid from cpuid 0x8000001e
+ * and cache information from cpuid 0x8000001d
+ * (AMD topology extension)
+ */
+ if (cpuid_type != intel && cpuid_type != zhaoxin && has_topoext(features)) {
+ unsigned apic_id, node_id, nodes_per_proc;
+
+ /* the code below doesn't want any other cache yet */
+ assert(!infos->numcaches);
+
+ eax = 0x8000001e;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ infos->apicid = apic_id = eax;
+
+ if (infos->cpufamilynumber == 0x16) {
+ /* ecx is reserved */
+ node_id = 0;
+ nodes_per_proc = 1;
+ } else {
+ /* AMD other families or Hygon family 18h */
+ node_id = ecx & 0xff;
+ nodes_per_proc = ((ecx >> 8) & 7) + 1;
+ }
+ infos->nodeid = node_id;
+ if ((infos->cpufamilynumber == 0x15 && nodes_per_proc > 2)
+ || ((infos->cpufamilynumber == 0x17 || infos->cpufamilynumber == 0x18) && nodes_per_proc > 4)) {
+ hwloc_debug("warning: undefined nodes_per_proc value %u, assuming it means %u\n", nodes_per_proc, nodes_per_proc);
+ }
+
+ if (infos->cpufamilynumber <= 0x16) { /* topoext appeared in 0x15 and compute-units were only used in 0x15 and 0x16 */
+ unsigned unit_id, cores_per_unit;
+ infos->unitid = unit_id = ebx & 0xff;
+ cores_per_unit = ((ebx >> 8) & 0xff) + 1;
+ hwloc_debug("topoext %08x, %u nodes, node %u, %u cores in unit %u\n", apic_id, nodes_per_proc, node_id, cores_per_unit, unit_id);
+ } else {
+ unsigned core_id, threads_per_core;
+ infos->coreid = core_id = ebx & 0xff;
+ threads_per_core = ((ebx >> 8) & 0xff) + 1;
+ hwloc_debug("topoext %08x, %u nodes, node %u, %u threads in core %u\n", apic_id, nodes_per_proc, node_id, threads_per_core, core_id);
+ }
+
+ for (cachenum = 0; ; cachenum++) {
+ unsigned type;
+ eax = 0x8000001d;
+ ecx = cachenum;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ type = eax & 0x1f;
+ if (type == 0)
+ break;
+ infos->numcaches++;
+ }
+
+ cache = infos->cache = malloc(infos->numcaches * sizeof(*infos->cache));
+ if (cache) {
+ for (cachenum = 0; ; cachenum++) {
+ unsigned long linesize, linepart, ways, sets;
+ unsigned type;
+ eax = 0x8000001d;
+ ecx = cachenum;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+
+ type = eax & 0x1f;
+
+ if (type == 0)
+ break;
+
+ cache->type = type;
+ cache->level = (eax >> 5) & 0x7;
+ /* Note: actually number of cores */
+ cache->nbthreads_sharing = ((eax >> 14) & 0xfff) + 1;
+
+ cache->linesize = linesize = (ebx & 0xfff) + 1;
+ cache->linepart = linepart = ((ebx >> 12) & 0x3ff) + 1;
+ ways = ((ebx >> 22) & 0x3ff) + 1;
+
+ if (eax & (1 << 9))
+ /* Fully associative */
+ cache->ways = -1;
+ else
+ cache->ways = ways;
+ cache->sets = sets = ecx + 1;
+ cache->size = linesize * linepart * ways * sets;
+ cache->inclusive = edx & 0x2;
+
+ hwloc_debug("cache %u type %u L%u t%u c%u linesize %lu linepart %lu ways %lu sets %lu, size %luKB\n", cachenum, cache->type, cache->level, cache->nbthreads_sharing, infos->max_nbcores, linesize, linepart, ways, sets, cache->size >> 10);
+
+ cache++;
+ }
+ } else {
+ infos->numcaches = 0;
+ }
+ } else {
+ /* If there's no topoext,
+ * get cache information from cpuid 0x80000005 and 0x80000006
+ * (not supported on Intel)
+ */
+ if (cpuid_type != intel && cpuid_type != zhaoxin && highest_ext_cpuid >= 0x80000005) {
+ eax = 0x80000005;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ fill_amd_cache(infos, 1, 1, ecx); /* L1d */
+ fill_amd_cache(infos, 1, 2, edx); /* L1i */
+ }
+ if (cpuid_type != intel && cpuid_type != zhaoxin && highest_ext_cpuid >= 0x80000006) {
+ eax = 0x80000006;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ if (ecx & 0xf000)
+ /* This is actually supported on Intel but LinePerTag isn't returned in bits 8-11.
+ * Could be useful if some Intels (at least before Core micro-architecture)
+ * support this leaf without leaf 0x4.
+ */
+ fill_amd_cache(infos, 2, 3, ecx); /* L2u */
+ if (edx & 0xf000)
+ fill_amd_cache(infos, 3, 3, edx); /* L3u */
+ }
+ }
+
+ /* Get thread/core + cache information from cpuid 0x04
+ * (not supported on AMD)
+ */
+ if ((cpuid_type != amd && cpuid_type != hygon) && highest_cpuid >= 0x04) {
+ unsigned level;
+ struct cacheinfo *tmpcaches;
+ unsigned oldnumcaches = infos->numcaches; /* in case we got caches above */
+
+ for (cachenum = 0; ; cachenum++) {
+ unsigned type;
+ eax = 0x04;
+ ecx = cachenum;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+
+ type = eax & 0x1f;
+
+ hwloc_debug("cache %u type %u\n", cachenum, type);
+
+ if (type == 0)
+ break;
+ level = (eax >> 5) & 0x7;
+ if (data->is_knl && level == 3)
+ /* KNL reports wrong L3 information (size always 0, cpuset always the entire machine, ignore it */
+ break;
+ infos->numcaches++;
+
+ if (!cachenum) {
+ /* by the way, get thread/core information from the first cache */
+ infos->max_nbcores = ((eax >> 26) & 0x3f) + 1;
+ infos->max_nbthreads = infos->max_log_proc / infos->max_nbcores;
+ hwloc_debug("thus %u threads\n", infos->max_nbthreads);
+ infos->threadid = infos->logprocid % infos->max_nbthreads;
+ infos->coreid = infos->logprocid / infos->max_nbthreads;
+ hwloc_debug("this is thread %u of core %u\n", infos->threadid, infos->coreid);
+ }
+ }
+
+ tmpcaches = realloc(infos->cache, infos->numcaches * sizeof(*infos->cache));
+ if (!tmpcaches) {
+ infos->numcaches = oldnumcaches;
+ } else {
+ infos->cache = tmpcaches;
+ cache = &infos->cache[oldnumcaches];
+
+ for (cachenum = 0; ; cachenum++) {
+ unsigned long linesize, linepart, ways, sets;
+ unsigned type;
+ eax = 0x04;
+ ecx = cachenum;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+
+ type = eax & 0x1f;
+
+ if (type == 0)
+ break;
+ level = (eax >> 5) & 0x7;
+ if (data->is_knl && level == 3)
+ /* KNL reports wrong L3 information (size always 0, cpuset always the entire machine, ignore it */
+ break;
+
+ cache->type = type;
+ cache->level = level;
+ cache->nbthreads_sharing = ((eax >> 14) & 0xfff) + 1;
+
+ cache->linesize = linesize = (ebx & 0xfff) + 1;
+ cache->linepart = linepart = ((ebx >> 12) & 0x3ff) + 1;
+ ways = ((ebx >> 22) & 0x3ff) + 1;
+ if (eax & (1 << 9))
+ /* Fully associative */
+ cache->ways = -1;
+ else
+ cache->ways = ways;
+ cache->sets = sets = ecx + 1;
+ cache->size = linesize * linepart * ways * sets;
+ cache->inclusive = edx & 0x2;
+
+ hwloc_debug("cache %u type %u L%u t%u c%u linesize %lu linepart %lu ways %lu sets %lu, size %luKB\n", cachenum, cache->type, cache->level, cache->nbthreads_sharing, infos->max_nbcores, linesize, linepart, ways, sets, cache->size >> 10);
+
+ cache++;
+ }
+ }
+ }
+
+ if ((cpuid_type == intel) && highest_cpuid >= 0x1f) {
+ /* Get package/die/module/tile/core/thread information from cpuid 0x1f
+ * (Intel v2 Extended Topology Enumeration)
+ */
+ look_exttopoenum(infos, 0x1f);
+
+ } else if ((cpuid_type == intel || cpuid_type == zhaoxin) && highest_cpuid >= 0x0b && has_x2apic(features)) {
+ /* Get package/core/thread information from cpuid 0x0b
+ * (Intel v1 Extended Topology Enumeration)
+ */
+ look_exttopoenum(infos, 0x0b);
+ }
+
+ /* Now that we have all info, compute cacheids and apply quirks */
+ for (cachenum = 0; cachenum < infos->numcaches; cachenum++) {
+ cache = &infos->cache[cachenum];
+
+ /* default cacheid value */
+ cache->cacheid = infos->apicid / cache->nbthreads_sharing;
+
+ if (cpuid_type == amd) {
+ /* AMD quirks */
+ if (infos->cpufamilynumber == 0x17
+ && cache->level == 3 && cache->nbthreads_sharing == 6) {
+ /* AMD family 0x17 always shares L3 between 8 APIC ids,
+ * even when only 6 APIC ids are enabled and reported in nbthreads_sharing
+ * (on 24-core CPUs).
+ */
+ cache->cacheid = infos->apicid / 8;
+
+ } else if (infos->cpufamilynumber== 0x10 && infos->cpumodelnumber == 0x9
+ && cache->level == 3
+ && (cache->ways == -1 || (cache->ways % 2 == 0)) && cache->nbthreads_sharing >= 8) {
+ /* Fix AMD family 0x10 model 0x9 (Magny-Cours) with 8 or 12 cores.
+ * The L3 (and its associativity) is actually split into two halves).
+ */
+ if (cache->nbthreads_sharing == 16)
+ cache->nbthreads_sharing = 12; /* nbthreads_sharing is a power of 2 but the processor actually has 8 or 12 cores */
+ cache->nbthreads_sharing /= 2;
+ cache->size /= 2;
+ if (cache->ways != -1)
+ cache->ways /= 2;
+ /* AMD Magny-Cours 12-cores processor reserve APIC ids as AAAAAABBBBBB....
+ * among first L3 (A), second L3 (B), and unexisting cores (.).
+ * On multi-socket servers, L3 in non-first sockets may have APIC id ranges
+ * such as [16-21] that are not aligned on multiple of nbthreads_sharing (6).
+ * That means, we can't just compare apicid/nbthreads_sharing to identify siblings.
+ */
+ cache->cacheid = (infos->apicid % infos->max_log_proc) / cache->nbthreads_sharing /* cacheid within the package */
+ + 2 * (infos->apicid / infos->max_log_proc); /* add 2 caches per previous package */
+
+ } else if (infos->cpufamilynumber == 0x15
+ && (infos->cpumodelnumber == 0x1 /* Bulldozer */ || infos->cpumodelnumber == 0x2 /* Piledriver */)
+ && cache->level == 3 && cache->nbthreads_sharing == 6) {
+ /* AMD Bulldozer and Piledriver 12-core processors have same APIC ids as Magny-Cours above,
+ * but we can't merge the checks because the original nbthreads_sharing must be exactly 6 here.
+ */
+ cache->cacheid = (infos->apicid % infos->max_log_proc) / cache->nbthreads_sharing /* cacheid within the package */
+ + 2 * (infos->apicid / infos->max_log_proc); /* add 2 cache per previous package */
+ }
+ } else if (cpuid_type == hygon) {
+ if (infos->cpufamilynumber == 0x18
+ && cache->level == 3 && cache->nbthreads_sharing == 6) {
+ /* Hygon family 0x18 always shares L3 between 8 APIC ids,
+ * even when only 6 APIC ids are enabled and reported in nbthreads_sharing
+ * (on 24-core CPUs).
+ */
+ cache->cacheid = infos->apicid / 8;
+ }
+ }
+ }
+
+ if (hwloc_bitmap_isset(data->apicid_set, infos->apicid))
+ data->apicid_unique = 0;
+ else
+ hwloc_bitmap_set(data->apicid_set, infos->apicid);
+}
+
+static void
+hwloc_x86_add_cpuinfos(hwloc_obj_t obj, struct procinfo *info, int nodup)
+{
+ char number[8];
+ hwloc_obj_add_info_nodup(obj, "CPUVendor", info->cpuvendor, nodup);
+ snprintf(number, sizeof(number), "%u", info->cpufamilynumber);
+ hwloc_obj_add_info_nodup(obj, "CPUFamilyNumber", number, nodup);
+ snprintf(number, sizeof(number), "%u", info->cpumodelnumber);
+ hwloc_obj_add_info_nodup(obj, "CPUModelNumber", number, nodup);
+ if (info->cpumodel[0]) {
+ const char *c = info->cpumodel;
+ while (*c == ' ')
+ c++;
+ hwloc_obj_add_info_nodup(obj, "CPUModel", c, nodup);
+ }
+ snprintf(number, sizeof(number), "%u", info->cpustepping);
+ hwloc_obj_add_info_nodup(obj, "CPUStepping", number, nodup);
+}
+
+/* Analyse information stored in infos, and build/annotate topology levels accordingly */
+static int summarize(struct hwloc_backend *backend, struct procinfo *infos, int fulldiscovery)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_x86_backend_data_s *data = backend->private_data;
+ unsigned nbprocs = data->nbprocs;
+ hwloc_bitmap_t complete_cpuset = hwloc_bitmap_alloc();
+ unsigned i, j, l, level, type;
+ unsigned nbpackages = 0;
+ int one = -1;
+ unsigned next_group_depth = topology->next_group_depth;
+ int caches_added = 0;
+ hwloc_bitmap_t remaining_cpuset;
+
+ for (i = 0; i < nbprocs; i++)
+ if (infos[i].present) {
+ hwloc_bitmap_set(complete_cpuset, i);
+ one = i;
+ }
+
+ if (one == -1) {
+ hwloc_bitmap_free(complete_cpuset);
+ return 0;
+ }
+
+ remaining_cpuset = hwloc_bitmap_alloc();
+
+ /* Ideally, when fulldiscovery=0, we could add any object that doesn't exist yet.
+ * But what if the x86 and the native backends disagree because one is buggy? Which one to trust?
+ * Only annotate existing objects for now.
+ */
+
+ /* Look for packages */
+ if (fulldiscovery) {
+ hwloc_bitmap_t package_cpuset;
+ hwloc_obj_t package;
+
+ hwloc_bitmap_copy(remaining_cpuset, complete_cpuset);
+ while ((i = hwloc_bitmap_first(remaining_cpuset)) != (unsigned) -1) {
+ unsigned packageid = infos[i].packageid;
+
+ package_cpuset = hwloc_bitmap_alloc();
+ for (j = i; j < nbprocs; j++) {
+ if (infos[j].packageid == packageid) {
+ hwloc_bitmap_set(package_cpuset, j);
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ }
+ }
+ package = hwloc_alloc_setup_object(HWLOC_OBJ_PACKAGE, packageid);
+ package->cpuset = package_cpuset;
+
+ hwloc_x86_add_cpuinfos(package, &infos[i], 0);
+
+ hwloc_debug_1arg_bitmap("os package %u has cpuset %s\n",
+ packageid, package_cpuset);
+ hwloc_insert_object_by_cpuset(topology, package);
+ nbpackages++;
+ }
+
+ } else {
+ /* Annotate packages previously-existing packages */
+ hwloc_obj_t package = NULL;
+ int same = 1;
+ nbpackages = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_PACKAGE);
+ /* check whether all packages have the same info */
+ for(i=1; i<nbprocs; i++) {
+ if (strcmp(infos[i].cpumodel, infos[0].cpumodel)) {
+ same = 0;
+ break;
+ }
+ }
+ /* now iterate over packages and annotate them */
+ while ((package = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_PACKAGE, package)) != NULL) {
+ if (package->os_index == (unsigned) -1) {
+ /* try to fix the package OS index if unknown.
+ * FIXME: ideally, we should check all bits in case x86 and the native backend disagree.
+ */
+ for(i=0; i<nbprocs; i++) {
+ if (hwloc_bitmap_isset(package->cpuset, i)) {
+ package->os_index = infos[i].packageid;
+ break;
+ }
+ }
+ }
+ for(i=0; i<nbprocs; i++) {
+ /* if there's a single package, it's the one we want.
+ * if the index is ok, it's the one we want.
+ * if the index is unknown but all packages have the same id, that's fine
+ */
+ if (nbpackages == 1 || infos[i].packageid == package->os_index || (same && package->os_index == (unsigned) -1)) {
+ hwloc_x86_add_cpuinfos(package, &infos[i], 1);
+ break;
+ }
+ }
+ }
+ }
+ /* If there was no package, annotate the Machine instead */
+ if ((!nbpackages) && infos[0].cpumodel[0]) {
+ hwloc_x86_add_cpuinfos(hwloc_get_root_obj(topology), &infos[0], 1);
+ }
+
+ /* Look for Numa nodes inside packages */
+ if (fulldiscovery && getenv("HWLOC_X86_TOPOEXT_NUMANODES")) {
+ hwloc_bitmap_t node_cpuset;
+ hwloc_obj_t node;
+
+ hwloc_bitmap_copy(remaining_cpuset, complete_cpuset);
+ while ((i = hwloc_bitmap_first(remaining_cpuset)) != (unsigned) -1) {
+ unsigned packageid = infos[i].packageid;
+ unsigned nodeid = infos[i].nodeid;
+
+ if (nodeid == (unsigned)-1) {
+ hwloc_bitmap_clr(remaining_cpuset, i);
+ continue;
+ }
+
+ node_cpuset = hwloc_bitmap_alloc();
+ for (j = i; j < nbprocs; j++) {
+ if (infos[j].nodeid == (unsigned) -1) {
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ continue;
+ }
+
+ if (infos[j].packageid == packageid && infos[j].nodeid == nodeid) {
+ hwloc_bitmap_set(node_cpuset, j);
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ }
+ }
+ node = hwloc_alloc_setup_object(HWLOC_OBJ_NUMANODE, nodeid);
+ node->cpuset = node_cpuset;
+ node->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(node->nodeset, nodeid);
+ hwloc_debug_1arg_bitmap("os node %u has cpuset %s\n",
+ nodeid, node_cpuset);
+ hwloc_insert_object_by_cpuset(topology, node);
+ }
+ }
+
+ if (fulldiscovery) {
+ hwloc_bitmap_t unit_cpuset, die_cpuset;
+ hwloc_obj_t unit, die;
+ char *env;
+ int dont_merge;
+
+ /* Look for Compute units inside packages */
+ hwloc_bitmap_copy(remaining_cpuset, complete_cpuset);
+ while ((i = hwloc_bitmap_first(remaining_cpuset)) != (unsigned) -1) {
+ unsigned packageid = infos[i].packageid;
+ unsigned unitid = infos[i].unitid;
+
+ if (unitid == (unsigned)-1) {
+ hwloc_bitmap_clr(remaining_cpuset, i);
+ continue;
+ }
+
+ unit_cpuset = hwloc_bitmap_alloc();
+ for (j = i; j < nbprocs; j++) {
+ if (infos[j].unitid == (unsigned) -1) {
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ continue;
+ }
+
+ if (infos[j].packageid == packageid && infos[j].unitid == unitid) {
+ hwloc_bitmap_set(unit_cpuset, j);
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ }
+ }
+ unit = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, unitid);
+ unit->cpuset = unit_cpuset;
+ hwloc_obj_add_info(unit, "Type", "ComputeUnit");
+ hwloc_debug_1arg_bitmap("os unit %u has cpuset %s\n",
+ unitid, unit_cpuset);
+ hwloc_insert_object_by_cpuset(topology, unit);
+ }
+
+ /* Look for Dies inside packages */
+ env = getenv("HWLOC_DONT_MERGE_DIE_GROUPS");
+ dont_merge = env && atoi(env);
+ hwloc_bitmap_copy(remaining_cpuset, complete_cpuset);
+ while ((i = hwloc_bitmap_first(remaining_cpuset)) != (unsigned) -1) {
+ unsigned packageid = infos[i].packageid;
+ unsigned dieid = infos[i].dieid;
+
+ if (dieid == (unsigned)-1) {
+ hwloc_bitmap_clr(remaining_cpuset, i);
+ continue;
+ }
+
+ die_cpuset = hwloc_bitmap_alloc();
+ for (j = i; j < nbprocs; j++) {
+ if (infos[j].dieid == (unsigned) -1) {
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ continue;
+ }
+
+ if (infos[j].packageid == packageid && infos[j].dieid == dieid) {
+ hwloc_bitmap_set(die_cpuset, j);
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ }
+ }
+ die = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, dieid);
+ die->cpuset = die_cpuset;
+ hwloc_obj_add_info(die, "Type", "Die");
+ die->attr->group.dont_merge = dont_merge;
+ hwloc_debug_1arg_bitmap("os die %u has cpuset %s\n",
+ dieid, die_cpuset);
+ hwloc_insert_object_by_cpuset(topology, die);
+ }
+
+ /* Look for unknown objects */
+ if (infos[one].otherids) {
+ for (level = infos[one].levels-1; level <= infos[one].levels-1; level--) {
+ if (infos[one].otherids[level] != UINT_MAX) {
+ hwloc_bitmap_t unknown_cpuset;
+ hwloc_obj_t unknown_obj;
+
+ hwloc_bitmap_copy(remaining_cpuset, complete_cpuset);
+ while ((i = hwloc_bitmap_first(remaining_cpuset)) != (unsigned) -1) {
+ unsigned unknownid = infos[i].otherids[level];
+
+ unknown_cpuset = hwloc_bitmap_alloc();
+ for (j = i; j < nbprocs; j++) {
+ if (infos[j].otherids[level] == unknownid) {
+ hwloc_bitmap_set(unknown_cpuset, j);
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ }
+ }
+ unknown_obj = hwloc_alloc_setup_object(HWLOC_OBJ_GROUP, unknownid);
+ unknown_obj->cpuset = unknown_cpuset;
+ unknown_obj->os_level = level;
+ unknown_obj->attr->group.depth = topology->next_group_depth + level;
+ if (next_group_depth <= topology->next_group_depth + level)
+ next_group_depth = topology->next_group_depth + level + 1;
+ hwloc_debug_2args_bitmap("os unknown%u %u has cpuset %s\n",
+ level, unknownid, unknown_cpuset);
+ hwloc_insert_object_by_cpuset(topology, unknown_obj);
+ }
+ }
+ }
+ }
+ }
+
+ /* Look for cores */
+ if (fulldiscovery) {
+ hwloc_bitmap_t core_cpuset;
+ hwloc_obj_t core;
+
+ hwloc_bitmap_copy(remaining_cpuset, complete_cpuset);
+ while ((i = hwloc_bitmap_first(remaining_cpuset)) != (unsigned) -1) {
+ unsigned packageid = infos[i].packageid;
+ unsigned nodeid = infos[i].nodeid;
+ unsigned coreid = infos[i].coreid;
+
+ if (coreid == (unsigned) -1) {
+ hwloc_bitmap_clr(remaining_cpuset, i);
+ continue;
+ }
+
+ core_cpuset = hwloc_bitmap_alloc();
+ for (j = i; j < nbprocs; j++) {
+ if (infos[j].coreid == (unsigned) -1) {
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ continue;
+ }
+
+ if (infos[j].packageid == packageid && infos[j].nodeid == nodeid && infos[j].coreid == coreid) {
+ hwloc_bitmap_set(core_cpuset, j);
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ }
+ }
+ core = hwloc_alloc_setup_object(HWLOC_OBJ_CORE, coreid);
+ core->cpuset = core_cpuset;
+ hwloc_debug_1arg_bitmap("os core %u has cpuset %s\n",
+ coreid, core_cpuset);
+ hwloc_insert_object_by_cpuset(topology, core);
+ }
+ }
+
+ /* Look for PUs */
+ if (fulldiscovery) {
+ hwloc_debug("%s", "\n\n * CPU cpusets *\n\n");
+ for (i=0; i<nbprocs; i++)
+ if(infos[i].present) { /* Only add present PU. We don't know if others actually exist */
+ struct hwloc_obj *obj = hwloc_alloc_setup_object(HWLOC_OBJ_PU, i);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_only(obj->cpuset, i);
+ hwloc_debug_1arg_bitmap("PU %u has cpuset %s\n", i, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+ }
+ }
+
+ /* Look for caches */
+ /* First find max level */
+ level = 0;
+ for (i = 0; i < nbprocs; i++)
+ for (j = 0; j < infos[i].numcaches; j++)
+ if (infos[i].cache[j].level > level)
+ level = infos[i].cache[j].level;
+ while (level > 0) {
+ for (type = 1; type <= 3; type++) {
+ /* Look for caches of that type at level level */
+ {
+ hwloc_obj_t cache;
+
+ hwloc_bitmap_copy(remaining_cpuset, complete_cpuset);
+ while ((i = hwloc_bitmap_first(remaining_cpuset)) != (unsigned) -1) {
+ hwloc_bitmap_t puset;
+ int depth;
+
+ for (l = 0; l < infos[i].numcaches; l++) {
+ if (infos[i].cache[l].level == level && infos[i].cache[l].type == type)
+ break;
+ }
+ if (l == infos[i].numcaches) {
+ /* no cache Llevel of that type in i */
+ hwloc_bitmap_clr(remaining_cpuset, i);
+ continue;
+ }
+
+ puset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(puset, i);
+ depth = hwloc_get_cache_type_depth(topology, level,
+ type == 1 ? HWLOC_OBJ_CACHE_DATA : type == 2 ? HWLOC_OBJ_CACHE_INSTRUCTION : HWLOC_OBJ_CACHE_UNIFIED);
+ if (depth != HWLOC_TYPE_DEPTH_UNKNOWN)
+ cache = hwloc_get_next_obj_covering_cpuset_by_depth(topology, puset, depth, NULL);
+ else
+ cache = NULL;
+ hwloc_bitmap_free(puset);
+
+ if (cache) {
+ /* Found cache above that PU, annotate if no such attribute yet */
+ if (!hwloc_obj_get_info_by_name(cache, "Inclusive"))
+ hwloc_obj_add_info(cache, "Inclusive", infos[i].cache[l].inclusive ? "1" : "0");
+ hwloc_bitmap_andnot(remaining_cpuset, remaining_cpuset, cache->cpuset);
+ } else {
+ /* Add the missing cache */
+ hwloc_bitmap_t cache_cpuset;
+ unsigned packageid = infos[i].packageid;
+ unsigned cacheid = infos[i].cache[l].cacheid;
+ /* Now look for others sharing it */
+ cache_cpuset = hwloc_bitmap_alloc();
+ for (j = i; j < nbprocs; j++) {
+ unsigned l2;
+ for (l2 = 0; l2 < infos[j].numcaches; l2++) {
+ if (infos[j].cache[l2].level == level && infos[j].cache[l2].type == type)
+ break;
+ }
+ if (l2 == infos[j].numcaches) {
+ /* no cache Llevel of that type in j */
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ continue;
+ }
+ if (infos[j].packageid == packageid && infos[j].cache[l2].cacheid == cacheid) {
+ hwloc_bitmap_set(cache_cpuset, j);
+ hwloc_bitmap_clr(remaining_cpuset, j);
+ }
+ }
+ cache = hwloc_alloc_setup_object(HWLOC_OBJ_CACHE, cacheid);
+ cache->attr->cache.depth = level;
+ cache->attr->cache.size = infos[i].cache[l].size;
+ cache->attr->cache.linesize = infos[i].cache[l].linesize;
+ cache->attr->cache.associativity = infos[i].cache[l].ways;
+ switch (infos[i].cache[l].type) {
+ case 1:
+ cache->attr->cache.type = HWLOC_OBJ_CACHE_DATA;
+ break;
+ case 2:
+ cache->attr->cache.type = HWLOC_OBJ_CACHE_INSTRUCTION;
+ break;
+ case 3:
+ cache->attr->cache.type = HWLOC_OBJ_CACHE_UNIFIED;
+ break;
+ }
+ cache->cpuset = cache_cpuset;
+ hwloc_obj_add_info(cache, "Inclusive", infos[i].cache[l].inclusive ? "1" : "0");
+ hwloc_debug_2args_bitmap("os L%u cache %u has cpuset %s\n",
+ level, cacheid, cache_cpuset);
+ hwloc_insert_object_by_cpuset(topology, cache);
+ caches_added++;
+ }
+ }
+ }
+ }
+ level--;
+ }
+
+ hwloc_bitmap_free(remaining_cpuset);
+ hwloc_bitmap_free(complete_cpuset);
+ topology->next_group_depth = next_group_depth;
+
+ return fulldiscovery || caches_added;
+}
+
+static int
+look_procs(struct hwloc_backend *backend, struct procinfo *infos, int fulldiscovery,
+ unsigned highest_cpuid, unsigned highest_ext_cpuid, unsigned *features, enum cpuid_type cpuid_type,
+ int (*get_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags),
+ int (*set_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags))
+{
+ struct hwloc_x86_backend_data_s *data = backend->private_data;
+ struct hwloc_topology *topology = backend->topology;
+ unsigned nbprocs = data->nbprocs;
+ hwloc_bitmap_t orig_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_t set;
+ unsigned i;
+ int ret = 0;
+
+ if (get_cpubind(topology, orig_cpuset, HWLOC_CPUBIND_STRICT)) {
+ hwloc_bitmap_free(orig_cpuset);
+ return -1;
+ }
+
+ set = hwloc_bitmap_alloc();
+
+ for (i = 0; i < nbprocs; i++) {
+ hwloc_bitmap_only(set, i);
+ hwloc_debug("binding to CPU%u\n", i);
+ if (set_cpubind(topology, set, HWLOC_CPUBIND_STRICT)) {
+ hwloc_debug("could not bind to CPU%u: %s\n", i, strerror(errno));
+ continue;
+ }
+ look_proc(backend, &infos[i], highest_cpuid, highest_ext_cpuid, features, cpuid_type);
+ }
+
+ set_cpubind(topology, orig_cpuset, 0);
+ hwloc_bitmap_free(set);
+ hwloc_bitmap_free(orig_cpuset);
+
+ if (!data->apicid_unique)
+ fulldiscovery = 0;
+ else
+ ret = summarize(backend, infos, fulldiscovery);
+ return ret;
+}
+
+#if defined HWLOC_FREEBSD_SYS && defined HAVE_CPUSET_SETID
+#include <sys/param.h>
+#include <sys/cpuset.h>
+typedef cpusetid_t hwloc_x86_os_state_t;
+static void hwloc_x86_os_state_save(hwloc_x86_os_state_t *state)
+{
+ /* temporary make all cpus available during discovery */
+ cpuset_getid(CPU_LEVEL_CPUSET, CPU_WHICH_PID, -1, state);
+ cpuset_setid(CPU_WHICH_PID, -1, 0);
+}
+static void hwloc_x86_os_state_restore(hwloc_x86_os_state_t *state)
+{
+ /* restore initial cpuset */
+ cpuset_setid(CPU_WHICH_PID, -1, *state);
+}
+#else /* !defined HWLOC_FREEBSD_SYS || !defined HAVE_CPUSET_SETID */
+typedef void * hwloc_x86_os_state_t;
+static void hwloc_x86_os_state_save(hwloc_x86_os_state_t *state __hwloc_attribute_unused) { }
+static void hwloc_x86_os_state_restore(hwloc_x86_os_state_t *state __hwloc_attribute_unused) { }
+#endif /* !defined HWLOC_FREEBSD_SYS || !defined HAVE_CPUSET_SETID */
+
+
+#define INTEL_EBX ('G' | ('e'<<8) | ('n'<<16) | ('u'<<24))
+#define INTEL_EDX ('i' | ('n'<<8) | ('e'<<16) | ('I'<<24))
+#define INTEL_ECX ('n' | ('t'<<8) | ('e'<<16) | ('l'<<24))
+
+#define AMD_EBX ('A' | ('u'<<8) | ('t'<<16) | ('h'<<24))
+#define AMD_EDX ('e' | ('n'<<8) | ('t'<<16) | ('i'<<24))
+#define AMD_ECX ('c' | ('A'<<8) | ('M'<<16) | ('D'<<24))
+
+/* HYGON "HygonGenuine" */
+#define HYGON_EBX ('H' | ('y'<<8) | ('g'<<16) | ('o'<<24))
+#define HYGON_EDX ('n' | ('G'<<8) | ('e'<<16) | ('n'<<24))
+#define HYGON_ECX ('u' | ('i'<<8) | ('n'<<16) | ('e'<<24))
+
+/* (Zhaoxin) CentaurHauls */
+#define ZX_EBX ('C' | ('e'<<8) | ('n'<<16) | ('t'<<24))
+#define ZX_EDX ('a' | ('u'<<8) | ('r'<<16) | ('H'<<24))
+#define ZX_ECX ('a' | ('u'<<8) | ('l'<<16) | ('s'<<24))
+
+#define SH_EBX (' ' | (' '<<8) | ('S'<<16) | ('h'<<24))
+#define SH_EDX ('a' | ('n'<<8) | ('g'<<16) | ('h'<<24))
+#define SH_ECX ('a' | ('i'<<8) | (' '<<16) | (' '<<24))
+
+/* fake cpubind for when nbprocs=1 and no binding support */
+static int fake_get_cpubind(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_cpuset_t set __hwloc_attribute_unused,
+ int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+static int fake_set_cpubind(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_const_cpuset_t set __hwloc_attribute_unused,
+ int flags __hwloc_attribute_unused)
+{
+ return 0;
+}
+
+static
+int hwloc_look_x86(struct hwloc_backend *backend, int fulldiscovery)
+{
+ struct hwloc_x86_backend_data_s *data = backend->private_data;
+ unsigned nbprocs = data->nbprocs;
+ unsigned eax, ebx, ecx = 0, edx;
+ unsigned i;
+ unsigned highest_cpuid;
+ unsigned highest_ext_cpuid;
+ /* This stores cpuid features with the same indexing as Linux */
+ unsigned features[10] = { 0 };
+ struct procinfo *infos = NULL;
+ enum cpuid_type cpuid_type = unknown;
+ hwloc_x86_os_state_t os_state;
+ struct hwloc_binding_hooks hooks;
+ struct hwloc_topology_support support;
+ struct hwloc_topology_membind_support memsupport __hwloc_attribute_unused;
+ int (*get_cpubind)(hwloc_topology_t topology, hwloc_cpuset_t set, int flags);
+ int (*set_cpubind)(hwloc_topology_t topology, hwloc_const_cpuset_t set, int flags);
+ int ret = -1;
+
+ /* check if binding works */
+ memset(&hooks, 0, sizeof(hooks));
+ support.membind = &memsupport;
+ hwloc_set_native_binding_hooks(&hooks, &support);
+ if (hooks.get_thisthread_cpubind && hooks.set_thisthread_cpubind) {
+ get_cpubind = hooks.get_thisthread_cpubind;
+ set_cpubind = hooks.set_thisthread_cpubind;
+ } else if (hooks.get_thisproc_cpubind && hooks.set_thisproc_cpubind) {
+ get_cpubind = hooks.get_thisproc_cpubind;
+ set_cpubind = hooks.set_thisproc_cpubind;
+ } else {
+ /* we need binding support if there are multiple PUs */
+ if (nbprocs > 1)
+ goto out;
+ get_cpubind = fake_get_cpubind;
+ set_cpubind = fake_set_cpubind;
+ }
+
+ if (!hwloc_have_x86_cpuid())
+ goto out;
+
+ infos = calloc(nbprocs, sizeof(struct procinfo));
+ if (NULL == infos)
+ goto out;
+ for (i = 0; i < nbprocs; i++) {
+ infos[i].nodeid = (unsigned) -1;
+ infos[i].packageid = (unsigned) -1;
+ infos[i].dieid = (unsigned) -1;
+ infos[i].unitid = (unsigned) -1;
+ infos[i].coreid = (unsigned) -1;
+ infos[i].threadid = (unsigned) -1;
+ }
+
+ eax = 0x00;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ highest_cpuid = eax;
+ if (ebx == INTEL_EBX && ecx == INTEL_ECX && edx == INTEL_EDX)
+ cpuid_type = intel;
+ if (ebx == AMD_EBX && ecx == AMD_ECX && edx == AMD_EDX)
+ cpuid_type = amd;
+ /* support for zhaoxin x86 cpu vendor id */
+ if (ebx == ZX_EBX && ecx == ZX_ECX && edx == ZX_EDX)
+ cpuid_type = zhaoxin;
+ if (ebx == SH_EBX && ecx == SH_ECX && edx == SH_EDX)
+ cpuid_type = zhaoxin;
+ else if (ebx == HYGON_EBX && ecx == HYGON_ECX && edx == HYGON_EDX)
+ cpuid_type = hygon;
+
+ hwloc_debug("highest cpuid %x, cpuid type %u\n", highest_cpuid, cpuid_type);
+ if (highest_cpuid < 0x01) {
+ goto out_with_infos;
+ }
+
+ eax = 0x01;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ features[0] = edx;
+ features[4] = ecx;
+
+ eax = 0x80000000;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ highest_ext_cpuid = eax;
+
+ hwloc_debug("highest extended cpuid %x\n", highest_ext_cpuid);
+
+ if (highest_cpuid >= 0x7) {
+ eax = 0x7;
+ ecx = 0;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ features[9] = ebx;
+ }
+
+ if (cpuid_type != intel && highest_ext_cpuid >= 0x80000001) {
+ eax = 0x80000001;
+ hwloc_x86_cpuid(&eax, &ebx, &ecx, &edx);
+ features[1] = edx;
+ features[6] = ecx;
+ }
+
+ hwloc_x86_os_state_save(&os_state);
+
+ ret = look_procs(backend, infos, fulldiscovery,
+ highest_cpuid, highest_ext_cpuid, features, cpuid_type,
+ get_cpubind, set_cpubind);
+ if (ret >= 0)
+ /* success, we're done */
+ goto out_with_os_state;
+
+ if (nbprocs == 1) {
+ /* only one processor, no need to bind */
+ look_proc(backend, &infos[0], highest_cpuid, highest_ext_cpuid, features, cpuid_type);
+ ret = summarize(backend, infos, fulldiscovery);
+ }
+
+out_with_os_state:
+ hwloc_x86_os_state_restore(&os_state);
+
+out_with_infos:
+ if (NULL != infos) {
+ for (i = 0; i < nbprocs; i++) {
+ free(infos[i].cache);
+ if (infos[i].otherids)
+ free(infos[i].otherids);
+ }
+ free(infos);
+ }
+
+out:
+ return ret;
+}
+
+static int
+hwloc_x86_discover(struct hwloc_backend *backend)
+{
+ struct hwloc_x86_backend_data_s *data = backend->private_data;
+ struct hwloc_topology *topology = backend->topology;
+ int alreadypus = 0;
+ int ret;
+
+#if HAVE_DECL_RUNNING_ON_VALGRIND
+ if (RUNNING_ON_VALGRIND) {
+ fprintf(stderr, "hwloc x86 backend cannot work under Valgrind, disabling.\n");
+ return 0;
+ }
+#endif
+
+ data->nbprocs = hwloc_fallback_nbprocessors(topology);
+
+ if (!topology->is_thissystem) {
+ hwloc_debug("%s", "\nno x86 detection (not thissystem)\n");
+ return 0;
+ }
+
+ if (topology->levels[0][0]->cpuset) {
+ /* somebody else discovered things */
+ if (topology->nb_levels == 2 && topology->level_nbobjects[1] == data->nbprocs) {
+ /* only PUs were discovered, as much as we would, complete the topology with everything else */
+ alreadypus = 1;
+ goto fulldiscovery;
+ }
+
+ /* several object types were added, we can't easily complete, just do partial discovery */
+ ret = hwloc_look_x86(backend, 0);
+ if (ret)
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "x86");
+ return ret;
+ } else {
+ /* topology is empty, initialize it */
+ hwloc_alloc_obj_cpusets(topology->levels[0][0]);
+ }
+
+fulldiscovery:
+ if (hwloc_look_x86(backend, 1) < 0) {
+ /* if failed, create PUs */
+ if (!alreadypus)
+ hwloc_setup_pu_level(topology, data->nbprocs);
+ }
+
+ hwloc_obj_add_info(topology->levels[0][0], "Backend", "x86");
+
+#ifdef HAVE_UNAME
+ hwloc_add_uname_info(topology, NULL); /* we already know is_thissystem() is true */
+#else
+ /* uname isn't available, manually setup the "Architecture" info */
+#ifdef HWLOC_X86_64_ARCH
+ hwloc_obj_add_info(topology->levels[0][0], "Architecture", "x86_64");
+#else
+ hwloc_obj_add_info(topology->levels[0][0], "Architecture", "x86");
+#endif
+#endif
+ return 1;
+}
+
+static void
+hwloc_x86_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_x86_backend_data_s *data = backend->private_data;
+ hwloc_bitmap_free(data->apicid_set);
+ free(data);
+}
+
+static struct hwloc_backend *
+hwloc_x86_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1 __hwloc_attribute_unused,
+ const void *_data2 __hwloc_attribute_unused,
+ const void *_data3 __hwloc_attribute_unused)
+{
+ struct hwloc_backend *backend;
+ struct hwloc_x86_backend_data_s *data;
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ goto out;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ errno = ENOMEM;
+ goto out_with_backend;
+ }
+
+ backend->private_data = data;
+ backend->flags = HWLOC_BACKEND_FLAG_NEED_LEVELS;
+ backend->discover = hwloc_x86_discover;
+ backend->disable = hwloc_x86_backend_disable;
+
+ /* default values */
+ data->is_knl = 0;
+ data->apicid_set = hwloc_bitmap_alloc();
+ data->apicid_unique = 1;
+
+ return backend;
+
+ out_with_backend:
+ free(backend);
+ out:
+ return NULL;
+}
+
+static struct hwloc_disc_component hwloc_x86_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_CPU,
+ "x86",
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ hwloc_x86_component_instantiate,
+ 45, /* between native and no_os */
+ NULL
+};
+
+const struct hwloc_component hwloc_x86_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_x86_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/plugins.h>
+
+/* private headers allowed because this plugin is built within hwloc */
+#include <private/xml.h>
+#include <private/debug.h>
+#include <private/misc.h>
+
+#include <libxml/parser.h>
+#include <libxml/tree.h>
+
+/*******************
+ * Common routines *
+ *******************/
+
+static void hwloc_libxml2_error_callback(void * ctx __hwloc_attribute_unused, const char * msg __hwloc_attribute_unused, ...) { /* do nothing */ }
+
+static void
+hwloc_libxml2_disable_stderrwarnings(void)
+{
+ static int first = 1;
+ if (first) {
+ xmlSetGenericErrorFunc(NULL, hwloc__xml_verbose() ? xmlGenericError : hwloc_libxml2_error_callback);
+ first = 0;
+ }
+}
+
+/*******************
+ * Import routines *
+ *******************/
+
+typedef struct hwloc__libxml_import_state_data_s {
+ xmlNode *node; /* current libxml node, always valid */
+ xmlNode *child; /* last processed child, or NULL if none yet */
+ xmlAttr *attr; /* last processed attribute, or NULL if none yet */
+} __hwloc_attribute_may_alias * hwloc__libxml_import_state_data_t;
+
+static int
+hwloc__libxml_import_next_attr(hwloc__xml_import_state_t state, char **namep, char **valuep)
+{
+ hwloc__libxml_import_state_data_t lstate = (void*) state->data;
+
+ xmlAttr *attr;
+ if (lstate->attr)
+ attr = lstate->attr->next;
+ else
+ attr = lstate->node->properties;
+ for (; attr; attr = attr->next)
+ if (attr->type == XML_ATTRIBUTE_NODE) {
+ /* use the first valid attribute content */
+ xmlNode *subnode;
+ for (subnode = attr->children; subnode; subnode = subnode->next) {
+ if (subnode->type == XML_TEXT_NODE) {
+ if (subnode->content && subnode->content[0] != '\0' && subnode->content[0] != '\n') {
+ *namep = (char *) attr->name;
+ *valuep = (char *) subnode->content;
+ lstate->attr = attr;
+ return 0;
+ }
+ } else {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring unexpected xml attr node type %u\n",
+ state->global->msgprefix, subnode->type);
+ }
+ }
+ } else {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring unexpected xml attr type %u\n",
+ state->global->msgprefix, attr->type);
+ }
+ return -1;
+}
+
+static int
+hwloc__libxml_import_find_child(hwloc__xml_import_state_t state,
+ hwloc__xml_import_state_t childstate,
+ char **tagp)
+{
+ hwloc__libxml_import_state_data_t lstate = (void*) state->data;
+ hwloc__libxml_import_state_data_t lchildstate = (void*) childstate->data;
+ xmlNode *child;
+ childstate->parent = state;
+ childstate->global = state->global;
+ if (!lstate->child)
+ return 0;
+ child = lstate->child->next;
+ for (; child; child = child->next)
+ if (child->type == XML_ELEMENT_NODE) {
+ lstate->child = lchildstate->node = child;
+ lchildstate->child = child->children;
+ lchildstate->attr = NULL;
+ *tagp = (char*) child->name;
+ return 1;
+ } else if (child->type == XML_TEXT_NODE) {
+ if (child->content && child->content[0] != '\0' && child->content[0] != '\n')
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring object text content %s\n",
+ state->global->msgprefix, (const char*) child->content);
+ } else if (child->type != XML_COMMENT_NODE) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring unexpected xml node type %u\n",
+ state->global->msgprefix, child->type);
+ }
+
+ return 0;
+}
+
+static int
+hwloc__libxml_import_close_tag(hwloc__xml_import_state_t state __hwloc_attribute_unused)
+{
+ return 0;
+}
+
+static void
+hwloc__libxml_import_close_child(hwloc__xml_import_state_t state __hwloc_attribute_unused)
+{
+ /* nothing to do */
+}
+
+static int
+hwloc__libxml_import_get_content(hwloc__xml_import_state_t state,
+ char **beginp, size_t expected_length)
+{
+ hwloc__libxml_import_state_data_t lstate = (void*) state->data;
+ xmlNode *child;
+ size_t length;
+
+ child = lstate->node->children;
+ if (!child || child->type != XML_TEXT_NODE) {
+ if (expected_length)
+ return -1;
+ *beginp = (char *) "";
+ return 0;
+ }
+
+ length = strlen((char *) child->content);
+ if (length != expected_length)
+ return -1;
+ *beginp = (char *) child->content;
+ return 1;
+}
+
+static void
+hwloc__libxml_import_close_content(hwloc__xml_import_state_t state __hwloc_attribute_unused)
+{
+ /* nothing to do */
+}
+
+static int
+hwloc_libxml_look_init(struct hwloc_xml_backend_data_s *bdata,
+ struct hwloc__xml_import_state_s *state)
+{
+ hwloc__libxml_import_state_data_t lstate = (void*) state->data;
+ xmlNode* root_node;
+ xmlDtd *dtd;
+ xmlChar *version;
+
+ HWLOC_BUILD_ASSERT(sizeof(*lstate) <= sizeof(state->data));
+
+ dtd = xmlGetIntSubset((xmlDoc*) bdata->data);
+ if (!dtd) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: Loading XML topology without DTD\n",
+ state->global->msgprefix);
+ } else if (strcmp((char *) dtd->SystemID, "hwloc.dtd")) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: Loading XML topology with wrong DTD SystemID (%s instead of %s)\n",
+ state->global->msgprefix, (char *) dtd->SystemID, "hwloc.dtd");
+ }
+
+ root_node = xmlDocGetRootElement((xmlDoc*) bdata->data);
+
+ if (strcmp((const char *) root_node->name, "topology") && strcmp((const char *) root_node->name, "root")) {
+ /* root node should be in "topology" class (or "root" if importing from < 1.0) */
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring object of class `%s' not at the top the xml hierarchy\n",
+ state->global->msgprefix, (const char *) root_node->name);
+ goto failed;
+ }
+
+ version = xmlGetProp(root_node, (xmlChar*) "version");
+ if (version) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: hwloc v1.x cannot import topology version >= 2.\n",
+ state->global->msgprefix);
+ xmlFree(version);
+ goto failed;
+ }
+
+ state->global->next_attr = hwloc__libxml_import_next_attr;
+ state->global->find_child = hwloc__libxml_import_find_child;
+ state->global->close_tag = hwloc__libxml_import_close_tag;
+ state->global->close_child = hwloc__libxml_import_close_child;
+ state->global->get_content = hwloc__libxml_import_get_content;
+ state->global->close_content = hwloc__libxml_import_close_content;
+ state->parent = NULL;
+ lstate->node = root_node;
+ lstate->child = root_node->children;
+ lstate->attr = NULL;
+ return 0; /* success */
+
+ failed:
+ return -1; /* failed */
+}
+
+static int
+hwloc_libxml_import_diff(struct hwloc__xml_import_state_s *state, const char *xmlpath, const char *xmlbuffer, int xmlbuflen, hwloc_topology_diff_t *firstdiffp, char **refnamep)
+{
+ hwloc__libxml_import_state_data_t lstate = (void*) state->data;
+ char *refname = NULL;
+ xmlDoc *doc = NULL;
+ xmlNode* root_node;
+ xmlDtd *dtd;
+ int ret;
+
+ HWLOC_BUILD_ASSERT(sizeof(*lstate) <= sizeof(state->data));
+
+ LIBXML_TEST_VERSION;
+ hwloc_libxml2_disable_stderrwarnings();
+
+ errno = 0; /* set to 0 so that we know if libxml2 changed it */
+
+ if (xmlpath)
+ doc = xmlReadFile(xmlpath, NULL, 0);
+ else if (xmlbuffer)
+ doc = xmlReadMemory(xmlbuffer, xmlbuflen, "", NULL, 0);
+
+ if (!doc) {
+ if (!errno)
+ /* libxml2 read the file fine, but it got an error during parsing */
+ errno = EINVAL;
+ goto out;
+ }
+
+ dtd = xmlGetIntSubset(doc);
+ if (!dtd) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "Loading XML topologydiff without DTD\n");
+ } else if (strcmp((char *) dtd->SystemID, "hwloc.dtd")) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "Loading XML topologydiff with wrong DTD SystemID (%s instead of %s)\n",
+ (char *) dtd->SystemID, "hwloc.dtd");
+ }
+
+ root_node = xmlDocGetRootElement(doc);
+
+ if (strcmp((const char *) root_node->name, "topologydiff")) {
+ /* root node should be in "topologydiff" class */
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "ignoring object of class `%s' not at the top the xml hierarchy\n", (const char *) root_node->name);
+ goto out_with_doc;
+ }
+
+ state->global->next_attr = hwloc__libxml_import_next_attr;
+ state->global->find_child = hwloc__libxml_import_find_child;
+ state->global->close_tag = hwloc__libxml_import_close_tag;
+ state->global->close_child = hwloc__libxml_import_close_child;
+ state->global->get_content = hwloc__libxml_import_get_content;
+ state->global->close_content = hwloc__libxml_import_close_content;
+ state->parent = NULL;
+ lstate->node = root_node;
+ lstate->child = root_node->children;
+ lstate->attr = NULL;
+
+ while (1) {
+ char *attrname, *attrvalue;
+ if (state->global->next_attr(state, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "refname")) {
+ if (refname)
+ free(refname);
+ refname = strdup(attrvalue);
+ } else
+ goto out_with_doc;
+ }
+
+ ret = hwloc__xml_import_diff(state, firstdiffp);
+ if (refnamep && !ret)
+ *refnamep = refname;
+ else if (refname)
+ free(refname);
+
+ xmlFreeDoc(doc);
+ return ret;
+
+out_with_doc:
+ if (refname)
+ free(refname);
+ xmlFreeDoc(doc);
+out:
+ return -1; /* failed */
+}
+
+/********************
+ * Backend routines *
+ ********************/
+
+static void
+hwloc_libxml_backend_exit(struct hwloc_xml_backend_data_s *bdata)
+{
+ xmlFreeDoc((xmlDoc*)bdata->data);
+}
+
+static int
+hwloc_libxml_backend_init(struct hwloc_xml_backend_data_s *bdata,
+ const char *xmlpath, const char *xmlbuffer, int xmlbuflen)
+{
+ xmlDoc *doc = NULL;
+
+ LIBXML_TEST_VERSION;
+ hwloc_libxml2_disable_stderrwarnings();
+
+ errno = 0; /* set to 0 so that we know if libxml2 changed it */
+
+ if (xmlpath)
+ doc = xmlReadFile(xmlpath, NULL, 0);
+ else if (xmlbuffer)
+ doc = xmlReadMemory(xmlbuffer, xmlbuflen, "", NULL, 0);
+
+ if (!doc) {
+ if (!errno)
+ /* libxml2 read the file fine, but it got an error during parsing */
+ errno = EINVAL;
+ return -1;
+ }
+
+ bdata->look_init = hwloc_libxml_look_init;
+ bdata->look_failed = NULL;
+ bdata->backend_exit = hwloc_libxml_backend_exit;
+ bdata->data = doc;
+ return 0;
+}
+
+/*******************
+ * Export routines *
+ *******************/
+
+typedef struct hwloc__libxml_export_state_data_s {
+ xmlNodePtr current_node; /* current node to output */
+} __hwloc_attribute_may_alias * hwloc__libxml_export_state_data_t;
+
+static void
+hwloc__libxml_export_new_child(hwloc__xml_export_state_t parentstate,
+ hwloc__xml_export_state_t state,
+ const char *name)
+{
+ hwloc__libxml_export_state_data_t lpdata = (void *) parentstate->data;
+ hwloc__libxml_export_state_data_t ldata = (void *) state->data;
+
+ state->parent = parentstate;
+ state->new_child = parentstate->new_child;
+ state->new_prop = parentstate->new_prop;
+ state->add_content = parentstate->add_content;
+ state->end_object = parentstate->end_object;
+
+ ldata->current_node = xmlNewChild(lpdata->current_node, NULL, BAD_CAST name, NULL);
+}
+
+static void
+hwloc__libxml_export_new_prop(hwloc__xml_export_state_t state, const char *name, const char *value)
+{
+ hwloc__libxml_export_state_data_t ldata = (void *) state->data;
+ xmlNewProp(ldata->current_node, BAD_CAST name, BAD_CAST value);
+}
+
+static void
+hwloc__libxml_export_end_object(hwloc__xml_export_state_t state __hwloc_attribute_unused, const char *name __hwloc_attribute_unused)
+{
+ /* nothing to do */
+}
+
+static void
+hwloc__libxml_export_add_content(hwloc__xml_export_state_t state, const char *buffer, size_t length)
+{
+ hwloc__libxml_export_state_data_t ldata = (void *) state->data;
+ xmlNodeAddContentLen(ldata->current_node, BAD_CAST buffer, length);
+}
+
+static xmlDocPtr
+hwloc__libxml2_prepare_export(hwloc_topology_t topology)
+{
+ struct hwloc__xml_export_state_s state;
+ hwloc__libxml_export_state_data_t data = (void *) state.data;
+ xmlDocPtr doc = NULL; /* document pointer */
+ xmlNodePtr root_node = NULL; /* root pointer */
+
+ HWLOC_BUILD_ASSERT(sizeof(*data) <= sizeof(state.data));
+
+ LIBXML_TEST_VERSION;
+ hwloc_libxml2_disable_stderrwarnings();
+
+ /* Creates a new document, a node and set it as a root node. */
+ doc = xmlNewDoc(BAD_CAST "1.0");
+ root_node = xmlNewNode(NULL, BAD_CAST "topology");
+ xmlDocSetRootElement(doc, root_node);
+
+ /* Creates a DTD declaration. Isn't mandatory. */
+ (void) xmlCreateIntSubset(doc, BAD_CAST "topology", NULL, BAD_CAST "hwloc.dtd");
+
+ state.new_child = hwloc__libxml_export_new_child;
+ state.new_prop = hwloc__libxml_export_new_prop;
+ state.add_content = hwloc__libxml_export_add_content;
+ state.end_object = hwloc__libxml_export_end_object;
+
+ data->current_node = root_node;
+
+ hwloc__xml_export_object (&state, topology, hwloc_get_root_obj(topology));
+
+ return doc;
+}
+
+static int
+hwloc_libxml_export_file(hwloc_topology_t topology, const char *filename)
+{
+ xmlDocPtr doc;
+ int ret;
+
+ errno = 0; /* set to 0 so that we know if libxml2 changed it */
+
+ doc = hwloc__libxml2_prepare_export(topology);
+ ret = xmlSaveFormatFileEnc(filename, doc, "UTF-8", 1);
+ xmlFreeDoc(doc);
+
+ if (ret < 0) {
+ if (!errno)
+ /* libxml2 likely got an error before doing I/O */
+ errno = EINVAL;
+ return ret;
+ }
+ return 0;
+}
+
+static int
+hwloc_libxml_export_buffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen)
+{
+ xmlDocPtr doc;
+
+ doc = hwloc__libxml2_prepare_export(topology);
+ xmlDocDumpFormatMemoryEnc(doc, (xmlChar **)xmlbuffer, buflen, "UTF-8", 1);
+ xmlFreeDoc(doc);
+ if (!*xmlbuffer) {
+ *buflen = 0;
+ return -1;
+ }
+ *buflen += 1; /* ending \0 was added but not counted in the length */
+ return 0;
+}
+
+static xmlDocPtr
+hwloc__libxml2_prepare_export_diff(hwloc_topology_diff_t diff, const char *refname)
+{
+ struct hwloc__xml_export_state_s state;
+ hwloc__libxml_export_state_data_t data = (void *) state.data;
+ xmlDocPtr doc = NULL; /* document pointer */
+ xmlNodePtr root_node = NULL; /* root pointer */
+
+ HWLOC_BUILD_ASSERT(sizeof(*data) <= sizeof(state.data));
+
+ LIBXML_TEST_VERSION;
+ hwloc_libxml2_disable_stderrwarnings();
+
+ /* Creates a new document, a node and set it as a root node. */
+ doc = xmlNewDoc(BAD_CAST "1.0");
+ root_node = xmlNewNode(NULL, BAD_CAST "topologydiff");
+ if (refname)
+ xmlNewProp(root_node, BAD_CAST "refname", BAD_CAST refname);
+ xmlDocSetRootElement(doc, root_node);
+
+ /* Creates a DTD declaration. Isn't mandatory. */
+ (void) xmlCreateIntSubset(doc, BAD_CAST "topologydiff", NULL, BAD_CAST "hwloc.dtd");
+
+ state.new_child = hwloc__libxml_export_new_child;
+ state.new_prop = hwloc__libxml_export_new_prop;
+ state.add_content = hwloc__libxml_export_add_content;
+ state.end_object = hwloc__libxml_export_end_object;
+
+ data->current_node = root_node;
+
+ hwloc__xml_export_diff (&state, diff);
+
+ return doc;
+}
+
+static int
+hwloc_libxml_export_diff_file(hwloc_topology_diff_t diff, const char *refname, const char *filename)
+{
+ xmlDocPtr doc;
+ int ret;
+
+ errno = 0; /* set to 0 so that we know if libxml2 changed it */
+
+ doc = hwloc__libxml2_prepare_export_diff(diff, refname);
+ ret = xmlSaveFormatFileEnc(filename, doc, "UTF-8", 1);
+ xmlFreeDoc(doc);
+
+ if (ret < 0) {
+ if (!errno)
+ /* libxml2 likely got an error before doing I/O */
+ errno = EINVAL;
+ return ret;
+ }
+ return 0;
+}
+
+static int
+hwloc_libxml_export_diff_buffer(hwloc_topology_diff_t diff, const char *refname, char **xmlbuffer, int *buflen)
+{
+ xmlDocPtr doc;
+
+ doc = hwloc__libxml2_prepare_export_diff(diff, refname);
+ xmlDocDumpFormatMemoryEnc(doc, (xmlChar **)xmlbuffer, buflen, "UTF-8", 1);
+ xmlFreeDoc(doc);
+ if (!*xmlbuffer) {
+ *buflen = 0;
+ return -1;
+ }
+ *buflen += 1; /* ending \0 was added but not counted in the length */
+ return 0;
+}
+
+static void
+hwloc_libxml_free_buffer(void *xmlbuffer)
+{
+ xmlFree(BAD_CAST xmlbuffer);
+}
+
+/*************
+ * Callbacks *
+ *************/
+
+static struct hwloc_xml_callbacks hwloc_xml_libxml_callbacks = {
+ hwloc_libxml_backend_init,
+ hwloc_libxml_export_file,
+ hwloc_libxml_export_buffer,
+ hwloc_libxml_free_buffer,
+ hwloc_libxml_import_diff,
+ hwloc_libxml_export_diff_file,
+ hwloc_libxml_export_diff_buffer
+};
+
+static struct hwloc_xml_component hwloc_libxml_xml_component = {
+ NULL,
+ &hwloc_xml_libxml_callbacks
+};
+
+static int
+hwloc_xml_libxml_component_init(unsigned long flags)
+{
+ if (flags)
+ return -1;
+ if (hwloc_plugin_check_namespace("xml_libxml", "hwloc__xml_verbose") < 0)
+ return -1;
+ return 0;
+}
+
+#ifdef HWLOC_INSIDE_PLUGIN
+HWLOC_DECLSPEC extern const struct hwloc_component hwloc_xml_libxml_component;
+#endif
+
+const struct hwloc_component hwloc_xml_libxml_component = {
+ HWLOC_COMPONENT_ABI,
+ hwloc_xml_libxml_component_init, NULL,
+ HWLOC_COMPONENT_TYPE_XML,
+ 0,
+ &hwloc_libxml_xml_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <hwloc/plugins.h>
+#include <private/private.h>
+#include <private/misc.h>
+#include <private/xml.h>
+#include <private/debug.h>
+
+#include <string.h>
+#include <assert.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+/*******************
+ * Import routines *
+ *******************/
+
+struct hwloc__nolibxml_backend_data_s {
+ size_t buflen; /* size of both buffer and copy buffers, set during backend_init() */
+ char *buffer; /* allocated and filled during backend_init() */
+ char *copy; /* allocated during backend_init(), used later during actual parsing */
+};
+
+typedef struct hwloc__nolibxml_import_state_data_s {
+ char *tagbuffer; /* buffer containing the next tag */
+ char *attrbuffer; /* buffer containing the next attribute of the current node */
+ char *tagname; /* tag name of the current node */
+ int closed; /* set if the current node is auto-closing */
+} __hwloc_attribute_may_alias * hwloc__nolibxml_import_state_data_t;
+
+static char *
+hwloc__nolibxml_import_ignore_spaces(char *buffer)
+{
+ return buffer + strspn(buffer, " \t\n");
+}
+
+static int
+hwloc__nolibxml_import_next_attr(hwloc__xml_import_state_t state, char **namep, char **valuep)
+{
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ size_t namelen;
+ size_t len, escaped;
+ char *buffer, *value, *end;
+
+ if (!nstate->attrbuffer)
+ return -1;
+
+ /* find the beginning of an attribute */
+ buffer = hwloc__nolibxml_import_ignore_spaces(nstate->attrbuffer);
+ namelen = strspn(buffer, "abcdefghijklmnopqrstuvwxyz_");
+ if (buffer[namelen] != '=' || buffer[namelen+1] != '\"')
+ return -1;
+ buffer[namelen] = '\0';
+ *namep = buffer;
+
+ /* find the beginning of its value, and unescape it */
+ *valuep = value = buffer+namelen+2;
+ len = 0; escaped = 0;
+ while (value[len+escaped] != '\"') {
+ if (value[len+escaped] == '&') {
+ if (!strncmp(&value[1+len+escaped], "#10;", 4)) {
+ escaped += 4;
+ value[len] = '\n';
+ } else if (!strncmp(&value[1+len+escaped], "#13;", 4)) {
+ escaped += 4;
+ value[len] = '\r';
+ } else if (!strncmp(&value[1+len+escaped], "#9;", 3)) {
+ escaped += 3;
+ value[len] = '\t';
+ } else if (!strncmp(&value[1+len+escaped], "quot;", 5)) {
+ escaped += 5;
+ value[len] = '\"';
+ } else if (!strncmp(&value[1+len+escaped], "lt;", 3)) {
+ escaped += 3;
+ value[len] = '<';
+ } else if (!strncmp(&value[1+len+escaped], "gt;", 3)) {
+ escaped += 3;
+ value[len] = '>';
+ } else if (!strncmp(&value[1+len+escaped], "amp;", 4)) {
+ escaped += 4;
+ value[len] = '&';
+ } else {
+ return -1;
+ }
+ } else {
+ value[len] = value[len+escaped];
+ }
+ len++;
+ if (value[len+escaped] == '\0')
+ return -1;
+ }
+ value[len] = '\0';
+
+ /* find next attribute */
+ end = &value[len+escaped+1]; /* skip the ending " */
+ nstate->attrbuffer = hwloc__nolibxml_import_ignore_spaces(end);
+ return 0;
+}
+
+static int
+hwloc__nolibxml_import_find_child(hwloc__xml_import_state_t state,
+ hwloc__xml_import_state_t childstate,
+ char **tagp)
+{
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ hwloc__nolibxml_import_state_data_t nchildstate = (void*) childstate->data;
+ char *buffer = nstate->tagbuffer;
+ char *end;
+ size_t namelen;
+
+ childstate->parent = state;
+ childstate->global = state->global;
+
+ /* auto-closed tags have no children */
+ if (nstate->closed)
+ return 0;
+
+ /* find the beginning of the tag */
+ buffer = hwloc__nolibxml_import_ignore_spaces(buffer);
+ if (buffer[0] != '<')
+ return -1;
+ buffer++;
+
+ /* if closing tag, return nothing and do not advance */
+ if (buffer[0] == '/')
+ return 0;
+
+ /* normal tag */
+ *tagp = nchildstate->tagname = buffer;
+
+ /* find the end, mark it and return it */
+ end = strchr(buffer, '>');
+ if (!end)
+ return -1;
+ end[0] = '\0';
+ nchildstate->tagbuffer = end+1;
+
+ /* handle auto-closing tags */
+ if (end[-1] == '/') {
+ nchildstate->closed = 1;
+ end[-1] = '\0';
+ } else
+ nchildstate->closed = 0;
+
+ /* find attributes */
+ namelen = strspn(buffer, "abcdefghijklmnopqrstuvwxyz_");
+
+ if (buffer[namelen] == '\0') {
+ /* no attributes */
+ nchildstate->attrbuffer = NULL;
+ return 1;
+ }
+
+ if (buffer[namelen] != ' ')
+ return -1;
+
+ /* found a space, likely starting attributes */
+ buffer[namelen] = '\0';
+ nchildstate->attrbuffer = buffer+namelen+1;
+ return 1;
+}
+
+static int
+hwloc__nolibxml_import_close_tag(hwloc__xml_import_state_t state)
+{
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ char *buffer = nstate->tagbuffer;
+ char *end;
+
+ /* auto-closed tags need nothing */
+ if (nstate->closed)
+ return 0;
+
+ /* find the beginning of the tag */
+ buffer = hwloc__nolibxml_import_ignore_spaces(buffer);
+ if (buffer[0] != '<')
+ return -1;
+ buffer++;
+
+ /* find the end, mark it and return it to the parent */
+ end = strchr(buffer, '>');
+ if (!end)
+ return -1;
+ end[0] = '\0';
+ nstate->tagbuffer = end+1;
+
+ /* if closing tag, return nothing */
+ if (buffer[0] != '/' || strcmp(buffer+1, nstate->tagname) )
+ return -1;
+ return 0;
+}
+
+static void
+hwloc__nolibxml_import_close_child(hwloc__xml_import_state_t state)
+{
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ hwloc__nolibxml_import_state_data_t nparent = (void*) state->parent->data;
+ nparent->tagbuffer = nstate->tagbuffer;
+}
+
+static int
+hwloc__nolibxml_import_get_content(hwloc__xml_import_state_t state,
+ char **beginp, size_t expected_length)
+{
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ char *buffer = nstate->tagbuffer;
+ size_t length;
+ char *end;
+
+ /* auto-closed tags have no content */
+ if (nstate->closed) {
+ if (expected_length)
+ return -1;
+ *beginp = (char *) "";
+ return 0;
+ }
+
+ /* find the next tag, where the content ends */
+ end = strchr(buffer, '<');
+ if (!end)
+ return -1;
+
+ length = (size_t) (end-buffer);
+ if (length != expected_length)
+ return -1;
+ nstate->tagbuffer = end;
+ *end = '\0'; /* mark as 0-terminated for now */
+ *beginp = buffer;
+ return 1;
+}
+
+static void
+hwloc__nolibxml_import_close_content(hwloc__xml_import_state_t state)
+{
+ /* put back the '<' that we overwrote to 0-terminate the content */
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ if (!nstate->closed)
+ *nstate->tagbuffer = '<';
+}
+
+static int
+hwloc_nolibxml_look_init(struct hwloc_xml_backend_data_s *bdata,
+ struct hwloc__xml_import_state_s *state)
+{
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ struct hwloc__nolibxml_backend_data_s *nbdata = bdata->data;
+ char *buffer;
+
+ HWLOC_BUILD_ASSERT(sizeof(*nstate) <= sizeof(state->data));
+
+ /* use a copy in the temporary buffer, we may modify during parsing */
+ buffer = nbdata->copy;
+ memcpy(buffer, nbdata->buffer, nbdata->buflen);
+
+ /* skip headers */
+ while (!strncmp(buffer, "<?xml ", 6) || !strncmp(buffer, "<!DOCTYPE ", 10)) {
+ buffer = strchr(buffer, '\n');
+ if (!buffer)
+ goto failed;
+ buffer++;
+ }
+
+ /* find topology tag */
+ if (strncmp(buffer, "<topology>", 10)) {
+ if (hwloc__xml_verbose()) {
+ if (!strncmp(buffer, "<topology version=", 18))
+ fprintf(stderr, "%s: hwloc v1.x cannot import topology version >= 2.\n",
+ state->global->msgprefix);
+ else
+ fprintf(stderr, "%s: failed to find starting tag <topology>\n",
+ state->global->msgprefix);
+ }
+ goto failed;
+ }
+
+ state->global->next_attr = hwloc__nolibxml_import_next_attr;
+ state->global->find_child = hwloc__nolibxml_import_find_child;
+ state->global->close_tag = hwloc__nolibxml_import_close_tag;
+ state->global->close_child = hwloc__nolibxml_import_close_child;
+ state->global->get_content = hwloc__nolibxml_import_get_content;
+ state->global->close_content = hwloc__nolibxml_import_close_content;
+ state->parent = NULL;
+ nstate->closed = 0;
+ nstate->tagbuffer = buffer+10;
+ nstate->tagname = (char *) "topology";
+ nstate->attrbuffer = NULL;
+ return 0; /* success */
+
+ failed:
+ return -1; /* failed */
+}
+
+static void
+hwloc_nolibxml_look_failed(struct hwloc_xml_backend_data_s *bdata __hwloc_attribute_unused)
+{
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "Failed to parse XML input with the minimalistic parser. If it was not\n"
+ "generated by hwloc, try enabling full XML support with libxml2.\n");
+}
+
+/********************
+ * Backend routines *
+ ********************/
+
+static void
+hwloc_nolibxml_backend_exit(struct hwloc_xml_backend_data_s *bdata)
+{
+ struct hwloc__nolibxml_backend_data_s *nbdata = bdata->data;
+ free(nbdata->buffer);
+ free(nbdata->copy);
+ free(nbdata);
+}
+
+static int
+hwloc_nolibxml_read_file(const char *xmlpath, char **bufferp, size_t *buflenp)
+{
+ FILE * file;
+ size_t buflen, offset, readlen;
+ struct stat statbuf;
+ char *buffer, *tmp;
+ size_t ret;
+
+ if (!strcmp(xmlpath, "-"))
+ xmlpath = "/dev/stdin";
+
+ file = fopen(xmlpath, "r");
+ if (!file)
+ goto out;
+
+ /* find the required buffer size for regular files, or use 4k when unknown, we'll realloc later if needed */
+ buflen = 4096;
+ if (!stat(xmlpath, &statbuf))
+ if (S_ISREG(statbuf.st_mode))
+ buflen = statbuf.st_size+1; /* one additional byte so that the first fread() gets EOF too */
+
+ buffer = malloc(buflen+1); /* one more byte for the ending \0 */
+ if (!buffer)
+ goto out_with_file;
+
+ offset = 0; readlen = buflen;
+ while (1) {
+ ret = fread(buffer+offset, 1, readlen, file);
+
+ offset += ret;
+ buffer[offset] = 0;
+
+ if (ret != readlen)
+ break;
+
+ buflen *= 2;
+ tmp = realloc(buffer, buflen+1);
+ if (!tmp)
+ goto out_with_buffer;
+ buffer = tmp;
+ readlen = buflen/2;
+ }
+
+ fclose(file);
+ *bufferp = buffer;
+ *buflenp = offset+1;
+ return 0;
+
+ out_with_buffer:
+ free(buffer);
+ out_with_file:
+ fclose(file);
+ out:
+ return -1;
+}
+
+static int
+hwloc_nolibxml_backend_init(struct hwloc_xml_backend_data_s *bdata,
+ const char *xmlpath, const char *xmlbuffer, int xmlbuflen)
+{
+ struct hwloc__nolibxml_backend_data_s *nbdata = malloc(sizeof(*nbdata));
+
+ if (!nbdata)
+ goto out;
+ bdata->data = nbdata;
+
+ if (xmlbuffer) {
+ nbdata->buffer = malloc(xmlbuflen+1);
+ if (!nbdata->buffer)
+ goto out_with_nbdata;
+ nbdata->buflen = xmlbuflen+1;
+ memcpy(nbdata->buffer, xmlbuffer, xmlbuflen);
+ nbdata->buffer[xmlbuflen] = '\0';
+
+ } else {
+ int err = hwloc_nolibxml_read_file(xmlpath, &nbdata->buffer, &nbdata->buflen);
+ if (err < 0)
+ goto out_with_nbdata;
+ }
+
+ /* allocate a temporary copy buffer that we may modify during parsing */
+ nbdata->copy = malloc(nbdata->buflen+1);
+ if (!nbdata->copy)
+ goto out_with_buffer;
+ nbdata->copy[nbdata->buflen] = '\0';
+
+ bdata->look_init = hwloc_nolibxml_look_init;
+ bdata->look_failed = hwloc_nolibxml_look_failed;
+ bdata->backend_exit = hwloc_nolibxml_backend_exit;
+ return 0;
+
+out_with_buffer:
+ free(nbdata->buffer);
+out_with_nbdata:
+ free(nbdata);
+out:
+ return -1;
+}
+
+static int
+hwloc_nolibxml_import_diff(struct hwloc__xml_import_state_s *state,
+ const char *xmlpath, const char *xmlbuffer, int xmlbuflen,
+ hwloc_topology_diff_t *firstdiffp, char **refnamep)
+{
+ hwloc__nolibxml_import_state_data_t nstate = (void*) state->data;
+ struct hwloc__xml_import_state_s childstate;
+ char *refname = NULL;
+ char *buffer, *tmp, *tag;
+ size_t buflen;
+ int ret;
+
+ HWLOC_BUILD_ASSERT(sizeof(*nstate) <= sizeof(state->data));
+
+ if (xmlbuffer) {
+ buffer = malloc(xmlbuflen);
+ if (!buffer)
+ goto out;
+ memcpy(buffer, xmlbuffer, xmlbuflen);
+ buflen = xmlbuflen;
+
+ } else {
+ ret = hwloc_nolibxml_read_file(xmlpath, &buffer, &buflen);
+ if (ret < 0)
+ goto out;
+ }
+
+ /* skip headers */
+ tmp = buffer;
+ while (!strncmp(tmp, "<?xml ", 6) || !strncmp(tmp, "<!DOCTYPE ", 10)) {
+ tmp = strchr(tmp, '\n');
+ if (!tmp)
+ goto out_with_buffer;
+ tmp++;
+ }
+
+ state->global->next_attr = hwloc__nolibxml_import_next_attr;
+ state->global->find_child = hwloc__nolibxml_import_find_child;
+ state->global->close_tag = hwloc__nolibxml_import_close_tag;
+ state->global->close_child = hwloc__nolibxml_import_close_child;
+ state->global->get_content = hwloc__nolibxml_import_get_content;
+ state->global->close_content = hwloc__nolibxml_import_close_content;
+ state->parent = NULL;
+ nstate->closed = 0;
+ nstate->tagbuffer = tmp;
+ nstate->tagname = NULL;
+ nstate->attrbuffer = NULL;
+
+ /* find root */
+ ret = hwloc__nolibxml_import_find_child(state, &childstate, &tag);
+ if (ret < 0)
+ goto out_with_buffer;
+ if (!tag || strcmp(tag, "topologydiff"))
+ goto out_with_buffer;
+
+ while (1) {
+ char *attrname, *attrvalue;
+ if (hwloc__nolibxml_import_next_attr(&childstate, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "refname")) {
+ free(refname);
+ refname = strdup(attrvalue);
+ } else
+ goto out_with_buffer;
+ }
+
+ ret = hwloc__xml_import_diff(&childstate, firstdiffp);
+ if (refnamep && !ret)
+ *refnamep = refname;
+ else
+ free(refname);
+
+ free(buffer);
+ return ret;
+
+out_with_buffer:
+ free(buffer);
+ free(refname);
+out:
+ return -1;
+}
+
+/*******************
+ * Export routines *
+ *******************/
+
+typedef struct hwloc__nolibxml_export_state_data_s {
+ char *buffer; /* (moving) buffer where to write */
+ size_t written; /* how many bytes were written (or would have be written if not truncated) */
+ size_t remaining; /* how many bytes are still available in the buffer */
+ unsigned indent; /* indentation level for the next line */
+ unsigned nr_children;
+ unsigned has_content;
+} __hwloc_attribute_may_alias * hwloc__nolibxml_export_state_data_t;
+
+static void
+hwloc__nolibxml_export_update_buffer(hwloc__nolibxml_export_state_data_t ndata, int res)
+{
+ if (res >= 0) {
+ ndata->written += res;
+ if (res >= (int) ndata->remaining)
+ res = ndata->remaining>0 ? (int)ndata->remaining-1 : 0;
+ ndata->buffer += res;
+ ndata->remaining -= res;
+ }
+}
+
+static char *
+hwloc__nolibxml_export_escape_string(const char *src)
+{
+ size_t fulllen, sublen;
+ char *escaped, *dst;
+
+ fulllen = strlen(src);
+
+ sublen = strcspn(src, "\n\r\t\"<>&");
+ if (sublen == fulllen)
+ return NULL; /* nothing to escape */
+
+ escaped = malloc(fulllen*6+1); /* escaped chars are replaced by at most 6 char */
+ dst = escaped;
+
+ memcpy(dst, src, sublen);
+ src += sublen;
+ dst += sublen;
+
+ while (*src) {
+ int replen;
+ switch (*src) {
+ case '\n': strcpy(dst, " "); replen=5; break;
+ case '\r': strcpy(dst, " "); replen=5; break;
+ case '\t': strcpy(dst, "	"); replen=4; break;
+ case '\"': strcpy(dst, """); replen=6; break;
+ case '<': strcpy(dst, "<"); replen=4; break;
+ case '>': strcpy(dst, ">"); replen=4; break;
+ case '&': strcpy(dst, "&"); replen=5; break;
+ default: replen=0; break;
+ }
+ dst+=replen; src++;
+
+ sublen = strcspn(src, "\n\r\t\"<>&");
+ memcpy(dst, src, sublen);
+ src += sublen;
+ dst += sublen;
+ }
+
+ *dst = 0;
+ return escaped;
+}
+
+static void
+hwloc__nolibxml_export_new_child(hwloc__xml_export_state_t parentstate,
+ hwloc__xml_export_state_t state,
+ const char *name)
+{
+ hwloc__nolibxml_export_state_data_t npdata = (void *) parentstate->data;
+ hwloc__nolibxml_export_state_data_t ndata = (void *) state->data;
+ int res;
+
+ assert(!npdata->has_content);
+ if (!npdata->nr_children) {
+ res = hwloc_snprintf(npdata->buffer, npdata->remaining, ">\n");
+ hwloc__nolibxml_export_update_buffer(npdata, res);
+ }
+ npdata->nr_children++;
+
+ state->parent = parentstate;
+ state->new_child = parentstate->new_child;
+ state->new_prop = parentstate->new_prop;
+ state->add_content = parentstate->add_content;
+ state->end_object = parentstate->end_object;
+
+ ndata->buffer = npdata->buffer;
+ ndata->written = npdata->written;
+ ndata->remaining = npdata->remaining;
+ ndata->indent = npdata->indent + 2;
+
+ ndata->nr_children = 0;
+ ndata->has_content = 0;
+
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining, "%*s<%s", (int) npdata->indent, "", name);
+ hwloc__nolibxml_export_update_buffer(ndata, res);
+}
+
+static void
+hwloc__nolibxml_export_new_prop(hwloc__xml_export_state_t state, const char *name, const char *value)
+{
+ hwloc__nolibxml_export_state_data_t ndata = (void *) state->data;
+ char *escaped = hwloc__nolibxml_export_escape_string(value);
+ int res = hwloc_snprintf(ndata->buffer, ndata->remaining, " %s=\"%s\"", name, escaped ? (const char *) escaped : value);
+ hwloc__nolibxml_export_update_buffer(ndata, res);
+ free(escaped);
+}
+
+static void
+hwloc__nolibxml_export_end_object(hwloc__xml_export_state_t state, const char *name)
+{
+ hwloc__nolibxml_export_state_data_t ndata = (void *) state->data;
+ hwloc__nolibxml_export_state_data_t npdata = (void *) state->parent->data;
+ int res;
+
+ assert (!(ndata->has_content && ndata->nr_children));
+ if (ndata->has_content) {
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining, "</%s>\n", name);
+ } else if (ndata->nr_children) {
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining, "%*s</%s>\n", (int) npdata->indent, "", name);
+ } else {
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining, "/>\n");
+ }
+ hwloc__nolibxml_export_update_buffer(ndata, res);
+
+ npdata->buffer = ndata->buffer;
+ npdata->written = ndata->written;
+ npdata->remaining = ndata->remaining;
+}
+
+static void
+hwloc__nolibxml_export_add_content(hwloc__xml_export_state_t state, const char *buffer, size_t length)
+{
+ hwloc__nolibxml_export_state_data_t ndata = (void *) state->data;
+ int res;
+
+ assert(!ndata->nr_children);
+ if (!ndata->has_content) {
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining, ">");
+ hwloc__nolibxml_export_update_buffer(ndata, res);
+ }
+ ndata->has_content = 1;
+
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining, buffer, length);
+ hwloc__nolibxml_export_update_buffer(ndata, res);
+}
+
+static size_t
+hwloc___nolibxml_prepare_export(hwloc_topology_t topology, char *xmlbuffer, int buflen)
+{
+ struct hwloc__xml_export_state_s state, childstate;
+ hwloc__nolibxml_export_state_data_t ndata = (void *) &state.data;
+ int res;
+
+ HWLOC_BUILD_ASSERT(sizeof(*ndata) <= sizeof(state.data));
+
+ state.new_child = hwloc__nolibxml_export_new_child;
+ state.new_prop = hwloc__nolibxml_export_new_prop;
+ state.add_content = hwloc__nolibxml_export_add_content;
+ state.end_object = hwloc__nolibxml_export_end_object;
+
+ ndata->indent = 0;
+ ndata->written = 0;
+ ndata->buffer = xmlbuffer;
+ ndata->remaining = buflen;
+
+ ndata->nr_children = 1; /* don't close a non-existing previous tag when opening the topology tag */
+ ndata->has_content = 0;
+
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining,
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+ "<!DOCTYPE topology SYSTEM \"hwloc.dtd\">\n");
+ hwloc__nolibxml_export_update_buffer(ndata, res);
+ hwloc__nolibxml_export_new_child(&state, &childstate, "topology");
+ hwloc__xml_export_object (&childstate, topology, hwloc_get_root_obj(topology));
+ hwloc__nolibxml_export_end_object(&childstate, "topology");
+
+ return ndata->written+1; /* ending \0 */
+}
+
+static int
+hwloc_nolibxml_export_buffer(hwloc_topology_t topology, char **bufferp, int *buflenp)
+{
+ char *buffer;
+ size_t bufferlen, res;
+
+ bufferlen = 16384; /* random guess for large enough default */
+ buffer = malloc(bufferlen);
+ if (!buffer)
+ return -1;
+ res = hwloc___nolibxml_prepare_export(topology, buffer, (int)bufferlen);
+
+ if (res > bufferlen) {
+ char *tmp = realloc(buffer, res);
+ if (!tmp) {
+ free(buffer);
+ return -1;
+ }
+ buffer = tmp;
+ hwloc___nolibxml_prepare_export(topology, buffer, (int)res);
+ }
+
+ *bufferp = buffer;
+ *buflenp = (int)res;
+ return 0;
+}
+
+static int
+hwloc_nolibxml_export_file(hwloc_topology_t topology, const char *filename)
+{
+ FILE *file;
+ char *buffer;
+ int bufferlen;
+ int ret;
+
+ ret = hwloc_nolibxml_export_buffer(topology, &buffer, &bufferlen);
+ if (ret < 0)
+ return -1;
+
+ if (!strcmp(filename, "-")) {
+ file = stdout;
+ } else {
+ file = fopen(filename, "w");
+ if (!file) {
+ free(buffer);
+ return -1;
+ }
+ }
+
+ ret = (int)fwrite(buffer, 1, bufferlen-1 /* don't write the ending \0 */, file);
+ if (ret == bufferlen-1) {
+ ret = 0;
+ } else {
+ errno = ferror(file);
+ ret = -1;
+ }
+
+ free(buffer);
+
+ if (file != stdout)
+ fclose(file);
+ return ret;
+}
+
+static size_t
+hwloc___nolibxml_prepare_export_diff(hwloc_topology_diff_t diff, const char *refname, char *xmlbuffer, int buflen)
+{
+ struct hwloc__xml_export_state_s state, childstate;
+ hwloc__nolibxml_export_state_data_t ndata = (void *) &state.data;
+ int res;
+
+ HWLOC_BUILD_ASSERT(sizeof(*ndata) <= sizeof(state.data));
+
+ state.new_child = hwloc__nolibxml_export_new_child;
+ state.new_prop = hwloc__nolibxml_export_new_prop;
+ state.add_content = hwloc__nolibxml_export_add_content;
+ state.end_object = hwloc__nolibxml_export_end_object;
+
+ ndata->indent = 0;
+ ndata->written = 0;
+ ndata->buffer = xmlbuffer;
+ ndata->remaining = buflen;
+
+ ndata->nr_children = 1; /* don't close a non-existing previous tag when opening the topology tag */
+ ndata->has_content = 0;
+
+ res = hwloc_snprintf(ndata->buffer, ndata->remaining,
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+ "<!DOCTYPE topologydiff SYSTEM \"hwloc.dtd\">\n");
+ hwloc__nolibxml_export_update_buffer(ndata, res);
+ hwloc__nolibxml_export_new_child(&state, &childstate, "topologydiff");
+ if (refname)
+ hwloc__nolibxml_export_new_prop(&childstate, "refname", refname);
+ hwloc__xml_export_diff (&childstate, diff);
+ hwloc__nolibxml_export_end_object(&childstate, "topologydiff");
+
+ return ndata->written+1;
+}
+
+static int
+hwloc_nolibxml_export_diff_buffer(hwloc_topology_diff_t diff, const char *refname, char **bufferp, int *buflenp)
+{
+ char *buffer;
+ size_t bufferlen, res;
+
+ bufferlen = 16384; /* random guess for large enough default */
+ buffer = malloc(bufferlen);
+ if (!buffer)
+ return -1;
+ res = hwloc___nolibxml_prepare_export_diff(diff, refname, buffer, (int)bufferlen);
+
+ if (res > bufferlen) {
+ char *tmp = realloc(buffer, res);
+ if (!tmp) {
+ free(buffer);
+ return -1;
+ }
+ buffer = tmp;
+ hwloc___nolibxml_prepare_export_diff(diff, refname, buffer, (int)res);
+ }
+
+ *bufferp = buffer;
+ *buflenp = (int)res;
+ return 0;
+}
+
+static int
+hwloc_nolibxml_export_diff_file(hwloc_topology_diff_t diff, const char *refname, const char *filename)
+{
+ FILE *file;
+ char *buffer;
+ int bufferlen;
+ int ret;
+
+ ret = hwloc_nolibxml_export_diff_buffer(diff, refname, &buffer, &bufferlen);
+ if (ret < 0)
+ return -1;
+
+ if (!strcmp(filename, "-")) {
+ file = stdout;
+ } else {
+ file = fopen(filename, "w");
+ if (!file) {
+ free(buffer);
+ return -1;
+ }
+ }
+
+ ret = (int)fwrite(buffer, 1, bufferlen-1 /* don't write the ending \0 */, file);
+ if (ret == bufferlen-1) {
+ ret = 0;
+ } else {
+ errno = ferror(file);
+ ret = -1;
+ }
+
+ free(buffer);
+
+ if (file != stdout)
+ fclose(file);
+ return ret;
+}
+
+static void
+hwloc_nolibxml_free_buffer(void *xmlbuffer)
+{
+ free(xmlbuffer);
+}
+
+/*************
+ * Callbacks *
+ *************/
+
+static struct hwloc_xml_callbacks hwloc_xml_nolibxml_callbacks = {
+ hwloc_nolibxml_backend_init,
+ hwloc_nolibxml_export_file,
+ hwloc_nolibxml_export_buffer,
+ hwloc_nolibxml_free_buffer,
+ hwloc_nolibxml_import_diff,
+ hwloc_nolibxml_export_diff_file,
+ hwloc_nolibxml_export_diff_buffer
+};
+
+static struct hwloc_xml_component hwloc_nolibxml_xml_component = {
+ &hwloc_xml_nolibxml_callbacks,
+ NULL
+};
+
+const struct hwloc_component hwloc_xml_nolibxml_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_XML,
+ 0,
+ &hwloc_nolibxml_xml_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2009-2018 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/xml.h>
+#include <private/private.h>
+#include <private/misc.h>
+#include <private/debug.h>
+
+int
+hwloc__xml_verbose(void)
+{
+ static int first = 1;
+ static int verbose = 0;
+ if (first) {
+ const char *env = getenv("HWLOC_XML_VERBOSE");
+ if (env)
+ verbose = atoi(env);
+ first = 0;
+ }
+ return verbose;
+}
+
+static int
+hwloc_nolibxml_import(void)
+{
+ static int first = 1;
+ static int nolibxml = 0;
+ if (first) {
+ const char *env = getenv("HWLOC_LIBXML");
+ if (env) {
+ nolibxml = !atoi(env);
+ } else {
+ env = getenv("HWLOC_LIBXML_IMPORT");
+ if (env) {
+ nolibxml = !atoi(env);
+ } else {
+ env = getenv("HWLOC_NO_LIBXML_IMPORT");
+ if (env)
+ nolibxml = atoi(env);
+ }
+ }
+ first = 0;
+ }
+ return nolibxml;
+}
+
+static int
+hwloc_nolibxml_export(void)
+{
+ static int first = 1;
+ static int nolibxml = 0;
+ if (first) {
+ const char *env = getenv("HWLOC_LIBXML");
+ if (env) {
+ nolibxml = !atoi(env);
+ } else {
+ env = getenv("HWLOC_LIBXML_EXPORT");
+ if (env) {
+ nolibxml = !atoi(env);
+ } else {
+ env = getenv("HWLOC_NO_LIBXML_EXPORT");
+ if (env)
+ nolibxml = atoi(env);
+ }
+ }
+ first = 0;
+ }
+ return nolibxml;
+}
+
+#define BASE64_ENCODED_LENGTH(length) (4*(((length)+2)/3))
+
+/*********************************
+ ********* XML callbacks *********
+ *********************************/
+
+/* set when registering nolibxml and libxml components.
+ * modifications protected by the components mutex.
+ * read by the common XML code in topology-xml.c to jump to the right XML backend.
+ */
+static struct hwloc_xml_callbacks *hwloc_nolibxml_callbacks = NULL, *hwloc_libxml_callbacks = NULL;
+
+void
+hwloc_xml_callbacks_register(struct hwloc_xml_component *comp)
+{
+ if (!hwloc_nolibxml_callbacks)
+ hwloc_nolibxml_callbacks = comp->nolibxml_callbacks;
+ if (!hwloc_libxml_callbacks)
+ hwloc_libxml_callbacks = comp->libxml_callbacks;
+}
+
+void
+hwloc_xml_callbacks_reset(void)
+{
+ hwloc_nolibxml_callbacks = NULL;
+ hwloc_libxml_callbacks = NULL;
+}
+
+/************************************************
+ ********* XML import (common routines) *********
+ ************************************************/
+
+static void
+hwloc__xml_import_object_attr(struct hwloc_topology *topology __hwloc_attribute_unused, struct hwloc_obj *obj,
+ const char *name, const char *value,
+ hwloc__xml_import_state_t state)
+{
+ if (!strcmp(name, "type")) {
+ /* already handled */
+ return;
+ }
+
+ else if (!strcmp(name, "os_level"))
+ obj->os_level = strtoul(value, NULL, 10);
+ else if (!strcmp(name, "os_index"))
+ obj->os_index = strtoul(value, NULL, 10);
+ else if (!strcmp(name, "cpuset")) {
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(obj->cpuset, value);
+ } else if (!strcmp(name, "complete_cpuset")) {
+ obj->complete_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(obj->complete_cpuset,value);
+ } else if (!strcmp(name, "online_cpuset")) {
+ obj->online_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(obj->online_cpuset, value);
+ } else if (!strcmp(name, "allowed_cpuset")) {
+ obj->allowed_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(obj->allowed_cpuset, value);
+ } else if (!strcmp(name, "nodeset")) {
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(obj->nodeset, value);
+ } else if (!strcmp(name, "complete_nodeset")) {
+ obj->complete_nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(obj->complete_nodeset, value);
+ } else if (!strcmp(name, "allowed_nodeset")) {
+ obj->allowed_nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(obj->allowed_nodeset, value);
+ } else if (!strcmp(name, "name"))
+ obj->name = strdup(value);
+
+ else if (!strcmp(name, "cache_size")) {
+ unsigned long long lvalue = strtoull(value, NULL, 10);
+ if (obj->type == HWLOC_OBJ_CACHE)
+ obj->attr->cache.size = lvalue;
+ else if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring cache_size attribute for non-cache object type\n",
+ state->global->msgprefix);
+ }
+
+ else if (!strcmp(name, "cache_linesize")) {
+ unsigned long lvalue = strtoul(value, NULL, 10);
+ if (obj->type == HWLOC_OBJ_CACHE)
+ obj->attr->cache.linesize = lvalue;
+ else if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring cache_linesize attribute for non-cache object type\n",
+ state->global->msgprefix);
+ }
+
+ else if (!strcmp(name, "cache_associativity")) {
+ int lvalue = atoi(value);
+ if (obj->type == HWLOC_OBJ_CACHE)
+ obj->attr->cache.associativity = lvalue;
+ else if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring cache_associativity attribute for non-cache object type\n",
+ state->global->msgprefix);
+ }
+
+ else if (!strcmp(name, "cache_type")) {
+ unsigned long lvalue = strtoul(value, NULL, 10);
+ if (obj->type == HWLOC_OBJ_CACHE) {
+ if (lvalue == HWLOC_OBJ_CACHE_UNIFIED
+ || lvalue == HWLOC_OBJ_CACHE_DATA
+ || lvalue == HWLOC_OBJ_CACHE_INSTRUCTION)
+ obj->attr->cache.type = (hwloc_obj_cache_type_t) lvalue;
+ else
+ fprintf(stderr, "%s: ignoring invalid cache_type attribute %lu\n",
+ state->global->msgprefix, lvalue);
+ } else if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring cache_type attribute for non-cache object type\n",
+ state->global->msgprefix);
+ }
+
+ else if (!strcmp(name, "local_memory"))
+ obj->memory.local_memory = strtoull(value, NULL, 10);
+
+ else if (!strcmp(name, "depth")) {
+ unsigned long lvalue = strtoul(value, NULL, 10);
+ switch (obj->type) {
+ case HWLOC_OBJ_CACHE:
+ obj->attr->cache.depth = lvalue;
+ break;
+ case HWLOC_OBJ_GROUP:
+ obj->attr->group.depth = lvalue;
+ break;
+ case HWLOC_OBJ_BRIDGE:
+ obj->attr->bridge.depth = lvalue;
+ break;
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring depth attribute for object type without depth\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+
+ else if (!strcmp(name, "dont_merge")) {
+ unsigned long lvalue = strtoul(value, NULL, 10);
+ if (obj->type == HWLOC_OBJ_GROUP)
+ obj->attr->group.dont_merge = lvalue;
+ else if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring dont_merge attribute for non-group object type\n",
+ state->global->msgprefix);
+ }
+
+ else if (!strcmp(name, "pci_busid")) {
+ switch (obj->type) {
+ case HWLOC_OBJ_PCI_DEVICE:
+ case HWLOC_OBJ_BRIDGE: {
+ unsigned domain, bus, dev, func;
+ if (sscanf(value, "%04x:%02x:%02x.%01x",
+ &domain, &bus, &dev, &func) != 4) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring invalid pci_busid format string %s\n",
+ state->global->msgprefix, value);
+ } else {
+ obj->attr->pcidev.domain = domain;
+ obj->attr->pcidev.bus = bus;
+ obj->attr->pcidev.dev = dev;
+ obj->attr->pcidev.func = func;
+ }
+ break;
+ }
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring pci_busid attribute for non-PCI object\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+
+ else if (!strcmp(name, "pci_type")) {
+ switch (obj->type) {
+ case HWLOC_OBJ_PCI_DEVICE:
+ case HWLOC_OBJ_BRIDGE: {
+ unsigned classid, vendor, device, subvendor, subdevice, revision;
+ if (sscanf(value, "%04x [%04x:%04x] [%04x:%04x] %02x",
+ &classid, &vendor, &device, &subvendor, &subdevice, &revision) != 6) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring invalid pci_type format string %s\n",
+ state->global->msgprefix, value);
+ } else {
+ obj->attr->pcidev.class_id = classid;
+ obj->attr->pcidev.vendor_id = vendor;
+ obj->attr->pcidev.device_id = device;
+ obj->attr->pcidev.subvendor_id = subvendor;
+ obj->attr->pcidev.subdevice_id = subdevice;
+ obj->attr->pcidev.revision = revision;
+ }
+ break;
+ }
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring pci_type attribute for non-PCI object\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+
+ else if (!strcmp(name, "pci_link_speed")) {
+ switch (obj->type) {
+ case HWLOC_OBJ_PCI_DEVICE:
+ case HWLOC_OBJ_BRIDGE: {
+ obj->attr->pcidev.linkspeed = (float) atof(value);
+ break;
+ }
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring pci_link_speed attribute for non-PCI object\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+
+ else if (!strcmp(name, "bridge_type")) {
+ switch (obj->type) {
+ case HWLOC_OBJ_BRIDGE: {
+ unsigned upstream_type, downstream_type;
+ if (sscanf(value, "%u-%u", &upstream_type, &downstream_type) != 2) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring invalid bridge_type format string %s\n",
+ state->global->msgprefix, value);
+ } else {
+ obj->attr->bridge.upstream_type = (hwloc_obj_bridge_type_t) upstream_type;
+ obj->attr->bridge.downstream_type = (hwloc_obj_bridge_type_t) downstream_type;
+ };
+ break;
+ }
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring bridge_type attribute for non-bridge object\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+
+ else if (!strcmp(name, "bridge_pci")) {
+ switch (obj->type) {
+ case HWLOC_OBJ_BRIDGE: {
+ unsigned domain, secbus, subbus;
+ if (sscanf(value, "%04x:[%02x-%02x]",
+ &domain, &secbus, &subbus) != 3) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring invalid bridge_pci format string %s\n",
+ state->global->msgprefix, value);
+ } else {
+ obj->attr->bridge.downstream.pci.domain = domain;
+ obj->attr->bridge.downstream.pci.secondary_bus = secbus;
+ obj->attr->bridge.downstream.pci.subordinate_bus = subbus;
+ }
+ break;
+ }
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring bridge_pci attribute for non-bridge object\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+
+ else if (!strcmp(name, "osdev_type")) {
+ switch (obj->type) {
+ case HWLOC_OBJ_OS_DEVICE: {
+ unsigned osdev_type;
+ if (sscanf(value, "%u", &osdev_type) != 1) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring invalid osdev_type format string %s\n",
+ state->global->msgprefix, value);
+ } else
+ obj->attr->osdev.type = (hwloc_obj_osdev_type_t) osdev_type;
+ break;
+ }
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring osdev_type attribute for non-osdev object\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+
+ /**************************
+ * forward compat with 2.0
+ */
+ else if (!strcmp(name, "kind") || !strcmp(name, "subkind")) {
+ if (obj->type == HWLOC_OBJ_GROUP) {
+ /* ignored, unused in <2.0 */
+ } else {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring %s attribute for non-group object\n",
+ state->global->msgprefix, name);
+ }
+ }
+ else if (!strcmp(name, "subtype")) {
+ hwloc_obj_add_info(obj, "Type", value);
+ /* will be changed into CoProcType in the caller once we have osdev.type too */
+ }
+ else if (!strcmp(name, "gp_index")) {
+ /* doesn't exist in v1.x */
+ }
+
+
+ /*************************
+ * deprecated (from 1.0)
+ */
+ else if (!strcmp(name, "dmi_board_vendor")) {
+ hwloc_obj_add_info(obj, "DMIBoardVendor", value);
+ }
+ else if (!strcmp(name, "dmi_board_name")) {
+ hwloc_obj_add_info(obj, "DMIBoardName", value);
+ }
+
+ /*************************
+ * deprecated (from 0.9)
+ */
+ else if (!strcmp(name, "memory_kB")) {
+ unsigned long long lvalue = strtoull(value, NULL, 10);
+ switch (obj->type) {
+ case HWLOC_OBJ_CACHE:
+ obj->attr->cache.size = lvalue << 10;
+ break;
+ case HWLOC_OBJ_NUMANODE:
+ case HWLOC_OBJ_MACHINE:
+ case HWLOC_OBJ_SYSTEM:
+ obj->memory.local_memory = lvalue << 10;
+ break;
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring memory_kB attribute for object type without memory\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+ else if (!strcmp(name, "huge_page_size_kB")) {
+ unsigned long lvalue = strtoul(value, NULL, 10);
+ switch (obj->type) {
+ case HWLOC_OBJ_NUMANODE:
+ case HWLOC_OBJ_MACHINE:
+ case HWLOC_OBJ_SYSTEM:
+ if (!obj->memory.page_types) {
+ obj->memory.page_types = malloc(sizeof(*obj->memory.page_types));
+ obj->memory.page_types_len = 1;
+ }
+ obj->memory.page_types[0].size = lvalue << 10;
+ break;
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring huge_page_size_kB attribute for object type without huge pages\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+ else if (!strcmp(name, "huge_page_free")) {
+ unsigned long lvalue = strtoul(value, NULL, 10);
+ switch (obj->type) {
+ case HWLOC_OBJ_NUMANODE:
+ case HWLOC_OBJ_MACHINE:
+ case HWLOC_OBJ_SYSTEM:
+ if (!obj->memory.page_types) {
+ obj->memory.page_types = malloc(sizeof(*obj->memory.page_types));
+ obj->memory.page_types_len = 1;
+ }
+ obj->memory.page_types[0].count = lvalue;
+ break;
+ default:
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring huge_page_free attribute for object type without huge pages\n",
+ state->global->msgprefix);
+ break;
+ }
+ }
+ /*
+ * end of deprecated (from 0.9)
+ *******************************/
+
+
+
+ else if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring unknown object attribute %s\n",
+ state->global->msgprefix, name);
+}
+
+
+static int
+hwloc__xml_import_info(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj,
+ hwloc__xml_import_state_t state)
+{
+ char *infoname = NULL;
+ char *infovalue = NULL;
+
+ while (1) {
+ char *attrname, *attrvalue;
+ if (state->global->next_attr(state, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "name"))
+ infoname = attrvalue;
+ else if (!strcmp(attrname, "value"))
+ infovalue = attrvalue;
+ else
+ return -1;
+ }
+
+ if (infoname)
+ /* empty strings are ignored by libxml */
+ hwloc_obj_add_info(obj, infoname, infovalue ? infovalue : "");
+
+ return state->global->close_tag(state);
+}
+
+static int
+hwloc__xml_import_pagetype(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj,
+ hwloc__xml_import_state_t state)
+{
+ uint64_t size = 0, count = 0;
+
+ while (1) {
+ char *attrname, *attrvalue;
+ if (state->global->next_attr(state, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "size"))
+ size = strtoull(attrvalue, NULL, 10);
+ else if (!strcmp(attrname, "count"))
+ count = strtoull(attrvalue, NULL, 10);
+ else
+ return -1;
+ }
+
+ if (size) {
+ int idx = obj->memory.page_types_len;
+ struct hwloc_obj_memory_page_type_s *tmp;
+ tmp = realloc(obj->memory.page_types, (idx+1)*sizeof(*obj->memory.page_types));
+ if (tmp) { /* if failed to allocate, ignore this page_type entry */
+ obj->memory.page_types = tmp;
+ obj->memory.page_types_len = idx+1;
+ obj->memory.page_types[idx].size = size;
+ obj->memory.page_types[idx].count = count;
+ }
+ }
+
+ return state->global->close_tag(state);
+}
+
+static int
+hwloc__xml_import_distances(struct hwloc_xml_backend_data_s *data,
+ hwloc_obj_t obj,
+ hwloc__xml_import_state_t state)
+{
+ unsigned long reldepth = 0, nbobjs = 0;
+ float latbase = 0;
+ char *tag;
+ int ret;
+
+ while (1) {
+ char *attrname, *attrvalue;
+ if (state->global->next_attr(state, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "nbobjs"))
+ nbobjs = strtoul(attrvalue, NULL, 10);
+ else if (!strcmp(attrname, "relative_depth"))
+ reldepth = strtoul(attrvalue, NULL, 10);
+ else if (!strcmp(attrname, "latency_base"))
+ latbase = (float) atof(attrvalue);
+ else
+ return -1;
+ }
+
+ if (nbobjs && reldepth && latbase) {
+ unsigned i;
+ float *matrix, latmax = 0;
+ struct hwloc_xml_imported_distances_s *distances;
+
+ matrix = malloc(nbobjs*nbobjs*sizeof(float));
+ distances = malloc(sizeof(*distances));
+ if (!matrix || !distances) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: failed to allocate distance matrix for %lu objects\n",
+ state->global->msgprefix, nbobjs);
+ free(distances);
+ free(matrix);
+ return -1;
+ }
+
+ distances->root = obj;
+ distances->distances.relative_depth = reldepth;
+ distances->distances.nbobjs = nbobjs;
+ distances->distances.latency = matrix;
+ distances->distances.latency_base = latbase;
+
+ for(i=0; i<nbobjs*nbobjs; i++) {
+ struct hwloc__xml_import_state_s childstate;
+ char *attrname, *attrvalue;
+ float val;
+
+ ret = state->global->find_child(state, &childstate, &tag);
+ if (ret <= 0 || strcmp(tag, "latency")) {
+ /* a latency child is needed */
+ free(distances->distances.latency);
+ free(distances);
+ return -1;
+ }
+
+ ret = state->global->next_attr(&childstate, &attrname, &attrvalue);
+ if (ret < 0 || strcmp(attrname, "value")) {
+ free(distances->distances.latency);
+ free(distances);
+ return -1;
+ }
+
+ val = (float) atof((char *) attrvalue);
+ matrix[i] = val;
+ if (val > latmax)
+ latmax = val;
+
+ ret = state->global->close_tag(&childstate);
+ if (ret < 0) {
+ free(distances->distances.latency);
+ free(distances);
+ return -1;
+ }
+
+ state->global->close_child(&childstate);
+ }
+
+ distances->distances.latency_max = latmax;
+
+ if (nbobjs < 2) {
+ /* distances with a single object are useless, even if the XML isn't invalid */
+ assert(nbobjs == 1);
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring invalid distance matrix with only 1 object\n",
+ state->global->msgprefix);
+ free(matrix);
+ free(distances);
+ } else {
+ /* queue the distance */
+ distances->prev = data->last_distances;
+ distances->next = NULL;
+ if (data->last_distances)
+ data->last_distances->next = distances;
+ else
+ data->first_distances = distances;
+ data->last_distances = distances;
+ }
+ }
+
+ return state->global->close_tag(state);
+}
+
+static int
+hwloc__xml_import_userdata(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj,
+ hwloc__xml_import_state_t state)
+{
+ size_t length = 0;
+ int encoded = 0;
+ char *name = NULL; /* optional */
+ int ret;
+
+ while (1) {
+ char *attrname, *attrvalue;
+ if (state->global->next_attr(state, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "length"))
+ length = strtoul(attrvalue, NULL, 10);
+ else if (!strcmp(attrname, "encoding"))
+ encoded = !strcmp(attrvalue, "base64");
+ else if (!strcmp(attrname, "name"))
+ name = attrvalue;
+ else
+ return -1;
+ }
+
+ if (!topology->userdata_import_cb) {
+ char *buffer;
+ size_t reallength = encoded ? BASE64_ENCODED_LENGTH(length) : length;
+ ret = state->global->get_content(state, &buffer, reallength);
+ if (ret < 0)
+ return -1;
+
+ } else if (topology->userdata_not_decoded) {
+ char *buffer, *fakename;
+ size_t reallength = encoded ? BASE64_ENCODED_LENGTH(length) : length;
+ ret = state->global->get_content(state, &buffer, reallength);
+ if (ret < 0)
+ return -1;
+ fakename = malloc(6 + 1 + (name ? strlen(name) : 4) + 1);
+ if (!fakename)
+ return -1;
+ sprintf(fakename, encoded ? "base64%c%s" : "normal%c%s", name ? ':' : '-', name ? name : "anon");
+ topology->userdata_import_cb(topology, obj, fakename, buffer, length);
+ free(fakename);
+
+ } else if (encoded && length) {
+ char *encoded_buffer;
+ size_t encoded_length = BASE64_ENCODED_LENGTH(length);
+ ret = state->global->get_content(state, &encoded_buffer, encoded_length);
+ if (ret < 0)
+ return -1;
+ if (ret) {
+ char *decoded_buffer = malloc(length+1);
+ if (!decoded_buffer)
+ return -1;
+ assert(encoded_buffer[encoded_length] == 0);
+ ret = hwloc_decode_from_base64(encoded_buffer, decoded_buffer, length+1);
+ if (ret != (int) length) {
+ free(decoded_buffer);
+ return -1;
+ }
+ topology->userdata_import_cb(topology, obj, name, decoded_buffer, length);
+ free(decoded_buffer);
+ }
+
+ } else { /* always handle length==0 in the non-encoded case */
+ char *buffer = (char *) "";
+ if (length) {
+ ret = state->global->get_content(state, &buffer, length);
+ if (ret < 0)
+ return -1;
+ }
+ topology->userdata_import_cb(topology, obj, name, buffer, length);
+ }
+
+ state->global->close_content(state);
+ return state->global->close_tag(state);
+}
+
+static int
+hwloc__xml_import_object(hwloc_topology_t topology,
+ struct hwloc_xml_backend_data_s *data,
+ hwloc_obj_t obj,
+ hwloc__xml_import_state_t state)
+{
+ hwloc_obj_t parent = obj->parent;
+
+ /* process attributes */
+ while (1) {
+ char *attrname, *attrvalue;
+ if (state->global->next_attr(state, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "type")) {
+ if (hwloc_obj_type_sscanf(attrvalue, &obj->type, NULL, NULL, 0) < 0)
+ goto error_with_object;
+ } else {
+ /* type needed first */
+ if (obj->type == (hwloc_obj_type_t)-1)
+ goto error_with_object;
+ hwloc__xml_import_object_attr(topology, obj, attrname, attrvalue, state);
+ }
+ }
+
+ /* obj->subtype is imported as "CoProcType" instead of "Type" for osdev/coproc.
+ * Cannot properly import earlier because osdev.type is imported after subtype.
+ * Don't do it later so that the actual infos array isn't imported yet,
+ * there's likely only "Type" in obj->infos[].
+ */
+ if (obj->type == HWLOC_OBJ_OS_DEVICE && obj->attr->osdev.type == HWLOC_OBJ_OSDEV_COPROC) {
+ unsigned i;
+ for(i=0; i<obj->infos_count; i++)
+ if (!strcmp(obj->infos[i].name, "Type")) {
+ /* HACK: we're not supposed to modify infos[].name from here */
+ free(obj->infos[i].name);
+ obj->infos[i].name = strdup("CoProcType");
+ }
+ }
+
+ if (parent) {
+ /* root->parent is NULL, and root is already inserted */
+
+ /* warn if inserting out-of-order */
+ if (parent->cpuset) { /* don't compare children if multinode parent */
+ hwloc_obj_t *current;
+ for (current = &parent->first_child; *current; current = &(*current)->next_sibling) {
+ hwloc_bitmap_t curcpuset = (*current)->cpuset;
+ if (obj->cpuset && (!curcpuset || hwloc__object_cpusets_compare_first(obj, *current) < 0)) {
+ static int reported = 0;
+ if (!reported && !hwloc_hide_errors()) {
+ char *progname = hwloc_progname(topology);
+ const char *origversion = hwloc_obj_get_info_by_name(topology->levels[0][0], "hwlocVersion");
+ const char *origprogname = hwloc_obj_get_info_by_name(topology->levels[0][0], "ProcessName");
+ char *c1, *cc1, t1[64];
+ char *c2 = NULL, *cc2 = NULL, t2[64];
+ hwloc_bitmap_asprintf(&c1, obj->cpuset);
+ hwloc_bitmap_asprintf(&cc1, obj->complete_cpuset);
+ hwloc_obj_type_snprintf(t1, sizeof(t1), obj, 0);
+ if (curcpuset)
+ hwloc_bitmap_asprintf(&c2, curcpuset);
+ if ((*current)->complete_cpuset)
+ hwloc_bitmap_asprintf(&cc2, (*current)->complete_cpuset);
+ hwloc_obj_type_snprintf(t2, sizeof(t2), *current, 0);
+ fprintf(stderr, "****************************************************************************\n");
+ fprintf(stderr, "* hwloc has encountered an out-of-order XML topology load.\n");
+ fprintf(stderr, "* Object %s cpuset %s complete %s\n",
+ t1, c1, cc1);
+ fprintf(stderr, "* was inserted after object %s with %s and %s.\n",
+ t2, c2 ? c2 : "none", cc2 ? cc2 : "none");
+ fprintf(stderr, "* The error occured in hwloc %s inside process `%s', while\n",
+ HWLOC_VERSION,
+ progname ? progname : "<unknown>");
+ if (origversion || origprogname)
+ fprintf(stderr, "* the input XML was generated by hwloc %s inside process `%s'.\n",
+ origversion ? origversion : "(unknown version)",
+ origprogname ? origprogname : "<unknown>");
+ else
+ fprintf(stderr, "* the input XML was generated by an unspecified ancient hwloc release.\n");
+ fprintf(stderr, "* Please check that your input topology XML file is valid.\n");
+ fprintf(stderr, "****************************************************************************\n");
+ free(c1);
+ free(cc1);
+ if (c2)
+ free(c2);
+ if (cc2)
+ free(cc2);
+ free(progname);
+ reported = 1;
+ }
+ }
+ }
+ }
+
+ hwloc_insert_object_by_parent(topology, obj->parent /* filled by the caller */, obj);
+ /* insert_object_by_parent() doesn't merge during insert, so obj is still valid */
+ }
+
+ /* process subnodes */
+ while (1) {
+ struct hwloc__xml_import_state_s childstate;
+ char *tag;
+ int ret;
+
+ ret = state->global->find_child(state, &childstate, &tag);
+ if (ret < 0)
+ goto error;
+ if (!ret)
+ break;
+
+ if (!strcmp(tag, "object")) {
+ hwloc_obj_t childobj = hwloc_alloc_setup_object(HWLOC_OBJ_TYPE_MAX, -1);
+ childobj->parent = obj; /* store the parent pointer for use in insert() below */
+ ret = hwloc__xml_import_object(topology, data, childobj, &childstate);
+ } else if (!strcmp(tag, "page_type")) {
+ ret = hwloc__xml_import_pagetype(topology, obj, &childstate);
+ } else if (!strcmp(tag, "info")) {
+ ret = hwloc__xml_import_info(topology, obj, &childstate);
+ } else if (!strcmp(tag, "distances")) {
+ ret = hwloc__xml_import_distances(data, obj, &childstate);
+ } else if (!strcmp(tag, "userdata")) {
+ ret = hwloc__xml_import_userdata(topology, obj, &childstate);
+ } else {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: invalid special object child %s\n",
+ state->global->msgprefix, tag);
+ ret = -1;
+ }
+
+ if (ret < 0)
+ goto error;
+
+ state->global->close_child(&childstate);
+ }
+
+ return state->global->close_tag(state);
+
+ error_with_object:
+ if (parent)
+ /* root->parent is NULL, and root is already inserted. the caller will cleanup that root. */
+ hwloc_free_unlinked_object(obj);
+ error:
+ return -1;
+}
+
+static int
+hwloc__xml_import_diff_one(hwloc__xml_import_state_t state,
+ hwloc_topology_diff_t *firstdiffp,
+ hwloc_topology_diff_t *lastdiffp)
+{
+ char *type_s = NULL;
+ char *obj_depth_s = NULL;
+ char *obj_index_s = NULL;
+ char *obj_attr_type_s = NULL;
+/* char *obj_attr_index_s = NULL; unused for now */
+ char *obj_attr_name_s = NULL;
+ char *obj_attr_oldvalue_s = NULL;
+ char *obj_attr_newvalue_s = NULL;
+
+ while (1) {
+ char *attrname, *attrvalue;
+ if (state->global->next_attr(state, &attrname, &attrvalue) < 0)
+ break;
+ if (!strcmp(attrname, "type"))
+ type_s = attrvalue;
+ else if (!strcmp(attrname, "obj_depth"))
+ obj_depth_s = attrvalue;
+ else if (!strcmp(attrname, "obj_index"))
+ obj_index_s = attrvalue;
+ else if (!strcmp(attrname, "obj_attr_type"))
+ obj_attr_type_s = attrvalue;
+ else if (!strcmp(attrname, "obj_attr_index"))
+ { /* obj_attr_index_s = attrvalue; unused for now */ }
+ else if (!strcmp(attrname, "obj_attr_name"))
+ obj_attr_name_s = attrvalue;
+ else if (!strcmp(attrname, "obj_attr_oldvalue"))
+ obj_attr_oldvalue_s = attrvalue;
+ else if (!strcmp(attrname, "obj_attr_newvalue"))
+ obj_attr_newvalue_s = attrvalue;
+ else {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring unknown diff attribute %s\n",
+ state->global->msgprefix, attrname);
+ return -1;
+ }
+ }
+
+ if (type_s) {
+ switch (atoi(type_s)) {
+ default:
+ break;
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR: {
+ /* object attribute diff */
+ hwloc_topology_diff_obj_attr_type_t obj_attr_type;
+ hwloc_topology_diff_t diff;
+
+ /* obj_attr mandatory generic attributes */
+ if (!obj_depth_s || !obj_index_s || !obj_attr_type_s) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: missing mandatory obj attr generic attributes\n",
+ state->global->msgprefix);
+ break;
+ }
+
+ /* obj_attr mandatory attributes common to all subtypes */
+ if (!obj_attr_oldvalue_s || !obj_attr_newvalue_s) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: missing mandatory obj attr value attributes\n",
+ state->global->msgprefix);
+ break;
+ }
+
+ /* mandatory attributes for obj_attr_info subtype */
+ obj_attr_type = atoi(obj_attr_type_s);
+ if (obj_attr_type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO && !obj_attr_name_s) {
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: missing mandatory obj attr info name attribute\n",
+ state->global->msgprefix);
+ break;
+ }
+
+ /* now we know we have everything we need */
+ diff = malloc(sizeof(*diff));
+ if (!diff)
+ return -1;
+ diff->obj_attr.type = HWLOC_TOPOLOGY_DIFF_OBJ_ATTR;
+ diff->obj_attr.obj_depth = atoi(obj_depth_s);
+ diff->obj_attr.obj_index = atoi(obj_index_s);
+ memset(&diff->obj_attr.diff, 0, sizeof(diff->obj_attr.diff));
+ diff->obj_attr.diff.generic.type = obj_attr_type;
+
+ switch (atoi(obj_attr_type_s)) {
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE:
+ diff->obj_attr.diff.uint64.oldvalue = strtoull(obj_attr_oldvalue_s, NULL, 0);
+ diff->obj_attr.diff.uint64.newvalue = strtoull(obj_attr_newvalue_s, NULL, 0);
+ break;
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO:
+ diff->obj_attr.diff.string.name = strdup(obj_attr_name_s);
+ /* FALLTHRU */
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME:
+ diff->obj_attr.diff.string.oldvalue = strdup(obj_attr_oldvalue_s);
+ diff->obj_attr.diff.string.newvalue = strdup(obj_attr_newvalue_s);
+ break;
+ }
+
+ if (*firstdiffp)
+ (*lastdiffp)->generic.next = diff;
+ else
+ *firstdiffp = diff;
+ *lastdiffp = diff;
+ diff->generic.next = NULL;
+ }
+ }
+ }
+
+ return state->global->close_tag(state);
+}
+
+int
+hwloc__xml_import_diff(hwloc__xml_import_state_t state,
+ hwloc_topology_diff_t *firstdiffp)
+{
+ hwloc_topology_diff_t firstdiff = NULL, lastdiff = NULL;
+ *firstdiffp = NULL;
+
+ while (1) {
+ struct hwloc__xml_import_state_s childstate;
+ char *tag;
+ int ret;
+
+ ret = state->global->find_child(state, &childstate, &tag);
+ if (ret < 0)
+ return -1;
+ if (!ret)
+ break;
+
+ if (!strcmp(tag, "diff")) {
+ ret = hwloc__xml_import_diff_one(&childstate, &firstdiff, &lastdiff);
+ } else
+ ret = -1;
+
+ if (ret < 0)
+ return ret;
+
+ state->global->close_child(&childstate);
+ }
+
+ *firstdiffp = firstdiff;
+ return 0;
+}
+
+/***********************************
+ ********* main XML import *********
+ ***********************************/
+
+static void
+hwloc_xml__free_distances(struct hwloc_xml_backend_data_s *data)
+{
+ struct hwloc_xml_imported_distances_s *xmldist;
+ while ((xmldist = data->first_distances) != NULL) {
+ data->first_distances = xmldist->next;
+ free(xmldist->distances.latency);
+ free(xmldist);
+ }
+}
+
+static int
+hwloc_xml__handle_distances(struct hwloc_topology *topology,
+ struct hwloc_xml_backend_data_s *data,
+ const char *msgprefix)
+{
+ struct hwloc_xml_imported_distances_s *xmldist;
+
+ /* connect things now because we need levels to check/build, they'll be reconnected properly later anyway */
+ hwloc_connect_children(topology->levels[0][0]);
+ if (hwloc_connect_levels(topology) < 0) {
+ hwloc_xml__free_distances(data);
+ return -1;
+ }
+
+ while ((xmldist = data->first_distances) != NULL) {
+ hwloc_obj_t root = xmldist->root;
+ unsigned depth = root->depth + xmldist->distances.relative_depth;
+ unsigned nbobjs = xmldist->distances.nbobjs, j;
+ unsigned *indexes = malloc(nbobjs * sizeof(unsigned));
+ hwloc_obj_t child, *objs = malloc(nbobjs * sizeof(hwloc_obj_t));
+
+ data->first_distances = xmldist->next;
+ j = 0;
+ child = NULL;
+ /* we can't use hwloc_get_next_obj_inside_cpuset_by_depth() because it ignore CPU-less objects */
+ while ((child = hwloc_get_next_obj_by_depth(topology, depth, child)) != NULL) {
+ hwloc_obj_t myparent = child->parent;
+ while (myparent->depth > root->depth)
+ myparent = myparent->parent;
+ if (myparent == root) {
+ if (j == nbobjs)
+ goto badnbobjs;
+ indexes[j] = child->os_index;
+ objs[j] = child;
+ j++;
+ }
+ }
+
+ if (j < nbobjs)
+ goto badnbobjs;
+
+ /* distances valid, add it to the internal OS distances list for grouping */
+ for(j=0; j<nbobjs*nbobjs; j++)
+ xmldist->distances.latency[j] *= xmldist->distances.latency_base;
+ hwloc_distances_set(topology, objs[0]->type, nbobjs, indexes, objs, xmldist->distances.latency, 0 /* XML cannot force */);
+ free(xmldist);
+ continue;
+
+ badnbobjs:
+ printf("bad nbobjs\n");
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: ignoring invalid distance matrix, there aren't exactly %u objects below root\n",
+ msgprefix, nbobjs);
+ free(indexes);
+ free(objs);
+ free(xmldist->distances.latency);
+ free(xmldist);
+ }
+
+ return 0;
+}
+
+/* this canNOT be the first XML call */
+static int
+hwloc_look_xml(struct hwloc_backend *backend)
+{
+ struct hwloc_topology *topology = backend->topology;
+ struct hwloc_xml_backend_data_s *data = backend->private_data;
+ struct hwloc__xml_import_state_s state, childstate;
+ char *tag;
+ hwloc_localeswitch_declare;
+ int ret;
+
+ state.global = data;
+
+ assert(!topology->levels[0][0]->cpuset);
+
+ hwloc_localeswitch_init();
+
+ data->first_distances = data->last_distances = NULL;
+
+ ret = data->look_init(data, &state);
+ if (ret < 0)
+ goto failed;
+
+ /* find root object tag and import it */
+ ret = state.global->find_child(&state, &childstate, &tag);
+ if (ret < 0 || !ret || strcmp(tag, "object"))
+ goto failed;
+ ret = hwloc__xml_import_object(topology, data, topology->levels[0][0], &childstate);
+ if (ret < 0)
+ goto failed;
+ state.global->close_child(&childstate);
+
+ /* find end of topology tag */
+ state.global->close_tag(&state);
+
+ /* keep the "Backend" information intact */
+ /* we could add "BackendSource=XML" to notify that XML was used between the actual backend and here */
+
+ /* if we added some distances, we must check them, and make them groupable */
+ if (hwloc_xml__handle_distances(topology, data, data->msgprefix) < 0)
+ goto err;
+ data->first_distances = data->last_distances = NULL;
+ topology->support.discovery->pu = 1;
+
+ hwloc_localeswitch_fini();
+ return 1;
+
+ failed:
+ if (data->look_failed)
+ data->look_failed(data);
+ if (hwloc__xml_verbose())
+ fprintf(stderr, "%s: XML component discovery failed.\n",
+ data->msgprefix);
+ err:
+ hwloc_xml__free_distances(data);
+ hwloc_localeswitch_fini();
+ return -1;
+}
+
+/* this can be the first XML call */
+int
+hwloc_topology_diff_load_xml(hwloc_topology_t topology __hwloc_attribute_unused,
+ const char *xmlpath,
+ hwloc_topology_diff_t *firstdiffp, char **refnamep)
+{
+ struct hwloc__xml_import_state_s state;
+ struct hwloc_xml_backend_data_s fakedata; /* only for storing global info during parsing */
+ hwloc_localeswitch_declare;
+ const char *local_basename;
+ int force_nolibxml;
+ int ret;
+
+ state.global = &fakedata;
+
+ local_basename = strrchr(xmlpath, '/');
+ if (local_basename)
+ local_basename++;
+ else
+ local_basename = xmlpath;
+ fakedata.msgprefix = strdup(local_basename);
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ free(fakedata.msgprefix);
+ errno = ENOSYS;
+ return -1;
+ }
+
+ hwloc_localeswitch_init();
+
+ *firstdiffp = NULL;
+
+ force_nolibxml = hwloc_nolibxml_import();
+retry:
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ ret = hwloc_nolibxml_callbacks->import_diff(&state, xmlpath, NULL, 0, firstdiffp, refnamep);
+ else {
+ ret = hwloc_libxml_callbacks->import_diff(&state, xmlpath, NULL, 0, firstdiffp, refnamep);
+ if (ret < 0 && errno == ENOSYS) {
+ hwloc_libxml_callbacks = NULL;
+ goto retry;
+ }
+ }
+
+ hwloc_localeswitch_fini();
+
+ free(fakedata.msgprefix);
+ return ret;
+}
+
+/* this can be the first XML call */
+int
+hwloc_topology_diff_load_xmlbuffer(hwloc_topology_t topology __hwloc_attribute_unused,
+ const char *xmlbuffer, int buflen,
+ hwloc_topology_diff_t *firstdiffp, char **refnamep)
+{
+ struct hwloc__xml_import_state_s state;
+ struct hwloc_xml_backend_data_s fakedata; /* only for storing global info during parsing */
+ hwloc_localeswitch_declare;
+ int force_nolibxml;
+ int ret;
+
+ state.global = &fakedata;
+ fakedata.msgprefix = strdup("xmldiffbuffer");
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ free(fakedata.msgprefix);
+ errno = ENOSYS;
+ return -1;
+ }
+
+ hwloc_localeswitch_init();
+
+ *firstdiffp = NULL;
+
+ force_nolibxml = hwloc_nolibxml_import();
+ retry:
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ ret = hwloc_nolibxml_callbacks->import_diff(&state, NULL, xmlbuffer, buflen, firstdiffp, refnamep);
+ else {
+ ret = hwloc_libxml_callbacks->import_diff(&state, NULL, xmlbuffer, buflen, firstdiffp, refnamep);
+ if (ret < 0 && errno == ENOSYS) {
+ hwloc_libxml_callbacks = NULL;
+ goto retry;
+ }
+ }
+
+ hwloc_localeswitch_fini();
+
+ free(fakedata.msgprefix);
+ return ret;
+}
+
+/************************************************
+ ********* XML export (common routines) *********
+ ************************************************/
+
+#define HWLOC_XML_CHAR_VALID(c) (((c) >= 32 && (c) <= 126) || (c) == '\t' || (c) == '\n' || (c) == '\r')
+
+static int
+hwloc__xml_export_check_buffer(const char *buf, size_t length)
+{
+ unsigned i;
+ for(i=0; i<length; i++)
+ if (!HWLOC_XML_CHAR_VALID(buf[i]))
+ return -1;
+ return 0;
+}
+
+/* strdup and remove ugly chars from random string */
+static char*
+hwloc__xml_export_safestrdup(const char *old)
+{
+ char *new = malloc(strlen(old)+1);
+ char *dst = new;
+ const char *src = old;
+ while (*src) {
+ if (HWLOC_XML_CHAR_VALID(*src))
+ *(dst++) = *src;
+ src++;
+ }
+ *dst = '\0';
+ return new;
+}
+
+void
+hwloc__xml_export_object (hwloc__xml_export_state_t parentstate, hwloc_topology_t topology, hwloc_obj_t obj)
+{
+ struct hwloc__xml_export_state_s state;
+ char *cpuset = NULL;
+ char tmp[255];
+ unsigned i;
+
+ parentstate->new_child(parentstate, &state, "object");
+
+ state.new_prop(&state, "type", hwloc_obj_type_string(obj->type));
+ if (obj->os_level != -1) {
+ sprintf(tmp, "%d", obj->os_level);
+ state.new_prop(&state, "os_level", tmp);
+ }
+ if (obj->os_index != (unsigned) -1) {
+ sprintf(tmp, "%u", obj->os_index);
+ state.new_prop(&state, "os_index", tmp);
+ }
+ if (obj->cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->cpuset);
+ state.new_prop(&state, "cpuset", cpuset);
+ free(cpuset);
+ }
+ if (obj->complete_cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->complete_cpuset);
+ state.new_prop(&state, "complete_cpuset", cpuset);
+ free(cpuset);
+ }
+ if (obj->online_cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->online_cpuset);
+ state.new_prop(&state, "online_cpuset", cpuset);
+ free(cpuset);
+ }
+ if (obj->allowed_cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->allowed_cpuset);
+ state.new_prop(&state, "allowed_cpuset", cpuset);
+ free(cpuset);
+ }
+ if (obj->nodeset && !hwloc_bitmap_isfull(obj->nodeset)) {
+ hwloc_bitmap_asprintf(&cpuset, obj->nodeset);
+ state.new_prop(&state, "nodeset", cpuset);
+ free(cpuset);
+ }
+ if (obj->complete_nodeset && !hwloc_bitmap_isfull(obj->complete_nodeset)) {
+ hwloc_bitmap_asprintf(&cpuset, obj->complete_nodeset);
+ state.new_prop(&state, "complete_nodeset", cpuset);
+ free(cpuset);
+ }
+ if (obj->allowed_nodeset && !hwloc_bitmap_isfull(obj->allowed_nodeset)) {
+ hwloc_bitmap_asprintf(&cpuset, obj->allowed_nodeset);
+ state.new_prop(&state, "allowed_nodeset", cpuset);
+ free(cpuset);
+ }
+
+ if (obj->name) {
+ char *name = hwloc__xml_export_safestrdup(obj->name);
+ state.new_prop(&state, "name", name);
+ free(name);
+ }
+
+ switch (obj->type) {
+ case HWLOC_OBJ_CACHE:
+ sprintf(tmp, "%llu", (unsigned long long) obj->attr->cache.size);
+ state.new_prop(&state, "cache_size", tmp);
+ sprintf(tmp, "%u", obj->attr->cache.depth);
+ state.new_prop(&state, "depth", tmp);
+ sprintf(tmp, "%u", (unsigned) obj->attr->cache.linesize);
+ state.new_prop(&state, "cache_linesize", tmp);
+ sprintf(tmp, "%d", obj->attr->cache.associativity);
+ state.new_prop(&state, "cache_associativity", tmp);
+ sprintf(tmp, "%d", (int) obj->attr->cache.type);
+ state.new_prop(&state, "cache_type", tmp);
+ break;
+ case HWLOC_OBJ_GROUP:
+ sprintf(tmp, "%u", obj->attr->group.depth);
+ state.new_prop(&state, "depth", tmp);
+ if (obj->attr->group.dont_merge)
+ state.new_prop(&state, "dont_merge", "1");
+ break;
+ case HWLOC_OBJ_BRIDGE:
+ sprintf(tmp, "%d-%d", (int) obj->attr->bridge.upstream_type, (int) obj->attr->bridge.downstream_type);
+ state.new_prop(&state, "bridge_type", tmp);
+ sprintf(tmp, "%u", obj->attr->bridge.depth);
+ state.new_prop(&state, "depth", tmp);
+ if (obj->attr->bridge.downstream_type == HWLOC_OBJ_BRIDGE_PCI) {
+ sprintf(tmp, "%04x:[%02x-%02x]",
+ (unsigned) obj->attr->bridge.downstream.pci.domain,
+ (unsigned) obj->attr->bridge.downstream.pci.secondary_bus,
+ (unsigned) obj->attr->bridge.downstream.pci.subordinate_bus);
+ state.new_prop(&state, "bridge_pci", tmp);
+ }
+ if (obj->attr->bridge.upstream_type != HWLOC_OBJ_BRIDGE_PCI)
+ break;
+ /* FALLTHRU */
+ case HWLOC_OBJ_PCI_DEVICE:
+ sprintf(tmp, "%04x:%02x:%02x.%01x",
+ (unsigned) obj->attr->pcidev.domain,
+ (unsigned) obj->attr->pcidev.bus,
+ (unsigned) obj->attr->pcidev.dev,
+ (unsigned) obj->attr->pcidev.func);
+ state.new_prop(&state, "pci_busid", tmp);
+ sprintf(tmp, "%04x [%04x:%04x] [%04x:%04x] %02x",
+ (unsigned) obj->attr->pcidev.class_id,
+ (unsigned) obj->attr->pcidev.vendor_id, (unsigned) obj->attr->pcidev.device_id,
+ (unsigned) obj->attr->pcidev.subvendor_id, (unsigned) obj->attr->pcidev.subdevice_id,
+ (unsigned) obj->attr->pcidev.revision);
+ state.new_prop(&state, "pci_type", tmp);
+ sprintf(tmp, "%f", obj->attr->pcidev.linkspeed);
+ state.new_prop(&state, "pci_link_speed", tmp);
+ break;
+ case HWLOC_OBJ_OS_DEVICE:
+ sprintf(tmp, "%d", (int) obj->attr->osdev.type);
+ state.new_prop(&state, "osdev_type", tmp);
+ break;
+ default:
+ break;
+ }
+
+ if (obj->memory.local_memory) {
+ sprintf(tmp, "%llu", (unsigned long long) obj->memory.local_memory);
+ state.new_prop(&state, "local_memory", tmp);
+ }
+
+ for(i=0; i<obj->memory.page_types_len; i++) {
+ struct hwloc__xml_export_state_s childstate;
+ state.new_child(&state, &childstate, "page_type");
+ sprintf(tmp, "%llu", (unsigned long long) obj->memory.page_types[i].size);
+ childstate.new_prop(&childstate, "size", tmp);
+ sprintf(tmp, "%llu", (unsigned long long) obj->memory.page_types[i].count);
+ childstate.new_prop(&childstate, "count", tmp);
+ childstate.end_object(&childstate, "page_type");
+ }
+
+ for(i=0; i<obj->infos_count; i++) {
+ char *name = hwloc__xml_export_safestrdup(obj->infos[i].name);
+ char *value = hwloc__xml_export_safestrdup(obj->infos[i].value);
+ struct hwloc__xml_export_state_s childstate;
+ state.new_child(&state, &childstate, "info");
+ childstate.new_prop(&childstate, "name", name);
+ childstate.new_prop(&childstate, "value", value);
+ childstate.end_object(&childstate, "info");
+ free(name);
+ free(value);
+ }
+
+ for(i=0; i<obj->distances_count; i++) {
+ unsigned nbobjs = obj->distances[i]->nbobjs;
+ unsigned j;
+ struct hwloc__xml_export_state_s childstate;
+ state.new_child(&state, &childstate, "distances");
+ sprintf(tmp, "%u", nbobjs);
+ childstate.new_prop(&childstate, "nbobjs", tmp);
+ sprintf(tmp, "%u", obj->distances[i]->relative_depth);
+ childstate.new_prop(&childstate, "relative_depth", tmp);
+ sprintf(tmp, "%f", obj->distances[i]->latency_base);
+ childstate.new_prop(&childstate, "latency_base", tmp);
+ for(j=0; j<nbobjs*nbobjs; j++) {
+ struct hwloc__xml_export_state_s greatchildstate;
+ childstate.new_child(&childstate, &greatchildstate, "latency");
+ sprintf(tmp, "%f", obj->distances[i]->latency[j]);
+ greatchildstate.new_prop(&greatchildstate, "value", tmp);
+ greatchildstate.end_object(&greatchildstate, "latency");
+ }
+ childstate.end_object(&childstate, "distances");
+ }
+
+ if (obj->userdata && topology->userdata_export_cb)
+ topology->userdata_export_cb((void*) &state, topology, obj);
+
+ if (obj->arity) {
+ unsigned x;
+ for (x=0; x<obj->arity; x++)
+ hwloc__xml_export_object (&state, topology, obj->children[x]);
+ }
+
+ state.end_object(&state, "object");
+}
+
+void
+hwloc__xml_export_diff(hwloc__xml_export_state_t parentstate, hwloc_topology_diff_t diff)
+{
+ while (diff) {
+ struct hwloc__xml_export_state_s state;
+ char tmp[255];
+
+ parentstate->new_child(parentstate, &state, "diff");
+
+ sprintf(tmp, "%d", (int) diff->generic.type);
+ state.new_prop(&state, "type", tmp);
+
+ switch (diff->generic.type) {
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR:
+ sprintf(tmp, "%d", (int) diff->obj_attr.obj_depth);
+ state.new_prop(&state, "obj_depth", tmp);
+ sprintf(tmp, "%u", diff->obj_attr.obj_index);
+ state.new_prop(&state, "obj_index", tmp);
+
+ sprintf(tmp, "%d", (int) diff->obj_attr.diff.generic.type);
+ state.new_prop(&state, "obj_attr_type", tmp);
+
+ switch (diff->obj_attr.diff.generic.type) {
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE:
+ sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.index);
+ state.new_prop(&state, "obj_attr_index", tmp);
+ sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.oldvalue);
+ state.new_prop(&state, "obj_attr_oldvalue", tmp);
+ sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.newvalue);
+ state.new_prop(&state, "obj_attr_newvalue", tmp);
+ break;
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME:
+ case HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO:
+ if (diff->obj_attr.diff.string.name)
+ state.new_prop(&state, "obj_attr_name", diff->obj_attr.diff.string.name);
+ state.new_prop(&state, "obj_attr_oldvalue", diff->obj_attr.diff.string.oldvalue);
+ state.new_prop(&state, "obj_attr_newvalue", diff->obj_attr.diff.string.newvalue);
+ break;
+ }
+
+ break;
+ default:
+ assert(0);
+ }
+ state.end_object(&state, "diff");
+
+ diff = diff->generic.next;
+ }
+}
+
+/**********************************
+ ********* main XML export ********
+ **********************************/
+
+/* this can be the first XML call */
+int hwloc_topology_export_xml(hwloc_topology_t topology, const char *filename)
+{
+ hwloc_localeswitch_declare;
+ int force_nolibxml;
+ int ret;
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ hwloc_localeswitch_init();
+
+ force_nolibxml = hwloc_nolibxml_export();
+retry:
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ ret = hwloc_nolibxml_callbacks->export_file(topology, filename);
+ else {
+ ret = hwloc_libxml_callbacks->export_file(topology, filename);
+ if (ret < 0 && errno == ENOSYS) {
+ hwloc_libxml_callbacks = NULL;
+ goto retry;
+ }
+ }
+
+ hwloc_localeswitch_fini();
+ return ret;
+}
+
+/* this can be the first XML call */
+int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen)
+{
+ hwloc_localeswitch_declare;
+ int force_nolibxml;
+ int ret;
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ hwloc_localeswitch_init();
+
+ force_nolibxml = hwloc_nolibxml_export();
+retry:
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ ret = hwloc_nolibxml_callbacks->export_buffer(topology, xmlbuffer, buflen);
+ else {
+ ret = hwloc_libxml_callbacks->export_buffer(topology, xmlbuffer, buflen);
+ if (ret < 0 && errno == ENOSYS) {
+ hwloc_libxml_callbacks = NULL;
+ goto retry;
+ }
+ }
+
+ hwloc_localeswitch_fini();
+ return ret;
+}
+
+/* this can be the first XML call */
+int
+hwloc_topology_diff_export_xml(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_topology_diff_t diff, const char *refname,
+ const char *filename)
+{
+ hwloc_localeswitch_declare;
+ hwloc_topology_diff_t tmpdiff;
+ int force_nolibxml;
+ int ret;
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ tmpdiff = diff;
+ while (tmpdiff) {
+ if (tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX) {
+ errno = EINVAL;
+ return -1;
+ }
+ tmpdiff = tmpdiff->generic.next;
+ }
+
+ hwloc_localeswitch_init();
+
+ force_nolibxml = hwloc_nolibxml_export();
+retry:
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ ret = hwloc_nolibxml_callbacks->export_diff_file(diff, refname, filename);
+ else {
+ ret = hwloc_libxml_callbacks->export_diff_file(diff, refname, filename);
+ if (ret < 0 && errno == ENOSYS) {
+ hwloc_libxml_callbacks = NULL;
+ goto retry;
+ }
+ }
+
+ hwloc_localeswitch_fini();
+ return ret;
+}
+
+/* this can be the first XML call */
+int
+hwloc_topology_diff_export_xmlbuffer(hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_topology_diff_t diff, const char *refname,
+ char **xmlbuffer, int *buflen)
+{
+ hwloc_localeswitch_declare;
+ hwloc_topology_diff_t tmpdiff;
+ int force_nolibxml;
+ int ret;
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ errno = ENOSYS;
+ return -1;
+ }
+
+ tmpdiff = diff;
+ while (tmpdiff) {
+ if (tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX) {
+ errno = EINVAL;
+ return -1;
+ }
+ tmpdiff = tmpdiff->generic.next;
+ }
+
+ hwloc_localeswitch_init();
+
+ force_nolibxml = hwloc_nolibxml_export();
+retry:
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ ret = hwloc_nolibxml_callbacks->export_diff_buffer(diff, refname, xmlbuffer, buflen);
+ else {
+ ret = hwloc_libxml_callbacks->export_diff_buffer(diff, refname, xmlbuffer, buflen);
+ if (ret < 0 && errno == ENOSYS) {
+ hwloc_libxml_callbacks = NULL;
+ goto retry;
+ }
+ }
+
+ hwloc_localeswitch_fini();
+ return ret;
+}
+
+void hwloc_free_xmlbuffer(hwloc_topology_t topology __hwloc_attribute_unused, char *xmlbuffer)
+{
+ int force_nolibxml;
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ errno = ENOSYS;
+ return ;
+ }
+
+ force_nolibxml = hwloc_nolibxml_export();
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ hwloc_nolibxml_callbacks->free_buffer(xmlbuffer);
+ else
+ hwloc_libxml_callbacks->free_buffer(xmlbuffer);
+}
+
+void
+hwloc_topology_set_userdata_export_callback(hwloc_topology_t topology,
+ void (*export)(void *reserved, struct hwloc_topology *topology, struct hwloc_obj *obj))
+{
+ topology->userdata_export_cb = export;
+}
+
+static void
+hwloc__export_obj_userdata(hwloc__xml_export_state_t parentstate, int encoded,
+ const char *name, size_t length, const void *buffer, size_t encoded_length)
+{
+ struct hwloc__xml_export_state_s state;
+ char tmp[255];
+ parentstate->new_child(parentstate, &state, "userdata");
+ if (name)
+ state.new_prop(&state, "name", name);
+ sprintf(tmp, "%lu", (unsigned long) length);
+ state.new_prop(&state, "length", tmp);
+ if (encoded)
+ state.new_prop(&state, "encoding", "base64");
+ if (encoded_length)
+ state.add_content(&state, buffer, encoded ? encoded_length : length);
+ state.end_object(&state, "userdata");
+}
+
+int
+hwloc_export_obj_userdata(void *reserved,
+ struct hwloc_topology *topology, struct hwloc_obj *obj __hwloc_attribute_unused,
+ const char *name, const void *buffer, size_t length)
+{
+ hwloc__xml_export_state_t state = reserved;
+
+ if (!buffer) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if ((name && hwloc__xml_export_check_buffer(name, strlen(name)) < 0)
+ || hwloc__xml_export_check_buffer(buffer, length) < 0) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (topology->userdata_not_decoded) {
+ int encoded;
+ size_t encoded_length;
+ const char *realname;
+ if (!strncmp(name, "base64", 6)) {
+ encoded = 1;
+ encoded_length = BASE64_ENCODED_LENGTH(length);
+ } else {
+ assert(!strncmp(name, "normal", 6));
+ encoded = 0;
+ encoded_length = length;
+ }
+ if (name[6] == ':')
+ realname = name+7;
+ else {
+ assert(!strcmp(name+6, "-anon"));
+ realname = NULL;
+ }
+ hwloc__export_obj_userdata(state, encoded, realname, length, buffer, encoded_length);
+
+ } else
+ hwloc__export_obj_userdata(state, 0, name, length, buffer, length);
+
+ return 0;
+}
+
+int
+hwloc_export_obj_userdata_base64(void *reserved,
+ struct hwloc_topology *topology __hwloc_attribute_unused, struct hwloc_obj *obj __hwloc_attribute_unused,
+ const char *name, const void *buffer, size_t length)
+{
+ hwloc__xml_export_state_t state = reserved;
+ size_t encoded_length;
+ char *encoded_buffer;
+ int ret __hwloc_attribute_unused;
+
+ if (!buffer) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ assert(!topology->userdata_not_decoded);
+
+ if (name && hwloc__xml_export_check_buffer(name, strlen(name)) < 0) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ encoded_length = BASE64_ENCODED_LENGTH(length);
+ encoded_buffer = malloc(encoded_length+1);
+ if (!encoded_buffer) {
+ errno = ENOMEM;
+ return -1;
+ }
+
+ ret = hwloc_encode_to_base64(buffer, length, encoded_buffer, encoded_length+1);
+ assert(ret == (int) encoded_length);
+
+ hwloc__export_obj_userdata(state, 1, name, length, encoded_buffer, encoded_length);
+
+ free(encoded_buffer);
+ return 0;
+}
+
+void
+hwloc_topology_set_userdata_import_callback(hwloc_topology_t topology,
+ void (*import)(struct hwloc_topology *topology, struct hwloc_obj *obj, const char *name, const void *buffer, size_t length))
+{
+ topology->userdata_import_cb = import;
+}
+
+/***************************************
+ ************ XML component ************
+ ***************************************/
+
+static void
+hwloc_xml_backend_disable(struct hwloc_backend *backend)
+{
+ struct hwloc_xml_backend_data_s *data = backend->private_data;
+ data->backend_exit(data);
+ free(data->msgprefix);
+ free(data);
+}
+
+static struct hwloc_backend *
+hwloc_xml_component_instantiate(struct hwloc_disc_component *component,
+ const void *_data1,
+ const void *_data2,
+ const void *_data3)
+{
+ struct hwloc_xml_backend_data_s *data;
+ struct hwloc_backend *backend;
+ int force_nolibxml;
+ const char * xmlpath = (const char *) _data1;
+ const char * xmlbuffer = (const char *) _data2;
+ int xmlbuflen = (int)(uintptr_t) _data3;
+ const char *local_basename;
+ int err;
+
+ if (!hwloc_libxml_callbacks && !hwloc_nolibxml_callbacks) {
+ errno = ENOSYS;
+ goto out;
+ }
+
+ if (!xmlpath && !xmlbuffer) {
+ errno = EINVAL;
+ goto out;
+ }
+
+ backend = hwloc_backend_alloc(component);
+ if (!backend)
+ goto out;
+
+ data = malloc(sizeof(*data));
+ if (!data) {
+ errno = ENOMEM;
+ goto out_with_backend;
+ }
+
+ backend->private_data = data;
+ backend->discover = hwloc_look_xml;
+ backend->disable = hwloc_xml_backend_disable;
+ backend->is_thissystem = 0;
+
+ if (xmlpath) {
+ local_basename = strrchr(xmlpath, '/');
+ if (local_basename)
+ local_basename++;
+ else
+ local_basename = xmlpath;
+ } else {
+ local_basename = "xmlbuffer";
+ }
+ data->msgprefix = strdup(local_basename);
+
+ force_nolibxml = hwloc_nolibxml_import();
+retry:
+ if (!hwloc_libxml_callbacks || (hwloc_nolibxml_callbacks && force_nolibxml))
+ err = hwloc_nolibxml_callbacks->backend_init(data, xmlpath, xmlbuffer, xmlbuflen);
+ else {
+ err = hwloc_libxml_callbacks->backend_init(data, xmlpath, xmlbuffer, xmlbuflen);
+ if (err < 0 && errno == ENOSYS) {
+ hwloc_libxml_callbacks = NULL;
+ goto retry;
+ }
+ }
+ if (err < 0)
+ goto out_with_data;
+
+ return backend;
+
+ out_with_data:
+ free(data->msgprefix);
+ free(data);
+ out_with_backend:
+ free(backend);
+ out:
+ return NULL;
+}
+
+static struct hwloc_disc_component hwloc_xml_disc_component = {
+ HWLOC_DISC_COMPONENT_TYPE_GLOBAL,
+ "xml",
+ ~0,
+ hwloc_xml_component_instantiate,
+ 30,
+ NULL
+};
+
+const struct hwloc_component hwloc_xml_component = {
+ HWLOC_COMPONENT_ABI,
+ NULL, NULL,
+ HWLOC_COMPONENT_TYPE_DISC,
+ 0,
+ &hwloc_xml_disc_component
+};
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#define _ATFILE_SOURCE
+#include <assert.h>
+#include <sys/types.h>
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <string.h>
+#include <errno.h>
+#include <stdio.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <limits.h>
+#include <float.h>
+
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/debug.h>
+#include <private/misc.h>
+
+#ifdef HAVE_MACH_MACH_INIT_H
+#include <mach/mach_init.h>
+#endif
+#ifdef HAVE_MACH_MACH_HOST_H
+#include <mach/mach_host.h>
+#endif
+
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
+#ifdef HAVE_SYS_SYSCTL_H
+#include <sys/sysctl.h>
+#endif
+
+#ifdef HWLOC_WIN_SYS
+#include <windows.h>
+#endif
+
+unsigned hwloc_get_api_version(void)
+{
+ return HWLOC_API_VERSION;
+}
+
+int hwloc_hide_errors(void)
+{
+ static int hide = 0;
+ static int checked = 0;
+ if (!checked) {
+ const char *envvar = getenv("HWLOC_HIDE_ERRORS");
+ if (envvar)
+ hide = atoi(envvar);
+ checked = 1;
+ }
+ return hide;
+}
+
+void hwloc_report_os_error(const char *msg, int line)
+{
+ static int reported = 0;
+
+ if (!reported && !hwloc_hide_errors()) {
+ fprintf(stderr, "****************************************************************************\n");
+ fprintf(stderr, "* hwloc %s received invalid information from the operating system.\n", HWLOC_VERSION);
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* %s\n", msg);
+ fprintf(stderr, "* Error occurred in topology.c line %d\n", line);
+ fprintf(stderr, "*\n");
+ fprintf(stderr, "* The following FAQ entry in the hwloc documentation may help:\n");
+ fprintf(stderr, "* What should I do when hwloc reports \"operating system\" warnings?\n");
+ fprintf(stderr, "* Otherwise please report this error message to the hwloc user's mailing list,\n");
+#ifdef HWLOC_LINUX_SYS
+ fprintf(stderr, "* along with the files generated by the hwloc-gather-topology script.\n");
+#else
+ fprintf(stderr, "* along with any relevant topology information from your platform.\n");
+#endif
+ fprintf(stderr, "* \n");
+ fprintf(stderr, "* hwloc will now ignore this invalid topology information and continue.\n");
+ fprintf(stderr, "****************************************************************************\n");
+ reported = 1;
+ }
+}
+
+#if defined(HAVE_SYSCTLBYNAME)
+int hwloc_get_sysctlbyname(const char *name, int64_t *ret)
+{
+ union {
+ int32_t i32;
+ int64_t i64;
+ } n;
+ size_t size = sizeof(n);
+ if (sysctlbyname(name, &n, &size, NULL, 0))
+ return -1;
+ switch (size) {
+ case sizeof(n.i32):
+ *ret = n.i32;
+ break;
+ case sizeof(n.i64):
+ *ret = n.i64;
+ break;
+ default:
+ return -1;
+ }
+ return 0;
+}
+#endif
+
+#if defined(HAVE_SYSCTL)
+int hwloc_get_sysctl(int name[], unsigned namelen, int *ret)
+{
+ int n;
+ size_t size = sizeof(n);
+ if (sysctl(name, namelen, &n, &size, NULL, 0))
+ return -1;
+ if (size != sizeof(n))
+ return -1;
+ *ret = n;
+ return 0;
+}
+#endif
+
+/* Return the OS-provided number of processors. Unlike other methods such as
+ reading sysfs on Linux, this method is not virtualizable; thus it's only
+ used as a fall-back method, allowing `hwloc_set_fsroot ()' to
+ have the desired effect. */
+#ifndef HWLOC_WIN_SYS /* The windows implementation is in topology-windows.c */
+unsigned
+hwloc_fallback_nbprocessors(struct hwloc_topology *topology) {
+ int n;
+#if HAVE_DECL__SC_NPROCESSORS_ONLN
+ n = sysconf(_SC_NPROCESSORS_ONLN);
+#elif HAVE_DECL__SC_NPROC_ONLN
+ n = sysconf(_SC_NPROC_ONLN);
+#elif HAVE_DECL__SC_NPROCESSORS_CONF
+ n = sysconf(_SC_NPROCESSORS_CONF);
+#elif HAVE_DECL__SC_NPROC_CONF
+ n = sysconf(_SC_NPROC_CONF);
+#elif defined(HAVE_HOST_INFO) && HAVE_HOST_INFO
+ struct host_basic_info info;
+ mach_msg_type_number_t count = HOST_BASIC_INFO_COUNT;
+ host_info(mach_host_self(), HOST_BASIC_INFO, (integer_t*) &info, &count);
+ n = info.avail_cpus;
+#elif defined(HAVE_SYSCTLBYNAME)
+ int64_t nn;
+ if (hwloc_get_sysctlbyname("hw.ncpu", &nn))
+ nn = -1;
+ n = nn;
+#elif defined(HAVE_SYSCTL) && HAVE_DECL_CTL_HW && HAVE_DECL_HW_NCPU
+ static int name[2] = {CTL_HW, HW_NCPU};
+ if (hwloc_get_sysctl(name, sizeof(name)/sizeof(*name), &n))
+ n = -1;
+#else
+#ifdef __GNUC__
+#warning No known way to discover number of available processors on this system
+#warning hwloc_fallback_nbprocessors will default to 1
+#endif
+ n = -1;
+#endif
+ if (n >= 1)
+ topology->support.discovery->pu = 1;
+ else
+ n = 1;
+ return n;
+}
+#endif /* !HWLOC_WIN_SYS */
+
+/*
+ * Use the given number of processors and the optional online cpuset if given
+ * to set a PU level.
+ */
+void
+hwloc_setup_pu_level(struct hwloc_topology *topology,
+ unsigned nb_pus)
+{
+ struct hwloc_obj *obj;
+ unsigned oscpu,cpu;
+
+ hwloc_debug("%s", "\n\n * CPU cpusets *\n\n");
+ for (cpu=0,oscpu=0; cpu<nb_pus; oscpu++)
+ {
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_PU, oscpu);
+ obj->cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_only(obj->cpuset, oscpu);
+
+ hwloc_debug_2args_bitmap("cpu %u (os %u) has cpuset %s\n",
+ cpu, oscpu, obj->cpuset);
+ hwloc_insert_object_by_cpuset(topology, obj);
+
+ cpu++;
+ }
+}
+
+/* Traverse children of a parent */
+#define for_each_child(child, parent) for(child = parent->first_child; child; child = child->next_sibling)
+
+/* Traverse children of a parent in a safe way: reread the next pointer as
+ * appropriate to prevent crash on child deletion: */
+#define for_each_child_safe(child, parent, pchild) \
+ for (pchild = &(parent)->first_child, child = *pchild; \
+ child; \
+ /* Check whether the current child was not dropped. */ \
+ (*pchild == child ? pchild = &(child->next_sibling) : NULL), \
+ /* Get pointer to next child. */ \
+ child = *pchild)
+
+#ifdef HWLOC_DEBUG
+/* Just for debugging. */
+static void
+hwloc_debug_print_object(int indent __hwloc_attribute_unused, hwloc_obj_t obj)
+{
+ char type[64], idx[12], attr[1024], *cpuset = NULL;
+ hwloc_debug("%*s", 2*indent, "");
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 1);
+ if (obj->os_index != (unsigned) -1)
+ snprintf(idx, sizeof(idx), "#%u", obj->os_index);
+ else
+ *idx = '\0';
+ hwloc_obj_attr_snprintf(attr, sizeof(attr), obj, " ", 1);
+ hwloc_debug("%s%s%s%s%s", type, idx, *attr ? "(" : "", attr, *attr ? ")" : "");
+ if (obj->name)
+ hwloc_debug(" name \"%s\"", obj->name);
+ if (obj->cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->cpuset);
+ hwloc_debug(" cpuset %s", cpuset);
+ free(cpuset);
+ }
+ if (obj->complete_cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->complete_cpuset);
+ hwloc_debug(" complete %s", cpuset);
+ free(cpuset);
+ }
+ if (obj->online_cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->online_cpuset);
+ hwloc_debug(" online %s", cpuset);
+ free(cpuset);
+ }
+ if (obj->allowed_cpuset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->allowed_cpuset);
+ hwloc_debug(" allowed %s", cpuset);
+ free(cpuset);
+ }
+ if (obj->nodeset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->nodeset);
+ hwloc_debug(" nodeset %s", cpuset);
+ free(cpuset);
+ }
+ if (obj->complete_nodeset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->complete_nodeset);
+ hwloc_debug(" completeN %s", cpuset);
+ free(cpuset);
+ }
+ if (obj->allowed_nodeset) {
+ hwloc_bitmap_asprintf(&cpuset, obj->allowed_nodeset);
+ hwloc_debug(" allowedN %s", cpuset);
+ free(cpuset);
+ }
+ if (obj->arity)
+ hwloc_debug(" arity %u", obj->arity);
+ hwloc_debug("%s", "\n");
+}
+
+static void
+hwloc_debug_print_objects(int indent __hwloc_attribute_unused, hwloc_obj_t obj)
+{
+ hwloc_obj_t child;
+ hwloc_debug_print_object(indent, obj);
+ for_each_child (child, obj)
+ hwloc_debug_print_objects(indent + 1, child);
+}
+#else /* !HWLOC_DEBUG */
+#define hwloc_debug_print_object(indent, obj) do { /* nothing */ } while (0)
+#define hwloc_debug_print_objects(indent, obj) do { /* nothing */ } while (0)
+#endif /* !HWLOC_DEBUG */
+
+void hwloc__free_infos(struct hwloc_obj_info_s *infos, unsigned count)
+{
+ unsigned i;
+ for(i=0; i<count; i++) {
+ free(infos[i].name);
+ free(infos[i].value);
+ }
+ free(infos);
+}
+
+void hwloc__add_info(struct hwloc_obj_info_s **infosp, unsigned *countp, const char *name, const char *value)
+{
+ unsigned count = *countp;
+ struct hwloc_obj_info_s *infos = *infosp;
+#define OBJECT_INFO_ALLOC 8
+ /* nothing allocated initially, (re-)allocate by multiple of 8 */
+ unsigned alloccount = (count + 1 + (OBJECT_INFO_ALLOC-1)) & ~(OBJECT_INFO_ALLOC-1);
+ if (count != alloccount) {
+ struct hwloc_obj_info_s *tmpinfos = realloc(infos, alloccount*sizeof(*infos));
+ if (!tmpinfos)
+ /* failed to allocate, ignore this info */
+ return;
+ infos = tmpinfos;
+ }
+ infos[count].name = strdup(name);
+ infos[count].value = value ? strdup(value) : NULL;
+ *infosp = infos;
+ *countp = count+1;
+}
+
+char ** hwloc__find_info_slot(struct hwloc_obj_info_s **infosp, unsigned *countp, const char *name)
+{
+ unsigned i;
+ for(i=0; i<*countp; i++) {
+ if (!strcmp((*infosp)[i].name, name))
+ return &(*infosp)[i].value;
+ }
+ hwloc__add_info(infosp, countp, name, NULL);
+ return &(*infosp)[*countp-1].value;
+}
+
+void hwloc__move_infos(struct hwloc_obj_info_s **dst_infosp, unsigned *dst_countp,
+ struct hwloc_obj_info_s **src_infosp, unsigned *src_countp)
+{
+ unsigned dst_count = *dst_countp;
+ struct hwloc_obj_info_s *dst_infos = *dst_infosp;
+ unsigned src_count = *src_countp;
+ struct hwloc_obj_info_s *src_infos = *src_infosp;
+ unsigned i;
+#define OBJECT_INFO_ALLOC 8
+ /* nothing allocated initially, (re-)allocate by multiple of 8 */
+ unsigned alloccount = (dst_count + src_count + (OBJECT_INFO_ALLOC-1)) & ~(OBJECT_INFO_ALLOC-1);
+ if (dst_count != alloccount) {
+ struct hwloc_obj_info_s *tmp_infos = realloc(dst_infos, alloccount*sizeof(*dst_infos));
+ if (!tmp_infos)
+ /* Failed to realloc, ignore the appended infos */
+ goto drop;
+ dst_infos = tmp_infos;
+ }
+ for(i=0; i<src_count; i++, dst_count++) {
+ dst_infos[dst_count].name = src_infos[i].name;
+ dst_infos[dst_count].value = src_infos[i].value;
+ }
+ *dst_infosp = dst_infos;
+ *dst_countp = dst_count;
+ free(src_infos);
+ *src_infosp = NULL;
+ *src_countp = 0;
+ return;
+
+ drop:
+ for(i=0; i<src_count; i++, dst_count++) {
+ free(src_infos[i].name);
+ free(src_infos[i].value);
+ }
+ free(src_infos);
+ *src_infosp = NULL;
+ *src_countp = 0;
+ /* dst_infos not modified */
+}
+
+void hwloc_obj_add_info(hwloc_obj_t obj, const char *name, const char *value)
+{
+ hwloc__add_info(&obj->infos, &obj->infos_count, name, value);
+}
+
+void hwloc_obj_add_info_nodup(hwloc_obj_t obj, const char *name, const char *value, int nodup)
+{
+ if (nodup && hwloc_obj_get_info_by_name(obj, name))
+ return;
+ hwloc__add_info(&obj->infos, &obj->infos_count, name, value);
+}
+
+static void
+hwloc__free_object_contents(hwloc_obj_t obj)
+{
+ switch (obj->type) {
+ default:
+ break;
+ }
+ hwloc__free_infos(obj->infos, obj->infos_count);
+ hwloc_clear_object_distances(obj);
+ free(obj->memory.page_types);
+ free(obj->attr);
+ free(obj->children);
+ free(obj->name);
+ hwloc_bitmap_free(obj->cpuset);
+ hwloc_bitmap_free(obj->complete_cpuset);
+ hwloc_bitmap_free(obj->online_cpuset);
+ hwloc_bitmap_free(obj->allowed_cpuset);
+ hwloc_bitmap_free(obj->nodeset);
+ hwloc_bitmap_free(obj->complete_nodeset);
+ hwloc_bitmap_free(obj->allowed_nodeset);
+}
+
+/* Free an object and all its content. */
+void
+hwloc_free_unlinked_object(hwloc_obj_t obj)
+{
+ hwloc__free_object_contents(obj);
+ free(obj);
+}
+
+/* Replace old with contents of new object, and make new freeable by the caller.
+ * Only updates next_sibling/first_child pointers,
+ * so may only be used during early discovery.
+ */
+static void
+hwloc_replace_linked_object(hwloc_obj_t old, hwloc_obj_t new)
+{
+ /* drop old fields */
+ hwloc__free_object_contents(old);
+ /* copy old tree pointers to new */
+ new->next_sibling = old->next_sibling;
+ new->first_child = old->first_child;
+ /* copy new contents to old now that tree pointers are OK */
+ memcpy(old, new, sizeof(*old));
+ /* clear new to that we may free it */
+ memset(new, 0,sizeof(*new));
+}
+
+/* insert the (non-empty) list of sibling starting at firstnew as new children of newparent,
+ * and return the address of the pointer to the next one
+ */
+static hwloc_obj_t *
+insert_siblings_list(hwloc_obj_t *firstp, hwloc_obj_t firstnew, hwloc_obj_t newparent)
+{
+ hwloc_obj_t tmp;
+ assert(firstnew);
+ *firstp = tmp = firstnew;
+ tmp->parent = newparent;
+ while (tmp->next_sibling) {
+ tmp = tmp->next_sibling;
+ }
+ return &tmp->next_sibling;
+}
+
+/* Remove an object from its parent and free it.
+ * Only updates next_sibling/first_child pointers,
+ * so may only be used during early discovery.
+ * Children are inserted where the object was.
+ */
+static void
+unlink_and_free_single_object(hwloc_obj_t *pparent)
+{
+ hwloc_obj_t old = *pparent;
+ hwloc_obj_t *lastp;
+
+ if (old->first_child)
+ /* insert old object children as new siblings below parent instead of old */
+ lastp = insert_siblings_list(pparent, old->first_child, old->parent);
+ else
+ lastp = pparent;
+ /* append old siblings back */
+ *lastp = old->next_sibling;
+
+ hwloc_free_unlinked_object(old);
+}
+
+/* Remove an object and its children from its parent and free them.
+ * Only updates next_sibling/first_child pointers,
+ * so may only be used during early discovery.
+ */
+static void
+unlink_and_free_object_and_children(hwloc_obj_t *pobj)
+{
+ hwloc_obj_t obj = *pobj, child, *pchild;
+
+ for_each_child_safe(child, obj, pchild)
+ unlink_and_free_object_and_children(pchild);
+
+ *pobj = obj->next_sibling;
+ hwloc_free_unlinked_object(obj);
+}
+
+static void
+hwloc__duplicate_object(struct hwloc_obj *newobj,
+ struct hwloc_obj *src)
+{
+ size_t len;
+ unsigned i;
+
+ newobj->type = src->type;
+ newobj->os_index = src->os_index;
+
+ if (src->name)
+ newobj->name = strdup(src->name);
+ newobj->userdata = src->userdata;
+
+ memcpy(&newobj->memory, &src->memory, sizeof(struct hwloc_obj_memory_s));
+ if (src->memory.page_types_len) {
+ len = src->memory.page_types_len * sizeof(struct hwloc_obj_memory_page_type_s);
+ newobj->memory.page_types = malloc(len);
+ memcpy(newobj->memory.page_types, src->memory.page_types, len);
+ }
+
+ memcpy(newobj->attr, src->attr, sizeof(*newobj->attr));
+
+ newobj->cpuset = hwloc_bitmap_dup(src->cpuset);
+ newobj->complete_cpuset = hwloc_bitmap_dup(src->complete_cpuset);
+ newobj->allowed_cpuset = hwloc_bitmap_dup(src->allowed_cpuset);
+ newobj->online_cpuset = hwloc_bitmap_dup(src->online_cpuset);
+ newobj->nodeset = hwloc_bitmap_dup(src->nodeset);
+ newobj->complete_nodeset = hwloc_bitmap_dup(src->complete_nodeset);
+ newobj->allowed_nodeset = hwloc_bitmap_dup(src->allowed_nodeset);
+
+ /* don't duplicate distances, they'll be recreated at the end of the topology build */
+
+ for(i=0; i<src->infos_count; i++)
+ hwloc__add_info(&newobj->infos, &newobj->infos_count, src->infos[i].name, src->infos[i].value);
+}
+
+void
+hwloc__duplicate_objects(struct hwloc_topology *newtopology,
+ struct hwloc_obj *newparent,
+ struct hwloc_obj *src)
+{
+ hwloc_obj_t newobj;
+ hwloc_obj_t child;
+
+ newobj = hwloc_alloc_setup_object(src->type, src->os_index);
+ hwloc__duplicate_object(newobj, src);
+
+ child = NULL;
+ for_each_child(child, src)
+ hwloc__duplicate_objects(newtopology, newobj, child);
+
+ /* no need to check the children order here, the source topology
+ * is supposed to be OK already, and we have debug asserts.
+ */
+ hwloc_insert_object_by_parent(newtopology, newparent, newobj);
+}
+
+int
+hwloc_topology_dup(hwloc_topology_t *newp,
+ hwloc_topology_t old)
+{
+ hwloc_topology_t new;
+ hwloc_obj_t newroot;
+ hwloc_obj_t oldroot = hwloc_get_root_obj(old);
+ unsigned i;
+
+ if (!old->is_loaded) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ hwloc_topology_init(&new);
+
+ new->flags = old->flags;
+ memcpy(new->ignored_types, old->ignored_types, sizeof(old->ignored_types));
+ new->is_thissystem = old->is_thissystem;
+ new->is_loaded = 1;
+ new->pid = old->pid;
+
+ memcpy(&new->binding_hooks, &old->binding_hooks, sizeof(old->binding_hooks));
+
+ memcpy(new->support.discovery, old->support.discovery, sizeof(*old->support.discovery));
+ memcpy(new->support.cpubind, old->support.cpubind, sizeof(*old->support.cpubind));
+ memcpy(new->support.membind, old->support.membind, sizeof(*old->support.membind));
+
+ new->userdata_export_cb = old->userdata_export_cb;
+ new->userdata_import_cb = old->userdata_import_cb;
+ new->userdata_not_decoded = old->userdata_not_decoded;
+
+ newroot = hwloc_get_root_obj(new);
+ hwloc__duplicate_object(newroot, oldroot);
+ for(i=0; i<oldroot->arity; i++)
+ hwloc__duplicate_objects(new, newroot, oldroot->children[i]);
+
+ if (old->first_osdist) {
+ struct hwloc_os_distances_s *olddist = old->first_osdist;
+ while (olddist) {
+ struct hwloc_os_distances_s *newdist = malloc(sizeof(*newdist));
+ newdist->type = olddist->type;
+ newdist->nbobjs = olddist->nbobjs;
+ newdist->indexes = malloc(newdist->nbobjs * sizeof(*newdist->indexes));
+ memcpy(newdist->indexes, olddist->indexes, newdist->nbobjs * sizeof(*newdist->indexes));
+ newdist->objs = NULL; /* will be recomputed when needed */
+ newdist->distances = malloc(newdist->nbobjs * newdist->nbobjs * sizeof(*newdist->distances));
+ memcpy(newdist->distances, olddist->distances, newdist->nbobjs * newdist->nbobjs * sizeof(*newdist->distances));
+
+ newdist->forced = olddist->forced;
+ if (new->first_osdist) {
+ new->last_osdist->next = newdist;
+ newdist->prev = new->last_osdist;
+ } else {
+ new->first_osdist = newdist;
+ newdist->prev = NULL;
+ }
+ new->last_osdist = newdist;
+ newdist->next = NULL;
+
+ olddist = olddist->next;
+ }
+ } else
+ new->first_osdist = old->last_osdist = NULL;
+
+ /* no need to duplicate backends, topology is already loaded */
+ new->backends = NULL;
+
+ hwloc_connect_children(new->levels[0][0]);
+ if (hwloc_connect_levels(new) < 0)
+ goto out;
+
+ hwloc_distances_finalize_os(new);
+ hwloc_distances_finalize_logical(new);
+
+#ifndef HWLOC_DEBUG
+ if (getenv("HWLOC_DEBUG_CHECK"))
+#endif
+ hwloc_topology_check(new);
+
+ *newp = new;
+ return 0;
+
+ out:
+ hwloc_topology_destroy(new);
+ return -1;
+}
+
+/* WARNING: The indexes of this array MUST match the ordering that of
+ the obj_order_type[] array, below. Specifically, the values must
+ be laid out such that:
+
+ obj_order_type[obj_type_order[N]] = N
+
+ for all HWLOC_OBJ_* values of N. Put differently:
+
+ obj_type_order[A] = B
+
+ where the A values are in order of the hwloc_obj_type_t enum, and
+ the B values are the corresponding indexes of obj_order_type.
+
+ We can't use C99 syntax to initialize this in a little safer manner
+ -- bummer. :-(
+
+ *************************************************************
+ *** DO NOT CHANGE THE ORDERING OF THIS ARRAY WITHOUT TRIPLE
+ *** CHECKING ITS CORRECTNESS!
+ *************************************************************
+ */
+static const unsigned obj_type_order[] = {
+ /* first entry is HWLOC_OBJ_SYSTEM */ 0,
+ /* next entry is HWLOC_OBJ_MACHINE */ 1,
+ /* next entry is HWLOC_OBJ_NUMANODE */ 3,
+ /* next entry is HWLOC_OBJ_PACKAGE */ 4,
+ /* next entry is HWLOC_OBJ_CACHE */ 5,
+ /* next entry is HWLOC_OBJ_CORE */ 6,
+ /* next entry is HWLOC_OBJ_PU */ 10,
+ /* next entry is HWLOC_OBJ_GROUP */ 2,
+ /* next entry is HWLOC_OBJ_MISC */ 11,
+ /* next entry is HWLOC_OBJ_BRIDGE */ 7,
+ /* next entry is HWLOC_OBJ_PCI_DEVICE */ 8,
+ /* next entry is HWLOC_OBJ_OS_DEVICE */ 9
+};
+
+#ifndef NDEBUG /* only used in debug check assert if !NDEBUG */
+static const hwloc_obj_type_t obj_order_type[] = {
+ HWLOC_OBJ_SYSTEM,
+ HWLOC_OBJ_MACHINE,
+ HWLOC_OBJ_GROUP,
+ HWLOC_OBJ_NUMANODE,
+ HWLOC_OBJ_PACKAGE,
+ HWLOC_OBJ_CACHE,
+ HWLOC_OBJ_CORE,
+ HWLOC_OBJ_BRIDGE,
+ HWLOC_OBJ_PCI_DEVICE,
+ HWLOC_OBJ_OS_DEVICE,
+ HWLOC_OBJ_PU,
+ HWLOC_OBJ_MISC,
+};
+#endif
+
+/* priority to be used when merging identical parent/children object
+ * (in merge_useless_child), keep the highest priority one.
+ *
+ * Always keep Machine/PU/PCIDev/OSDev
+ * then System/Node
+ * then Core
+ * then Package
+ * then Cache
+ * then always drop Group/Misc/Bridge.
+ *
+ * Some type won't actually ever be involved in such merging.
+ */
+static const int obj_type_priority[] = {
+ /* first entry is HWLOC_OBJ_SYSTEM */ 80,
+ /* next entry is HWLOC_OBJ_MACHINE */ 100,
+ /* next entry is HWLOC_OBJ_NUMANODE */ 80,
+ /* next entry is HWLOC_OBJ_PACKAGE */ 40,
+ /* next entry is HWLOC_OBJ_CACHE */ 20,
+ /* next entry is HWLOC_OBJ_CORE */ 60,
+ /* next entry is HWLOC_OBJ_PU */ 100,
+ /* next entry is HWLOC_OBJ_GROUP */ 0,
+ /* next entry is HWLOC_OBJ_MISC */ 0,
+ /* next entry is HWLOC_OBJ_BRIDGE */ 0,
+ /* next entry is HWLOC_OBJ_PCI_DEVICE */ 100,
+ /* next entry is HWLOC_OBJ_OS_DEVICE */ 100
+};
+
+static unsigned __hwloc_attribute_const
+hwloc_get_type_order(hwloc_obj_type_t type)
+{
+ return obj_type_order[type];
+}
+
+#ifndef NDEBUG /* only used in debug check assert if !NDEBUG */
+static hwloc_obj_type_t hwloc_get_order_type(int order)
+{
+ return obj_order_type[order];
+}
+#endif
+
+static int hwloc_obj_type_is_io (hwloc_obj_type_t type)
+{
+ return type == HWLOC_OBJ_BRIDGE || type == HWLOC_OBJ_PCI_DEVICE || type == HWLOC_OBJ_OS_DEVICE;
+}
+
+int hwloc_compare_types (hwloc_obj_type_t type1, hwloc_obj_type_t type2)
+{
+ unsigned order1 = hwloc_get_type_order(type1);
+ unsigned order2 = hwloc_get_type_order(type2);
+
+ /* bridge and devices are only comparable with each others and with machine and system */
+ if (hwloc_obj_type_is_io(type1)
+ && !hwloc_obj_type_is_io(type2) && type2 != HWLOC_OBJ_SYSTEM && type2 != HWLOC_OBJ_MACHINE)
+ return HWLOC_TYPE_UNORDERED;
+ if (hwloc_obj_type_is_io(type2)
+ && !hwloc_obj_type_is_io(type1) && type1 != HWLOC_OBJ_SYSTEM && type1 != HWLOC_OBJ_MACHINE)
+ return HWLOC_TYPE_UNORDERED;
+
+ return order1 - order2;
+}
+
+enum hwloc_obj_cmp_e {
+ HWLOC_OBJ_EQUAL = HWLOC_BITMAP_EQUAL, /**< \brief Equal */
+ HWLOC_OBJ_INCLUDED = HWLOC_BITMAP_INCLUDED, /**< \brief Strictly included into */
+ HWLOC_OBJ_CONTAINS = HWLOC_BITMAP_CONTAINS, /**< \brief Strictly contains */
+ HWLOC_OBJ_INTERSECTS = HWLOC_BITMAP_INTERSECTS, /**< \brief Intersects, but no inclusion! */
+ HWLOC_OBJ_DIFFERENT = HWLOC_BITMAP_DIFFERENT /**< \brief No intersection */
+};
+
+static enum hwloc_obj_cmp_e
+hwloc_type_cmp(hwloc_obj_t obj1, hwloc_obj_t obj2)
+{
+ hwloc_obj_type_t type1 = obj1->type;
+ hwloc_obj_type_t type2 = obj2->type;
+ int compare;
+
+ compare = hwloc_compare_types(type1, type2);
+ if (compare == HWLOC_TYPE_UNORDERED)
+ return HWLOC_OBJ_DIFFERENT; /* we cannot do better */
+ if (compare > 0)
+ return HWLOC_OBJ_INCLUDED;
+ if (compare < 0)
+ return HWLOC_OBJ_CONTAINS;
+
+ /* Caches have the same types but can have different depths. */
+ if (type1 == HWLOC_OBJ_CACHE) {
+ if (obj1->attr->cache.depth < obj2->attr->cache.depth)
+ return HWLOC_OBJ_INCLUDED;
+ else if (obj1->attr->cache.depth > obj2->attr->cache.depth)
+ return HWLOC_OBJ_CONTAINS;
+ else if (obj1->attr->cache.type > obj2->attr->cache.type)
+ /* consider icache deeper than dcache and dcache deeper than unified */
+ return HWLOC_OBJ_INCLUDED;
+ else if (obj1->attr->cache.type < obj2->attr->cache.type)
+ /* consider icache deeper than dcache and dcache deeper than unified */
+ return HWLOC_OBJ_CONTAINS;
+ }
+
+ /* Group objects have the same types but can have different depths. */
+ if (type1 == HWLOC_OBJ_GROUP) {
+ if (obj1->attr->group.depth == (unsigned) -1
+ || obj2->attr->group.depth == (unsigned) -1)
+ return HWLOC_OBJ_EQUAL;
+ if (obj1->attr->group.depth < obj2->attr->group.depth)
+ return HWLOC_OBJ_INCLUDED;
+ else if (obj1->attr->group.depth > obj2->attr->group.depth)
+ return HWLOC_OBJ_CONTAINS;
+ }
+
+ /* Bridges objects have the same types but can have different depths. */
+ if (type1 == HWLOC_OBJ_BRIDGE) {
+ if (obj1->attr->bridge.depth < obj2->attr->bridge.depth)
+ return HWLOC_OBJ_INCLUDED;
+ else if (obj1->attr->bridge.depth > obj2->attr->bridge.depth)
+ return HWLOC_OBJ_CONTAINS;
+ }
+
+ return HWLOC_OBJ_EQUAL;
+}
+
+/*
+ * How to compare objects based on cpusets.
+ */
+
+static int
+hwloc_obj_cmp_sets(hwloc_obj_t obj1, hwloc_obj_t obj2)
+{
+ hwloc_bitmap_t set1, set2;
+ int res = HWLOC_OBJ_DIFFERENT;
+
+ /* compare cpusets first */
+ if (obj1->complete_cpuset && obj2->complete_cpuset) {
+ set1 = obj1->complete_cpuset;
+ set2 = obj2->complete_cpuset;
+ } else {
+ set1 = obj1->cpuset;
+ set2 = obj2->cpuset;
+ }
+ if (set1 && set2 && !hwloc_bitmap_iszero(set1) && !hwloc_bitmap_iszero(set2)) {
+ res = hwloc_bitmap_compare_inclusion(set1, set2);
+ if (res == HWLOC_OBJ_INTERSECTS)
+ return HWLOC_OBJ_INTERSECTS;
+ }
+
+ /* then compare nodesets, and combine the results */
+ if (obj1->complete_nodeset && obj2->complete_nodeset) {
+ set1 = obj1->complete_nodeset;
+ set2 = obj2->complete_nodeset;
+ } else {
+ set1 = obj1->nodeset;
+ set2 = obj2->nodeset;
+ }
+ if (set1 && set2 && !hwloc_bitmap_iszero(set1) && !hwloc_bitmap_iszero(set2)) {
+ int noderes = hwloc_bitmap_compare_inclusion(set1, set2);
+ /* deal with conflicting cpusets/nodesets inclusions */
+ if (noderes == HWLOC_OBJ_INCLUDED) {
+ if (res == HWLOC_OBJ_CONTAINS)
+ /* contradicting order for cpusets and nodesets */
+ return HWLOC_OBJ_INTERSECTS;
+ res = HWLOC_OBJ_INCLUDED;
+
+ } else if (noderes == HWLOC_OBJ_CONTAINS) {
+ if (res == HWLOC_OBJ_INCLUDED)
+ /* contradicting order for cpusets and nodesets */
+ return HWLOC_OBJ_INTERSECTS;
+ res = HWLOC_OBJ_CONTAINS;
+
+ } else if (noderes == HWLOC_OBJ_INTERSECTS) {
+ return HWLOC_OBJ_INTERSECTS;
+
+ } else {
+ /* nodesets are different, keep the cpuset order */
+ /* FIXME: with upcoming multiple levels of NUMA, we may have to report INCLUDED or CONTAINED here */
+
+ }
+ }
+
+ return res;
+}
+
+/* Compare object cpusets based on complete_cpuset if defined (always correctly ordered),
+ * or fallback to the main cpusets (only correctly ordered during early insert before disallowed/offline bits are cleared).
+ *
+ * This is the sane way to compare object among a horizontal level.
+ */
+int
+hwloc__object_cpusets_compare_first(hwloc_obj_t obj1, hwloc_obj_t obj2)
+{
+ if (obj1->complete_cpuset && obj2->complete_cpuset)
+ return hwloc_bitmap_compare_first(obj1->complete_cpuset, obj2->complete_cpuset);
+ else
+ return hwloc_bitmap_compare_first(obj1->cpuset, obj2->cpuset);
+}
+
+/* format the obj info to print in error messages */
+static void
+hwloc__report_error_format_obj(char *buf, size_t buflen, hwloc_obj_t obj)
+{
+ char typestr[64];
+ char *cpusetstr;
+ char *nodesetstr = NULL;
+ hwloc_obj_type_snprintf(typestr, sizeof(typestr), obj, 0);
+ hwloc_bitmap_asprintf(&cpusetstr, obj->cpuset);
+ if (obj->nodeset) /* may be missing during insert */
+ hwloc_bitmap_asprintf(&nodesetstr, obj->nodeset);
+ if (obj->os_index != (unsigned) -1)
+ snprintf(buf, buflen, "%s (P#%u cpuset %s%s%s)",
+ typestr, obj->os_index, cpusetstr,
+ nodesetstr ? " nodeset " : "",
+ nodesetstr ? nodesetstr : "");
+ else
+ snprintf(buf, buflen, "%s (cpuset %s%s%s)",
+ typestr, cpusetstr,
+ nodesetstr ? " nodeset " : "",
+ nodesetstr ? nodesetstr : "");
+ free(cpusetstr);
+ free(nodesetstr);
+}
+
+/*
+ * How to insert objects into the topology.
+ *
+ * Note: during detection, only the first_child and next_sibling pointers are
+ * kept up to date. Others are computed only once topology detection is
+ * complete.
+ */
+
+#define merge_index(new, old, field, type) \
+ if ((old)->field == (type) -1) \
+ (old)->field = (new)->field;
+#define merge_sizes(new, old, field) \
+ if (!(old)->field) \
+ (old)->field = (new)->field;
+#ifdef HWLOC_DEBUG
+#define check_sizes(new, old, field) \
+ if ((new)->field) \
+ assert((old)->field == (new)->field)
+#else
+#define check_sizes(new, old, field)
+#endif
+
+static void
+merge_insert_equal(hwloc_obj_t new, hwloc_obj_t old)
+{
+ merge_index(new, old, os_index, unsigned);
+
+ if (new->distances_count) {
+ if (old->distances_count) {
+ struct hwloc_distances_s **tmpdists;
+ tmpdists = realloc(old->distances, (old->distances_count+new->distances_count) * sizeof(*old->distances));
+ if (!tmpdists) {
+ /* failed to realloc, ignore new distances */
+ hwloc_clear_object_distances(new);
+ } else {
+ old->distances = tmpdists;
+ old->distances_count += new->distances_count;
+ memcpy(old->distances + new->distances_count, new->distances, new->distances_count * sizeof(*old->distances));
+ free(new->distances);
+ }
+ } else {
+ old->distances_count = new->distances_count;
+ old->distances = new->distances;
+ }
+ new->distances_count = 0;
+ new->distances = NULL;
+ }
+
+ if (new->infos_count) {
+ hwloc__move_infos(&old->infos, &old->infos_count,
+ &new->infos, &new->infos_count);
+ }
+
+ if (new->name && !old->name) {
+ old->name = new->name;
+ new->name = NULL;
+ }
+
+ assert(!new->userdata); /* user could not set userdata here (we're before load() */
+
+ switch(new->type) {
+ case HWLOC_OBJ_NUMANODE:
+ if (new->memory.local_memory && !old->memory.local_memory) {
+ /* no memory in old, use new memory */
+ old->memory.local_memory = new->memory.local_memory;
+ if (old->memory.page_types)
+ free(old->memory.page_types);
+ old->memory.page_types_len = new->memory.page_types_len;
+ old->memory.page_types = new->memory.page_types;
+ new->memory.page_types = NULL;
+ new->memory.page_types_len = 0;
+ }
+ /* old->memory.total_memory will be updated by propagate_total_memory() */
+ break;
+ case HWLOC_OBJ_CACHE:
+ merge_sizes(new, old, attr->cache.size);
+ check_sizes(new, old, attr->cache.size);
+ merge_sizes(new, old, attr->cache.linesize);
+ check_sizes(new, old, attr->cache.linesize);
+ break;
+ default:
+ break;
+ }
+}
+
+/* Try to insert OBJ in CUR, recurse if needed.
+ * Returns the object if it was inserted,
+ * the remaining object it was merged,
+ * NULL if failed to insert.
+ */
+static struct hwloc_obj *
+hwloc___insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t cur, hwloc_obj_t obj,
+ hwloc_report_error_t report_error)
+{
+ hwloc_obj_t child, next_child = NULL;
+ /* These will always point to the pointer to their next last child. */
+ hwloc_obj_t *cur_children = &cur->first_child;
+ hwloc_obj_t *obj_children = &obj->first_child;
+ /* Pointer where OBJ should be put */
+ hwloc_obj_t *putp = NULL; /* OBJ position isn't found yet */
+
+ /* Make sure we haven't gone too deep. */
+ if (!hwloc_bitmap_isincluded(obj->cpuset, cur->cpuset)) {
+ fprintf(stderr,"recursion has gone too deep?!\n");
+ return NULL;
+ }
+
+ /* Iteration with prefetching to be completely safe against CHILD removal.
+ * The list is already sorted by cpuset, and there's no intersection between siblings.
+ */
+ for (child = cur->first_child, child ? next_child = child->next_sibling : NULL;
+ child;
+ child = next_child, child ? next_child = child->next_sibling : NULL) {
+
+ int res = hwloc_obj_cmp_sets(obj, child);
+
+ if (res == HWLOC_OBJ_EQUAL) {
+
+ if (obj->type == HWLOC_OBJ_GROUP && child->type == HWLOC_OBJ_GROUP) {
+ /* Groups are ignored keep_structure or always. Non-ignored Groups isn't possible. */
+ assert(topology->ignored_types[HWLOC_OBJ_GROUP] != HWLOC_IGNORE_TYPE_NEVER);
+ /* which group do we keep? */
+ if (obj->attr->group.dont_merge) {
+ if (child->attr->group.dont_merge)
+ /* nobody wants to be merged */
+ return obj;
+
+ /* replace the old one, the new one doesn't want to be merged */
+ hwloc_replace_linked_object(child, obj);
+ return child;
+
+ } else {
+ /* merge the new one into the old one */
+ return child;
+ }
+ }
+
+ if (obj->type == HWLOC_OBJ_GROUP && !obj->attr->group.dont_merge) {
+ /* Remove the Group now. The normal ignore code path wouldn't tell us whether the Group was removed or not.
+ *
+ * The Group doesn't contain anything to keep, just let the caller free it.
+ */
+ return child;
+
+ } else if (child->type == HWLOC_OBJ_GROUP && !child->attr->group.dont_merge) {
+ /* Replace the Group with the new object contents
+ * and let the caller free the new object
+ */
+ hwloc_replace_linked_object(child, obj);
+ return child;
+
+ } else {
+ /* otherwise compare actual types to decide of the inclusion */
+ res = hwloc_type_cmp(obj, child);
+ if (res == HWLOC_OBJ_EQUAL && obj->type == HWLOC_OBJ_MISC) {
+ /* Misc objects may vary by name */
+ int ret = strcmp(obj->name, child->name);
+ if (ret < 0)
+ res = HWLOC_OBJ_INCLUDED;
+ else if (ret > 0)
+ res = HWLOC_OBJ_CONTAINS;
+ }
+ }
+ }
+
+ switch (res) {
+ case HWLOC_OBJ_EQUAL:
+ merge_index(obj, child, os_level, signed);
+ if (obj->os_level != child->os_level) {
+ static int reported = 0;
+ if (!reported && !hwloc_hide_errors()) {
+ fprintf(stderr, "Cannot merge similar %s objects with different OS levels %d and %d\n",
+ hwloc_obj_type_string(obj->type), child->os_level, obj->os_level);
+ reported = 1;
+ }
+ return NULL;
+ }
+ /* Two objects with same type.
+ * Groups are handled above.
+ */
+ if (obj->type == child->type
+ && (obj->type == HWLOC_OBJ_PU || obj->type == HWLOC_OBJ_NUMANODE)
+ && obj->os_index != child->os_index) {
+ static int reported = 0;
+ if (!reported && !hwloc_hide_errors()) {
+ fprintf(stderr, "Cannot merge similar %s objects with different OS indexes %u and %u\n",
+ hwloc_obj_type_string(obj->type), child->os_index, obj->os_index);
+ reported = 1;
+ }
+ return NULL;
+ }
+ merge_insert_equal(obj, child);
+ /* Already present, no need to insert. */
+ return child;
+
+ case HWLOC_OBJ_INCLUDED:
+ /* OBJ is strictly contained is some child of CUR, go deeper. */
+ return hwloc___insert_object_by_cpuset(topology, child, obj, report_error);
+
+ case HWLOC_OBJ_INTERSECTS:
+ if (report_error) {
+ char childstr[512];
+ char objstr[512];
+ char msg[1100];
+ hwloc__report_error_format_obj(objstr, sizeof(objstr), obj);
+ hwloc__report_error_format_obj(childstr, sizeof(childstr), child);
+ snprintf(msg, sizeof(msg), "%s intersects with %s without inclusion!", objstr, childstr);
+ report_error(msg, __LINE__);
+ }
+ goto putback;
+
+ case HWLOC_OBJ_DIFFERENT:
+ /* OBJ should be a child of CUR before CHILD, mark its position if not found yet. */
+ if (!putp && (!child->cpuset || hwloc__object_cpusets_compare_first(obj, child) < 0))
+ /* Don't insert yet, there could be intersect errors later */
+ putp = cur_children;
+ /* Advance cur_children. */
+ cur_children = &child->next_sibling;
+ break;
+
+ case HWLOC_OBJ_CONTAINS:
+ /* OBJ contains CHILD, remove CHILD from CUR */
+ *cur_children = child->next_sibling;
+ child->next_sibling = NULL;
+ /* Put CHILD in OBJ */
+ *obj_children = child;
+ obj_children = &child->next_sibling;
+ break;
+ }
+ }
+ /* cur/obj_children points to last CUR/OBJ child next_sibling pointer, which must be NULL. */
+ assert(!*obj_children);
+ assert(!*cur_children);
+
+ /* Put OBJ where it belongs, or in last in CUR's children. */
+ if (!putp)
+ putp = cur_children;
+ obj->next_sibling = *putp;
+ *putp = obj;
+
+ return obj;
+
+ putback:
+ /* Put-back OBJ children in CUR and return an error. */
+ if (putp)
+ cur_children = putp; /* No need to try to insert before where OBJ was supposed to go */
+ else
+ cur_children = &cur->first_child; /* Start from the beginning */
+ /* We can insert in order, but there can be holes in the middle. */
+ while ((child = obj->first_child) != NULL) {
+ /* Remove from OBJ */
+ obj->first_child = child->next_sibling;
+ /* Find child position in CUR, and insert. */
+ while (*cur_children && (*cur_children)->cpuset && hwloc__object_cpusets_compare_first(*cur_children, child) < 0)
+ cur_children = &(*cur_children)->next_sibling;
+ child->next_sibling = *cur_children;
+ *cur_children = child;
+ }
+ return NULL;
+}
+
+/* insertion routine that lets you change the error reporting callback */
+struct hwloc_obj *
+hwloc__insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj,
+ hwloc_report_error_t report_error)
+{
+ struct hwloc_obj *result;
+ /* Start at the top. */
+ result = hwloc___insert_object_by_cpuset(topology, topology->levels[0][0], obj, report_error);
+ if (result != obj) {
+ /* either failed to insert, or got merged, free the original object */
+ hwloc_free_unlinked_object(obj);
+ } else {
+ /* Add the cpuset to the top */
+ hwloc_bitmap_or(topology->levels[0][0]->complete_cpuset, topology->levels[0][0]->complete_cpuset, obj->cpuset);
+ if (obj->nodeset)
+ hwloc_bitmap_or(topology->levels[0][0]->complete_nodeset, topology->levels[0][0]->complete_nodeset, obj->nodeset);
+ }
+ return result;
+}
+
+/* the default insertion routine warns in case of error.
+ * it's used by most backends */
+struct hwloc_obj *
+hwloc_insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t obj)
+{
+ return hwloc__insert_object_by_cpuset(topology, obj, hwloc_report_os_error);
+}
+
+void
+hwloc_insert_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_obj_t obj)
+{
+ hwloc_obj_t child, next_child = obj->first_child;
+ hwloc_obj_t *current;
+
+ /* Append to the end of the list.
+ * The caller takes care of inserting children in the right cpuset order.
+ * XML checks the order.
+ * Duplicating doesn't need to check the order since the source topology is supposed to be OK already.
+ * Other callers just insert random objects such as I/O or Misc.
+ */
+ for (current = &parent->first_child; *current; current = &(*current)->next_sibling);
+ *current = obj;
+ obj->next_sibling = NULL;
+ obj->first_child = NULL;
+
+ /* Use the new object to insert children */
+ parent = obj;
+
+ /* Recursively insert children below */
+ while (next_child) {
+ child = next_child;
+ next_child = child->next_sibling;
+ hwloc_insert_object_by_parent(topology, parent, child);
+ }
+
+ if (obj->type == HWLOC_OBJ_MISC) {
+ /* misc objects go in no level (needed here because level building doesn't see Misc objects inside I/O trees) */
+ obj->depth = (unsigned) HWLOC_TYPE_DEPTH_UNKNOWN;
+ }
+}
+
+/* Adds a misc object _after_ detection, and thus has to reconnect all the pointers */
+hwloc_obj_t
+hwloc_topology_insert_misc_object_by_cpuset(struct hwloc_topology *topology, hwloc_const_bitmap_t cpuset, const char *name)
+{
+ hwloc_obj_t obj, child;
+
+ if (!topology->is_loaded) {
+ errno = EINVAL;
+ return NULL;
+ }
+
+ if (hwloc_bitmap_iszero(cpuset))
+ return NULL;
+ if (!hwloc_bitmap_isincluded(cpuset, hwloc_topology_get_topology_cpuset(topology)))
+ return NULL;
+
+ obj = hwloc_alloc_setup_object(HWLOC_OBJ_MISC, -1);
+ if (name)
+ obj->name = strdup(name);
+
+ /* misc objects go in no level */
+ obj->depth = (unsigned) HWLOC_TYPE_DEPTH_UNKNOWN;
+
+ obj->cpuset = hwloc_bitmap_dup(cpuset);
+ /* initialize default cpusets, we'll adjust them later */
+ obj->complete_cpuset = hwloc_bitmap_dup(cpuset);
+ obj->allowed_cpuset = hwloc_bitmap_dup(cpuset);
+ obj->online_cpuset = hwloc_bitmap_dup(cpuset);
+
+ obj = hwloc__insert_object_by_cpuset(topology, obj, NULL /* do not show errors on stdout */);
+ if (!obj)
+ return NULL;
+
+ hwloc_connect_children(topology->levels[0][0]);
+
+ if ((child = obj->first_child) != NULL && child->cpuset) {
+ /* keep the main cpuset untouched, but update other cpusets and nodesets from children */
+ obj->nodeset = hwloc_bitmap_alloc();
+ obj->complete_nodeset = hwloc_bitmap_alloc();
+ obj->allowed_nodeset = hwloc_bitmap_alloc();
+ for_each_child(child, obj) {
+ if (child->complete_cpuset)
+ hwloc_bitmap_or(obj->complete_cpuset, obj->complete_cpuset, child->complete_cpuset);
+ if (child->allowed_cpuset)
+ hwloc_bitmap_or(obj->allowed_cpuset, obj->allowed_cpuset, child->allowed_cpuset);
+ if (child->online_cpuset)
+ hwloc_bitmap_or(obj->online_cpuset, obj->online_cpuset, child->online_cpuset);
+ if (child->nodeset)
+ hwloc_bitmap_or(obj->nodeset, obj->nodeset, child->nodeset);
+ if (child->complete_nodeset)
+ hwloc_bitmap_or(obj->complete_nodeset, obj->complete_nodeset, child->complete_nodeset);
+ if (child->allowed_nodeset)
+ hwloc_bitmap_or(obj->allowed_nodeset, obj->allowed_nodeset, child->allowed_nodeset);
+ }
+ } else {
+ /* copy the parent nodesets */
+ obj->nodeset = hwloc_bitmap_dup(obj->parent->nodeset);
+ obj->complete_nodeset = hwloc_bitmap_dup(obj->parent->complete_nodeset);
+ obj->allowed_nodeset = hwloc_bitmap_dup(obj->parent->allowed_nodeset);
+ }
+
+#ifndef HWLOC_DEBUG
+ if (getenv("HWLOC_DEBUG_CHECK"))
+#endif
+ hwloc_topology_check(topology);
+
+ return obj;
+}
+
+hwloc_obj_t
+hwloc_topology_insert_misc_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, const char *name)
+{
+ hwloc_obj_t obj = hwloc_alloc_setup_object(HWLOC_OBJ_MISC, -1);
+ if (name)
+ obj->name = strdup(name);
+
+ if (!topology->is_loaded) {
+ hwloc_free_unlinked_object(obj);
+ errno = EINVAL;
+ return NULL;
+ }
+
+ hwloc_insert_object_by_parent(topology, parent, obj);
+
+ hwloc_connect_children(topology->levels[0][0]);
+ /* no need to hwloc_connect_levels() since misc object are not in levels */
+
+#ifndef HWLOC_DEBUG
+ if (getenv("HWLOC_DEBUG_CHECK"))
+#endif
+ hwloc_topology_check(topology);
+
+ return obj;
+}
+
+/* Append I/O devices below this object to their list */
+static void
+append_iodevs(hwloc_topology_t topology, hwloc_obj_t obj)
+{
+ hwloc_obj_t child;
+
+ /* make sure we don't have remaining stale pointers from a previous load */
+ obj->next_cousin = NULL;
+ obj->prev_cousin = NULL;
+
+ if (obj->type == HWLOC_OBJ_BRIDGE) {
+ obj->depth = HWLOC_TYPE_DEPTH_BRIDGE;
+ /* Insert in the main bridge list */
+ if (topology->first_bridge) {
+ obj->prev_cousin = topology->last_bridge;
+ obj->prev_cousin->next_cousin = obj;
+ topology->last_bridge = obj;
+ } else {
+ topology->first_bridge = topology->last_bridge = obj;
+ }
+ } else if (obj->type == HWLOC_OBJ_PCI_DEVICE) {
+ obj->depth = HWLOC_TYPE_DEPTH_PCI_DEVICE;
+ /* Insert in the main pcidev list */
+ if (topology->first_pcidev) {
+ obj->prev_cousin = topology->last_pcidev;
+ obj->prev_cousin->next_cousin = obj;
+ topology->last_pcidev = obj;
+ } else {
+ topology->first_pcidev = topology->last_pcidev = obj;
+ }
+ } else if (obj->type == HWLOC_OBJ_OS_DEVICE) {
+ obj->depth = HWLOC_TYPE_DEPTH_OS_DEVICE;
+ /* Insert in the main osdev list */
+ if (topology->first_osdev) {
+ obj->prev_cousin = topology->last_osdev;
+ obj->prev_cousin->next_cousin = obj;
+ topology->last_osdev = obj;
+ } else {
+ topology->first_osdev = topology->last_osdev = obj;
+ }
+ }
+
+ for_each_child(child, obj)
+ append_iodevs(topology, child);
+}
+
+static int hwloc_memory_page_type_compare(const void *_a, const void *_b)
+{
+ const struct hwloc_obj_memory_page_type_s *a = _a;
+ const struct hwloc_obj_memory_page_type_s *b = _b;
+ /* consider 0 as larger so that 0-size page_type go to the end */
+ if (!b->size)
+ return -1;
+ /* don't cast a-b in int since those are ullongs */
+ if (b->size == a->size)
+ return 0;
+ return a->size < b->size ? -1 : 1;
+}
+
+/* Propagate memory counts */
+static void
+propagate_total_memory(hwloc_obj_t obj)
+{
+ hwloc_obj_t child;
+ unsigned i;
+
+ /* reset total before counting local and children memory */
+ obj->memory.total_memory = 0;
+
+ /* Propagate memory up. */
+ for_each_child(child, obj) {
+ propagate_total_memory(child);
+ obj->memory.total_memory += child->memory.total_memory;
+ }
+ obj->memory.total_memory += obj->memory.local_memory;
+
+ /* By the way, sort the page_type array.
+ * Cannot do it on insert since some backends (e.g. XML) add page_types after inserting the object.
+ */
+ qsort(obj->memory.page_types, obj->memory.page_types_len, sizeof(*obj->memory.page_types), hwloc_memory_page_type_compare);
+ /* Ignore 0-size page_types, they are at the end */
+ for(i=obj->memory.page_types_len; i>=1; i--)
+ if (obj->memory.page_types[i-1].size)
+ break;
+ obj->memory.page_types_len = i;
+}
+
+/* Collect the cpuset of all the PU objects. */
+static void
+collect_proc_cpuset(hwloc_obj_t obj, hwloc_obj_t sys)
+{
+ hwloc_obj_t child;
+
+ if (sys) {
+ /* We are already given a pointer to a system object */
+ if (obj->type == HWLOC_OBJ_PU)
+ hwloc_bitmap_or(sys->cpuset, sys->cpuset, obj->cpuset);
+ } else {
+ if (obj->cpuset) {
+ /* This object is the root of a machine */
+ sys = obj;
+ /* Assume no PU for now */
+ hwloc_bitmap_zero(obj->cpuset);
+ }
+ }
+
+ for_each_child(child, obj)
+ collect_proc_cpuset(child, sys);
+}
+
+/* While traversing down and up, propagate the offline/disallowed cpus by
+ * and'ing them to and from the first object that has a cpuset */
+static void
+propagate_unused_cpuset(hwloc_obj_t obj, hwloc_obj_t sys)
+{
+ hwloc_obj_t child;
+
+ if (obj->cpuset) {
+ if (sys) {
+ /* We are already given a pointer to an system object, update it and update ourselves */
+ hwloc_bitmap_t mask = hwloc_bitmap_alloc();
+
+ /* Apply the topology cpuset */
+ hwloc_bitmap_and(obj->cpuset, obj->cpuset, sys->cpuset);
+
+ /* Update complete cpuset down */
+ if (obj->complete_cpuset) {
+ hwloc_bitmap_and(obj->complete_cpuset, obj->complete_cpuset, sys->complete_cpuset);
+ } else {
+ obj->complete_cpuset = hwloc_bitmap_dup(sys->complete_cpuset);
+ hwloc_bitmap_and(obj->complete_cpuset, obj->complete_cpuset, obj->cpuset);
+ }
+
+ /* Update online cpusets */
+ if (obj->online_cpuset) {
+ /* Update ours */
+ hwloc_bitmap_and(obj->online_cpuset, obj->online_cpuset, sys->online_cpuset);
+
+ /* Update the given cpuset, but only what we know */
+ hwloc_bitmap_copy(mask, obj->cpuset);
+ hwloc_bitmap_not(mask, mask);
+ hwloc_bitmap_or(mask, mask, obj->online_cpuset);
+ hwloc_bitmap_and(sys->online_cpuset, sys->online_cpuset, mask);
+ } else {
+ /* Just take it as such */
+ obj->online_cpuset = hwloc_bitmap_dup(sys->online_cpuset);
+ hwloc_bitmap_and(obj->online_cpuset, obj->online_cpuset, obj->cpuset);
+ }
+
+ /* Update allowed cpusets */
+ if (obj->allowed_cpuset) {
+ /* Update ours */
+ hwloc_bitmap_and(obj->allowed_cpuset, obj->allowed_cpuset, sys->allowed_cpuset);
+
+ /* Update the given cpuset, but only what we know */
+ hwloc_bitmap_copy(mask, obj->cpuset);
+ hwloc_bitmap_not(mask, mask);
+ hwloc_bitmap_or(mask, mask, obj->allowed_cpuset);
+ hwloc_bitmap_and(sys->allowed_cpuset, sys->allowed_cpuset, mask);
+ } else {
+ /* Just take it as such */
+ obj->allowed_cpuset = hwloc_bitmap_dup(sys->allowed_cpuset);
+ hwloc_bitmap_and(obj->allowed_cpuset, obj->allowed_cpuset, obj->cpuset);
+ }
+
+ hwloc_bitmap_free(mask);
+ } else {
+ /* This object is the root of a machine */
+ sys = obj;
+ /* Apply complete cpuset to cpuset, online_cpuset and allowed_cpuset, it
+ * will automatically be applied below */
+ if (obj->complete_cpuset)
+ hwloc_bitmap_and(obj->cpuset, obj->cpuset, obj->complete_cpuset);
+ else
+ obj->complete_cpuset = hwloc_bitmap_dup(obj->cpuset);
+ if (obj->online_cpuset)
+ hwloc_bitmap_and(obj->online_cpuset, obj->online_cpuset, obj->complete_cpuset);
+ else
+ obj->online_cpuset = hwloc_bitmap_dup(obj->complete_cpuset);
+ if (obj->allowed_cpuset)
+ hwloc_bitmap_and(obj->allowed_cpuset, obj->allowed_cpuset, obj->complete_cpuset);
+ else
+ obj->allowed_cpuset = hwloc_bitmap_dup(obj->complete_cpuset);
+ }
+ }
+
+ for_each_child(child, obj)
+ propagate_unused_cpuset(child, sys);
+}
+
+/* Force full nodeset for non-NUMA machines */
+static void
+add_default_object_sets(hwloc_obj_t obj, int parent_has_sets)
+{
+ hwloc_obj_t child;
+
+ /* I/O devices (and their children) have no sets */
+ if (hwloc_obj_type_is_io(obj->type))
+ return;
+
+ if (parent_has_sets && obj->type != HWLOC_OBJ_MISC) {
+ /* non-MISC object must have cpuset if parent has one. */
+ assert(obj->cpuset);
+ }
+
+ /* other sets must be consistent with main cpuset:
+ * check cpusets and add nodesets if needed.
+ *
+ * MISC may have no sets at all (if added by parent), or usual ones (if added by cpuset),
+ * but that's not easy to detect, so just make sure sets are consistent as usual.
+ */
+ if (obj->cpuset) {
+ assert(obj->online_cpuset);
+ assert(obj->complete_cpuset);
+ assert(obj->allowed_cpuset);
+ if (!obj->nodeset)
+ obj->nodeset = hwloc_bitmap_alloc_full();
+ if (!obj->complete_nodeset)
+ obj->complete_nodeset = hwloc_bitmap_alloc_full();
+ if (!obj->allowed_nodeset)
+ obj->allowed_nodeset = hwloc_bitmap_alloc_full();
+ } else {
+ assert(!obj->online_cpuset);
+ assert(!obj->complete_cpuset);
+ assert(!obj->allowed_cpuset);
+ assert(!obj->nodeset);
+ assert(!obj->complete_nodeset);
+ assert(!obj->allowed_nodeset);
+ }
+
+ for_each_child(child, obj)
+ add_default_object_sets(child, obj->cpuset != NULL);
+}
+
+/* Setup object cpusets/nodesets by OR'ing its children. */
+int
+hwloc_fill_object_sets(hwloc_obj_t obj)
+{
+ hwloc_obj_t child;
+ assert(obj->cpuset != NULL);
+ for_each_child(child, obj) {
+ assert(child->cpuset != NULL);
+ if (child->complete_cpuset) {
+ if (!obj->complete_cpuset)
+ obj->complete_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(obj->complete_cpuset, obj->complete_cpuset, child->complete_cpuset);
+ }
+ if (child->online_cpuset) {
+ if (!obj->online_cpuset)
+ obj->online_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(obj->online_cpuset, obj->online_cpuset, child->online_cpuset);
+ }
+ if (child->allowed_cpuset) {
+ if (!obj->allowed_cpuset)
+ obj->allowed_cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(obj->allowed_cpuset, obj->allowed_cpuset, child->allowed_cpuset);
+ }
+ if (child->nodeset) {
+ if (!obj->nodeset)
+ obj->nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(obj->nodeset, obj->nodeset, child->nodeset);
+ }
+ if (child->complete_nodeset) {
+ if (!obj->complete_nodeset)
+ obj->complete_nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(obj->complete_nodeset, obj->complete_nodeset, child->complete_nodeset);
+ }
+ if (child->allowed_nodeset) {
+ if (!obj->allowed_nodeset)
+ obj->allowed_nodeset = hwloc_bitmap_alloc();
+ hwloc_bitmap_or(obj->allowed_nodeset, obj->allowed_nodeset, child->allowed_nodeset);
+ }
+ }
+ return 0;
+}
+
+/* Propagate nodesets up and down */
+static void
+propagate_nodeset(hwloc_obj_t obj, hwloc_obj_t sys)
+{
+ hwloc_obj_t child;
+ hwloc_bitmap_t parent_nodeset = NULL;
+ int parent_weight = 0;
+
+ if (!sys && obj->nodeset) {
+ sys = obj;
+ if (!obj->complete_nodeset)
+ obj->complete_nodeset = hwloc_bitmap_dup(obj->nodeset);
+ if (!obj->allowed_nodeset)
+ obj->allowed_nodeset = hwloc_bitmap_dup(obj->complete_nodeset);
+ }
+
+ if (sys) {
+ if (obj->nodeset) {
+ /* Some existing nodeset coming from above, to possibly propagate down */
+ parent_nodeset = obj->nodeset;
+ parent_weight = hwloc_bitmap_weight(parent_nodeset);
+ } else
+ obj->nodeset = hwloc_bitmap_alloc();
+ }
+
+ for_each_child(child, obj) {
+ /* don't propagate nodesets in I/O objects, keep them NULL */
+ if (hwloc_obj_type_is_io(child->type))
+ return;
+ /* don't propagate nodesets in Misc inserted by parent (no nodeset if no cpuset) */
+ if (child->type == HWLOC_OBJ_MISC && !child->cpuset)
+ return;
+
+ /* Propagate singleton nodesets down */
+ if (parent_weight == 1) {
+ if (!child->nodeset)
+ child->nodeset = hwloc_bitmap_dup(obj->nodeset);
+ else if (!hwloc_bitmap_isequal(child->nodeset, parent_nodeset)) {
+ hwloc_debug_bitmap("Oops, parent nodeset %s", parent_nodeset);
+ hwloc_debug_bitmap(" is different from child nodeset %s, ignoring the child one\n", child->nodeset);
+ hwloc_bitmap_copy(child->nodeset, parent_nodeset);
+ }
+ }
+
+ /* Recurse */
+ propagate_nodeset(child, sys);
+
+ /* Propagate children nodesets up */
+ if (sys && child->nodeset)
+ hwloc_bitmap_or(obj->nodeset, obj->nodeset, child->nodeset);
+ }
+}
+
+/* Propagate allowed and complete nodesets */
+static void
+propagate_nodesets(hwloc_obj_t obj)
+{
+ hwloc_bitmap_t mask = hwloc_bitmap_alloc();
+ hwloc_obj_t child;
+
+ for_each_child(child, obj) {
+ /* don't propagate nodesets in I/O objects, keep them NULL */
+ if (hwloc_obj_type_is_io(child->type))
+ continue;
+
+ if (obj->nodeset) {
+ /* Update complete nodesets down */
+ if (child->complete_nodeset) {
+ hwloc_bitmap_and(child->complete_nodeset, child->complete_nodeset, obj->complete_nodeset);
+ } else if (child->nodeset) {
+ child->complete_nodeset = hwloc_bitmap_dup(obj->complete_nodeset);
+ hwloc_bitmap_and(child->complete_nodeset, child->complete_nodeset, child->nodeset);
+ } /* else the child doesn't have nodeset information, we can not provide a complete nodeset */
+
+ /* Update allowed nodesets down */
+ if (child->allowed_nodeset) {
+ hwloc_bitmap_and(child->allowed_nodeset, child->allowed_nodeset, obj->allowed_nodeset);
+ } else if (child->nodeset) {
+ child->allowed_nodeset = hwloc_bitmap_dup(obj->allowed_nodeset);
+ hwloc_bitmap_and(child->allowed_nodeset, child->allowed_nodeset, child->nodeset);
+ }
+ }
+
+ propagate_nodesets(child);
+
+ if (obj->nodeset) {
+ /* Update allowed nodesets up */
+ if (child->nodeset && child->allowed_nodeset) {
+ hwloc_bitmap_copy(mask, child->nodeset);
+ hwloc_bitmap_andnot(mask, mask, child->allowed_nodeset);
+ hwloc_bitmap_andnot(obj->allowed_nodeset, obj->allowed_nodeset, mask);
+ }
+ }
+ }
+ hwloc_bitmap_free(mask);
+
+ if (obj->nodeset) {
+ /* Apply complete nodeset to nodeset and allowed_nodeset */
+ if (obj->complete_nodeset)
+ hwloc_bitmap_and(obj->nodeset, obj->nodeset, obj->complete_nodeset);
+ else
+ obj->complete_nodeset = hwloc_bitmap_dup(obj->nodeset);
+ if (obj->allowed_nodeset)
+ hwloc_bitmap_and(obj->allowed_nodeset, obj->allowed_nodeset, obj->complete_nodeset);
+ else
+ obj->allowed_nodeset = hwloc_bitmap_dup(obj->complete_nodeset);
+ }
+}
+
+static void
+remove_unused_sets(hwloc_obj_t obj)
+{
+ hwloc_obj_t child;
+
+ if (obj->cpuset) {
+ hwloc_bitmap_and(obj->cpuset, obj->cpuset, obj->online_cpuset);
+ hwloc_bitmap_and(obj->cpuset, obj->cpuset, obj->allowed_cpuset);
+ }
+ if (obj->nodeset) {
+ hwloc_bitmap_and(obj->nodeset, obj->nodeset, obj->allowed_nodeset);
+ }
+ if (obj->type == HWLOC_OBJ_NUMANODE && obj->os_index != (unsigned) -1 &&
+ !hwloc_bitmap_isset(obj->allowed_nodeset, obj->os_index)) {
+ unsigned i;
+ hwloc_debug("Dropping memory from disallowed node %u\n", obj->os_index);
+ obj->memory.local_memory = 0;
+ obj->memory.total_memory = 0;
+ for(i=0; i<obj->memory.page_types_len; i++)
+ obj->memory.page_types[i].count = 0;
+ }
+
+ for_each_child(child, obj)
+ remove_unused_sets(child);
+}
+
+static void
+reorder_children(hwloc_obj_t parent)
+{
+ /* move the children list on the side */
+ hwloc_obj_t *prev, child, children = parent->first_child;
+ parent->first_child = NULL;
+ while (children) {
+ /* dequeue child */
+ child = children;
+ children = child->next_sibling;
+ /* find where to enqueue it */
+ prev = &parent->first_child;
+ while (*prev) {
+ /* requeue before other children without cpuset (we're dequeueing in reverse-order) */
+ if (!(*prev)->cpuset)
+ break;
+ /* requeue before children with higher cpusets */
+ if (child->cpuset && hwloc__object_cpusets_compare_first(child, *prev) < 0)
+ break;
+ prev = &((*prev)->next_sibling);
+ }
+ /* enqueue */
+ child->next_sibling = *prev;
+ *prev = child;
+ }
+}
+
+/* Remove all ignored objects. */
+static int
+remove_ignored(hwloc_topology_t topology, hwloc_obj_t *pparent)
+{
+ hwloc_obj_t parent = *pparent, child, *pchild;
+ int dropped_children = 0;
+ int dropped = 0;
+
+ for_each_child_safe(child, parent, pchild)
+ dropped_children += remove_ignored(topology, pchild);
+
+ if ((parent != topology->levels[0][0] &&
+ topology->ignored_types[parent->type] == HWLOC_IGNORE_TYPE_ALWAYS)
+ || (parent->type == HWLOC_OBJ_CACHE && parent->attr->cache.type == HWLOC_OBJ_CACHE_INSTRUCTION
+ && !(topology->flags & HWLOC_TOPOLOGY_FLAG_ICACHES))) {
+ hwloc_debug("%s", "\nDropping ignored object ");
+ hwloc_debug_print_object(0, parent);
+ unlink_and_free_single_object(pparent);
+ dropped = 1;
+
+ } else if (dropped_children) {
+ /* we keep this object but its children changed, reorder them by complete_cpuset */
+ reorder_children(parent);
+ }
+
+ return dropped;
+}
+
+/* Remove all children whose cpuset is empty, except NUMA nodes
+ * since we want to keep memory information, and except PCI bridges and devices.
+ */
+static void
+remove_empty(hwloc_topology_t topology, hwloc_obj_t *pobj)
+{
+ hwloc_obj_t obj = *pobj, child, *pchild;
+
+ for_each_child_safe(child, obj, pchild)
+ remove_empty(topology, pchild);
+
+ if (obj->type != HWLOC_OBJ_NUMANODE
+ && !obj->first_child /* only remove if all children were removed above, so that we don't remove parents of NUMAnode */
+ && !hwloc_obj_type_is_io(obj->type) && obj->type != HWLOC_OBJ_MISC
+ && obj->cpuset /* don't remove if no cpuset at all, there's likely a good reason why it's different from having an empty cpuset */
+ && hwloc_bitmap_iszero(obj->cpuset)) {
+ /* Remove empty children */
+ hwloc_debug("%s", "\nRemoving empty object ");
+ hwloc_debug_print_object(0, obj);
+ unlink_and_free_single_object(pobj);
+ }
+}
+
+/* adjust object cpusets according the given droppedcpuset,
+ * drop object whose cpuset becomes empty,
+ * and mark dropped nodes in droppednodeset
+ */
+static void
+restrict_object(hwloc_topology_t topology, unsigned long flags, hwloc_obj_t *pobj, hwloc_const_cpuset_t droppedcpuset, hwloc_nodeset_t droppednodeset, int droppingparent)
+{
+ hwloc_obj_t obj = *pobj, child, *pchild;
+ int dropping;
+ int modified = obj->complete_cpuset && hwloc_bitmap_intersects(obj->complete_cpuset, droppedcpuset);
+
+ hwloc_clear_object_distances(obj);
+
+ if (obj->cpuset)
+ hwloc_bitmap_andnot(obj->cpuset, obj->cpuset, droppedcpuset);
+ if (obj->complete_cpuset)
+ hwloc_bitmap_andnot(obj->complete_cpuset, obj->complete_cpuset, droppedcpuset);
+ if (obj->online_cpuset)
+ hwloc_bitmap_andnot(obj->online_cpuset, obj->online_cpuset, droppedcpuset);
+ if (obj->allowed_cpuset)
+ hwloc_bitmap_andnot(obj->allowed_cpuset, obj->allowed_cpuset, droppedcpuset);
+
+ if (obj->type == HWLOC_OBJ_MISC) {
+ dropping = droppingparent && !(flags & HWLOC_RESTRICT_FLAG_ADAPT_MISC);
+ } else if (hwloc_obj_type_is_io(obj->type)) {
+ dropping = droppingparent && !(flags & HWLOC_RESTRICT_FLAG_ADAPT_IO);
+ } else {
+ dropping = droppingparent || (obj->cpuset && hwloc_bitmap_iszero(obj->cpuset));
+ }
+
+ if (modified) {
+ for_each_child_safe(child, obj, pchild)
+ restrict_object(topology, flags, pchild, droppedcpuset, droppednodeset, dropping);
+
+ /* if some hwloc_bitmap_first(child->complete_cpuset) changed, children might need to be reordered */
+ reorder_children(obj);
+ }
+
+ if (dropping) {
+ hwloc_debug("%s", "\nRemoving object during restrict");
+ hwloc_debug_print_objects(0, obj);
+ if (obj->type == HWLOC_OBJ_NUMANODE)
+ hwloc_bitmap_set(droppednodeset, obj->os_index);
+ /* remove the object from the tree (no need to remove from levels, they will be entirely rebuilt by the caller) */
+ unlink_and_free_single_object(pobj);
+ /* do not remove children. if they were to be removed, they would have been already */
+ }
+}
+
+/* adjust object nodesets accordingly the given droppednodeset
+ */
+static void
+restrict_object_nodeset(hwloc_topology_t topology, hwloc_obj_t obj, hwloc_nodeset_t droppednodeset)
+{
+ hwloc_obj_t child;
+
+ /* if this object isn't modified, don't bother looking at children */
+ if (obj->complete_nodeset && !hwloc_bitmap_intersects(obj->complete_nodeset, droppednodeset))
+ return;
+
+ if (obj->nodeset)
+ hwloc_bitmap_andnot(obj->nodeset, obj->nodeset, droppednodeset);
+ if (obj->complete_nodeset)
+ hwloc_bitmap_andnot(obj->complete_nodeset, obj->complete_nodeset, droppednodeset);
+ if (obj->allowed_nodeset)
+ hwloc_bitmap_andnot(obj->allowed_nodeset, obj->allowed_nodeset, droppednodeset);
+
+ for_each_child(child, obj)
+ restrict_object_nodeset(topology, obj, droppednodeset);
+}
+
+/* we don't want to merge groups that were inserted explicitly with the custom interface */
+static int
+can_merge_group(hwloc_topology_t topology, hwloc_obj_t obj)
+{
+ const char *value;
+ /* custom-inserted groups are in custom topologies and have no cpusets,
+ * don't bother calling hwloc_obj_get_info_by_name() and strcmp() uselessly.
+ */
+ if (obj->attr->group.dont_merge)
+ return 0;
+ if (!topology->backends->is_custom || obj->cpuset)
+ return 1;
+ value = hwloc_obj_get_info_by_name(obj, "Backend");
+ return (!value) || strcmp(value, "Custom");
+}
+
+/*
+ * Merge with the only child if either the parent or the child has a type to be
+ * ignored while keeping structure
+ */
+static int
+merge_useless_child(hwloc_topology_t topology, hwloc_obj_t *pparent)
+{
+ hwloc_obj_t parent = *pparent, child, *pchild, ios;
+ int replacechild = 0, replaceparent = 0, droppedchildren = 0;
+
+ if (!parent->first_child)
+ /* There are no child, nothing to merge. */
+ return 0;
+
+ for_each_child_safe(child, parent, pchild)
+ droppedchildren += merge_useless_child(topology, pchild);
+
+ if (droppedchildren)
+ reorder_children(parent);
+
+ child = parent->first_child;
+ /* we don't merge if there are multiple "important" children.
+ * non-important ones are at the end of the list.
+ * look at the second child to find out.
+ */
+ if (child->next_sibling
+ /* I/O objects may be ignored when trying to merge */
+ && !hwloc_obj_type_is_io(child->next_sibling->type)
+ /* Misc objects without cpuset may be ignored as well */
+ && !(child->next_sibling->type == HWLOC_OBJ_MISC && !child->next_sibling->cpuset))
+ /* There are several children that prevent from merging */
+ return 0;
+
+ /* There is one important child, and some children that may be ignored
+ * during merging because they can be attached to anything with the same locality.
+ * Move them to the side during merging, and append them back later.
+ * This is easy because children with no cpuset are always last in the list.
+ */
+ ios = child->next_sibling;
+ child->next_sibling = NULL;
+
+ /* Check whether parent and/or child can be replaced */
+ if (topology->ignored_types[parent->type] == HWLOC_IGNORE_TYPE_KEEP_STRUCTURE) {
+ if (parent->type != HWLOC_OBJ_GROUP || can_merge_group(topology, parent))
+ /* Parent can be ignored in favor of the child. */
+ replaceparent = 1;
+ }
+ if (topology->ignored_types[child->type] == HWLOC_IGNORE_TYPE_KEEP_STRUCTURE) {
+ if (child->type != HWLOC_OBJ_GROUP || can_merge_group(topology, child))
+ /* Child can be ignored in favor of the parent. */
+ replacechild = 1;
+ }
+
+ /* Decide which one to actually replace */
+ if (replaceparent && replacechild) {
+ /* If both may be replaced, look at obj_type_priority */
+ if (obj_type_priority[parent->type] > obj_type_priority[child->type])
+ replaceparent = 0;
+ else
+ replacechild = 0;
+ }
+
+ if (replaceparent) {
+ /* Replace parent with child */
+ hwloc_debug("%s", "\nIgnoring parent ");
+ hwloc_debug_print_object(0, parent);
+ if (parent == topology->levels[0][0]) {
+ child->parent = NULL;
+ child->depth = 0;
+ child->next_cousin = child->prev_cousin = NULL; /* this level is never rebuilt, make sure it's sane */
+ }
+ unlink_and_free_single_object(pparent);
+
+ } else if (replacechild) {
+ /* Replace child with parent */
+ hwloc_debug("%s", "\nIgnoring child ");
+ hwloc_debug_print_object(0, child);
+ unlink_and_free_single_object(&parent->first_child);
+ }
+
+ if (ios) {
+ /* append the remaining list of children to the remaining object */
+ pchild = &((*pparent)->first_child);
+ while (*pchild)
+ pchild = &((*pchild)->next_sibling);
+ *pchild = ios;
+ }
+
+ return replaceparent ? 1 : 0;
+}
+
+static void
+hwloc_drop_all_io(hwloc_topology_t topology, hwloc_obj_t root)
+{
+ hwloc_obj_t child, *pchild;
+ for_each_child_safe(child, root, pchild) {
+ if (hwloc_obj_type_is_io(child->type))
+ unlink_and_free_object_and_children(pchild);
+ else
+ hwloc_drop_all_io(topology, child);
+ }
+}
+
+/*
+ * If IO_DEVICES and WHOLE_IO are not set, we drop everything.
+ * If WHOLE_IO is not set, we drop non-interesting devices,
+ * and bridges that have no children.
+ * If IO_BRIDGES is also not set, we also drop all bridges
+ * except the hostbridges.
+ */
+static void
+hwloc_drop_useless_io(hwloc_topology_t topology, hwloc_obj_t root)
+{
+ hwloc_obj_t child, *pchild;
+
+ if (!(topology->flags & (HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO))) {
+ /* drop all I/O children */
+ hwloc_drop_all_io(topology, root);
+ return;
+ }
+
+ if (!(topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_IO)) {
+ /* drop non-interesting devices */
+ for_each_child_safe(child, root, pchild) {
+ if (child->type == HWLOC_OBJ_PCI_DEVICE) {
+ unsigned classid = child->attr->pcidev.class_id;
+ unsigned baseclass = classid >> 8;
+ if (baseclass != 0x03 /* PCI_BASE_CLASS_DISPLAY */
+ && baseclass != 0x02 /* PCI_BASE_CLASS_NETWORK */
+ && baseclass != 0x01 /* PCI_BASE_CLASS_STORAGE */
+ && baseclass != 0x0b /* PCI_BASE_CLASS_PROCESSOR */
+ && classid != 0x0c04 /* PCI_CLASS_SERIAL_FIBER */
+ && classid != 0x0c06 /* PCI_CLASS_SERIAL_INFINIBAND */
+ && baseclass != 0x12 /* Processing Accelerators */)
+ unlink_and_free_object_and_children(pchild);
+ }
+ }
+ }
+
+ /* look at remaining children, process recursively, and remove useless bridges */
+ for_each_child_safe(child, root, pchild) {
+ hwloc_drop_useless_io(topology, child);
+
+ if (child->type == HWLOC_OBJ_BRIDGE) {
+ if (!child->first_child) {
+ /* bridges with no children are removed if WHOLE_IO isn't given */
+ if (!(topology->flags & (HWLOC_TOPOLOGY_FLAG_WHOLE_IO))) {
+ unlink_and_free_single_object(pchild);
+ }
+
+ } else if (child->attr->bridge.upstream_type != HWLOC_OBJ_BRIDGE_HOST) {
+ /* only hostbridges are kept if WHOLE_IO or IO_BRIDGE are not given */
+ if (!(topology->flags & (HWLOC_TOPOLOGY_FLAG_IO_BRIDGES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO))) {
+ unlink_and_free_single_object(pchild);
+ }
+ }
+ }
+ }
+}
+
+static void
+hwloc_propagate_bridge_depth(hwloc_topology_t topology, hwloc_obj_t root, unsigned depth)
+{
+ hwloc_obj_t child;
+ for_each_child(child, root) {
+ if (child->type == HWLOC_OBJ_BRIDGE) {
+ child->attr->bridge.depth = depth;
+ hwloc_propagate_bridge_depth(topology, child, depth+1);
+ } else if (!hwloc_obj_type_is_io(child->type)) {
+ hwloc_propagate_bridge_depth(topology, child, 0);
+ }
+ }
+}
+
+static void
+hwloc_propagate_symmetric_subtree(hwloc_topology_t topology, hwloc_obj_t root)
+{
+ hwloc_obj_t child, *array;
+
+ /* assume we're not symmetric by default */
+ root->symmetric_subtree = 0;
+
+ /* if no child, we are symmetric */
+ if (!root->arity) {
+ root->symmetric_subtree = 1;
+ return;
+ }
+
+ /* look at children, and return if they are not symmetric */
+ child = NULL;
+ for_each_child(child, root)
+ hwloc_propagate_symmetric_subtree(topology, child);
+ for_each_child(child, root)
+ if (!child->symmetric_subtree)
+ return;
+
+ /* now check that children subtrees are identical.
+ * just walk down the first child in each tree and compare their depth and arities
+ */
+ array = malloc(root->arity * sizeof(*array));
+ memcpy(array, root->children, root->arity * sizeof(*array));
+ while (1) {
+ unsigned i;
+ /* check current level arities and depth */
+ for(i=1; i<root->arity; i++)
+ if (array[i]->depth != array[0]->depth
+ || array[i]->arity != array[0]->arity) {
+ free(array);
+ return;
+ }
+ if (!array[0]->arity)
+ /* no more children level, we're ok */
+ break;
+ /* look at first child of each element now */
+ for(i=0; i<root->arity; i++)
+ array[i] = array[i]->first_child;
+ }
+ free(array);
+
+ /* everything went fine, we're symmetric */
+ root->symmetric_subtree = 1;
+}
+
+/*
+ * Initialize handy pointers in the whole topology.
+ * The topology only had first_child and next_sibling pointers.
+ * When this funtions return, all parent/children pointers are initialized.
+ * The remaining fields (levels, cousins, logical_index, depth, ...) will
+ * be setup later in hwloc_connect_levels().
+ *
+ * Can be called several times, so may have to update the array.
+ */
+void
+hwloc_connect_children(hwloc_obj_t parent)
+{
+ unsigned n, oldn = parent->arity;
+ hwloc_obj_t child, prev_child = NULL;
+ int ok = 1;
+
+ for (n = 0, child = parent->first_child;
+ child;
+ n++, prev_child = child, child = child->next_sibling) {
+ child->parent = parent;
+ child->sibling_rank = n;
+ child->prev_sibling = prev_child;
+ /* already OK in the array? */
+ if (n >= oldn || parent->children[n] != child)
+ ok = 0;
+ /* recurse */
+ hwloc_connect_children(child);
+ }
+ parent->last_child = prev_child;
+ parent->arity = n;
+ if (!n) {
+ /* no need for an array anymore */
+ free(parent->children);
+ parent->children = NULL;
+ return;
+ }
+ if (ok)
+ /* array is already OK (even if too large) */
+ return;
+
+ /* alloc a larger array if needed */
+ if (oldn < n) {
+ free(parent->children);
+ parent->children = malloc(n * sizeof(*parent->children));
+ }
+ /* refill */
+ for (n = 0, child = parent->first_child;
+ child;
+ n++, child = child->next_sibling) {
+ parent->children[n] = child;
+ }
+}
+
+/*
+ * Check whether there is an object below ROOT that has the same type as OBJ.
+ * Only used for building levels.
+ * Stop at I/O or Misc since these don't go into levels, and we never have
+ * normal objects under them.
+ */
+static int
+find_same_type(hwloc_obj_t root, hwloc_obj_t obj)
+{
+ hwloc_obj_t child;
+
+ if (hwloc_type_cmp(root, obj) == HWLOC_OBJ_EQUAL)
+ return 1;
+
+ for_each_child(child, root)
+ if (!hwloc_obj_type_is_io(child->type)
+ && child->type != HWLOC_OBJ_MISC
+ && find_same_type(child, obj))
+ return 1;
+
+ return 0;
+}
+
+/* traverse the array of current object and compare them with top_obj.
+ * if equal, take the object and put its children into the remaining objs.
+ * if not equal, put the object into the remaining objs.
+ */
+static int
+hwloc_level_take_objects(hwloc_obj_t top_obj,
+ hwloc_obj_t *current_objs, unsigned n_current_objs,
+ hwloc_obj_t *taken_objs, unsigned n_taken_objs __hwloc_attribute_unused,
+ hwloc_obj_t *remaining_objs, unsigned n_remaining_objs __hwloc_attribute_unused)
+{
+ unsigned taken_i = 0;
+ unsigned new_i = 0;
+ unsigned i, j;
+
+ for (i = 0; i < n_current_objs; i++)
+ if (hwloc_type_cmp(top_obj, current_objs[i]) == HWLOC_OBJ_EQUAL) {
+ /* Take it, add children. */
+ taken_objs[taken_i++] = current_objs[i];
+ for (j = 0; j < current_objs[i]->arity; j++)
+ remaining_objs[new_i++] = current_objs[i]->children[j];
+ } else {
+ /* Leave it. */
+ remaining_objs[new_i++] = current_objs[i];
+ }
+
+#ifdef HWLOC_DEBUG
+ /* Make sure we didn't mess up. */
+ assert(taken_i == n_taken_objs);
+ assert(new_i == n_current_objs - n_taken_objs + n_remaining_objs);
+#endif
+
+ return new_i;
+}
+
+/* Given an input object, copy it or its interesting children into the output array.
+ * If new_obj is NULL, we're just counting interesting ohjects.
+ */
+static unsigned
+hwloc_level_filter_object(hwloc_topology_t topology,
+ hwloc_obj_t *new_obj, hwloc_obj_t old)
+{
+ unsigned i, total;
+ if (hwloc_obj_type_is_io(old->type)) {
+ if (new_obj)
+ append_iodevs(topology, old);
+ return 0;
+ }
+ if (old->type != HWLOC_OBJ_MISC) {
+ if (new_obj)
+ *new_obj = old;
+ return 1;
+ }
+ for(i=0, total=0; i<old->arity; i++) {
+ int nb = hwloc_level_filter_object(topology, new_obj, old->children[i]);
+ if (new_obj) {
+ new_obj += nb;
+ }
+ total += nb;
+ }
+ return total;
+}
+
+/* Replace an input array of objects with an input array containing
+ * only interesting objects for levels.
+ * Misc objects are removed, their interesting children are added.
+ * I/O devices are removed and queue to their own lists.
+ */
+static int
+hwloc_level_filter_objects(hwloc_topology_t topology,
+ hwloc_obj_t **objs, unsigned *n_objs)
+{
+ hwloc_obj_t *old = *objs, *new;
+ unsigned nold = *n_objs, nnew, i;
+
+ /* anything to filter? */
+ for(i=0; i<nold; i++)
+ if (hwloc_obj_type_is_io(old[i]->type)
+ || old[i]->type == HWLOC_OBJ_MISC)
+ break;
+ if (i==nold)
+ return 0;
+
+ /* count interesting objects and allocate the new array */
+ for(i=0, nnew=0; i<nold; i++)
+ nnew += hwloc_level_filter_object(topology, NULL, old[i]);
+ if (!nnew) {
+ *objs = NULL;
+ *n_objs = 0;
+ free(old);
+ return 0;
+ }
+ new = malloc(nnew * sizeof(hwloc_obj_t));
+ if (!new) {
+ free(old);
+ errno = ENOMEM;
+ return -1;
+ }
+ /* copy them now */
+ for(i=0, nnew=0; i<nold; i++)
+ nnew += hwloc_level_filter_object(topology, new+nnew, old[i]);
+
+ /* use the new array */
+ *objs = new;
+ *n_objs = nnew;
+ free(old);
+ return 0;
+}
+
+static unsigned
+hwloc_build_level_from_list(struct hwloc_obj *first, struct hwloc_obj ***levelp)
+{
+ unsigned i, nb;
+ struct hwloc_obj * obj;
+
+ /* count */
+ obj = first;
+ i = 0;
+ while (obj) {
+ i++;
+ obj = obj->next_cousin;
+ }
+ nb = i;
+
+ if (nb) {
+ /* allocate and fill level */
+ *levelp = malloc(nb * sizeof(struct hwloc_obj *));
+ obj = first;
+ i = 0;
+ while (obj) {
+ obj->logical_index = i;
+ (*levelp)[i] = obj;
+ i++;
+ obj = obj->next_cousin;
+ }
+ }
+
+ return nb;
+}
+
+/*
+ * Do the remaining work that hwloc_connect_children() did not do earlier.
+ */
+int
+hwloc_connect_levels(hwloc_topology_t topology)
+{
+ unsigned l, i=0;
+ hwloc_obj_t *objs, *taken_objs, *new_objs, top_obj;
+ unsigned n_objs, n_taken_objs, n_new_objs;
+ int err;
+
+ /* reset non-root levels (root was initialized during init and will not change here) */
+ for(l=1; l<HWLOC_DEPTH_MAX; l++)
+ free(topology->levels[l]);
+ memset(topology->levels+1, 0, (HWLOC_DEPTH_MAX-1)*sizeof(*topology->levels));
+ memset(topology->level_nbobjects+1, 0, (HWLOC_DEPTH_MAX-1)*sizeof(*topology->level_nbobjects));
+ topology->nb_levels = 1;
+ /* don't touch next_group_depth, the Group objects are still here */
+
+ /* initialize all depth to unknown */
+ for (l = HWLOC_OBJ_SYSTEM; l < HWLOC_OBJ_MISC; l++)
+ topology->type_depth[l] = HWLOC_TYPE_DEPTH_UNKNOWN;
+ /* initialize root type depth */
+ topology->type_depth[topology->levels[0][0]->type] = 0;
+
+ /* initialize I/O special levels */
+ free(topology->bridge_level);
+ topology->bridge_level = NULL;
+ topology->bridge_nbobjects = 0;
+ topology->first_bridge = topology->last_bridge = NULL;
+ free(topology->pcidev_level);
+ topology->pcidev_level = NULL;
+ topology->pcidev_nbobjects = 0;
+ topology->first_pcidev = topology->last_pcidev = NULL;
+ free(topology->osdev_level);
+ topology->osdev_level = NULL;
+ topology->osdev_nbobjects = 0;
+ topology->first_osdev = topology->last_osdev = NULL;
+
+ /* Start with children of the whole system. */
+ n_objs = topology->levels[0][0]->arity;
+ objs = malloc(n_objs * sizeof(objs[0]));
+ if (!objs) {
+ errno = ENOMEM;
+ return -1;
+ }
+ memcpy(objs, topology->levels[0][0]->children, n_objs*sizeof(objs[0]));
+
+ /* Filter-out interesting objects */
+ err = hwloc_level_filter_objects(topology, &objs, &n_objs);
+ if (err < 0)
+ return -1;
+
+ /* Keep building levels while there are objects left in OBJS. */
+ while (n_objs) {
+ /* At this point, the objs array contains only objects that may go into levels */
+
+ /* First find which type of object is the topmost.
+ * Don't use PU if there are other types since we want to keep PU at the bottom.
+ */
+
+ /* Look for the first non-PU object, and use the first PU if we really find nothing else */
+ for (i = 0; i < n_objs; i++)
+ if (objs[i]->type != HWLOC_OBJ_PU)
+ break;
+ top_obj = i == n_objs ? objs[0] : objs[i];
+
+ /* See if this is actually the topmost object */
+ for (i = 0; i < n_objs; i++) {
+ if (hwloc_type_cmp(top_obj, objs[i]) != HWLOC_OBJ_EQUAL) {
+ if (find_same_type(objs[i], top_obj)) {
+ /* OBJS[i] is strictly above an object of the same type as TOP_OBJ, so it
+ * is above TOP_OBJ. */
+ top_obj = objs[i];
+ }
+ }
+ }
+
+ /* Now peek all objects of the same type, build a level with that and
+ * replace them with their children. */
+
+ /* First count them. */
+ n_taken_objs = 0;
+ n_new_objs = 0;
+ for (i = 0; i < n_objs; i++)
+ if (hwloc_type_cmp(top_obj, objs[i]) == HWLOC_OBJ_EQUAL) {
+ n_taken_objs++;
+ n_new_objs += objs[i]->arity;
+ }
+
+ /* New level. */
+ taken_objs = malloc((n_taken_objs + 1) * sizeof(taken_objs[0]));
+ /* New list of pending objects. */
+ if (n_objs - n_taken_objs + n_new_objs) {
+ new_objs = malloc((n_objs - n_taken_objs + n_new_objs) * sizeof(new_objs[0]));
+ } else {
+#ifdef HWLOC_DEBUG
+ assert(!n_new_objs);
+ assert(n_objs == n_taken_objs);
+#endif
+ new_objs = NULL;
+ }
+
+ n_new_objs = hwloc_level_take_objects(top_obj,
+ objs, n_objs,
+ taken_objs, n_taken_objs,
+ new_objs, n_new_objs);
+
+ /* Ok, put numbers in the level and link cousins. */
+ for (i = 0; i < n_taken_objs; i++) {
+ taken_objs[i]->depth = topology->nb_levels;
+ taken_objs[i]->logical_index = i;
+ if (i) {
+ taken_objs[i]->prev_cousin = taken_objs[i-1];
+ taken_objs[i-1]->next_cousin = taken_objs[i];
+ }
+ }
+ taken_objs[0]->prev_cousin = NULL;
+ taken_objs[n_taken_objs-1]->next_cousin = NULL;
+
+ /* One more level! */
+ if (top_obj->type == HWLOC_OBJ_CACHE)
+ hwloc_debug("--- Cache level depth %u", top_obj->attr->cache.depth);
+ else
+ hwloc_debug("--- %s level", hwloc_obj_type_string(top_obj->type));
+ hwloc_debug(" has number %u\n\n", topology->nb_levels);
+
+ if (topology->type_depth[top_obj->type] == HWLOC_TYPE_DEPTH_UNKNOWN)
+ topology->type_depth[top_obj->type] = topology->nb_levels;
+ else
+ topology->type_depth[top_obj->type] = HWLOC_TYPE_DEPTH_MULTIPLE; /* mark as unknown */
+
+ taken_objs[n_taken_objs] = NULL;
+
+ topology->level_nbobjects[topology->nb_levels] = n_taken_objs;
+ topology->levels[topology->nb_levels] = taken_objs;
+
+ topology->nb_levels++;
+
+ free(objs);
+
+ /* Switch to new_objs, after filtering-out interesting objects */
+ err = hwloc_level_filter_objects(topology, &new_objs, &n_new_objs);
+ if (err < 0)
+ return -1;
+
+ objs = new_objs;
+ n_objs = n_new_objs;
+ }
+
+ /* It's empty now. */
+ if (objs)
+ free(objs);
+
+ topology->bridge_nbobjects = hwloc_build_level_from_list(topology->first_bridge, &topology->bridge_level);
+ topology->pcidev_nbobjects = hwloc_build_level_from_list(topology->first_pcidev, &topology->pcidev_level);
+ topology->osdev_nbobjects = hwloc_build_level_from_list(topology->first_osdev, &topology->osdev_level);
+
+ hwloc_propagate_symmetric_subtree(topology, topology->levels[0][0]);
+
+ return 0;
+}
+
+void hwloc_alloc_obj_cpusets(hwloc_obj_t obj)
+{
+ if (!obj->cpuset)
+ obj->cpuset = hwloc_bitmap_alloc_full();
+ if (!obj->complete_cpuset)
+ obj->complete_cpuset = hwloc_bitmap_alloc();
+ if (!obj->online_cpuset)
+ obj->online_cpuset = hwloc_bitmap_alloc_full();
+ if (!obj->allowed_cpuset)
+ obj->allowed_cpuset = hwloc_bitmap_alloc_full();
+ if (!obj->nodeset)
+ obj->nodeset = hwloc_bitmap_alloc();
+ if (!obj->complete_nodeset)
+ obj->complete_nodeset = hwloc_bitmap_alloc();
+ if (!obj->allowed_nodeset)
+ obj->allowed_nodeset = hwloc_bitmap_alloc_full();
+}
+
+/* Main discovery loop */
+static int
+hwloc_discover(struct hwloc_topology *topology)
+{
+ struct hwloc_backend *backend;
+ int gotsomeio = 0;
+ unsigned discoveries = 0;
+ unsigned need_reconnect = 0;
+
+ /* discover() callbacks should use hwloc_insert to add objects initialized
+ * through hwloc_alloc_setup_object.
+ * For node levels, nodeset and memory must be initialized.
+ * For cache levels, memory and type/depth must be initialized.
+ * For group levels, depth must be initialized.
+ */
+
+ /* There must be at least a PU object for each logical processor, at worse
+ * produced by hwloc_setup_pu_level()
+ */
+
+ /* To be able to just use hwloc_insert_object_by_cpuset to insert the object
+ * in the topology according to the cpuset, the cpuset field must be
+ * initialized.
+ */
+
+ /* A priori, All processors are visible in the topology, online, and allowed
+ * for the application.
+ *
+ * - If some processors exist but topology information is unknown for them
+ * (and thus the backend couldn't create objects for them), they should be
+ * added to the complete_cpuset field of the lowest object where the object
+ * could reside.
+ *
+ * - If some processors are not online, they should be dropped from the
+ * online_cpuset field.
+ *
+ * - If some processors are not allowed for the application (e.g. for
+ * administration reasons), they should be dropped from the allowed_cpuset
+ * field.
+ *
+ * The same applies to the node sets complete_nodeset and allowed_cpuset.
+ *
+ * If such field doesn't exist yet, it can be allocated, and initialized to
+ * zero (for complete), or to full (for online and allowed). The values are
+ * automatically propagated to the whole tree after detection.
+ */
+
+ /*
+ * Discover CPUs first
+ */
+ backend = topology->backends;
+ while (NULL != backend) {
+ int err;
+ if (backend->component->type != HWLOC_DISC_COMPONENT_TYPE_CPU
+ && backend->component->type != HWLOC_DISC_COMPONENT_TYPE_GLOBAL)
+ /* not yet */
+ goto next_cpubackend;
+ if (!backend->discover)
+ goto next_cpubackend;
+
+ if (need_reconnect && (backend->flags & HWLOC_BACKEND_FLAG_NEED_LEVELS)) {
+ hwloc_debug("Backend %s forcing a reconnect of levels\n", backend->component->name);
+ hwloc_connect_children(topology->levels[0][0]);
+ if (hwloc_connect_levels(topology) < 0)
+ return -1;
+ need_reconnect = 0;
+ }
+
+ err = backend->discover(backend);
+ if (err >= 0) {
+ if (backend->component->type == HWLOC_DISC_COMPONENT_TYPE_GLOBAL)
+ gotsomeio += err;
+ discoveries++;
+ if (err > 0)
+ need_reconnect++;
+ }
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+
+next_cpubackend:
+ backend = backend->next;
+ }
+
+ if (!discoveries) {
+ hwloc_debug("%s", "No CPU backend enabled or no discovery succeeded\n");
+ errno = EINVAL;
+ return -1;
+ }
+
+ /*
+ * Group levels by distances
+ */
+ hwloc_distances_finalize_os(topology);
+ hwloc_group_by_distances(topology);
+
+ /* Update objects cpusets and nodesets now that the CPU/GLOBAL backend populated PUs and nodes */
+
+ hwloc_debug("%s", "\nRestrict topology cpusets to existing PU and NODE objects\n");
+ collect_proc_cpuset(topology->levels[0][0], NULL);
+
+ if (topology->binding_hooks.get_allowed_resources && topology->is_thissystem) {
+ const char *env = getenv("HWLOC_THISSYSTEM_ALLOWED_RESOURCES");
+ if ((env && atoi(env))
+ || (topology->flags & HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES))
+ topology->binding_hooks.get_allowed_resources(topology);
+ }
+
+ hwloc_debug("%s", "\nPropagate offline and disallowed cpus down and up\n");
+ propagate_unused_cpuset(topology->levels[0][0], NULL);
+
+ if (topology->levels[0][0]->complete_nodeset && hwloc_bitmap_iszero(topology->levels[0][0]->complete_nodeset)) {
+ /* No nodeset, drop all of them */
+ hwloc_bitmap_free(topology->levels[0][0]->nodeset);
+ topology->levels[0][0]->nodeset = NULL;
+ hwloc_bitmap_free(topology->levels[0][0]->complete_nodeset);
+ topology->levels[0][0]->complete_nodeset = NULL;
+ hwloc_bitmap_free(topology->levels[0][0]->allowed_nodeset);
+ topology->levels[0][0]->allowed_nodeset = NULL;
+ }
+ hwloc_debug("%s", "\nPropagate nodesets\n");
+ propagate_nodeset(topology->levels[0][0], NULL);
+ propagate_nodesets(topology->levels[0][0]);
+
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+
+ if (!(topology->flags & HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM)) {
+ hwloc_debug("%s", "\nRemoving unauthorized and offline sets from all sets\n");
+ remove_unused_sets(topology->levels[0][0]);
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+ }
+
+ hwloc_debug("%s", "\nAdd default object sets\n");
+ add_default_object_sets(topology->levels[0][0], 0);
+
+ /* Now connect handy pointers to make remaining discovery easier. */
+ hwloc_debug("%s", "\nOk, finished tweaking, now connect\n");
+ hwloc_connect_children(topology->levels[0][0]);
+ if (hwloc_connect_levels(topology) < 0)
+ return -1;
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+
+ /*
+ * Additional discovery with other backends
+ */
+
+ backend = topology->backends;
+ need_reconnect = 0;
+ while (NULL != backend) {
+ int err;
+ if (backend->component->type == HWLOC_DISC_COMPONENT_TYPE_CPU
+ || backend->component->type == HWLOC_DISC_COMPONENT_TYPE_GLOBAL)
+ /* already done above */
+ goto next_noncpubackend;
+ if (!backend->discover)
+ goto next_noncpubackend;
+
+ if (need_reconnect && (backend->flags & HWLOC_BACKEND_FLAG_NEED_LEVELS)) {
+ hwloc_debug("Backend %s forcing a reconnect of levels\n", backend->component->name);
+ hwloc_connect_children(topology->levels[0][0]);
+ if (hwloc_connect_levels(topology) < 0)
+ return -1;
+ need_reconnect = 0;
+ }
+
+ err = backend->discover(backend);
+ if (err >= 0) {
+ gotsomeio += err;
+ if (err > 0)
+ need_reconnect++;
+ }
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+
+next_noncpubackend:
+ backend = backend->next;
+ }
+
+ /* if we got anything, filter interesting objects and update the tree */
+ if (gotsomeio) {
+ hwloc_drop_useless_io(topology, topology->levels[0][0]);
+ hwloc_debug("%s", "\nNow reconnecting\n");
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+ hwloc_propagate_bridge_depth(topology, topology->levels[0][0], 0);
+ }
+
+ /* Removed some stuff */
+
+ hwloc_debug("%s", "\nRemoving ignored objects\n");
+ remove_ignored(topology, &topology->levels[0][0]);
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+
+ hwloc_debug("%s", "\nRemoving empty objects except numa nodes and PCI devices\n");
+ remove_empty(topology, &topology->levels[0][0]);
+ if (!topology->levels[0][0]) {
+ fprintf(stderr, "Topology became empty, aborting!\n");
+ abort();
+ }
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+
+ hwloc_debug("%s", "\nRemoving objects whose type has HWLOC_IGNORE_TYPE_KEEP_STRUCTURE and have only one child or are the only child\n");
+ merge_useless_child(topology, &topology->levels[0][0]);
+ hwloc_debug_print_objects(0, topology->levels[0][0]);
+
+ /* Reconnect things after all these changes */
+ hwloc_connect_children(topology->levels[0][0]);
+ if (hwloc_connect_levels(topology) < 0)
+ return -1;
+
+ /* accumulate children memory in total_memory fields (only once parent is set) */
+ hwloc_debug("%s", "\nPropagate total memory up\n");
+ propagate_total_memory(topology->levels[0][0]);
+
+ /*
+ * Now that objects are numbered, take distance matrices from backends and put them in the main topology.
+ *
+ * Some objects may have disappeared (in removed_empty or removed_ignored) since we setup os distances
+ * (hwloc_distances_finalize_os()) above. Reset them so as to not point to disappeared objects anymore.
+ */
+ hwloc_distances_restrict_os(topology);
+ hwloc_distances_finalize_os(topology);
+ hwloc_distances_finalize_logical(topology);
+
+ /* add some identification attributes if not loading from XML */
+ if (topology->backends
+ && strcmp(topology->backends->component->name, "xml")) {
+ char *value;
+ /* add a hwlocVersion */
+ hwloc_obj_add_info(topology->levels[0][0], "hwlocVersion", HWLOC_VERSION);
+ /* add a ProcessName */
+ value = hwloc_progname(topology);
+ if (value) {
+ hwloc_obj_add_info(topology->levels[0][0], "ProcessName", value);
+ free(value);
+ }
+ }
+
+ return 0;
+}
+
+/* To be before discovery is actually launched,
+ * Resets everything in case a previous load initialized some stuff.
+ */
+void
+hwloc_topology_setup_defaults(struct hwloc_topology *topology)
+{
+ struct hwloc_obj *root_obj;
+ unsigned l;
+
+ /* reset support */
+ memset(&topology->binding_hooks, 0, sizeof(topology->binding_hooks));
+ memset(topology->support.discovery, 0, sizeof(*topology->support.discovery));
+ memset(topology->support.cpubind, 0, sizeof(*topology->support.cpubind));
+ memset(topology->support.membind, 0, sizeof(*topology->support.membind));
+
+ /* Only the System object on top by default */
+ topology->nb_levels = 1; /* there's at least SYSTEM */
+ topology->next_group_depth = 0;
+ topology->levels[0] = malloc (sizeof (hwloc_obj_t));
+ topology->level_nbobjects[0] = 1;
+ /* NULLify other levels so that we can detect and free old ones in hwloc_connect_levels() if needed */
+ memset(topology->levels+1, 0, (HWLOC_DEPTH_MAX-1)*sizeof(*topology->levels));
+ topology->bridge_level = NULL;
+ topology->pcidev_level = NULL;
+ topology->osdev_level = NULL;
+ topology->first_bridge = topology->last_bridge = NULL;
+ topology->first_pcidev = topology->last_pcidev = NULL;
+ topology->first_osdev = topology->last_osdev = NULL;
+ /* sane values to type_depth */
+ for (l = HWLOC_OBJ_SYSTEM; l <= HWLOC_OBJ_MISC; l++)
+ topology->type_depth[l] = HWLOC_TYPE_DEPTH_UNKNOWN;
+ topology->type_depth[HWLOC_OBJ_BRIDGE] = HWLOC_TYPE_DEPTH_BRIDGE;
+ topology->type_depth[HWLOC_OBJ_PCI_DEVICE] = HWLOC_TYPE_DEPTH_PCI_DEVICE;
+ topology->type_depth[HWLOC_OBJ_OS_DEVICE] = HWLOC_TYPE_DEPTH_OS_DEVICE;
+
+ /* Create the actual machine object, but don't touch its attributes yet
+ * since the OS backend may still change the object into something else
+ * (for instance System)
+ */
+ root_obj = hwloc_alloc_setup_object(HWLOC_OBJ_MACHINE, 0);
+ root_obj->depth = 0;
+ root_obj->logical_index = 0;
+ root_obj->sibling_rank = 0;
+ topology->levels[0][0] = root_obj;
+}
+
+int
+hwloc_topology_init (struct hwloc_topology **topologyp)
+{
+ struct hwloc_topology *topology;
+ int i;
+
+ topology = malloc (sizeof (struct hwloc_topology));
+ if(!topology)
+ return -1;
+
+ hwloc_components_init(topology);
+
+ /* Setup topology context */
+ topology->is_loaded = 0;
+ topology->flags = 0;
+ topology->is_thissystem = 1;
+ topology->pid = 0;
+ topology->userdata = NULL;
+
+ topology->support.discovery = malloc(sizeof(*topology->support.discovery));
+ topology->support.cpubind = malloc(sizeof(*topology->support.cpubind));
+ topology->support.membind = malloc(sizeof(*topology->support.membind));
+
+ /* Only ignore useless cruft by default */
+ for(i = HWLOC_OBJ_SYSTEM; i < HWLOC_OBJ_TYPE_MAX; i++)
+ topology->ignored_types[i] = HWLOC_IGNORE_TYPE_NEVER;
+ topology->ignored_types[HWLOC_OBJ_GROUP] = HWLOC_IGNORE_TYPE_KEEP_STRUCTURE;
+
+ hwloc_distances_init(topology);
+
+ topology->userdata_export_cb = NULL;
+ topology->userdata_import_cb = NULL;
+ topology->userdata_not_decoded = 0;
+
+ /* Make the topology look like something coherent but empty */
+ hwloc_topology_setup_defaults(topology);
+
+ *topologyp = topology;
+ return 0;
+}
+
+int
+hwloc_topology_set_pid(struct hwloc_topology *topology __hwloc_attribute_unused,
+ hwloc_pid_t pid __hwloc_attribute_unused)
+{
+ /* this does *not* change the backend */
+#ifdef HWLOC_LINUX_SYS
+ topology->pid = pid;
+ return 0;
+#else /* HWLOC_LINUX_SYS */
+ errno = ENOSYS;
+ return -1;
+#endif /* HWLOC_LINUX_SYS */
+}
+
+int
+hwloc_topology_set_fsroot(struct hwloc_topology *topology, const char *fsroot_path)
+{
+ return hwloc_disc_component_force_enable(topology,
+ 0 /* api */,
+ HWLOC_DISC_COMPONENT_TYPE_CPU, "linux",
+ fsroot_path, NULL, NULL);
+}
+
+int
+hwloc_topology_set_synthetic(struct hwloc_topology *topology, const char *description)
+{
+ return hwloc_disc_component_force_enable(topology,
+ 0 /* api */,
+ -1, "synthetic",
+ description, NULL, NULL);
+}
+
+int
+hwloc_topology_set_xml(struct hwloc_topology *topology,
+ const char *xmlpath)
+{
+ return hwloc_disc_component_force_enable(topology,
+ 0 /* api */,
+ -1, "xml",
+ xmlpath, NULL, NULL);
+}
+
+int
+hwloc_topology_set_xmlbuffer(struct hwloc_topology *topology,
+ const char *xmlbuffer,
+ int size)
+{
+ return hwloc_disc_component_force_enable(topology,
+ 0 /* api */,
+ -1, "xml", NULL,
+ xmlbuffer, (void*) (uintptr_t) size);
+}
+
+int
+hwloc_topology_set_custom(struct hwloc_topology *topology)
+{
+ return hwloc_disc_component_force_enable(topology,
+ 0 /* api */,
+ -1, "custom",
+ NULL, NULL, NULL);
+}
+
+int
+hwloc_topology_set_flags (struct hwloc_topology *topology, unsigned long flags)
+{
+ if (topology->is_loaded) {
+ /* actually harmless */
+ errno = EBUSY;
+ return -1;
+ }
+ topology->flags = flags;
+ return 0;
+}
+
+unsigned long
+hwloc_topology_get_flags (struct hwloc_topology *topology)
+{
+ return topology->flags;
+}
+
+int
+hwloc_topology_ignore_type(struct hwloc_topology *topology, hwloc_obj_type_t type)
+{
+ if (type >= HWLOC_OBJ_TYPE_MAX) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (type == HWLOC_OBJ_PU) {
+ /* we need the PU level */
+ errno = EINVAL;
+ return -1;
+ } else if (hwloc_obj_type_is_io(type)) {
+ /* I/O devices aren't in any level, use topology flags to ignore them */
+ errno = EINVAL;
+ return -1;
+ }
+
+ topology->ignored_types[type] = HWLOC_IGNORE_TYPE_ALWAYS;
+ return 0;
+}
+
+int
+hwloc_topology_ignore_type_keep_structure(struct hwloc_topology *topology, hwloc_obj_type_t type)
+{
+ if (type >= HWLOC_OBJ_TYPE_MAX) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ if (type == HWLOC_OBJ_PU) {
+ /* we need the PU level */
+ errno = EINVAL;
+ return -1;
+ } else if (hwloc_obj_type_is_io(type)) {
+ /* I/O devices aren't in any level, use topology flags to ignore them */
+ errno = EINVAL;
+ return -1;
+ }
+
+ topology->ignored_types[type] = HWLOC_IGNORE_TYPE_KEEP_STRUCTURE;
+ return 0;
+}
+
+int
+hwloc_topology_ignore_all_keep_structure(struct hwloc_topology *topology)
+{
+ unsigned type;
+ for(type = HWLOC_OBJ_SYSTEM; type < HWLOC_OBJ_TYPE_MAX; type++)
+ if (type != HWLOC_OBJ_PU
+ && !hwloc_obj_type_is_io((hwloc_obj_type_t) type))
+ topology->ignored_types[type] = HWLOC_IGNORE_TYPE_KEEP_STRUCTURE;
+ return 0;
+}
+
+/* traverse the tree and free everything.
+ * only use first_child/next_sibling so that it works before load()
+ * and may be used when switching between backend.
+ */
+static void
+hwloc_topology_clear_tree (struct hwloc_topology *topology, struct hwloc_obj *root)
+{
+ hwloc_obj_t child = root->first_child;
+ while (child) {
+ hwloc_obj_t nextchild = child->next_sibling;
+ hwloc_topology_clear_tree (topology, child);
+ child = nextchild;
+ }
+ hwloc_free_unlinked_object (root);
+}
+
+void
+hwloc_topology_clear (struct hwloc_topology *topology)
+{
+ unsigned l;
+ hwloc_topology_clear_tree (topology, topology->levels[0][0]);
+ for (l=0; l<topology->nb_levels; l++) {
+ free(topology->levels[l]);
+ topology->levels[l] = NULL;
+ }
+ free(topology->bridge_level);
+ free(topology->pcidev_level);
+ free(topology->osdev_level);
+}
+
+void
+hwloc_topology_destroy (struct hwloc_topology *topology)
+{
+ hwloc_backends_disable_all(topology);
+ hwloc_components_destroy_all(topology);
+
+ hwloc_topology_clear(topology);
+ hwloc_distances_destroy(topology);
+
+ free(topology->support.discovery);
+ free(topology->support.cpubind);
+ free(topology->support.membind);
+ free(topology);
+}
+
+int
+hwloc_topology_load (struct hwloc_topology *topology)
+{
+ int err;
+
+ if (topology->is_loaded) {
+ errno = EBUSY;
+ return -1;
+ }
+
+ if (getenv("HWLOC_XML_USERDATA_NOT_DECODED"))
+ topology->userdata_not_decoded = 1;
+
+ /* enforce backend anyway if a FORCE variable was given */
+ {
+ const char *fsroot_path_env = getenv("HWLOC_FORCE_FSROOT");
+ if (fsroot_path_env)
+ hwloc_disc_component_force_enable(topology,
+ 1 /* env force */,
+ HWLOC_DISC_COMPONENT_TYPE_CPU, "linux",
+ fsroot_path_env, NULL, NULL);
+ }
+ {
+ const char *xmlpath_env = getenv("HWLOC_FORCE_XMLFILE");
+ if (xmlpath_env)
+ hwloc_disc_component_force_enable(topology,
+ 1 /* env force */,
+ -1, "xml",
+ xmlpath_env, NULL, NULL);
+ }
+
+ /* only apply non-FORCE variables if we have not changed the backend yet */
+ if (!topology->backends) {
+ const char *fsroot_path_env = getenv("HWLOC_FSROOT");
+ if (fsroot_path_env)
+ hwloc_disc_component_force_enable(topology,
+ 1 /* env force */,
+ HWLOC_DISC_COMPONENT_TYPE_CPU, "linux",
+ fsroot_path_env, NULL, NULL);
+ }
+ if (!topology->backends) {
+ const char *xmlpath_env = getenv("HWLOC_XMLFILE");
+ if (xmlpath_env)
+ hwloc_disc_component_force_enable(topology,
+ 1 /* env force */,
+ -1, "xml",
+ xmlpath_env, NULL, NULL);
+ }
+
+ /* instantiate all possible other backends now */
+ hwloc_disc_components_enable_others(topology);
+ /* now that backends are enabled, update the thissystem flag */
+ hwloc_backends_is_thissystem(topology);
+ /*
+ * Now set binding hooks according to topology->is_thissystem
+ * and what the native OS backend offers.
+ */
+ hwloc_set_binding_hooks(topology);
+
+ /* get distance matrix from the environment are store them (as indexes) in the topology.
+ * indexes will be converted into objects later once the tree will be filled
+ */
+ hwloc_distances_set_from_env(topology);
+
+ /* actual topology discovery */
+ err = hwloc_discover(topology);
+ if (err < 0)
+ goto out;
+
+#ifndef HWLOC_DEBUG
+ if (getenv("HWLOC_DEBUG_CHECK"))
+#endif
+ hwloc_topology_check(topology);
+
+ topology->is_loaded = 1;
+ return 0;
+
+ out:
+ hwloc_topology_clear(topology);
+ hwloc_distances_destroy(topology);
+ hwloc_topology_setup_defaults(topology);
+ hwloc_backends_disable_all(topology);
+ return -1;
+}
+
+int
+hwloc_topology_restrict(struct hwloc_topology *topology, hwloc_const_cpuset_t cpuset, unsigned long flags)
+{
+ hwloc_bitmap_t droppedcpuset, droppednodeset;
+
+ if (!topology->is_loaded) {
+ errno = EINVAL;
+ return -1;
+ }
+
+ /* make sure we'll keep something in the topology */
+ if (!hwloc_bitmap_intersects(cpuset, topology->levels[0][0]->cpuset)) {
+ errno = EINVAL; /* easy failure, just don't touch the topology */
+ return -1;
+ }
+
+ droppedcpuset = hwloc_bitmap_alloc();
+ droppednodeset = hwloc_bitmap_alloc();
+
+ /* drop object based on the reverse of cpuset, and fill the 'dropped' nodeset */
+ hwloc_bitmap_not(droppedcpuset, cpuset);
+ restrict_object(topology, flags, &topology->levels[0][0], droppedcpuset, droppednodeset, 0 /* root cannot be removed */);
+ /* update nodesets according to dropped nodeset */
+ restrict_object_nodeset(topology, topology->levels[0][0], droppednodeset);
+
+ hwloc_bitmap_free(droppedcpuset);
+ hwloc_bitmap_free(droppednodeset);
+
+ hwloc_connect_children(topology->levels[0][0]);
+ if (hwloc_connect_levels(topology) < 0)
+ goto out;
+
+ propagate_total_memory(topology->levels[0][0]);
+ hwloc_distances_restrict(topology, flags);
+ hwloc_distances_finalize_os(topology);
+ hwloc_distances_finalize_logical(topology);
+
+#ifndef HWLOC_DEBUG
+ if (getenv("HWLOC_DEBUG_CHECK"))
+#endif
+ hwloc_topology_check(topology);
+
+ return 0;
+
+ out:
+ /* unrecoverable failure, re-init the topology */
+ hwloc_topology_clear(topology);
+ hwloc_distances_destroy(topology);
+ hwloc_topology_setup_defaults(topology);
+ return -1;
+}
+
+int
+hwloc_topology_is_thissystem(struct hwloc_topology *topology)
+{
+ return topology->is_thissystem;
+}
+
+unsigned
+hwloc_topology_get_depth(struct hwloc_topology *topology)
+{
+ return topology->nb_levels;
+}
+
+#ifndef NDEBUG /* assert only enabled if !NDEBUG */
+
+/* check children between a parent object */
+static void
+hwloc__check_children(struct hwloc_obj *parent)
+{
+ unsigned j;
+
+ if (!parent->arity) {
+ /* check whether that parent has no children for real */
+ assert(!parent->children);
+ assert(!parent->first_child);
+ assert(!parent->last_child);
+ return;
+ }
+ /* check whether that parent has children for real */
+ assert(parent->children);
+ assert(parent->first_child);
+ assert(parent->last_child);
+
+ /* first child specific checks */
+ assert(parent->first_child->sibling_rank == 0);
+ assert(parent->first_child == parent->children[0]);
+ assert(parent->first_child->prev_sibling == NULL);
+
+ /* last child specific checks */
+ assert(parent->last_child->sibling_rank == parent->arity-1);
+ assert(parent->last_child == parent->children[parent->arity-1]);
+ assert(parent->last_child->next_sibling == NULL);
+
+ /* check that parent->cpuset == exclusive OR of children
+ * (can be wrong for complete_cpuset since disallowed/offline/unknown PUs can be removed)
+ */
+ if (parent->cpuset) {
+ hwloc_bitmap_t remaining_parent_set = hwloc_bitmap_dup(parent->cpuset);
+ for(j=0; j<parent->arity; j++) {
+ if (!parent->children[j]->cpuset)
+ continue;
+ /* check that child cpuset is included in the reminder of the parent */
+ assert(hwloc_bitmap_isincluded(parent->children[j]->cpuset, remaining_parent_set));
+ hwloc_bitmap_andnot(remaining_parent_set, remaining_parent_set, parent->children[j]->cpuset);
+ }
+ if (parent->type == HWLOC_OBJ_PU) {
+ /* if parent is a PU, its os_index bit may remain.
+ * it may be in a Misc child inserted by cpuset, or could be in no child */
+ if (hwloc_bitmap_weight(remaining_parent_set) == 1)
+ assert((unsigned) hwloc_bitmap_first(remaining_parent_set) == parent->os_index);
+ else
+ assert(hwloc_bitmap_iszero(remaining_parent_set));
+ } else {
+ /* nothing remains */
+ assert(hwloc_bitmap_iszero(remaining_parent_set));
+ }
+ hwloc_bitmap_free(remaining_parent_set);
+ }
+
+ /* check that children complete_cpuset are properly ordered, empty ones may be anywhere
+ * (can be wrong for main cpuset since removed PUs can break the ordering).
+ */
+ if (parent->complete_cpuset) {
+ int firstchild;
+ int prev_firstchild = -1; /* -1 works fine with first comparisons below */
+ for(j=0; j<parent->arity; j++) {
+ if (!parent->children[j]->complete_cpuset
+ || hwloc_bitmap_iszero(parent->children[j]->complete_cpuset))
+ continue;
+
+ firstchild = hwloc_bitmap_first(parent->children[j]->complete_cpuset);
+ assert(prev_firstchild < firstchild);
+ prev_firstchild = firstchild;
+ }
+ }
+
+ /* checks for all children */
+ for(j=1; j<parent->arity; j++) {
+ assert(parent->children[j]->parent == parent);
+ assert(parent->children[j]->sibling_rank == j);
+ assert(parent->children[j-1]->next_sibling == parent->children[j]);
+ assert(parent->children[j]->prev_sibling == parent->children[j-1]);
+ }
+}
+
+static void
+hwloc__check_children_depth(struct hwloc_topology *topology, struct hwloc_obj *parent)
+{
+ hwloc_obj_t child = NULL;
+ for_each_child(child, parent) {
+ if (child->type == HWLOC_OBJ_BRIDGE)
+ assert(child->depth == (unsigned) HWLOC_TYPE_DEPTH_BRIDGE);
+ else if (child->type == HWLOC_OBJ_PCI_DEVICE)
+ assert(child->depth == (unsigned) HWLOC_TYPE_DEPTH_PCI_DEVICE);
+ else if (child->type == HWLOC_OBJ_OS_DEVICE)
+ assert(child->depth == (unsigned) HWLOC_TYPE_DEPTH_OS_DEVICE);
+ else if (child->type == HWLOC_OBJ_MISC)
+ assert(child->depth == (unsigned) -1);
+ else if (parent->depth != (unsigned) -1)
+ assert(child->depth > parent->depth);
+ hwloc__check_children_depth(topology, child);
+ }
+}
+
+/* check a whole topology structure */
+void
+hwloc_topology_check(struct hwloc_topology *topology)
+{
+ struct hwloc_obj *obj;
+ hwloc_obj_type_t type;
+ unsigned i, j, depth;
+
+ /* check type orders */
+ for (type = HWLOC_OBJ_SYSTEM; type < HWLOC_OBJ_TYPE_MAX; type++) {
+ assert(hwloc_get_order_type(hwloc_get_type_order(type)) == type);
+ }
+ for (i = hwloc_get_type_order(HWLOC_OBJ_SYSTEM);
+ i <= hwloc_get_type_order(HWLOC_OBJ_CORE); i++) {
+ assert(i == hwloc_get_type_order(hwloc_get_order_type(i)));
+ }
+
+ /* check that last level is PU */
+ assert(hwloc_get_depth_type(topology, hwloc_topology_get_depth(topology)-1) == HWLOC_OBJ_PU);
+ /* check that other levels are not PU */
+ for(i=1; i<hwloc_topology_get_depth(topology)-1; i++)
+ assert(hwloc_get_depth_type(topology, i) != HWLOC_OBJ_PU);
+
+ /* top-level specific checks */
+ assert(hwloc_get_nbobjs_by_depth(topology, 0) == 1);
+ obj = hwloc_get_root_obj(topology);
+ assert(obj);
+ assert(!obj->parent);
+
+ depth = hwloc_topology_get_depth(topology);
+
+ /* check each level */
+ for(i=0; i<depth; i++) {
+ unsigned width = hwloc_get_nbobjs_by_depth(topology, i);
+ struct hwloc_obj *prev = NULL;
+
+ /* check each object of the level */
+ for(j=0; j<width; j++) {
+ obj = hwloc_get_obj_by_depth(topology, i, j);
+ /* check that the object is corrected placed horizontally and vertically */
+ assert(obj);
+ assert(obj->depth == i);
+ assert(obj->logical_index == j);
+ /* check that all objects in the level have the same type */
+ if (prev) {
+ assert(hwloc_type_cmp(obj, prev) == HWLOC_OBJ_EQUAL);
+ assert(prev->next_cousin == obj);
+ assert(obj->prev_cousin == prev);
+ }
+ if (obj->complete_cpuset) {
+ if (obj->cpuset)
+ assert(hwloc_bitmap_isincluded(obj->cpuset, obj->complete_cpuset));
+ if (obj->online_cpuset)
+ assert(hwloc_bitmap_isincluded(obj->online_cpuset, obj->complete_cpuset));
+ if (obj->allowed_cpuset)
+ assert(hwloc_bitmap_isincluded(obj->allowed_cpuset, obj->complete_cpuset));
+ }
+ if (obj->complete_nodeset) {
+ if (obj->nodeset)
+ assert(hwloc_bitmap_isincluded(obj->nodeset, obj->complete_nodeset));
+ if (obj->allowed_nodeset)
+ assert(hwloc_bitmap_isincluded(obj->allowed_nodeset, obj->complete_nodeset));
+ }
+ /* check that PUs and NUMA nodes have cpuset/nodeset */
+ if (obj->type == HWLOC_OBJ_PU) {
+ assert(obj->cpuset);
+ assert(obj->complete_cpuset);
+ assert(hwloc_bitmap_weight(obj->complete_cpuset) == 1);
+ assert(hwloc_bitmap_first(obj->complete_cpuset) == (int) obj->os_index);
+ }
+ if (obj->type == HWLOC_OBJ_NUMANODE) {
+ assert(obj->nodeset);
+ assert(obj->complete_nodeset);
+ assert(hwloc_bitmap_weight(obj->complete_nodeset) == 1);
+ assert(hwloc_bitmap_first(obj->complete_nodeset) == (int) obj->os_index);
+ }
+ /* check children */
+ hwloc__check_children(obj);
+ prev = obj;
+ }
+
+ /* check first object of the level */
+ obj = hwloc_get_obj_by_depth(topology, i, 0);
+ assert(obj);
+ assert(!obj->prev_cousin);
+
+ /* check type */
+ assert(hwloc_get_depth_type(topology, i) == obj->type);
+ assert(i == (unsigned) hwloc_get_type_depth(topology, obj->type) ||
+ HWLOC_TYPE_DEPTH_MULTIPLE == hwloc_get_type_depth(topology, obj->type));
+
+ /* check last object of the level */
+ obj = hwloc_get_obj_by_depth(topology, i, width-1);
+ assert(obj);
+ assert(!obj->next_cousin);
+
+ /* check last+1 object of the level */
+ obj = hwloc_get_obj_by_depth(topology, i, width);
+ assert(!obj);
+ }
+
+ /* check bottom objects */
+ assert(hwloc_get_nbobjs_by_depth(topology, depth-1) > 0);
+ for(j=0; j<hwloc_get_nbobjs_by_depth(topology, depth-1); j++) {
+ obj = hwloc_get_obj_by_depth(topology, depth-1, j);
+ assert(obj);
+ /* bottom-level object must always be PU */
+ assert(obj->type == HWLOC_OBJ_PU);
+ }
+
+ /* check relative depths */
+ obj = hwloc_get_root_obj(topology);
+ assert(obj->depth == 0);
+ hwloc__check_children_depth(topology, obj);
+}
+
+#else /* NDEBUG */
+
+void
+hwloc_topology_check(struct hwloc_topology *topology __hwloc_attribute_unused)
+{
+}
+
+#endif /* NDEBUG */
+
+const struct hwloc_topology_support *
+hwloc_topology_get_support(struct hwloc_topology * topology)
+{
+ return &topology->support;
+}
+
+void hwloc_topology_set_userdata(struct hwloc_topology * topology, const void *userdata)
+{
+ topology->userdata = (void *) userdata;
+}
+
+void * hwloc_topology_get_userdata(struct hwloc_topology * topology)
+{
+ return topology->userdata;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/private.h>
+#include <private/misc.h>
+#include <private/debug.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif /* HAVE_STRINGS_H */
+
+int
+hwloc_get_type_depth (struct hwloc_topology *topology, hwloc_obj_type_t type)
+{
+ if ((int)type < HWLOC_OBJ_SYSTEM || (int)type >= HWLOC_OBJ_TYPE_MAX)
+ return HWLOC_TYPE_DEPTH_UNKNOWN;
+ else
+ return topology->type_depth[type];
+}
+
+hwloc_obj_type_t
+hwloc_get_depth_type (hwloc_topology_t topology, unsigned depth)
+{
+ if (depth >= topology->nb_levels)
+ switch (depth) {
+ case HWLOC_TYPE_DEPTH_BRIDGE:
+ return HWLOC_OBJ_BRIDGE;
+ case HWLOC_TYPE_DEPTH_PCI_DEVICE:
+ return HWLOC_OBJ_PCI_DEVICE;
+ case HWLOC_TYPE_DEPTH_OS_DEVICE:
+ return HWLOC_OBJ_OS_DEVICE;
+ default:
+ return (hwloc_obj_type_t) -1;
+ }
+ return topology->levels[depth][0]->type;
+}
+
+unsigned
+hwloc_get_nbobjs_by_depth (struct hwloc_topology *topology, unsigned depth)
+{
+ if (depth >= topology->nb_levels)
+ switch (depth) {
+ case HWLOC_TYPE_DEPTH_BRIDGE:
+ return topology->bridge_nbobjects;
+ case HWLOC_TYPE_DEPTH_PCI_DEVICE:
+ return topology->pcidev_nbobjects;
+ case HWLOC_TYPE_DEPTH_OS_DEVICE:
+ return topology->osdev_nbobjects;
+ default:
+ return 0;
+ }
+ return topology->level_nbobjects[depth];
+}
+
+struct hwloc_obj *
+hwloc_get_obj_by_depth (struct hwloc_topology *topology, unsigned depth, unsigned idx)
+{
+ if (depth >= topology->nb_levels)
+ switch (depth) {
+ case HWLOC_TYPE_DEPTH_BRIDGE:
+ return idx < topology->bridge_nbobjects ? topology->bridge_level[idx] : NULL;
+ case HWLOC_TYPE_DEPTH_PCI_DEVICE:
+ return idx < topology->pcidev_nbobjects ? topology->pcidev_level[idx] : NULL;
+ case HWLOC_TYPE_DEPTH_OS_DEVICE:
+ return idx < topology->osdev_nbobjects ? topology->osdev_level[idx] : NULL;
+ default:
+ return NULL;
+ }
+ if (idx >= topology->level_nbobjects[depth])
+ return NULL;
+ return topology->levels[depth][idx];
+}
+
+unsigned hwloc_get_closest_objs (struct hwloc_topology *topology, struct hwloc_obj *src, struct hwloc_obj **objs, unsigned max)
+{
+ struct hwloc_obj *parent, *nextparent, **src_objs;
+ int i,src_nbobjects;
+ unsigned stored = 0;
+
+ if (!src->cpuset)
+ return 0;
+
+ src_nbobjects = topology->level_nbobjects[src->depth];
+ src_objs = topology->levels[src->depth];
+
+ parent = src;
+ while (stored < max) {
+ while (1) {
+ nextparent = parent->parent;
+ if (!nextparent)
+ goto out;
+ if (!nextparent->cpuset || !hwloc_bitmap_isequal(parent->cpuset, nextparent->cpuset))
+ break;
+ parent = nextparent;
+ }
+
+ if (!nextparent->cpuset)
+ break;
+
+ /* traverse src's objects and find those that are in nextparent and were not in parent */
+ for(i=0; i<src_nbobjects; i++) {
+ if (hwloc_bitmap_isincluded(src_objs[i]->cpuset, nextparent->cpuset)
+ && !hwloc_bitmap_isincluded(src_objs[i]->cpuset, parent->cpuset)) {
+ objs[stored++] = src_objs[i];
+ if (stored == max)
+ goto out;
+ }
+ }
+ parent = nextparent;
+ }
+
+ out:
+ return stored;
+}
+
+static int
+hwloc__get_largest_objs_inside_cpuset (struct hwloc_obj *current, hwloc_const_bitmap_t set,
+ struct hwloc_obj ***res, int *max)
+{
+ int gotten = 0;
+ unsigned i;
+
+ /* the caller must ensure this */
+ if (*max <= 0)
+ return 0;
+
+ if (hwloc_bitmap_isequal(current->cpuset, set)) {
+ **res = current;
+ (*res)++;
+ (*max)--;
+ return 1;
+ }
+
+ for (i=0; i<current->arity; i++) {
+ hwloc_bitmap_t subset = hwloc_bitmap_dup(set);
+ int ret;
+
+ /* split out the cpuset part corresponding to this child and see if there's anything to do */
+ if (current->children[i]->cpuset) {
+ hwloc_bitmap_and(subset, subset, current->children[i]->cpuset);
+ if (hwloc_bitmap_iszero(subset)) {
+ hwloc_bitmap_free(subset);
+ continue;
+ }
+ }
+
+ ret = hwloc__get_largest_objs_inside_cpuset (current->children[i], subset, res, max);
+ gotten += ret;
+ hwloc_bitmap_free(subset);
+
+ /* if no more room to store remaining objects, return what we got so far */
+ if (!*max)
+ break;
+ }
+
+ return gotten;
+}
+
+int
+hwloc_get_largest_objs_inside_cpuset (struct hwloc_topology *topology, hwloc_const_bitmap_t set,
+ struct hwloc_obj **objs, int max)
+{
+ struct hwloc_obj *current = topology->levels[0][0];
+
+ if (!current->cpuset || !hwloc_bitmap_isincluded(set, current->cpuset))
+ return -1;
+
+ if (max <= 0)
+ return 0;
+
+ return hwloc__get_largest_objs_inside_cpuset (current, set, &objs, &max);
+}
+
+const char *
+hwloc_obj_type_string (hwloc_obj_type_t obj)
+{
+ switch (obj)
+ {
+ case HWLOC_OBJ_SYSTEM: return "System";
+ case HWLOC_OBJ_MACHINE: return "Machine";
+ case HWLOC_OBJ_MISC: return "Misc";
+ case HWLOC_OBJ_GROUP: return "Group";
+ case HWLOC_OBJ_NUMANODE: return "NUMANode";
+ case HWLOC_OBJ_PACKAGE: return "Package";
+ case HWLOC_OBJ_CACHE: return "Cache";
+ case HWLOC_OBJ_CORE: return "Core";
+ case HWLOC_OBJ_BRIDGE: return "Bridge";
+ case HWLOC_OBJ_PCI_DEVICE: return "PCIDev";
+ case HWLOC_OBJ_OS_DEVICE: return "OSDev";
+ case HWLOC_OBJ_PU: return "PU";
+ default: return "Unknown";
+ }
+}
+
+hwloc_obj_type_t
+hwloc_obj_type_of_string (const char * string)
+{
+ if (!strcasecmp(string, "System")) return HWLOC_OBJ_SYSTEM;
+ if (!strcasecmp(string, "Machine")) return HWLOC_OBJ_MACHINE;
+ if (!strcasecmp(string, "Misc")) return HWLOC_OBJ_MISC;
+ if (!strcasecmp(string, "Group")) return HWLOC_OBJ_GROUP;
+ if (!strcasecmp(string, "NUMANode") || !strcasecmp(string, "Node")) return HWLOC_OBJ_NUMANODE;
+ if (!strcasecmp(string, "Package") || !strcasecmp(string, "Socket") /* backward compat with v1.10 */) return HWLOC_OBJ_PACKAGE;
+ if (!strcasecmp(string, "Cache")) return HWLOC_OBJ_CACHE;
+ if (!strcasecmp(string, "Core")) return HWLOC_OBJ_CORE;
+ if (!strcasecmp(string, "PU")) return HWLOC_OBJ_PU;
+ if (!strcasecmp(string, "Bridge") || !strcasecmp(string, "HostBridge") || !strcasecmp(string, "PCIBridge")) return HWLOC_OBJ_BRIDGE;
+ if (!strcasecmp(string, "PCIDev")) return HWLOC_OBJ_PCI_DEVICE;
+ if (!strcasecmp(string, "OSDev")) return HWLOC_OBJ_OS_DEVICE;
+ return (hwloc_obj_type_t) -1;
+}
+
+int
+hwloc_obj_type_sscanf(const char *string, hwloc_obj_type_t *typep, int *depthattrp, void *typeattrp, size_t typeattrsize)
+{
+ hwloc_obj_type_t type = (hwloc_obj_type_t) -1;
+ int depthattr = -1;
+ hwloc_obj_cache_type_t cachetypeattr = (hwloc_obj_cache_type_t) -1; /* unspecified */
+ char *end;
+
+ /* never match the ending \0 since we want to match things like core:2 too.
+ * just use hwloc_strncasecmp() everywhere.
+ */
+
+ /* types without depthattr */
+
+ /* osdev first to avoid conflicts coproc/core etc */
+ if (!hwloc_strncasecmp(string, "os", 2)
+ || !hwloc_strncasecmp(string, "bloc", 4)
+ || !hwloc_strncasecmp(string, "net", 3)
+ || !hwloc_strncasecmp(string, "openfab", 7)
+ || !hwloc_strncasecmp(string, "dma", 3)
+ || !hwloc_strncasecmp(string, "gpu", 3)
+ || !hwloc_strncasecmp(string, "copro", 5)
+ || !hwloc_strncasecmp(string, "co-pro", 6)) {
+ type = HWLOC_OBJ_OS_DEVICE;
+ } else if (!hwloc_strncasecmp(string, "system", 2)) {
+ type = HWLOC_OBJ_SYSTEM;
+ } else if (!hwloc_strncasecmp(string, "machine", 2)) {
+ type = HWLOC_OBJ_MACHINE;
+ } else if (!hwloc_strncasecmp(string, "node", 2)
+ || !hwloc_strncasecmp(string, "numa", 2)) { /* matches node and numanode */
+ type = HWLOC_OBJ_NUMANODE;
+ } else if (!hwloc_strncasecmp(string, "package", 2)
+ || !hwloc_strncasecmp(string, "socket", 2)) { /* backward compat with v1.10 */
+ type = HWLOC_OBJ_PACKAGE;
+ } else if (!hwloc_strncasecmp(string, "core", 2)) {
+ type = HWLOC_OBJ_CORE;
+ } else if (!hwloc_strncasecmp(string, "pu", 2)) {
+ type = HWLOC_OBJ_PU;
+ } else if (!hwloc_strncasecmp(string, "misc", 4)) {
+ type = HWLOC_OBJ_MISC;
+ } else if (!hwloc_strncasecmp(string, "bridge", 4)
+ || !hwloc_strncasecmp(string, "hostbridge", 6)
+ || !hwloc_strncasecmp(string, "pcibridge", 5)) {
+ type = HWLOC_OBJ_BRIDGE;
+ } else if (!hwloc_strncasecmp(string, "pci", 3)) {
+ type = HWLOC_OBJ_PCI_DEVICE;
+
+ /* types with depthattr */
+ } else if (!hwloc_strncasecmp(string, "cache", 2)) {
+ type = HWLOC_OBJ_CACHE;
+
+ } else if ((string[0] == 'l' || string[0] == 'L') && string[1] >= '0' && string[1] <= '9') {
+ type = HWLOC_OBJ_CACHE;
+ depthattr = strtol(string+1, &end, 10);
+ if (*end == 'd') {
+ cachetypeattr = HWLOC_OBJ_CACHE_DATA;
+ } else if (*end == 'i') {
+ cachetypeattr = HWLOC_OBJ_CACHE_INSTRUCTION;
+ } else if (*end == 'u') {
+ cachetypeattr = HWLOC_OBJ_CACHE_UNIFIED;
+ }
+
+ } else if (!hwloc_strncasecmp(string, "group", 2)) {
+ size_t length;
+ type = HWLOC_OBJ_GROUP;
+ length = strcspn(string, "0123456789");
+ if (length <= 5 && !hwloc_strncasecmp(string, "group", length)
+ && string[length] >= '0' && string[length] <= '9') {
+ depthattr = strtol(string+length, &end, 10);
+ }
+ } else
+ return -1;
+
+ *typep = type;
+ if (depthattrp)
+ *depthattrp = depthattr;
+ if (typeattrp) {
+ if (type == HWLOC_OBJ_CACHE && sizeof(hwloc_obj_cache_type_t) <= typeattrsize)
+ memcpy(typeattrp, &cachetypeattr, sizeof(hwloc_obj_cache_type_t));
+ }
+
+ return 0;
+}
+
+static const char *
+hwloc_pci_class_string(unsigned short class_id)
+{
+ switch ((class_id & 0xff00) >> 8) {
+ case 0x00:
+ switch (class_id) {
+ case 0x0001: return "VGA";
+ }
+ return "PCI";
+ case 0x01:
+ switch (class_id) {
+ case 0x0100: return "SCSI";
+ case 0x0101: return "IDE";
+ case 0x0102: return "Flop";
+ case 0x0103: return "IPI";
+ case 0x0104: return "RAID";
+ case 0x0105: return "ATA";
+ case 0x0106: return "SATA";
+ case 0x0107: return "SAS";
+ case 0x0108: return "NVMExp";
+ }
+ return "Stor";
+ case 0x02:
+ switch (class_id) {
+ case 0x0200: return "Ether";
+ case 0x0201: return "TokRn";
+ case 0x0202: return "FDDI";
+ case 0x0203: return "ATM";
+ case 0x0204: return "ISDN";
+ case 0x0205: return "WrdFip";
+ case 0x0206: return "PICMG";
+ case 0x0207: return "IB";
+ case 0x0208: return "FI";
+ }
+ return "Net";
+ case 0x03:
+ switch (class_id) {
+ case 0x0300: return "VGA";
+ case 0x0301: return "XGA";
+ case 0x0302: return "3D";
+ }
+ return "Disp";
+ case 0x04:
+ switch (class_id) {
+ case 0x0400: return "Video";
+ case 0x0401: return "Audio";
+ case 0x0402: return "Phone";
+ case 0x0403: return "Auddv";
+ }
+ return "MM";
+ case 0x05:
+ switch (class_id) {
+ case 0x0500: return "RAM";
+ case 0x0501: return "Flash";
+ }
+ return "Mem";
+ case 0x06:
+ switch (class_id) {
+ case 0x0600: return "Host";
+ case 0x0601: return "ISA";
+ case 0x0602: return "EISA";
+ case 0x0603: return "MC";
+ case 0x0604: return "PCI_B";
+ case 0x0605: return "PCMCIA";
+ case 0x0606: return "Nubus";
+ case 0x0607: return "CardBus";
+ case 0x0608: return "RACEway";
+ case 0x0609: return "PCI_SB";
+ case 0x060a: return "IB_B";
+ }
+ return "Bridg";
+ case 0x07:
+ switch (class_id) {
+ case 0x0700: return "Ser";
+ case 0x0701: return "Para";
+ case 0x0702: return "MSer";
+ case 0x0703: return "Modm";
+ case 0x0704: return "GPIB";
+ case 0x0705: return "SmrtCrd";
+ }
+ return "Comm";
+ case 0x08:
+ switch (class_id) {
+ case 0x0800: return "PIC";
+ case 0x0801: return "DMA";
+ case 0x0802: return "Time";
+ case 0x0803: return "RTC";
+ case 0x0804: return "HtPl";
+ case 0x0805: return "SD-HtPl";
+ case 0x0806: return "IOMMU";
+ }
+ return "Syst";
+ case 0x09:
+ switch (class_id) {
+ case 0x0900: return "Kbd";
+ case 0x0901: return "Pen";
+ case 0x0902: return "Mouse";
+ case 0x0903: return "Scan";
+ case 0x0904: return "Game";
+ }
+ return "In";
+ case 0x0a:
+ return "Dock";
+ case 0x0b:
+ switch (class_id) {
+ case 0x0b00: return "386";
+ case 0x0b01: return "486";
+ case 0x0b02: return "Pent";
+ case 0x0b10: return "Alpha";
+ case 0x0b20: return "PPC";
+ case 0x0b30: return "MIPS";
+ case 0x0b40: return "CoProc";
+ }
+ return "Proc";
+ case 0x0c:
+ switch (class_id) {
+ case 0x0c00: return "Firw";
+ case 0x0c01: return "ACCES";
+ case 0x0c02: return "SSA";
+ case 0x0c03: return "USB";
+ case 0x0c04: return "Fibre";
+ case 0x0c05: return "SMBus";
+ case 0x0c06: return "IB";
+ case 0x0c07: return "IPMI";
+ case 0x0c08: return "SERCOS";
+ case 0x0c09: return "CANBUS";
+ }
+ return "Ser";
+ case 0x0d:
+ switch (class_id) {
+ case 0x0d00: return "IRDA";
+ case 0x0d01: return "IR";
+ case 0x0d10: return "RF";
+ case 0x0d11: return "Blueth";
+ case 0x0d12: return "BroadB";
+ case 0x0d20: return "802.1a";
+ case 0x0d21: return "802.1b";
+ }
+ return "Wifi";
+ case 0x0e:
+ switch (class_id) {
+ case 0x0e00: return "I2O";
+ }
+ return "Intll";
+ case 0x0f:
+ switch (class_id) {
+ case 0x0f00: return "S-TV";
+ case 0x0f01: return "S-Aud";
+ case 0x0f02: return "S-Voice";
+ case 0x0f03: return "S-Data";
+ }
+ return "Satel";
+ case 0x10:
+ return "Crypt";
+ case 0x11:
+ return "Signl";
+ case 0x12:
+ return "Accel";
+ case 0x13:
+ return "Instr";
+ case 0xff:
+ return "Oth";
+ }
+ return "PCI";
+}
+
+static const char* hwloc_obj_cache_type_letter(hwloc_obj_cache_type_t type)
+{
+ switch (type) {
+ case HWLOC_OBJ_CACHE_UNIFIED: return "";
+ case HWLOC_OBJ_CACHE_DATA: return "d";
+ case HWLOC_OBJ_CACHE_INSTRUCTION: return "i";
+ default: return "unknown";
+ }
+}
+
+int
+hwloc_obj_type_snprintf(char * __hwloc_restrict string, size_t size, hwloc_obj_t obj, int verbose)
+{
+ hwloc_obj_type_t type = obj->type;
+ switch (type) {
+ case HWLOC_OBJ_MISC:
+ case HWLOC_OBJ_SYSTEM:
+ case HWLOC_OBJ_MACHINE:
+ case HWLOC_OBJ_NUMANODE:
+ case HWLOC_OBJ_PACKAGE:
+ case HWLOC_OBJ_CORE:
+ case HWLOC_OBJ_PU:
+ return hwloc_snprintf(string, size, "%s", hwloc_obj_type_string(type));
+ case HWLOC_OBJ_CACHE:
+ return hwloc_snprintf(string, size, "L%u%s%s", obj->attr->cache.depth,
+ hwloc_obj_cache_type_letter(obj->attr->cache.type),
+ verbose ? hwloc_obj_type_string(type): "");
+ case HWLOC_OBJ_GROUP:
+ /* TODO: more pretty presentation? */
+ if (obj->attr->group.depth != (unsigned) -1)
+ return hwloc_snprintf(string, size, "%s%u", hwloc_obj_type_string(type), obj->attr->group.depth);
+ else
+ return hwloc_snprintf(string, size, "%s", hwloc_obj_type_string(type));
+ case HWLOC_OBJ_BRIDGE:
+ if (verbose)
+ return hwloc_snprintf(string, size, "Bridge %s->%s",
+ obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI ? "PCI" : "Host",
+ "PCI");
+ else
+ return hwloc_snprintf(string, size, obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI ? "PCIBridge" : "HostBridge");
+ case HWLOC_OBJ_PCI_DEVICE:
+ return hwloc_snprintf(string, size, "PCI %04x:%04x",
+ obj->attr->pcidev.vendor_id, obj->attr->pcidev.device_id);
+ case HWLOC_OBJ_OS_DEVICE:
+ switch (obj->attr->osdev.type) {
+ case HWLOC_OBJ_OSDEV_BLOCK: return hwloc_snprintf(string, size, "Block");
+ case HWLOC_OBJ_OSDEV_NETWORK: return hwloc_snprintf(string, size, verbose ? "Network" : "Net");
+ case HWLOC_OBJ_OSDEV_OPENFABRICS: return hwloc_snprintf(string, size, "OpenFabrics");
+ case HWLOC_OBJ_OSDEV_DMA: return hwloc_snprintf(string, size, "DMA");
+ case HWLOC_OBJ_OSDEV_GPU: return hwloc_snprintf(string, size, "GPU");
+ case HWLOC_OBJ_OSDEV_COPROC: return hwloc_snprintf(string, size, verbose ? "Co-Processor" : "CoProc");
+ default:
+ if (size > 0)
+ *string = '\0';
+ return 0;
+ }
+ break;
+ default:
+ if (size > 0)
+ *string = '\0';
+ return 0;
+ }
+}
+
+int
+hwloc_obj_attr_snprintf(char * __hwloc_restrict string, size_t size, hwloc_obj_t obj, const char * separator, int verbose)
+{
+ const char *prefix = "";
+ char *tmp = string;
+ ssize_t tmplen = size;
+ int ret = 0;
+ int res;
+
+ /* make sure we output at least an empty string */
+ if (size)
+ *string = '\0';
+
+ /* print memory attributes */
+ res = 0;
+ if (verbose) {
+ if (obj->memory.local_memory)
+ res = hwloc_snprintf(tmp, tmplen, "%slocal=%lu%s%stotal=%lu%s",
+ prefix,
+ (unsigned long) hwloc_memory_size_printf_value(obj->memory.local_memory, verbose),
+ hwloc_memory_size_printf_unit(obj->memory.local_memory, verbose),
+ separator,
+ (unsigned long) hwloc_memory_size_printf_value(obj->memory.total_memory, verbose),
+ hwloc_memory_size_printf_unit(obj->memory.total_memory, verbose));
+ else if (obj->memory.total_memory)
+ res = hwloc_snprintf(tmp, tmplen, "%stotal=%lu%s",
+ prefix,
+ (unsigned long) hwloc_memory_size_printf_value(obj->memory.total_memory, verbose),
+ hwloc_memory_size_printf_unit(obj->memory.total_memory, verbose));
+ } else {
+ if (obj->memory.local_memory)
+ res = hwloc_snprintf(tmp, tmplen, "%s%lu%s",
+ prefix,
+ (unsigned long) hwloc_memory_size_printf_value(obj->memory.local_memory, verbose),
+ hwloc_memory_size_printf_unit(obj->memory.local_memory, verbose));
+ }
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (ret > 0)
+ prefix = separator;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+
+ /* printf type-specific attributes */
+ res = 0;
+ switch (obj->type) {
+ case HWLOC_OBJ_CACHE:
+ if (verbose) {
+ char assoc[32];
+ if (obj->attr->cache.associativity == -1)
+ snprintf(assoc, sizeof(assoc), "%sfully-associative", separator);
+ else if (obj->attr->cache.associativity == 0)
+ *assoc = '\0';
+ else
+ snprintf(assoc, sizeof(assoc), "%sways=%d", separator, obj->attr->cache.associativity);
+ res = hwloc_snprintf(tmp, tmplen, "%ssize=%lu%s%slinesize=%u%s",
+ prefix,
+ (unsigned long) hwloc_memory_size_printf_value(obj->attr->cache.size, verbose),
+ hwloc_memory_size_printf_unit(obj->attr->cache.size, verbose),
+ separator, obj->attr->cache.linesize,
+ assoc);
+ } else
+ res = hwloc_snprintf(tmp, tmplen, "%s%lu%s",
+ prefix,
+ (unsigned long) hwloc_memory_size_printf_value(obj->attr->cache.size, verbose),
+ hwloc_memory_size_printf_unit(obj->attr->cache.size, verbose));
+ break;
+ case HWLOC_OBJ_BRIDGE:
+ if (verbose) {
+ char up[128], down[64];
+ /* upstream is PCI or HOST */
+ if (obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI) {
+ char linkspeed[64]= "";
+ if (obj->attr->pcidev.linkspeed)
+ snprintf(linkspeed, sizeof(linkspeed), "%slink=%.2fGB/s", separator, obj->attr->pcidev.linkspeed);
+ snprintf(up, sizeof(up), "busid=%04x:%02x:%02x.%01x%sid=%04x:%04x%sclass=%04x(%s)%s",
+ obj->attr->pcidev.domain, obj->attr->pcidev.bus, obj->attr->pcidev.dev, obj->attr->pcidev.func, separator,
+ obj->attr->pcidev.vendor_id, obj->attr->pcidev.device_id, separator,
+ obj->attr->pcidev.class_id, hwloc_pci_class_string(obj->attr->pcidev.class_id), linkspeed);
+ } else
+ *up = '\0';
+ /* downstream is_PCI */
+ snprintf(down, sizeof(down), "buses=%04x:[%02x-%02x]",
+ obj->attr->bridge.downstream.pci.domain, obj->attr->bridge.downstream.pci.secondary_bus, obj->attr->bridge.downstream.pci.subordinate_bus);
+ if (*up)
+ res = hwloc_snprintf(string, size, "%s%s%s", up, separator, down);
+ else
+ res = hwloc_snprintf(string, size, "%s", down);
+ }
+ break;
+ case HWLOC_OBJ_PCI_DEVICE:
+ if (verbose) {
+ char linkspeed[64]= "";
+ char busid[16] = "[collapsed]";
+ if (obj->attr->pcidev.linkspeed)
+ snprintf(linkspeed, sizeof(linkspeed), "%slink=%.2fGB/s", separator, obj->attr->pcidev.linkspeed);
+ if (!hwloc_obj_get_info_by_name(obj, "lstopoCollapse"))
+ snprintf(busid, sizeof(busid), "%04x:%02x:%02x.%01x",
+ obj->attr->pcidev.domain, obj->attr->pcidev.bus, obj->attr->pcidev.dev, obj->attr->pcidev.func);
+ res = hwloc_snprintf(string, size, "busid=%s%sclass=%04x(%s)%s",
+ busid, separator,
+ obj->attr->pcidev.class_id, hwloc_pci_class_string(obj->attr->pcidev.class_id), linkspeed);
+ }
+ break;
+ default:
+ break;
+ }
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (ret > 0)
+ prefix = separator;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+
+ /* printf infos */
+ if (verbose) {
+ unsigned i;
+ for(i=0; i<obj->infos_count; i++) {
+ if (!strcmp(obj->infos[i].name, "lstopoCollapse"))
+ continue;
+ if (strchr(obj->infos[i].value, ' '))
+ res = hwloc_snprintf(tmp, tmplen, "%s%s=\"%s\"",
+ prefix,
+ obj->infos[i].name, obj->infos[i].value);
+ else
+ res = hwloc_snprintf(tmp, tmplen, "%s%s=%s",
+ prefix,
+ obj->infos[i].name, obj->infos[i].value);
+ if (res < 0)
+ return -1;
+ ret += res;
+ if (res >= tmplen)
+ res = tmplen>0 ? (int)tmplen - 1 : 0;
+ tmp += res;
+ tmplen -= res;
+ if (ret > 0)
+ prefix = separator;
+ }
+ }
+
+ return ret;
+}
+
+
+int
+hwloc_obj_snprintf(char *string, size_t size,
+ struct hwloc_topology *topology __hwloc_attribute_unused, struct hwloc_obj *l, const char *_indexprefix, int verbose)
+{
+ const char *indexprefix = _indexprefix ? _indexprefix : "#";
+ char os_index[12] = "";
+ char type[64];
+ char attr[128];
+ int attrlen;
+
+ if (l->os_index != (unsigned) -1) {
+ hwloc_snprintf(os_index, 12, "%s%u", indexprefix, l->os_index);
+ }
+
+ hwloc_obj_type_snprintf(type, sizeof(type), l, verbose);
+ attrlen = hwloc_obj_attr_snprintf(attr, sizeof(attr), l, " ", verbose);
+
+ if (attrlen > 0)
+ return hwloc_snprintf(string, size, "%s%s(%s)", type, os_index, attr);
+ else
+ return hwloc_snprintf(string, size, "%s%s", type, os_index);
+}
+
+int hwloc_obj_cpuset_snprintf(char *str, size_t size, size_t nobj, struct hwloc_obj * const *objs)
+{
+ hwloc_bitmap_t set = hwloc_bitmap_alloc();
+ int res;
+ unsigned i;
+
+ hwloc_bitmap_zero(set);
+ for(i=0; i<nobj; i++)
+ if (objs[i]->cpuset)
+ hwloc_bitmap_or(set, set, objs[i]->cpuset);
+
+ res = hwloc_bitmap_snprintf(str, size, set);
+ hwloc_bitmap_free(set);
+ return res;
+}
--- /dev/null
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+SUBDIRS = . ports xml
+DIST_SUBDIRS = ports xml linux rename
+
+if HWLOC_HAVE_LINUX
+SUBDIRS += linux
+endif HWLOC_HAVE_LINUX
+
+LDADD =
+
+LOG_COMPILER = $(builddir)/wrapper.sh
+
+check_PROGRAMS = hwloc_list_components \
+ hwloc_bitmap \
+ hwloc_bitmap_string \
+ hwloc_bitmap_compare_inclusion \
+ hwloc_get_closest_objs \
+ hwloc_get_obj_covering_cpuset \
+ hwloc_get_cache_covering_cpuset \
+ hwloc_get_largest_objs_inside_cpuset \
+ hwloc_get_next_obj_covering_cpuset \
+ hwloc_get_obj_inside_cpuset \
+ hwloc_get_shared_cache_covering_obj \
+ hwloc_get_obj_below_array_by_type \
+ hwloc_bitmap_first_last_weight \
+ hwloc_bitmap_singlify \
+ hwloc_type_depth \
+ hwloc_bind \
+ hwloc_get_last_cpu_location \
+ hwloc_get_area_memlocation \
+ hwloc_object_userdata \
+ hwloc_synthetic \
+ hwloc_custom \
+ hwloc_backends \
+ hwloc_pci_backend \
+ hwloc_is_thissystem \
+ hwloc_distances \
+ hwloc_groups \
+ hwloc_groups2 \
+ hwloc_insert_misc \
+ hwloc_topology_restrict \
+ hwloc_topology_dup \
+ hwloc_topology_diff \
+ hwloc_obj_infos \
+ hwloc_iodevs \
+ xmlbuffer \
+ gl \
+ intel-mic
+
+if HWLOC_HAVE_LINUX_LIBNUMA
+check_PROGRAMS += linux-libnuma
+endif HWLOC_HAVE_LINUX_LIBNUMA
+
+if HWLOC_HAVE_SCHED_SETAFFINITY
+check_PROGRAMS += glibc-sched
+endif HWLOC_HAVE_SCHED_SETAFFINITY
+
+if HWLOC_HAVE_LIBIBVERBS
+check_PROGRAMS += openfabrics-verbs
+endif HWLOC_HAVE_LIBIBVERBS
+
+if HWLOC_HAVE_MYRIEXPRESS
+check_PROGRAMS += myriexpress
+endif HWLOC_HAVE_MYRIEXPRESS
+
+if HWLOC_HAVE_OPENCL
+check_PROGRAMS += opencl
+endif HWLOC_HAVE_OPENCL
+
+if HWLOC_HAVE_CUDA
+check_PROGRAMS += cuda
+endif HWLOC_HAVE_CUDA
+
+if HWLOC_HAVE_CUDART
+check_PROGRAMS += cudart
+endif HWLOC_HAVE_CUDART
+
+if HWLOC_HAVE_NVML
+check_PROGRAMS += nvml
+endif HWLOC_HAVE_NVML
+
+TESTS = $(check_PROGRAMS)
+
+# The library has a different name depending on whether we are
+# building in standalone or embedded mode.
+if HWLOC_BUILD_STANDALONE
+hwloc_lib = libhwloc.la
+else
+hwloc_lib = libhwloc_embedded.la
+endif
+
+LDADD += $(HWLOC_top_builddir)/src/$(hwloc_lib)
+
+linux_libnuma_LDADD = $(LDADD) -lnuma
+openfabrics_verbs_LDADD = $(LDADD) -libverbs
+myriexpress_LDADD = $(LDADD) -lmyriexpress
+opencl_LDADD = $(LDADD) $(HWLOC_OPENCL_LIBS) $(HWLOC_OPENCL_LDFLAGS)
+cuda_LDADD = $(LDADD) -lcuda
+cudart_LDADD = $(LDADD) -lcuda -lcudart
+nvml_LDADD = $(LDADD) -lnvidia-ml
+hwloc_bind_LDADD = $(LDADD)
+if HWLOC_HAVE_PTHREAD
+hwloc_bind_LDADD += -lpthread
+endif
+
+# ship the embedded test code but don't actually let automake ever
+# look at it because we have another configure stuff in there
+EXTRA_DIST = embedded/autogen.sh \
+ embedded/configure.ac \
+ embedded/Makefile.am \
+ embedded/do_test.c \
+ embedded/main.c \
+ embedded/run-embedded-tests.sh \
+ embedded/README.txt \
+ embedded/config/README.txt
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+@HWLOC_HAVE_LINUX_TRUE@am__append_1 = linux
+check_PROGRAMS = hwloc_list_components$(EXEEXT) hwloc_bitmap$(EXEEXT) \
+ hwloc_bitmap_string$(EXEEXT) \
+ hwloc_bitmap_compare_inclusion$(EXEEXT) \
+ hwloc_get_closest_objs$(EXEEXT) \
+ hwloc_get_obj_covering_cpuset$(EXEEXT) \
+ hwloc_get_cache_covering_cpuset$(EXEEXT) \
+ hwloc_get_largest_objs_inside_cpuset$(EXEEXT) \
+ hwloc_get_next_obj_covering_cpuset$(EXEEXT) \
+ hwloc_get_obj_inside_cpuset$(EXEEXT) \
+ hwloc_get_shared_cache_covering_obj$(EXEEXT) \
+ hwloc_get_obj_below_array_by_type$(EXEEXT) \
+ hwloc_bitmap_first_last_weight$(EXEEXT) \
+ hwloc_bitmap_singlify$(EXEEXT) hwloc_type_depth$(EXEEXT) \
+ hwloc_bind$(EXEEXT) hwloc_get_last_cpu_location$(EXEEXT) \
+ hwloc_get_area_memlocation$(EXEEXT) \
+ hwloc_object_userdata$(EXEEXT) hwloc_synthetic$(EXEEXT) \
+ hwloc_custom$(EXEEXT) hwloc_backends$(EXEEXT) \
+ hwloc_pci_backend$(EXEEXT) hwloc_is_thissystem$(EXEEXT) \
+ hwloc_distances$(EXEEXT) hwloc_groups$(EXEEXT) \
+ hwloc_groups2$(EXEEXT) hwloc_insert_misc$(EXEEXT) \
+ hwloc_topology_restrict$(EXEEXT) hwloc_topology_dup$(EXEEXT) \
+ hwloc_topology_diff$(EXEEXT) hwloc_obj_infos$(EXEEXT) \
+ hwloc_iodevs$(EXEEXT) xmlbuffer$(EXEEXT) gl$(EXEEXT) \
+ intel-mic$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \
+ $(am__EXEEXT_3) $(am__EXEEXT_4) $(am__EXEEXT_5) \
+ $(am__EXEEXT_6) $(am__EXEEXT_7) $(am__EXEEXT_8)
+@HWLOC_HAVE_LINUX_LIBNUMA_TRUE@am__append_2 = linux-libnuma
+@HWLOC_HAVE_SCHED_SETAFFINITY_TRUE@am__append_3 = glibc-sched
+@HWLOC_HAVE_LIBIBVERBS_TRUE@am__append_4 = openfabrics-verbs
+@HWLOC_HAVE_MYRIEXPRESS_TRUE@am__append_5 = myriexpress
+@HWLOC_HAVE_OPENCL_TRUE@am__append_6 = opencl
+@HWLOC_HAVE_CUDA_TRUE@am__append_7 = cuda
+@HWLOC_HAVE_CUDART_TRUE@am__append_8 = cudart
+@HWLOC_HAVE_NVML_TRUE@am__append_9 = nvml
+@HWLOC_HAVE_PTHREAD_TRUE@am__append_10 = -lpthread
+subdir = tests
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = wrapper.sh
+CONFIG_CLEAN_VPATH_FILES =
+@HWLOC_HAVE_LINUX_LIBNUMA_TRUE@am__EXEEXT_1 = linux-libnuma$(EXEEXT)
+@HWLOC_HAVE_SCHED_SETAFFINITY_TRUE@am__EXEEXT_2 = \
+@HWLOC_HAVE_SCHED_SETAFFINITY_TRUE@ glibc-sched$(EXEEXT)
+@HWLOC_HAVE_LIBIBVERBS_TRUE@am__EXEEXT_3 = openfabrics-verbs$(EXEEXT)
+@HWLOC_HAVE_MYRIEXPRESS_TRUE@am__EXEEXT_4 = myriexpress$(EXEEXT)
+@HWLOC_HAVE_OPENCL_TRUE@am__EXEEXT_5 = opencl$(EXEEXT)
+@HWLOC_HAVE_CUDA_TRUE@am__EXEEXT_6 = cuda$(EXEEXT)
+@HWLOC_HAVE_CUDART_TRUE@am__EXEEXT_7 = cudart$(EXEEXT)
+@HWLOC_HAVE_NVML_TRUE@am__EXEEXT_8 = nvml$(EXEEXT)
+cuda_SOURCES = cuda.c
+cuda_OBJECTS = cuda.$(OBJEXT)
+cuda_DEPENDENCIES = $(LDADD)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+cudart_SOURCES = cudart.c
+cudart_OBJECTS = cudart.$(OBJEXT)
+cudart_DEPENDENCIES = $(LDADD)
+gl_SOURCES = gl.c
+gl_OBJECTS = gl.$(OBJEXT)
+gl_LDADD = $(LDADD)
+gl_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+glibc_sched_SOURCES = glibc-sched.c
+glibc_sched_OBJECTS = glibc-sched.$(OBJEXT)
+glibc_sched_LDADD = $(LDADD)
+glibc_sched_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_backends_SOURCES = hwloc_backends.c
+hwloc_backends_OBJECTS = hwloc_backends.$(OBJEXT)
+hwloc_backends_LDADD = $(LDADD)
+hwloc_backends_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_bind_SOURCES = hwloc_bind.c
+hwloc_bind_OBJECTS = hwloc_bind.$(OBJEXT)
+am__DEPENDENCIES_1 =
+hwloc_bind_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1)
+hwloc_bitmap_SOURCES = hwloc_bitmap.c
+hwloc_bitmap_OBJECTS = hwloc_bitmap.$(OBJEXT)
+hwloc_bitmap_LDADD = $(LDADD)
+hwloc_bitmap_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_bitmap_compare_inclusion_SOURCES = \
+ hwloc_bitmap_compare_inclusion.c
+hwloc_bitmap_compare_inclusion_OBJECTS = \
+ hwloc_bitmap_compare_inclusion.$(OBJEXT)
+hwloc_bitmap_compare_inclusion_LDADD = $(LDADD)
+hwloc_bitmap_compare_inclusion_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_bitmap_first_last_weight_SOURCES = \
+ hwloc_bitmap_first_last_weight.c
+hwloc_bitmap_first_last_weight_OBJECTS = \
+ hwloc_bitmap_first_last_weight.$(OBJEXT)
+hwloc_bitmap_first_last_weight_LDADD = $(LDADD)
+hwloc_bitmap_first_last_weight_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_bitmap_singlify_SOURCES = hwloc_bitmap_singlify.c
+hwloc_bitmap_singlify_OBJECTS = hwloc_bitmap_singlify.$(OBJEXT)
+hwloc_bitmap_singlify_LDADD = $(LDADD)
+hwloc_bitmap_singlify_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_bitmap_string_SOURCES = hwloc_bitmap_string.c
+hwloc_bitmap_string_OBJECTS = hwloc_bitmap_string.$(OBJEXT)
+hwloc_bitmap_string_LDADD = $(LDADD)
+hwloc_bitmap_string_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_custom_SOURCES = hwloc_custom.c
+hwloc_custom_OBJECTS = hwloc_custom.$(OBJEXT)
+hwloc_custom_LDADD = $(LDADD)
+hwloc_custom_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_distances_SOURCES = hwloc_distances.c
+hwloc_distances_OBJECTS = hwloc_distances.$(OBJEXT)
+hwloc_distances_LDADD = $(LDADD)
+hwloc_distances_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_area_memlocation_SOURCES = hwloc_get_area_memlocation.c
+hwloc_get_area_memlocation_OBJECTS = \
+ hwloc_get_area_memlocation.$(OBJEXT)
+hwloc_get_area_memlocation_LDADD = $(LDADD)
+hwloc_get_area_memlocation_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_cache_covering_cpuset_SOURCES = \
+ hwloc_get_cache_covering_cpuset.c
+hwloc_get_cache_covering_cpuset_OBJECTS = \
+ hwloc_get_cache_covering_cpuset.$(OBJEXT)
+hwloc_get_cache_covering_cpuset_LDADD = $(LDADD)
+hwloc_get_cache_covering_cpuset_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_closest_objs_SOURCES = hwloc_get_closest_objs.c
+hwloc_get_closest_objs_OBJECTS = hwloc_get_closest_objs.$(OBJEXT)
+hwloc_get_closest_objs_LDADD = $(LDADD)
+hwloc_get_closest_objs_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_largest_objs_inside_cpuset_SOURCES = \
+ hwloc_get_largest_objs_inside_cpuset.c
+hwloc_get_largest_objs_inside_cpuset_OBJECTS = \
+ hwloc_get_largest_objs_inside_cpuset.$(OBJEXT)
+hwloc_get_largest_objs_inside_cpuset_LDADD = $(LDADD)
+hwloc_get_largest_objs_inside_cpuset_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_last_cpu_location_SOURCES = hwloc_get_last_cpu_location.c
+hwloc_get_last_cpu_location_OBJECTS = \
+ hwloc_get_last_cpu_location.$(OBJEXT)
+hwloc_get_last_cpu_location_LDADD = $(LDADD)
+hwloc_get_last_cpu_location_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_next_obj_covering_cpuset_SOURCES = \
+ hwloc_get_next_obj_covering_cpuset.c
+hwloc_get_next_obj_covering_cpuset_OBJECTS = \
+ hwloc_get_next_obj_covering_cpuset.$(OBJEXT)
+hwloc_get_next_obj_covering_cpuset_LDADD = $(LDADD)
+hwloc_get_next_obj_covering_cpuset_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_obj_below_array_by_type_SOURCES = \
+ hwloc_get_obj_below_array_by_type.c
+hwloc_get_obj_below_array_by_type_OBJECTS = \
+ hwloc_get_obj_below_array_by_type.$(OBJEXT)
+hwloc_get_obj_below_array_by_type_LDADD = $(LDADD)
+hwloc_get_obj_below_array_by_type_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_obj_covering_cpuset_SOURCES = \
+ hwloc_get_obj_covering_cpuset.c
+hwloc_get_obj_covering_cpuset_OBJECTS = \
+ hwloc_get_obj_covering_cpuset.$(OBJEXT)
+hwloc_get_obj_covering_cpuset_LDADD = $(LDADD)
+hwloc_get_obj_covering_cpuset_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_obj_inside_cpuset_SOURCES = hwloc_get_obj_inside_cpuset.c
+hwloc_get_obj_inside_cpuset_OBJECTS = \
+ hwloc_get_obj_inside_cpuset.$(OBJEXT)
+hwloc_get_obj_inside_cpuset_LDADD = $(LDADD)
+hwloc_get_obj_inside_cpuset_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_get_shared_cache_covering_obj_SOURCES = \
+ hwloc_get_shared_cache_covering_obj.c
+hwloc_get_shared_cache_covering_obj_OBJECTS = \
+ hwloc_get_shared_cache_covering_obj.$(OBJEXT)
+hwloc_get_shared_cache_covering_obj_LDADD = $(LDADD)
+hwloc_get_shared_cache_covering_obj_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_groups_SOURCES = hwloc_groups.c
+hwloc_groups_OBJECTS = hwloc_groups.$(OBJEXT)
+hwloc_groups_LDADD = $(LDADD)
+hwloc_groups_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_groups2_SOURCES = hwloc_groups2.c
+hwloc_groups2_OBJECTS = hwloc_groups2.$(OBJEXT)
+hwloc_groups2_LDADD = $(LDADD)
+hwloc_groups2_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_insert_misc_SOURCES = hwloc_insert_misc.c
+hwloc_insert_misc_OBJECTS = hwloc_insert_misc.$(OBJEXT)
+hwloc_insert_misc_LDADD = $(LDADD)
+hwloc_insert_misc_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_iodevs_SOURCES = hwloc_iodevs.c
+hwloc_iodevs_OBJECTS = hwloc_iodevs.$(OBJEXT)
+hwloc_iodevs_LDADD = $(LDADD)
+hwloc_iodevs_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_is_thissystem_SOURCES = hwloc_is_thissystem.c
+hwloc_is_thissystem_OBJECTS = hwloc_is_thissystem.$(OBJEXT)
+hwloc_is_thissystem_LDADD = $(LDADD)
+hwloc_is_thissystem_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_list_components_SOURCES = hwloc_list_components.c
+hwloc_list_components_OBJECTS = hwloc_list_components.$(OBJEXT)
+hwloc_list_components_LDADD = $(LDADD)
+hwloc_list_components_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_obj_infos_SOURCES = hwloc_obj_infos.c
+hwloc_obj_infos_OBJECTS = hwloc_obj_infos.$(OBJEXT)
+hwloc_obj_infos_LDADD = $(LDADD)
+hwloc_obj_infos_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_object_userdata_SOURCES = hwloc_object_userdata.c
+hwloc_object_userdata_OBJECTS = hwloc_object_userdata.$(OBJEXT)
+hwloc_object_userdata_LDADD = $(LDADD)
+hwloc_object_userdata_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_pci_backend_SOURCES = hwloc_pci_backend.c
+hwloc_pci_backend_OBJECTS = hwloc_pci_backend.$(OBJEXT)
+hwloc_pci_backend_LDADD = $(LDADD)
+hwloc_pci_backend_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_synthetic_SOURCES = hwloc_synthetic.c
+hwloc_synthetic_OBJECTS = hwloc_synthetic.$(OBJEXT)
+hwloc_synthetic_LDADD = $(LDADD)
+hwloc_synthetic_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_topology_diff_SOURCES = hwloc_topology_diff.c
+hwloc_topology_diff_OBJECTS = hwloc_topology_diff.$(OBJEXT)
+hwloc_topology_diff_LDADD = $(LDADD)
+hwloc_topology_diff_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_topology_dup_SOURCES = hwloc_topology_dup.c
+hwloc_topology_dup_OBJECTS = hwloc_topology_dup.$(OBJEXT)
+hwloc_topology_dup_LDADD = $(LDADD)
+hwloc_topology_dup_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_topology_restrict_SOURCES = hwloc_topology_restrict.c
+hwloc_topology_restrict_OBJECTS = hwloc_topology_restrict.$(OBJEXT)
+hwloc_topology_restrict_LDADD = $(LDADD)
+hwloc_topology_restrict_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+hwloc_type_depth_SOURCES = hwloc_type_depth.c
+hwloc_type_depth_OBJECTS = hwloc_type_depth.$(OBJEXT)
+hwloc_type_depth_LDADD = $(LDADD)
+hwloc_type_depth_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/$(hwloc_lib)
+intel_mic_SOURCES = intel-mic.c
+intel_mic_OBJECTS = intel-mic.$(OBJEXT)
+intel_mic_LDADD = $(LDADD)
+intel_mic_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+linux_libnuma_SOURCES = linux-libnuma.c
+linux_libnuma_OBJECTS = linux-libnuma.$(OBJEXT)
+linux_libnuma_DEPENDENCIES = $(LDADD)
+myriexpress_SOURCES = myriexpress.c
+myriexpress_OBJECTS = myriexpress.$(OBJEXT)
+myriexpress_DEPENDENCIES = $(LDADD)
+nvml_SOURCES = nvml.c
+nvml_OBJECTS = nvml.$(OBJEXT)
+nvml_DEPENDENCIES = $(LDADD)
+opencl_SOURCES = opencl.c
+opencl_OBJECTS = opencl.$(OBJEXT)
+opencl_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+openfabrics_verbs_SOURCES = openfabrics-verbs.c
+openfabrics_verbs_OBJECTS = openfabrics-verbs.$(OBJEXT)
+openfabrics_verbs_DEPENDENCIES = $(LDADD)
+xmlbuffer_SOURCES = xmlbuffer.c
+xmlbuffer_OBJECTS = xmlbuffer.$(OBJEXT)
+xmlbuffer_LDADD = $(LDADD)
+xmlbuffer_DEPENDENCIES = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/private/autogen -I$(top_builddir)/include/hwloc/autogen
+depcomp = $(SHELL) $(top_srcdir)/./config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = cuda.c cudart.c gl.c glibc-sched.c hwloc_backends.c \
+ hwloc_bind.c hwloc_bitmap.c hwloc_bitmap_compare_inclusion.c \
+ hwloc_bitmap_first_last_weight.c hwloc_bitmap_singlify.c \
+ hwloc_bitmap_string.c hwloc_custom.c hwloc_distances.c \
+ hwloc_get_area_memlocation.c hwloc_get_cache_covering_cpuset.c \
+ hwloc_get_closest_objs.c \
+ hwloc_get_largest_objs_inside_cpuset.c \
+ hwloc_get_last_cpu_location.c \
+ hwloc_get_next_obj_covering_cpuset.c \
+ hwloc_get_obj_below_array_by_type.c \
+ hwloc_get_obj_covering_cpuset.c hwloc_get_obj_inside_cpuset.c \
+ hwloc_get_shared_cache_covering_obj.c hwloc_groups.c \
+ hwloc_groups2.c hwloc_insert_misc.c hwloc_iodevs.c \
+ hwloc_is_thissystem.c hwloc_list_components.c \
+ hwloc_obj_infos.c hwloc_object_userdata.c hwloc_pci_backend.c \
+ hwloc_synthetic.c hwloc_topology_diff.c hwloc_topology_dup.c \
+ hwloc_topology_restrict.c hwloc_type_depth.c intel-mic.c \
+ linux-libnuma.c myriexpress.c nvml.c opencl.c \
+ openfabrics-verbs.c xmlbuffer.c
+DIST_SOURCES = cuda.c cudart.c gl.c glibc-sched.c hwloc_backends.c \
+ hwloc_bind.c hwloc_bitmap.c hwloc_bitmap_compare_inclusion.c \
+ hwloc_bitmap_first_last_weight.c hwloc_bitmap_singlify.c \
+ hwloc_bitmap_string.c hwloc_custom.c hwloc_distances.c \
+ hwloc_get_area_memlocation.c hwloc_get_cache_covering_cpuset.c \
+ hwloc_get_closest_objs.c \
+ hwloc_get_largest_objs_inside_cpuset.c \
+ hwloc_get_last_cpu_location.c \
+ hwloc_get_next_obj_covering_cpuset.c \
+ hwloc_get_obj_below_array_by_type.c \
+ hwloc_get_obj_covering_cpuset.c hwloc_get_obj_inside_cpuset.c \
+ hwloc_get_shared_cache_covering_obj.c hwloc_groups.c \
+ hwloc_groups2.c hwloc_insert_misc.c hwloc_iodevs.c \
+ hwloc_is_thissystem.c hwloc_list_components.c \
+ hwloc_obj_infos.c hwloc_object_userdata.c hwloc_pci_backend.c \
+ hwloc_synthetic.c hwloc_topology_diff.c hwloc_topology_dup.c \
+ hwloc_topology_restrict.c hwloc_type_depth.c intel-mic.c \
+ linux-libnuma.c myriexpress.c nvml.c opencl.c \
+ openfabrics-verbs.c xmlbuffer.c
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ check recheck distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/wrapper.sh.in \
+ $(top_srcdir)/./config/depcomp \
+ $(top_srcdir)/./config/test-driver
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+SUBDIRS = . ports xml $(am__append_1)
+DIST_SUBDIRS = ports xml linux rename
+LDADD = $(HWLOC_top_builddir)/src/$(hwloc_lib)
+LOG_COMPILER = $(builddir)/wrapper.sh
+TESTS = $(check_PROGRAMS)
+@HWLOC_BUILD_STANDALONE_FALSE@hwloc_lib = libhwloc_embedded.la
+
+# The library has a different name depending on whether we are
+# building in standalone or embedded mode.
+@HWLOC_BUILD_STANDALONE_TRUE@hwloc_lib = libhwloc.la
+linux_libnuma_LDADD = $(LDADD) -lnuma
+openfabrics_verbs_LDADD = $(LDADD) -libverbs
+myriexpress_LDADD = $(LDADD) -lmyriexpress
+opencl_LDADD = $(LDADD) $(HWLOC_OPENCL_LIBS) $(HWLOC_OPENCL_LDFLAGS)
+cuda_LDADD = $(LDADD) -lcuda
+cudart_LDADD = $(LDADD) -lcuda -lcudart
+nvml_LDADD = $(LDADD) -lnvidia-ml
+hwloc_bind_LDADD = $(LDADD) $(am__append_10)
+
+# ship the embedded test code but don't actually let automake ever
+# look at it because we have another configure stuff in there
+EXTRA_DIST = embedded/autogen.sh \
+ embedded/configure.ac \
+ embedded/Makefile.am \
+ embedded/do_test.c \
+ embedded/main.c \
+ embedded/run-embedded-tests.sh \
+ embedded/README.txt \
+ embedded/config/README.txt
+
+all: all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign tests/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+wrapper.sh: $(top_builddir)/config.status $(srcdir)/wrapper.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+
+clean-checkPROGRAMS:
+ @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
+ echo " rm -f" $$list; \
+ rm -f $$list || exit $$?; \
+ test -n "$(EXEEXT)" || exit 0; \
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+ echo " rm -f" $$list; \
+ rm -f $$list
+
+cuda$(EXEEXT): $(cuda_OBJECTS) $(cuda_DEPENDENCIES) $(EXTRA_cuda_DEPENDENCIES)
+ @rm -f cuda$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(cuda_OBJECTS) $(cuda_LDADD) $(LIBS)
+
+cudart$(EXEEXT): $(cudart_OBJECTS) $(cudart_DEPENDENCIES) $(EXTRA_cudart_DEPENDENCIES)
+ @rm -f cudart$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(cudart_OBJECTS) $(cudart_LDADD) $(LIBS)
+
+gl$(EXEEXT): $(gl_OBJECTS) $(gl_DEPENDENCIES) $(EXTRA_gl_DEPENDENCIES)
+ @rm -f gl$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(gl_OBJECTS) $(gl_LDADD) $(LIBS)
+
+glibc-sched$(EXEEXT): $(glibc_sched_OBJECTS) $(glibc_sched_DEPENDENCIES) $(EXTRA_glibc_sched_DEPENDENCIES)
+ @rm -f glibc-sched$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(glibc_sched_OBJECTS) $(glibc_sched_LDADD) $(LIBS)
+
+hwloc_backends$(EXEEXT): $(hwloc_backends_OBJECTS) $(hwloc_backends_DEPENDENCIES) $(EXTRA_hwloc_backends_DEPENDENCIES)
+ @rm -f hwloc_backends$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_backends_OBJECTS) $(hwloc_backends_LDADD) $(LIBS)
+
+hwloc_bind$(EXEEXT): $(hwloc_bind_OBJECTS) $(hwloc_bind_DEPENDENCIES) $(EXTRA_hwloc_bind_DEPENDENCIES)
+ @rm -f hwloc_bind$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_bind_OBJECTS) $(hwloc_bind_LDADD) $(LIBS)
+
+hwloc_bitmap$(EXEEXT): $(hwloc_bitmap_OBJECTS) $(hwloc_bitmap_DEPENDENCIES) $(EXTRA_hwloc_bitmap_DEPENDENCIES)
+ @rm -f hwloc_bitmap$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_bitmap_OBJECTS) $(hwloc_bitmap_LDADD) $(LIBS)
+
+hwloc_bitmap_compare_inclusion$(EXEEXT): $(hwloc_bitmap_compare_inclusion_OBJECTS) $(hwloc_bitmap_compare_inclusion_DEPENDENCIES) $(EXTRA_hwloc_bitmap_compare_inclusion_DEPENDENCIES)
+ @rm -f hwloc_bitmap_compare_inclusion$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_bitmap_compare_inclusion_OBJECTS) $(hwloc_bitmap_compare_inclusion_LDADD) $(LIBS)
+
+hwloc_bitmap_first_last_weight$(EXEEXT): $(hwloc_bitmap_first_last_weight_OBJECTS) $(hwloc_bitmap_first_last_weight_DEPENDENCIES) $(EXTRA_hwloc_bitmap_first_last_weight_DEPENDENCIES)
+ @rm -f hwloc_bitmap_first_last_weight$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_bitmap_first_last_weight_OBJECTS) $(hwloc_bitmap_first_last_weight_LDADD) $(LIBS)
+
+hwloc_bitmap_singlify$(EXEEXT): $(hwloc_bitmap_singlify_OBJECTS) $(hwloc_bitmap_singlify_DEPENDENCIES) $(EXTRA_hwloc_bitmap_singlify_DEPENDENCIES)
+ @rm -f hwloc_bitmap_singlify$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_bitmap_singlify_OBJECTS) $(hwloc_bitmap_singlify_LDADD) $(LIBS)
+
+hwloc_bitmap_string$(EXEEXT): $(hwloc_bitmap_string_OBJECTS) $(hwloc_bitmap_string_DEPENDENCIES) $(EXTRA_hwloc_bitmap_string_DEPENDENCIES)
+ @rm -f hwloc_bitmap_string$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_bitmap_string_OBJECTS) $(hwloc_bitmap_string_LDADD) $(LIBS)
+
+hwloc_custom$(EXEEXT): $(hwloc_custom_OBJECTS) $(hwloc_custom_DEPENDENCIES) $(EXTRA_hwloc_custom_DEPENDENCIES)
+ @rm -f hwloc_custom$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_custom_OBJECTS) $(hwloc_custom_LDADD) $(LIBS)
+
+hwloc_distances$(EXEEXT): $(hwloc_distances_OBJECTS) $(hwloc_distances_DEPENDENCIES) $(EXTRA_hwloc_distances_DEPENDENCIES)
+ @rm -f hwloc_distances$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_distances_OBJECTS) $(hwloc_distances_LDADD) $(LIBS)
+
+hwloc_get_area_memlocation$(EXEEXT): $(hwloc_get_area_memlocation_OBJECTS) $(hwloc_get_area_memlocation_DEPENDENCIES) $(EXTRA_hwloc_get_area_memlocation_DEPENDENCIES)
+ @rm -f hwloc_get_area_memlocation$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_area_memlocation_OBJECTS) $(hwloc_get_area_memlocation_LDADD) $(LIBS)
+
+hwloc_get_cache_covering_cpuset$(EXEEXT): $(hwloc_get_cache_covering_cpuset_OBJECTS) $(hwloc_get_cache_covering_cpuset_DEPENDENCIES) $(EXTRA_hwloc_get_cache_covering_cpuset_DEPENDENCIES)
+ @rm -f hwloc_get_cache_covering_cpuset$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_cache_covering_cpuset_OBJECTS) $(hwloc_get_cache_covering_cpuset_LDADD) $(LIBS)
+
+hwloc_get_closest_objs$(EXEEXT): $(hwloc_get_closest_objs_OBJECTS) $(hwloc_get_closest_objs_DEPENDENCIES) $(EXTRA_hwloc_get_closest_objs_DEPENDENCIES)
+ @rm -f hwloc_get_closest_objs$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_closest_objs_OBJECTS) $(hwloc_get_closest_objs_LDADD) $(LIBS)
+
+hwloc_get_largest_objs_inside_cpuset$(EXEEXT): $(hwloc_get_largest_objs_inside_cpuset_OBJECTS) $(hwloc_get_largest_objs_inside_cpuset_DEPENDENCIES) $(EXTRA_hwloc_get_largest_objs_inside_cpuset_DEPENDENCIES)
+ @rm -f hwloc_get_largest_objs_inside_cpuset$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_largest_objs_inside_cpuset_OBJECTS) $(hwloc_get_largest_objs_inside_cpuset_LDADD) $(LIBS)
+
+hwloc_get_last_cpu_location$(EXEEXT): $(hwloc_get_last_cpu_location_OBJECTS) $(hwloc_get_last_cpu_location_DEPENDENCIES) $(EXTRA_hwloc_get_last_cpu_location_DEPENDENCIES)
+ @rm -f hwloc_get_last_cpu_location$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_last_cpu_location_OBJECTS) $(hwloc_get_last_cpu_location_LDADD) $(LIBS)
+
+hwloc_get_next_obj_covering_cpuset$(EXEEXT): $(hwloc_get_next_obj_covering_cpuset_OBJECTS) $(hwloc_get_next_obj_covering_cpuset_DEPENDENCIES) $(EXTRA_hwloc_get_next_obj_covering_cpuset_DEPENDENCIES)
+ @rm -f hwloc_get_next_obj_covering_cpuset$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_next_obj_covering_cpuset_OBJECTS) $(hwloc_get_next_obj_covering_cpuset_LDADD) $(LIBS)
+
+hwloc_get_obj_below_array_by_type$(EXEEXT): $(hwloc_get_obj_below_array_by_type_OBJECTS) $(hwloc_get_obj_below_array_by_type_DEPENDENCIES) $(EXTRA_hwloc_get_obj_below_array_by_type_DEPENDENCIES)
+ @rm -f hwloc_get_obj_below_array_by_type$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_obj_below_array_by_type_OBJECTS) $(hwloc_get_obj_below_array_by_type_LDADD) $(LIBS)
+
+hwloc_get_obj_covering_cpuset$(EXEEXT): $(hwloc_get_obj_covering_cpuset_OBJECTS) $(hwloc_get_obj_covering_cpuset_DEPENDENCIES) $(EXTRA_hwloc_get_obj_covering_cpuset_DEPENDENCIES)
+ @rm -f hwloc_get_obj_covering_cpuset$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_obj_covering_cpuset_OBJECTS) $(hwloc_get_obj_covering_cpuset_LDADD) $(LIBS)
+
+hwloc_get_obj_inside_cpuset$(EXEEXT): $(hwloc_get_obj_inside_cpuset_OBJECTS) $(hwloc_get_obj_inside_cpuset_DEPENDENCIES) $(EXTRA_hwloc_get_obj_inside_cpuset_DEPENDENCIES)
+ @rm -f hwloc_get_obj_inside_cpuset$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_obj_inside_cpuset_OBJECTS) $(hwloc_get_obj_inside_cpuset_LDADD) $(LIBS)
+
+hwloc_get_shared_cache_covering_obj$(EXEEXT): $(hwloc_get_shared_cache_covering_obj_OBJECTS) $(hwloc_get_shared_cache_covering_obj_DEPENDENCIES) $(EXTRA_hwloc_get_shared_cache_covering_obj_DEPENDENCIES)
+ @rm -f hwloc_get_shared_cache_covering_obj$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_get_shared_cache_covering_obj_OBJECTS) $(hwloc_get_shared_cache_covering_obj_LDADD) $(LIBS)
+
+hwloc_groups$(EXEEXT): $(hwloc_groups_OBJECTS) $(hwloc_groups_DEPENDENCIES) $(EXTRA_hwloc_groups_DEPENDENCIES)
+ @rm -f hwloc_groups$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_groups_OBJECTS) $(hwloc_groups_LDADD) $(LIBS)
+
+hwloc_groups2$(EXEEXT): $(hwloc_groups2_OBJECTS) $(hwloc_groups2_DEPENDENCIES) $(EXTRA_hwloc_groups2_DEPENDENCIES)
+ @rm -f hwloc_groups2$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_groups2_OBJECTS) $(hwloc_groups2_LDADD) $(LIBS)
+
+hwloc_insert_misc$(EXEEXT): $(hwloc_insert_misc_OBJECTS) $(hwloc_insert_misc_DEPENDENCIES) $(EXTRA_hwloc_insert_misc_DEPENDENCIES)
+ @rm -f hwloc_insert_misc$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_insert_misc_OBJECTS) $(hwloc_insert_misc_LDADD) $(LIBS)
+
+hwloc_iodevs$(EXEEXT): $(hwloc_iodevs_OBJECTS) $(hwloc_iodevs_DEPENDENCIES) $(EXTRA_hwloc_iodevs_DEPENDENCIES)
+ @rm -f hwloc_iodevs$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_iodevs_OBJECTS) $(hwloc_iodevs_LDADD) $(LIBS)
+
+hwloc_is_thissystem$(EXEEXT): $(hwloc_is_thissystem_OBJECTS) $(hwloc_is_thissystem_DEPENDENCIES) $(EXTRA_hwloc_is_thissystem_DEPENDENCIES)
+ @rm -f hwloc_is_thissystem$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_is_thissystem_OBJECTS) $(hwloc_is_thissystem_LDADD) $(LIBS)
+
+hwloc_list_components$(EXEEXT): $(hwloc_list_components_OBJECTS) $(hwloc_list_components_DEPENDENCIES) $(EXTRA_hwloc_list_components_DEPENDENCIES)
+ @rm -f hwloc_list_components$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_list_components_OBJECTS) $(hwloc_list_components_LDADD) $(LIBS)
+
+hwloc_obj_infos$(EXEEXT): $(hwloc_obj_infos_OBJECTS) $(hwloc_obj_infos_DEPENDENCIES) $(EXTRA_hwloc_obj_infos_DEPENDENCIES)
+ @rm -f hwloc_obj_infos$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_obj_infos_OBJECTS) $(hwloc_obj_infos_LDADD) $(LIBS)
+
+hwloc_object_userdata$(EXEEXT): $(hwloc_object_userdata_OBJECTS) $(hwloc_object_userdata_DEPENDENCIES) $(EXTRA_hwloc_object_userdata_DEPENDENCIES)
+ @rm -f hwloc_object_userdata$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_object_userdata_OBJECTS) $(hwloc_object_userdata_LDADD) $(LIBS)
+
+hwloc_pci_backend$(EXEEXT): $(hwloc_pci_backend_OBJECTS) $(hwloc_pci_backend_DEPENDENCIES) $(EXTRA_hwloc_pci_backend_DEPENDENCIES)
+ @rm -f hwloc_pci_backend$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_pci_backend_OBJECTS) $(hwloc_pci_backend_LDADD) $(LIBS)
+
+hwloc_synthetic$(EXEEXT): $(hwloc_synthetic_OBJECTS) $(hwloc_synthetic_DEPENDENCIES) $(EXTRA_hwloc_synthetic_DEPENDENCIES)
+ @rm -f hwloc_synthetic$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_synthetic_OBJECTS) $(hwloc_synthetic_LDADD) $(LIBS)
+
+hwloc_topology_diff$(EXEEXT): $(hwloc_topology_diff_OBJECTS) $(hwloc_topology_diff_DEPENDENCIES) $(EXTRA_hwloc_topology_diff_DEPENDENCIES)
+ @rm -f hwloc_topology_diff$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_topology_diff_OBJECTS) $(hwloc_topology_diff_LDADD) $(LIBS)
+
+hwloc_topology_dup$(EXEEXT): $(hwloc_topology_dup_OBJECTS) $(hwloc_topology_dup_DEPENDENCIES) $(EXTRA_hwloc_topology_dup_DEPENDENCIES)
+ @rm -f hwloc_topology_dup$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_topology_dup_OBJECTS) $(hwloc_topology_dup_LDADD) $(LIBS)
+
+hwloc_topology_restrict$(EXEEXT): $(hwloc_topology_restrict_OBJECTS) $(hwloc_topology_restrict_DEPENDENCIES) $(EXTRA_hwloc_topology_restrict_DEPENDENCIES)
+ @rm -f hwloc_topology_restrict$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_topology_restrict_OBJECTS) $(hwloc_topology_restrict_LDADD) $(LIBS)
+
+hwloc_type_depth$(EXEEXT): $(hwloc_type_depth_OBJECTS) $(hwloc_type_depth_DEPENDENCIES) $(EXTRA_hwloc_type_depth_DEPENDENCIES)
+ @rm -f hwloc_type_depth$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_type_depth_OBJECTS) $(hwloc_type_depth_LDADD) $(LIBS)
+
+intel-mic$(EXEEXT): $(intel_mic_OBJECTS) $(intel_mic_DEPENDENCIES) $(EXTRA_intel_mic_DEPENDENCIES)
+ @rm -f intel-mic$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(intel_mic_OBJECTS) $(intel_mic_LDADD) $(LIBS)
+
+linux-libnuma$(EXEEXT): $(linux_libnuma_OBJECTS) $(linux_libnuma_DEPENDENCIES) $(EXTRA_linux_libnuma_DEPENDENCIES)
+ @rm -f linux-libnuma$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(linux_libnuma_OBJECTS) $(linux_libnuma_LDADD) $(LIBS)
+
+myriexpress$(EXEEXT): $(myriexpress_OBJECTS) $(myriexpress_DEPENDENCIES) $(EXTRA_myriexpress_DEPENDENCIES)
+ @rm -f myriexpress$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(myriexpress_OBJECTS) $(myriexpress_LDADD) $(LIBS)
+
+nvml$(EXEEXT): $(nvml_OBJECTS) $(nvml_DEPENDENCIES) $(EXTRA_nvml_DEPENDENCIES)
+ @rm -f nvml$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(nvml_OBJECTS) $(nvml_LDADD) $(LIBS)
+
+opencl$(EXEEXT): $(opencl_OBJECTS) $(opencl_DEPENDENCIES) $(EXTRA_opencl_DEPENDENCIES)
+ @rm -f opencl$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(opencl_OBJECTS) $(opencl_LDADD) $(LIBS)
+
+openfabrics-verbs$(EXEEXT): $(openfabrics_verbs_OBJECTS) $(openfabrics_verbs_DEPENDENCIES) $(EXTRA_openfabrics_verbs_DEPENDENCIES)
+ @rm -f openfabrics-verbs$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(openfabrics_verbs_OBJECTS) $(openfabrics_verbs_LDADD) $(LIBS)
+
+xmlbuffer$(EXEEXT): $(xmlbuffer_OBJECTS) $(xmlbuffer_DEPENDENCIES) $(EXTRA_xmlbuffer_DEPENDENCIES)
+ @rm -f xmlbuffer$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(xmlbuffer_OBJECTS) $(xmlbuffer_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cuda.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cudart.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glibc-sched.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_backends.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_bind.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_bitmap.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_bitmap_compare_inclusion.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_bitmap_first_last_weight.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_bitmap_singlify.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_bitmap_string.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_custom.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_distances.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_area_memlocation.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_cache_covering_cpuset.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_closest_objs.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_largest_objs_inside_cpuset.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_last_cpu_location.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_next_obj_covering_cpuset.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_obj_below_array_by_type.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_obj_covering_cpuset.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_obj_inside_cpuset.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_get_shared_cache_covering_obj.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_groups.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_groups2.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_insert_misc.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_iodevs.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_is_thissystem.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_list_components.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_obj_infos.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_object_userdata.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_pci_backend.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_synthetic.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_topology_diff.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_topology_dup.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_topology_restrict.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_type_depth.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intel-mic.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linux-libnuma.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myriexpress.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nvml.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opencl.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openfabrics-verbs.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlbuffer.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+hwloc_list_components.log: hwloc_list_components$(EXEEXT)
+ @p='hwloc_list_components$(EXEEXT)'; \
+ b='hwloc_list_components'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_bitmap.log: hwloc_bitmap$(EXEEXT)
+ @p='hwloc_bitmap$(EXEEXT)'; \
+ b='hwloc_bitmap'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_bitmap_string.log: hwloc_bitmap_string$(EXEEXT)
+ @p='hwloc_bitmap_string$(EXEEXT)'; \
+ b='hwloc_bitmap_string'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_bitmap_compare_inclusion.log: hwloc_bitmap_compare_inclusion$(EXEEXT)
+ @p='hwloc_bitmap_compare_inclusion$(EXEEXT)'; \
+ b='hwloc_bitmap_compare_inclusion'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_closest_objs.log: hwloc_get_closest_objs$(EXEEXT)
+ @p='hwloc_get_closest_objs$(EXEEXT)'; \
+ b='hwloc_get_closest_objs'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_obj_covering_cpuset.log: hwloc_get_obj_covering_cpuset$(EXEEXT)
+ @p='hwloc_get_obj_covering_cpuset$(EXEEXT)'; \
+ b='hwloc_get_obj_covering_cpuset'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_cache_covering_cpuset.log: hwloc_get_cache_covering_cpuset$(EXEEXT)
+ @p='hwloc_get_cache_covering_cpuset$(EXEEXT)'; \
+ b='hwloc_get_cache_covering_cpuset'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_largest_objs_inside_cpuset.log: hwloc_get_largest_objs_inside_cpuset$(EXEEXT)
+ @p='hwloc_get_largest_objs_inside_cpuset$(EXEEXT)'; \
+ b='hwloc_get_largest_objs_inside_cpuset'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_next_obj_covering_cpuset.log: hwloc_get_next_obj_covering_cpuset$(EXEEXT)
+ @p='hwloc_get_next_obj_covering_cpuset$(EXEEXT)'; \
+ b='hwloc_get_next_obj_covering_cpuset'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_obj_inside_cpuset.log: hwloc_get_obj_inside_cpuset$(EXEEXT)
+ @p='hwloc_get_obj_inside_cpuset$(EXEEXT)'; \
+ b='hwloc_get_obj_inside_cpuset'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_shared_cache_covering_obj.log: hwloc_get_shared_cache_covering_obj$(EXEEXT)
+ @p='hwloc_get_shared_cache_covering_obj$(EXEEXT)'; \
+ b='hwloc_get_shared_cache_covering_obj'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_obj_below_array_by_type.log: hwloc_get_obj_below_array_by_type$(EXEEXT)
+ @p='hwloc_get_obj_below_array_by_type$(EXEEXT)'; \
+ b='hwloc_get_obj_below_array_by_type'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_bitmap_first_last_weight.log: hwloc_bitmap_first_last_weight$(EXEEXT)
+ @p='hwloc_bitmap_first_last_weight$(EXEEXT)'; \
+ b='hwloc_bitmap_first_last_weight'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_bitmap_singlify.log: hwloc_bitmap_singlify$(EXEEXT)
+ @p='hwloc_bitmap_singlify$(EXEEXT)'; \
+ b='hwloc_bitmap_singlify'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_type_depth.log: hwloc_type_depth$(EXEEXT)
+ @p='hwloc_type_depth$(EXEEXT)'; \
+ b='hwloc_type_depth'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_bind.log: hwloc_bind$(EXEEXT)
+ @p='hwloc_bind$(EXEEXT)'; \
+ b='hwloc_bind'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_last_cpu_location.log: hwloc_get_last_cpu_location$(EXEEXT)
+ @p='hwloc_get_last_cpu_location$(EXEEXT)'; \
+ b='hwloc_get_last_cpu_location'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_get_area_memlocation.log: hwloc_get_area_memlocation$(EXEEXT)
+ @p='hwloc_get_area_memlocation$(EXEEXT)'; \
+ b='hwloc_get_area_memlocation'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_object_userdata.log: hwloc_object_userdata$(EXEEXT)
+ @p='hwloc_object_userdata$(EXEEXT)'; \
+ b='hwloc_object_userdata'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_synthetic.log: hwloc_synthetic$(EXEEXT)
+ @p='hwloc_synthetic$(EXEEXT)'; \
+ b='hwloc_synthetic'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_custom.log: hwloc_custom$(EXEEXT)
+ @p='hwloc_custom$(EXEEXT)'; \
+ b='hwloc_custom'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_backends.log: hwloc_backends$(EXEEXT)
+ @p='hwloc_backends$(EXEEXT)'; \
+ b='hwloc_backends'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_pci_backend.log: hwloc_pci_backend$(EXEEXT)
+ @p='hwloc_pci_backend$(EXEEXT)'; \
+ b='hwloc_pci_backend'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_is_thissystem.log: hwloc_is_thissystem$(EXEEXT)
+ @p='hwloc_is_thissystem$(EXEEXT)'; \
+ b='hwloc_is_thissystem'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_distances.log: hwloc_distances$(EXEEXT)
+ @p='hwloc_distances$(EXEEXT)'; \
+ b='hwloc_distances'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_groups.log: hwloc_groups$(EXEEXT)
+ @p='hwloc_groups$(EXEEXT)'; \
+ b='hwloc_groups'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_groups2.log: hwloc_groups2$(EXEEXT)
+ @p='hwloc_groups2$(EXEEXT)'; \
+ b='hwloc_groups2'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_insert_misc.log: hwloc_insert_misc$(EXEEXT)
+ @p='hwloc_insert_misc$(EXEEXT)'; \
+ b='hwloc_insert_misc'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_topology_restrict.log: hwloc_topology_restrict$(EXEEXT)
+ @p='hwloc_topology_restrict$(EXEEXT)'; \
+ b='hwloc_topology_restrict'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_topology_dup.log: hwloc_topology_dup$(EXEEXT)
+ @p='hwloc_topology_dup$(EXEEXT)'; \
+ b='hwloc_topology_dup'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_topology_diff.log: hwloc_topology_diff$(EXEEXT)
+ @p='hwloc_topology_diff$(EXEEXT)'; \
+ b='hwloc_topology_diff'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_obj_infos.log: hwloc_obj_infos$(EXEEXT)
+ @p='hwloc_obj_infos$(EXEEXT)'; \
+ b='hwloc_obj_infos'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+hwloc_iodevs.log: hwloc_iodevs$(EXEEXT)
+ @p='hwloc_iodevs$(EXEEXT)'; \
+ b='hwloc_iodevs'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+xmlbuffer.log: xmlbuffer$(EXEEXT)
+ @p='xmlbuffer$(EXEEXT)'; \
+ b='xmlbuffer'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+gl.log: gl$(EXEEXT)
+ @p='gl$(EXEEXT)'; \
+ b='gl'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+intel-mic.log: intel-mic$(EXEEXT)
+ @p='intel-mic$(EXEEXT)'; \
+ b='intel-mic'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+linux-libnuma.log: linux-libnuma$(EXEEXT)
+ @p='linux-libnuma$(EXEEXT)'; \
+ b='linux-libnuma'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+glibc-sched.log: glibc-sched$(EXEEXT)
+ @p='glibc-sched$(EXEEXT)'; \
+ b='glibc-sched'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+openfabrics-verbs.log: openfabrics-verbs$(EXEEXT)
+ @p='openfabrics-verbs$(EXEEXT)'; \
+ b='openfabrics-verbs'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+myriexpress.log: myriexpress$(EXEEXT)
+ @p='myriexpress$(EXEEXT)'; \
+ b='myriexpress'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+opencl.log: opencl$(EXEEXT)
+ @p='opencl$(EXEEXT)'; \
+ b='opencl'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+cuda.log: cuda$(EXEEXT)
+ @p='cuda$(EXEEXT)'; \
+ b='cuda'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+cudart.log: cudart$(EXEEXT)
+ @p='cudart$(EXEEXT)'; \
+ b='cudart'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+nvml.log: nvml$(EXEEXT)
+ @p='nvml$(EXEEXT)'; \
+ b='nvml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(am__recursive_targets) check-am install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-TESTS check-am clean clean-checkPROGRAMS clean-generic \
+ clean-libtool cscopelist-am ctags ctags-am distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
+ uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+/*
+ * Copyright © 2010-2014 Inria. All rights reserved.
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <assert.h>
+#include <cuda.h>
+#include <hwloc.h>
+#include <hwloc/cuda.h>
+
+/* check the CUDA Driver API helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ CUresult cres;
+ CUdevice device;
+ int count, i;
+ int err;
+
+ cres = cuInit(0);
+ if (cres != CUDA_SUCCESS) {
+ printf("cuInit failed %d\n", cres);
+ return 0;
+ }
+
+ cres = cuDeviceGetCount(&count);
+ if (cres != CUDA_SUCCESS) {
+ printf("cuDeviceGetCount failed %d\n", cres);
+ return 0;
+ }
+ printf("cuDeviceGetCount found %d devices\n", count);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
+ hwloc_topology_load(topology);
+
+ for(i=0; i<count; i++) {
+ hwloc_bitmap_t set;
+ hwloc_obj_t osdev, osdev2, ancestor;
+ const char *value;
+
+ cres = cuDeviceGet(&device, i);
+ if (cres != CUDA_SUCCESS) {
+ printf("failed to get device %d\n", i);
+ continue;
+ }
+
+ osdev = hwloc_cuda_get_device_osdev(topology, device);
+ assert(osdev);
+ osdev2 = hwloc_cuda_get_device_osdev_by_index(topology, i);
+ assert(osdev == osdev2);
+
+ ancestor = hwloc_get_non_io_ancestor_obj(topology, osdev);
+
+ printf("found OSDev %s\n", osdev->name);
+ err = strncmp(osdev->name, "cuda", 4);
+ assert(!err);
+ assert(atoi(osdev->name+4) == (int) i);
+
+ value = hwloc_obj_get_info_by_name(osdev, "Backend");
+ err = strcmp(value, "CUDA");
+ assert(!err);
+
+ assert(osdev->attr->osdev.type == HWLOC_OBJ_OSDEV_COPROC);
+
+ value = hwloc_obj_get_info_by_name(osdev, "CoProcType");
+ err = strcmp(value, "CUDA");
+ assert(!err);
+
+ value = hwloc_obj_get_info_by_name(osdev, "GPUModel");
+ printf("found OSDev model %s\n", value);
+
+ set = hwloc_bitmap_alloc();
+ err = hwloc_cuda_get_device_cpuset(topology, device, set);
+ if (err < 0) {
+ printf("failed to get cpuset for device %d\n", i);
+ } else {
+ char *cpuset_string = NULL;
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for device %d\n", cpuset_string, i);
+ if (hwloc_bitmap_isequal(hwloc_topology_get_complete_cpuset(topology), hwloc_topology_get_topology_cpuset(topology)))
+ /* only compare if the topology is complete, otherwise things can be significantly different */
+ assert(hwloc_bitmap_isincluded(ancestor->cpuset, set));
+ free(cpuset_string);
+ }
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2010-2014 Inria. All rights reserved.
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <assert.h>
+#include <cuda_runtime_api.h>
+#include <hwloc.h>
+#include <hwloc/cudart.h>
+
+/* check the CUDA Runtime API helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ cudaError_t cerr;
+ int count, i;
+ int err;
+
+ cerr = cudaGetDeviceCount(&count);
+ if (cerr) {
+ printf("cudaGetDeviceCount failed %d\n", cerr);
+ return 0;
+ }
+ printf("cudaGetDeviceCount found %d devices\n", count);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
+ hwloc_topology_load(topology);
+
+ for(i=0; i<count; i++) {
+ hwloc_bitmap_t set;
+ hwloc_obj_t osdev, ancestor;
+ const char *value;
+
+ osdev = hwloc_cudart_get_device_osdev_by_index(topology, i);
+ assert(osdev);
+
+ ancestor = hwloc_get_non_io_ancestor_obj(topology, osdev);
+
+ printf("found OSDev %s\n", osdev->name);
+ err = strncmp(osdev->name, "cuda", 4);
+ assert(!err);
+ assert(atoi(osdev->name+4) == (int) i);
+
+ value = hwloc_obj_get_info_by_name(osdev, "Backend");
+ err = strcmp(value, "CUDA");
+ assert(!err);
+
+ assert(osdev->attr->osdev.type == HWLOC_OBJ_OSDEV_COPROC);
+
+ value = hwloc_obj_get_info_by_name(osdev, "CoProcType");
+ err = strcmp(value, "CUDA");
+ assert(!err);
+
+ value = hwloc_obj_get_info_by_name(osdev, "GPUModel");
+ printf("found OSDev model %s\n", value);
+
+ set = hwloc_bitmap_alloc();
+ err = hwloc_cudart_get_device_cpuset(topology, i, set);
+ if (err < 0) {
+ printf("failed to get cpuset for device %d\n", i);
+ } else {
+ char *cpuset_string = NULL;
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for device %d\n", cpuset_string, i);
+ if (hwloc_bitmap_isequal(hwloc_topology_get_complete_cpuset(topology), hwloc_topology_get_topology_cpuset(topology)))
+ /* only compare if the topology is complete, otherwise things can be significantly different */
+ assert(hwloc_bitmap_isequal(set, ancestor->cpuset));
+ free(cpuset_string);
+ }
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+ACLOCAL_AMFLAGS = -I./config -I./hwloc-tree/config
+
+SUBDIRS = hwloc-tree
+
+AM_CPPFLAGS = $(HWLOC_EMBEDDED_CPPFLAGS)
+
+TESTS = main
+
+noinst_PROGRAMS = main
+noinst_LTLIBRARIES = libdo_test.la
+
+libdo_test_la_SOURCES = do_test.c
+
+main_SOURCES = main.c
+main_LDADD = libdo_test.la $(HWLOC_EMBEDDED_LDADD) $(HWLOC_EMBEDDED_LIBS)
+main_DEPENDENCIES = libdo_test.la
+
+EXTRA_DIST = run-embedded-tests.sh
--- /dev/null
+This test is meant to be run manually; it is not part of "make check".
+
+Someday I may figure out how to make this part of "make check", but
+today is not that day. :-)
+
+You can run these tests in one of two ways:
+
+1. PREFERRED METHOD: From this directory, invoke
+ "./run-embedded-tests.sh <path-to-hwloc-tarball>". This will run a
+ battery of tests against that tarball to verify that embedding is
+ working properly from that tarball.
+
+2. MANUAL METHOD: Expand a distribution hwloc tarball in this
+ directory and rename the top-level directory from hwloc-<version>/
+ to hwloc-tree/. Then run ./autogen.sh, ./configure, and make. And
+ whatever other tests you'd like to run.
+
+Things to test (most of which are done in the run-embedded-tests.sh
+script):
+
+ - autogen.sh runs properly and to completion
+ - configure runs properly and to completion (normal, absolute VPATH,
+ and relative VPATH)
+ - make runs properly and to completion
+ - you can run the resulting "./main" executable and it properly shows
+ the hwloc depth of the current machine
+ - make test works
+
+If you look at configure.ac, you see that it uses the HWLOC m4 macros
+to build the hwloc located at hwloc-tree/, and renames all the symbols
+from "hwloc_<foo>" to "mytest_<foo>". The main.c source calls several
+hwloc functions via the "mytest_<foo>" symbols.
+
+Bottom line: if the "main" executable runs and prints the current
+depth (or you can run "make check" successfully), the embedding should
+be working properly.
--- /dev/null
+:
+autoreconf -ivf
--- /dev/null
+This file exists solely so that the config/ directory exists in git checkouts.
--- /dev/null
+# Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2013 Inria. All rights reserved.
+# See COPYING in top-level directory.
+
+AC_INIT([hwloc-embedded-test], [1.0], [http://www.open-mpi.org/projects/hwloc/], [hwloc-embedded-test])
+AC_PREREQ([2.63])
+AC_CONFIG_AUX_DIR([./config])
+AC_CONFIG_MACRO_DIR([./config])
+AC_CANONICAL_TARGET
+AM_INIT_AUTOMAKE([1.10 dist-bzip2 foreign subdir-objects tar-ustar -Wall -Werror])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+AC_LANG([C])
+
+AC_PROG_CC
+AM_PROG_CC_C_O
+
+cat <<EOF
+
+=== Configuring hwloc (embedded mode)
+EOF
+
+HWLOC_SET_SYMBOL_PREFIX([mytest_])
+HWLOC_SETUP_CORE([hwloc-tree], [hwloc_setup=happy], [hwloc_setup=unhappy])
+AS_IF([test "$hwloc_setup" = "unhappy"],
+ [AC_MSG_ERROR([Cannot build hwloc core])])
+HWLOC_DO_AM_CONDITIONALS
+
+cat <<EOF
+=== Done configuring hwloc (embedded mode)
+
+EOF
+
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+
+AM_ENABLE_SHARED
+AM_DISABLE_STATIC
+AM_PROG_LIBTOOL
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
--- /dev/null
+#include <hwloc.h>
+#include <stdio.h>
+
+/* The body of the test is in a separate .c file and a separate
+ library, just to ensure that hwloc didn't force compilation with
+ visibility flags enabled. */
+
+int do_test(void)
+{
+ mytest_hwloc_topology_t topology;
+ unsigned depth;
+ hwloc_bitmap_t cpu_set;
+
+ /* Just call a bunch of functions to see if we can link and run */
+
+ printf("*** Test 1: bitmap alloc\n");
+ cpu_set = mytest_hwloc_bitmap_alloc();
+ if (NULL == cpu_set) return 1;
+ printf("*** Test 2: topology init\n");
+ if (0 != mytest_hwloc_topology_init(&topology)) return 1;
+ printf("*** Test 3: topology load\n");
+ if (0 != mytest_hwloc_topology_load(topology)) return 1;
+ printf("*** Test 4: topology get depth\n");
+ depth = mytest_hwloc_topology_get_depth(topology);
+ if (depth > 10000) return 1;
+ printf(" Max depth: %u\n", depth);
+ printf("*** Test 5: topology destroy\n");
+ mytest_hwloc_topology_destroy(topology);
+ printf("*** Test 6: bitmap free\n");
+ mytest_hwloc_bitmap_free(cpu_set);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <stdio.h>
+
+extern int do_test(void);
+
+
+int main(int argc, char *argv[])
+{
+ /* Make the test be in a separate library that will fail to link
+ properly if hwloc forces compilation with visibility
+ enabled. */
+ return do_test();
+}
--- /dev/null
+#!/bin/bash
+#
+# Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2019 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+# Simple script to help test embedding:
+#
+# ./run-embedded-tests.sh <tarball_name>
+#
+
+set -o pipefail
+
+tarball=$1
+if test "$tarball" = ""; then
+ echo "Usage: $0 <tarball_name>"
+ exit 1
+elif test ! -r $tarball; then
+ echo cannot read tarball: $tarball
+ exit 1
+fi
+
+#---------------------------------------------------------------------
+
+i=1
+last_print=
+print() {
+ last_print="=== $i: $*"
+ echo $last_print
+ i=`expr $i + 1`
+}
+
+#---------------------------------------------------------------------
+
+try() {
+ cmd=$*
+ eval $cmd
+ status=$?
+ if test "$status" != "0"; then
+ echo "Command failed (status $status): $cmd"
+ echo "Last print was: $last_print"
+ exit 1
+ fi
+}
+
+#---------------------------------------------------------------------
+
+# $1 = announcement banner
+# $2 = path to configure script
+do_build() {
+ print Running $1 configure...
+ try $2/configure 2>&1 | tee config.out
+ if test "$?" != 0; then exit $?; fi
+
+ print Running make
+ try make 2>&1 | tee make.out
+ if test "$?" != 0; then exit $?; fi
+
+ print Running make check
+ try make check 2>&1 | tee check.out
+ if test "$?" != 0; then exit $?; fi
+
+ print Running make clean
+ try make clean 2>&1 | tee clean.out
+ if test "$?" != 0; then exit $?; fi
+
+ print Running make distclean
+ try make distclean 2>&1 | tee distclean.out
+ if test "$?" != 0; then exit $?; fi
+}
+
+#---------------------------------------------------------------------
+
+# Get tarball name
+print Got tarball: $tarball
+
+# Get the version
+ver=`basename $tarball | sed -e 's/^hwloc-//' -e 's/\.tar\..*$//'`
+print Got version: $ver
+
+# Extract
+print Extracting tarball...
+rm -rf hwloc-$ver
+if test "`echo $tarball | grep .tar.bz2`" != ""; then
+ try tar jxf $tarball
+else
+ try tar zxf $tarball
+fi
+
+print Removing old tree...
+rm -rf hwloc-tree
+mv hwloc-$ver hwloc-tree
+
+# Autogen
+print Running autogen...
+try ./autogen.sh
+
+# Do it normally (non-VPATH)
+do_build non-VPATH .
+
+# Do a VPATH in the same tree that we just setup
+mkdir build
+cd build
+do_build VPATH ..
+
+cd ..
+rm -rf build
+
+# Now whack the tree and do a clean VPATH
+print Re-extracting tarball...
+rm -rf hwloc-$ver
+if test "`echo $tarball | grep .tar.bz2`" != ""; then
+ try tar jxf $tarball
+else
+ try tar zxf $tarball
+fi
+
+print Removing old tree...
+rm -rf hwloc-tree
+mv hwloc-$ver hwloc-tree
+
+# Autogen
+print Running autogen...
+try ./autogen.sh
+
+# Run it again on a clean VPATH
+mkdir build
+cd build
+do_build VPATH-clean ..
+
+cd ..
+rm -rf build
+
+print All tests passed!
--- /dev/null
+/*
+ * Copyright © 2012 Blue Brain Project, BBP/EPFL. All rights reserved.
+ * Copyright © 2012-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <hwloc/gl.h>
+#include <hwloc/helper.h>
+
+#include <errno.h>
+#include <stdio.h>
+#include <string.h>
+#include "stdlib.h"
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ unsigned long loading_flags;
+ hwloc_obj_t pcidev, osdev, parent;
+ hwloc_obj_t firstgpu = NULL, lastgpu = NULL;
+ unsigned port, device;
+ char* cpuset_string;
+ unsigned nr_pcidev;
+ unsigned nr_osdev;
+ unsigned nr_gpus;
+ unsigned i;
+ int err;
+
+ hwloc_topology_init(&topology); /* Topology initialization */
+
+ /* Flags used for loading the I/O devices, bridges and their relevant info */
+ loading_flags = HWLOC_TOPOLOGY_FLAG_IO_BRIDGES | HWLOC_TOPOLOGY_FLAG_IO_DEVICES;
+
+ /* Set discovery flags */
+ err = hwloc_topology_set_flags(topology, loading_flags);
+ /* If flags not set */
+ if (err < 0)
+ printf("hwloc_topology_set_flags() failed, PCI devices will not be loaded in the topology \n");
+
+ /* Perform topology detection */
+ hwloc_topology_load(topology);
+
+ /* Case 1: Get the cpusets of the packages connecting the PCI devices in the topology */
+ nr_pcidev = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_PCI_DEVICE);
+ for (i = 0; i < nr_pcidev; ++i) {
+ pcidev = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PCI_DEVICE, i);
+ parent = hwloc_get_non_io_ancestor_obj(topology, pcidev);
+ /* Print the cpuset corresponding to each pci device */
+ hwloc_bitmap_asprintf(&cpuset_string, parent->cpuset);
+ printf(" %s | %s \n", cpuset_string, pcidev->name);
+ free(cpuset_string);
+ }
+
+ /* Case 2: Get the number of connected GPUs in the topology and their attached displays */
+ nr_gpus = 0;
+ nr_osdev = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_OS_DEVICE);
+ for (i = 0; i < nr_osdev; ++i) {
+ const char *model, *backend;
+ osdev = hwloc_get_obj_by_type(topology, HWLOC_OBJ_OS_DEVICE, i);
+
+ backend = hwloc_obj_get_info_by_name(osdev, "Backend");
+ model = hwloc_obj_get_info_by_name(osdev, "GPUModel");
+
+ err = hwloc_gl_get_display_by_osdev(topology, osdev, &port, &device);
+ if (!err) {
+ err = strcmp(backend, "GL");
+ assert(!err);
+
+ assert(osdev->attr->osdev.type == HWLOC_OBJ_OSDEV_GPU);
+
+ if (!firstgpu)
+ firstgpu = osdev;
+ lastgpu = osdev;
+ printf("GPU #%u (%s) is connected to DISPLAY:%u.%u \n", nr_gpus, model, port, device);
+ nr_gpus++;
+ } else {
+ if (backend) {
+ err = strcmp(backend, "GL");
+ assert(err);
+ }
+ }
+ }
+
+ /* Case 3: Get the first GPU connected to a valid display, specified by its port and device */
+ if (firstgpu) {
+ assert(sscanf(firstgpu->name, ":%u.%u", &port, &device) == 2);
+ osdev = hwloc_gl_get_display_osdev_by_port_device(topology, port, device);
+ assert(osdev == firstgpu);
+ pcidev = osdev->parent;
+ parent = hwloc_get_non_io_ancestor_obj(topology, pcidev);
+ hwloc_bitmap_asprintf(&cpuset_string, parent->cpuset);
+ printf("GPU %s (PCI %04x:%02x:%02x.%01x) is connected to DISPLAY:%u.%u close to %s\n",
+ osdev->name,
+ pcidev->attr->pcidev.domain, pcidev->attr->pcidev.bus, pcidev->attr->pcidev.dev, pcidev->attr->pcidev.func,
+ port, device, cpuset_string);
+ free(cpuset_string);
+ }
+
+ /* Case 4: Get the last GPU connected to a valid display, specified by its name */
+ if (lastgpu) {
+ assert(sscanf(lastgpu->name, ":%u.%u", &port, &device) == 2);
+ osdev = hwloc_gl_get_display_osdev_by_name(topology, lastgpu->name);
+ assert(osdev == lastgpu);
+ pcidev = osdev->parent;
+ parent = hwloc_get_non_io_ancestor_obj(topology, pcidev);
+ hwloc_bitmap_asprintf(&cpuset_string, parent->cpuset);
+ printf("GPU %s (PCI %04x:%02x:%02x.%01x) is connected to DISPLAY:%u.%u close to %s\n",
+ osdev->name,
+ pcidev->attr->pcidev.domain, pcidev->attr->pcidev.bus, pcidev->attr->pcidev.dev, pcidev->attr->pcidev.func,
+ port, device, cpuset_string);
+ free(cpuset_string);
+ }
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009, 2017 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#define _GNU_SOURCE
+#include <sched.h>
+#include <assert.h>
+#include <private/autogen/config.h> /* for HWLOC_HAVE_OLD_SCHED_SETAFFINITY */
+#include <hwloc.h>
+#include <hwloc/glibc-sched.h>
+
+/* check the linux libnuma helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+#ifdef HWLOC_HAVE_CPU_SET
+ unsigned depth;
+ hwloc_bitmap_t hwlocset;
+ cpu_set_t schedset;
+ hwloc_obj_t obj;
+ int err;
+#endif /* HWLOC_HAVE_CPU_SET */
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+
+#ifdef HWLOC_HAVE_CPU_SET
+
+ depth = hwloc_topology_get_depth(topology);
+
+ hwlocset = hwloc_bitmap_dup(hwloc_topology_get_complete_cpuset(topology));
+ hwloc_cpuset_to_glibc_sched_affinity(topology, hwlocset, &schedset, sizeof(schedset));
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = sched_setaffinity(0, &schedset);
+#else
+ err = sched_setaffinity(0, sizeof(schedset), &schedset);
+#endif
+ assert(!err);
+ hwloc_bitmap_free(hwlocset);
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = sched_getaffinity(0, &schedset);
+#else
+ err = sched_getaffinity(0, sizeof(schedset), &schedset);
+#endif
+ assert(!err);
+ hwlocset = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_glibc_sched_affinity(topology, hwlocset, &schedset, sizeof(schedset));
+ assert(hwloc_bitmap_isincluded(hwlocset, hwloc_topology_get_complete_cpuset(topology)));
+ hwloc_bitmap_andnot(hwlocset, hwlocset, hwloc_topology_get_online_cpuset(topology));
+ hwloc_bitmap_andnot(hwlocset, hwlocset, hwloc_topology_get_allowed_cpuset(topology));
+ assert(hwloc_bitmap_iszero(hwlocset));
+ hwloc_bitmap_free(hwlocset);
+
+ obj = hwloc_get_obj_by_depth(topology, depth-1, hwloc_get_nbobjs_by_depth(topology, depth-1) - 1);
+ assert(obj);
+ assert(obj->type == HWLOC_OBJ_PU);
+
+ hwlocset = hwloc_bitmap_dup(obj->cpuset);
+ hwloc_cpuset_to_glibc_sched_affinity(topology, hwlocset, &schedset, sizeof(schedset));
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = sched_setaffinity(0, &schedset);
+#else
+ err = sched_setaffinity(0, sizeof(schedset), &schedset);
+#endif
+ assert(!err);
+ hwloc_bitmap_free(hwlocset);
+
+#ifdef HWLOC_HAVE_OLD_SCHED_SETAFFINITY
+ err = sched_getaffinity(0, &schedset);
+#else
+ err = sched_getaffinity(0, sizeof(schedset), &schedset);
+#endif
+ assert(!err);
+ hwlocset = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_glibc_sched_affinity(topology, hwlocset, &schedset, sizeof(schedset));
+ assert(hwloc_bitmap_isequal(hwlocset, obj->cpuset));
+ hwloc_bitmap_free(hwlocset);
+
+#endif /* HWLOC_HAVE_CPU_SET */
+
+ hwloc_topology_destroy(topology);
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2012-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h> /* for HWLOC_WIN_SYS */
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <string.h>
+#include <errno.h>
+#include <assert.h>
+
+#ifndef HAVE_MKSTEMP
+#include <fcntl.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <private/misc.h> /* for S_IRWXU */
+static inline int mkstemp(char *name)
+{
+ mktemp(name);
+ return open(name, O_RDWR|O_CREAT, S_IRWXU);
+}
+#endif
+
+/* mostly useful with valgrind, to check if backend cleanup properly */
+
+int main(void)
+{
+ hwloc_topology_t topology1, topology2;
+ char *xmlbuf;
+ int xmlbuflen;
+ char xmlfile[] = "hwloc_backends.tmpxml.XXXXXX";
+ int xmlbufok = 0, xmlfileok = 0, xmlfilefd;
+ hwloc_obj_t sw;
+ int err;
+
+ printf("trying to export topology to XML buffer and file for later...\n");
+ hwloc_topology_init(&topology1);
+ hwloc_topology_load(topology1);
+ assert(hwloc_topology_is_thissystem(topology1));
+ if (hwloc_topology_export_xmlbuffer(topology1, &xmlbuf, &xmlbuflen) < 0)
+ printf("XML buffer export failed (%s), ignoring\n", strerror(errno));
+ else
+ xmlbufok = 1;
+ xmlfilefd = mkstemp(xmlfile);
+ if (xmlfilefd < 0 || hwloc_topology_export_xml(topology1, xmlfile) < 0)
+ printf("XML file export failed (%s), ignoring\n", strerror(errno));
+ else
+ xmlfileok = 1;
+
+
+ printf("init...\n");
+ hwloc_topology_init(&topology2);
+ if (xmlfileok) {
+ printf("switching to xml...\n");
+ assert(!hwloc_topology_set_xml(topology2, xmlfile));
+ }
+ if (xmlbufok) {
+ printf("switching to xmlbuffer...\n");
+ assert(!hwloc_topology_set_xmlbuffer(topology2, xmlbuf, xmlbuflen));
+ }
+ printf("switching to custom...\n");
+ hwloc_topology_set_custom(topology2);
+ printf("switching to synthetic...\n");
+ hwloc_topology_set_synthetic(topology2, "machine:2 node:3 cache:2 pu:4");
+ printf("switching sysfs fsroot to // ...\n");
+ hwloc_topology_set_fsroot(topology2, "//"); /* valid path that won't be recognized as '/' */
+ printf("switching sysfs fsroot to / ...\n");
+ hwloc_topology_set_fsroot(topology2, "/");
+ hwloc_topology_destroy(topology2);
+
+ if (xmlfileok) {
+ printf("switching to xml and loading...\n");
+ hwloc_topology_init(&topology2);
+ assert(!hwloc_topology_set_xml(topology2, xmlfile));
+ hwloc_topology_load(topology2);
+ hwloc_topology_check(topology2);
+ assert(!hwloc_topology_is_thissystem(topology2));
+ hwloc_topology_destroy(topology2);
+ }
+
+ if (xmlbufok) {
+ printf("switching to xmlbuffer and loading...\n");
+ hwloc_topology_init(&topology2);
+ assert(!hwloc_topology_set_xmlbuffer(topology2, xmlbuf, xmlbuflen));
+ hwloc_topology_load(topology2);
+ hwloc_topology_check(topology2);
+ assert(!hwloc_topology_is_thissystem(topology2));
+ hwloc_topology_destroy(topology2);
+ }
+
+ printf("switching to custom and loading...\n");
+ hwloc_topology_init(&topology2);
+ hwloc_topology_set_custom(topology2);
+ sw = hwloc_custom_insert_group_object_by_parent(topology2, hwloc_get_root_obj(topology2), 0);
+ assert(sw);
+ hwloc_custom_insert_topology(topology2, sw, topology1, NULL);
+ hwloc_topology_load(topology2);
+ hwloc_topology_check(topology2);
+ assert(!hwloc_topology_is_thissystem(topology2));
+ hwloc_topology_destroy(topology2);
+
+ printf("switching to synthetic and loading...\n");
+ hwloc_topology_init(&topology2);
+ hwloc_topology_set_synthetic(topology2, "machine:2 node:3 cache:2 pu:4");
+ hwloc_topology_load(topology2);
+ hwloc_topology_check(topology2);
+ assert(!hwloc_topology_is_thissystem(topology2));
+ hwloc_topology_destroy(topology2);
+
+ printf("switching sysfs fsroot to // and loading...\n");
+ hwloc_topology_init(&topology2);
+ err = hwloc_topology_set_fsroot(topology2, "//"); /* '//' isn't recognized as the normal fsroot on Linux, and it fails and falls back to normal topology on !Linux */
+ hwloc_topology_load(topology2);
+ hwloc_topology_check(topology2);
+ assert(!hwloc_topology_is_thissystem(topology2) == !err);
+ hwloc_topology_destroy(topology2);
+
+ printf("switching sysfs fsroot to / and loading...\n");
+ hwloc_topology_init(&topology2);
+ err = hwloc_topology_set_fsroot(topology2, "/");
+ hwloc_topology_load(topology2);
+ hwloc_topology_check(topology2);
+ assert(hwloc_topology_is_thissystem(topology2)); /* '/' is recognized as the normal fsroot on Linux, and it fails and falls back to normal topology on !Linux */
+ hwloc_topology_destroy(topology2);
+
+ printf("switching to synthetic...\n");
+ hwloc_topology_init(&topology2);
+ hwloc_topology_set_synthetic(topology2, "machine:2 node:3 cache:2 pu:4");
+ hwloc_topology_destroy(topology2);
+
+
+ if (xmlbufok)
+ hwloc_free_xmlbuffer(topology1, xmlbuf);
+ if (xmlfilefd >= 0) {
+ unlink(xmlfile);
+ close(xmlfilefd);
+ }
+ hwloc_topology_destroy(topology1);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+
+#include <private/autogen/config.h> /* for HWLOC_WIN_SYS */
+#include <hwloc.h>
+
+/* check the binding functions */
+hwloc_topology_t topology;
+const struct hwloc_topology_support *support;
+
+static void result_set(const char *msg, int err, int supported)
+{
+ const char *errmsg = strerror(errno);
+ if (err)
+ printf("%-40s: %sFAILED (%d, %s)\n", msg, supported?"":"X", errno, errmsg);
+ else
+ printf("%-40s: OK\n", msg);
+}
+
+static void result_get(const char *msg, hwloc_const_bitmap_t expected, hwloc_const_bitmap_t result, int err, int supported)
+{
+ const char *errmsg = strerror(errno);
+ if (err)
+ printf("%-40s: %sFAILED (%d, %s)\n", msg, supported?"":"X", errno, errmsg);
+ else if (!expected || hwloc_bitmap_isequal(expected, result))
+ printf("%-40s: OK\n", msg);
+ else {
+ char *expected_s, *result_s;
+ hwloc_bitmap_asprintf(&expected_s, expected);
+ hwloc_bitmap_asprintf(&result_s, result);
+ printf("%-40s: expected %s, got %s\n", msg, expected_s, result_s);
+ free(expected_s);
+ free(result_s);
+ }
+}
+
+static void test(hwloc_const_bitmap_t cpuset, int flags)
+{
+ hwloc_bitmap_t new_cpuset = hwloc_bitmap_alloc();
+ result_set("Bind this singlethreaded process", hwloc_set_cpubind(topology, cpuset, flags), support->cpubind->set_thisproc_cpubind || support->cpubind->set_thisthread_cpubind);
+ result_get("Get this singlethreaded process", cpuset, new_cpuset, hwloc_get_cpubind(topology, new_cpuset, flags), support->cpubind->get_thisproc_cpubind || support->cpubind->get_thisthread_cpubind);
+ result_set("Bind this thread", hwloc_set_cpubind(topology, cpuset, flags | HWLOC_CPUBIND_THREAD), support->cpubind->set_thisthread_cpubind);
+ result_get("Get this thread", cpuset, new_cpuset, hwloc_get_cpubind(topology, new_cpuset, flags | HWLOC_CPUBIND_THREAD), support->cpubind->get_thisthread_cpubind);
+ result_set("Bind this whole process", hwloc_set_cpubind(topology, cpuset, flags | HWLOC_CPUBIND_PROCESS), support->cpubind->set_thisproc_cpubind);
+ result_get("Get this whole process", cpuset, new_cpuset, hwloc_get_cpubind(topology, new_cpuset, flags | HWLOC_CPUBIND_PROCESS), support->cpubind->get_thisproc_cpubind);
+
+#ifdef HWLOC_WIN_SYS
+ result_set("Bind process", hwloc_set_proc_cpubind(topology, GetCurrentProcess(), cpuset, flags | HWLOC_CPUBIND_PROCESS), support->cpubind->set_proc_cpubind);
+ result_get("Get process", cpuset, new_cpuset, hwloc_get_proc_cpubind(topology, GetCurrentProcess(), new_cpuset, flags | HWLOC_CPUBIND_PROCESS), support->cpubind->get_proc_cpubind);
+ result_set("Bind thread", hwloc_set_thread_cpubind(topology, GetCurrentThread(), cpuset, flags | HWLOC_CPUBIND_THREAD), support->cpubind->set_thread_cpubind);
+ result_get("Get thread", cpuset, new_cpuset, hwloc_get_thread_cpubind(topology, GetCurrentThread(), new_cpuset, flags | HWLOC_CPUBIND_THREAD), support->cpubind->get_thread_cpubind);
+#else /* !HWLOC_WIN_SYS */
+ result_set("Bind whole process", hwloc_set_proc_cpubind(topology, getpid(), cpuset, flags | HWLOC_CPUBIND_PROCESS), support->cpubind->set_proc_cpubind);
+ result_get("Get whole process", cpuset, new_cpuset, hwloc_get_proc_cpubind(topology, getpid(), new_cpuset, flags | HWLOC_CPUBIND_PROCESS), support->cpubind->get_proc_cpubind);
+ result_set("Bind process", hwloc_set_proc_cpubind(topology, getpid(), cpuset, flags), support->cpubind->set_proc_cpubind);
+ result_get("Get process", cpuset, new_cpuset, hwloc_get_proc_cpubind(topology, getpid(), new_cpuset, flags), support->cpubind->get_proc_cpubind);
+#ifdef hwloc_thread_t
+ result_set("Bind thread", hwloc_set_thread_cpubind(topology, pthread_self(), cpuset, flags), support->cpubind->set_thread_cpubind);
+ result_get("Get thread", cpuset, new_cpuset, hwloc_get_thread_cpubind(topology, pthread_self(), new_cpuset, flags), support->cpubind->get_thread_cpubind);
+#endif
+#endif /* !HWLOC_WIN_SYS */
+ printf("\n");
+ hwloc_bitmap_free(new_cpuset);
+}
+
+static void testmem(hwloc_const_bitmap_t nodeset, hwloc_membind_policy_t policy, int flags, int expected)
+{
+ hwloc_bitmap_t new_nodeset = hwloc_bitmap_alloc();
+ hwloc_membind_policy_t newpolicy;
+ void *area;
+ size_t area_size = 1024;
+
+ result_set("Bind this singlethreaded process memory", hwloc_set_membind(topology, nodeset, policy, flags), (support->membind->set_thisproc_membind || support->membind->set_thisthread_membind) && expected);
+ result_get("Get this singlethreaded process memory", nodeset, new_nodeset, hwloc_get_membind(topology, new_nodeset, &newpolicy, flags), (support->membind->get_thisproc_membind || support->membind->get_thisthread_membind) && expected);
+
+ result_set("Bind this thread memory", hwloc_set_membind(topology, nodeset, policy, flags | HWLOC_MEMBIND_THREAD), support->membind->set_thisproc_membind && expected);
+ result_get("Get this thread memory", nodeset, new_nodeset, hwloc_get_membind(topology, new_nodeset, &newpolicy, flags | HWLOC_MEMBIND_THREAD), support->membind->get_thisproc_membind && expected);
+
+ result_set("Bind this whole process memory", hwloc_set_membind(topology, nodeset, policy, flags | HWLOC_MEMBIND_PROCESS), support->membind->set_thisproc_membind && expected);
+ result_get("Get this whole process memory", nodeset, new_nodeset, hwloc_get_membind(topology, new_nodeset, &newpolicy, flags | HWLOC_MEMBIND_PROCESS), support->membind->get_thisproc_membind && expected);
+
+#ifdef HWLOC_WIN_SYS
+ result_set("Bind process memory", hwloc_set_proc_membind(topology, GetCurrentProcess(), nodeset, policy, flags), support->membind->set_proc_membind && expected);
+ result_get("Get process memory", nodeset, new_nodeset, hwloc_get_proc_membind(topology, GetCurrentProcess(), new_nodeset, &newpolicy, flags), support->membind->get_proc_membind && expected);
+#else /* !HWLOC_WIN_SYS */
+ result_set("Bind process memory", hwloc_set_proc_membind(topology, getpid(), nodeset, policy, flags), support->membind->set_proc_membind && expected);
+ result_get("Get process memory", nodeset, new_nodeset, hwloc_get_proc_membind(topology, getpid(), new_nodeset, &newpolicy, flags), support->membind->get_proc_membind && expected);
+#endif /* !HWLOC_WIN_SYS */
+
+ result_set("Bind area", hwloc_set_area_membind(topology, &new_nodeset, sizeof(new_nodeset), nodeset, policy, flags), support->membind->set_area_membind && expected);
+ result_get("Get area", nodeset, new_nodeset, hwloc_get_area_membind(topology, &new_nodeset, sizeof(new_nodeset), new_nodeset, &newpolicy, flags), support->membind->get_area_membind && expected);
+
+ if (!(flags & HWLOC_MEMBIND_MIGRATE)) {
+ result_set("Alloc bound area", (area = hwloc_alloc_membind(topology, area_size, nodeset, policy, flags)) == NULL, (support->membind->alloc_membind && expected) || !(flags & HWLOC_MEMBIND_STRICT));
+ if (area) {
+ memset(area, 0, area_size);
+ result_get("Get bound area", nodeset, new_nodeset, hwloc_get_area_membind(topology, area, area_size, new_nodeset, &newpolicy, flags), support->membind->get_area_membind && expected);
+ result_get("Free bound area", NULL, NULL, hwloc_free(topology, area, area_size), support->membind->alloc_membind && expected);
+ }
+
+ result_set("Alloc bound area through policy", (area = hwloc_alloc_membind_policy(topology, area_size, nodeset, policy, flags)) == NULL, (support->membind->set_thisproc_membind && expected) || !(flags & HWLOC_MEMBIND_STRICT));
+ if (area) {
+ memset(area, 0, area_size);
+ result_get("Get bound area", nodeset, new_nodeset, hwloc_get_area_membind(topology, area, area_size, new_nodeset, &newpolicy, flags), support->membind->get_area_membind && expected);
+ result_get("Free bound area", NULL, NULL, hwloc_free(topology, area, area_size), support->membind->alloc_membind && expected);
+ }
+ }
+ printf("\n");
+ hwloc_bitmap_free(new_nodeset);
+}
+
+static void testmem2(hwloc_const_bitmap_t set, int flags)
+{
+ printf(" default\n");
+ testmem(set, HWLOC_MEMBIND_DEFAULT, flags, 1);
+ printf(" firsttouch\n");
+ testmem(set, HWLOC_MEMBIND_FIRSTTOUCH, flags, support->membind->firsttouch_membind);
+ printf(" bound\n");
+ testmem(set, HWLOC_MEMBIND_BIND, flags, support->membind->bind_membind);
+ printf(" interleave\n");
+ testmem(set, HWLOC_MEMBIND_INTERLEAVE, flags, support->membind->interleave_membind);
+ printf(" replicate\n");
+ testmem(set, HWLOC_MEMBIND_REPLICATE, flags, support->membind->replicate_membind);
+ printf(" nexttouch\n");
+ testmem(set, HWLOC_MEMBIND_NEXTTOUCH, flags, support->membind->nexttouch_membind);
+}
+
+static void testmem3(hwloc_const_bitmap_t set)
+{
+ testmem2(set, 0);
+ printf("now strict\n\n");
+ testmem2(set, HWLOC_MEMBIND_STRICT);
+ printf("now migrate\n\n");
+ testmem2(set, HWLOC_MEMBIND_MIGRATE);
+ printf("now strictly migrate\n\n");
+ testmem2(set, HWLOC_MEMBIND_STRICT | HWLOC_MEMBIND_MIGRATE);
+}
+
+int main(void)
+{
+ hwloc_bitmap_t set;
+ hwloc_obj_t obj;
+ char *str = NULL;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+
+ support = hwloc_topology_get_support(topology);
+
+ obj = hwloc_get_root_obj(topology);
+ set = hwloc_bitmap_dup(obj->cpuset);
+
+ while (hwloc_bitmap_isequal(obj->cpuset, set)) {
+ if (!obj->arity)
+ break;
+ obj = obj->children[0];
+ }
+
+ hwloc_bitmap_asprintf(&str, set);
+ printf("system set is %s\n", str);
+ free(str);
+
+ test(set, 0);
+ printf("now strict\n");
+ test(set, HWLOC_CPUBIND_STRICT);
+
+ hwloc_bitmap_free(set);
+ set = hwloc_bitmap_dup(obj->cpuset);
+ hwloc_bitmap_asprintf(&str, set);
+ printf("obj set is %s\n", str);
+ free(str);
+
+ test(set, 0);
+ printf("now strict\n");
+ test(set, HWLOC_CPUBIND_STRICT);
+
+ hwloc_bitmap_singlify(set);
+ hwloc_bitmap_asprintf(&str, set);
+ printf("singlified to %s\n", str);
+ free(str);
+
+ test(set, 0);
+ printf("now strict\n");
+ test(set, HWLOC_CPUBIND_STRICT);
+ hwloc_bitmap_free(set);
+
+ printf("\n\nmemory tests\n\n");
+ printf("complete node set\n");
+ set = hwloc_bitmap_dup(hwloc_get_root_obj(topology)->cpuset);
+ hwloc_bitmap_asprintf(&str, set);
+ printf("i.e. cpuset %s\n", str);
+ free(str);
+ testmem3(set);
+ hwloc_bitmap_free(set);
+
+ obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, 0);
+ if (obj) {
+ set = hwloc_bitmap_dup(obj->cpuset);
+ hwloc_bitmap_asprintf(&str, set);
+ printf("cpuset set is %s\n", str);
+ free(str);
+
+ testmem3(set);
+
+ obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, 1);
+ if (obj) {
+ hwloc_bitmap_or(set, set, obj->cpuset);
+ hwloc_bitmap_asprintf(&str, set);
+ printf("cpuset set is %s\n", str);
+ free(str);
+
+ testmem3(set);
+ }
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_topology_destroy(topology);
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009, 2012 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <assert.h>
+
+/* check misc bitmap stuff */
+
+int main(void)
+{
+ hwloc_bitmap_t set;
+
+ /* check an empty bitmap */
+ set = hwloc_bitmap_alloc();
+ assert(hwloc_bitmap_weight(set) == 0);
+ assert(hwloc_bitmap_first(set) == -1);
+ assert(hwloc_bitmap_last(set) == -1);
+ assert(hwloc_bitmap_to_ulong(set) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == 0UL);
+ /* check a non-empty bitmap */
+ hwloc_bitmap_from_ith_ulong(set, 4, 0xff);
+ assert(hwloc_bitmap_to_ith_ulong(set, 4) == 0xff);
+ assert(hwloc_bitmap_to_ulong(set) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == 0UL);
+ /* check a two-long bitmap */
+ hwloc_bitmap_from_ith_ulong(set, 4, 0xfe);
+ hwloc_bitmap_set_ith_ulong(set, 6, 0xef);
+ assert(hwloc_bitmap_to_ith_ulong(set, 4) == 0xfe);
+ assert(hwloc_bitmap_to_ith_ulong(set, 6) == 0xef);
+ assert(hwloc_bitmap_to_ulong(set) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == 0UL);
+ /* check a zeroed bitmap */
+ hwloc_bitmap_zero(set);
+ assert(hwloc_bitmap_weight(set) == 0);
+ assert(hwloc_bitmap_first(set) == -1);
+ assert(hwloc_bitmap_last(set) == -1);
+ assert(hwloc_bitmap_to_ulong(set) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 4) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == 0UL);
+ hwloc_bitmap_free(set);
+
+ /* check a full bitmap */
+ set = hwloc_bitmap_alloc_full();
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_last(set) == -1);
+ assert(hwloc_bitmap_to_ulong(set) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == ~0UL);
+ /* check a almost full bitmap */
+ hwloc_bitmap_set_ith_ulong(set, 4, 0xff);
+ assert(hwloc_bitmap_to_ith_ulong(set, 4) == 0xff);
+ assert(hwloc_bitmap_to_ulong(set) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == ~0UL);
+ /* check a almost empty bitmap */
+ hwloc_bitmap_from_ith_ulong(set, 4, 0xff);
+ assert(hwloc_bitmap_to_ith_ulong(set, 4) == 0xff);
+ assert(hwloc_bitmap_to_ulong(set) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == 0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == 0UL);
+ /* check a filled bitmap */
+ hwloc_bitmap_fill(set);
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_last(set) == -1);
+ assert(hwloc_bitmap_to_ith_ulong(set, 4) == ~0UL);
+ assert(hwloc_bitmap_to_ulong(set) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == ~0UL);
+ assert(hwloc_bitmap_to_ith_ulong(set, 23) == ~0UL);
+ hwloc_bitmap_free(set);
+
+ /* check ranges */
+ set = hwloc_bitmap_alloc();
+ assert(hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 0);
+ assert(hwloc_bitmap_first(set) == -1);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 20-39 */
+ hwloc_bitmap_set_range(set, 20, 39);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 20);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_last(set) == 39);
+ /* 20-39,80- */
+ hwloc_bitmap_set_range(set, 80, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_next(set, 39) == 80);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 20-39,80-359 */
+ hwloc_bitmap_clr_range(set, 360, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 300);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_next(set, 39) == 80);
+ assert(hwloc_bitmap_last(set) == 359);
+ /* 20-39,80-179,280-359 */
+ hwloc_bitmap_clr_range(set, 180, 279);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 200);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_next(set, 39) == 80);
+ assert(hwloc_bitmap_next(set, 179) == 280);
+ assert(hwloc_bitmap_last(set) == 359);
+ /* 20- */
+ hwloc_bitmap_set_range(set, 35, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 20-419 */
+ hwloc_bitmap_clr_range(set, 420, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 400);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_last(set) == 419);
+ /* 20-419,1000- */
+ hwloc_bitmap_set_range(set, 1000, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_next(set, 419) == 1000);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 20- */
+ hwloc_bitmap_set_range(set, 420, 999);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 20);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 0- */
+ hwloc_bitmap_set_range(set, 0, 25);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 0-99,1500- */
+ hwloc_bitmap_clr_range(set, 100, 1499);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1500);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 0-99,1500-1999 */
+ hwloc_bitmap_clr_range(set, 2000, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 600);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1500);
+ assert(hwloc_bitmap_last(set) == 1999);
+ /* 0-99,1500- */
+ hwloc_bitmap_set_range(set, 1500, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1500);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 0-99,1500-2199 */
+ hwloc_bitmap_clr_range(set, 2200, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 800);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1500);
+ assert(hwloc_bitmap_last(set) == 2199);
+ /* 0-99,1500-1999 */
+ hwloc_bitmap_clr_range(set, 2000, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 600);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1500);
+ assert(hwloc_bitmap_last(set) == 1999);
+ /* 0-99,1500- */
+ hwloc_bitmap_set_range(set, 2000, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == -1);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1500);
+ assert(hwloc_bitmap_last(set) == -1);
+ /* 0-99,1500-1999 */
+ hwloc_bitmap_clr_range(set, 2000, -1);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 600);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1500);
+ assert(hwloc_bitmap_last(set) == 1999);
+ /* 0-99,200-1999 */
+ hwloc_bitmap_set_range(set, 200, 1499);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 1900);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 200);
+ assert(hwloc_bitmap_last(set) == 1999);
+ /* 0-99,1999 */
+ hwloc_bitmap_clr_range(set, 200, 1998);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 101);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_next(set, 99) == 1999);
+ assert(hwloc_bitmap_last(set) == 1999);
+ /* 1999 */
+ hwloc_bitmap_clr_range(set, 0, 100);
+ assert(!hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 1);
+ assert(hwloc_bitmap_first(set) == 1999);
+ assert(hwloc_bitmap_last(set) == 1999);
+ /* empty */
+ hwloc_bitmap_clr(set, 1999);
+ assert(hwloc_bitmap_iszero(set));
+ assert(!hwloc_bitmap_isfull(set));
+ assert(hwloc_bitmap_weight(set) == 0);
+ assert(hwloc_bitmap_first(set) == -1);
+ assert(hwloc_bitmap_last(set) == -1);
+ hwloc_bitmap_free(set);
+
+ /* check miscellaneous other functions */
+ set = hwloc_bitmap_alloc();
+ /* from_ulong */
+ hwloc_bitmap_from_ulong(set, 0x0ff0);
+ assert(hwloc_bitmap_first(set) == 4);
+ assert(hwloc_bitmap_last(set) == 11);
+ assert(hwloc_bitmap_weight(set) == 8);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == 0xff0);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == 0);
+ /* from_ith_ulong */
+ hwloc_bitmap_zero(set);
+ assert(hwloc_bitmap_weight(set) == 0);
+ hwloc_bitmap_from_ith_ulong(set, 2, 0xff00);
+ assert(hwloc_bitmap_weight(set) == 8);
+ assert(hwloc_bitmap_to_ith_ulong(set, 0) == 0);
+ assert(hwloc_bitmap_to_ith_ulong(set, 1) == 0);
+ assert(hwloc_bitmap_to_ith_ulong(set, 2) == 0xff00);
+ assert(hwloc_bitmap_to_ith_ulong(set, 3) == 0);
+ /* allbut and not */
+ hwloc_bitmap_allbut(set, 153);
+ assert(hwloc_bitmap_weight(set) == -1);
+ hwloc_bitmap_not(set, set);
+ assert(hwloc_bitmap_weight(set) == 1);
+ assert(hwloc_bitmap_first(set) == 153);
+ assert(hwloc_bitmap_last(set) == 153);
+ /* clr_range */
+ hwloc_bitmap_fill(set);
+ hwloc_bitmap_clr_range(set, 178, 3589);
+ hwloc_bitmap_not(set, set);
+ assert(hwloc_bitmap_weight(set) == 3589-178+1);
+ assert(hwloc_bitmap_first(set) == 178);
+ assert(hwloc_bitmap_last(set) == 3589);
+ /* singlify */
+ hwloc_bitmap_zero(set);
+ hwloc_bitmap_set_range(set, 0, 127);
+ assert(hwloc_bitmap_weight(set) == 128);
+ hwloc_bitmap_not(set, set);
+ assert(hwloc_bitmap_weight(set) == -1);
+ hwloc_bitmap_singlify(set);
+ assert(hwloc_bitmap_weight(set) == 1);
+ assert(hwloc_bitmap_first(set) == 128);
+ assert(hwloc_bitmap_last(set) == 128);
+
+ hwloc_bitmap_free(set);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2015 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <private/private.h>
+
+#include <assert.h>
+
+/* check hwloc_bitmap_compare_inclusion() */
+
+static int check_compare(hwloc_const_bitmap_t set1, hwloc_const_bitmap_t set2)
+{
+ int res = hwloc_bitmap_compare_inclusion(set1, set2);
+
+ if (hwloc_bitmap_iszero(set1)) {
+ if (hwloc_bitmap_iszero(set2)) {
+ assert(res == HWLOC_BITMAP_EQUAL);
+ } else {
+ assert(res == HWLOC_BITMAP_INCLUDED);
+ }
+ } else if (hwloc_bitmap_iszero(set2)) {
+ assert(res == HWLOC_BITMAP_CONTAINS);
+
+ } else if (hwloc_bitmap_isequal(set1, set2)) {
+ assert(res == HWLOC_BITMAP_EQUAL);
+ } else if (hwloc_bitmap_isincluded(set1, set2)) {
+ assert(res == HWLOC_BITMAP_INCLUDED);
+ } else if (hwloc_bitmap_isincluded(set2, set1)) {
+ assert(res == HWLOC_BITMAP_CONTAINS);
+ } else if (hwloc_bitmap_intersects(set1, set2)) {
+ assert(res == HWLOC_BITMAP_INTERSECTS);
+ } else {
+ assert(res == HWLOC_BITMAP_DIFFERENT);
+ }
+
+ return res;
+}
+
+int main(void)
+{
+#define N 10
+ hwloc_bitmap_t sets[N];
+ unsigned i,j;
+ unsigned stats[5];
+
+ memset(stats, 0, sizeof(stats));
+
+ sets[0] = hwloc_bitmap_alloc();
+
+ sets[1] = hwloc_bitmap_alloc_full();
+
+ sets[2] = hwloc_bitmap_alloc_full();
+ hwloc_bitmap_clr_range(sets[2], 56, 129);
+
+ sets[3] = hwloc_bitmap_alloc_full();
+ hwloc_bitmap_clr_range(sets[3], 0, 33);
+ hwloc_bitmap_clr_range(sets[3], 50, 135);
+
+ sets[4] = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(sets[4], 0, 24);
+
+ sets[5] = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(sets[5], 0, 178);
+
+ sets[6] = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(sets[6], 0, 191);
+ hwloc_bitmap_set_range(sets[6], 1031, 2035);
+
+ sets[7] = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(sets[7], 324, 456);
+
+ sets[8] = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(sets[8], 323, 455);
+ hwloc_bitmap_set_range(sets[8], 136, 177);
+
+ sets[9] = hwloc_bitmap_alloc();
+ hwloc_bitmap_set_range(sets[9], 3, 6);
+
+ for(i=0; i<N; i++) {
+ for(j=0; j<N; j++) {
+ int res = check_compare(sets[i], sets[j]);
+ stats[res]++;
+ }
+ }
+
+ for(i=0; i<N; i++)
+ hwloc_bitmap_free(sets[i]);
+
+ printf("got %u EQUAL\n", stats[0]);
+ printf("got %u INCLUDED\n", stats[1]);
+ printf("got %u CONTAINS\n", stats[2]);
+ printf("got %u INTERSECTS\n", stats[3]);
+ printf("got %u DIFFERENT\n", stats[4]);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <assert.h>
+
+/* check hwloc_bitmap_first(), _last(), _next() and _weight() */
+
+int main(void)
+{
+ hwloc_bitmap_t set;
+ int i, cpu, expected_cpu = 0;
+
+ /* empty set */
+ set = hwloc_bitmap_alloc();
+ assert(hwloc_bitmap_first(set) == -1);
+ assert(hwloc_bitmap_last(set) == -1);
+ assert(hwloc_bitmap_next(set, 0) == -1);
+ assert(hwloc_bitmap_next(set, -1) == -1);
+ assert(hwloc_bitmap_weight(set) == 0);
+
+ /* full set */
+ hwloc_bitmap_fill(set);
+ assert(hwloc_bitmap_first(set) == 0);
+ assert(hwloc_bitmap_last(set) == -1);
+ assert(hwloc_bitmap_next(set, -1) == 0);
+ assert(hwloc_bitmap_next(set, 0) == 1);
+ assert(hwloc_bitmap_next(set, 1) == 2);
+ assert(hwloc_bitmap_next(set, 2) == 3);
+ assert(hwloc_bitmap_next(set, 30) == 31);
+ assert(hwloc_bitmap_next(set, 31) == 32);
+ assert(hwloc_bitmap_next(set, 32) == 33);
+ assert(hwloc_bitmap_next(set, 62) == 63);
+ assert(hwloc_bitmap_next(set, 63) == 64);
+ assert(hwloc_bitmap_next(set, 64) == 65);
+ assert(hwloc_bitmap_next(set, 12345) == 12346);
+ assert(hwloc_bitmap_weight(set) == -1);
+
+ /* custom sets */
+ hwloc_bitmap_zero(set);
+ hwloc_bitmap_set_range(set, 36, 59);
+ assert(hwloc_bitmap_first(set) == 36);
+ assert(hwloc_bitmap_last(set) == 59);
+ assert(hwloc_bitmap_next(set, -1) == 36);
+ assert(hwloc_bitmap_next(set, 0) == 36);
+ assert(hwloc_bitmap_next(set, 36) == 37);
+ assert(hwloc_bitmap_next(set, 59) == -1);
+ assert(hwloc_bitmap_weight(set) == 24);
+ hwloc_bitmap_set_range(set, 136, 259);
+ assert(hwloc_bitmap_first(set) == 36);
+ assert(hwloc_bitmap_last(set) == 259);
+ assert(hwloc_bitmap_next(set, 59) == 136);
+ assert(hwloc_bitmap_next(set, 259) == -1);
+ assert(hwloc_bitmap_weight(set) == 148);
+ hwloc_bitmap_clr(set, 199);
+ assert(hwloc_bitmap_first(set) == 36);
+ assert(hwloc_bitmap_last(set) == 259);
+ assert(hwloc_bitmap_next(set, 198) == 200);
+ assert(hwloc_bitmap_next(set, 199) == 200);
+ assert(hwloc_bitmap_weight(set) == 147);
+
+ i = 0;
+ hwloc_bitmap_foreach_begin(cpu, set) {
+ if (0 <= i && i < 24)
+ expected_cpu = i + 36;
+ else if (24 <= i && i < 87)
+ expected_cpu = i + 112;
+ else if (87 <= i && i < 147)
+ expected_cpu = i + 113;
+
+ assert(expected_cpu == cpu);
+
+ i++;
+ } hwloc_bitmap_foreach_end();
+
+ hwloc_bitmap_free(set);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* check hwloc_bitmap_singlify() */
+
+int main(void)
+{
+ hwloc_bitmap_t orig, expected;
+
+ orig = hwloc_bitmap_alloc();
+ expected = hwloc_bitmap_alloc();
+
+ /* empty set gives empty set */
+ hwloc_bitmap_singlify(orig);
+ assert(hwloc_bitmap_iszero(orig));
+
+ /* full set gives first bit only */
+ hwloc_bitmap_fill(orig);
+ hwloc_bitmap_singlify(orig);
+ hwloc_bitmap_zero(expected);
+ hwloc_bitmap_set(expected, 0);
+ assert(hwloc_bitmap_isequal(orig, expected));
+ assert(!hwloc_bitmap_compare(orig, expected));
+
+ /* actual non-trivial set */
+ hwloc_bitmap_zero(orig);
+ hwloc_bitmap_set(orig, 45);
+ hwloc_bitmap_set(orig, 46);
+ hwloc_bitmap_set(orig, 517);
+ hwloc_bitmap_singlify(orig);
+ hwloc_bitmap_zero(expected);
+ hwloc_bitmap_set(expected, 45);
+ assert(hwloc_bitmap_isequal(orig, expected));
+ assert(!hwloc_bitmap_compare(orig, expected));
+
+ hwloc_bitmap_free(orig);
+ hwloc_bitmap_free(expected);
+
+ return 0;
+}
--- /dev/null
+
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2015 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* check hwloc_bitmap_asprintf(), hwloc_obj_cpuset_snprintf() and hwloc_bitmap_sscanf() */
+
+static void check_cpuset(hwloc_bitmap_t set, const char *expected1, const char *expected2, const char *expected3)
+{
+ hwloc_bitmap_t set2 = hwloc_bitmap_alloc();
+ char *string = NULL;
+
+ hwloc_bitmap_asprintf(&string, set);
+ fprintf(stderr, "exported to %s\n", string);
+ if (expected1 && strcmp(string, expected1)) {
+ fprintf(stderr, "got %s instead of %s\n", string, expected1);
+ assert(0);
+ }
+ hwloc_bitmap_sscanf(set2, string);
+ free(string);
+ assert(hwloc_bitmap_isequal(set, set2));
+
+ hwloc_bitmap_list_asprintf(&string, set);
+ fprintf(stderr, "exported to list %s\n", string);
+ if (expected2 && strcmp(string, expected2)) {
+ fprintf(stderr, "got %s instead of %s\n", string, expected2);
+ assert(0);
+ }
+ hwloc_bitmap_list_sscanf(set2, string);
+ free(string);
+ assert(hwloc_bitmap_isequal(set, set2));
+
+ hwloc_bitmap_taskset_asprintf(&string, set);
+ fprintf(stderr, "exported to taskset %s\n", string);
+ if (expected3 && strcmp(string, expected3)) {
+ fprintf(stderr, "got %s instead of %s\n", string, expected3);
+ assert(0);
+ }
+ hwloc_bitmap_taskset_sscanf(set2, string);
+ free(string);
+ assert(hwloc_bitmap_isequal(set, set2));
+
+ hwloc_bitmap_free(set2);
+}
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ unsigned depth;
+ char *string = NULL;
+ int stringlen, len;
+ hwloc_obj_t obj;
+ hwloc_bitmap_t set;
+
+ /* check an empty cpuset */
+ set = hwloc_bitmap_alloc();
+ check_cpuset(set, "0x0", "", "0x0");
+ printf("empty cpuset converted back and forth, ok\n");
+
+ /* make sure the first ulong is allocated even if empty */
+ hwloc_bitmap_set_ith_ulong(set, 0, 0UL);
+ check_cpuset(set, "0x0", "", "0x0");
+ printf("uselessly modified empty cpuset converted back and forth, ok\n");
+
+ /* make sure the 6th ulong is allocated even if empty */
+ hwloc_bitmap_set_ith_ulong(set, 5, 0UL);
+ check_cpuset(set, "0x0", "", "0x0");
+ printf("twice uselessly modified empty cpuset converted back and forth, ok\n");
+ hwloc_bitmap_free(set);
+
+ /* check a full (and infinite) cpuset */
+ set = hwloc_bitmap_alloc_full();
+ check_cpuset(set, "0xf...f", "0-", "0xf...f");
+ printf("full cpuset converted back and forth, ok\n");
+
+ /* make sure the first ulong is allocated even if full */
+ hwloc_bitmap_set_ith_ulong(set, 0, ~0UL);
+ check_cpuset(set, "0xf...f", "0-", "0xf...f");
+ printf("uselessly modified full cpuset converted back and forth, ok\n");
+
+ /* make sure the 9th ulong is allocated even if full */
+ hwloc_bitmap_set_ith_ulong(set, 8, ~0UL);
+ check_cpuset(set, "0xf...f", "0-", "0xf...f");
+ printf("twice uselessly modified full cpuset converted back and forth, ok\n");
+ hwloc_bitmap_free(set);
+
+ /* check an infinite (but non full) cpuset */
+ set = hwloc_bitmap_alloc_full();
+ hwloc_bitmap_clr(set, 173);
+ hwloc_bitmap_clr_range(set, 60, 70);
+ check_cpuset(set, "0xf...f,0xffffdfff,0xffffffff,0xffffffff,0xffffff80,0x0fffffff,0xffffffff", "0-59,71-172,174-", "0xf...fffffdfffffffffffffffffffffffff800fffffffffffffff");
+ hwloc_bitmap_free(set);
+ printf("infinite/nonfull cpuset converted back and forth, ok\n");
+
+ /* check an finite cpuset */
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(set, 2);
+ hwloc_bitmap_set_range(set, 67, 70);
+ check_cpuset(set, "0x00000078,,0x00000004", "2,67-70", "0x780000000000000004");
+ hwloc_bitmap_free(set);
+ printf("finite/nonnull cpuset converted back and forth, ok\n");
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "6 5 4 3 2");
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+
+ obj = hwloc_get_root_obj(topology);
+ stringlen = hwloc_bitmap_asprintf(&string, obj->cpuset);
+ printf("system cpuset is %s\n", string);
+ check_cpuset(obj->cpuset, NULL, NULL, NULL);
+ printf("system cpuset converted back and forth, ok\n");
+
+ printf("truncating system cpuset to NULL buffer\n");
+ len = hwloc_obj_cpuset_snprintf(NULL, 0, 1, &obj);
+ assert(len == stringlen);
+
+ printf("truncating system cpuset to 0 char (no modification)\n");
+ memset(string, 'X', 1);
+ string[1] = 0;
+ len = hwloc_obj_cpuset_snprintf(string, 0, 1, &obj);
+ assert(len == stringlen);
+ assert(string[0] == 'X');
+
+ printf("truncating system cpuset to 1 char (empty string)\n");
+ memset(string, 'X', 2);
+ string[2] = 0;
+ len = hwloc_obj_cpuset_snprintf(string, 1, 1, &obj);
+ printf("got %s\n", string);
+ assert(len == stringlen);
+ assert(string[0] == 0);
+ assert(string[1] == 'X');
+
+ printf("truncating system cpuset to 10 chars (single 32bit subset except last char)\n");
+ memset(string, 'X', 11);
+ string[11] = 0;
+ len = hwloc_obj_cpuset_snprintf(string, 10, 1, &obj);
+ printf("got %s\n", string);
+ assert(len == stringlen);
+ assert(string[8] == 'f');
+ assert(string[9] == 0);
+ assert(string[10] == 'X');
+
+ printf("truncating system cpuset to 11 chars (single 32bit subset)\n");
+ memset(string, 'X', 12);
+ string[12] = 0;
+ len = hwloc_obj_cpuset_snprintf(string, 11, 1, &obj);
+ printf("got %s\n", string);
+ assert(len == stringlen);
+ assert(string[9] == 'f');
+ assert(string[10] == 0);
+ assert(string[11] == 'X');
+
+ printf("truncating system cpuset to 23 chars (two 32bit subsets with ending comma)\n");
+ memset(string, 'X', 24);
+ string[24] = 0;
+ len = hwloc_obj_cpuset_snprintf(string, 23, 1, &obj);
+ printf("got %s\n", string);
+ assert(len == stringlen);
+ assert(string[20] == 'f');
+ assert(string[21] == ',');
+ assert(string[22] == 0);
+ assert(string[23] == 'X');
+
+ printf("truncating system cpuset to 51 chars (truncate to four and a half 32bit subsets)\n");
+ memset(string, 'X', 52);
+ string[52] = 0;
+ len = hwloc_obj_cpuset_snprintf(string, 51, 1, &obj);
+ printf("got %s\n", string);
+ assert(len == stringlen);
+ assert(string[49] == 'f');
+ assert(string[50] == 0);
+ assert(string[51] == 'X');
+
+ obj = hwloc_get_obj_by_depth(topology, depth-1, 0);
+ hwloc_obj_cpuset_snprintf(string, stringlen+1, 1, &obj);
+ printf("first cpu cpuset is %s\n", string);
+ check_cpuset(obj->cpuset, NULL, NULL, NULL);
+ printf("first cpu cpuset converted back and forth, ok\n");
+
+ obj = hwloc_get_obj_by_depth(topology, depth-1, hwloc_get_nbobjs_by_depth(topology, depth-1) - 1);
+ hwloc_obj_cpuset_snprintf(string, stringlen+1, 1, &obj);
+ printf("last cpu cpuset is %s\n", string);
+ check_cpuset(obj->cpuset, NULL, NULL, NULL);
+ printf("last cpu cpuset converted back and forth, ok\n");
+
+ free(string);
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2011-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+int main(void)
+{
+ hwloc_topology_t local, global;
+ hwloc_obj_t sw1, sw2, sw11, sw12, sw21, sw22, root;
+ int err;
+
+ printf("Loading the local topology...\n");
+ hwloc_topology_init(&local);
+ hwloc_topology_set_synthetic(local, "node:2 pack:2 cache:1 core:2 cache:2 pu:2");
+ hwloc_topology_load(local);
+
+ printf("Try to create an empty custom topology...\n");
+ hwloc_topology_init(&global);
+ hwloc_topology_set_custom(global);
+ err = hwloc_topology_load(global);
+ assert(err == -1);
+ assert(errno == EINVAL);
+ hwloc_topology_destroy(global);
+
+ printf("Creating a custom topology...\n");
+ hwloc_topology_init(&global);
+ hwloc_topology_set_custom(global);
+
+ printf("Inserting the local topology into the global one...\n");
+ root = hwloc_get_root_obj(global);
+
+ sw1 = hwloc_custom_insert_group_object_by_parent(global, root, 0);
+ sw11 = hwloc_custom_insert_group_object_by_parent(global, sw1, 1);
+ hwloc_custom_insert_topology(global, sw11, local, NULL);
+ hwloc_custom_insert_topology(global, sw11, local, NULL);
+ sw12 = hwloc_custom_insert_group_object_by_parent(global, sw1, 1);
+ hwloc_custom_insert_topology(global, sw12, local, NULL);
+ hwloc_custom_insert_topology(global, sw12, local, NULL);
+
+ sw2 = hwloc_custom_insert_group_object_by_parent(global, root, 0);
+ sw21 = hwloc_custom_insert_group_object_by_parent(global, sw2, 1);
+ hwloc_custom_insert_topology(global, sw21, local, NULL);
+ hwloc_custom_insert_topology(global, sw21, local, NULL);
+ hwloc_custom_insert_topology(global, sw21, local, NULL);
+ sw22 = hwloc_custom_insert_group_object_by_parent(global, sw2, 1);
+ hwloc_custom_insert_topology(global, sw22, local, NULL); /* only one to check that it won't get merged */
+
+ hwloc_topology_destroy(local);
+
+ printf("Building the global topology...\n");
+ hwloc_topology_load(global);
+ hwloc_topology_check(global);
+
+ assert(hwloc_topology_get_depth(global) == 10);
+ assert(hwloc_get_depth_type(global, 0) == HWLOC_OBJ_SYSTEM);
+ assert(hwloc_get_nbobjs_by_type(global, HWLOC_OBJ_SYSTEM) == 1);
+ assert(hwloc_get_depth_type(global, 1) == HWLOC_OBJ_GROUP);
+ assert(hwloc_get_nbobjs_by_depth(global, 1) == 2);
+ assert(hwloc_get_depth_type(global, 2) == HWLOC_OBJ_GROUP);
+ assert(hwloc_get_nbobjs_by_depth(global, 2) == 4); /* the last group of this level shouldn't be merged */
+ assert(hwloc_get_depth_type(global, 3) == HWLOC_OBJ_MACHINE);
+ assert(hwloc_get_nbobjs_by_type(global, HWLOC_OBJ_MACHINE) == 8);
+ assert(hwloc_get_depth_type(global, 4) == HWLOC_OBJ_NODE);
+ assert(hwloc_get_nbobjs_by_type(global, HWLOC_OBJ_NODE) == 16);
+ assert(hwloc_get_depth_type(global, 5) == HWLOC_OBJ_PACKAGE);
+ assert(hwloc_get_nbobjs_by_type(global, HWLOC_OBJ_PACKAGE) == 32);
+ assert(hwloc_get_depth_type(global, 6) == HWLOC_OBJ_CACHE);
+ assert(hwloc_get_nbobjs_by_depth(global, 6) == 32);
+ assert(hwloc_get_depth_type(global, 7) == HWLOC_OBJ_CORE);
+ assert(hwloc_get_nbobjs_by_type(global, HWLOC_OBJ_CORE) == 64);
+ assert(hwloc_get_depth_type(global, 8) == HWLOC_OBJ_CACHE);
+ assert(hwloc_get_nbobjs_by_depth(global, 8) == 128);
+ assert(hwloc_get_depth_type(global, 9) == HWLOC_OBJ_PU);
+ assert(hwloc_get_nbobjs_by_type(global, HWLOC_OBJ_PU) == 256);
+
+ hwloc_topology_destroy(global);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2010-2014 Inria. All rights reserved.
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* test setting/retrieving distances */
+
+static void print_distances(const struct hwloc_distances_s *distances)
+{
+ unsigned nbobjs = distances->nbobjs;
+ unsigned i, j;
+
+ printf(" ");
+ /* column header */
+ for(j=0; j<nbobjs; j++)
+ printf(" % 5d", (int) j);
+ printf("\n");
+
+ /* each line */
+ for(i=0; i<nbobjs; i++) {
+ /* row header */
+ printf("% 5d", (int) i);
+ /* each value */
+ for(j=0; j<nbobjs; j++)
+ printf(" %2.3f", distances->latency[i*nbobjs+j]);
+ printf("\n");
+ }
+}
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ unsigned nbobjs;
+ const struct hwloc_distances_s *distances;
+ float d1, d2;
+ unsigned depth, topodepth, i, j;
+ int err;
+ hwloc_obj_t obj1, obj2;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:4 core:4 pu:1");
+ putenv("HWLOC_NUMANode_DISTANCES=0,1,2,3:2*2");
+ putenv("HWLOC_PU_DISTANCES=0-15:4*2*2");
+ hwloc_topology_load(topology);
+
+ topodepth = hwloc_topology_get_depth(topology);
+
+ for(depth=0; depth<topodepth; depth++) {
+ distances = hwloc_get_whole_distance_matrix_by_depth(topology, depth);
+ if (!distances || !distances->latency) {
+ printf("No distance at depth %u\n", depth);
+ continue;
+ }
+
+ printf("distance matrix for depth %u:\n", depth);
+ print_distances(distances);
+ nbobjs = distances->nbobjs;
+
+ obj1 = hwloc_get_obj_by_depth(topology, depth, 0);
+ obj2 = hwloc_get_obj_by_depth(topology, depth, nbobjs-1);
+ err = hwloc_get_latency(topology, obj1, obj2, &d1, &d2);
+ assert(!err);
+ assert(d1 == distances->latency[0*nbobjs+(nbobjs-1)]);
+ assert(d2 == distances->latency[(nbobjs-1)*nbobjs+0]);
+ }
+
+ /* check that hwloc_get_latency works fine on numa distances */
+ distances = hwloc_get_whole_distance_matrix_by_type(topology, HWLOC_OBJ_NUMANODE);
+ if (!distances || !distances->latency) {
+ fprintf(stderr, "No NUMA distance matrix!\n");
+ return -1;
+ }
+ printf("distance matrix for NUMA nodes\n");
+ print_distances(distances);
+ nbobjs = distances->nbobjs;
+ for(i=0; i<nbobjs; i++)
+ for(j=0; j<nbobjs; j++) {
+ obj1 = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, i);
+ obj2 = hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, j);
+ err = hwloc_get_latency(topology, obj1, obj2, &d1, &d2);
+ assert(!err);
+ assert(d1 == distances->latency[i*nbobjs+j]);
+ assert(d2 == distances->latency[j*nbobjs+i]);
+ }
+ /* check that some random values are ok */
+ assert(distances->latency[0] == 1.0); /* diagonal */
+ assert(distances->latency[4] == 4.0); /* same group */
+ assert(distances->latency[6] == 8.0); /* different group */
+ assert(distances->latency[9] == 8.0); /* different group */
+ assert(distances->latency[10] == 1.0); /* diagonal */
+ assert(distances->latency[14] == 4.0); /* same group */
+
+ /* check that hwloc_get_latency works fine on PU distances */
+ distances = hwloc_get_whole_distance_matrix_by_type(topology, HWLOC_OBJ_PU);
+ if (!distances || !distances->latency) {
+ fprintf(stderr, "No PU distance matrix!\n");
+ return -1;
+ }
+ printf("distance matrix for PU nodes\n");
+ print_distances(distances);
+ nbobjs = distances->nbobjs;
+ for(i=0; i<16; i++)
+ for(j=0; j<16; j++) {
+ obj1 = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, i);
+ obj2 = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, j);
+ err = hwloc_get_latency(topology, obj1, obj2, &d1, &d2);
+ assert(!err);
+ assert(d1 == distances->latency[i*nbobjs+j]);
+ assert(d2 == distances->latency[j*nbobjs+i]);
+ }
+ /* check that some random values are ok */
+ assert(distances->latency[0] == 1.0); /* diagonal */
+ assert(distances->latency[1] == 2.0); /* same group */
+ assert(distances->latency[3] == 4.0); /* same biggroup */
+ assert(distances->latency[15] == 8.0); /* different biggroup */
+ assert(distances->latency[250] == 8.0); /* different biggroup */
+ assert(distances->latency[253] == 4.0); /* same group */
+ assert(distances->latency[254] == 2.0); /* same biggroup */
+ assert(distances->latency[255] == 1.0); /* diagonal */
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2016-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <stdio.h>
+#include <assert.h>
+
+#define LEN 1048576
+
+int main(void)
+{
+ const struct hwloc_topology_support *support;
+ char *buffer;
+ hwloc_topology_t topology;
+ hwloc_bitmap_t set = hwloc_bitmap_alloc();
+ hwloc_bitmap_t total = hwloc_bitmap_alloc();
+ hwloc_obj_t node;
+ char *s;
+ int err;
+
+ err = hwloc_topology_init(&topology);
+ assert(!err);
+ err = hwloc_topology_load(topology);
+ assert(!err);
+
+ support = hwloc_topology_get_support(topology);
+ if (!support->membind->get_area_memlocation)
+ goto out;
+
+ buffer = hwloc_alloc(topology, LEN);
+ assert(buffer);
+ printf("buffer %p length %d\n", buffer, LEN);
+
+ err = hwloc_get_area_memlocation(topology, buffer, LEN, set, HWLOC_MEMBIND_BYNODESET);
+ if (err < 0 && errno == ENOSYS) {
+ fprintf(stderr, "hwloc_get_area_memlocation() failed with ENOSYS, aborting\n");
+ goto out_with_buffer;
+ }
+ assert(!err);
+ hwloc_bitmap_asprintf(&s, set);
+ printf("address %p length %d allocated in nodeset %s\n", buffer, LEN, s);
+ free(s);
+ hwloc_bitmap_copy(total, set);
+
+ node = NULL;
+ next1:
+ node = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, node);
+ if (!node)
+ goto out_with_buffer;
+ if (!node->memory.local_memory)
+ goto next1;
+ printf("binding to 1st node and touching 1st quarter\n");
+ err = hwloc_set_area_membind(topology, buffer, LEN, node->nodeset, HWLOC_MEMBIND_BIND, HWLOC_MEMBIND_BYNODESET);
+ if (err < 0 && errno == ENOSYS) {
+ fprintf(stderr, "hwloc_set_area_membind() failed with ENOSYS, aborting\n");
+ goto out_with_buffer;
+ }
+ assert(!err);
+
+ memset(buffer, 0, LEN/4);
+ err = hwloc_get_area_memlocation(topology, buffer, 1, set, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+ hwloc_bitmap_asprintf(&s, set);
+ printf("address %p length %d allocated in nodeset %s\n", buffer, LEN/4, s);
+ free(s);
+ hwloc_bitmap_or(total, total, set);
+
+ next2:
+ node = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, node);
+ if (!node)
+ goto out_with_nomorenodes;
+ if (!node->memory.local_memory)
+ goto next2;
+ printf("binding to 2nd node and touching 2nd quarter\n");
+ err = hwloc_set_area_membind(topology, buffer, LEN, node->nodeset, HWLOC_MEMBIND_BIND, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+
+ memset(buffer+LEN/4, 0, LEN/4);
+ err = hwloc_get_area_memlocation(topology, buffer+LEN/4, LEN/4, set, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+ hwloc_bitmap_asprintf(&s, set);
+ printf("address %p length %d allocated in nodeset %s\n", buffer+LEN/4, LEN/4, s);
+ free(s);
+ hwloc_bitmap_or(total, total, set);
+
+ next3:
+ node = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, node);
+ if (!node)
+ goto out_with_nomorenodes;
+ if (!node->memory.local_memory)
+ goto next3;
+ printf("binding to 3rd node and touching 3rd quarter\n");
+ err = hwloc_set_area_membind(topology, buffer, LEN, node->nodeset, HWLOC_MEMBIND_BIND, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+
+ memset(buffer+LEN/2, 0, LEN/4);
+ err = hwloc_get_area_memlocation(topology, buffer+LEN/2, LEN/4, set, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+ hwloc_bitmap_asprintf(&s, set);
+ printf("address %p length %d allocated in nodeset %s\n", buffer+LEN/2, LEN/4, s);
+ free(s);
+ hwloc_bitmap_or(total, total, set);
+
+ next4:
+ node = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, node);
+ if (!node)
+ goto out_with_nomorenodes;
+ if (!node->memory.local_memory)
+ goto next4;
+ printf("binding to 4th node and touching 4th quarter\n");
+ err = hwloc_set_area_membind(topology, buffer, LEN, node->nodeset, HWLOC_MEMBIND_BIND, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+
+ memset(buffer+3*LEN/4, 0, LEN/4);
+ err = hwloc_get_area_memlocation(topology, buffer+3*LEN/4, LEN/4, set, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+ hwloc_bitmap_asprintf(&s, set);
+ printf("address %p length %d allocated in nodeset %s\n", buffer+3*LEN/4, LEN/4, s);
+ free(s);
+ hwloc_bitmap_or(total, total, set);
+
+ out_with_nomorenodes:
+ err = hwloc_get_area_memlocation(topology, buffer, LEN, set, HWLOC_MEMBIND_BYNODESET);
+ assert(!err);
+ hwloc_bitmap_asprintf(&s, set);
+ printf("address %p length %d located on %s\n", buffer, LEN, s);
+ free(s);
+ assert(hwloc_bitmap_isincluded(total, set));
+
+ out_with_buffer:
+ hwloc_free(topology, buffer, LEN);
+
+ out:
+ hwloc_topology_destroy(topology);
+ hwloc_bitmap_free(set);
+ hwloc_bitmap_free(total);
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* check hwloc_get_cache_covering_cpuset() */
+
+#define SYNTHETIC_TOPOLOGY_DESCRIPTION "6 5 4 3 2" /* 736bits wide topology */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj, cache;
+ hwloc_bitmap_t set;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, SYNTHETIC_TOPOLOGY_DESCRIPTION);
+ hwloc_topology_load(topology);
+
+ /* check the cache above a given cpu */
+#define CPUINDEX 180
+ set = hwloc_bitmap_alloc();
+ obj = hwloc_get_obj_by_depth(topology, 5, CPUINDEX);
+ assert(obj);
+ hwloc_bitmap_or(set, set, obj->cpuset);
+ cache = hwloc_get_cache_covering_cpuset(topology, set);
+ assert(cache);
+ assert(cache->type == HWLOC_OBJ_CACHE);
+ assert(cache->logical_index == CPUINDEX/2/3);
+ assert(hwloc_obj_is_in_subtree(topology, obj, cache));
+ hwloc_bitmap_free(set);
+
+ /* check the cache above two nearby cpus */
+#define CPUINDEX1 180
+#define CPUINDEX2 183
+ set = hwloc_bitmap_alloc();
+ obj = hwloc_get_obj_by_depth(topology, 5, CPUINDEX1);
+ assert(obj);
+ hwloc_bitmap_or(set, set, obj->cpuset);
+ obj = hwloc_get_obj_by_depth(topology, 5, CPUINDEX2);
+ assert(obj);
+ hwloc_bitmap_or(set, set, obj->cpuset);
+ cache = hwloc_get_cache_covering_cpuset(topology, set);
+ assert(cache);
+ assert(cache->type == HWLOC_OBJ_CACHE);
+ assert(cache->logical_index == CPUINDEX1/2/3);
+ assert(cache->logical_index == CPUINDEX2/2/3);
+ assert(hwloc_obj_is_in_subtree(topology, obj, cache));
+ hwloc_bitmap_free(set);
+
+ /* check no cache above two distant cpus */
+#undef CPUINDEX1
+#define CPUINDEX1 300
+ set = hwloc_bitmap_alloc();
+ obj = hwloc_get_obj_by_depth(topology, 5, CPUINDEX1);
+ assert(obj);
+ hwloc_bitmap_or(set, set, obj->cpuset);
+ obj = hwloc_get_obj_by_depth(topology, 5, CPUINDEX2);
+ assert(obj);
+ hwloc_bitmap_or(set, set, obj->cpuset);
+ cache = hwloc_get_cache_covering_cpuset(topology, set);
+ assert(!cache);
+ hwloc_bitmap_free(set);
+
+ /* check no cache above higher level */
+ set = hwloc_bitmap_alloc();
+ obj = hwloc_get_obj_by_depth(topology, 2, 0);
+ assert(obj);
+ hwloc_bitmap_or(set, set, obj->cpuset);
+ cache = hwloc_get_cache_covering_cpuset(topology, set);
+ assert(!cache);
+ hwloc_bitmap_free(set);
+
+ hwloc_topology_destroy(topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/*
+ * check hwloc_get_closest_objs()
+ *
+ * - get the last object of the last level
+ * - get all closest objects
+ * - get the common ancestor of last level and its less close object.
+ * - check that the ancestor is the system level
+ */
+
+int
+main (void)
+{
+ hwloc_topology_t topology;
+ unsigned depth;
+ hwloc_obj_t last;
+ hwloc_obj_t *closest;
+ unsigned found;
+ int err;
+ unsigned numprocs;
+ hwloc_obj_t ancestor;
+
+ err = hwloc_topology_init (&topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ hwloc_topology_set_synthetic (topology, "2 3 4 5");
+
+ err = hwloc_topology_load (topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ depth = hwloc_topology_get_depth(topology);
+
+ /* get the last object of last level */
+ numprocs = hwloc_get_nbobjs_by_depth(topology, depth-1);
+ last = hwloc_get_obj_by_depth(topology, depth-1, numprocs-1);
+
+ /* allocate the array of closest objects */
+ closest = malloc(numprocs * sizeof(*closest));
+ assert(closest);
+
+ /* get closest levels */
+ found = hwloc_get_closest_objs (topology, last, closest, numprocs);
+ printf("looked for %u closest entries, found %u\n", numprocs, found);
+ assert(found == numprocs-1);
+
+ /* check first found is closest */
+ assert(closest[0] == hwloc_get_obj_by_depth(topology, depth-1, numprocs-5 /* arity is 5 on last level */));
+ /* check some other expected positions */
+ assert(closest[found-1] == hwloc_get_obj_by_depth(topology, depth-1, 1*3*4*5-1 /* last of first half */));
+ assert(closest[found/2-1] == hwloc_get_obj_by_depth(topology, depth-1, 1*3*4*5+2*4*5-1 /* last of second third of second half */));
+ assert(closest[found/2/3-1] == hwloc_get_obj_by_depth(topology, depth-1, 1*3*4*5+2*4*5+3*5-1 /* last of third quarter of third third of second half */));
+
+ /* get ancestor of last and less close object */
+ ancestor = hwloc_get_common_ancestor_obj(topology, last, closest[found-1]);
+ assert(hwloc_obj_is_in_subtree(topology, last, ancestor));
+ assert(hwloc_obj_is_in_subtree(topology, closest[found-1], ancestor));
+ assert(ancestor == hwloc_get_root_obj(topology));
+ printf("ancestor type %d (%s) depth %u number %u is system level\n",
+ (int) ancestor->type, hwloc_obj_type_string(ancestor->type), ancestor->depth, ancestor->logical_index);
+
+ free(closest);
+ hwloc_topology_destroy (topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* check hwloc_get_largest_objs_inside_cpuset()
+ * and hwloc_get_first_largest_obj_inside_cpuset()
+ */
+
+#define SYNTHETIC_TOPOLOGY_DESCRIPTION "6 5 4 3 2" /* 736bits wide topology */
+
+#define GIVEN_LARGESPLIT_CPUSET_STRING "8000,,,,,,,,,,,,,,,,,,,,,,1" /* first and last(735th) bit set */
+#define GIVEN_TOOLARGE_CPUSET_STRING "10000,,,,,,,,,,,,,,,,,,,,,,0" /* 736th bit is too large for the 720-wide topology */
+#define GIVEN_HARD_CPUSET_STRING "07ff,ffffffff,e0000000"
+
+#define OBJ_MAX 16
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ unsigned depth;
+ hwloc_obj_t objs[OBJ_MAX];
+ hwloc_obj_t obj;
+ hwloc_bitmap_t set;
+ int ret;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, SYNTHETIC_TOPOLOGY_DESCRIPTION);
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+
+ /* just get the system object */
+ obj = hwloc_get_root_obj(topology);
+ ret = hwloc_get_largest_objs_inside_cpuset(topology, obj->cpuset, objs, 1);
+ assert(ret == 1);
+ assert(objs[0] == obj);
+ objs[0] = hwloc_get_first_largest_obj_inside_cpuset(topology, obj->cpuset);
+ assert(objs[0] == obj);
+
+ /* just get the very last object */
+ obj = hwloc_get_obj_by_depth(topology, depth-1, hwloc_get_nbobjs_by_depth(topology, depth-1)-1);
+ ret = hwloc_get_largest_objs_inside_cpuset(topology, obj->cpuset, objs, 1);
+ assert(ret == 1);
+ assert(objs[0] == obj);
+
+ /* try an empty one */
+ set = hwloc_bitmap_alloc();
+ ret = hwloc_get_largest_objs_inside_cpuset(topology, set, objs, 1);
+ assert(ret == 0);
+ objs[0] = hwloc_get_first_largest_obj_inside_cpuset(topology, set);
+ assert(objs[0] == NULL);
+ hwloc_bitmap_free(set);
+
+ /* try an impossible one */
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(set, GIVEN_TOOLARGE_CPUSET_STRING);
+ ret = hwloc_get_largest_objs_inside_cpuset(topology, set, objs, 1);
+ assert(ret == -1);
+ objs[0] = hwloc_get_first_largest_obj_inside_cpuset(topology, set);
+ assert(objs[0] == NULL);
+ hwloc_bitmap_free(set);
+
+ /* try a harder one with 1 obj instead of 2 needed */
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(set, GIVEN_LARGESPLIT_CPUSET_STRING);
+ ret = hwloc_get_largest_objs_inside_cpuset(topology, set, objs, 1);
+ assert(ret == 1);
+ assert(objs[0] == hwloc_get_obj_by_depth(topology, depth-1, 0));
+ objs[0] = hwloc_get_first_largest_obj_inside_cpuset(topology, set);
+ assert(objs[0] == hwloc_get_obj_by_depth(topology, depth-1, 0));
+ /* try a harder one with lots of objs instead of 2 needed */
+ ret = hwloc_get_largest_objs_inside_cpuset(topology, set, objs, 2);
+ assert(ret == 2);
+ assert(objs[0] == hwloc_get_obj_by_depth(topology, depth-1, 0));
+ assert(objs[1] == hwloc_get_obj_by_depth(topology, depth-1, hwloc_get_nbobjs_by_depth(topology, depth-1)-1));
+ objs[0] = hwloc_get_first_largest_obj_inside_cpuset(topology, set);
+ hwloc_bitmap_andnot(set, set, objs[0]->cpuset);
+ objs[1] = hwloc_get_first_largest_obj_inside_cpuset(topology, set);
+ hwloc_bitmap_andnot(set, set, objs[1]->cpuset);
+ objs[2] = hwloc_get_first_largest_obj_inside_cpuset(topology, set);
+ assert(objs[0] == hwloc_get_obj_by_depth(topology, depth-1, 0));
+ assert(objs[1] == hwloc_get_obj_by_depth(topology, depth-1, hwloc_get_nbobjs_by_depth(topology, depth-1)-1));
+ assert(objs[2] == NULL);
+ assert(hwloc_bitmap_iszero(set));
+ hwloc_bitmap_free(set);
+
+ /* try a very hard one */
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(set, GIVEN_HARD_CPUSET_STRING);
+ ret = hwloc_get_largest_objs_inside_cpuset(topology, set, objs, OBJ_MAX);
+ assert(objs[0] == hwloc_get_obj_by_depth(topology, 5, 29));
+ assert(objs[1] == hwloc_get_obj_by_depth(topology, 3, 5));
+ assert(objs[2] == hwloc_get_obj_by_depth(topology, 3, 6));
+ assert(objs[3] == hwloc_get_obj_by_depth(topology, 3, 7));
+ assert(objs[4] == hwloc_get_obj_by_depth(topology, 2, 2));
+ assert(objs[5] == hwloc_get_obj_by_depth(topology, 4, 36));
+ assert(objs[6] == hwloc_get_obj_by_depth(topology, 5, 74));
+ hwloc_bitmap_free(set);
+
+ hwloc_topology_destroy(topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2011-2017 Inria. All rights reserved.
+ * Copyright © 2011 Université Bordeaux. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+
+#include <hwloc.h>
+
+hwloc_topology_t topology;
+const struct hwloc_topology_support *support;
+
+static int checkprocincluded;
+
+/* check that a bound process execs on a non-empty cpuset included in the binding */
+static int check(hwloc_const_cpuset_t set, int flags)
+{
+ hwloc_cpuset_t last;
+ int ret;
+
+ printf(" binding\n");
+ ret = hwloc_set_cpubind(topology, set, flags);
+ if (ret)
+ return 0;
+
+ printf(" getting cpu location\n");
+ last = hwloc_bitmap_alloc();
+ ret = hwloc_get_last_cpu_location(topology, last, flags);
+ assert(!ret);
+ assert(!hwloc_bitmap_iszero(last));
+
+ if (flags == HWLOC_CPUBIND_THREAD || checkprocincluded) {
+ printf(" checking inclusion\n");
+ assert(hwloc_bitmap_isincluded(last, set));
+ }
+
+ hwloc_bitmap_free(last);
+ return 0;
+}
+
+static int checkall(hwloc_const_cpuset_t set)
+{
+ if (support->cpubind->get_thisthread_last_cpu_location) {
+ printf(" with HWLOC_CPUBIND_THREAD...\n");
+ check(set, HWLOC_CPUBIND_THREAD);
+ }
+ if (support->cpubind->get_thisproc_last_cpu_location) {
+ printf(" with HWLOC_CPUBIND_PROCESS...\n");
+ check(set, HWLOC_CPUBIND_PROCESS);
+ }
+ if (support->cpubind->get_thisthread_last_cpu_location || support->cpubind->get_thisproc_last_cpu_location) {
+ printf(" with flags 0...\n");
+ check(set, 0);
+ }
+ return 0;
+}
+
+int main(void)
+{
+ unsigned depth;
+ hwloc_obj_t obj;
+
+ checkprocincluded = (NULL == getenv("HWLOC_TEST_DONTCHECK_PROC_CPULOCATION"));
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+
+ support = hwloc_topology_get_support(topology);
+
+ /* check at top level */
+ printf("testing at top level\n");
+ obj = hwloc_get_root_obj(topology);
+ checkall(obj->cpuset);
+
+ depth = hwloc_topology_get_depth(topology);
+ /* check at intermediate level if it exists */
+ if (depth >= 3) {
+ printf("testing at depth %d\n", (depth-1)/2);
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_depth(topology, (depth-1)/2, obj)) != NULL)
+ checkall(obj->cpuset);
+ }
+
+ /* check at bottom level */
+ printf("testing at bottom level\n");
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_PU, obj)) != NULL)
+ checkall(obj->cpuset);
+
+ hwloc_topology_destroy(topology);
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/*
+ * check hwloc_get_next_obj_covering_cpuset*()
+ */
+
+int
+main (void)
+{
+ hwloc_topology_t topology;
+ hwloc_bitmap_t set;
+ hwloc_obj_t obj;
+ int depth;
+ int err;
+
+ set = hwloc_bitmap_alloc();
+
+
+
+ err = hwloc_topology_init (&topology);
+ if (err)
+ return EXIT_FAILURE;
+ hwloc_topology_set_synthetic (topology, "node:8 core:2 1");
+ err = hwloc_topology_load (topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ hwloc_bitmap_sscanf(set, "00008f18");
+
+ obj = hwloc_get_next_obj_covering_cpuset_by_type(topology, set, HWLOC_OBJ_NUMANODE, NULL);
+ assert(obj == hwloc_get_obj_by_depth(topology, 1, 1));
+ obj = hwloc_get_next_obj_covering_cpuset_by_type(topology, set, HWLOC_OBJ_NUMANODE, obj);
+ assert(obj == hwloc_get_obj_by_depth(topology, 1, 2));
+ obj = hwloc_get_next_obj_covering_cpuset_by_type(topology, set, HWLOC_OBJ_NUMANODE, obj);
+ assert(obj == hwloc_get_obj_by_depth(topology, 1, 4));
+ obj = hwloc_get_next_obj_covering_cpuset_by_type(topology, set, HWLOC_OBJ_NUMANODE, obj);
+ assert(obj == hwloc_get_obj_by_depth(topology, 1, 5));
+ obj = hwloc_get_next_obj_covering_cpuset_by_type(topology, set, HWLOC_OBJ_NUMANODE, obj);
+ assert(obj == hwloc_get_obj_by_depth(topology, 1, 7));
+ obj = hwloc_get_next_obj_covering_cpuset_by_type(topology, set, HWLOC_OBJ_NUMANODE, obj);
+ assert(!obj);
+
+ hwloc_topology_destroy (topology);
+
+
+
+ err = hwloc_topology_init (&topology);
+ if (err)
+ return EXIT_FAILURE;
+ hwloc_topology_set_synthetic (topology, "node:2 pack:5 core:3 4");
+ err = hwloc_topology_load (topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ hwloc_bitmap_sscanf(set, "0ff08000");
+
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PACKAGE);
+ assert(depth == 2);
+ obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, set, depth, NULL);
+ assert(obj == hwloc_get_obj_by_depth(topology, depth, 1));
+ obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, set, depth, obj);
+ assert(obj == hwloc_get_obj_by_depth(topology, depth, 2));
+ obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, set, depth, obj);
+ assert(!obj);
+
+ hwloc_topology_destroy (topology);
+
+
+
+ hwloc_bitmap_free(set);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/*
+ * check hwloc_get_obj_below_array_by_type()
+ */
+
+int
+main (void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj;
+ hwloc_obj_type_t typev[4];
+ unsigned idxv[4];
+ int err;
+
+ err = hwloc_topology_init (&topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ hwloc_topology_set_synthetic (topology, "node:3 pack:3 core:3 pu:3");
+
+ err = hwloc_topology_load (topology);
+ if (err)
+ return EXIT_FAILURE;
+
+
+ /* find the first thread */
+ typev[0] = HWLOC_OBJ_NUMANODE; idxv[0] = 0;
+ typev[1] = HWLOC_OBJ_PACKAGE; idxv[1] = 0;
+ typev[2] = HWLOC_OBJ_CORE; idxv[2] = 0;
+ typev[3] = HWLOC_OBJ_PU; idxv[3] = 0;
+ obj = hwloc_get_obj_below_array_by_type(topology, 4, typev, idxv);
+ assert(obj == hwloc_get_obj_by_depth(topology, 4, 0));
+
+ /* find the last core */
+ typev[0] = HWLOC_OBJ_NUMANODE; idxv[0] = 2;
+ typev[1] = HWLOC_OBJ_PACKAGE; idxv[1] = 2;
+ typev[2] = HWLOC_OBJ_CORE; idxv[2] = 2;
+ obj = hwloc_get_obj_below_array_by_type(topology, 3, typev, idxv);
+ assert(obj == hwloc_get_obj_by_depth(topology, 3, 26));
+
+ /* misc tests */
+
+ typev[0] = HWLOC_OBJ_PACKAGE; idxv[0] = 2;
+ obj = hwloc_get_obj_below_array_by_type(topology, 1, typev, idxv);
+ assert(obj == hwloc_get_obj_by_depth(topology, 2, 2));
+
+ typev[0] = HWLOC_OBJ_NUMANODE; idxv[0] = 2;
+ typev[1] = HWLOC_OBJ_CORE; idxv[1] = 2;
+ obj = hwloc_get_obj_below_array_by_type(topology, 2, typev, idxv);
+ assert(obj == hwloc_get_obj_by_depth(topology, 3, 20));
+ /* check that hwloc_get_obj_below_by_type works as well */
+ obj = hwloc_get_obj_below_by_type(topology, typev[0], idxv[0], typev[1], idxv[1]);
+ assert(obj == hwloc_get_obj_by_depth(topology, 3, 20));
+
+ typev[0] = HWLOC_OBJ_PACKAGE; idxv[0] = 1;
+ typev[1] = HWLOC_OBJ_PU; idxv[1] = 1;
+ obj = hwloc_get_obj_below_array_by_type(topology, 2, typev, idxv);
+ assert(obj == hwloc_get_obj_by_depth(topology, 4, 10));
+ /* check that hwloc_get_obj_below_by_type works as well */
+ obj = hwloc_get_obj_below_by_type(topology, typev[0], idxv[0], typev[1], idxv[1]);
+ assert(obj == hwloc_get_obj_by_depth(topology, 4, 10));
+
+
+ hwloc_topology_destroy (topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* check hwloc_get_obj_covering_cpuset() */
+
+#define SYNTHETIC_TOPOLOGY_DESCRIPTION "6 5 4 3 2" /* 736bits wide topology */
+
+#define GIVEN_CPUSET_STRING "0x0,0x0fff,0xf0000000"
+#define EXPECTED_CPUSET_STRING "0x0000ffff,0xff000000"
+#define GIVEN_LARGESPLIT_CPUSET_STRING "0x8000,,,,,,,,,,,,,,,,,,,,,,0x1" /* first and last(735th) bit set */
+#define GIVEN_TOOLARGE_CPUSET_STRING "0x10000,,,,,,,,,,,,,,,,,,,,,,0x0" /* 736th bit is too large for the 720-wide topology */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ char *string = NULL;
+ hwloc_obj_t obj;
+ hwloc_bitmap_t set;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, SYNTHETIC_TOPOLOGY_DESCRIPTION);
+ hwloc_topology_load(topology);
+ set = hwloc_bitmap_alloc();
+
+ hwloc_bitmap_sscanf(set, GIVEN_CPUSET_STRING);
+ obj = hwloc_get_obj_covering_cpuset(topology, set);
+
+ assert(obj);
+ fprintf(stderr, "found covering object type %s covering cpuset %s\n",
+ hwloc_obj_type_string(obj->type), GIVEN_CPUSET_STRING);
+ assert(hwloc_bitmap_isincluded(set, obj->cpuset));
+
+ hwloc_bitmap_asprintf(&string, obj->cpuset);
+ fprintf(stderr, "covering object of %s is %s, expected %s\n",
+ GIVEN_CPUSET_STRING, string, EXPECTED_CPUSET_STRING);
+ if (strcmp(EXPECTED_CPUSET_STRING, string))
+ assert(0);
+ free(string);
+
+ hwloc_bitmap_sscanf(set, GIVEN_LARGESPLIT_CPUSET_STRING);
+ obj = hwloc_get_obj_covering_cpuset(topology, set);
+ assert(obj == hwloc_get_root_obj(topology));
+ fprintf(stderr, "found system as covering object of first+last cpus cpuset %s\n",
+ GIVEN_LARGESPLIT_CPUSET_STRING);
+
+ hwloc_bitmap_sscanf(set, GIVEN_TOOLARGE_CPUSET_STRING);
+ obj = hwloc_get_obj_covering_cpuset(topology, set);
+ assert(!obj);
+ fprintf(stderr, "found no covering object for too-large cpuset %s\n",
+ GIVEN_TOOLARGE_CPUSET_STRING);
+
+ hwloc_bitmap_free(set);
+ hwloc_topology_destroy(topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/*
+ * check hwloc_get_obj_inside_cpuset*()
+ */
+
+int
+main (void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj, root;
+ int err, idx;
+
+ err = hwloc_topology_init (&topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ hwloc_topology_set_synthetic (topology, "node:2 pack:3 cache:4 core:5 6");
+
+ err = hwloc_topology_load (topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ /* there is no second system object */
+ root = hwloc_get_root_obj (topology);
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_SYSTEM, 1);
+ assert(!obj);
+
+ /* first system object is the top-level object of the topology */
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_MACHINE, 0);
+ assert(obj == hwloc_get_root_obj(topology));
+
+ /* first next-object object is the top-level object of the topology */
+ obj = hwloc_get_next_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_MACHINE, NULL);
+ assert(obj == hwloc_get_root_obj(topology));
+ /* there is no next object after the system object */
+ obj = hwloc_get_next_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_SYSTEM, obj);
+ assert(!obj);
+
+ /* check last PU */
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_PU, 2*3*4*5*6-1);
+ assert(obj == hwloc_get_obj_by_depth(topology, 5, 2*3*4*5*6-1));
+ /* there is no next PU after the last one */
+ obj = hwloc_get_next_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_PU, obj);
+ assert(!obj);
+
+
+ /* check there are 20 cores inside first package */
+ root = hwloc_get_obj_by_depth(topology, 2, 0);
+ assert(hwloc_get_nbobjs_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_CORE) == 20);
+
+ /* check there are 12 caches inside last node */
+ root = hwloc_get_obj_by_depth(topology, 1, 1);
+ assert(hwloc_get_nbobjs_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_CACHE) == 12);
+
+
+ /* check first PU of second package */
+ root = hwloc_get_obj_by_depth(topology, 2, 1);
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_PU, 0);
+ assert(obj == hwloc_get_obj_by_depth(topology, 5, 4*5*6));
+ idx = hwloc_get_obj_index_inside_cpuset(topology, root->cpuset, obj);
+ assert(idx == 0);
+
+ /* check third core of third package */
+ root = hwloc_get_obj_by_depth(topology, 2, 2);
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_CORE, 2);
+ assert(obj == hwloc_get_obj_by_depth(topology, 4, 2*4*5+2));
+ idx = hwloc_get_obj_index_inside_cpuset(topology, root->cpuset, obj);
+ assert(idx == 2);
+
+ /* check first package of second node */
+ root = hwloc_get_obj_by_depth(topology, 1, 1);
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_PACKAGE, 0);
+ assert(obj == hwloc_get_obj_by_depth(topology, 2, 3));
+ idx = hwloc_get_obj_index_inside_cpuset(topology, root->cpuset, obj);
+ assert(idx == 0);
+
+ /* there is no node inside packages */
+ root = hwloc_get_obj_by_depth(topology, 2, 0);
+ obj = hwloc_get_obj_inside_cpuset_by_type(topology, root->cpuset, HWLOC_OBJ_NUMANODE, 0);
+ assert(!obj);
+
+ hwloc_topology_destroy (topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* check hwloc_get_shared_cache_covering_obj() */
+
+#define SYNTHETIC_TOPOLOGY_DESCRIPTION_SHARED "6 5 4 3 2" /* 736bits wide topology */
+#define SYNTHETIC_TOPOLOGY_DESCRIPTION_NONSHARED "6 5 4 1 2" /* 736bits wide topology */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj, cache;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, SYNTHETIC_TOPOLOGY_DESCRIPTION_SHARED);
+ hwloc_topology_load(topology);
+
+ /* check the cache above a given cpu */
+#define CPUINDEX 180
+ obj = hwloc_get_obj_by_depth(topology, 5, CPUINDEX);
+ assert(obj);
+ cache = hwloc_get_shared_cache_covering_obj(topology, obj);
+ assert(cache);
+ assert(cache->type == HWLOC_OBJ_CACHE);
+ assert(cache->logical_index == CPUINDEX/2/3);
+ assert(hwloc_obj_is_in_subtree(topology, obj, cache));
+
+ /* check no shared cache above the L2 cache */
+ obj = hwloc_get_obj_by_depth(topology, 3, 0);
+ assert(obj);
+ cache = hwloc_get_shared_cache_covering_obj(topology, obj);
+ assert(!cache);
+
+ /* check no shared cache above the node */
+ obj = hwloc_get_obj_by_depth(topology, 1, 0);
+ assert(obj);
+ cache = hwloc_get_shared_cache_covering_obj(topology, obj);
+ assert(!cache);
+
+ hwloc_topology_destroy(topology);
+
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, SYNTHETIC_TOPOLOGY_DESCRIPTION_NONSHARED);
+ hwloc_topology_load(topology);
+
+ /* check the cache above a given cpu */
+#define CPUINDEX 180
+ obj = hwloc_get_obj_by_depth(topology, 5, CPUINDEX);
+ assert(obj);
+ cache = hwloc_get_shared_cache_covering_obj(topology, obj);
+ assert(cache);
+ assert(cache->type == HWLOC_OBJ_CACHE);
+ assert(cache->logical_index == CPUINDEX/2/1);
+ assert(hwloc_obj_is_in_subtree(topology, obj, cache));
+
+ /* check no shared-cache above the core */
+ obj = hwloc_get_obj_by_depth(topology, 4, CPUINDEX/2);
+ assert(obj);
+ cache = hwloc_get_shared_cache_covering_obj(topology, obj);
+ assert(!cache);
+
+ hwloc_topology_destroy(topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2011-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* intensive testing of two grouping cases (2+1 and 2+2+1) */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj;
+ unsigned indexes[5];
+ float distances[5*5];
+ unsigned depth;
+ unsigned width;
+
+ /* group 3 numa nodes as 1 group of 2 and 1 on the side */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:3 pu:1");
+ indexes[0] = 0; indexes[1] = 1; indexes[2] = 2;
+ distances[0] = 1; distances[1] = 4; distances[2] = 4;
+ distances[3] = 4; distances[4] = 1; distances[5] = 2;
+ distances[6] = 4; distances[7] = 2; distances[8] = 1;
+ hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_PU, 3, indexes, distances);
+ hwloc_topology_load(topology);
+ /* 2 groups at depth 1 */
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_GROUP);
+ assert(depth == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, depth);
+ assert(width == 1);
+ /* 3 node at depth 2 */
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ assert(depth == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, depth);
+ assert(width == 3);
+ /* find the root obj */
+ obj = hwloc_get_root_obj(topology);
+ assert(obj->arity == 2);
+ /* check its children */
+ assert(obj->children[0]->type == HWLOC_OBJ_NUMANODE);
+ assert(obj->children[0]->depth == 2);
+ assert(obj->children[0]->arity == 1);
+ assert(obj->children[1]->type == HWLOC_OBJ_GROUP);
+ assert(obj->children[1]->depth == 1);
+ assert(obj->children[1]->arity == 2);
+ hwloc_topology_destroy(topology);
+
+ /* group 5 packages as 2 group of 2 and 1 on the side, all of them below a common node object */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:1 pack:5 pu:1");
+ indexes[0] = 0; indexes[1] = 1; indexes[2] = 2; indexes[3] = 3; indexes[4] = 4;
+ distances[ 0] = 1; distances[ 1] = 2; distances[ 2] = 4; distances[ 3] = 4; distances[ 4] = 4;
+ distances[ 5] = 2; distances[ 6] = 1; distances[ 7] = 4; distances[ 8] = 4; distances[ 9] = 4;
+ distances[10] = 4; distances[11] = 4; distances[12] = 1; distances[13] = 4; distances[14] = 4;
+ distances[15] = 4; distances[16] = 4; distances[17] = 4; distances[18] = 1; distances[19] = 2;
+ distances[20] = 4; distances[21] = 4; distances[22] = 4; distances[23] = 2; distances[24] = 1;
+ hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_PACKAGE, 5, indexes, distances);
+ hwloc_topology_load(topology);
+ /* 1 node at depth 1 */
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ assert(depth == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, depth);
+ assert(width == 1);
+ /* 2 groups at depth 2 */
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_GROUP);
+ assert(depth == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, depth);
+ assert(width == 2);
+ /* 5 packages at depth 3 */
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PACKAGE);
+ assert(depth == 3);
+ width = hwloc_get_nbobjs_by_depth(topology, depth);
+ assert(width == 5);
+ /* find the node obj */
+ obj = hwloc_get_root_obj(topology);
+ assert(obj->arity == 1);
+ obj = obj->children[0];
+ assert(obj->type == HWLOC_OBJ_NUMANODE);
+ assert(obj->arity == 3);
+ /* check its children */
+ assert(obj->children[0]->type == HWLOC_OBJ_GROUP);
+ assert(obj->children[0]->depth == 2);
+ assert(obj->children[0]->arity == 2);
+ assert(obj->children[1]->type == HWLOC_OBJ_PACKAGE);
+ assert(obj->children[1]->depth == 3);
+ assert(obj->children[1]->arity == 1);
+ assert(obj->children[2]->type == HWLOC_OBJ_GROUP);
+ assert(obj->children[2]->depth == 2);
+ assert(obj->children[2]->arity == 2);
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2011-2013 Inria. All rights reserved.
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* testing of adding/replacing/removing distance matrices
+ with set_distance_matrix or the environment,
+ grouping with/without accuracy
+ */
+
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ unsigned indexes[16];
+ float distances[16*16];
+ unsigned i, j;
+ unsigned depth;
+ unsigned width;
+
+ /* default 2*8*1 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:8 pu:1");
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 4);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 16);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 16);
+ hwloc_topology_destroy(topology);
+
+ /* 2*8*1 and group 8cores as 2*2*2 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:8 pu:1");
+ for(i=0; i<16; i++) {
+ indexes[i] = i;
+ for(j=0; j<16; j++)
+ if (i==j)
+ distances[i+16*j] = distances[j+16*i] = 3;
+ else if (i/2==j/2)
+ distances[i+16*j] = distances[j+16*i] = 5;
+ else if (i/4==j/4)
+ distances[i+16*j] = distances[j+16*i] = 7;
+ else
+ distances[i+16*j] = distances[j+16*i] = 9;
+ }
+ assert(!hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, indexes, distances));
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 6);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 4);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 8);
+ width = hwloc_get_nbobjs_by_depth(topology, 4);
+ assert(width == 16);
+ hwloc_topology_destroy(topology);
+
+ /* play with accuracy */
+ distances[0] = 2.9; /* diagonal, instead of 3 (0.0333% error) */
+ distances[1] = 5.1; distances[16] = 5.2; /* smallest group, instead of 5 (0.02% error) */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:8 pu:1");
+ assert(!hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, indexes, distances));
+ putenv("HWLOC_GROUPING_ACCURACY=0.1"); /* ok */
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 6);
+ hwloc_topology_destroy(topology);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:8 pu:1");
+ assert(!hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, indexes, distances));
+ putenv("HWLOC_GROUPING_ACCURACY=try"); /* ok */
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 6);
+ hwloc_topology_destroy(topology);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:8 pu:1");
+ assert(!hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, indexes, distances));
+ putenv("HWLOC_GROUPING_ACCURACY=0.01"); /* too small, cannot group */
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 4);
+ hwloc_topology_destroy(topology);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:8 pu:1");
+ assert(!hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, indexes, distances));
+ putenv("HWLOC_GROUPING_ACCURACY=0"); /* full accuracy, cannot group */
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 4);
+ hwloc_topology_destroy(topology);
+
+ /* revert to default 2*8*1 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:8 pu:1");
+ assert(!hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, indexes, distances));
+ assert(!hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 0, NULL, NULL));
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 4);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 16);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 16);
+ hwloc_topology_destroy(topology);
+
+ /* default 2*4*4 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:4 pu:4");
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 4);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 8);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 32);
+ hwloc_topology_destroy(topology);
+
+ /* 2*4*4 and group 4cores as 2*2 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:4 pu:4");
+ putenv("HWLOC_Core_DISTANCES=0,1,2,3,4,5,6,7:4*2");
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 5);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 4);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 8);
+ width = hwloc_get_nbobjs_by_depth(topology, 4);
+ assert(width == 32);
+ hwloc_topology_destroy(topology);
+
+ /* 2*4*4 and group 4cores as 2*2 and 4PUs as 2*2 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:4 pu:4");
+ putenv("HWLOC_PU_DISTANCES=0-31:16*2");
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 6);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 4);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 8);
+ width = hwloc_get_nbobjs_by_depth(topology, 4);
+ assert(width == 16);
+ width = hwloc_get_nbobjs_by_depth(topology, 5);
+ assert(width == 32);
+ hwloc_topology_destroy(topology);
+
+ /* replace previous core distances with useless ones (grouping as the existing numa nodes) */
+ /* 2*4*4 and group 4PUs as 2*2 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:4 pu:4");
+ putenv("HWLOC_Core_DISTANCES=0-7:2*4");
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 5);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 8);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 16);
+ width = hwloc_get_nbobjs_by_depth(topology, 4);
+ assert(width == 32);
+ hwloc_topology_destroy(topology);
+
+ /* clear everything */
+ /* default 2*4*4 */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:4 pu:4");
+ putenv("HWLOC_Core_DISTANCES=none");
+ putenv("HWLOC_PU_DISTANCES=none");
+ hwloc_topology_load(topology);
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 4);
+ width = hwloc_get_nbobjs_by_depth(topology, 0);
+ assert(width == 1);
+ width = hwloc_get_nbobjs_by_depth(topology, 1);
+ assert(width == 2);
+ width = hwloc_get_nbobjs_by_depth(topology, 2);
+ assert(width == 8);
+ width = hwloc_get_nbobjs_by_depth(topology, 3);
+ assert(width == 32);
+ hwloc_topology_destroy(topology);
+
+ /* buggy tests */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:2 core:4 pu:4");
+ assert(hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, NULL, NULL) < 0);
+ assert(hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 0, indexes, NULL) < 0);
+ indexes[1] = 0;
+ assert(hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 16, indexes, distances) < 0);
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+int main(void)
+{
+ hwloc_topology_t topology, reload;
+ hwloc_bitmap_t cpuset;
+ hwloc_obj_t obj;
+ char *buf1, *buf2;
+ int buflen1, buflen2, err;
+
+ err = hwloc_topology_init(&topology);
+ assert(!err);
+ err = hwloc_topology_load(topology);
+ assert(!err);
+ hwloc_topology_check(topology);
+
+ /* insert by cpuset below root */
+ cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_copy(cpuset, hwloc_topology_get_topology_cpuset(topology));
+ obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, "test by cpuset under root");
+ assert(obj);
+ obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, "test2 by cpuset under root");
+ assert(obj);
+ hwloc_bitmap_free(cpuset);
+
+ /* insert by cpuset below first available PU */
+ cpuset = hwloc_bitmap_alloc();
+ hwloc_bitmap_set(cpuset, hwloc_bitmap_first(hwloc_topology_get_topology_cpuset(topology)));
+ obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, "test by cpuset under first available PU");
+ assert(obj);
+ obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, "test2 by cpuset under first available PU");
+ assert(obj);
+ hwloc_bitmap_free(cpuset);
+
+ /* insert by parent below root */
+ obj = hwloc_get_root_obj(topology);
+ obj = hwloc_topology_insert_misc_object_by_parent(topology, obj, "test by parent below root");
+ assert(obj);
+
+ /* insert by parent below previous Misc */
+ obj = hwloc_topology_insert_misc_object_by_parent(topology, obj, "test by parent below previous Misc");
+ assert(obj);
+
+ /* insert by parent below first PU */
+ obj = hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 0);
+ obj = hwloc_topology_insert_misc_object_by_parent(topology, obj, "test by parent below first PU");
+ assert(obj);
+
+ hwloc_topology_check(topology);
+
+ /* export, reimport and check things are in consistent state */
+ err = hwloc_topology_export_xmlbuffer(topology, &buf1, &buflen1);
+ assert(!err);
+ err = hwloc_topology_init(&reload);
+ assert(!err);
+ err = hwloc_topology_set_xmlbuffer(reload, buf1, buflen1);
+ assert(!err);
+ err = hwloc_topology_load(reload);
+ assert(!err);
+ hwloc_topology_check(reload);
+ err = hwloc_topology_export_xmlbuffer(reload, &buf2, &buflen2);
+ assert(!err);
+ assert(buflen1 == buflen2);
+ err = strcmp(buf1, buf2);
+ assert(!err);
+ hwloc_free_xmlbuffer(reload, buf2);
+ hwloc_topology_destroy(reload);
+ hwloc_free_xmlbuffer(topology, buf1);
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2011 inria. All rights reserved.
+ * Copyright © Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+
+#include <assert.h>
+
+/* check misc i/O device related stuff */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_WHOLE_IO);
+ assert(-1 == hwloc_topology_ignore_type(topology, HWLOC_OBJ_PCI_DEVICE));
+ assert(-1 == hwloc_topology_ignore_type_keep_structure(topology, HWLOC_OBJ_BRIDGE));
+ assert(-1 == hwloc_topology_ignore_type(topology, HWLOC_OBJ_OS_DEVICE));
+ hwloc_topology_load(topology);
+
+ printf("Found %d bridges\n", hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_BRIDGE));
+ obj = NULL;
+ while ((obj = hwloc_get_next_bridge(topology, obj)) != NULL) {
+ assert(obj->type == HWLOC_OBJ_BRIDGE);
+ /* only host->pci and pci->pci bridge supported so far */
+ if (obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_HOST) {
+ assert(obj->attr->bridge.downstream_type == HWLOC_OBJ_BRIDGE_PCI);
+ printf(" Found host->PCI bridge for domain %04x bus %02x-%02x\n",
+ obj->attr->bridge.downstream.pci.domain,
+ obj->attr->bridge.downstream.pci.secondary_bus,
+ obj->attr->bridge.downstream.pci.subordinate_bus);
+ } else {
+ assert(obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI);
+ assert(obj->attr->bridge.downstream_type == HWLOC_OBJ_BRIDGE_PCI);
+ printf(" Found PCI->PCI bridge [%04x:%04x] for domain %04x bus %02x-%02x\n",
+ obj->attr->bridge.upstream.pci.vendor_id,
+ obj->attr->bridge.upstream.pci.device_id,
+ obj->attr->bridge.downstream.pci.domain,
+ obj->attr->bridge.downstream.pci.secondary_bus,
+ obj->attr->bridge.downstream.pci.subordinate_bus);
+ }
+ }
+
+ printf("Found %d PCI devices\n", hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_PCI_DEVICE));
+ obj = NULL;
+ while ((obj = hwloc_get_next_pcidev(topology, obj)) != NULL) {
+ assert(obj->type == HWLOC_OBJ_PCI_DEVICE);
+ printf(" Found PCI device class %04x vendor %04x model %04x\n",
+ obj->attr->pcidev.class_id, obj->attr->pcidev.vendor_id, obj->attr->pcidev.device_id);
+ }
+
+ printf("Found %d OS devices\n", hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_OS_DEVICE));
+ obj = NULL;
+ while ((obj = hwloc_get_next_osdev(topology, obj)) != NULL) {
+ assert(obj->type == HWLOC_OBJ_OS_DEVICE);
+ printf(" Found OS device %s subtype %d\n", obj->name, obj->attr->osdev.type);
+ }
+
+ assert(HWLOC_TYPE_DEPTH_BRIDGE == hwloc_get_type_depth(topology, HWLOC_OBJ_BRIDGE));
+ assert(HWLOC_TYPE_DEPTH_PCI_DEVICE == hwloc_get_type_depth(topology, HWLOC_OBJ_PCI_DEVICE));
+ assert(HWLOC_TYPE_DEPTH_OS_DEVICE == hwloc_get_type_depth(topology, HWLOC_OBJ_OS_DEVICE));
+ assert(hwloc_compare_types(HWLOC_OBJ_BRIDGE, HWLOC_OBJ_PCI_DEVICE) < 0);
+ assert(hwloc_compare_types(HWLOC_OBJ_BRIDGE, HWLOC_OBJ_OS_DEVICE) < 0);
+ assert(hwloc_compare_types(HWLOC_OBJ_PCI_DEVICE, HWLOC_OBJ_OS_DEVICE) < 0);
+
+ /* check that hwloc_get_hostbridge_by_pcibus() and hwloc_get_non_io_ancestor_obj work fine */
+ obj = NULL;
+ while ((obj = hwloc_get_next_pcidev(topology, obj)) != NULL) {
+ assert(hwloc_get_hostbridge_by_pcibus(topology,
+ obj->attr->pcidev.domain,
+ obj->attr->pcidev.bus)->parent
+ == hwloc_get_non_io_ancestor_obj(topology, obj));
+ }
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include <assert.h>
+
+/* Check the is_thissystem flag behavior */
+
+static void result(const char *msg, int err)
+{
+ const char *errmsg = strerror(errno);
+ if (err)
+ printf("%-30s: FAILED (%d, %s)\n", msg, errno, errmsg);
+ else
+ printf("%-30s: OK\n", msg);
+}
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_bitmap_t cpuset;
+ int err;
+
+ /* check the OS topology */
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+ assert(hwloc_topology_is_thissystem(topology));
+
+ cpuset = hwloc_bitmap_dup(hwloc_topology_get_complete_cpuset(topology));
+ result("Binding with OS backend", hwloc_set_cpubind(topology, cpuset, 0));
+
+ hwloc_topology_destroy(topology);
+
+ /* We're assume there is a real processor numbered 0 */
+ hwloc_bitmap_zero(cpuset);
+ hwloc_bitmap_set(cpuset, 0);
+
+ /* check a synthetic topology */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "1");
+ hwloc_topology_load(topology);
+ assert(!hwloc_topology_is_thissystem(topology));
+
+ err = hwloc_set_cpubind(topology, cpuset, 0);
+ result("Binding with synthetic backend", err);
+ assert(!err);
+
+ hwloc_topology_destroy(topology);
+
+ /* check a synthetic topology but assuming it's the system topology */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM);
+ hwloc_topology_set_synthetic(topology, "1");
+ hwloc_topology_load(topology);
+ assert(hwloc_topology_is_thissystem(topology));
+
+ result("Binding with synthetic backend faking is_thissystem", hwloc_set_cpubind(topology, cpuset, 0));
+
+ hwloc_topology_destroy(topology);
+
+ hwloc_bitmap_free(cpuset);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2012 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+
+int main(void)
+{
+ hwloc_topology_t topology;
+
+ putenv("HWLOC_COMPONENTS_VERBOSE=1");
+
+ hwloc_topology_init(&topology);
+ /* no load, to avoid spurious "enable" messages */
+ hwloc_topology_destroy(topology);
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2011 inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <assert.h>
+
+/* check obj infos */
+
+#define NAME1 "foobar"
+#define VALUE1 "myvalue"
+#define NAME2 "foobaz"
+#define VALUE2 "myothervalue"
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_obj_t obj;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+
+ obj = hwloc_get_root_obj(topology);
+
+ if (hwloc_obj_get_info_by_name(obj, NAME1)
+ || hwloc_obj_get_info_by_name(obj, NAME2))
+ return 0;
+
+ hwloc_obj_add_info(obj, NAME1, VALUE1);
+ assert(!hwloc_obj_get_info_by_name(obj, NAME2));
+ hwloc_obj_add_info(obj, NAME2, VALUE2);
+
+ if (strcmp(hwloc_obj_get_info_by_name(obj, NAME1), VALUE1))
+ assert(0);
+ if (strcmp(hwloc_obj_get_info_by_name(obj, NAME2), VALUE2))
+ assert(0);
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <string.h>
+#include <assert.h>
+
+/* check that object userdata is properly initialized */
+
+#define RANDOMSTRINGLENGTH 128
+#define RANDOMSTRINGSHORTTESTS 5
+#define RANDOMSTRINGLONGTESTS 9
+static char *randomstring;
+
+static void check(hwloc_topology_t topology)
+{
+ unsigned depth;
+ unsigned i,j;
+
+ depth = hwloc_topology_get_depth(topology);
+ for(i=0; i<depth; i++) {
+ for(j=0; j<hwloc_get_nbobjs_by_depth(topology, i); j++) {
+ assert(hwloc_get_obj_by_depth(topology, i, j)->userdata == NULL);
+ }
+ }
+}
+
+static void export_cb(void *reserved, hwloc_topology_t topo, hwloc_obj_t obj)
+{
+ char tmp[32];
+ int err;
+ unsigned i;
+
+ sprintf(tmp, "%016llx", (unsigned long long) (uintptr_t) obj->userdata);
+ err = hwloc_export_obj_userdata(reserved, topo, obj, "MyName", tmp, 16);
+ assert(err >= 0);
+
+ err = hwloc_export_obj_userdata(reserved, topo, obj, NULL, "", 0);
+ assert(err >= 0);
+
+ err = hwloc_export_obj_userdata_base64(reserved, topo, obj, NULL, "", 0);
+ assert(err >= 0);
+
+ for(i=0; i<RANDOMSTRINGSHORTTESTS; i++) {
+ sprintf(tmp, "EncodedShort%u", i);
+ err = hwloc_export_obj_userdata_base64(reserved, topo, obj, tmp, randomstring+i, i);
+ assert(err >= 0);
+ }
+ for(i=0; i<RANDOMSTRINGLONGTESTS; i++) {
+ sprintf(tmp, "EncodedLong%u", i);
+ err = hwloc_export_obj_userdata_base64(reserved, topo, obj, tmp, randomstring+(i+1)/2, RANDOMSTRINGLENGTH-i);
+ assert(err >= 0);
+ }
+}
+
+static void import_cb(hwloc_topology_t topo __hwloc_attribute_unused, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)
+{
+ int err;
+ char tmp[17];
+ uint64_t val;
+
+ if (!name) {
+ assert(!*(char*)buffer);
+
+ } else if (!strcmp("MyName", name)) {
+ assert(length == 16);
+ memcpy(tmp, buffer, 16);
+ tmp[16] = '\0';
+
+ val = strtoull(buffer, NULL, 0);
+
+ switch (val) {
+ case 0x1:
+ assert(obj->type == HWLOC_OBJ_MACHINE);
+ obj->userdata = (void *)(uintptr_t) 0x4;
+ break;
+ case 0x2:
+ assert(obj->type == HWLOC_OBJ_CACHE);
+ obj->userdata = (void *)(uintptr_t) 0x5;
+ break;
+ case 0x3:
+ assert(obj->type == HWLOC_OBJ_PU);
+ obj->userdata = (void *)(uintptr_t) 0x6;
+ break;
+ default:
+ assert(0);
+ }
+
+ } else if (!strncmp("EncodedShort", name, 12)) {
+ unsigned i = atoi(name+12);
+ assert(i <= RANDOMSTRINGSHORTTESTS-1);
+ assert(i == (unsigned) length);
+ err = memcmp(buffer, randomstring+i, length);
+ assert(!err);
+
+ } else if (!strncmp("EncodedLong", name, 11)) {
+ unsigned i = atoi(name+11);
+ assert(i <= RANDOMSTRINGLONGTESTS-1);
+ assert(RANDOMSTRINGLENGTH-i == (unsigned) length);
+ err = memcmp(buffer, randomstring+(i+1)/2, length);
+ assert(!err);
+
+ } else
+ assert(0);
+}
+
+int main(void)
+{
+ hwloc_topology_t topology, reimport;
+ hwloc_obj_t obj1, obj2, obj3;
+ char *xmlbuf;
+ int xmlbuflen;
+
+ randomstring = malloc(RANDOMSTRINGLENGTH);
+ /* keep it uninitialized, we want binary data */
+
+ /* check the real topology */
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+ check(topology);
+ assert(hwloc_topology_get_userdata(topology) == NULL);
+ hwloc_topology_destroy(topology);
+
+ /* check a synthetic topology */
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_userdata(topology, (void *)(uintptr_t)0x987654);
+ hwloc_topology_set_synthetic(topology, "6 5 4 3 2");
+ hwloc_topology_load(topology);
+ check(topology);
+
+ /* now place some userdata and see if importing/exporting works well */
+ obj1 = hwloc_get_root_obj(topology);
+ assert(obj1);
+ obj1->userdata = (void *)(uintptr_t) 0x1;
+ obj2 = hwloc_get_obj_by_depth(topology, 3, 13);
+ assert(obj2);
+ obj2->userdata = (void *)(uintptr_t) 0x2;
+ obj3 = hwloc_get_obj_by_depth(topology, 5, 2*3*4*5*6-1);
+ assert(obj3);
+ obj3->userdata = (void *)(uintptr_t) 0x3;
+
+ /* export/import without callback, we get nothing */
+ hwloc_topology_export_xmlbuffer(topology, &xmlbuf, &xmlbuflen);
+
+ hwloc_topology_init(&reimport);
+ hwloc_topology_set_xmlbuffer(reimport, xmlbuf, xmlbuflen);
+ hwloc_topology_load(reimport);
+ check(reimport); /* there should be no userdata */
+ hwloc_topology_destroy(reimport);
+
+ /* export/import with callback, we should get three userdata */
+ hwloc_topology_set_userdata_export_callback(topology, export_cb);
+ hwloc_topology_export_xmlbuffer(topology, &xmlbuf, &xmlbuflen);
+
+ hwloc_topology_init(&reimport);
+ hwloc_topology_set_userdata_import_callback(reimport, import_cb);
+ hwloc_topology_set_xmlbuffer(reimport, xmlbuf, xmlbuflen);
+ hwloc_topology_load(reimport);
+ obj1 = hwloc_get_root_obj(reimport);
+ assert(obj1);
+ assert(obj1->userdata == (void *)(uintptr_t) 0x4);
+ obj2 = hwloc_get_obj_by_depth(reimport, 3, 13);
+ assert(obj2);
+ assert(obj2->userdata == (void *)(uintptr_t) 0x5);
+ obj3 = hwloc_get_obj_by_depth(reimport, 5, 2*3*4*5*6-1);
+ assert(obj3);
+ assert(obj3->userdata == (void *)(uintptr_t) 0x6);
+ hwloc_topology_destroy(reimport);
+
+ assert(hwloc_topology_get_userdata(topology) == (void *)(uintptr_t)0x987654);
+ hwloc_topology_destroy(topology);
+
+ free(randomstring);
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2011-2012 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <assert.h>
+
+/* check whether the PCI backend behaves as expected wrt to thissystem, XML, flags, ... */
+
+static int get_nb_pcidev(unsigned long flags, int thissystem,
+ const char *xmlbuf, int xmlbuflen)
+{
+ int nb;
+ hwloc_topology_t topology;
+
+ if (thissystem)
+ putenv("HWLOC_THISSYSTEM=1");
+ else
+ putenv("HWLOC_THISSYSTEM=0");
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, flags);
+ if (xmlbuf)
+ hwloc_topology_set_xmlbuffer(topology, xmlbuf, xmlbuflen);
+ hwloc_topology_load(topology);
+
+ nb = hwloc_get_nbobjs_by_depth(topology, HWLOC_TYPE_DEPTH_PCI_DEVICE);
+
+ hwloc_topology_destroy(topology);
+
+ return nb;
+}
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ char *xmlbuf;
+ int xmlbuflen;
+ int nb, nbnormal, nbwhole;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO);
+ hwloc_topology_load(topology);
+ if (hwloc_topology_export_xmlbuffer(topology, &xmlbuf, &xmlbuflen) < 0)
+ printf("XML buffer export failed (%s), ignoring\n", strerror(errno));
+
+ /* with HWLOC_THISSYSTEM=1 */
+ nb = get_nb_pcidev(0, 1, NULL, 0);
+ assert(!nb);
+ nbnormal = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES, 1, NULL, 0);
+ assert(nbnormal >= 0); /* may get more objects */
+ nbwhole = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO, 1, NULL, 0);
+ assert(nbwhole >= nbnormal); /* will get at least as much objects */
+
+ /* XML with with HWLOC_THISSYSTEM=1, should get as many object as a native load */
+ nb = get_nb_pcidev(0, 1, xmlbuf, xmlbuflen);
+ assert(!nb);
+ nb = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES, 1, xmlbuf, xmlbuflen);
+ assert(nb == nbnormal);
+ nb = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO, 1, xmlbuf, xmlbuflen);
+ assert(nb == nbwhole);
+
+ /* XML with with HWLOC_THISSYSTEM=0, should get as many object as a native load */
+ nb = get_nb_pcidev(0, 0, xmlbuf, xmlbuflen);
+ assert(!nb);
+ nb = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES, 0, xmlbuf, xmlbuflen);
+ assert(nb == nbnormal);
+ nb = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO, 0, xmlbuf, xmlbuflen);
+ assert(nb == nbwhole);
+
+ /* make sure we don't use linuxpci backend, it works fine when HWLOC_THISSYSTEM=0 */
+ putenv("HWLOC_COMPONENTS=-linuxpci");
+ /* with HWLOC_THISSYSTEM=0, won't get any object */
+ nb = get_nb_pcidev(0, 0, NULL, 0);
+ assert(!nb);
+ nb = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES, 0, NULL, 0);
+ assert(!nb);
+ nb = get_nb_pcidev(HWLOC_TOPOLOGY_FLAG_IO_DEVICES|HWLOC_TOPOLOGY_FLAG_WHOLE_IO, 0, NULL, 0);
+ assert(!nb);
+
+ hwloc_free_xmlbuffer(topology, xmlbuf);
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+/* check that object userdata is properly initialized */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ unsigned depth;
+ unsigned i,j, width;
+ char buffer[1024];
+ int err;
+
+ /* check a synthetic topology */
+ hwloc_topology_init(&topology);
+ err = hwloc_topology_set_synthetic(topology, "2 3 4 5 6");
+ assert(!err);
+ hwloc_topology_load(topology);
+
+ /* internal checks */
+
+ hwloc_topology_check(topology);
+
+ /* local checks */
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 6);
+
+ width = 1;
+ for(i=0; i<6; i++) {
+ /* check arities */
+ assert(hwloc_get_nbobjs_by_depth(topology, i) == width);
+ for(j=0; j<width; j++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, i, j);
+ assert(obj);
+ assert(obj->arity == (i<5 ? i+2 : 0));
+ }
+ width *= i+2;
+ }
+
+ err = hwloc_topology_export_synthetic(topology, buffer, sizeof(buffer), 0);
+ assert(err == 75);
+ err = strcmp("NUMANode:2(memory=1073741824) Package:3 L2Cache:4(size=4194304) Core:5 PU:6", buffer);
+ assert(!err);
+
+ err = hwloc_topology_export_synthetic(topology, buffer, sizeof(buffer), HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES|HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS);
+ assert(err == 40);
+ err = strcmp("NUMANode:2 Package:3 Cache:4 Core:5 PU:6", buffer);
+ assert(!err);
+
+ hwloc_topology_destroy(topology);
+
+
+
+ hwloc_topology_init(&topology);
+ err = hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_ICACHES);
+ err = hwloc_topology_set_synthetic(topology, "pack:2(indexes=3,5) numa:2(memory=256GB indexes=pack) l3u:1(size=20mb) l2:2 l1i:1(size=16kB) l1dcache:2 core:1 pu:2(indexes=l2)");
+ assert(!err);
+ hwloc_topology_load(topology);
+
+ err = hwloc_topology_export_synthetic(topology, buffer, sizeof(buffer), 0);
+ assert(err == 181);
+ err = strcmp("Package:2 NUMANode:2(memory=274877906944 indexes=2*2:1*2) L3Cache:1(size=20971520) L2Cache:2(size=4194304) L1iCache:1(size=16384) L1dCache:2(size=32768) Core:1 PU:2(indexes=4*8:1*4)", buffer);
+ assert(!err);
+
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PACKAGE, 1)->os_index == 5);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_NUMANODE, 1)->os_index == 2);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 12)->os_index == 3);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 13)->os_index == 11);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 14)->os_index == 19);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 15)->os_index == 27);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 16)->os_index == 4);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 17)->os_index == 12);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 18)->os_index == 20);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 19)->os_index == 28);
+
+ hwloc_topology_destroy(topology);
+
+
+
+
+ hwloc_topology_init(&topology);
+ err = hwloc_topology_set_synthetic(topology, "pack:2 core:2 pu:2(indexes=0,4,2,6,1,5,3,7)");
+ assert(!err);
+ hwloc_topology_load(topology);
+
+ err = hwloc_topology_export_synthetic(topology, buffer, sizeof(buffer), 0);
+ assert(err == 42);
+ err = strcmp("Package:2 Core:2 PU:2(indexes=4*2:2*2:1*2)", buffer);
+ assert(!err);
+
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 0)->os_index == 0);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 1)->os_index == 4);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 2)->os_index == 2);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 3)->os_index == 6);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 4)->os_index == 1);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 5)->os_index == 5);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 6)->os_index == 3);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 7)->os_index == 7);
+
+ hwloc_topology_destroy(topology);
+
+
+
+
+ hwloc_topology_init(&topology);
+ err = hwloc_topology_set_synthetic(topology, "pack:2 core:2 pu:2(indexes=0,4,2,6,1,3,5,7)");
+ assert(!err);
+ hwloc_topology_load(topology);
+
+ err = hwloc_topology_export_synthetic(topology, buffer, sizeof(buffer), 0);
+ assert(err == 46);
+ err = strcmp("Package:2 Core:2 PU:2(indexes=0,4,2,6,1,3,5,7)", buffer);
+ assert(!err);
+
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 0)->os_index == 0);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 1)->os_index == 4);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 2)->os_index == 2);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 3)->os_index == 6);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 4)->os_index == 1);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 5)->os_index == 3);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 6)->os_index == 5);
+ assert(hwloc_get_obj_by_type(topology, HWLOC_OBJ_PU, 7)->os_index == 7);
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2013-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+int main(void)
+{
+ hwloc_topology_t topo1, topo2, topo3;
+ hwloc_topology_diff_t diff, diff2, tmpdiff;
+ hwloc_obj_t obj;
+ char *xmlbuffer;
+ int xmlbuflen;
+ char *refname;
+ int err;
+
+ hwloc_topology_init(&topo1);
+ hwloc_topology_load(topo1);
+ printf("duplicate topo1 into topo2\n");
+ hwloc_topology_dup(&topo2, topo1);
+
+ printf("check that topo2 is identical\n");
+ err = hwloc_topology_diff_build(topo1, topo2, 0, &diff);
+ assert(err == 0);
+ assert(!diff);
+
+ printf("add a new info to topo2\n");
+ obj = hwloc_get_root_obj(topo1);
+ hwloc_obj_add_info(obj, "Foo", "Bar");
+ printf("check that topo2 cannot be diff'ed from topo1\n");
+ err = hwloc_topology_diff_build(topo1, topo2, 0, &diff);
+ assert(err == 1);
+ assert(diff->generic.type == HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX);
+ assert(diff->generic.next == NULL);
+ assert(diff->too_complex.obj_depth == 0);
+ assert(diff->too_complex.obj_index == 0);
+ hwloc_topology_diff_destroy(topo1, diff);
+
+ printf("add a similar info to topo1, and change memory sizes\n");
+ obj = hwloc_get_root_obj(topo2);
+ hwloc_obj_add_info(obj, "Foo", "Bar2");
+ obj->memory.local_memory += 128*4096;
+
+ obj = hwloc_get_obj_by_type(topo2, HWLOC_OBJ_NUMANODE, 0);
+ if (obj)
+ obj->memory.local_memory += 32*4096;
+ printf("check that topo2 is now properly diff'ed\n");
+ err = hwloc_topology_diff_build(topo1, topo2, 0, &diff);
+ assert(err == 0);
+ tmpdiff = diff;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ assert(tmpdiff->obj_attr.obj_depth == 0);
+ assert(tmpdiff->obj_attr.obj_index == 0);
+ assert(tmpdiff->obj_attr.diff.generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE);
+ assert(tmpdiff->obj_attr.diff.uint64.newvalue - tmpdiff->obj_attr.diff.uint64.oldvalue == 128*4096);
+ tmpdiff = tmpdiff->generic.next;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ assert(tmpdiff->obj_attr.obj_depth == 0);
+ assert(tmpdiff->obj_attr.obj_index == 0);
+ assert(tmpdiff->obj_attr.diff.generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO);
+ err = strcmp(tmpdiff->obj_attr.diff.string.name, "Foo");
+ assert(!err);
+ err = strcmp(tmpdiff->obj_attr.diff.string.oldvalue, "Bar");
+ assert(!err);
+ err = strcmp(tmpdiff->obj_attr.diff.string.newvalue, "Bar2");
+ assert(!err);
+ if (hwloc_get_nbobjs_by_type(topo1, HWLOC_OBJ_NUMANODE) > 0) {
+ tmpdiff = tmpdiff->generic.next;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ assert(tmpdiff->obj_attr.obj_depth == (unsigned) hwloc_get_type_depth(topo1, HWLOC_OBJ_NUMANODE));
+ assert(tmpdiff->obj_attr.obj_index == 0);
+ assert(tmpdiff->obj_attr.diff.generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE);
+ assert(tmpdiff->obj_attr.diff.uint64.newvalue - tmpdiff->obj_attr.diff.uint64.oldvalue == 32*4096);
+ assert(tmpdiff->generic.next == NULL);
+ }
+
+ printf("apply the diff to new duplicate topo3 of topo1\n");
+ hwloc_topology_dup(&topo3, topo1);
+ err = hwloc_topology_diff_apply(topo3, diff, 0);
+ assert(!err);
+ printf("check that topo2 and topo3 are identical\n");
+ err = hwloc_topology_diff_build(topo2, topo3, 0, &diff2);
+ assert(err == 0);
+ assert(!diff2);
+
+ printf("apply the reverse diff to topo2\n");
+ err = hwloc_topology_diff_apply(topo2, diff, HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE);
+ assert(!err);
+ printf("check that topo2 and topo1 are identical\n");
+ err = hwloc_topology_diff_build(topo1, topo2, 0, &diff2);
+ assert(err == 0);
+ assert(!diff2);
+
+ printf("exporting and reloading diff from XML buffer without refname\n");
+ err = hwloc_topology_diff_export_xmlbuffer(topo1, diff, NULL, &xmlbuffer, &xmlbuflen);
+ assert(!err);
+ hwloc_topology_diff_destroy(topo1, diff);
+ err = hwloc_topology_diff_load_xmlbuffer(topo1, xmlbuffer, xmlbuflen, &diff2, &refname);
+ assert(!err);
+ assert(diff2);
+ assert(!refname);
+ assert(!err);
+ hwloc_free_xmlbuffer(topo1, xmlbuffer);
+
+ printf("exporting and reloading diff from XML buffer with refname\n");
+ err = hwloc_topology_diff_export_xmlbuffer(topo1, diff2, "foobar", &xmlbuffer, &xmlbuflen);
+ assert(!err);
+ hwloc_topology_diff_destroy(topo1, diff2);
+ err = hwloc_topology_diff_load_xmlbuffer(topo1, xmlbuffer, xmlbuflen, &diff, &refname);
+ assert(!err);
+ assert(diff);
+ err = strcmp(refname, "foobar");
+ assert(!err);
+ free(refname);
+ hwloc_free_xmlbuffer(topo1, xmlbuffer);
+
+ tmpdiff = diff;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ assert(tmpdiff->obj_attr.obj_depth == 0);
+ assert(tmpdiff->obj_attr.obj_index == 0);
+ assert(tmpdiff->obj_attr.diff.generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE);
+ assert(tmpdiff->obj_attr.diff.uint64.newvalue - tmpdiff->obj_attr.diff.uint64.oldvalue == 128*4096);
+ tmpdiff = tmpdiff->generic.next;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ assert(tmpdiff->obj_attr.obj_depth == 0);
+ assert(tmpdiff->obj_attr.obj_index == 0);
+ assert(tmpdiff->obj_attr.diff.generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO);
+ err = strcmp(tmpdiff->obj_attr.diff.string.name, "Foo");
+ assert(!err);
+ err = strcmp(tmpdiff->obj_attr.diff.string.oldvalue, "Bar");
+ assert(!err);
+ err = strcmp(tmpdiff->obj_attr.diff.string.newvalue, "Bar2");
+ assert(!err);
+ if (hwloc_get_nbobjs_by_type(topo1, HWLOC_OBJ_NUMANODE) > 0) {
+ tmpdiff = tmpdiff->generic.next;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ assert(tmpdiff->obj_attr.obj_depth == (unsigned) hwloc_get_type_depth(topo1, HWLOC_OBJ_NUMANODE));
+ assert(tmpdiff->obj_attr.obj_index == 0);
+ assert(tmpdiff->obj_attr.diff.generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE);
+ assert(tmpdiff->obj_attr.diff.uint64.newvalue - tmpdiff->obj_attr.diff.uint64.oldvalue == 32*4096);
+ assert(tmpdiff->generic.next == NULL);
+ }
+
+ printf("reapplying to topo2\n");
+ err = hwloc_topology_diff_apply(topo2, diff, 0);
+ assert(!err);
+ printf("check that topo2 and topo3 are again identical\n");
+ err = hwloc_topology_diff_build(topo2, topo3, 0, &diff2);
+ assert(err == 0);
+ assert(!diff2);
+
+ hwloc_topology_diff_destroy(topo1, diff);
+
+ printf("adding new key to the bottom of topo3\n");
+ obj = hwloc_get_obj_by_type(topo3, HWLOC_OBJ_PU, 0);
+ assert(obj);
+ hwloc_obj_add_info(obj, "Bar", "Baz3");
+ printf("check that diff fails at the last entry\n");
+ err = hwloc_topology_diff_build(topo1, topo3, 0, &diff);
+ assert(err == 1);
+ assert(diff);
+ tmpdiff = diff;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ tmpdiff = tmpdiff->generic.next;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ if (hwloc_get_nbobjs_by_type(topo1, HWLOC_OBJ_NUMANODE) > 0) {
+ tmpdiff = tmpdiff->generic.next;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_OBJ_ATTR);
+ }
+ tmpdiff = tmpdiff->generic.next;
+ assert(tmpdiff->generic.type == HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX);
+ assert(tmpdiff->generic.next == NULL);
+ hwloc_topology_diff_destroy(topo1, diff);
+
+ printf("adding similar key to topo1\n");
+ obj = hwloc_get_obj_by_type(topo1, HWLOC_OBJ_PU, 0);
+ assert(obj);
+ hwloc_obj_add_info(obj, "Bar", "Baz1");
+ printf("checking that topo3 diff fails to reverse apply to topo2\n");
+ err = hwloc_topology_diff_build(topo1, topo3, 0, &diff);
+ assert(err == 0);
+ assert(diff);
+ err = hwloc_topology_diff_apply(topo2, diff, HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE);
+ if (hwloc_get_nbobjs_by_type(topo1, HWLOC_OBJ_NUMANODE) > 0)
+ assert(err == -4);
+ else
+ assert(err == -3);
+ hwloc_topology_diff_destroy(topo1, diff);
+
+ hwloc_topology_destroy(topo3);
+ hwloc_topology_destroy(topo2);
+ hwloc_topology_destroy(topo1);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2011-2015 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+int main(void)
+{
+ static hwloc_topology_t oldtopology, topology;
+ hwloc_bitmap_t cpuset = hwloc_bitmap_alloc();
+ unsigned node_indexes[3], core_indexes[6];
+ float node_distances[9], core_distances[36];
+ unsigned i,j;
+ int err;
+
+ for(i=0; i<3; i++) {
+ node_indexes[i] = i;
+ for(j=0; j<3; j++)
+ node_distances[i*3+j] = (i == j ? 10.f : 20.f);
+ }
+ for(i=0; i<6; i++) {
+ core_indexes[i] = i;
+ for(j=0; j<6; j++)
+ core_distances[i*6+j] = (i == j ? 4.f : 8.f);
+ }
+
+ hwloc_topology_init(&oldtopology);
+ printf("building fake 'node:3 core:2 pu:4' topology\n");
+ hwloc_topology_set_synthetic(oldtopology, "node:3 core:2 pu:4");
+ printf("adding node and core matrices\n");
+ hwloc_topology_set_distance_matrix(oldtopology, HWLOC_OBJ_NUMANODE, 3, node_indexes, node_distances);
+ hwloc_topology_set_distance_matrix(oldtopology, HWLOC_OBJ_CORE, 6, core_indexes, core_distances);
+ hwloc_topology_load(oldtopology);
+
+ printf("duplicating\n");
+ hwloc_topology_dup(&topology, oldtopology);
+ printf("destroying the old topology\n");
+ hwloc_topology_destroy(oldtopology);
+
+ /* remove the entire third node */
+ printf("removing one node\n");
+ hwloc_bitmap_fill(cpuset);
+ hwloc_bitmap_clr_range(cpuset, 16, 23);
+ err = hwloc_topology_restrict(topology, cpuset, HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES);
+ assert(!err);
+ printf("checking the result\n");
+ assert(hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_NUMANODE) == 2);
+
+ hwloc_topology_destroy(topology);
+
+ hwloc_bitmap_free(cpuset);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2011-2018 Inria. All rights reserved.
+ * Copyright © 2011 Université Bordeaux. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+
+static hwloc_topology_t topology;
+
+static void check(unsigned nbnodes, unsigned nbcores, unsigned nbpus)
+{
+ unsigned depth;
+ unsigned nb;
+ unsigned long long total_memory;
+
+ /* sanity checks */
+ depth = hwloc_topology_get_depth(topology);
+ assert(depth == 4);
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ assert(depth == 1);
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_CORE);
+ assert(depth == 2);
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PU);
+ assert(depth == 3);
+
+ /* actual checks */
+ nb = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_NUMANODE);
+ assert(nb == nbnodes);
+ nb = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_CORE);
+ assert(nb == nbcores);
+ nb = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_PU);
+ assert(nb == nbpus);
+ total_memory = hwloc_get_root_obj(topology)->memory.total_memory;
+ assert(total_memory == nbnodes * 1024*1024*1024); /* synthetic topology puts 1GB per node */
+}
+
+static void check_distances(unsigned nbnodes, unsigned nbcores)
+{
+ const struct hwloc_distances_s *distance;
+
+ /* node distance */
+ distance = hwloc_get_whole_distance_matrix_by_type(topology, HWLOC_OBJ_NUMANODE);
+ if (nbnodes >= 2) {
+ assert(distance);
+ assert(distance->nbobjs == nbnodes);
+ } else {
+ assert(!distance);
+ }
+
+ /* core distance */
+ distance = hwloc_get_whole_distance_matrix_by_type(topology, HWLOC_OBJ_CORE);
+ if (nbcores >= 2) {
+ assert(distance);
+ assert(distance->nbobjs == nbcores);
+ } else {
+ assert(!distance);
+ }
+}
+
+int main(void)
+{
+ hwloc_bitmap_t cpuset = hwloc_bitmap_alloc();
+ unsigned node_indexes[3], core_indexes[6];
+ float node_distances[9], core_distances[36];
+ unsigned i,j;
+ int err;
+
+ for(i=0; i<3; i++) {
+ node_indexes[i] = i;
+ for(j=0; j<3; j++)
+ node_distances[i*3+j] = (i == j ? 10.f : 20.f);
+ }
+ for(i=0; i<6; i++) {
+ core_indexes[i] = i;
+ for(j=0; j<6; j++)
+ core_distances[i*6+j] = (i == j ? 4.f : 8.f);
+ }
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:3 core:2 pu:4");
+ hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_NUMANODE, 3, node_indexes, node_distances);
+ hwloc_topology_set_distance_matrix(topology, HWLOC_OBJ_CORE, 6, core_indexes, core_distances);
+ hwloc_topology_load(topology);
+
+ /* entire topology */
+ printf("starting from full topology\n");
+ check(3, 6, 24);
+ check_distances(3, 6);
+
+ /* restrict to nothing, impossible */
+ printf("restricting to nothing, must fail\n");
+ hwloc_bitmap_zero(cpuset);
+ err = hwloc_topology_restrict(topology, cpuset, HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES);
+ assert(err < 0 && errno == EINVAL);
+ check(3, 6, 24);
+ check_distances(3, 6);
+
+ /* restrict to everything, will do nothing */
+ printf("restricting to everything, does nothing\n");
+ hwloc_bitmap_fill(cpuset);
+ err = hwloc_topology_restrict(topology, cpuset, HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES);
+ assert(!err);
+ check(3, 6, 24);
+ check_distances(3, 6);
+
+ /* remove a single pu (second PU of second core of second node) */
+ printf("removing one PU\n");
+ hwloc_bitmap_fill(cpuset);
+ hwloc_bitmap_clr(cpuset, 13);
+ err = hwloc_topology_restrict(topology, cpuset, HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES);
+ assert(!err);
+ check(3, 6, 23);
+ check_distances(3, 6);
+
+ /* remove the entire second core of first node */
+ printf("removing one core\n");
+ hwloc_bitmap_fill(cpuset);
+ hwloc_bitmap_clr_range(cpuset, 4, 7);
+ err = hwloc_topology_restrict(topology, cpuset, HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES);
+ assert(!err);
+ check(3, 5, 19);
+ check_distances(3, 5);
+
+ /* remove the entire third node */
+ printf("removing one node\n");
+ hwloc_bitmap_fill(cpuset);
+ hwloc_bitmap_clr_range(cpuset, 16, 23);
+ err = hwloc_topology_restrict(topology, cpuset, HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES);
+ assert(!err);
+ check(2, 3, 11);
+ check_distances(2, 3);
+
+ /* restrict to the third node, impossible */
+ printf("restricting to only some already removed node, must fail\n");
+ hwloc_bitmap_zero(cpuset);
+ hwloc_bitmap_set_range(cpuset, 16, 23);
+ err = hwloc_topology_restrict(topology, cpuset, HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES);
+ assert(err == -1 && errno == EINVAL);
+ check(2, 3, 11);
+ check_distances(2, 3);
+
+ /* only keep three PUs (first and last of first core, and last of last core of second node) */
+ printf("restricting to 3 PUs\n");
+ hwloc_bitmap_zero(cpuset);
+ hwloc_bitmap_set(cpuset, 0);
+ hwloc_bitmap_set(cpuset, 3);
+ hwloc_bitmap_set(cpuset, 15);
+ err = hwloc_topology_restrict(topology, cpuset, 0);
+ assert(!err);
+ check(2, 2, 3);
+ check_distances(0, 0);
+
+ /* only keep one PU (last of last core of second node) */
+ printf("restricting to a single PU\n");
+ hwloc_bitmap_zero(cpuset);
+ hwloc_bitmap_set(cpuset, 15);
+ err = hwloc_topology_restrict(topology, cpuset, 0);
+ assert(!err);
+ check(1, 1, 1);
+ check_distances(0, 0);
+
+ hwloc_topology_destroy(topology);
+
+ /* check that restricting exactly on a Misc object keeps things coherent */
+ printf("restricting to a Misc covering only the of the PU level\n");
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "pu:4");
+ hwloc_topology_load(topology);
+ hwloc_bitmap_zero(cpuset);
+ hwloc_bitmap_set_range(cpuset, 1, 2);
+ hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, "toto");
+ hwloc_topology_restrict(topology, cpuset, 0);
+ hwloc_topology_check(topology);
+ hwloc_topology_destroy(topology);
+
+ /* check that restricting PUs maintains ordering of children */
+ printf("restricting so that PU get reordered\n");
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, "node:1 core:2 pu:2(indexes=0,2,1,3)");
+ hwloc_topology_load(topology);
+ hwloc_bitmap_zero(cpuset);
+ hwloc_bitmap_set_range(cpuset, 1, 2);
+ err = hwloc_topology_restrict(topology, cpuset, 0);
+ assert(!err);
+ hwloc_topology_destroy(topology);
+
+ hwloc_bitmap_free(cpuset);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+
+#define HWLOC_OBJ_TYPE_NONE (hwloc_obj_type_t)-1
+
+#include <stdio.h>
+#include <assert.h>
+
+/* check topo_get_type{,_or_above,_or_below}_depth()
+ * and hwloc_get_depth_type()
+ */
+
+#define SYNTHETIC_TOPOLOGY_DESCRIPTION "machine:3 group:2 group:2 core:3 cache:2 cache:2 2"
+
+int main(void)
+{
+ hwloc_topology_t topology;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_synthetic(topology, SYNTHETIC_TOPOLOGY_DESCRIPTION);
+ hwloc_topology_load(topology);
+
+ assert(hwloc_topology_get_depth(topology) == 8);
+
+ assert(hwloc_get_depth_type(topology, 0) == HWLOC_OBJ_SYSTEM);
+ assert(hwloc_get_depth_type(topology, 1) == HWLOC_OBJ_MACHINE);
+ assert(hwloc_get_depth_type(topology, 2) == HWLOC_OBJ_GROUP);
+ assert(hwloc_get_depth_type(topology, 3) == HWLOC_OBJ_GROUP);
+ assert(hwloc_get_depth_type(topology, 4) == HWLOC_OBJ_CORE);
+ assert(hwloc_get_depth_type(topology, 5) == HWLOC_OBJ_CACHE);
+ assert(hwloc_get_depth_type(topology, 6) == HWLOC_OBJ_CACHE);
+ assert(hwloc_get_depth_type(topology, 7) == HWLOC_OBJ_PU);
+
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_MACHINE) == 1);
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_CORE) == 4);
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_PU) == 7);
+
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE) == HWLOC_TYPE_DEPTH_UNKNOWN);
+ assert(hwloc_get_type_or_above_depth(topology, HWLOC_OBJ_NUMANODE) == 3);
+ assert(hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_NUMANODE) == 4);
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_PACKAGE) == HWLOC_TYPE_DEPTH_UNKNOWN);
+ assert(hwloc_get_type_or_above_depth(topology, HWLOC_OBJ_PACKAGE) == 3);
+ assert(hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_PACKAGE) == 4);
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_CACHE) == HWLOC_TYPE_DEPTH_MULTIPLE);
+ assert(hwloc_get_type_or_above_depth(topology, HWLOC_OBJ_CACHE) == HWLOC_TYPE_DEPTH_MULTIPLE);
+ assert(hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_CACHE) == HWLOC_TYPE_DEPTH_MULTIPLE);
+
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_BRIDGE) == HWLOC_TYPE_DEPTH_BRIDGE);
+ assert(hwloc_get_type_or_above_depth(topology, HWLOC_OBJ_BRIDGE) == HWLOC_TYPE_DEPTH_BRIDGE);
+ assert(hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_BRIDGE) == HWLOC_TYPE_DEPTH_BRIDGE);
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_PCI_DEVICE) == HWLOC_TYPE_DEPTH_PCI_DEVICE);
+ assert(hwloc_get_type_or_above_depth(topology, HWLOC_OBJ_PCI_DEVICE) == HWLOC_TYPE_DEPTH_PCI_DEVICE);
+ assert(hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_PCI_DEVICE) == HWLOC_TYPE_DEPTH_PCI_DEVICE);
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_OS_DEVICE) == HWLOC_TYPE_DEPTH_OS_DEVICE);
+ assert(hwloc_get_type_or_above_depth(topology, HWLOC_OBJ_OS_DEVICE) == HWLOC_TYPE_DEPTH_OS_DEVICE);
+ assert(hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_OS_DEVICE) == HWLOC_TYPE_DEPTH_OS_DEVICE);
+
+ assert(hwloc_get_type_depth(topology, HWLOC_OBJ_MISC) == HWLOC_TYPE_DEPTH_UNKNOWN);
+ assert(hwloc_get_type_or_above_depth(topology, HWLOC_OBJ_MISC) == HWLOC_TYPE_DEPTH_UNKNOWN);
+ assert(hwloc_get_type_or_below_depth(topology, HWLOC_OBJ_MISC) == HWLOC_TYPE_DEPTH_UNKNOWN);
+
+ assert(hwloc_get_depth_type(topology, HWLOC_TYPE_DEPTH_BRIDGE) == HWLOC_OBJ_BRIDGE);
+ assert(hwloc_get_depth_type(topology, HWLOC_TYPE_DEPTH_PCI_DEVICE) == HWLOC_OBJ_PCI_DEVICE);
+ assert(hwloc_get_depth_type(topology, HWLOC_TYPE_DEPTH_OS_DEVICE) == HWLOC_OBJ_OS_DEVICE);
+
+ assert(hwloc_get_type_depth(topology, 123) == HWLOC_TYPE_DEPTH_UNKNOWN);
+ assert(hwloc_get_type_depth(topology, -14) == HWLOC_TYPE_DEPTH_UNKNOWN);
+
+ assert(hwloc_get_depth_type(topology, 123) == HWLOC_OBJ_TYPE_NONE);
+ assert(hwloc_get_depth_type(topology, HWLOC_TYPE_DEPTH_UNKNOWN) == HWLOC_OBJ_TYPE_NONE); /* -1 */
+ assert(hwloc_get_depth_type(topology, HWLOC_TYPE_DEPTH_MULTIPLE) == HWLOC_OBJ_TYPE_NONE); /* -2 */
+ /* special level depth are from -3 to -7 */
+ assert(hwloc_get_depth_type(topology, -8) == HWLOC_OBJ_TYPE_NONE);
+ assert(hwloc_get_depth_type(topology, -134) == HWLOC_OBJ_TYPE_NONE);
+
+ hwloc_topology_destroy(topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2013-2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <assert.h>
+#include <hwloc.h>
+#include <hwloc/intel-mic.h>
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ int i;
+ int err;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
+ hwloc_topology_load(topology);
+
+ for(i=0; ; i++) {
+ hwloc_bitmap_t set;
+ hwloc_obj_t osdev, ancestor;
+ const char *value;
+
+ osdev = hwloc_intel_mic_get_device_osdev_by_index(topology, i);
+ if (!osdev)
+ break;
+ assert(osdev);
+
+ ancestor = hwloc_get_non_io_ancestor_obj(topology, osdev);
+
+ printf("found OSDev %s\n", osdev->name);
+ err = strncmp(osdev->name, "mic", 3);
+ assert(!err);
+ assert(atoi(osdev->name+3) == (int) i);
+
+ assert(osdev->attr->osdev.type == HWLOC_OBJ_OSDEV_COPROC);
+
+ value = hwloc_obj_get_info_by_name(osdev, "CoProcType");
+ err = strcmp(value, "MIC");
+ assert(!err);
+
+ value = hwloc_obj_get_info_by_name(osdev, "MICFamily");
+ printf("found MICFamily %s\n", value);
+ value = hwloc_obj_get_info_by_name(osdev, "MICSKU");
+ printf("found MICSKU %s\n", value);
+ value = hwloc_obj_get_info_by_name(osdev, "MICActiveCores");
+ printf("found MICActiveCores %s\n", value);
+ value = hwloc_obj_get_info_by_name(osdev, "MICMemorySize");
+ printf("found MICMemorySize %s\n", value);
+
+ set = hwloc_bitmap_alloc();
+ err = hwloc_intel_mic_get_device_cpuset(topology, i, set);
+ if (err < 0) {
+ printf("failed to get cpuset for device %d\n", i);
+ } else {
+ char *cpuset_string = NULL;
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for device %d\n", cpuset_string, i);
+ if (hwloc_bitmap_isequal(hwloc_topology_get_complete_cpuset(topology), hwloc_topology_get_topology_cpuset(topology)))
+ /* only compare if the topology is complete, otherwise things can be significantly different */
+ assert(hwloc_bitmap_isequal(set, ancestor->cpuset));
+ free(cpuset_string);
+ }
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <hwloc.h>
+#include <assert.h>
+#define NUMA_VERSION1_COMPATIBILITY
+#include <hwloc/linux-libnuma.h>
+
+/* check the linux libnuma helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ hwloc_bitmap_t set, set2, nocpunomemnodeset, nocpubutmemnodeset, nomembutcpunodeset, nomembutcpucpuset;
+ hwloc_obj_t node;
+ struct bitmask *bitmask, *bitmask2;
+ unsigned long mask;
+ unsigned long maxnode;
+ int i;
+
+ if (numa_available() < 0)
+ /* libnuma has inconsistent behavior when the kernel isn't NUMA-aware.
+ * don't try to check everything precisely.
+ */
+ exit(77);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+
+ /* convert full stuff between cpuset and libnuma */
+ set = hwloc_bitmap_alloc();
+ nocpunomemnodeset = hwloc_bitmap_alloc();
+ nocpubutmemnodeset = hwloc_bitmap_alloc();
+ nomembutcpunodeset = hwloc_bitmap_alloc();
+ nomembutcpucpuset = hwloc_bitmap_alloc();
+ /* gather all nodes if any, or the whole system if no nodes */
+ if (hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_NUMANODE)) {
+ node = NULL;
+ while ((node = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, node)) != NULL) {
+ hwloc_bitmap_or(set, set, node->cpuset);
+ if (hwloc_bitmap_iszero(node->cpuset)) {
+ if (node->memory.local_memory)
+ hwloc_bitmap_set(nocpubutmemnodeset, node->os_index);
+ else
+ hwloc_bitmap_set(nocpunomemnodeset, node->os_index);
+ } else if (!node->memory.local_memory) {
+ hwloc_bitmap_set(nomembutcpunodeset, node->os_index);
+ hwloc_bitmap_or(nomembutcpucpuset, nomembutcpucpuset, node->cpuset);
+ }
+ }
+ } else {
+ hwloc_bitmap_or(set, set, hwloc_topology_get_complete_cpuset(topology));
+ }
+
+ set2 = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_linux_libnuma_bitmask(topology, set2, numa_all_nodes_ptr);
+ /* numa_all_nodes_ptr doesn't contain NODES with CPU but no memory */
+ hwloc_bitmap_or(set2, set2, nomembutcpucpuset);
+ assert(hwloc_bitmap_isequal(set, set2));
+ hwloc_bitmap_free(set2);
+
+ bitmask = hwloc_cpuset_to_linux_libnuma_bitmask(topology, set);
+ /* numa_all_nodes_ptr contains NODES with no CPU but with memory */
+ hwloc_bitmap_foreach_begin(i, nocpubutmemnodeset) { numa_bitmask_setbit(bitmask, i); } hwloc_bitmap_foreach_end();
+ assert(numa_bitmask_equal(bitmask, numa_all_nodes_ptr));
+ numa_bitmask_free(bitmask);
+
+ hwloc_bitmap_free(set);
+
+ /* convert full stuff between nodeset and libnuma */
+ if (hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_NUMANODE)) {
+ set = hwloc_bitmap_dup(hwloc_get_root_obj(topology)->complete_nodeset);
+ } else {
+ set = hwloc_bitmap_alloc();
+ hwloc_bitmap_fill(set);
+ }
+
+ set2 = hwloc_bitmap_alloc();
+ hwloc_nodeset_from_linux_libnuma_bitmask(topology, set2, numa_all_nodes_ptr);
+ /* numa_all_nodes_ptr doesn't contain NODES with no CPU and no memory */
+ hwloc_bitmap_foreach_begin(i, nocpunomemnodeset) { hwloc_bitmap_set(set2, i); } hwloc_bitmap_foreach_end();
+ /* numa_all_nodes_ptr doesn't contain NODES with CPU but no memory */
+ hwloc_bitmap_or(set2, set2, nomembutcpunodeset);
+ assert(hwloc_bitmap_isequal(set, set2));
+ hwloc_bitmap_free(set2);
+
+ bitmask = hwloc_nodeset_to_linux_libnuma_bitmask(topology, set);
+ assert(numa_bitmask_equal(bitmask, numa_all_nodes_ptr));
+ numa_bitmask_free(bitmask);
+
+ hwloc_bitmap_free(set);
+
+ /* convert empty stuff between cpuset and libnuma */
+ bitmask = numa_bitmask_alloc(1);
+ set = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_linux_libnuma_bitmask(topology, set, bitmask);
+ numa_bitmask_free(bitmask);
+ assert(hwloc_bitmap_iszero(set));
+ hwloc_bitmap_free(set);
+
+ mask=0;
+ set = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_linux_libnuma_ulongs(topology, set, &mask, sizeof(mask)*8);
+ assert(hwloc_bitmap_iszero(set));
+ hwloc_bitmap_free(set);
+
+ set = hwloc_bitmap_alloc();
+ bitmask = hwloc_cpuset_to_linux_libnuma_bitmask(topology, set);
+ bitmask2 = numa_bitmask_alloc(1);
+ assert(numa_bitmask_equal(bitmask, bitmask2));
+ numa_bitmask_free(bitmask);
+ numa_bitmask_free(bitmask2);
+ hwloc_bitmap_free(set);
+
+ set = hwloc_bitmap_alloc();
+ maxnode = sizeof(mask)*8;
+ hwloc_cpuset_to_linux_libnuma_ulongs(topology, set, &mask, &maxnode);
+ assert(!mask);
+ assert(!maxnode);
+ hwloc_bitmap_free(set);
+
+ /* convert empty stuff between nodeset and libnuma */
+ bitmask = numa_bitmask_alloc(1);
+ set = hwloc_bitmap_alloc();
+ hwloc_nodeset_from_linux_libnuma_bitmask(topology, set, bitmask);
+ numa_bitmask_free(bitmask);
+ assert(hwloc_bitmap_iszero(set));
+ hwloc_bitmap_free(set);
+
+ mask=0;
+ set = hwloc_bitmap_alloc();
+ hwloc_nodeset_from_linux_libnuma_ulongs(topology, set, &mask, sizeof(mask)*8);
+ assert(hwloc_bitmap_iszero(set));
+ hwloc_bitmap_free(set);
+
+ set = hwloc_bitmap_alloc();
+ bitmask = hwloc_nodeset_to_linux_libnuma_bitmask(topology, set);
+ bitmask2 = numa_bitmask_alloc(1);
+ assert(numa_bitmask_equal(bitmask, bitmask2));
+ numa_bitmask_free(bitmask);
+ numa_bitmask_free(bitmask2);
+ hwloc_bitmap_free(set);
+
+ set = hwloc_bitmap_alloc();
+ maxnode = sizeof(mask)*8;
+ hwloc_nodeset_to_linux_libnuma_ulongs(topology, set, &mask, &maxnode);
+ assert(!mask);
+ assert(!maxnode);
+ hwloc_bitmap_free(set);
+
+ /* convert first node (with CPU and memory) between cpuset/nodeset and libnuma */
+ node = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, NULL);
+ while (node && (!node->memory.local_memory || hwloc_bitmap_iszero(node->cpuset)))
+ /* skip nodes with no cpus or no memory to avoid strange libnuma behaviors */
+ node = hwloc_get_next_obj_by_type(topology, HWLOC_OBJ_NUMANODE, node);
+ if (node) {
+ /* convert first node between cpuset and libnuma */
+ bitmask = hwloc_cpuset_to_linux_libnuma_bitmask(topology, node->cpuset);
+ assert(numa_bitmask_isbitset(bitmask, node->os_index));
+ numa_bitmask_clearbit(bitmask, node->os_index);
+ bitmask2 = numa_bitmask_alloc(node->os_index + 1);
+ assert(numa_bitmask_equal(bitmask, bitmask2));
+ numa_bitmask_free(bitmask);
+ numa_bitmask_free(bitmask2);
+
+ maxnode = sizeof(mask)*8;
+ hwloc_cpuset_to_linux_libnuma_ulongs(topology, node->cpuset, &mask, &maxnode);
+ if (node->os_index >= sizeof(mask)*8) {
+ assert(!maxnode);
+ assert(!mask);
+ } else {
+ assert(maxnode == node->os_index + 1);
+ assert(mask == (1UL << node->os_index));
+ }
+
+ set = hwloc_bitmap_alloc();
+ bitmask = numa_bitmask_alloc(node->os_index + 1);
+ numa_bitmask_setbit(bitmask, node->os_index);
+ hwloc_cpuset_from_linux_libnuma_bitmask(topology, set, bitmask);
+ numa_bitmask_free(bitmask);
+ assert(hwloc_bitmap_isequal(set, node->cpuset));
+ hwloc_bitmap_free(set);
+
+ set = hwloc_bitmap_alloc();
+ if (node->os_index >= sizeof(mask)*8) {
+ mask = 0;
+ } else {
+ mask = 1UL << node->os_index;
+ }
+ hwloc_cpuset_from_linux_libnuma_ulongs(topology, set, &mask, node->os_index + 1);
+ assert(hwloc_bitmap_isequal(set, node->cpuset));
+ hwloc_bitmap_free(set);
+
+ /* convert first node between nodeset and libnuma */
+ bitmask = hwloc_nodeset_to_linux_libnuma_bitmask(topology, node->nodeset);
+ assert(numa_bitmask_isbitset(bitmask, node->os_index));
+ numa_bitmask_clearbit(bitmask, node->os_index);
+ bitmask2 = numa_bitmask_alloc(node->os_index + 1);
+ assert(numa_bitmask_equal(bitmask, bitmask2));
+ numa_bitmask_free(bitmask);
+ numa_bitmask_free(bitmask2);
+
+ maxnode = sizeof(mask)*8;
+ hwloc_nodeset_to_linux_libnuma_ulongs(topology, node->nodeset, &mask, &maxnode);
+ if (node->os_index >= sizeof(mask)*8) {
+ assert(!maxnode);
+ assert(!mask);
+ } else {
+ assert(maxnode == node->os_index + 1);
+ assert(mask == (1UL << node->os_index));
+ }
+
+ set = hwloc_bitmap_alloc();
+ bitmask = numa_bitmask_alloc(node->os_index + 1);
+ numa_bitmask_setbit(bitmask, node->os_index);
+ hwloc_nodeset_from_linux_libnuma_bitmask(topology, set, bitmask);
+ numa_bitmask_free(bitmask);
+ assert(hwloc_bitmap_isequal(set, node->nodeset));
+ hwloc_bitmap_free(set);
+
+ set = hwloc_bitmap_alloc();
+ if (node->os_index >= sizeof(mask)*8) {
+ mask = 0;
+ } else {
+ mask = 1UL << node->os_index;
+ }
+ hwloc_nodeset_from_linux_libnuma_ulongs(topology, set, &mask, node->os_index + 1);
+ assert(hwloc_bitmap_isequal(set, node->nodeset));
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_bitmap_free(nomembutcpucpuset);
+ hwloc_bitmap_free(nomembutcpunodeset);
+ hwloc_bitmap_free(nocpubutmemnodeset);
+ hwloc_bitmap_free(nocpunomemnodeset);
+
+ hwloc_topology_destroy(topology);
+ return 0;
+}
--- /dev/null
+Machine (P#0 total=1609512816KB Backend=Linux)
+ NUMANode L#0 (P#0 local=100057088KB total=100057088KB)
+ Package L#0 (P#0 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ Package L#1 (P#1 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#2 (P#0)
+ PU L#2 (P#2)
+ Core L#3 (P#1)
+ PU L#3 (P#3)
+ Package L#2 (P#256 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#4 (P#0)
+ PU L#4 (P#4)
+ Core L#5 (P#1)
+ PU L#5 (P#5)
+ Package L#3 (P#257 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#6 (P#0)
+ PU L#6 (P#6)
+ Core L#7 (P#1)
+ PU L#7 (P#7)
+ NUMANode L#1 (P#1 local=100073472KB total=100073472KB)
+ Package L#4 (P#65536 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ Core L#9 (P#1)
+ PU L#9 (P#9)
+ Package L#5 (P#65537 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#10 (P#0)
+ PU L#10 (P#10)
+ Core L#11 (P#1)
+ PU L#11 (P#11)
+ Package L#6 (P#65792 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#12 (P#0)
+ PU L#12 (P#12)
+ Core L#13 (P#1)
+ PU L#13 (P#13)
+ Package L#7 (P#65793 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#14 (P#0)
+ PU L#14 (P#14)
+ Core L#15 (P#1)
+ PU L#15 (P#15)
+ NUMANode L#2 (P#2 local=100597760KB total=100597760KB)
+ Package L#8 (P#131072 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#16 (P#0)
+ PU L#16 (P#16)
+ Core L#17 (P#1)
+ PU L#17 (P#17)
+ Package L#9 (P#131073 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#18 (P#0)
+ PU L#18 (P#18)
+ Core L#19 (P#1)
+ PU L#19 (P#19)
+ Package L#10 (P#131328 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#20 (P#0)
+ PU L#20 (P#20)
+ Core L#21 (P#1)
+ PU L#21 (P#21)
+ Package L#11 (P#131329 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#22 (P#0)
+ PU L#22 (P#22)
+ Core L#23 (P#1)
+ PU L#23 (P#23)
+ NUMANode L#3 (P#3 local=100597760KB total=100597760KB)
+ Package L#12 (P#196608 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#24 (P#0)
+ PU L#24 (P#24)
+ Core L#25 (P#1)
+ PU L#25 (P#25)
+ Package L#13 (P#196609 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#26 (P#0)
+ PU L#26 (P#26)
+ Core L#27 (P#1)
+ PU L#27 (P#27)
+ Package L#14 (P#196864 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#28 (P#0)
+ PU L#28 (P#28)
+ Core L#29 (P#1)
+ PU L#29 (P#29)
+ Package L#15 (P#196865 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#30 (P#0)
+ PU L#30 (P#30)
+ Core L#31 (P#1)
+ PU L#31 (P#31)
+ NUMANode L#4 (P#4 local=100597760KB total=100597760KB)
+ Package L#16 (P#262144 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#32 (P#0)
+ PU L#32 (P#32)
+ Core L#33 (P#1)
+ PU L#33 (P#33)
+ Package L#17 (P#262145 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#34 (P#0)
+ PU L#34 (P#34)
+ Core L#35 (P#1)
+ PU L#35 (P#35)
+ Package L#18 (P#262400 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#36 (P#0)
+ PU L#36 (P#36)
+ Core L#37 (P#1)
+ PU L#37 (P#37)
+ Package L#19 (P#262401 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#38 (P#0)
+ PU L#38 (P#38)
+ Core L#39 (P#1)
+ PU L#39 (P#39)
+ NUMANode L#5 (P#5 local=100597760KB total=100597760KB)
+ Package L#20 (P#327680 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#40 (P#0)
+ PU L#40 (P#40)
+ Core L#41 (P#1)
+ PU L#41 (P#41)
+ Package L#21 (P#327681 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#42 (P#0)
+ PU L#42 (P#42)
+ Core L#43 (P#1)
+ PU L#43 (P#43)
+ Package L#22 (P#327936 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#44 (P#0)
+ PU L#44 (P#44)
+ Core L#45 (P#1)
+ PU L#45 (P#45)
+ Package L#23 (P#327937 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#46 (P#0)
+ PU L#46 (P#46)
+ Core L#47 (P#1)
+ PU L#47 (P#47)
+ NUMANode L#6 (P#6 local=100597760KB total=100597760KB)
+ Package L#24 (P#393216 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#48 (P#0)
+ PU L#48 (P#48)
+ Core L#49 (P#1)
+ PU L#49 (P#49)
+ Package L#25 (P#393217 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#50 (P#0)
+ PU L#50 (P#50)
+ Core L#51 (P#1)
+ PU L#51 (P#51)
+ Package L#26 (P#393472 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#52 (P#0)
+ PU L#52 (P#52)
+ Core L#53 (P#1)
+ PU L#53 (P#53)
+ Package L#27 (P#393473 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#54 (P#0)
+ PU L#54 (P#54)
+ Core L#55 (P#1)
+ PU L#55 (P#55)
+ NUMANode L#7 (P#7 local=100597728KB total=100597728KB)
+ Package L#28 (P#458752 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#56 (P#0)
+ PU L#56 (P#56)
+ Core L#57 (P#1)
+ PU L#57 (P#57)
+ Package L#29 (P#458753 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#58 (P#0)
+ PU L#58 (P#58)
+ Core L#59 (P#1)
+ PU L#59 (P#59)
+ Package L#30 (P#459008 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#60 (P#0)
+ PU L#60 (P#60)
+ Core L#61 (P#1)
+ PU L#61 (P#61)
+ Package L#31 (P#459009 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#62 (P#0)
+ PU L#62 (P#62)
+ Core L#63 (P#1)
+ PU L#63 (P#63)
+ NUMANode L#8 (P#8 local=100597760KB total=100597760KB)
+ Package L#32 (P#524288 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#64 (P#0)
+ PU L#64 (P#64)
+ Core L#65 (P#1)
+ PU L#65 (P#65)
+ Package L#33 (P#524289 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#66 (P#0)
+ PU L#66 (P#66)
+ Core L#67 (P#1)
+ PU L#67 (P#67)
+ Package L#34 (P#524544 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#68 (P#0)
+ PU L#68 (P#68)
+ Core L#69 (P#1)
+ PU L#69 (P#69)
+ Package L#35 (P#524545 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#70 (P#0)
+ PU L#70 (P#70)
+ Core L#71 (P#1)
+ PU L#71 (P#71)
+ NUMANode L#9 (P#9 local=100597760KB total=100597760KB)
+ Package L#36 (P#589824 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#72 (P#0)
+ PU L#72 (P#72)
+ Core L#73 (P#1)
+ PU L#73 (P#73)
+ Package L#37 (P#589825 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#74 (P#0)
+ PU L#74 (P#74)
+ Core L#75 (P#1)
+ PU L#75 (P#75)
+ Package L#38 (P#590080 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#76 (P#0)
+ PU L#76 (P#76)
+ Core L#77 (P#1)
+ PU L#77 (P#77)
+ Package L#39 (P#590081 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#78 (P#0)
+ PU L#78 (P#78)
+ Core L#79 (P#1)
+ PU L#79 (P#79)
+ NUMANode L#10 (P#10 local=100597760KB total=100597760KB)
+ Package L#40 (P#655360 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#80 (P#0)
+ PU L#80 (P#80)
+ Core L#81 (P#1)
+ PU L#81 (P#81)
+ Package L#41 (P#655361 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#82 (P#0)
+ PU L#82 (P#82)
+ Core L#83 (P#1)
+ PU L#83 (P#83)
+ Package L#42 (P#655616 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#84 (P#0)
+ PU L#84 (P#84)
+ Core L#85 (P#1)
+ PU L#85 (P#85)
+ Package L#43 (P#655617 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#86 (P#0)
+ PU L#86 (P#86)
+ Core L#87 (P#1)
+ PU L#87 (P#87)
+ NUMANode L#11 (P#11 local=100597760KB total=100597760KB)
+ Package L#44 (P#720896 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#88 (P#0)
+ PU L#88 (P#88)
+ Core L#89 (P#1)
+ PU L#89 (P#89)
+ Package L#45 (P#720897 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#90 (P#0)
+ PU L#90 (P#90)
+ Core L#91 (P#1)
+ PU L#91 (P#91)
+ Package L#46 (P#721152 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#92 (P#0)
+ PU L#92 (P#92)
+ Core L#93 (P#1)
+ PU L#93 (P#93)
+ Package L#47 (P#721153 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#94 (P#0)
+ PU L#94 (P#94)
+ Core L#95 (P#1)
+ PU L#95 (P#95)
+ NUMANode L#12 (P#12 local=100597760KB total=100597760KB)
+ Package L#48 (P#786432 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#96 (P#0)
+ PU L#96 (P#96)
+ Core L#97 (P#1)
+ PU L#97 (P#97)
+ Package L#49 (P#786433 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#98 (P#0)
+ PU L#98 (P#98)
+ Core L#99 (P#1)
+ PU L#99 (P#99)
+ Package L#50 (P#786688 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#100 (P#0)
+ PU L#100 (P#100)
+ Core L#101 (P#1)
+ PU L#101 (P#101)
+ Package L#51 (P#786689 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#102 (P#0)
+ PU L#102 (P#102)
+ Core L#103 (P#1)
+ PU L#103 (P#103)
+ NUMANode L#13 (P#13 local=100597744KB total=100597744KB)
+ Package L#52 (P#851968 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#104 (P#0)
+ PU L#104 (P#104)
+ Core L#105 (P#1)
+ PU L#105 (P#105)
+ Package L#53 (P#851969 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#106 (P#0)
+ PU L#106 (P#106)
+ Core L#107 (P#1)
+ PU L#107 (P#107)
+ Package L#54 (P#852224 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#108 (P#0)
+ PU L#108 (P#108)
+ Core L#109 (P#1)
+ PU L#109 (P#109)
+ Package L#55 (P#852225 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#110 (P#0)
+ PU L#110 (P#110)
+ Core L#111 (P#1)
+ PU L#111 (P#111)
+ NUMANode L#14 (P#14 local=100597760KB total=100597760KB)
+ Package L#56 (P#917504 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#112 (P#0)
+ PU L#112 (P#112)
+ Core L#113 (P#1)
+ PU L#113 (P#113)
+ Package L#57 (P#917505 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#114 (P#0)
+ PU L#114 (P#114)
+ Core L#115 (P#1)
+ PU L#115 (P#115)
+ Package L#58 (P#917760 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#116 (P#0)
+ PU L#116 (P#116)
+ Core L#117 (P#1)
+ PU L#117 (P#117)
+ Package L#59 (P#917761 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#118 (P#0)
+ PU L#118 (P#118)
+ Core L#119 (P#1)
+ PU L#119 (P#119)
+ NUMANode L#15 (P#15 local=100591248KB total=100591248KB)
+ Package L#60 (P#983040 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#120 (P#0)
+ PU L#120 (P#120)
+ Core L#121 (P#1)
+ PU L#121 (P#121)
+ Package L#61 (P#983041 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#122 (P#0)
+ PU L#122 (P#122)
+ Core L#123 (P#1)
+ PU L#123 (P#123)
+ Package L#62 (P#983296 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#124 (P#0)
+ PU L#124 (P#124)
+ Core L#125 (P#1)
+ PU L#125 (P#125)
+ Package L#63 (P#983297 CPUModel="Dual-Core Intel(R) Itanium(R) Processor 9140N")
+ Core L#126 (P#0)
+ PU L#126 (P#126)
+ Core L#127 (P#1)
+ PU L#127 (P#127)
+ NUMANode L#16 (P#16 local=1020176KB total=1020176KB)
+depth 0: 1 Machine (type #1)
+ depth 1: 17 NUMANode (type #2)
+ depth 2: 64 Package (type #3)
+ depth 3: 128 Core (type #5)
+ depth 4: 128 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+ 0 1.000 1.700 1.700 1.700 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 1 1.700 1.000 1.700 1.700 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 2 1.700 1.700 1.000 1.700 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 3 1.700 1.700 1.700 1.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 4 2.000 2.000 2.000 2.000 1.000 1.700 1.700 1.700 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 5 2.000 2.000 2.000 2.000 1.700 1.000 1.700 1.700 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 6 2.000 2.000 2.000 2.000 1.700 1.700 1.000 1.700 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 7 2.000 2.000 2.000 2.000 1.700 1.700 1.700 1.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.400
+ 8 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.000 1.700 1.700 1.700 2.000 2.000 2.000 2.000 1.400
+ 9 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.700 1.000 1.700 1.700 2.000 2.000 2.000 2.000 1.400
+ 10 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.700 1.700 1.000 1.700 2.000 2.000 2.000 2.000 1.400
+ 11 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.700 1.700 1.700 1.000 2.000 2.000 2.000 2.000 1.400
+ 12 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.000 1.700 1.700 1.700 1.400
+ 13 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.700 1.000 1.700 1.700 1.400
+ 14 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.700 1.700 1.000 1.700 1.400
+ 15 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.700 1.700 1.700 1.000 1.400
+ 16 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.400 1.000
+Topology not from this system
--- /dev/null
+- -v --merge --no-icaches
--- /dev/null
+Machine (P#0 total=16777216KB DMIProductName=H8QM8 DMIProductVersion=1234567890 DMIBoardVendor=Supermicro DMIBoardName=H8QM8 DMIBoardVersion=1234567890 DMIBoardAssetTag="To Be Filled By O.E.M." DMIChassisVendor="To Be Filled By O.E.M." DMIChassisType=3 DMIChassisVersion="To Be Filled By O.E.M." DMIChassisAssetTag="To Be Filled By O.E.M." DMIBIOSVendor="American Megatrends Inc." DMIBIOSVersion="080014 " DMIBIOSDate=12/20/2008 DMISysVendor=Supermicro Backend=Linux LinuxCgroup=/prout)
+ NUMANode L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+ PU L#2 (P#2)
+ PU L#3 (P#3)
+ NUMANode L#1 (P#1)
+ NUMANode L#2 (P#2 local=8388608KB total=8388608KB)
+ NUMANode L#3 (P#3 local=8388608KB total=8388608KB)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 NUMANode (type #2)
+ depth 2: 4 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 2.000 2.000 2.000
+ 1 2.000 1.000 2.000 2.000
+ 2 2.000 2.000 1.000 2.000
+ 3 2.000 2.000 2.000 1.000
+12 processors not represented in topology: 0x0000fff0
+12 processors online but not allowed: 0x0000fff0
+Topology not from this system
--- /dev/null
+Machine (P#0 total=33554432KB DMIBoardVendor="TYAN Computer Corp" DMIBoardName="S4881 " DMIBoardVersion=S4881 DMIBoardAssetTag= Backend=Linux LinuxCgroup=/dummy)
+ NUMANode L#0 (P#0)
+ Package L#0 (P#0 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#0 (size=1024KB linesize=64 ways=16)
+ L1dCache L#0 (size=64KB linesize=64 ways=2)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=1024KB linesize=64 ways=16)
+ L1dCache L#1 (size=64KB linesize=64 ways=2)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ NUMANode L#1 (P#1 local=8388608KB total=8388608KB)
+ Package L#1 (P#1 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#2 (size=1024KB linesize=64 ways=16)
+ L1dCache L#2 (size=64KB linesize=64 ways=2)
+ L1iCache L#2 (size=64KB linesize=64 ways=2)
+ Core L#2 (P#0)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=1024KB linesize=64 ways=16)
+ L1dCache L#3 (size=64KB linesize=64 ways=2)
+ L1iCache L#3 (size=64KB linesize=64 ways=2)
+ Core L#3 (P#1)
+ PU L#3 (P#3)
+ NUMANode L#2 (P#2 local=8388608KB total=8388608KB)
+ Package L#2 (P#2 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#4 (size=1024KB linesize=64 ways=16)
+ L1dCache L#4 (size=64KB linesize=64 ways=2)
+ L1iCache L#4 (size=64KB linesize=64 ways=2)
+ Core L#4 (P#1)
+ PU L#4 (P#5)
+ NUMANode L#3 (P#3 local=8388608KB total=8388608KB)
+ Package L#3 (P#3 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#5 (size=1024KB linesize=64 ways=16)
+ L1dCache L#5 (size=64KB linesize=64 ways=2)
+ L1iCache L#5 (size=64KB linesize=64 ways=2)
+ Core L#5 (P#0)
+ PU L#5 (P#6)
+ NUMANode L#4 (P#4 local=8388608KB total=8388608KB)
+ NUMANode L#5 (P#5)
+ NUMANode L#6 (P#6)
+ Package L#4 (P#6 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#6 (size=1024KB linesize=64 ways=16)
+ L1dCache L#6 (size=64KB linesize=64 ways=2)
+ L1iCache L#6 (size=64KB linesize=64 ways=2)
+ Core L#6 (P#0)
+ PU L#6 (P#12)
+ L2Cache L#7 (size=1024KB linesize=64 ways=16)
+ L1dCache L#7 (size=64KB linesize=64 ways=2)
+ L1iCache L#7 (size=64KB linesize=64 ways=2)
+ Core L#7 (P#1)
+ PU L#7 (P#13)
+ NUMANode L#7 (P#7)
+ Package L#5 (P#7 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#8 (size=1024KB linesize=64 ways=16)
+ L1dCache L#8 (size=64KB linesize=64 ways=2)
+ L1iCache L#8 (size=64KB linesize=64 ways=2)
+ Core L#8 (P#0)
+ PU L#8 (P#14)
+ L2Cache L#9 (size=1024KB linesize=64 ways=16)
+ L1dCache L#9 (size=64KB linesize=64 ways=2)
+ L1iCache L#9 (size=64KB linesize=64 ways=2)
+ Core L#9 (P#1)
+ PU L#9 (P#15)
+depth 0: 1 Machine (type #1)
+ depth 1: 8 NUMANode (type #2)
+ depth 2: 6 Package (type #3)
+ depth 3: 10 L2Cache (type #4)
+ depth 4: 10 L1dCache (type #4)
+ depth 5: 10 L1iCache (type #4)
+ depth 6: 10 Core (type #5)
+ depth 7: 10 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000
+ 1 2.000 1.000 2.000 2.000 2.000 2.000 2.000 2.000
+ 2 2.000 2.000 1.000 2.000 2.000 2.000 2.000 2.000
+ 3 2.000 2.000 2.000 1.000 2.000 2.000 2.000 2.000
+ 4 2.000 2.000 2.000 2.000 1.000 2.000 2.000 2.000
+ 5 2.000 2.000 2.000 2.000 2.000 1.000 2.000 2.000
+ 6 2.000 2.000 2.000 2.000 2.000 2.000 1.000 2.000
+ 7 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.000
+6 processors not represented in topology: 0x00000f90
+1 processors offline: 0x00000010
+5 processors online but not allowed: 0x00000f80
+1 processors allowed but not online: 0x00000010
+Topology not from this system
--- /dev/null
+HWLOC_NUMANode_DISTANCES=0-7:2*2*2
+export HWLOC_NUMANode_DISTANCES
--- /dev/null
+-p -v --of xml --no-icaches
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000f06f" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffef" allowed_cpuset="0x0000f07f" nodeset="0x0000001e" complete_nodeset="0x000000ff" allowed_nodeset="0x0000001e">
+ <info name="DMIBoardVendor" value="TYAN Computer Corp"/>
+ <info name="DMIBoardName" value="S4881 "/>
+ <info name="DMIBoardVersion" value="S4881"/>
+ <info name="DMIBoardAssetTag" value=""/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/dummy"/>
+ <distances nbobjs="8" relative_depth="3" latency_base="1.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x0000006f" complete_cpuset="0x000000ff" online_cpuset="0x000000ef" allowed_cpuset="0x0000007f" nodeset="0x0000000e" complete_nodeset="0x0000000f" allowed_nodeset="0x0000000e" depth="1">
+ <object type="Group" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000002" complete_nodeset="0x00000003" allowed_nodeset="0x00000002" depth="0">
+ <object type="NUMANode" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="Package" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="8589934592">
+ <object type="Package" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x00000060" complete_cpuset="0x000000f0" online_cpuset="0x000000e0" allowed_cpuset="0x00000070" nodeset="0x0000000c" complete_nodeset="0x0000000c" allowed_nodeset="0x0000000c" depth="0">
+ <object type="NUMANode" os_index="2" cpuset="0x00000020" complete_cpuset="0x00000030" online_cpuset="0x00000020" allowed_cpuset="0x00000030" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="8589934592">
+ <object type="Package" os_index="2" cpuset="0x00000020" complete_cpuset="0x00000030" online_cpuset="0x00000020" allowed_cpuset="0x00000030" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0x00000040" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="8589934592">
+ <object type="Package" os_index="3" cpuset="0x00000040" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000f000" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000f000" nodeset="0x00000010" complete_nodeset="0x000000f0" allowed_nodeset="0x00000010" depth="1">
+ <object type="Group" cpuset="0x0" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000030" allowed_nodeset="0x00000010" depth="0">
+ <object type="NUMANode" os_index="4" cpuset="0x0" complete_cpuset="0x00000300" online_cpuset="0x00000300" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="8589934592"/>
+ <object type="NUMANode" os_index="5" cpuset="0x0" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x0" nodeset="0x0" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ <object type="Group" cpuset="0x0000f000" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x0000f000" nodeset="0x0" complete_nodeset="0x000000c0" allowed_nodeset="0x0" depth="0">
+ <object type="NUMANode" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="Package" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="Package" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+16amd64-8n2c-cpusets.tar.bz2
--- /dev/null
+- -v --whole-system
--- /dev/null
+Machine (P#0 total=67106960KB DMIBoardVendor="TYAN Computer Corp" DMIBoardName="S4881 " DMIBoardVersion=S4881 DMIBoardAssetTag= Backend=Linux LinuxCgroup=/dummy)
+ NUMANode L#0 (P#0 local=8386704KB total=8386704KB)
+ Package L#0 (P#0 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#0 (size=1024KB linesize=64 ways=16)
+ L1dCache L#0 (size=64KB linesize=64 ways=2)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=1024KB linesize=64 ways=16)
+ L1dCache L#1 (size=64KB linesize=64 ways=2)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ NUMANode L#1 (P#1 local=8388608KB total=8388608KB)
+ Package L#1 (P#1 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#2 (size=1024KB linesize=64 ways=16)
+ L1dCache L#2 (size=64KB linesize=64 ways=2)
+ L1iCache L#2 (size=64KB linesize=64 ways=2)
+ Core L#2 (P#0)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=1024KB linesize=64 ways=16)
+ L1dCache L#3 (size=64KB linesize=64 ways=2)
+ L1iCache L#3 (size=64KB linesize=64 ways=2)
+ Core L#3 (P#1)
+ PU L#3 (P#3)
+ NUMANode L#2 (P#2 local=8388608KB total=8388608KB)
+ Package L#2 (P#2 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#4 (size=1024KB linesize=64 ways=16)
+ L1dCache L#4 (size=64KB linesize=64 ways=2)
+ L1iCache L#4 (size=64KB linesize=64 ways=2)
+ Core L#4 (P#0)
+ PU L#4 (P#4) (offline)
+ L2Cache L#5 (size=1024KB linesize=64 ways=16)
+ L1dCache L#5 (size=64KB linesize=64 ways=2)
+ L1iCache L#5 (size=64KB linesize=64 ways=2)
+ Core L#5 (P#1)
+ PU L#5 (P#5)
+ NUMANode L#3 (P#3 local=8388608KB total=8388608KB)
+ Package L#3 (P#3 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#6 (size=1024KB linesize=64 ways=16)
+ L1dCache L#6 (size=64KB linesize=64 ways=2)
+ L1iCache L#6 (size=64KB linesize=64 ways=2)
+ Core L#6 (P#0)
+ PU L#6 (P#6)
+ L2Cache L#7 (size=1024KB linesize=64 ways=16)
+ L1dCache L#7 (size=64KB linesize=64 ways=2)
+ L1iCache L#7 (size=64KB linesize=64 ways=2)
+ Core L#7 (P#1)
+ PU L#7 (P#7) (forbidden)
+ NUMANode L#4 (P#4 local=8388608KB total=8388608KB)
+ Package L#4 (P#4 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#8 (size=1024KB linesize=64 ways=16)
+ L1dCache L#8 (size=64KB linesize=64 ways=2)
+ L1iCache L#8 (size=64KB linesize=64 ways=2)
+ Core L#8 (P#0)
+ PU L#8 (P#8) (forbidden)
+ L2Cache L#9 (size=1024KB linesize=64 ways=16)
+ L1dCache L#9 (size=64KB linesize=64 ways=2)
+ L1iCache L#9 (size=64KB linesize=64 ways=2)
+ Core L#9 (P#1)
+ PU L#9 (P#9) (forbidden)
+ NUMANode L#5 (P#5 local=8388608KB total=8388608KB)
+ Package L#5 (P#5 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#10 (size=1024KB linesize=64 ways=16)
+ L1dCache L#10 (size=64KB linesize=64 ways=2)
+ L1iCache L#10 (size=64KB linesize=64 ways=2)
+ Core L#10 (P#0)
+ PU L#10 (P#10) (forbidden)
+ L2Cache L#11 (size=1024KB linesize=64 ways=16)
+ L1dCache L#11 (size=64KB linesize=64 ways=2)
+ L1iCache L#11 (size=64KB linesize=64 ways=2)
+ Core L#11 (P#1)
+ PU L#11 (P#11) (forbidden)
+ NUMANode L#6 (P#6 local=8388608KB total=8388608KB)
+ Package L#6 (P#6 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#12 (size=1024KB linesize=64 ways=16)
+ L1dCache L#12 (size=64KB linesize=64 ways=2)
+ L1iCache L#12 (size=64KB linesize=64 ways=2)
+ Core L#12 (P#0)
+ PU L#12 (P#12)
+ L2Cache L#13 (size=1024KB linesize=64 ways=16)
+ L1dCache L#13 (size=64KB linesize=64 ways=2)
+ L1iCache L#13 (size=64KB linesize=64 ways=2)
+ Core L#13 (P#1)
+ PU L#13 (P#13)
+ NUMANode L#7 (P#7 local=8388608KB total=8388608KB)
+ Package L#7 (P#7 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#14 (size=1024KB linesize=64 ways=16)
+ L1dCache L#14 (size=64KB linesize=64 ways=2)
+ L1iCache L#14 (size=64KB linesize=64 ways=2)
+ Core L#14 (P#0)
+ PU L#14 (P#14)
+ L2Cache L#15 (size=1024KB linesize=64 ways=16)
+ L1dCache L#15 (size=64KB linesize=64 ways=2)
+ L1iCache L#15 (size=64KB linesize=64 ways=2)
+ Core L#15 (P#1)
+ PU L#15 (P#15)
+depth 0: 1 Machine (type #1)
+ depth 1: 8 NUMANode (type #2)
+ depth 2: 8 Package (type #3)
+ depth 3: 16 L2Cache (type #4)
+ depth 4: 16 L1dCache (type #4)
+ depth 5: 16 L1iCache (type #4)
+ depth 6: 16 Core (type #5)
+ depth 7: 16 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000
+ 1 2.000 1.000 2.000 2.000 2.000 2.000 2.000 2.000
+ 2 2.000 2.000 1.000 2.000 2.000 2.000 2.000 2.000
+ 3 2.000 2.000 2.000 1.000 2.000 2.000 2.000 2.000
+ 4 2.000 2.000 2.000 2.000 1.000 2.000 2.000 2.000
+ 5 2.000 2.000 2.000 2.000 2.000 1.000 2.000 2.000
+ 6 2.000 2.000 2.000 2.000 2.000 2.000 1.000 2.000
+ 7 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.000
+1 processors offline: 0x00000010
+5 processors online but not allowed: 0x00000f80
+1 processors allowed but not online: 0x00000010
+Topology not from this system
--- /dev/null
+16amd64-8n2c-cpusets.tar.bz2
--- /dev/null
+Machine (P#0 total=67106960KB DMIBoardVendor="TYAN Computer Corp" DMIBoardName="S4881 " DMIBoardVersion=S4881 DMIBoardAssetTag= Backend=Linux)
+ NUMANode L#0 (P#0 local=8386704KB total=8386704KB)
+ Package L#0 (P#0 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#0 (size=1024KB linesize=64 ways=16)
+ L1dCache L#0 (size=64KB linesize=64 ways=2)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=1024KB linesize=64 ways=16)
+ L1dCache L#1 (size=64KB linesize=64 ways=2)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ NUMANode L#1 (P#1 local=8388608KB total=8388608KB)
+ Package L#1 (P#1 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#2 (size=1024KB linesize=64 ways=16)
+ L1dCache L#2 (size=64KB linesize=64 ways=2)
+ L1iCache L#2 (size=64KB linesize=64 ways=2)
+ Core L#2 (P#0)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=1024KB linesize=64 ways=16)
+ L1dCache L#3 (size=64KB linesize=64 ways=2)
+ L1iCache L#3 (size=64KB linesize=64 ways=2)
+ Core L#3 (P#1)
+ PU L#3 (P#3)
+ NUMANode L#2 (P#2 local=8388608KB total=8388608KB)
+ Package L#2 (P#2 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#4 (size=1024KB linesize=64 ways=16)
+ L1dCache L#4 (size=64KB linesize=64 ways=2)
+ L1iCache L#4 (size=64KB linesize=64 ways=2)
+ Core L#4 (P#0)
+ PU L#4 (P#4)
+ L2Cache L#5 (size=1024KB linesize=64 ways=16)
+ L1dCache L#5 (size=64KB linesize=64 ways=2)
+ L1iCache L#5 (size=64KB linesize=64 ways=2)
+ Core L#5 (P#1)
+ PU L#5 (P#5)
+ NUMANode L#3 (P#3 local=8388608KB total=8388608KB)
+ Package L#3 (P#3 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#6 (size=1024KB linesize=64 ways=16)
+ L1dCache L#6 (size=64KB linesize=64 ways=2)
+ L1iCache L#6 (size=64KB linesize=64 ways=2)
+ Core L#6 (P#0)
+ PU L#6 (P#6)
+ L2Cache L#7 (size=1024KB linesize=64 ways=16)
+ L1dCache L#7 (size=64KB linesize=64 ways=2)
+ L1iCache L#7 (size=64KB linesize=64 ways=2)
+ Core L#7 (P#1)
+ PU L#7 (P#7)
+ NUMANode L#4 (P#4 local=8388608KB total=8388608KB)
+ Package L#4 (P#4 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#8 (size=1024KB linesize=64 ways=16)
+ L1dCache L#8 (size=64KB linesize=64 ways=2)
+ L1iCache L#8 (size=64KB linesize=64 ways=2)
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ L2Cache L#9 (size=1024KB linesize=64 ways=16)
+ L1dCache L#9 (size=64KB linesize=64 ways=2)
+ L1iCache L#9 (size=64KB linesize=64 ways=2)
+ Core L#9 (P#1)
+ PU L#9 (P#9)
+ NUMANode L#5 (P#5 local=8388608KB total=8388608KB)
+ Package L#5 (P#5 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#10 (size=1024KB linesize=64 ways=16)
+ L1dCache L#10 (size=64KB linesize=64 ways=2)
+ L1iCache L#10 (size=64KB linesize=64 ways=2)
+ Core L#10 (P#0)
+ PU L#10 (P#10)
+ L2Cache L#11 (size=1024KB linesize=64 ways=16)
+ L1dCache L#11 (size=64KB linesize=64 ways=2)
+ L1iCache L#11 (size=64KB linesize=64 ways=2)
+ Core L#11 (P#1)
+ PU L#11 (P#11)
+ NUMANode L#6 (P#6 local=8388608KB total=8388608KB)
+ Package L#6 (P#6 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#12 (size=1024KB linesize=64 ways=16)
+ L1dCache L#12 (size=64KB linesize=64 ways=2)
+ L1iCache L#12 (size=64KB linesize=64 ways=2)
+ Core L#12 (P#0)
+ PU L#12 (P#12)
+ L2Cache L#13 (size=1024KB linesize=64 ways=16)
+ L1dCache L#13 (size=64KB linesize=64 ways=2)
+ L1iCache L#13 (size=64KB linesize=64 ways=2)
+ Core L#13 (P#1)
+ PU L#13 (P#13)
+ NUMANode L#7 (P#7 local=8388608KB total=8388608KB)
+ Package L#7 (P#7 CPUModel="Dual Core AMD Opteron(tm) Processor 865")
+ L2Cache L#14 (size=1024KB linesize=64 ways=16)
+ L1dCache L#14 (size=64KB linesize=64 ways=2)
+ L1iCache L#14 (size=64KB linesize=64 ways=2)
+ Core L#14 (P#0)
+ PU L#14 (P#14)
+ L2Cache L#15 (size=1024KB linesize=64 ways=16)
+ L1dCache L#15 (size=64KB linesize=64 ways=2)
+ L1iCache L#15 (size=64KB linesize=64 ways=2)
+ Core L#15 (P#1)
+ PU L#15 (P#15)
+depth 0: 1 Machine (type #1)
+ depth 1: 8 NUMANode (type #2)
+ depth 2: 8 Package (type #3)
+ depth 3: 16 L2Cache (type #4)
+ depth 4: 16 L1dCache (type #4)
+ depth 5: 16 L1iCache (type #4)
+ depth 6: 16 Core (type #5)
+ depth 7: 16 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 2.000 2.000 2.000 2.000 2.000 2.000 2.000
+ 1 2.000 1.000 2.000 2.000 2.000 2.000 2.000 2.000
+ 2 2.000 2.000 1.000 2.000 2.000 2.000 2.000 2.000
+ 3 2.000 2.000 2.000 1.000 2.000 2.000 2.000 2.000
+ 4 2.000 2.000 2.000 2.000 1.000 2.000 2.000 2.000
+ 5 2.000 2.000 2.000 2.000 2.000 1.000 2.000 2.000
+ 6 2.000 2.000 2.000 2.000 2.000 2.000 1.000 2.000
+ 7 2.000 2.000 2.000 2.000 2.000 2.000 2.000 1.000
+Topology not from this system
--- /dev/null
+System (P#0 total=2032544KB Backend=Linux) "Kerrighed"
+ Machine L#0 (P#2 local=1016272KB total=1016272KB)
+ Package L#0 (P#1 CPUModel="Genuine Intel(R) CPU @ 0000 @ 2.93GHz")
+ Core L#0 (P#0)
+ PU L#0 (P#16)
+ PU L#1 (P#20)
+ Core L#1 (P#1)
+ PU L#2 (P#17)
+ PU L#3 (P#21)
+ Core L#2 (P#2)
+ PU L#4 (P#18)
+ PU L#5 (P#22)
+ Core L#3 (P#3)
+ PU L#6 (P#19)
+ PU L#7 (P#23)
+ Machine L#1 (P#3 local=1016272KB total=1016272KB)
+ Package L#1 (P#1 CPUModel="Genuine Intel(R) CPU @ 0000 @ 2.93GHz")
+ Core L#4 (P#0)
+ PU L#8 (P#24)
+ PU L#9 (P#28)
+ Core L#5 (P#1)
+ PU L#10 (P#25)
+ PU L#11 (P#29)
+ Core L#6 (P#2)
+ PU L#12 (P#26)
+ PU L#13 (P#30)
+ Core L#7 (P#3)
+ PU L#14 (P#27)
+ PU L#15 (P#31)
+depth 0: 1 System (type #0)
+ depth 1: 2 Machine (type #1)
+ depth 2: 2 Package (type #3)
+ depth 3: 8 Core (type #5)
+ depth 4: 16 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 Backend=Linux)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#0 (size=4096KB linesize=64 ways=16)
+ L2Cache L#0 (size=1024KB linesize=64 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#8)
+ L2Cache L#1 (size=1024KB linesize=64 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#2 (P#4)
+ PU L#3 (P#12)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#1 (size=4096KB linesize=64 ways=16)
+ L2Cache L#2 (size=1024KB linesize=64 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=8)
+ Core L#2 (P#0)
+ PU L#4 (P#1)
+ PU L#5 (P#9)
+ Package L#2 (P#3 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#2 (size=4096KB linesize=64 ways=16)
+ L2Cache L#3 (size=1024KB linesize=64 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=8)
+ Core L#3 (P#0)
+ PU L#6 (P#3)
+ PU L#7 (P#11)
+ L2Cache L#4 (size=1024KB linesize=64 ways=8)
+ L1dCache L#4 (size=16KB linesize=64 ways=8)
+ Core L#4 (P#1)
+ PU L#8 (P#7)
+ PU L#9 (P#15)
+ Package L#3 (P#2 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#3 (size=4096KB linesize=64 ways=16)
+ L2Cache L#5 (size=1024KB linesize=64 ways=8)
+ L1dCache L#5 (size=16KB linesize=64 ways=8)
+ Core L#5 (P#1)
+ PU L#10 (P#6)
+ L2Cache L#6 (size=1024KB linesize=64 ways=8)
+ L1dCache L#6 (size=16KB linesize=64 ways=8)
+ Core L#6 (P#0)
+ PU L#11 (P#10)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 4 L3Cache (type #4)
+ depth 3: 7 L2Cache (type #4)
+ depth 4: 7 L1dCache (type #4)
+ depth 5: 7 Core (type #5)
+ depth 6: 12 PU (type #6)
+4 processors not represented in topology: 0x00006024
+4 processors offline: 0x00006024
+4 processors allowed but not online: 0x00006024
+Topology not from this system
--- /dev/null
+-p -v --of xml --no-icaches
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x00009fdb" complete_cpuset="0x0000ffff" online_cpuset="0x00009fdb" allowed_cpuset="0x0000ffff">
+ <info name="Backend" value="Linux"/>
+ <object type="Package" os_index="0" cpuset="0x00001111" complete_cpuset="0x00001111" online_cpuset="0x00001111" allowed_cpuset="0x00001111">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00001111" complete_cpuset="0x00001111" online_cpuset="0x00001111" allowed_cpuset="0x00001111" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010"/>
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="1" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="3" cpuset="0x00008888" complete_cpuset="0x00008888" online_cpuset="0x00008888" allowed_cpuset="0x00008888">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00008888" complete_cpuset="0x00008888" online_cpuset="0x00008888" allowed_cpuset="0x00008888" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008"/>
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080"/>
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="2" cpuset="0x00000440" complete_cpuset="0x00000440" online_cpuset="0x00000440" allowed_cpuset="0x00000440">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00000440" complete_cpuset="0x00000440" online_cpuset="0x00000440" allowed_cpuset="0x00000440" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+16em64t-4s2c2t-offlines.tar.bz2
--- /dev/null
+- -v --whole-system --cpuset --no-icaches
--- /dev/null
+Machine (P#0 Backend=Linux) cpuset=0x00009fdb
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz") cpuset=0x00001111
+ L3Cache L#0 (size=4096KB linesize=64 ways=16) cpuset=0x00001111
+ L2Cache L#0 (size=1024KB linesize=64 ways=8) cpuset=0x00000101
+ L1dCache L#0 (size=16KB linesize=64 ways=8) cpuset=0x00000101
+ Core L#0 (P#0) cpuset=0x00000101
+ PU L#0 (P#0) cpuset=0x00000001
+ PU L#1 (P#8) cpuset=0x00000100
+ L2Cache L#1 (size=1024KB linesize=64 ways=8) cpuset=0x00001010
+ L1dCache L#1 (size=16KB linesize=64 ways=8) cpuset=0x00001010
+ Core L#1 (P#1) cpuset=0x00001010
+ PU L#2 (P#4) cpuset=0x00000010
+ PU L#3 (P#12) cpuset=0x00001000
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz") cpuset=0x00000202
+ L3Cache L#1 (size=4096KB linesize=64 ways=16) cpuset=0x00000202
+ L2Cache L#2 (size=1024KB linesize=64 ways=8) cpuset=0x00000202
+ L1dCache L#2 (size=16KB linesize=64 ways=8) cpuset=0x00000202
+ Core L#2 (P#0) cpuset=0x00000202
+ PU L#4 (P#1) cpuset=0x00000002
+ PU L#5 (P#9) cpuset=0x00000200
+ Package L#2 (P#3 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz") cpuset=0x00008888
+ L3Cache L#2 (size=4096KB linesize=64 ways=16) cpuset=0x00008888
+ L2Cache L#3 (size=1024KB linesize=64 ways=8) cpuset=0x00000808
+ L1dCache L#3 (size=16KB linesize=64 ways=8) cpuset=0x00000808
+ Core L#3 (P#0) cpuset=0x00000808
+ PU L#6 (P#3) cpuset=0x00000008
+ PU L#7 (P#11) cpuset=0x00000800
+ L2Cache L#4 (size=1024KB linesize=64 ways=8) cpuset=0x00008080
+ L1dCache L#4 (size=16KB linesize=64 ways=8) cpuset=0x00008080
+ Core L#4 (P#1) cpuset=0x00008080
+ PU L#8 (P#7) cpuset=0x00000080
+ PU L#9 (P#15) cpuset=0x00008000
+ Package L#3 (P#2 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz") cpuset=0x00000440
+ L3Cache L#3 (size=4096KB linesize=64 ways=16) cpuset=0x00000440
+ L2Cache L#5 (size=1024KB linesize=64 ways=8) cpuset=0x00000040
+ L1dCache L#5 (size=16KB linesize=64 ways=8) cpuset=0x00000040
+ Core L#5 (P#1) cpuset=0x00000040
+ PU L#10 (P#6) cpuset=0x00000040
+ L2Cache L#6 (size=1024KB linesize=64 ways=8) cpuset=0x00000400
+ L1dCache L#6 (size=16KB linesize=64 ways=8) cpuset=0x00000400
+ Core L#6 (P#0) cpuset=0x00000400
+ PU L#11 (P#10) cpuset=0x00000400
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 4 L3Cache (type #4)
+ depth 3: 7 L2Cache (type #4)
+ depth 4: 7 L1dCache (type #4)
+ depth 5: 7 Core (type #5)
+ depth 6: 12 PU (type #6)
+4 processors not represented in topology: 0x00006024
+4 processors offline: 0x00006024
+4 processors allowed but not online: 0x00006024
+Topology not from this system
--- /dev/null
+16em64t-4s2c2t-offlines.tar.bz2
--- /dev/null
+Machine (P#0 Backend=Linux)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#0 (size=4096KB linesize=64 ways=16)
+ L2Cache L#0 (size=1024KB linesize=64 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#8)
+ L2Cache L#1 (size=1024KB linesize=64 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#2 (P#4)
+ PU L#3 (P#12)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#1 (size=4096KB linesize=64 ways=16)
+ L2Cache L#2 (size=1024KB linesize=64 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=8)
+ Core L#2 (P#0)
+ PU L#4 (P#1)
+ PU L#5 (P#9)
+ L2Cache L#3 (size=1024KB linesize=64 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=8)
+ Core L#3 (P#1)
+ PU L#6 (P#5)
+ PU L#7 (P#13)
+ Package L#2 (P#2 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#2 (size=4096KB linesize=64 ways=16)
+ L2Cache L#4 (size=1024KB linesize=64 ways=8)
+ L1dCache L#4 (size=16KB linesize=64 ways=8)
+ Core L#4 (P#0)
+ PU L#8 (P#2)
+ PU L#9 (P#10)
+ L2Cache L#5 (size=1024KB linesize=64 ways=8)
+ L1dCache L#5 (size=16KB linesize=64 ways=8)
+ Core L#5 (P#1)
+ PU L#10 (P#6)
+ PU L#11 (P#14)
+ Package L#3 (P#3 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#3 (size=4096KB linesize=64 ways=16)
+ L2Cache L#6 (size=1024KB linesize=64 ways=8)
+ L1dCache L#6 (size=16KB linesize=64 ways=8)
+ Core L#6 (P#0)
+ PU L#12 (P#3)
+ PU L#13 (P#11)
+ L2Cache L#7 (size=1024KB linesize=64 ways=8)
+ L1dCache L#7 (size=16KB linesize=64 ways=8)
+ Core L#7 (P#1)
+ PU L#14 (P#7)
+ PU L#15 (P#15)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 4 L3Cache (type #4)
+ depth 3: 8 L2Cache (type #4)
+ depth 4: 8 L1dCache (type #4)
+ depth 5: 8 Core (type #5)
+ depth 6: 16 PU (type #6)
+Topology not from this system
--- /dev/null
+-v --of xml --no-icaches
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000ffff" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000ffff">
+ <info name="Backend" value="Linux"/>
+ <object type="Package" os_index="0" cpuset="0x00001111" complete_cpuset="0x00001111" online_cpuset="0x00001111" allowed_cpuset="0x00001111">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00001111" complete_cpuset="0x00001111" online_cpuset="0x00001111" allowed_cpuset="0x00001111" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010"/>
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="1" cpuset="0x00002222" complete_cpuset="0x00002222" online_cpuset="0x00002222" allowed_cpuset="0x00002222">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00002222" complete_cpuset="0x00002222" online_cpuset="0x00002222" allowed_cpuset="0x00002222" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002020" complete_cpuset="0x00002020" online_cpuset="0x00002020" allowed_cpuset="0x00002020" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002020" complete_cpuset="0x00002020" online_cpuset="0x00002020" allowed_cpuset="0x00002020" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00002020" complete_cpuset="0x00002020" online_cpuset="0x00002020" allowed_cpuset="0x00002020">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020"/>
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="2" cpuset="0x00004444" complete_cpuset="0x00004444" online_cpuset="0x00004444" allowed_cpuset="0x00004444">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00004444" complete_cpuset="0x00004444" online_cpuset="0x00004444" allowed_cpuset="0x00004444" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000404" complete_cpuset="0x00000404" online_cpuset="0x00000404" allowed_cpuset="0x00000404" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000404" complete_cpuset="0x00000404" online_cpuset="0x00000404" allowed_cpuset="0x00000404" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000404" complete_cpuset="0x00000404" online_cpuset="0x00000404" allowed_cpuset="0x00000404">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004"/>
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004040" complete_cpuset="0x00004040" online_cpuset="0x00004040" allowed_cpuset="0x00004040" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004040" complete_cpuset="0x00004040" online_cpuset="0x00004040" allowed_cpuset="0x00004040" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00004040" complete_cpuset="0x00004040" online_cpuset="0x00004040" allowed_cpuset="0x00004040">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040"/>
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="3" cpuset="0x00008888" complete_cpuset="0x00008888" online_cpuset="0x00008888" allowed_cpuset="0x00008888">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 2.60GHz"/>
+ <object type="Cache" cpuset="0x00008888" complete_cpuset="0x00008888" online_cpuset="0x00008888" allowed_cpuset="0x00008888" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008"/>
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080"/>
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+16em64t-4s2c2t.tar.bz2
--- /dev/null
+- -v --merge --no-icaches
--- /dev/null
+Machine (P#0 Backend=Linux)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#8)
+ Core L#1 (P#1)
+ PU L#2 (P#4)
+ PU L#3 (P#12)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#2 (P#0)
+ PU L#4 (P#1)
+ PU L#5 (P#9)
+ Core L#3 (P#1)
+ PU L#6 (P#5)
+ PU L#7 (P#13)
+ Package L#2 (P#2 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#4 (P#0)
+ PU L#8 (P#2)
+ PU L#9 (P#10)
+ Core L#5 (P#1)
+ PU L#10 (P#6)
+ PU L#11 (P#14)
+ Package L#3 (P#3 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#6 (P#0)
+ PU L#12 (P#3)
+ PU L#13 (P#11)
+ Core L#7 (P#1)
+ PU L#14 (P#7)
+ PU L#15 (P#15)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 8 Core (type #5)
+ depth 3: 16 PU (type #6)
+Topology not from this system
--- /dev/null
+16em64t-4s2c2t.tar.bz2
--- /dev/null
+- -v --no-caches
--- /dev/null
+Machine (P#0 Backend=Linux)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#8)
+ Core L#1 (P#1)
+ PU L#2 (P#4)
+ PU L#3 (P#12)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#2 (P#0)
+ PU L#4 (P#1)
+ PU L#5 (P#9)
+ Core L#3 (P#1)
+ PU L#6 (P#5)
+ PU L#7 (P#13)
+ Package L#2 (P#2 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#4 (P#0)
+ PU L#8 (P#2)
+ PU L#9 (P#10)
+ Core L#5 (P#1)
+ PU L#10 (P#6)
+ PU L#11 (P#14)
+ Package L#3 (P#3 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ Core L#6 (P#0)
+ PU L#12 (P#3)
+ PU L#13 (P#11)
+ Core L#7 (P#1)
+ PU L#14 (P#7)
+ PU L#15 (P#15)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 8 Core (type #5)
+ depth 3: 16 PU (type #6)
+Topology not from this system
--- /dev/null
+16em64t-4s2c2t.tar.bz2
--- /dev/null
+- -v --merge
--- /dev/null
+Machine (P#0 Backend=Linux LinuxCgroup=/prout)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ PU L#0 (P#4)
+ PU L#1 (P#8)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L2Cache L#0 (size=1024KB linesize=64 ways=8)
+ PU L#2 (P#5)
+ PU L#3 (P#13)
+ PU L#4 (P#9)
+ Package L#2 (P#2 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L2Cache L#1 (size=1024KB linesize=64 ways=8)
+ PU L#5 (P#2)
+ PU L#6 (P#10)
+ PU L#7 (P#6)
+ Package L#3 (P#3 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L2Cache L#2 (size=1024KB linesize=64 ways=8)
+ PU L#8 (P#3)
+ PU L#9 (P#11)
+ PU L#10 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 3 L2Cache (type #4)
+ depth 3: 11 PU (type #6)
+5 processors not represented in topology: 0x0000d003
+5 processors online but not allowed: 0x0000d003
+Topology not from this system
--- /dev/null
+16em64t-4s2ca2c-cpusetreorder.tar.bz2
--- /dev/null
+Machine (P#0 Backend=Linux LinuxCgroup=/prout)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#0 (size=4096KB linesize=64 ways=16)
+ L2Cache L#0 (size=1024KB linesize=64 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=8)
+ Core L#0 (P#2)
+ PU L#0 (P#8)
+ L2Cache L#1 (size=1024KB linesize=64 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#4)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#1 (size=4096KB linesize=64 ways=16)
+ L2Cache L#2 (size=1024KB linesize=64 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#9)
+ L2Cache L#3 (size=1024KB linesize=64 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=8)
+ Core L#3 (P#1)
+ PU L#3 (P#5)
+ L1dCache L#4 (size=16KB linesize=64 ways=8)
+ Core L#4 (P#3)
+ PU L#4 (P#13)
+ Package L#2 (P#2 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#2 (size=4096KB linesize=64 ways=16)
+ L2Cache L#4 (size=1024KB linesize=64 ways=8)
+ L1dCache L#5 (size=16KB linesize=64 ways=8)
+ Core L#5 (P#0)
+ PU L#5 (P#2)
+ L1dCache L#6 (size=16KB linesize=64 ways=8)
+ Core L#6 (P#2)
+ PU L#6 (P#10)
+ L2Cache L#5 (size=1024KB linesize=64 ways=8)
+ L1dCache L#7 (size=16KB linesize=64 ways=8)
+ Core L#7 (P#1)
+ PU L#7 (P#6)
+ Package L#3 (P#3 CPUModel="Intel(R) Xeon(TM) CPU 2.60GHz")
+ L3Cache L#3 (size=4096KB linesize=64 ways=16)
+ L2Cache L#6 (size=1024KB linesize=64 ways=8)
+ L1dCache L#8 (size=16KB linesize=64 ways=8)
+ Core L#8 (P#0)
+ PU L#8 (P#3)
+ L1dCache L#9 (size=16KB linesize=64 ways=8)
+ Core L#9 (P#2)
+ PU L#9 (P#11)
+ L2Cache L#7 (size=1024KB linesize=64 ways=8)
+ L1dCache L#10 (size=16KB linesize=64 ways=8)
+ Core L#10 (P#1)
+ PU L#10 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 4 L3Cache (type #4)
+ depth 3: 8 L2Cache (type #4)
+ depth 4: 11 L1dCache (type #4)
+ depth 5: 11 Core (type #5)
+ depth 6: 11 PU (type #6)
+5 processors not represented in topology: 0x0000d003
+5 processors online but not allowed: 0x0000d003
+Topology not from this system
--- /dev/null
+Machine (P#0 total=48346688KB Backend=Linux Architecture=ia64)
+ Group0 L#0 (total=24182720KB)
+ NUMANode L#0 (P#0 local=6045632KB total=6045632KB)
+ Package L#0 (P#0 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#0 (size=9216KB linesize=128 ways=18)
+ L2Cache L#0 (size=256KB linesize=128 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=4)
+ L1iCache L#0 (size=16KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ Package L#1 (P#0 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#1 (size=9216KB linesize=128 ways=18)
+ L2Cache L#1 (size=256KB linesize=128 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=4)
+ L1iCache L#1 (size=16KB linesize=64 ways=4)
+ Core L#1 (P#0)
+ PU L#1 (P#1)
+ NUMANode L#1 (P#1 local=6045696KB total=6045696KB)
+ Package L#2 (P#512 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#2 (size=9216KB linesize=128 ways=18)
+ L2Cache L#2 (size=256KB linesize=128 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=4)
+ L1iCache L#2 (size=16KB linesize=64 ways=4)
+ Core L#2 (P#0)
+ PU L#2 (P#2)
+ Package L#3 (P#512 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#3 (size=9216KB linesize=128 ways=18)
+ L2Cache L#3 (size=256KB linesize=128 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=4)
+ L1iCache L#3 (size=16KB linesize=64 ways=4)
+ Core L#3 (P#0)
+ PU L#3 (P#3)
+ NUMANode L#2 (P#2 local=6045696KB total=6045696KB)
+ Package L#4 (P#1024 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#4 (size=9216KB linesize=128 ways=18)
+ L2Cache L#4 (size=256KB linesize=128 ways=8)
+ L1dCache L#4 (size=16KB linesize=64 ways=4)
+ L1iCache L#4 (size=16KB linesize=64 ways=4)
+ Core L#4 (P#0)
+ PU L#4 (P#4)
+ Package L#5 (P#1024 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#5 (size=9216KB linesize=128 ways=18)
+ L2Cache L#5 (size=256KB linesize=128 ways=8)
+ L1dCache L#5 (size=16KB linesize=64 ways=4)
+ L1iCache L#5 (size=16KB linesize=64 ways=4)
+ Core L#5 (P#0)
+ PU L#5 (P#5)
+ NUMANode L#3 (P#3 local=6045696KB total=6045696KB)
+ Package L#6 (P#1536 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#6 (size=9216KB linesize=128 ways=18)
+ L2Cache L#6 (size=256KB linesize=128 ways=8)
+ L1dCache L#6 (size=16KB linesize=64 ways=4)
+ L1iCache L#6 (size=16KB linesize=64 ways=4)
+ Core L#6 (P#0)
+ PU L#6 (P#6)
+ Package L#7 (P#1536 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#7 (size=9216KB linesize=128 ways=18)
+ L2Cache L#7 (size=256KB linesize=128 ways=8)
+ L1dCache L#7 (size=16KB linesize=64 ways=4)
+ L1iCache L#7 (size=16KB linesize=64 ways=4)
+ Core L#7 (P#0)
+ PU L#7 (P#7)
+ Group0 L#1 (total=24163968KB)
+ NUMANode L#4 (P#4 local=6045696KB total=6045696KB)
+ Package L#8 (P#2048 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#8 (size=9216KB linesize=128 ways=18)
+ L2Cache L#8 (size=256KB linesize=128 ways=8)
+ L1dCache L#8 (size=16KB linesize=64 ways=4)
+ L1iCache L#8 (size=16KB linesize=64 ways=4)
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ Package L#9 (P#2048 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#9 (size=9216KB linesize=128 ways=18)
+ L2Cache L#9 (size=256KB linesize=128 ways=8)
+ L1dCache L#9 (size=16KB linesize=64 ways=4)
+ L1iCache L#9 (size=16KB linesize=64 ways=4)
+ Core L#9 (P#0)
+ PU L#9 (P#9)
+ NUMANode L#5 (P#5 local=6045632KB total=6045632KB)
+ Package L#10 (P#2560 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#10 (size=9216KB linesize=128 ways=18)
+ L2Cache L#10 (size=256KB linesize=128 ways=8)
+ L1dCache L#10 (size=16KB linesize=64 ways=4)
+ L1iCache L#10 (size=16KB linesize=64 ways=4)
+ Core L#10 (P#0)
+ PU L#10 (P#10)
+ Package L#11 (P#2560 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#11 (size=9216KB linesize=128 ways=18)
+ L2Cache L#11 (size=256KB linesize=128 ways=8)
+ L1dCache L#11 (size=16KB linesize=64 ways=4)
+ L1iCache L#11 (size=16KB linesize=64 ways=4)
+ Core L#11 (P#0)
+ PU L#11 (P#11)
+ NUMANode L#6 (P#6 local=6045696KB total=6045696KB)
+ Package L#12 (P#3072 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#12 (size=9216KB linesize=128 ways=18)
+ L2Cache L#12 (size=256KB linesize=128 ways=8)
+ L1dCache L#12 (size=16KB linesize=64 ways=4)
+ L1iCache L#12 (size=16KB linesize=64 ways=4)
+ Core L#12 (P#0)
+ PU L#12 (P#12)
+ Package L#13 (P#3072 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#13 (size=9216KB linesize=128 ways=18)
+ L2Cache L#13 (size=256KB linesize=128 ways=8)
+ L1dCache L#13 (size=16KB linesize=64 ways=4)
+ L1iCache L#13 (size=16KB linesize=64 ways=4)
+ Core L#13 (P#0)
+ PU L#13 (P#13)
+ NUMANode L#7 (P#7 local=6026944KB total=6026944KB)
+ Package L#14 (P#3584 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#14 (size=9216KB linesize=128 ways=18)
+ L2Cache L#14 (size=256KB linesize=128 ways=8)
+ L1dCache L#14 (size=16KB linesize=64 ways=4)
+ L1iCache L#14 (size=16KB linesize=64 ways=4)
+ Core L#14 (P#0)
+ PU L#14 (P#14)
+ Package L#15 (P#3584 CPUVendor=GenuineIntel CPUFamilyNumber=31 CPUModelNumber=2 CPUModel="Madison up to 9M cache")
+ L3Cache L#15 (size=9216KB linesize=128 ways=18)
+ L2Cache L#15 (size=256KB linesize=128 ways=8)
+ L1dCache L#15 (size=16KB linesize=64 ways=4)
+ L1iCache L#15 (size=16KB linesize=64 ways=4)
+ Core L#15 (P#0)
+ PU L#15 (P#15)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Group0 (type #7)
+ depth 2: 8 NUMANode (type #2)
+ depth 3: 16 Package (type #3)
+ depth 4: 16 L3Cache (type #4)
+ depth 5: 16 L2Cache (type #4)
+ depth 6: 16 L1dCache (type #4)
+ depth 7: 16 L1iCache (type #4)
+ depth 8: 16 Core (type #5)
+ depth 9: 16 PU (type #6)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 2.500 2.500 2.500 2.900 2.900 2.900 2.900
+ 1 2.500 1.000 2.500 2.500 2.900 2.900 2.900 2.900
+ 2 2.500 2.500 1.000 2.500 2.900 2.900 2.900 2.900
+ 3 2.500 2.500 2.500 1.000 2.900 2.900 2.900 2.900
+ 4 2.900 2.900 2.900 2.900 1.000 2.500 2.500 2.500
+ 5 2.900 2.900 2.900 2.900 2.500 1.000 2.500 2.500
+ 6 2.900 2.900 2.900 2.900 2.500 2.500 1.000 2.500
+ 7 2.900 2.900 2.900 2.900 2.500 2.500 2.500 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 local=8299024KB total=8299024KB CPUModel=EV68CB Backend=Linux)
+ PU L#0 (P#0)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 local=2053992KB total=2053992KB Backend=Linux)
+ Group0(Book) L#0 (P#4 Type=Book)
+ Package L#0
+ Core L#0 (P#1)
+ PU L#0 (P#0)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ Core L#2 (P#1)
+ PU L#2 (P#2)
+ Package L#1
+ Core L#3 (P#2)
+ PU L#3 (P#3)
+ Core L#4 (P#2)
+ PU L#4 (P#4)
+ Core L#5 (P#2)
+ PU L#5 (P#5)
+ Core L#6 (P#2)
+ PU L#6 (P#6)
+ Package L#2
+ Core L#7 (P#3)
+ PU L#7 (P#7)
+ Core L#8 (P#3)
+ PU L#8 (P#8)
+ Core L#9 (P#3)
+ PU L#9 (P#9)
+ Package L#3
+ Core L#10 (P#4)
+ PU L#10 (P#10)
+ Core L#11 (P#4)
+ PU L#11 (P#11)
+ Core L#12 (P#4)
+ PU L#12 (P#12)
+ Package L#4
+ Core L#13 (P#5)
+ PU L#13 (P#13)
+ Core L#14 (P#5)
+ PU L#14 (P#14)
+ Package L#5
+ Core L#15 (P#6)
+ PU L#15 (P#15)
+ Group0(Book) L#1 (P#3 Type=Book)
+ Package L#6
+ Core L#16 (P#1)
+ PU L#16 (P#16)
+ Package L#7
+ Core L#17 (P#2)
+ PU L#17 (P#17)
+ Core L#18 (P#2)
+ PU L#18 (P#18)
+ Core L#19 (P#2)
+ PU L#19 (P#19)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Group0 (type #7)
+ depth 2: 8 Package (type #3)
+ depth 3: 20 Core (type #5)
+ depth 4: 20 PU (type #6)
+Topology not from this system
--- /dev/null
+-v --of xml --whole-io
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x00ffffff" complete_cpuset="0x00ffffff" online_cpuset="0x00ffffff" allowed_cpuset="0x00ffffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <info name="DMIProductName" value="S5520SC"/>
+ <info name="DMIProductVersion" value="...................."/>
+ <info name="DMIBoardVendor" value="Intel Corporation"/>
+ <info name="DMIBoardName" value="S5520SC"/>
+ <info name="DMIBoardVersion" value="E30682-355"/>
+ <info name="DMIBoardAssetTag" value="...................."/>
+ <info name="DMIChassisVendor" value=".............................."/>
+ <info name="DMIChassisType" value="17"/>
+ <info name="DMIChassisVersion" value=".................."/>
+ <info name="DMIChassisAssetTag" value="...................."/>
+ <info name="DMIBIOSVendor" value="Intel Corp."/>
+ <info name="DMIBIOSVersion" value="S5500.86B.01.X2.0059.091520111722"/>
+ <info name="DMIBIOSDate" value="09/15/2011"/>
+ <info name="DMISysVendor" value="Intel Corporation"/>
+ <info name="Backend" value="Linux"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.100000"/>
+ <latency value="2.100000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00555555" complete_cpuset="0x00555555" online_cpuset="0x00555555" allowed_cpuset="0x00555555" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="12817362944">
+ <object type="Package" os_index="0" cpuset="0x00555555" complete_cpuset="0x00555555" online_cpuset="0x00555555" allowed_cpuset="0x00555555" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU X5680 @ 3.33GHz"/>
+ <object type="Cache" cpuset="0x00555555" complete_cpuset="0x00555555" online_cpuset="0x00555555" allowed_cpuset="0x00555555" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="12582912" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00001001" complete_cpuset="0x00001001" online_cpuset="0x00001001" allowed_cpuset="0x00001001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001001" complete_cpuset="0x00001001" online_cpuset="0x00001001" allowed_cpuset="0x00001001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001001" complete_cpuset="0x00001001" online_cpuset="0x00001001" allowed_cpuset="0x00001001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00001001" complete_cpuset="0x00001001" online_cpuset="0x00001001" allowed_cpuset="0x00001001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004004" complete_cpuset="0x00004004" online_cpuset="0x00004004" allowed_cpuset="0x00004004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004004" complete_cpuset="0x00004004" online_cpuset="0x00004004" allowed_cpuset="0x00004004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004004" complete_cpuset="0x00004004" online_cpuset="0x00004004" allowed_cpuset="0x00004004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00004004" complete_cpuset="0x00004004" online_cpuset="0x00004004" allowed_cpuset="0x00004004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00010010" complete_cpuset="0x00010010" online_cpuset="0x00010010" allowed_cpuset="0x00010010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010010" complete_cpuset="0x00010010" online_cpuset="0x00010010" allowed_cpuset="0x00010010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010010" complete_cpuset="0x00010010" online_cpuset="0x00010010" allowed_cpuset="0x00010010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00010010" complete_cpuset="0x00010010" online_cpuset="0x00010010" allowed_cpuset="0x00010010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040040" complete_cpuset="0x00040040" online_cpuset="0x00040040" allowed_cpuset="0x00040040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040040" complete_cpuset="0x00040040" online_cpuset="0x00040040" allowed_cpuset="0x00040040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040040" complete_cpuset="0x00040040" online_cpuset="0x00040040" allowed_cpuset="0x00040040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="8" cpuset="0x00040040" complete_cpuset="0x00040040" online_cpuset="0x00040040" allowed_cpuset="0x00040040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100100" complete_cpuset="0x00100100" online_cpuset="0x00100100" allowed_cpuset="0x00100100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100100" complete_cpuset="0x00100100" online_cpuset="0x00100100" allowed_cpuset="0x00100100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100100" complete_cpuset="0x00100100" online_cpuset="0x00100100" allowed_cpuset="0x00100100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="9" cpuset="0x00100100" complete_cpuset="0x00100100" online_cpuset="0x00100100" allowed_cpuset="0x00100100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400400" complete_cpuset="0x00400400" online_cpuset="0x00400400" allowed_cpuset="0x00400400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400400" complete_cpuset="0x00400400" online_cpuset="0x00400400" allowed_cpuset="0x00400400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400400" complete_cpuset="0x00400400" online_cpuset="0x00400400" allowed_cpuset="0x00400400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="10" cpuset="0x00400400" complete_cpuset="0x00400400" online_cpuset="0x00400400" allowed_cpuset="0x00400400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x00aaaaaa" complete_cpuset="0x00aaaaaa" online_cpuset="0x00aaaaaa" allowed_cpuset="0x00aaaaaa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="12884901888">
+ <object type="Package" os_index="1" cpuset="0x00aaaaaa" complete_cpuset="0x00aaaaaa" online_cpuset="0x00aaaaaa" allowed_cpuset="0x00aaaaaa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU X5680 @ 3.33GHz"/>
+ <object type="Cache" cpuset="0x00aaaaaa" complete_cpuset="0x00aaaaaa" online_cpuset="0x00aaaaaa" allowed_cpuset="0x00aaaaaa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="12582912" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00002002" complete_cpuset="0x00002002" online_cpuset="0x00002002" allowed_cpuset="0x00002002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002002" complete_cpuset="0x00002002" online_cpuset="0x00002002" allowed_cpuset="0x00002002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002002" complete_cpuset="0x00002002" online_cpuset="0x00002002" allowed_cpuset="0x00002002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00002002" complete_cpuset="0x00002002" online_cpuset="0x00002002" allowed_cpuset="0x00002002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020020" complete_cpuset="0x00020020" online_cpuset="0x00020020" allowed_cpuset="0x00020020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020020" complete_cpuset="0x00020020" online_cpuset="0x00020020" allowed_cpuset="0x00020020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020020" complete_cpuset="0x00020020" online_cpuset="0x00020020" allowed_cpuset="0x00020020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00020020" complete_cpuset="0x00020020" online_cpuset="0x00020020" allowed_cpuset="0x00020020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080080" complete_cpuset="0x00080080" online_cpuset="0x00080080" allowed_cpuset="0x00080080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080080" complete_cpuset="0x00080080" online_cpuset="0x00080080" allowed_cpuset="0x00080080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080080" complete_cpuset="0x00080080" online_cpuset="0x00080080" allowed_cpuset="0x00080080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="8" cpuset="0x00080080" complete_cpuset="0x00080080" online_cpuset="0x00080080" allowed_cpuset="0x00080080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200200" complete_cpuset="0x00200200" online_cpuset="0x00200200" allowed_cpuset="0x00200200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200200" complete_cpuset="0x00200200" online_cpuset="0x00200200" allowed_cpuset="0x00200200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200200" complete_cpuset="0x00200200" online_cpuset="0x00200200" allowed_cpuset="0x00200200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="9" cpuset="0x00200200" complete_cpuset="0x00200200" online_cpuset="0x00200200" allowed_cpuset="0x00200200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800800" complete_cpuset="0x00800800" online_cpuset="0x00800800" allowed_cpuset="0x00800800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800800" complete_cpuset="0x00800800" online_cpuset="0x00800800" allowed_cpuset="0x00800800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800800" complete_cpuset="0x00800800" online_cpuset="0x00800800" allowed_cpuset="0x00800800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="10" cpuset="0x00800800" complete_cpuset="0x00800800" online_cpuset="0x00800800" allowed_cpuset="0x00800800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-07]">
+ <object type="PCIDev" os_index="0" pci_busid="0000:00:00.0" pci_type="0600 [8086:3406] [8086:34e2] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="16" bridge_type="1-1" depth="1" bridge_pci="0000:[01-01]" pci_busid="0000:00:01.0" pci_type="0604 [8086:3408] [0000:0000] 22" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="4096" pci_busid="0000:01:00.0" pci_type="0200 [8086:10a7] [8086:34e2] 02" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="00:15:17:a3:83:d0"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="4097" pci_busid="0000:01:00.1" pci_type="0200 [8086:10a7] [8086:34e2] 02" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="00:15:17:a3:83:d1"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="48" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:03.0" pci_type="0604 [8086:340a] [0000:0000] 22" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="8192" pci_busid="0000:02:00.0" pci_type="0b40 [8086:225c] [8086:2500] 10" pci_link_speed="0.000000">
+ <object type="OSDev" name="mic0" osdev_type="5">
+ <info name="CoProcType" value="MIC"/>
+ <info name="MICFamily" value="Knights Corner"/>
+ <info name="MICSKU" value="ES2-P1750"/>
+ <info name="MICActiveCores" value="61"/>
+ <info name="MICMemorySize" value="8126464"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="112" bridge_type="1-1" depth="1" bridge_pci="0000:[03-03]" pci_busid="0000:00:07.0" pci_type="0604 [8086:340e] [0000:0000] 22" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="12288" pci_busid="0000:03:00.0" pci_type="0b40 [8086:225c] [8086:2500] 10" pci_link_speed="0.000000">
+ <object type="OSDev" name="mic1" osdev_type="5">
+ <info name="CoProcType" value="MIC"/>
+ <info name="MICFamily" value="Knights Corner"/>
+ <info name="MICSKU" value="ES2-P1750"/>
+ <info name="MICActiveCores" value="61"/>
+ <info name="MICMemorySize" value="8126464"/>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="256" pci_busid="0000:00:10.0" pci_type="0800 [8086:3425] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="257" pci_busid="0000:00:10.1" pci_type="0800 [8086:3426] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="272" pci_busid="0000:00:11.0" pci_type="0800 [8086:3427] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="273" pci_busid="0000:00:11.1" pci_type="0800 [8086:3428] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="304" pci_busid="0000:00:13.0" pci_type="0800 [8086:342d] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="320" pci_busid="0000:00:14.0" pci_type="0800 [8086:342e] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="321" pci_busid="0000:00:14.1" pci_type="0800 [8086:3422] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="322" pci_busid="0000:00:14.2" pci_type="0800 [8086:3423] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="323" pci_busid="0000:00:14.3" pci_type="0800 [8086:3438] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="336" pci_busid="0000:00:15.0" pci_type="0800 [8086:342f] [0086:00e2] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="352" pci_busid="0000:00:16.0" pci_type="0880 [8086:3430] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma0chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="353" pci_busid="0000:00:16.1" pci_type="0880 [8086:3431] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma1chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="354" pci_busid="0000:00:16.2" pci_type="0880 [8086:3432] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma2chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="355" pci_busid="0000:00:16.3" pci_type="0880 [8086:3433] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma3chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="356" pci_busid="0000:00:16.4" pci_type="0880 [8086:3429] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma4chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="357" pci_busid="0000:00:16.5" pci_type="0880 [8086:342a] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma5chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="358" pci_busid="0000:00:16.6" pci_type="0880 [8086:342b] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma6chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="359" pci_busid="0000:00:16.7" pci_type="0880 [8086:342c] [8086:34e2] 22" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma7chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="416" pci_busid="0000:00:1a.0" pci_type="0c03 [8086:3a37] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="417" pci_busid="0000:00:1a.1" pci_type="0c03 [8086:3a38] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="418" pci_busid="0000:00:1a.2" pci_type="0c03 [8086:3a39] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="423" pci_busid="0000:00:1a.7" pci_type="0c03 [8086:3a3c] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="432" pci_busid="0000:00:1b.0" pci_type="0403 [8086:3a3e] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="448" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:3a40] [0000:0000] 00" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="452" bridge_type="1-1" depth="1" bridge_pci="0000:[05-05]" pci_busid="0000:00:1c.4" pci_type="0604 [8086:3a48] [0000:0000] 00" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="20480" pci_busid="0000:05:00.0" pci_type="0300 [102b:0522] [8086:0101] 02" pci_link_speed="0.000000"/>
+ </object>
+ <object type="Bridge" os_index="453" bridge_type="1-1" depth="1" bridge_pci="0000:[06-06]" pci_busid="0000:00:1c.5" pci_type="0604 [8086:3a4a] [0000:0000] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="464" pci_busid="0000:00:1d.0" pci_type="0c03 [8086:3a34] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="465" pci_busid="0000:00:1d.1" pci_type="0c03 [8086:3a35] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="466" pci_busid="0000:00:1d.2" pci_type="0c03 [8086:3a36] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="471" pci_busid="0000:00:1d.7" pci_type="0c03 [8086:3a3a] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="480" bridge_type="1-1" depth="1" bridge_pci="0000:[07-07]" pci_busid="0000:00:1e.0" pci_type="0604 [8086:244e] [0000:0000] 90" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="28688" pci_busid="0000:07:01.0" pci_type="0c00 [104c:8023] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ </object>
+ <object type="PCIDev" os_index="496" pci_busid="0000:00:1f.0" pci_type="0601 [8086:3a16] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="498" pci_busid="0000:00:1f.2" pci_type="0101 [8086:3a20] [8086:34e2] 00" pci_link_speed="0.000000">
+ <object type="OSDev" name="sda" osdev_type="0">
+ <info name="LinuxDeviceID" value="8:0"/>
+ <info name="Type" value="Other"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="499" pci_busid="0000:00:1f.3" pci_type="0c05 [8086:3a30] [8086:34e2] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="501" pci_busid="0000:00:1f.5" pci_type="0101 [8086:3a26] [8086:34e2] 00" pci_link_speed="0.000000">
+ <object type="OSDev" name="sr0" osdev_type="0">
+ <info name="LinuxDeviceID" value="11:0"/>
+ <info name="Type" value="Other"/>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+Machine (P#0 total=516912176KB Backend=Linux)
+ Group1 L#0 (total=129224048KB)
+ Group0 L#0 (total=32296336KB)
+ NUMANode L#0 (P#0 local=8064400KB total=8064400KB)
+ Package L#0 (P#0)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ Package L#1 (P#3)
+ Core L#2 (P#0)
+ PU L#2 (P#2)
+ Core L#3 (P#1)
+ PU L#3 (P#3)
+ NUMANode L#1 (P#1 local=8077312KB total=8077312KB)
+ Package L#2 (P#512)
+ Core L#4 (P#0)
+ PU L#4 (P#4)
+ Core L#5 (P#1)
+ PU L#5 (P#5)
+ Package L#3 (P#515)
+ Core L#6 (P#0)
+ PU L#6 (P#6)
+ Core L#7 (P#1)
+ PU L#7 (P#7)
+ NUMANode L#2 (P#2 local=8077312KB total=8077312KB)
+ Package L#4 (P#1024)
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ Core L#9 (P#1)
+ PU L#9 (P#9)
+ Package L#5 (P#1027)
+ Core L#10 (P#0)
+ PU L#10 (P#10)
+ Core L#11 (P#1)
+ PU L#11 (P#11)
+ NUMANode L#3 (P#3 local=8077312KB total=8077312KB)
+ Package L#6 (P#1536)
+ Core L#12 (P#0)
+ PU L#12 (P#12)
+ Core L#13 (P#1)
+ PU L#13 (P#13)
+ Package L#7 (P#1539)
+ Core L#14 (P#0)
+ PU L#14 (P#14)
+ Core L#15 (P#1)
+ PU L#15 (P#15)
+ Group0 L#1 (total=32309232KB)
+ NUMANode L#4 (P#4 local=8077312KB total=8077312KB)
+ Package L#8 (P#2048)
+ Core L#16 (P#0)
+ PU L#16 (P#16)
+ Core L#17 (P#1)
+ PU L#17 (P#17)
+ Package L#9 (P#2051)
+ Core L#18 (P#0)
+ PU L#18 (P#18)
+ Core L#19 (P#1)
+ PU L#19 (P#19)
+ NUMANode L#5 (P#5 local=8077312KB total=8077312KB)
+ Package L#10 (P#2560)
+ Core L#20 (P#0)
+ PU L#20 (P#20)
+ Core L#21 (P#1)
+ PU L#21 (P#21)
+ Package L#11 (P#2563)
+ Core L#22 (P#0)
+ PU L#22 (P#22)
+ Core L#23 (P#1)
+ PU L#23 (P#23)
+ NUMANode L#6 (P#6 local=8077296KB total=8077296KB)
+ Package L#12 (P#3072)
+ Core L#24 (P#0)
+ PU L#24 (P#24)
+ Core L#25 (P#1)
+ PU L#25 (P#25)
+ Package L#13 (P#3075)
+ Core L#26 (P#0)
+ PU L#26 (P#26)
+ Core L#27 (P#1)
+ PU L#27 (P#27)
+ NUMANode L#7 (P#7 local=8077312KB total=8077312KB)
+ Package L#14 (P#3584)
+ Core L#28 (P#0)
+ PU L#28 (P#28)
+ Core L#29 (P#1)
+ PU L#29 (P#29)
+ Package L#15 (P#3587)
+ Core L#30 (P#0)
+ PU L#30 (P#30)
+ Core L#31 (P#1)
+ PU L#31 (P#31)
+ Group0 L#2 (total=32309248KB)
+ NUMANode L#8 (P#8 local=8077312KB total=8077312KB)
+ Package L#16 (P#4096)
+ Core L#32 (P#0)
+ PU L#32 (P#32)
+ Core L#33 (P#1)
+ PU L#33 (P#33)
+ Package L#17 (P#4099)
+ Core L#34 (P#0)
+ PU L#34 (P#34)
+ Core L#35 (P#1)
+ PU L#35 (P#35)
+ NUMANode L#9 (P#9 local=8077312KB total=8077312KB)
+ Package L#18 (P#4608)
+ Core L#36 (P#0)
+ PU L#36 (P#36)
+ Core L#37 (P#1)
+ PU L#37 (P#37)
+ Package L#19 (P#4611)
+ Core L#38 (P#0)
+ PU L#38 (P#38)
+ Core L#39 (P#1)
+ PU L#39 (P#39)
+ NUMANode L#10 (P#10 local=8077312KB total=8077312KB)
+ Package L#20 (P#5120)
+ Core L#40 (P#0)
+ PU L#40 (P#40)
+ Core L#41 (P#1)
+ PU L#41 (P#41)
+ Package L#21 (P#5123)
+ Core L#42 (P#0)
+ PU L#42 (P#42)
+ Core L#43 (P#1)
+ PU L#43 (P#43)
+ NUMANode L#11 (P#11 local=8077312KB total=8077312KB)
+ Package L#22 (P#5632)
+ Core L#44 (P#0)
+ PU L#44 (P#44)
+ Core L#45 (P#1)
+ PU L#45 (P#45)
+ Package L#23 (P#5635)
+ Core L#46 (P#0)
+ PU L#46 (P#46)
+ Core L#47 (P#1)
+ PU L#47 (P#47)
+ Group0 L#3 (total=32309232KB)
+ NUMANode L#12 (P#12 local=8077312KB total=8077312KB)
+ Package L#24 (P#6144)
+ Core L#48 (P#0)
+ PU L#48 (P#48)
+ Core L#49 (P#1)
+ PU L#49 (P#49)
+ Package L#25 (P#6147)
+ Core L#50 (P#0)
+ PU L#50 (P#50)
+ Core L#51 (P#1)
+ PU L#51 (P#51)
+ NUMANode L#13 (P#13 local=8077312KB total=8077312KB)
+ Package L#26 (P#6656)
+ Core L#52 (P#0)
+ PU L#52 (P#52)
+ Core L#53 (P#1)
+ PU L#53 (P#53)
+ Package L#27 (P#6659)
+ Core L#54 (P#0)
+ PU L#54 (P#54)
+ Core L#55 (P#1)
+ PU L#55 (P#55)
+ NUMANode L#14 (P#14 local=8077296KB total=8077296KB)
+ Package L#28 (P#7168)
+ Core L#56 (P#0)
+ PU L#56 (P#56)
+ Core L#57 (P#1)
+ PU L#57 (P#57)
+ Package L#29 (P#7171)
+ Core L#58 (P#0)
+ PU L#58 (P#58)
+ Core L#59 (P#1)
+ PU L#59 (P#59)
+ NUMANode L#15 (P#15 local=8077312KB total=8077312KB)
+ Package L#30 (P#7680)
+ Core L#60 (P#0)
+ PU L#60 (P#60)
+ Core L#61 (P#1)
+ PU L#61 (P#61)
+ Package L#31 (P#7683)
+ Core L#62 (P#0)
+ PU L#62 (P#62)
+ Core L#63 (P#1)
+ PU L#63 (P#63)
+ Group1 L#1 (total=129236960KB)
+ Group0 L#4 (total=32309248KB)
+ NUMANode L#16 (P#16 local=8077312KB total=8077312KB)
+ Package L#32 (P#8192)
+ Core L#64 (P#0)
+ PU L#64 (P#64)
+ Core L#65 (P#1)
+ PU L#65 (P#65)
+ Package L#33 (P#8195)
+ Core L#66 (P#0)
+ PU L#66 (P#66)
+ Core L#67 (P#1)
+ PU L#67 (P#67)
+ NUMANode L#17 (P#17 local=8077312KB total=8077312KB)
+ Package L#34 (P#8704)
+ Core L#68 (P#0)
+ PU L#68 (P#68)
+ Core L#69 (P#1)
+ PU L#69 (P#69)
+ Package L#35 (P#8707)
+ Core L#70 (P#0)
+ PU L#70 (P#70)
+ Core L#71 (P#1)
+ PU L#71 (P#71)
+ NUMANode L#18 (P#18 local=8077312KB total=8077312KB)
+ Package L#36 (P#9216)
+ Core L#72 (P#0)
+ PU L#72 (P#72)
+ Core L#73 (P#1)
+ PU L#73 (P#73)
+ Package L#37 (P#9219)
+ Core L#74 (P#0)
+ PU L#74 (P#74)
+ Core L#75 (P#1)
+ PU L#75 (P#75)
+ NUMANode L#19 (P#19 local=8077312KB total=8077312KB)
+ Package L#38 (P#9728)
+ Core L#76 (P#0)
+ PU L#76 (P#76)
+ Core L#77 (P#1)
+ PU L#77 (P#77)
+ Package L#39 (P#9731)
+ Core L#78 (P#0)
+ PU L#78 (P#78)
+ Core L#79 (P#1)
+ PU L#79 (P#79)
+ Group0 L#5 (total=32309232KB)
+ NUMANode L#20 (P#20 local=8077312KB total=8077312KB)
+ Package L#40 (P#10240)
+ Core L#80 (P#0)
+ PU L#80 (P#80)
+ Core L#81 (P#1)
+ PU L#81 (P#81)
+ Package L#41 (P#10243)
+ Core L#82 (P#0)
+ PU L#82 (P#82)
+ Core L#83 (P#1)
+ PU L#83 (P#83)
+ NUMANode L#21 (P#21 local=8077312KB total=8077312KB)
+ Package L#42 (P#10752)
+ Core L#84 (P#0)
+ PU L#84 (P#84)
+ Core L#85 (P#1)
+ PU L#85 (P#85)
+ Package L#43 (P#10755)
+ Core L#86 (P#0)
+ PU L#86 (P#86)
+ Core L#87 (P#1)
+ PU L#87 (P#87)
+ NUMANode L#22 (P#22 local=8077296KB total=8077296KB)
+ Package L#44 (P#11264)
+ Core L#88 (P#0)
+ PU L#88 (P#88)
+ Core L#89 (P#1)
+ PU L#89 (P#89)
+ Package L#45 (P#11267)
+ Core L#90 (P#0)
+ PU L#90 (P#90)
+ Core L#91 (P#1)
+ PU L#91 (P#91)
+ NUMANode L#23 (P#23 local=8077312KB total=8077312KB)
+ Package L#46 (P#11776)
+ Core L#92 (P#0)
+ PU L#92 (P#92)
+ Core L#93 (P#1)
+ PU L#93 (P#93)
+ Package L#47 (P#11779)
+ Core L#94 (P#0)
+ PU L#94 (P#94)
+ Core L#95 (P#1)
+ PU L#95 (P#95)
+ Group0 L#6 (total=32309248KB)
+ NUMANode L#24 (P#24 local=8077312KB total=8077312KB)
+ Package L#48 (P#12288)
+ Core L#96 (P#0)
+ PU L#96 (P#96)
+ Core L#97 (P#1)
+ PU L#97 (P#97)
+ Package L#49 (P#12291)
+ Core L#98 (P#0)
+ PU L#98 (P#98)
+ Core L#99 (P#1)
+ PU L#99 (P#99)
+ NUMANode L#25 (P#25 local=8077312KB total=8077312KB)
+ Package L#50 (P#12800)
+ Core L#100 (P#0)
+ PU L#100 (P#100)
+ Core L#101 (P#1)
+ PU L#101 (P#101)
+ Package L#51 (P#12803)
+ Core L#102 (P#0)
+ PU L#102 (P#102)
+ Core L#103 (P#1)
+ PU L#103 (P#103)
+ NUMANode L#26 (P#26 local=8077312KB total=8077312KB)
+ Package L#52 (P#13312)
+ Core L#104 (P#0)
+ PU L#104 (P#104)
+ Core L#105 (P#1)
+ PU L#105 (P#105)
+ Package L#53 (P#13315)
+ Core L#106 (P#0)
+ PU L#106 (P#106)
+ Core L#107 (P#1)
+ PU L#107 (P#107)
+ NUMANode L#27 (P#27 local=8077312KB total=8077312KB)
+ Package L#54 (P#13824)
+ Core L#108 (P#0)
+ PU L#108 (P#108)
+ Core L#109 (P#1)
+ PU L#109 (P#109)
+ Package L#55 (P#13827)
+ Core L#110 (P#0)
+ PU L#110 (P#110)
+ Core L#111 (P#1)
+ PU L#111 (P#111)
+ Group0 L#7 (total=32309232KB)
+ NUMANode L#28 (P#28 local=8077312KB total=8077312KB)
+ Package L#56 (P#14336)
+ Core L#112 (P#0)
+ PU L#112 (P#112)
+ Core L#113 (P#1)
+ PU L#113 (P#113)
+ Package L#57 (P#14339)
+ Core L#114 (P#0)
+ PU L#114 (P#114)
+ Core L#115 (P#1)
+ PU L#115 (P#115)
+ NUMANode L#29 (P#29 local=8077296KB total=8077296KB)
+ Package L#58 (P#14848)
+ Core L#116 (P#0)
+ PU L#116 (P#116)
+ Core L#117 (P#1)
+ PU L#117 (P#117)
+ Package L#59 (P#14851)
+ Core L#118 (P#0)
+ PU L#118 (P#118)
+ Core L#119 (P#1)
+ PU L#119 (P#119)
+ NUMANode L#30 (P#30 local=8077312KB total=8077312KB)
+ Package L#60 (P#15360)
+ Core L#120 (P#0)
+ PU L#120 (P#120)
+ Core L#121 (P#1)
+ PU L#121 (P#121)
+ Package L#61 (P#15363)
+ Core L#122 (P#0)
+ PU L#122 (P#122)
+ Core L#123 (P#1)
+ PU L#123 (P#123)
+ NUMANode L#31 (P#31 local=8077312KB total=8077312KB)
+ Package L#62 (P#15872)
+ Core L#124 (P#0)
+ PU L#124 (P#124)
+ Core L#125 (P#1)
+ PU L#125 (P#125)
+ Package L#63 (P#15875)
+ Core L#126 (P#0)
+ PU L#126 (P#126)
+ Core L#127 (P#1)
+ PU L#127 (P#127)
+ Group1 L#2 (total=129236960KB)
+ Group0 L#8 (total=32309248KB)
+ NUMANode L#32 (P#32 local=8077312KB total=8077312KB)
+ Package L#64 (P#16384)
+ Core L#128 (P#0)
+ PU L#128 (P#128)
+ Core L#129 (P#1)
+ PU L#129 (P#129)
+ Package L#65 (P#16387)
+ Core L#130 (P#0)
+ PU L#130 (P#130)
+ Core L#131 (P#1)
+ PU L#131 (P#131)
+ NUMANode L#33 (P#33 local=8077312KB total=8077312KB)
+ Package L#66 (P#16896)
+ Core L#132 (P#0)
+ PU L#132 (P#132)
+ Core L#133 (P#1)
+ PU L#133 (P#133)
+ Package L#67 (P#16899)
+ Core L#134 (P#0)
+ PU L#134 (P#134)
+ Core L#135 (P#1)
+ PU L#135 (P#135)
+ NUMANode L#34 (P#34 local=8077312KB total=8077312KB)
+ Package L#68 (P#17408)
+ Core L#136 (P#0)
+ PU L#136 (P#136)
+ Core L#137 (P#1)
+ PU L#137 (P#137)
+ Package L#69 (P#17411)
+ Core L#138 (P#0)
+ PU L#138 (P#138)
+ Core L#139 (P#1)
+ PU L#139 (P#139)
+ NUMANode L#35 (P#35 local=8077312KB total=8077312KB)
+ Package L#70 (P#17920)
+ Core L#140 (P#0)
+ PU L#140 (P#140)
+ Core L#141 (P#1)
+ PU L#141 (P#141)
+ Package L#71 (P#17923)
+ Core L#142 (P#0)
+ PU L#142 (P#142)
+ Core L#143 (P#1)
+ PU L#143 (P#143)
+ Group0 L#9 (total=32309232KB)
+ NUMANode L#36 (P#36 local=8077312KB total=8077312KB)
+ Package L#72 (P#18432)
+ Core L#144 (P#0)
+ PU L#144 (P#144)
+ Core L#145 (P#1)
+ PU L#145 (P#145)
+ Package L#73 (P#18435)
+ Core L#146 (P#0)
+ PU L#146 (P#146)
+ Core L#147 (P#1)
+ PU L#147 (P#147)
+ NUMANode L#37 (P#37 local=8077296KB total=8077296KB)
+ Package L#74 (P#18944)
+ Core L#148 (P#0)
+ PU L#148 (P#148)
+ Core L#149 (P#1)
+ PU L#149 (P#149)
+ Package L#75 (P#18947)
+ Core L#150 (P#0)
+ PU L#150 (P#150)
+ Core L#151 (P#1)
+ PU L#151 (P#151)
+ NUMANode L#38 (P#38 local=8077312KB total=8077312KB)
+ Package L#76 (P#19456)
+ Core L#152 (P#0)
+ PU L#152 (P#152)
+ Core L#153 (P#1)
+ PU L#153 (P#153)
+ Package L#77 (P#19459)
+ Core L#154 (P#0)
+ PU L#154 (P#154)
+ Core L#155 (P#1)
+ PU L#155 (P#155)
+ NUMANode L#39 (P#39 local=8077312KB total=8077312KB)
+ Package L#78 (P#19968)
+ Core L#156 (P#0)
+ PU L#156 (P#156)
+ Core L#157 (P#1)
+ PU L#157 (P#157)
+ Package L#79 (P#19971)
+ Core L#158 (P#0)
+ PU L#158 (P#158)
+ Core L#159 (P#1)
+ PU L#159 (P#159)
+ Group0 L#10 (total=32309248KB)
+ NUMANode L#40 (P#40 local=8077312KB total=8077312KB)
+ Package L#80 (P#20480)
+ Core L#160 (P#0)
+ PU L#160 (P#160)
+ Core L#161 (P#1)
+ PU L#161 (P#161)
+ Package L#81 (P#20483)
+ Core L#162 (P#0)
+ PU L#162 (P#162)
+ Core L#163 (P#1)
+ PU L#163 (P#163)
+ NUMANode L#41 (P#41 local=8077312KB total=8077312KB)
+ Package L#82 (P#20992)
+ Core L#164 (P#0)
+ PU L#164 (P#164)
+ Core L#165 (P#1)
+ PU L#165 (P#165)
+ Package L#83 (P#20995)
+ Core L#166 (P#0)
+ PU L#166 (P#166)
+ Core L#167 (P#1)
+ PU L#167 (P#167)
+ NUMANode L#42 (P#42 local=8077312KB total=8077312KB)
+ Package L#84 (P#21504)
+ Core L#168 (P#0)
+ PU L#168 (P#168)
+ Core L#169 (P#1)
+ PU L#169 (P#169)
+ Package L#85 (P#21507)
+ Core L#170 (P#0)
+ PU L#170 (P#170)
+ Core L#171 (P#1)
+ PU L#171 (P#171)
+ NUMANode L#43 (P#43 local=8077312KB total=8077312KB)
+ Package L#86 (P#22016)
+ Core L#172 (P#0)
+ PU L#172 (P#172)
+ Core L#173 (P#1)
+ PU L#173 (P#173)
+ Package L#87 (P#22019)
+ Core L#174 (P#0)
+ PU L#174 (P#174)
+ Core L#175 (P#1)
+ PU L#175 (P#175)
+ Group0 L#11 (total=32309232KB)
+ NUMANode L#44 (P#44 local=8077312KB total=8077312KB)
+ Package L#88 (P#22528)
+ Core L#176 (P#0)
+ PU L#176 (P#176)
+ Core L#177 (P#1)
+ PU L#177 (P#177)
+ Package L#89 (P#22531)
+ Core L#178 (P#0)
+ PU L#178 (P#178)
+ Core L#179 (P#1)
+ PU L#179 (P#179)
+ NUMANode L#45 (P#45 local=8077296KB total=8077296KB)
+ Package L#90 (P#23040)
+ Core L#180 (P#0)
+ PU L#180 (P#180)
+ Core L#181 (P#1)
+ PU L#181 (P#181)
+ Package L#91 (P#23043)
+ Core L#182 (P#0)
+ PU L#182 (P#182)
+ Core L#183 (P#1)
+ PU L#183 (P#183)
+ NUMANode L#46 (P#46 local=8077312KB total=8077312KB)
+ Package L#92 (P#23552)
+ Core L#184 (P#0)
+ PU L#184 (P#184)
+ Core L#185 (P#1)
+ PU L#185 (P#185)
+ Package L#93 (P#23555)
+ Core L#186 (P#0)
+ PU L#186 (P#186)
+ Core L#187 (P#1)
+ PU L#187 (P#187)
+ NUMANode L#47 (P#47 local=8077312KB total=8077312KB)
+ Package L#94 (P#24064)
+ Core L#188 (P#0)
+ PU L#188 (P#188)
+ Core L#189 (P#1)
+ PU L#189 (P#189)
+ Package L#95 (P#24067)
+ Core L#190 (P#0)
+ PU L#190 (P#190)
+ Core L#191 (P#1)
+ PU L#191 (P#191)
+ Group1 L#3 (total=129214208KB)
+ Group0 L#12 (total=32309248KB)
+ NUMANode L#48 (P#48 local=8077312KB total=8077312KB)
+ Package L#96 (P#24576)
+ Core L#192 (P#0)
+ PU L#192 (P#192)
+ Core L#193 (P#1)
+ PU L#193 (P#193)
+ Package L#97 (P#24579)
+ Core L#194 (P#0)
+ PU L#194 (P#194)
+ Core L#195 (P#1)
+ PU L#195 (P#195)
+ NUMANode L#49 (P#49 local=8077312KB total=8077312KB)
+ Package L#98 (P#25088)
+ Core L#196 (P#0)
+ PU L#196 (P#196)
+ Core L#197 (P#1)
+ PU L#197 (P#197)
+ Package L#99 (P#25091)
+ Core L#198 (P#0)
+ PU L#198 (P#198)
+ Core L#199 (P#1)
+ PU L#199 (P#199)
+ NUMANode L#50 (P#50 local=8077312KB total=8077312KB)
+ Package L#100 (P#25600)
+ Core L#200 (P#0)
+ PU L#200 (P#200)
+ Core L#201 (P#1)
+ PU L#201 (P#201)
+ Package L#101 (P#25603)
+ Core L#202 (P#0)
+ PU L#202 (P#202)
+ Core L#203 (P#1)
+ PU L#203 (P#203)
+ NUMANode L#51 (P#51 local=8077312KB total=8077312KB)
+ Package L#102 (P#26112)
+ Core L#204 (P#0)
+ PU L#204 (P#204)
+ Core L#205 (P#1)
+ PU L#205 (P#205)
+ Package L#103 (P#26115)
+ Core L#206 (P#0)
+ PU L#206 (P#206)
+ Core L#207 (P#1)
+ PU L#207 (P#207)
+ Group0 L#13 (total=32309232KB)
+ NUMANode L#52 (P#52 local=8077312KB total=8077312KB)
+ Package L#104 (P#26624)
+ Core L#208 (P#0)
+ PU L#208 (P#208)
+ Core L#209 (P#1)
+ PU L#209 (P#209)
+ Package L#105 (P#26627)
+ Core L#210 (P#0)
+ PU L#210 (P#210)
+ Core L#211 (P#1)
+ PU L#211 (P#211)
+ NUMANode L#53 (P#53 local=8077296KB total=8077296KB)
+ Package L#106 (P#27136)
+ Core L#212 (P#0)
+ PU L#212 (P#212)
+ Core L#213 (P#1)
+ PU L#213 (P#213)
+ Package L#107 (P#27139)
+ Core L#214 (P#0)
+ PU L#214 (P#214)
+ Core L#215 (P#1)
+ PU L#215 (P#215)
+ NUMANode L#54 (P#54 local=8077312KB total=8077312KB)
+ Package L#108 (P#27648)
+ Core L#216 (P#0)
+ PU L#216 (P#216)
+ Core L#217 (P#1)
+ PU L#217 (P#217)
+ Package L#109 (P#27651)
+ Core L#218 (P#0)
+ PU L#218 (P#218)
+ Core L#219 (P#1)
+ PU L#219 (P#219)
+ NUMANode L#55 (P#55 local=8077312KB total=8077312KB)
+ Package L#110 (P#28160)
+ Core L#220 (P#0)
+ PU L#220 (P#220)
+ Core L#221 (P#1)
+ PU L#221 (P#221)
+ Package L#111 (P#28163)
+ Core L#222 (P#0)
+ PU L#222 (P#222)
+ Core L#223 (P#1)
+ PU L#223 (P#223)
+ Group0 L#14 (total=32309248KB)
+ NUMANode L#56 (P#56 local=8077312KB total=8077312KB)
+ Package L#112 (P#28672)
+ Core L#224 (P#0)
+ PU L#224 (P#224)
+ Core L#225 (P#1)
+ PU L#225 (P#225)
+ Package L#113 (P#28675)
+ Core L#226 (P#0)
+ PU L#226 (P#226)
+ Core L#227 (P#1)
+ PU L#227 (P#227)
+ NUMANode L#57 (P#57 local=8077312KB total=8077312KB)
+ Package L#114 (P#29184)
+ Core L#228 (P#0)
+ PU L#228 (P#228)
+ Core L#229 (P#1)
+ PU L#229 (P#229)
+ Package L#115 (P#29187)
+ Core L#230 (P#0)
+ PU L#230 (P#230)
+ Core L#231 (P#1)
+ PU L#231 (P#231)
+ NUMANode L#58 (P#58 local=8077312KB total=8077312KB)
+ Package L#116 (P#29696)
+ Core L#232 (P#0)
+ PU L#232 (P#232)
+ Core L#233 (P#1)
+ PU L#233 (P#233)
+ Package L#117 (P#29699)
+ Core L#234 (P#0)
+ PU L#234 (P#234)
+ Core L#235 (P#1)
+ PU L#235 (P#235)
+ NUMANode L#59 (P#59 local=8077312KB total=8077312KB)
+ Package L#118 (P#30208)
+ Core L#236 (P#0)
+ PU L#236 (P#236)
+ Core L#237 (P#1)
+ PU L#237 (P#237)
+ Package L#119 (P#30211)
+ Core L#238 (P#0)
+ PU L#238 (P#238)
+ Core L#239 (P#1)
+ PU L#239 (P#239)
+ Group0 L#15 (total=32286480KB)
+ NUMANode L#60 (P#60 local=8077312KB total=8077312KB)
+ Package L#120 (P#30720)
+ Core L#240 (P#0)
+ PU L#240 (P#240)
+ Core L#241 (P#1)
+ PU L#241 (P#241)
+ Package L#121 (P#30723)
+ Core L#242 (P#0)
+ PU L#242 (P#242)
+ Core L#243 (P#1)
+ PU L#243 (P#243)
+ NUMANode L#61 (P#61 local=8077296KB total=8077296KB)
+ Package L#122 (P#31232)
+ Core L#244 (P#0)
+ PU L#244 (P#244)
+ Core L#245 (P#1)
+ PU L#245 (P#245)
+ Package L#123 (P#31235)
+ Core L#246 (P#0)
+ PU L#246 (P#246)
+ Core L#247 (P#1)
+ PU L#247 (P#247)
+ NUMANode L#62 (P#62 local=8077312KB total=8077312KB)
+ Package L#124 (P#31744)
+ Core L#248 (P#0)
+ PU L#248 (P#248)
+ Core L#249 (P#1)
+ PU L#249 (P#249)
+ Package L#125 (P#31747)
+ Core L#250 (P#0)
+ PU L#250 (P#250)
+ Core L#251 (P#1)
+ PU L#251 (P#251)
+ NUMANode L#63 (P#63 local=8054560KB total=8054560KB)
+ Package L#126 (P#32256)
+ Core L#252 (P#0)
+ PU L#252 (P#252)
+ Core L#253 (P#1)
+ PU L#253 (P#253)
+ Package L#127 (P#32259)
+ Core L#254 (P#0)
+ PU L#254 (P#254)
+ Core L#255 (P#1)
+ PU L#255 (P#255)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Group1 (type #7)
+ depth 2: 16 Group0 (type #7)
+ depth 3: 64 NUMANode (type #2)
+ depth 4: 128 Package (type #3)
+ depth 5: 256 Core (type #5)
+ depth 6: 256 PU (type #6)
+relative latency matrix between NUMANodes (depth 3) by logical indexes:
+ index 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
+ 0 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 1 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 2 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 3 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 4 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 5 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 6 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 7 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 8 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 9 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 10 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 11 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 12 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 13 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 14 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 15 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 16 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 17 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 18 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 19 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 20 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 21 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 22 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 23 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 24 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 25 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 26 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 27 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 28 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 29 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 30 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 31 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 32 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 33 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 34 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 35 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 36 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 37 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 38 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 39 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 40 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 41 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 42 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 43 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400
+ 44 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 45 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 46 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 47 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000
+ 48 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000
+ 49 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000
+ 50 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000
+ 51 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000
+ 52 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600
+ 53 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600
+ 54 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600
+ 55 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600
+ 56 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 1.000 2.200 2.200 2.200 2.600 2.600 2.600 2.600
+ 57 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 1.000 2.200 2.200 2.600 2.600 2.600 2.600
+ 58 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 1.000 2.200 2.600 2.600 2.600 2.600
+ 59 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 2.600 2.600 2.600 2.600 3.000 3.000 3.000 3.000 2.200 2.200 2.200 1.000 2.600 2.600 2.600 2.600
+ 60 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 1.000 2.200 2.200 2.200
+ 61 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 1.000 2.200 2.200
+ 62 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 1.000 2.200
+ 63 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.400 3.400 3.400 3.400 3.000 3.000 3.000 3.000 3.000 3.000 3.000 3.000 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.600 2.200 2.200 2.200 1.000
+Topology not from this system
--- /dev/null
+*/sys/devices/system/cpu/cpu*/cache
--- /dev/null
+Machine (P#0 total=516423680KB PlatformName=pSeries PlatformModel="CHRP IBM,9179-MHB" Backend=Linux Architecture=ppc)
+ Group0 L#0 (total=124780544KB)
+ NUMANode L#0 (P#0 local=58458112KB total=58458112KB)
+ Package L#0 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#0 (size=4096KB linesize=128)
+ L2Cache L#0 (size=256KB linesize=128 ways=8)
+ L1dCache L#0 (size=32KB linesize=128 ways=8)
+ L1iCache L#0 (size=32KB linesize=128 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+ PU L#2 (P#2)
+ PU L#3 (P#3)
+ Package L#1 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#1 (size=4096KB linesize=128)
+ L2Cache L#1 (size=256KB linesize=128 ways=8)
+ L1dCache L#1 (size=32KB linesize=128 ways=8)
+ L1iCache L#1 (size=32KB linesize=128 ways=4)
+ Core L#1 (P#4)
+ PU L#4 (P#4)
+ PU L#5 (P#5)
+ PU L#6 (P#6)
+ PU L#7 (P#7)
+ Package L#2 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#2 (size=4096KB linesize=128)
+ L2Cache L#2 (size=256KB linesize=128 ways=8)
+ L1dCache L#2 (size=32KB linesize=128 ways=8)
+ L1iCache L#2 (size=32KB linesize=128 ways=4)
+ Core L#2 (P#8)
+ PU L#8 (P#8)
+ PU L#9 (P#9)
+ PU L#10 (P#10)
+ PU L#11 (P#11)
+ Package L#3 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#3 (size=4096KB linesize=128)
+ L2Cache L#3 (size=256KB linesize=128 ways=8)
+ L1dCache L#3 (size=32KB linesize=128 ways=8)
+ L1iCache L#3 (size=32KB linesize=128 ways=4)
+ Core L#3 (P#12)
+ PU L#12 (P#12)
+ PU L#13 (P#13)
+ PU L#14 (P#14)
+ PU L#15 (P#15)
+ Package L#4 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#4 (size=4096KB linesize=128)
+ L2Cache L#4 (size=256KB linesize=128 ways=8)
+ L1dCache L#4 (size=32KB linesize=128 ways=8)
+ L1iCache L#4 (size=32KB linesize=128 ways=4)
+ Core L#4 (P#16)
+ PU L#16 (P#16)
+ PU L#17 (P#17)
+ PU L#18 (P#18)
+ PU L#19 (P#19)
+ Package L#5 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#5 (size=4096KB linesize=128)
+ L2Cache L#5 (size=256KB linesize=128 ways=8)
+ L1dCache L#5 (size=32KB linesize=128 ways=8)
+ L1iCache L#5 (size=32KB linesize=128 ways=4)
+ Core L#5 (P#20)
+ PU L#20 (P#20)
+ PU L#21 (P#21)
+ PU L#22 (P#22)
+ PU L#23 (P#23)
+ Package L#6 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#6 (size=4096KB linesize=128)
+ L2Cache L#6 (size=256KB linesize=128 ways=8)
+ L1dCache L#6 (size=32KB linesize=128 ways=8)
+ L1iCache L#6 (size=32KB linesize=128 ways=4)
+ Core L#6 (P#24)
+ PU L#24 (P#24)
+ PU L#25 (P#25)
+ PU L#26 (P#26)
+ PU L#27 (P#27)
+ Package L#7 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#7 (size=4096KB linesize=128)
+ L2Cache L#7 (size=256KB linesize=128 ways=8)
+ L1dCache L#7 (size=32KB linesize=128 ways=8)
+ L1iCache L#7 (size=32KB linesize=128 ways=4)
+ Core L#7 (P#28)
+ PU L#28 (P#28)
+ PU L#29 (P#29)
+ PU L#30 (P#30)
+ PU L#31 (P#31)
+ NUMANode L#1 (P#1 local=66322432KB total=66322432KB)
+ Package L#8 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#8 (size=4096KB linesize=128)
+ L2Cache L#8 (size=256KB linesize=128 ways=8)
+ L1dCache L#8 (size=32KB linesize=128 ways=8)
+ L1iCache L#8 (size=32KB linesize=128 ways=4)
+ Core L#8 (P#32)
+ PU L#32 (P#32)
+ PU L#33 (P#33)
+ PU L#34 (P#34)
+ PU L#35 (P#35)
+ Package L#9 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#9 (size=4096KB linesize=128)
+ L2Cache L#9 (size=256KB linesize=128 ways=8)
+ L1dCache L#9 (size=32KB linesize=128 ways=8)
+ L1iCache L#9 (size=32KB linesize=128 ways=4)
+ Core L#9 (P#36)
+ PU L#36 (P#36)
+ PU L#37 (P#37)
+ PU L#38 (P#38)
+ PU L#39 (P#39)
+ Package L#10 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#10 (size=4096KB linesize=128)
+ L2Cache L#10 (size=256KB linesize=128 ways=8)
+ L1dCache L#10 (size=32KB linesize=128 ways=8)
+ L1iCache L#10 (size=32KB linesize=128 ways=4)
+ Core L#10 (P#40)
+ PU L#40 (P#40)
+ PU L#41 (P#41)
+ PU L#42 (P#42)
+ PU L#43 (P#43)
+ Package L#11 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#11 (size=4096KB linesize=128)
+ L2Cache L#11 (size=256KB linesize=128 ways=8)
+ L1dCache L#11 (size=32KB linesize=128 ways=8)
+ L1iCache L#11 (size=32KB linesize=128 ways=4)
+ Core L#11 (P#44)
+ PU L#44 (P#44)
+ PU L#45 (P#45)
+ PU L#46 (P#46)
+ PU L#47 (P#47)
+ Package L#12 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#12 (size=4096KB linesize=128)
+ L2Cache L#12 (size=256KB linesize=128 ways=8)
+ L1dCache L#12 (size=32KB linesize=128 ways=8)
+ L1iCache L#12 (size=32KB linesize=128 ways=4)
+ Core L#12 (P#48)
+ PU L#48 (P#48)
+ PU L#49 (P#49)
+ PU L#50 (P#50)
+ PU L#51 (P#51)
+ Package L#13 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#13 (size=4096KB linesize=128)
+ L2Cache L#13 (size=256KB linesize=128 ways=8)
+ L1dCache L#13 (size=32KB linesize=128 ways=8)
+ L1iCache L#13 (size=32KB linesize=128 ways=4)
+ Core L#13 (P#52)
+ PU L#52 (P#52)
+ PU L#53 (P#53)
+ PU L#54 (P#54)
+ PU L#55 (P#55)
+ Package L#14 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#14 (size=4096KB linesize=128)
+ L2Cache L#14 (size=256KB linesize=128 ways=8)
+ L1dCache L#14 (size=32KB linesize=128 ways=8)
+ L1iCache L#14 (size=32KB linesize=128 ways=4)
+ Core L#14 (P#56)
+ PU L#56 (P#56)
+ PU L#57 (P#57)
+ PU L#58 (P#58)
+ PU L#59 (P#59)
+ Package L#15 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#15 (size=4096KB linesize=128)
+ L2Cache L#15 (size=256KB linesize=128 ways=8)
+ L1dCache L#15 (size=32KB linesize=128 ways=8)
+ L1iCache L#15 (size=32KB linesize=128 ways=4)
+ Core L#15 (P#60)
+ PU L#60 (P#60)
+ PU L#61 (P#61)
+ PU L#62 (P#62)
+ PU L#63 (P#63)
+ Group0 L#1 (total=133955584KB)
+ NUMANode L#2 (P#4 local=66846720KB total=66846720KB)
+ Package L#16 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#16 (size=4096KB linesize=128)
+ L2Cache L#16 (size=256KB linesize=128 ways=8)
+ L1dCache L#16 (size=32KB linesize=128 ways=8)
+ L1iCache L#16 (size=32KB linesize=128 ways=4)
+ Core L#16 (P#64)
+ PU L#64 (P#64)
+ PU L#65 (P#65)
+ PU L#66 (P#66)
+ PU L#67 (P#67)
+ Package L#17 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#17 (size=4096KB linesize=128)
+ L2Cache L#17 (size=256KB linesize=128 ways=8)
+ L1dCache L#17 (size=32KB linesize=128 ways=8)
+ L1iCache L#17 (size=32KB linesize=128 ways=4)
+ Core L#17 (P#68)
+ PU L#68 (P#68)
+ PU L#69 (P#69)
+ PU L#70 (P#70)
+ PU L#71 (P#71)
+ Package L#18 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#18 (size=4096KB linesize=128)
+ L2Cache L#18 (size=256KB linesize=128 ways=8)
+ L1dCache L#18 (size=32KB linesize=128 ways=8)
+ L1iCache L#18 (size=32KB linesize=128 ways=4)
+ Core L#18 (P#72)
+ PU L#72 (P#72)
+ PU L#73 (P#73)
+ PU L#74 (P#74)
+ PU L#75 (P#75)
+ Package L#19 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#19 (size=4096KB linesize=128)
+ L2Cache L#19 (size=256KB linesize=128 ways=8)
+ L1dCache L#19 (size=32KB linesize=128 ways=8)
+ L1iCache L#19 (size=32KB linesize=128 ways=4)
+ Core L#19 (P#76)
+ PU L#76 (P#76)
+ PU L#77 (P#77)
+ PU L#78 (P#78)
+ PU L#79 (P#79)
+ Package L#20 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#20 (size=4096KB linesize=128)
+ L2Cache L#20 (size=256KB linesize=128 ways=8)
+ L1dCache L#20 (size=32KB linesize=128 ways=8)
+ L1iCache L#20 (size=32KB linesize=128 ways=4)
+ Core L#20 (P#80)
+ PU L#80 (P#80)
+ PU L#81 (P#81)
+ PU L#82 (P#82)
+ PU L#83 (P#83)
+ Package L#21 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#21 (size=4096KB linesize=128)
+ L2Cache L#21 (size=256KB linesize=128 ways=8)
+ L1dCache L#21 (size=32KB linesize=128 ways=8)
+ L1iCache L#21 (size=32KB linesize=128 ways=4)
+ Core L#21 (P#84)
+ PU L#84 (P#84)
+ PU L#85 (P#85)
+ PU L#86 (P#86)
+ PU L#87 (P#87)
+ Package L#22 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#22 (size=4096KB linesize=128)
+ L2Cache L#22 (size=256KB linesize=128 ways=8)
+ L1dCache L#22 (size=32KB linesize=128 ways=8)
+ L1iCache L#22 (size=32KB linesize=128 ways=4)
+ Core L#22 (P#88)
+ PU L#88 (P#88)
+ PU L#89 (P#89)
+ PU L#90 (P#90)
+ PU L#91 (P#91)
+ Package L#23 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#23 (size=4096KB linesize=128)
+ L2Cache L#23 (size=256KB linesize=128 ways=8)
+ L1dCache L#23 (size=32KB linesize=128 ways=8)
+ L1iCache L#23 (size=32KB linesize=128 ways=4)
+ Core L#23 (P#92)
+ PU L#92 (P#92)
+ PU L#93 (P#93)
+ PU L#94 (P#94)
+ PU L#95 (P#95)
+ NUMANode L#3 (P#5 local=67108864KB total=67108864KB)
+ Package L#24 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#24 (size=4096KB linesize=128)
+ L2Cache L#24 (size=256KB linesize=128 ways=8)
+ L1dCache L#24 (size=32KB linesize=128 ways=8)
+ L1iCache L#24 (size=32KB linesize=128 ways=4)
+ Core L#24 (P#96)
+ PU L#96 (P#96)
+ PU L#97 (P#97)
+ PU L#98 (P#98)
+ PU L#99 (P#99)
+ Package L#25 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#25 (size=4096KB linesize=128)
+ L2Cache L#25 (size=256KB linesize=128 ways=8)
+ L1dCache L#25 (size=32KB linesize=128 ways=8)
+ L1iCache L#25 (size=32KB linesize=128 ways=4)
+ Core L#25 (P#100)
+ PU L#100 (P#100)
+ PU L#101 (P#101)
+ PU L#102 (P#102)
+ PU L#103 (P#103)
+ Package L#26 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#26 (size=4096KB linesize=128)
+ L2Cache L#26 (size=256KB linesize=128 ways=8)
+ L1dCache L#26 (size=32KB linesize=128 ways=8)
+ L1iCache L#26 (size=32KB linesize=128 ways=4)
+ Core L#26 (P#104)
+ PU L#104 (P#104)
+ PU L#105 (P#105)
+ PU L#106 (P#106)
+ PU L#107 (P#107)
+ Package L#27 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#27 (size=4096KB linesize=128)
+ L2Cache L#27 (size=256KB linesize=128 ways=8)
+ L1dCache L#27 (size=32KB linesize=128 ways=8)
+ L1iCache L#27 (size=32KB linesize=128 ways=4)
+ Core L#27 (P#108)
+ PU L#108 (P#108)
+ PU L#109 (P#109)
+ PU L#110 (P#110)
+ PU L#111 (P#111)
+ Package L#28 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#28 (size=4096KB linesize=128)
+ L2Cache L#28 (size=256KB linesize=128 ways=8)
+ L1dCache L#28 (size=32KB linesize=128 ways=8)
+ L1iCache L#28 (size=32KB linesize=128 ways=4)
+ Core L#28 (P#112)
+ PU L#112 (P#112)
+ PU L#113 (P#113)
+ PU L#114 (P#114)
+ PU L#115 (P#115)
+ Package L#29 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#29 (size=4096KB linesize=128)
+ L2Cache L#29 (size=256KB linesize=128 ways=8)
+ L1dCache L#29 (size=32KB linesize=128 ways=8)
+ L1iCache L#29 (size=32KB linesize=128 ways=4)
+ Core L#29 (P#116)
+ PU L#116 (P#116)
+ PU L#117 (P#117)
+ PU L#118 (P#118)
+ PU L#119 (P#119)
+ Package L#30 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#30 (size=4096KB linesize=128)
+ L2Cache L#30 (size=256KB linesize=128 ways=8)
+ L1dCache L#30 (size=32KB linesize=128 ways=8)
+ L1iCache L#30 (size=32KB linesize=128 ways=4)
+ Core L#30 (P#120)
+ PU L#120 (P#120)
+ PU L#121 (P#121)
+ PU L#122 (P#122)
+ PU L#123 (P#123)
+ Package L#31 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#31 (size=4096KB linesize=128)
+ L2Cache L#31 (size=256KB linesize=128 ways=8)
+ L1dCache L#31 (size=32KB linesize=128 ways=8)
+ L1iCache L#31 (size=32KB linesize=128 ways=4)
+ Core L#31 (P#124)
+ PU L#124 (P#124)
+ PU L#125 (P#125)
+ PU L#126 (P#126)
+ PU L#127 (P#127)
+ Group0 L#2 (total=133955584KB)
+ NUMANode L#4 (P#8 local=66846720KB total=66846720KB)
+ Package L#32 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#32 (size=4096KB linesize=128)
+ L2Cache L#32 (size=256KB linesize=128 ways=8)
+ L1dCache L#32 (size=32KB linesize=128 ways=8)
+ L1iCache L#32 (size=32KB linesize=128 ways=4)
+ Core L#32 (P#128)
+ PU L#128 (P#128)
+ PU L#129 (P#129)
+ PU L#130 (P#130)
+ PU L#131 (P#131)
+ Package L#33 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#33 (size=4096KB linesize=128)
+ L2Cache L#33 (size=256KB linesize=128 ways=8)
+ L1dCache L#33 (size=32KB linesize=128 ways=8)
+ L1iCache L#33 (size=32KB linesize=128 ways=4)
+ Core L#33 (P#132)
+ PU L#132 (P#132)
+ PU L#133 (P#133)
+ PU L#134 (P#134)
+ PU L#135 (P#135)
+ Package L#34 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#34 (size=4096KB linesize=128)
+ L2Cache L#34 (size=256KB linesize=128 ways=8)
+ L1dCache L#34 (size=32KB linesize=128 ways=8)
+ L1iCache L#34 (size=32KB linesize=128 ways=4)
+ Core L#34 (P#136)
+ PU L#136 (P#136)
+ PU L#137 (P#137)
+ PU L#138 (P#138)
+ PU L#139 (P#139)
+ Package L#35 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#35 (size=4096KB linesize=128)
+ L2Cache L#35 (size=256KB linesize=128 ways=8)
+ L1dCache L#35 (size=32KB linesize=128 ways=8)
+ L1iCache L#35 (size=32KB linesize=128 ways=4)
+ Core L#35 (P#140)
+ PU L#140 (P#140)
+ PU L#141 (P#141)
+ PU L#142 (P#142)
+ PU L#143 (P#143)
+ Package L#36 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#36 (size=4096KB linesize=128)
+ L2Cache L#36 (size=256KB linesize=128 ways=8)
+ L1dCache L#36 (size=32KB linesize=128 ways=8)
+ L1iCache L#36 (size=32KB linesize=128 ways=4)
+ Core L#36 (P#144)
+ PU L#144 (P#144)
+ PU L#145 (P#145)
+ PU L#146 (P#146)
+ PU L#147 (P#147)
+ Package L#37 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#37 (size=4096KB linesize=128)
+ L2Cache L#37 (size=256KB linesize=128 ways=8)
+ L1dCache L#37 (size=32KB linesize=128 ways=8)
+ L1iCache L#37 (size=32KB linesize=128 ways=4)
+ Core L#37 (P#148)
+ PU L#148 (P#148)
+ PU L#149 (P#149)
+ PU L#150 (P#150)
+ PU L#151 (P#151)
+ Package L#38 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#38 (size=4096KB linesize=128)
+ L2Cache L#38 (size=256KB linesize=128 ways=8)
+ L1dCache L#38 (size=32KB linesize=128 ways=8)
+ L1iCache L#38 (size=32KB linesize=128 ways=4)
+ Core L#38 (P#152)
+ PU L#152 (P#152)
+ PU L#153 (P#153)
+ PU L#154 (P#154)
+ PU L#155 (P#155)
+ Package L#39 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#39 (size=4096KB linesize=128)
+ L2Cache L#39 (size=256KB linesize=128 ways=8)
+ L1dCache L#39 (size=32KB linesize=128 ways=8)
+ L1iCache L#39 (size=32KB linesize=128 ways=4)
+ Core L#39 (P#156)
+ PU L#156 (P#156)
+ PU L#157 (P#157)
+ PU L#158 (P#158)
+ PU L#159 (P#159)
+ NUMANode L#5 (P#9 local=67108864KB total=67108864KB)
+ Package L#40 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#40 (size=4096KB linesize=128)
+ L2Cache L#40 (size=256KB linesize=128 ways=8)
+ L1dCache L#40 (size=32KB linesize=128 ways=8)
+ L1iCache L#40 (size=32KB linesize=128 ways=4)
+ Core L#40 (P#160)
+ PU L#160 (P#160)
+ PU L#161 (P#161)
+ PU L#162 (P#162)
+ PU L#163 (P#163)
+ Package L#41 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#41 (size=4096KB linesize=128)
+ L2Cache L#41 (size=256KB linesize=128 ways=8)
+ L1dCache L#41 (size=32KB linesize=128 ways=8)
+ L1iCache L#41 (size=32KB linesize=128 ways=4)
+ Core L#41 (P#164)
+ PU L#164 (P#164)
+ PU L#165 (P#165)
+ PU L#166 (P#166)
+ PU L#167 (P#167)
+ Package L#42 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#42 (size=4096KB linesize=128)
+ L2Cache L#42 (size=256KB linesize=128 ways=8)
+ L1dCache L#42 (size=32KB linesize=128 ways=8)
+ L1iCache L#42 (size=32KB linesize=128 ways=4)
+ Core L#42 (P#168)
+ PU L#168 (P#168)
+ PU L#169 (P#169)
+ PU L#170 (P#170)
+ PU L#171 (P#171)
+ Package L#43 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#43 (size=4096KB linesize=128)
+ L2Cache L#43 (size=256KB linesize=128 ways=8)
+ L1dCache L#43 (size=32KB linesize=128 ways=8)
+ L1iCache L#43 (size=32KB linesize=128 ways=4)
+ Core L#43 (P#172)
+ PU L#172 (P#172)
+ PU L#173 (P#173)
+ PU L#174 (P#174)
+ PU L#175 (P#175)
+ Package L#44 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#44 (size=4096KB linesize=128)
+ L2Cache L#44 (size=256KB linesize=128 ways=8)
+ L1dCache L#44 (size=32KB linesize=128 ways=8)
+ L1iCache L#44 (size=32KB linesize=128 ways=4)
+ Core L#44 (P#176)
+ PU L#176 (P#176)
+ PU L#177 (P#177)
+ PU L#178 (P#178)
+ PU L#179 (P#179)
+ Package L#45 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#45 (size=4096KB linesize=128)
+ L2Cache L#45 (size=256KB linesize=128 ways=8)
+ L1dCache L#45 (size=32KB linesize=128 ways=8)
+ L1iCache L#45 (size=32KB linesize=128 ways=4)
+ Core L#45 (P#180)
+ PU L#180 (P#180)
+ PU L#181 (P#181)
+ PU L#182 (P#182)
+ PU L#183 (P#183)
+ Package L#46 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#46 (size=4096KB linesize=128)
+ L2Cache L#46 (size=256KB linesize=128 ways=8)
+ L1dCache L#46 (size=32KB linesize=128 ways=8)
+ L1iCache L#46 (size=32KB linesize=128 ways=4)
+ Core L#46 (P#184)
+ PU L#184 (P#184)
+ PU L#185 (P#185)
+ PU L#186 (P#186)
+ PU L#187 (P#187)
+ Package L#47 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#47 (size=4096KB linesize=128)
+ L2Cache L#47 (size=256KB linesize=128 ways=8)
+ L1dCache L#47 (size=32KB linesize=128 ways=8)
+ L1iCache L#47 (size=32KB linesize=128 ways=4)
+ Core L#47 (P#188)
+ PU L#188 (P#188)
+ PU L#189 (P#189)
+ PU L#190 (P#190)
+ PU L#191 (P#191)
+ Group0 L#3 (total=123731968KB)
+ NUMANode L#6 (P#12 local=66846720KB total=66846720KB)
+ Package L#48 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#48 (size=4096KB linesize=128)
+ L2Cache L#48 (size=256KB linesize=128 ways=8)
+ L1dCache L#48 (size=32KB linesize=128 ways=8)
+ L1iCache L#48 (size=32KB linesize=128 ways=4)
+ Core L#48 (P#192)
+ PU L#192 (P#192)
+ PU L#193 (P#193)
+ PU L#194 (P#194)
+ PU L#195 (P#195)
+ Package L#49 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#49 (size=4096KB linesize=128)
+ L2Cache L#49 (size=256KB linesize=128 ways=8)
+ L1dCache L#49 (size=32KB linesize=128 ways=8)
+ L1iCache L#49 (size=32KB linesize=128 ways=4)
+ Core L#49 (P#196)
+ PU L#196 (P#196)
+ PU L#197 (P#197)
+ PU L#198 (P#198)
+ PU L#199 (P#199)
+ Package L#50 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#50 (size=4096KB linesize=128)
+ L2Cache L#50 (size=256KB linesize=128 ways=8)
+ L1dCache L#50 (size=32KB linesize=128 ways=8)
+ L1iCache L#50 (size=32KB linesize=128 ways=4)
+ Core L#50 (P#200)
+ PU L#200 (P#200)
+ PU L#201 (P#201)
+ PU L#202 (P#202)
+ PU L#203 (P#203)
+ Package L#51 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#51 (size=4096KB linesize=128)
+ L2Cache L#51 (size=256KB linesize=128 ways=8)
+ L1dCache L#51 (size=32KB linesize=128 ways=8)
+ L1iCache L#51 (size=32KB linesize=128 ways=4)
+ Core L#51 (P#204)
+ PU L#204 (P#204)
+ PU L#205 (P#205)
+ PU L#206 (P#206)
+ PU L#207 (P#207)
+ Package L#52 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#52 (size=4096KB linesize=128)
+ L2Cache L#52 (size=256KB linesize=128 ways=8)
+ L1dCache L#52 (size=32KB linesize=128 ways=8)
+ L1iCache L#52 (size=32KB linesize=128 ways=4)
+ Core L#52 (P#208)
+ PU L#208 (P#208)
+ PU L#209 (P#209)
+ PU L#210 (P#210)
+ PU L#211 (P#211)
+ Package L#53 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#53 (size=4096KB linesize=128)
+ L2Cache L#53 (size=256KB linesize=128 ways=8)
+ L1dCache L#53 (size=32KB linesize=128 ways=8)
+ L1iCache L#53 (size=32KB linesize=128 ways=4)
+ Core L#53 (P#212)
+ PU L#212 (P#212)
+ PU L#213 (P#213)
+ PU L#214 (P#214)
+ PU L#215 (P#215)
+ Package L#54 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#54 (size=4096KB linesize=128)
+ L2Cache L#54 (size=256KB linesize=128 ways=8)
+ L1dCache L#54 (size=32KB linesize=128 ways=8)
+ L1iCache L#54 (size=32KB linesize=128 ways=4)
+ Core L#54 (P#216)
+ PU L#216 (P#216)
+ PU L#217 (P#217)
+ PU L#218 (P#218)
+ PU L#219 (P#219)
+ Package L#55 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#55 (size=4096KB linesize=128)
+ L2Cache L#55 (size=256KB linesize=128 ways=8)
+ L1dCache L#55 (size=32KB linesize=128 ways=8)
+ L1iCache L#55 (size=32KB linesize=128 ways=4)
+ Core L#55 (P#220)
+ PU L#220 (P#220)
+ PU L#221 (P#221)
+ PU L#222 (P#222)
+ PU L#223 (P#223)
+ NUMANode L#7 (P#13 local=56885248KB total=56885248KB)
+ Package L#56 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#56 (size=4096KB linesize=128)
+ L2Cache L#56 (size=256KB linesize=128 ways=8)
+ L1dCache L#56 (size=32KB linesize=128 ways=8)
+ L1iCache L#56 (size=32KB linesize=128 ways=4)
+ Core L#56 (P#224)
+ PU L#224 (P#224)
+ PU L#225 (P#225)
+ PU L#226 (P#226)
+ PU L#227 (P#227)
+ Package L#57 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#57 (size=4096KB linesize=128)
+ L2Cache L#57 (size=256KB linesize=128 ways=8)
+ L1dCache L#57 (size=32KB linesize=128 ways=8)
+ L1iCache L#57 (size=32KB linesize=128 ways=4)
+ Core L#57 (P#228)
+ PU L#228 (P#228)
+ PU L#229 (P#229)
+ PU L#230 (P#230)
+ PU L#231 (P#231)
+ Package L#58 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#58 (size=4096KB linesize=128)
+ L2Cache L#58 (size=256KB linesize=128 ways=8)
+ L1dCache L#58 (size=32KB linesize=128 ways=8)
+ L1iCache L#58 (size=32KB linesize=128 ways=4)
+ Core L#58 (P#232)
+ PU L#232 (P#232)
+ PU L#233 (P#233)
+ PU L#234 (P#234)
+ PU L#235 (P#235)
+ Package L#59 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#59 (size=4096KB linesize=128)
+ L2Cache L#59 (size=256KB linesize=128 ways=8)
+ L1dCache L#59 (size=32KB linesize=128 ways=8)
+ L1iCache L#59 (size=32KB linesize=128 ways=4)
+ Core L#59 (P#236)
+ PU L#236 (P#236)
+ PU L#237 (P#237)
+ PU L#238 (P#238)
+ PU L#239 (P#239)
+ Package L#60 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#60 (size=4096KB linesize=128)
+ L2Cache L#60 (size=256KB linesize=128 ways=8)
+ L1dCache L#60 (size=32KB linesize=128 ways=8)
+ L1iCache L#60 (size=32KB linesize=128 ways=4)
+ Core L#60 (P#240)
+ PU L#240 (P#240)
+ PU L#241 (P#241)
+ PU L#242 (P#242)
+ PU L#243 (P#243)
+ Package L#61 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#61 (size=4096KB linesize=128)
+ L2Cache L#61 (size=256KB linesize=128 ways=8)
+ L1dCache L#61 (size=32KB linesize=128 ways=8)
+ L1iCache L#61 (size=32KB linesize=128 ways=4)
+ Core L#61 (P#244)
+ PU L#244 (P#244)
+ PU L#245 (P#245)
+ PU L#246 (P#246)
+ PU L#247 (P#247)
+ Package L#62 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#62 (size=4096KB linesize=128)
+ L2Cache L#62 (size=256KB linesize=128 ways=8)
+ L1dCache L#62 (size=32KB linesize=128 ways=8)
+ L1iCache L#62 (size=32KB linesize=128 ways=4)
+ Core L#62 (P#248)
+ PU L#248 (P#248)
+ PU L#249 (P#249)
+ PU L#250 (P#250)
+ PU L#251 (P#251)
+ Package L#63 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#63 (size=4096KB linesize=128)
+ L2Cache L#63 (size=256KB linesize=128 ways=8)
+ L1dCache L#63 (size=32KB linesize=128 ways=8)
+ L1iCache L#63 (size=32KB linesize=128 ways=4)
+ Core L#63 (P#252)
+ PU L#252 (P#252)
+ PU L#253 (P#253)
+ PU L#254 (P#254)
+ PU L#255 (P#255)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Group0 (type #7)
+ depth 2: 8 NUMANode (type #2)
+ depth 3: 64 Package (type #3)
+ depth 4: 64 L3Cache (type #4)
+ depth 5: 64 L2Cache (type #4)
+ depth 6: 64 L1dCache (type #4)
+ depth 7: 64 L1iCache (type #4)
+ depth 8: 64 Core (type #5)
+ depth 9: 256 PU (type #6)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 2.000 4.000 4.000 4.000 4.000 4.000 4.000
+ 1 2.000 1.000 4.000 4.000 4.000 4.000 4.000 4.000
+ 2 4.000 4.000 1.000 2.000 4.000 4.000 4.000 4.000
+ 3 4.000 4.000 2.000 1.000 4.000 4.000 4.000 4.000
+ 4 4.000 4.000 4.000 4.000 1.000 2.000 4.000 4.000
+ 5 4.000 4.000 4.000 4.000 2.000 1.000 4.000 4.000
+ 6 4.000 4.000 4.000 4.000 4.000 4.000 1.000 2.000
+ 7 4.000 4.000 4.000 4.000 4.000 4.000 2.000 1.000
+Topology not from this system
--- /dev/null
+256ppc-8n8s4t.tar.bz2
--- /dev/null
+Machine (P#0 local=514318208KB total=514318208KB PlatformName=pSeries PlatformModel="CHRP IBM,9179-MHB" Backend=Linux Architecture=ppc)
+ L3Cache L#0 (size=4096KB linesize=128)
+ L2Cache L#0 (size=256KB linesize=128 ways=8)
+ L1dCache L#0 (size=32KB linesize=128 ways=8)
+ L1iCache L#0 (size=32KB linesize=128 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+ PU L#2 (P#2)
+ PU L#3 (P#3)
+ L3Cache L#1 (size=4096KB linesize=128)
+ L2Cache L#1 (size=256KB linesize=128 ways=8)
+ L1dCache L#1 (size=32KB linesize=128 ways=8)
+ L1iCache L#1 (size=32KB linesize=128 ways=4)
+ Core L#1 (P#4)
+ PU L#4 (P#4)
+ PU L#5 (P#5)
+ PU L#6 (P#6)
+ PU L#7 (P#7)
+ L3Cache L#2 (size=4096KB linesize=128)
+ L2Cache L#2 (size=256KB linesize=128 ways=8)
+ L1dCache L#2 (size=32KB linesize=128 ways=8)
+ L1iCache L#2 (size=32KB linesize=128 ways=4)
+ Core L#2 (P#8)
+ PU L#8 (P#8)
+ PU L#9 (P#9)
+ PU L#10 (P#10)
+ PU L#11 (P#11)
+ L3Cache L#3 (size=4096KB linesize=128)
+ L2Cache L#3 (size=256KB linesize=128 ways=8)
+ L1dCache L#3 (size=32KB linesize=128 ways=8)
+ L1iCache L#3 (size=32KB linesize=128 ways=4)
+ Core L#3 (P#12)
+ PU L#12 (P#12)
+ PU L#13 (P#13)
+ PU L#14 (P#14)
+ PU L#15 (P#15)
+ L3Cache L#4 (size=4096KB linesize=128)
+ L2Cache L#4 (size=256KB linesize=128 ways=8)
+ L1dCache L#4 (size=32KB linesize=128 ways=8)
+ L1iCache L#4 (size=32KB linesize=128 ways=4)
+ Core L#4 (P#16)
+ PU L#16 (P#16)
+ PU L#17 (P#17)
+ PU L#18 (P#18)
+ PU L#19 (P#19)
+ L3Cache L#5 (size=4096KB linesize=128)
+ L2Cache L#5 (size=256KB linesize=128 ways=8)
+ L1dCache L#5 (size=32KB linesize=128 ways=8)
+ L1iCache L#5 (size=32KB linesize=128 ways=4)
+ Core L#5 (P#20)
+ PU L#20 (P#20)
+ PU L#21 (P#21)
+ PU L#22 (P#22)
+ PU L#23 (P#23)
+ L3Cache L#6 (size=4096KB linesize=128)
+ L2Cache L#6 (size=256KB linesize=128 ways=8)
+ L1dCache L#6 (size=32KB linesize=128 ways=8)
+ L1iCache L#6 (size=32KB linesize=128 ways=4)
+ Core L#6 (P#24)
+ PU L#24 (P#24)
+ PU L#25 (P#25)
+ PU L#26 (P#26)
+ PU L#27 (P#27)
+ L3Cache L#7 (size=4096KB linesize=128)
+ L2Cache L#7 (size=256KB linesize=128 ways=8)
+ L1dCache L#7 (size=32KB linesize=128 ways=8)
+ L1iCache L#7 (size=32KB linesize=128 ways=4)
+ Core L#7 (P#28)
+ PU L#28 (P#28)
+ PU L#29 (P#29)
+ PU L#30 (P#30)
+ PU L#31 (P#31)
+ L3Cache L#8 (size=4096KB linesize=128)
+ L2Cache L#8 (size=256KB linesize=128 ways=8)
+ L1dCache L#8 (size=32KB linesize=128 ways=8)
+ L1iCache L#8 (size=32KB linesize=128 ways=4)
+ Core L#8 (P#32)
+ PU L#32 (P#32)
+ PU L#33 (P#33)
+ PU L#34 (P#34)
+ PU L#35 (P#35)
+ L3Cache L#9 (size=4096KB linesize=128)
+ L2Cache L#9 (size=256KB linesize=128 ways=8)
+ L1dCache L#9 (size=32KB linesize=128 ways=8)
+ L1iCache L#9 (size=32KB linesize=128 ways=4)
+ Core L#9 (P#36)
+ PU L#36 (P#36)
+ PU L#37 (P#37)
+ PU L#38 (P#38)
+ PU L#39 (P#39)
+ L3Cache L#10 (size=4096KB linesize=128)
+ L2Cache L#10 (size=256KB linesize=128 ways=8)
+ L1dCache L#10 (size=32KB linesize=128 ways=8)
+ L1iCache L#10 (size=32KB linesize=128 ways=4)
+ Core L#10 (P#40)
+ PU L#40 (P#40)
+ PU L#41 (P#41)
+ PU L#42 (P#42)
+ PU L#43 (P#43)
+ L3Cache L#11 (size=4096KB linesize=128)
+ L2Cache L#11 (size=256KB linesize=128 ways=8)
+ L1dCache L#11 (size=32KB linesize=128 ways=8)
+ L1iCache L#11 (size=32KB linesize=128 ways=4)
+ Core L#11 (P#44)
+ PU L#44 (P#44)
+ PU L#45 (P#45)
+ PU L#46 (P#46)
+ PU L#47 (P#47)
+ L3Cache L#12 (size=4096KB linesize=128)
+ L2Cache L#12 (size=256KB linesize=128 ways=8)
+ L1dCache L#12 (size=32KB linesize=128 ways=8)
+ L1iCache L#12 (size=32KB linesize=128 ways=4)
+ Core L#12 (P#48)
+ PU L#48 (P#48)
+ PU L#49 (P#49)
+ PU L#50 (P#50)
+ PU L#51 (P#51)
+ L3Cache L#13 (size=4096KB linesize=128)
+ L2Cache L#13 (size=256KB linesize=128 ways=8)
+ L1dCache L#13 (size=32KB linesize=128 ways=8)
+ L1iCache L#13 (size=32KB linesize=128 ways=4)
+ Core L#13 (P#52)
+ PU L#52 (P#52)
+ PU L#53 (P#53)
+ PU L#54 (P#54)
+ PU L#55 (P#55)
+ L3Cache L#14 (size=4096KB linesize=128)
+ L2Cache L#14 (size=256KB linesize=128 ways=8)
+ L1dCache L#14 (size=32KB linesize=128 ways=8)
+ L1iCache L#14 (size=32KB linesize=128 ways=4)
+ Core L#14 (P#56)
+ PU L#56 (P#56)
+ PU L#57 (P#57)
+ PU L#58 (P#58)
+ PU L#59 (P#59)
+ L3Cache L#15 (size=4096KB linesize=128)
+ L2Cache L#15 (size=256KB linesize=128 ways=8)
+ L1dCache L#15 (size=32KB linesize=128 ways=8)
+ L1iCache L#15 (size=32KB linesize=128 ways=4)
+ Core L#15 (P#60)
+ PU L#60 (P#60)
+ PU L#61 (P#61)
+ PU L#62 (P#62)
+ PU L#63 (P#63)
+ L3Cache L#16 (size=4096KB linesize=128)
+ L2Cache L#16 (size=256KB linesize=128 ways=8)
+ L1dCache L#16 (size=32KB linesize=128 ways=8)
+ L1iCache L#16 (size=32KB linesize=128 ways=4)
+ Core L#16 (P#64)
+ PU L#64 (P#64)
+ PU L#65 (P#65)
+ PU L#66 (P#66)
+ PU L#67 (P#67)
+ L3Cache L#17 (size=4096KB linesize=128)
+ L2Cache L#17 (size=256KB linesize=128 ways=8)
+ L1dCache L#17 (size=32KB linesize=128 ways=8)
+ L1iCache L#17 (size=32KB linesize=128 ways=4)
+ Core L#17 (P#68)
+ PU L#68 (P#68)
+ PU L#69 (P#69)
+ PU L#70 (P#70)
+ PU L#71 (P#71)
+ L3Cache L#18 (size=4096KB linesize=128)
+ L2Cache L#18 (size=256KB linesize=128 ways=8)
+ L1dCache L#18 (size=32KB linesize=128 ways=8)
+ L1iCache L#18 (size=32KB linesize=128 ways=4)
+ Core L#18 (P#72)
+ PU L#72 (P#72)
+ PU L#73 (P#73)
+ PU L#74 (P#74)
+ PU L#75 (P#75)
+ L3Cache L#19 (size=4096KB linesize=128)
+ L2Cache L#19 (size=256KB linesize=128 ways=8)
+ L1dCache L#19 (size=32KB linesize=128 ways=8)
+ L1iCache L#19 (size=32KB linesize=128 ways=4)
+ Core L#19 (P#76)
+ PU L#76 (P#76)
+ PU L#77 (P#77)
+ PU L#78 (P#78)
+ PU L#79 (P#79)
+ L3Cache L#20 (size=4096KB linesize=128)
+ L2Cache L#20 (size=256KB linesize=128 ways=8)
+ L1dCache L#20 (size=32KB linesize=128 ways=8)
+ L1iCache L#20 (size=32KB linesize=128 ways=4)
+ Core L#20 (P#80)
+ PU L#80 (P#80)
+ PU L#81 (P#81)
+ PU L#82 (P#82)
+ PU L#83 (P#83)
+ L3Cache L#21 (size=4096KB linesize=128)
+ L2Cache L#21 (size=256KB linesize=128 ways=8)
+ L1dCache L#21 (size=32KB linesize=128 ways=8)
+ L1iCache L#21 (size=32KB linesize=128 ways=4)
+ Core L#21 (P#84)
+ PU L#84 (P#84)
+ PU L#85 (P#85)
+ PU L#86 (P#86)
+ PU L#87 (P#87)
+ L3Cache L#22 (size=4096KB linesize=128)
+ L2Cache L#22 (size=256KB linesize=128 ways=8)
+ L1dCache L#22 (size=32KB linesize=128 ways=8)
+ L1iCache L#22 (size=32KB linesize=128 ways=4)
+ Core L#22 (P#88)
+ PU L#88 (P#88)
+ PU L#89 (P#89)
+ PU L#90 (P#90)
+ PU L#91 (P#91)
+ L3Cache L#23 (size=4096KB linesize=128)
+ L2Cache L#23 (size=256KB linesize=128 ways=8)
+ L1dCache L#23 (size=32KB linesize=128 ways=8)
+ L1iCache L#23 (size=32KB linesize=128 ways=4)
+ Core L#23 (P#92)
+ PU L#92 (P#92)
+ PU L#93 (P#93)
+ PU L#94 (P#94)
+ PU L#95 (P#95)
+ L3Cache L#24 (size=4096KB linesize=128)
+ L2Cache L#24 (size=256KB linesize=128 ways=8)
+ L1dCache L#24 (size=32KB linesize=128 ways=8)
+ L1iCache L#24 (size=32KB linesize=128 ways=4)
+ Core L#24 (P#96)
+ PU L#96 (P#96)
+ PU L#97 (P#97)
+ PU L#98 (P#98)
+ PU L#99 (P#99)
+ L3Cache L#25 (size=4096KB linesize=128)
+ L2Cache L#25 (size=256KB linesize=128 ways=8)
+ L1dCache L#25 (size=32KB linesize=128 ways=8)
+ L1iCache L#25 (size=32KB linesize=128 ways=4)
+ Core L#25 (P#100)
+ PU L#100 (P#100)
+ PU L#101 (P#101)
+ PU L#102 (P#102)
+ PU L#103 (P#103)
+ L3Cache L#26 (size=4096KB linesize=128)
+ L2Cache L#26 (size=256KB linesize=128 ways=8)
+ L1dCache L#26 (size=32KB linesize=128 ways=8)
+ L1iCache L#26 (size=32KB linesize=128 ways=4)
+ Core L#26 (P#104)
+ PU L#104 (P#104)
+ PU L#105 (P#105)
+ PU L#106 (P#106)
+ PU L#107 (P#107)
+ L3Cache L#27 (size=4096KB linesize=128)
+ L2Cache L#27 (size=256KB linesize=128 ways=8)
+ L1dCache L#27 (size=32KB linesize=128 ways=8)
+ L1iCache L#27 (size=32KB linesize=128 ways=4)
+ Core L#27 (P#108)
+ PU L#108 (P#108)
+ PU L#109 (P#109)
+ PU L#110 (P#110)
+ PU L#111 (P#111)
+ L3Cache L#28 (size=4096KB linesize=128)
+ L2Cache L#28 (size=256KB linesize=128 ways=8)
+ L1dCache L#28 (size=32KB linesize=128 ways=8)
+ L1iCache L#28 (size=32KB linesize=128 ways=4)
+ Core L#28 (P#112)
+ PU L#112 (P#112)
+ PU L#113 (P#113)
+ PU L#114 (P#114)
+ PU L#115 (P#115)
+ L3Cache L#29 (size=4096KB linesize=128)
+ L2Cache L#29 (size=256KB linesize=128 ways=8)
+ L1dCache L#29 (size=32KB linesize=128 ways=8)
+ L1iCache L#29 (size=32KB linesize=128 ways=4)
+ Core L#29 (P#116)
+ PU L#116 (P#116)
+ PU L#117 (P#117)
+ PU L#118 (P#118)
+ PU L#119 (P#119)
+ L3Cache L#30 (size=4096KB linesize=128)
+ L2Cache L#30 (size=256KB linesize=128 ways=8)
+ L1dCache L#30 (size=32KB linesize=128 ways=8)
+ L1iCache L#30 (size=32KB linesize=128 ways=4)
+ Core L#30 (P#120)
+ PU L#120 (P#120)
+ PU L#121 (P#121)
+ PU L#122 (P#122)
+ PU L#123 (P#123)
+ L3Cache L#31 (size=4096KB linesize=128)
+ L2Cache L#31 (size=256KB linesize=128 ways=8)
+ L1dCache L#31 (size=32KB linesize=128 ways=8)
+ L1iCache L#31 (size=32KB linesize=128 ways=4)
+ Core L#31 (P#124)
+ PU L#124 (P#124)
+ PU L#125 (P#125)
+ PU L#126 (P#126)
+ PU L#127 (P#127)
+ L3Cache L#32 (size=4096KB linesize=128)
+ L2Cache L#32 (size=256KB linesize=128 ways=8)
+ L1dCache L#32 (size=32KB linesize=128 ways=8)
+ L1iCache L#32 (size=32KB linesize=128 ways=4)
+ Core L#32 (P#128)
+ PU L#128 (P#128)
+ PU L#129 (P#129)
+ PU L#130 (P#130)
+ PU L#131 (P#131)
+ L3Cache L#33 (size=4096KB linesize=128)
+ L2Cache L#33 (size=256KB linesize=128 ways=8)
+ L1dCache L#33 (size=32KB linesize=128 ways=8)
+ L1iCache L#33 (size=32KB linesize=128 ways=4)
+ Core L#33 (P#132)
+ PU L#132 (P#132)
+ PU L#133 (P#133)
+ PU L#134 (P#134)
+ PU L#135 (P#135)
+ L3Cache L#34 (size=4096KB linesize=128)
+ L2Cache L#34 (size=256KB linesize=128 ways=8)
+ L1dCache L#34 (size=32KB linesize=128 ways=8)
+ L1iCache L#34 (size=32KB linesize=128 ways=4)
+ Core L#34 (P#136)
+ PU L#136 (P#136)
+ PU L#137 (P#137)
+ PU L#138 (P#138)
+ PU L#139 (P#139)
+ L3Cache L#35 (size=4096KB linesize=128)
+ L2Cache L#35 (size=256KB linesize=128 ways=8)
+ L1dCache L#35 (size=32KB linesize=128 ways=8)
+ L1iCache L#35 (size=32KB linesize=128 ways=4)
+ Core L#35 (P#140)
+ PU L#140 (P#140)
+ PU L#141 (P#141)
+ PU L#142 (P#142)
+ PU L#143 (P#143)
+ L3Cache L#36 (size=4096KB linesize=128)
+ L2Cache L#36 (size=256KB linesize=128 ways=8)
+ L1dCache L#36 (size=32KB linesize=128 ways=8)
+ L1iCache L#36 (size=32KB linesize=128 ways=4)
+ Core L#36 (P#144)
+ PU L#144 (P#144)
+ PU L#145 (P#145)
+ PU L#146 (P#146)
+ PU L#147 (P#147)
+ L3Cache L#37 (size=4096KB linesize=128)
+ L2Cache L#37 (size=256KB linesize=128 ways=8)
+ L1dCache L#37 (size=32KB linesize=128 ways=8)
+ L1iCache L#37 (size=32KB linesize=128 ways=4)
+ Core L#37 (P#148)
+ PU L#148 (P#148)
+ PU L#149 (P#149)
+ PU L#150 (P#150)
+ PU L#151 (P#151)
+ L3Cache L#38 (size=4096KB linesize=128)
+ L2Cache L#38 (size=256KB linesize=128 ways=8)
+ L1dCache L#38 (size=32KB linesize=128 ways=8)
+ L1iCache L#38 (size=32KB linesize=128 ways=4)
+ Core L#38 (P#152)
+ PU L#152 (P#152)
+ PU L#153 (P#153)
+ PU L#154 (P#154)
+ PU L#155 (P#155)
+ L3Cache L#39 (size=4096KB linesize=128)
+ L2Cache L#39 (size=256KB linesize=128 ways=8)
+ L1dCache L#39 (size=32KB linesize=128 ways=8)
+ L1iCache L#39 (size=32KB linesize=128 ways=4)
+ Core L#39 (P#156)
+ PU L#156 (P#156)
+ PU L#157 (P#157)
+ PU L#158 (P#158)
+ PU L#159 (P#159)
+ L3Cache L#40 (size=4096KB linesize=128)
+ L2Cache L#40 (size=256KB linesize=128 ways=8)
+ L1dCache L#40 (size=32KB linesize=128 ways=8)
+ L1iCache L#40 (size=32KB linesize=128 ways=4)
+ Core L#40 (P#160)
+ PU L#160 (P#160)
+ PU L#161 (P#161)
+ PU L#162 (P#162)
+ PU L#163 (P#163)
+ L3Cache L#41 (size=4096KB linesize=128)
+ L2Cache L#41 (size=256KB linesize=128 ways=8)
+ L1dCache L#41 (size=32KB linesize=128 ways=8)
+ L1iCache L#41 (size=32KB linesize=128 ways=4)
+ Core L#41 (P#164)
+ PU L#164 (P#164)
+ PU L#165 (P#165)
+ PU L#166 (P#166)
+ PU L#167 (P#167)
+ L3Cache L#42 (size=4096KB linesize=128)
+ L2Cache L#42 (size=256KB linesize=128 ways=8)
+ L1dCache L#42 (size=32KB linesize=128 ways=8)
+ L1iCache L#42 (size=32KB linesize=128 ways=4)
+ Core L#42 (P#168)
+ PU L#168 (P#168)
+ PU L#169 (P#169)
+ PU L#170 (P#170)
+ PU L#171 (P#171)
+ L3Cache L#43 (size=4096KB linesize=128)
+ L2Cache L#43 (size=256KB linesize=128 ways=8)
+ L1dCache L#43 (size=32KB linesize=128 ways=8)
+ L1iCache L#43 (size=32KB linesize=128 ways=4)
+ Core L#43 (P#172)
+ PU L#172 (P#172)
+ PU L#173 (P#173)
+ PU L#174 (P#174)
+ PU L#175 (P#175)
+ L3Cache L#44 (size=4096KB linesize=128)
+ L2Cache L#44 (size=256KB linesize=128 ways=8)
+ L1dCache L#44 (size=32KB linesize=128 ways=8)
+ L1iCache L#44 (size=32KB linesize=128 ways=4)
+ Core L#44 (P#176)
+ PU L#176 (P#176)
+ PU L#177 (P#177)
+ PU L#178 (P#178)
+ PU L#179 (P#179)
+ L3Cache L#45 (size=4096KB linesize=128)
+ L2Cache L#45 (size=256KB linesize=128 ways=8)
+ L1dCache L#45 (size=32KB linesize=128 ways=8)
+ L1iCache L#45 (size=32KB linesize=128 ways=4)
+ Core L#45 (P#180)
+ PU L#180 (P#180)
+ PU L#181 (P#181)
+ PU L#182 (P#182)
+ PU L#183 (P#183)
+ L3Cache L#46 (size=4096KB linesize=128)
+ L2Cache L#46 (size=256KB linesize=128 ways=8)
+ L1dCache L#46 (size=32KB linesize=128 ways=8)
+ L1iCache L#46 (size=32KB linesize=128 ways=4)
+ Core L#46 (P#184)
+ PU L#184 (P#184)
+ PU L#185 (P#185)
+ PU L#186 (P#186)
+ PU L#187 (P#187)
+ L3Cache L#47 (size=4096KB linesize=128)
+ L2Cache L#47 (size=256KB linesize=128 ways=8)
+ L1dCache L#47 (size=32KB linesize=128 ways=8)
+ L1iCache L#47 (size=32KB linesize=128 ways=4)
+ Core L#47 (P#188)
+ PU L#188 (P#188)
+ PU L#189 (P#189)
+ PU L#190 (P#190)
+ PU L#191 (P#191)
+ L3Cache L#48 (size=4096KB linesize=128)
+ L2Cache L#48 (size=256KB linesize=128 ways=8)
+ L1dCache L#48 (size=32KB linesize=128 ways=8)
+ L1iCache L#48 (size=32KB linesize=128 ways=4)
+ Core L#48 (P#192)
+ PU L#192 (P#192)
+ PU L#193 (P#193)
+ PU L#194 (P#194)
+ PU L#195 (P#195)
+ L3Cache L#49 (size=4096KB linesize=128)
+ L2Cache L#49 (size=256KB linesize=128 ways=8)
+ L1dCache L#49 (size=32KB linesize=128 ways=8)
+ L1iCache L#49 (size=32KB linesize=128 ways=4)
+ Core L#49 (P#196)
+ PU L#196 (P#196)
+ PU L#197 (P#197)
+ PU L#198 (P#198)
+ PU L#199 (P#199)
+ L3Cache L#50 (size=4096KB linesize=128)
+ L2Cache L#50 (size=256KB linesize=128 ways=8)
+ L1dCache L#50 (size=32KB linesize=128 ways=8)
+ L1iCache L#50 (size=32KB linesize=128 ways=4)
+ Core L#50 (P#200)
+ PU L#200 (P#200)
+ PU L#201 (P#201)
+ PU L#202 (P#202)
+ PU L#203 (P#203)
+ L3Cache L#51 (size=4096KB linesize=128)
+ L2Cache L#51 (size=256KB linesize=128 ways=8)
+ L1dCache L#51 (size=32KB linesize=128 ways=8)
+ L1iCache L#51 (size=32KB linesize=128 ways=4)
+ Core L#51 (P#204)
+ PU L#204 (P#204)
+ PU L#205 (P#205)
+ PU L#206 (P#206)
+ PU L#207 (P#207)
+ L3Cache L#52 (size=4096KB linesize=128)
+ L2Cache L#52 (size=256KB linesize=128 ways=8)
+ L1dCache L#52 (size=32KB linesize=128 ways=8)
+ L1iCache L#52 (size=32KB linesize=128 ways=4)
+ Core L#52 (P#208)
+ PU L#208 (P#208)
+ PU L#209 (P#209)
+ PU L#210 (P#210)
+ PU L#211 (P#211)
+ L3Cache L#53 (size=4096KB linesize=128)
+ L2Cache L#53 (size=256KB linesize=128 ways=8)
+ L1dCache L#53 (size=32KB linesize=128 ways=8)
+ L1iCache L#53 (size=32KB linesize=128 ways=4)
+ Core L#53 (P#212)
+ PU L#212 (P#212)
+ PU L#213 (P#213)
+ PU L#214 (P#214)
+ PU L#215 (P#215)
+ L3Cache L#54 (size=4096KB linesize=128)
+ L2Cache L#54 (size=256KB linesize=128 ways=8)
+ L1dCache L#54 (size=32KB linesize=128 ways=8)
+ L1iCache L#54 (size=32KB linesize=128 ways=4)
+ Core L#54 (P#216)
+ PU L#216 (P#216)
+ PU L#217 (P#217)
+ PU L#218 (P#218)
+ PU L#219 (P#219)
+ L3Cache L#55 (size=4096KB linesize=128)
+ L2Cache L#55 (size=256KB linesize=128 ways=8)
+ L1dCache L#55 (size=32KB linesize=128 ways=8)
+ L1iCache L#55 (size=32KB linesize=128 ways=4)
+ Core L#55 (P#220)
+ PU L#220 (P#220)
+ PU L#221 (P#221)
+ PU L#222 (P#222)
+ PU L#223 (P#223)
+ L3Cache L#56 (size=4096KB linesize=128)
+ L2Cache L#56 (size=256KB linesize=128 ways=8)
+ L1dCache L#56 (size=32KB linesize=128 ways=8)
+ L1iCache L#56 (size=32KB linesize=128 ways=4)
+ Core L#56 (P#224)
+ PU L#224 (P#224)
+ PU L#225 (P#225)
+ PU L#226 (P#226)
+ PU L#227 (P#227)
+ L3Cache L#57 (size=4096KB linesize=128)
+ L2Cache L#57 (size=256KB linesize=128 ways=8)
+ L1dCache L#57 (size=32KB linesize=128 ways=8)
+ L1iCache L#57 (size=32KB linesize=128 ways=4)
+ Core L#57 (P#228)
+ PU L#228 (P#228)
+ PU L#229 (P#229)
+ PU L#230 (P#230)
+ PU L#231 (P#231)
+ L3Cache L#58 (size=4096KB linesize=128)
+ L2Cache L#58 (size=256KB linesize=128 ways=8)
+ L1dCache L#58 (size=32KB linesize=128 ways=8)
+ L1iCache L#58 (size=32KB linesize=128 ways=4)
+ Core L#58 (P#232)
+ PU L#232 (P#232)
+ PU L#233 (P#233)
+ PU L#234 (P#234)
+ PU L#235 (P#235)
+ L3Cache L#59 (size=4096KB linesize=128)
+ L2Cache L#59 (size=256KB linesize=128 ways=8)
+ L1dCache L#59 (size=32KB linesize=128 ways=8)
+ L1iCache L#59 (size=32KB linesize=128 ways=4)
+ Core L#59 (P#236)
+ PU L#236 (P#236)
+ PU L#237 (P#237)
+ PU L#238 (P#238)
+ PU L#239 (P#239)
+ L3Cache L#60 (size=4096KB linesize=128)
+ L2Cache L#60 (size=256KB linesize=128 ways=8)
+ L1dCache L#60 (size=32KB linesize=128 ways=8)
+ L1iCache L#60 (size=32KB linesize=128 ways=4)
+ Core L#60 (P#240)
+ PU L#240 (P#240)
+ PU L#241 (P#241)
+ PU L#242 (P#242)
+ PU L#243 (P#243)
+ L3Cache L#61 (size=4096KB linesize=128)
+ L2Cache L#61 (size=256KB linesize=128 ways=8)
+ L1dCache L#61 (size=32KB linesize=128 ways=8)
+ L1iCache L#61 (size=32KB linesize=128 ways=4)
+ Core L#61 (P#244)
+ PU L#244 (P#244)
+ PU L#245 (P#245)
+ PU L#246 (P#246)
+ PU L#247 (P#247)
+ L3Cache L#62 (size=4096KB linesize=128)
+ L2Cache L#62 (size=256KB linesize=128 ways=8)
+ L1dCache L#62 (size=32KB linesize=128 ways=8)
+ L1iCache L#62 (size=32KB linesize=128 ways=4)
+ Core L#62 (P#248)
+ PU L#248 (P#248)
+ PU L#249 (P#249)
+ PU L#250 (P#250)
+ PU L#251 (P#251)
+ L3Cache L#63 (size=4096KB linesize=128)
+ L2Cache L#63 (size=256KB linesize=128 ways=8)
+ L1dCache L#63 (size=32KB linesize=128 ways=8)
+ L1iCache L#63 (size=32KB linesize=128 ways=4)
+ Core L#63 (P#252)
+ PU L#252 (P#252)
+ PU L#253 (P#253)
+ PU L#254 (P#254)
+ PU L#255 (P#255)
+depth 0: 1 Machine (type #1)
+ depth 1: 64 L3Cache (type #4)
+ depth 2: 64 L2Cache (type #4)
+ depth 3: 64 L1dCache (type #4)
+ depth 4: 64 L1iCache (type #4)
+ depth 5: 64 Core (type #5)
+ depth 6: 256 PU (type #6)
+Topology not from this system
--- /dev/null
+256ppc-8n8s4t.tar.bz2
--- /dev/null
+Machine (P#0 total=516423680KB PlatformName=pSeries PlatformModel="CHRP IBM,9179-MHB" Backend=Linux Architecture=ppc)
+ Group0 L#0 (total=124780544KB)
+ NUMANode L#0 (P#0 local=58458112KB total=58458112KB)
+ Package L#0 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#0 (size=4096KB linesize=128)
+ L2Cache L#0 (size=256KB linesize=128 ways=8)
+ L1dCache L#0 (size=32KB linesize=128 ways=8)
+ L1iCache L#0 (size=32KB linesize=128 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+ PU L#2 (P#2)
+ PU L#3 (P#3)
+ Package L#1 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#1 (size=4096KB linesize=128)
+ L2Cache L#1 (size=256KB linesize=128 ways=8)
+ L1dCache L#1 (size=32KB linesize=128 ways=8)
+ L1iCache L#1 (size=32KB linesize=128 ways=4)
+ Core L#1 (P#4)
+ PU L#4 (P#4)
+ PU L#5 (P#5)
+ PU L#6 (P#6)
+ PU L#7 (P#7)
+ Package L#2 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#2 (size=4096KB linesize=128)
+ L2Cache L#2 (size=256KB linesize=128 ways=8)
+ L1dCache L#2 (size=32KB linesize=128 ways=8)
+ L1iCache L#2 (size=32KB linesize=128 ways=4)
+ Core L#2 (P#8)
+ PU L#8 (P#8)
+ PU L#9 (P#9)
+ PU L#10 (P#10)
+ PU L#11 (P#11)
+ Package L#3 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#3 (size=4096KB linesize=128)
+ L2Cache L#3 (size=256KB linesize=128 ways=8)
+ L1dCache L#3 (size=32KB linesize=128 ways=8)
+ L1iCache L#3 (size=32KB linesize=128 ways=4)
+ Core L#3 (P#12)
+ PU L#12 (P#12)
+ PU L#13 (P#13)
+ PU L#14 (P#14)
+ PU L#15 (P#15)
+ Package L#4 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#4 (size=4096KB linesize=128)
+ L2Cache L#4 (size=256KB linesize=128 ways=8)
+ L1dCache L#4 (size=32KB linesize=128 ways=8)
+ L1iCache L#4 (size=32KB linesize=128 ways=4)
+ Core L#4 (P#16)
+ PU L#16 (P#16)
+ PU L#17 (P#17)
+ PU L#18 (P#18)
+ PU L#19 (P#19)
+ Package L#5 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#5 (size=4096KB linesize=128)
+ L2Cache L#5 (size=256KB linesize=128 ways=8)
+ L1dCache L#5 (size=32KB linesize=128 ways=8)
+ L1iCache L#5 (size=32KB linesize=128 ways=4)
+ Core L#5 (P#20)
+ PU L#20 (P#20)
+ PU L#21 (P#21)
+ PU L#22 (P#22)
+ PU L#23 (P#23)
+ Package L#6 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#6 (size=4096KB linesize=128)
+ L2Cache L#6 (size=256KB linesize=128 ways=8)
+ L1dCache L#6 (size=32KB linesize=128 ways=8)
+ L1iCache L#6 (size=32KB linesize=128 ways=4)
+ Core L#6 (P#24)
+ PU L#24 (P#24)
+ PU L#25 (P#25)
+ PU L#26 (P#26)
+ PU L#27 (P#27)
+ Package L#7 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#7 (size=4096KB linesize=128)
+ L2Cache L#7 (size=256KB linesize=128 ways=8)
+ L1dCache L#7 (size=32KB linesize=128 ways=8)
+ L1iCache L#7 (size=32KB linesize=128 ways=4)
+ Core L#7 (P#28)
+ PU L#28 (P#28)
+ PU L#29 (P#29)
+ PU L#30 (P#30)
+ PU L#31 (P#31)
+ NUMANode L#1 (P#1 local=66322432KB total=66322432KB)
+ Package L#8 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#8 (size=4096KB linesize=128)
+ L2Cache L#8 (size=256KB linesize=128 ways=8)
+ L1dCache L#8 (size=32KB linesize=128 ways=8)
+ L1iCache L#8 (size=32KB linesize=128 ways=4)
+ Core L#8 (P#32)
+ PU L#32 (P#32)
+ PU L#33 (P#33)
+ PU L#34 (P#34)
+ PU L#35 (P#35)
+ Package L#9 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#9 (size=4096KB linesize=128)
+ L2Cache L#9 (size=256KB linesize=128 ways=8)
+ L1dCache L#9 (size=32KB linesize=128 ways=8)
+ L1iCache L#9 (size=32KB linesize=128 ways=4)
+ Core L#9 (P#36)
+ PU L#36 (P#36)
+ PU L#37 (P#37)
+ PU L#38 (P#38)
+ PU L#39 (P#39)
+ Package L#10 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#10 (size=4096KB linesize=128)
+ L2Cache L#10 (size=256KB linesize=128 ways=8)
+ L1dCache L#10 (size=32KB linesize=128 ways=8)
+ L1iCache L#10 (size=32KB linesize=128 ways=4)
+ Core L#10 (P#40)
+ PU L#40 (P#40)
+ PU L#41 (P#41)
+ PU L#42 (P#42)
+ PU L#43 (P#43)
+ Package L#11 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#11 (size=4096KB linesize=128)
+ L2Cache L#11 (size=256KB linesize=128 ways=8)
+ L1dCache L#11 (size=32KB linesize=128 ways=8)
+ L1iCache L#11 (size=32KB linesize=128 ways=4)
+ Core L#11 (P#44)
+ PU L#44 (P#44)
+ PU L#45 (P#45)
+ PU L#46 (P#46)
+ PU L#47 (P#47)
+ Package L#12 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#12 (size=4096KB linesize=128)
+ L2Cache L#12 (size=256KB linesize=128 ways=8)
+ L1dCache L#12 (size=32KB linesize=128 ways=8)
+ L1iCache L#12 (size=32KB linesize=128 ways=4)
+ Core L#12 (P#48)
+ PU L#48 (P#48)
+ PU L#49 (P#49)
+ PU L#50 (P#50)
+ PU L#51 (P#51)
+ Package L#13 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#13 (size=4096KB linesize=128)
+ L2Cache L#13 (size=256KB linesize=128 ways=8)
+ L1dCache L#13 (size=32KB linesize=128 ways=8)
+ L1iCache L#13 (size=32KB linesize=128 ways=4)
+ Core L#13 (P#52)
+ PU L#52 (P#52)
+ PU L#53 (P#53)
+ PU L#54 (P#54)
+ PU L#55 (P#55)
+ Package L#14 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#14 (size=4096KB linesize=128)
+ L2Cache L#14 (size=256KB linesize=128 ways=8)
+ L1dCache L#14 (size=32KB linesize=128 ways=8)
+ L1iCache L#14 (size=32KB linesize=128 ways=4)
+ Core L#14 (P#56)
+ PU L#56 (P#56)
+ PU L#57 (P#57)
+ PU L#58 (P#58)
+ PU L#59 (P#59)
+ Package L#15 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#15 (size=4096KB linesize=128)
+ L2Cache L#15 (size=256KB linesize=128 ways=8)
+ L1dCache L#15 (size=32KB linesize=128 ways=8)
+ L1iCache L#15 (size=32KB linesize=128 ways=4)
+ Core L#15 (P#60)
+ PU L#60 (P#60)
+ PU L#61 (P#61)
+ PU L#62 (P#62)
+ PU L#63 (P#63)
+ Group0 L#1 (total=133955584KB)
+ NUMANode L#2 (P#4 local=66846720KB total=66846720KB)
+ Package L#16 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#16 (size=4096KB linesize=128)
+ L2Cache L#16 (size=256KB linesize=128 ways=8)
+ L1dCache L#16 (size=32KB linesize=128 ways=8)
+ L1iCache L#16 (size=32KB linesize=128 ways=4)
+ Core L#16 (P#64)
+ PU L#64 (P#64)
+ PU L#65 (P#65)
+ PU L#66 (P#66)
+ PU L#67 (P#67)
+ Package L#17 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#17 (size=4096KB linesize=128)
+ L2Cache L#17 (size=256KB linesize=128 ways=8)
+ L1dCache L#17 (size=32KB linesize=128 ways=8)
+ L1iCache L#17 (size=32KB linesize=128 ways=4)
+ Core L#17 (P#68)
+ PU L#68 (P#68)
+ PU L#69 (P#69)
+ PU L#70 (P#70)
+ PU L#71 (P#71)
+ Package L#18 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#18 (size=4096KB linesize=128)
+ L2Cache L#18 (size=256KB linesize=128 ways=8)
+ L1dCache L#18 (size=32KB linesize=128 ways=8)
+ L1iCache L#18 (size=32KB linesize=128 ways=4)
+ Core L#18 (P#72)
+ PU L#72 (P#72)
+ PU L#73 (P#73)
+ PU L#74 (P#74)
+ PU L#75 (P#75)
+ Package L#19 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#19 (size=4096KB linesize=128)
+ L2Cache L#19 (size=256KB linesize=128 ways=8)
+ L1dCache L#19 (size=32KB linesize=128 ways=8)
+ L1iCache L#19 (size=32KB linesize=128 ways=4)
+ Core L#19 (P#76)
+ PU L#76 (P#76)
+ PU L#77 (P#77)
+ PU L#78 (P#78)
+ PU L#79 (P#79)
+ Package L#20 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#20 (size=4096KB linesize=128)
+ L2Cache L#20 (size=256KB linesize=128 ways=8)
+ L1dCache L#20 (size=32KB linesize=128 ways=8)
+ L1iCache L#20 (size=32KB linesize=128 ways=4)
+ Core L#20 (P#80)
+ PU L#80 (P#80)
+ PU L#81 (P#81)
+ PU L#82 (P#82)
+ PU L#83 (P#83)
+ Package L#21 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#21 (size=4096KB linesize=128)
+ L2Cache L#21 (size=256KB linesize=128 ways=8)
+ L1dCache L#21 (size=32KB linesize=128 ways=8)
+ L1iCache L#21 (size=32KB linesize=128 ways=4)
+ Core L#21 (P#84)
+ PU L#84 (P#84)
+ PU L#85 (P#85)
+ PU L#86 (P#86)
+ PU L#87 (P#87)
+ Package L#22 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#22 (size=4096KB linesize=128)
+ L2Cache L#22 (size=256KB linesize=128 ways=8)
+ L1dCache L#22 (size=32KB linesize=128 ways=8)
+ L1iCache L#22 (size=32KB linesize=128 ways=4)
+ Core L#22 (P#88)
+ PU L#88 (P#88)
+ PU L#89 (P#89)
+ PU L#90 (P#90)
+ PU L#91 (P#91)
+ Package L#23 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#23 (size=4096KB linesize=128)
+ L2Cache L#23 (size=256KB linesize=128 ways=8)
+ L1dCache L#23 (size=32KB linesize=128 ways=8)
+ L1iCache L#23 (size=32KB linesize=128 ways=4)
+ Core L#23 (P#92)
+ PU L#92 (P#92)
+ PU L#93 (P#93)
+ PU L#94 (P#94)
+ PU L#95 (P#95)
+ NUMANode L#3 (P#5 local=67108864KB total=67108864KB)
+ Package L#24 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#24 (size=4096KB linesize=128)
+ L2Cache L#24 (size=256KB linesize=128 ways=8)
+ L1dCache L#24 (size=32KB linesize=128 ways=8)
+ L1iCache L#24 (size=32KB linesize=128 ways=4)
+ Core L#24 (P#96)
+ PU L#96 (P#96)
+ PU L#97 (P#97)
+ PU L#98 (P#98)
+ PU L#99 (P#99)
+ Package L#25 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#25 (size=4096KB linesize=128)
+ L2Cache L#25 (size=256KB linesize=128 ways=8)
+ L1dCache L#25 (size=32KB linesize=128 ways=8)
+ L1iCache L#25 (size=32KB linesize=128 ways=4)
+ Core L#25 (P#100)
+ PU L#100 (P#100)
+ PU L#101 (P#101)
+ PU L#102 (P#102)
+ PU L#103 (P#103)
+ Package L#26 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#26 (size=4096KB linesize=128)
+ L2Cache L#26 (size=256KB linesize=128 ways=8)
+ L1dCache L#26 (size=32KB linesize=128 ways=8)
+ L1iCache L#26 (size=32KB linesize=128 ways=4)
+ Core L#26 (P#104)
+ PU L#104 (P#104)
+ PU L#105 (P#105)
+ PU L#106 (P#106)
+ PU L#107 (P#107)
+ Package L#27 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#27 (size=4096KB linesize=128)
+ L2Cache L#27 (size=256KB linesize=128 ways=8)
+ L1dCache L#27 (size=32KB linesize=128 ways=8)
+ L1iCache L#27 (size=32KB linesize=128 ways=4)
+ Core L#27 (P#108)
+ PU L#108 (P#108)
+ PU L#109 (P#109)
+ PU L#110 (P#110)
+ PU L#111 (P#111)
+ Package L#28 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#28 (size=4096KB linesize=128)
+ L2Cache L#28 (size=256KB linesize=128 ways=8)
+ L1dCache L#28 (size=32KB linesize=128 ways=8)
+ L1iCache L#28 (size=32KB linesize=128 ways=4)
+ Core L#28 (P#112)
+ PU L#112 (P#112)
+ PU L#113 (P#113)
+ PU L#114 (P#114)
+ PU L#115 (P#115)
+ Package L#29 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#29 (size=4096KB linesize=128)
+ L2Cache L#29 (size=256KB linesize=128 ways=8)
+ L1dCache L#29 (size=32KB linesize=128 ways=8)
+ L1iCache L#29 (size=32KB linesize=128 ways=4)
+ Core L#29 (P#116)
+ PU L#116 (P#116)
+ PU L#117 (P#117)
+ PU L#118 (P#118)
+ PU L#119 (P#119)
+ Package L#30 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#30 (size=4096KB linesize=128)
+ L2Cache L#30 (size=256KB linesize=128 ways=8)
+ L1dCache L#30 (size=32KB linesize=128 ways=8)
+ L1iCache L#30 (size=32KB linesize=128 ways=4)
+ Core L#30 (P#120)
+ PU L#120 (P#120)
+ PU L#121 (P#121)
+ PU L#122 (P#122)
+ PU L#123 (P#123)
+ Package L#31 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#31 (size=4096KB linesize=128)
+ L2Cache L#31 (size=256KB linesize=128 ways=8)
+ L1dCache L#31 (size=32KB linesize=128 ways=8)
+ L1iCache L#31 (size=32KB linesize=128 ways=4)
+ Core L#31 (P#124)
+ PU L#124 (P#124)
+ PU L#125 (P#125)
+ PU L#126 (P#126)
+ PU L#127 (P#127)
+ Group0 L#2 (total=133955584KB)
+ NUMANode L#4 (P#8 local=66846720KB total=66846720KB)
+ Package L#32 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#32 (size=4096KB linesize=128)
+ L2Cache L#32 (size=256KB linesize=128 ways=8)
+ L1dCache L#32 (size=32KB linesize=128 ways=8)
+ L1iCache L#32 (size=32KB linesize=128 ways=4)
+ Core L#32 (P#128)
+ PU L#128 (P#128)
+ PU L#129 (P#129)
+ PU L#130 (P#130)
+ PU L#131 (P#131)
+ Package L#33 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#33 (size=4096KB linesize=128)
+ L2Cache L#33 (size=256KB linesize=128 ways=8)
+ L1dCache L#33 (size=32KB linesize=128 ways=8)
+ L1iCache L#33 (size=32KB linesize=128 ways=4)
+ Core L#33 (P#132)
+ PU L#132 (P#132)
+ PU L#133 (P#133)
+ PU L#134 (P#134)
+ PU L#135 (P#135)
+ Package L#34 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#34 (size=4096KB linesize=128)
+ L2Cache L#34 (size=256KB linesize=128 ways=8)
+ L1dCache L#34 (size=32KB linesize=128 ways=8)
+ L1iCache L#34 (size=32KB linesize=128 ways=4)
+ Core L#34 (P#136)
+ PU L#136 (P#136)
+ PU L#137 (P#137)
+ PU L#138 (P#138)
+ PU L#139 (P#139)
+ Package L#35 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#35 (size=4096KB linesize=128)
+ L2Cache L#35 (size=256KB linesize=128 ways=8)
+ L1dCache L#35 (size=32KB linesize=128 ways=8)
+ L1iCache L#35 (size=32KB linesize=128 ways=4)
+ Core L#35 (P#140)
+ PU L#140 (P#140)
+ PU L#141 (P#141)
+ PU L#142 (P#142)
+ PU L#143 (P#143)
+ Package L#36 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#36 (size=4096KB linesize=128)
+ L2Cache L#36 (size=256KB linesize=128 ways=8)
+ L1dCache L#36 (size=32KB linesize=128 ways=8)
+ L1iCache L#36 (size=32KB linesize=128 ways=4)
+ Core L#36 (P#144)
+ PU L#144 (P#144)
+ PU L#145 (P#145)
+ PU L#146 (P#146)
+ PU L#147 (P#147)
+ Package L#37 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#37 (size=4096KB linesize=128)
+ L2Cache L#37 (size=256KB linesize=128 ways=8)
+ L1dCache L#37 (size=32KB linesize=128 ways=8)
+ L1iCache L#37 (size=32KB linesize=128 ways=4)
+ Core L#37 (P#148)
+ PU L#148 (P#148)
+ PU L#149 (P#149)
+ PU L#150 (P#150)
+ PU L#151 (P#151)
+ Package L#38 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#38 (size=4096KB linesize=128)
+ L2Cache L#38 (size=256KB linesize=128 ways=8)
+ L1dCache L#38 (size=32KB linesize=128 ways=8)
+ L1iCache L#38 (size=32KB linesize=128 ways=4)
+ Core L#38 (P#152)
+ PU L#152 (P#152)
+ PU L#153 (P#153)
+ PU L#154 (P#154)
+ PU L#155 (P#155)
+ Package L#39 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#39 (size=4096KB linesize=128)
+ L2Cache L#39 (size=256KB linesize=128 ways=8)
+ L1dCache L#39 (size=32KB linesize=128 ways=8)
+ L1iCache L#39 (size=32KB linesize=128 ways=4)
+ Core L#39 (P#156)
+ PU L#156 (P#156)
+ PU L#157 (P#157)
+ PU L#158 (P#158)
+ PU L#159 (P#159)
+ NUMANode L#5 (P#9 local=67108864KB total=67108864KB)
+ Package L#40 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#40 (size=4096KB linesize=128)
+ L2Cache L#40 (size=256KB linesize=128 ways=8)
+ L1dCache L#40 (size=32KB linesize=128 ways=8)
+ L1iCache L#40 (size=32KB linesize=128 ways=4)
+ Core L#40 (P#160)
+ PU L#160 (P#160)
+ PU L#161 (P#161)
+ PU L#162 (P#162)
+ PU L#163 (P#163)
+ Package L#41 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#41 (size=4096KB linesize=128)
+ L2Cache L#41 (size=256KB linesize=128 ways=8)
+ L1dCache L#41 (size=32KB linesize=128 ways=8)
+ L1iCache L#41 (size=32KB linesize=128 ways=4)
+ Core L#41 (P#164)
+ PU L#164 (P#164)
+ PU L#165 (P#165)
+ PU L#166 (P#166)
+ PU L#167 (P#167)
+ Package L#42 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#42 (size=4096KB linesize=128)
+ L2Cache L#42 (size=256KB linesize=128 ways=8)
+ L1dCache L#42 (size=32KB linesize=128 ways=8)
+ L1iCache L#42 (size=32KB linesize=128 ways=4)
+ Core L#42 (P#168)
+ PU L#168 (P#168)
+ PU L#169 (P#169)
+ PU L#170 (P#170)
+ PU L#171 (P#171)
+ Package L#43 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#43 (size=4096KB linesize=128)
+ L2Cache L#43 (size=256KB linesize=128 ways=8)
+ L1dCache L#43 (size=32KB linesize=128 ways=8)
+ L1iCache L#43 (size=32KB linesize=128 ways=4)
+ Core L#43 (P#172)
+ PU L#172 (P#172)
+ PU L#173 (P#173)
+ PU L#174 (P#174)
+ PU L#175 (P#175)
+ Package L#44 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#44 (size=4096KB linesize=128)
+ L2Cache L#44 (size=256KB linesize=128 ways=8)
+ L1dCache L#44 (size=32KB linesize=128 ways=8)
+ L1iCache L#44 (size=32KB linesize=128 ways=4)
+ Core L#44 (P#176)
+ PU L#176 (P#176)
+ PU L#177 (P#177)
+ PU L#178 (P#178)
+ PU L#179 (P#179)
+ Package L#45 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#45 (size=4096KB linesize=128)
+ L2Cache L#45 (size=256KB linesize=128 ways=8)
+ L1dCache L#45 (size=32KB linesize=128 ways=8)
+ L1iCache L#45 (size=32KB linesize=128 ways=4)
+ Core L#45 (P#180)
+ PU L#180 (P#180)
+ PU L#181 (P#181)
+ PU L#182 (P#182)
+ PU L#183 (P#183)
+ Package L#46 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#46 (size=4096KB linesize=128)
+ L2Cache L#46 (size=256KB linesize=128 ways=8)
+ L1dCache L#46 (size=32KB linesize=128 ways=8)
+ L1iCache L#46 (size=32KB linesize=128 ways=4)
+ Core L#46 (P#184)
+ PU L#184 (P#184)
+ PU L#185 (P#185)
+ PU L#186 (P#186)
+ PU L#187 (P#187)
+ Package L#47 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#47 (size=4096KB linesize=128)
+ L2Cache L#47 (size=256KB linesize=128 ways=8)
+ L1dCache L#47 (size=32KB linesize=128 ways=8)
+ L1iCache L#47 (size=32KB linesize=128 ways=4)
+ Core L#47 (P#188)
+ PU L#188 (P#188)
+ PU L#189 (P#189)
+ PU L#190 (P#190)
+ PU L#191 (P#191)
+ Group0 L#3 (total=123731968KB)
+ NUMANode L#6 (P#12 local=66846720KB total=66846720KB)
+ Package L#48 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#48 (size=4096KB linesize=128)
+ L2Cache L#48 (size=256KB linesize=128 ways=8)
+ L1dCache L#48 (size=32KB linesize=128 ways=8)
+ L1iCache L#48 (size=32KB linesize=128 ways=4)
+ Core L#48 (P#192)
+ PU L#192 (P#192)
+ PU L#193 (P#193)
+ PU L#194 (P#194)
+ PU L#195 (P#195)
+ Package L#49 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#49 (size=4096KB linesize=128)
+ L2Cache L#49 (size=256KB linesize=128 ways=8)
+ L1dCache L#49 (size=32KB linesize=128 ways=8)
+ L1iCache L#49 (size=32KB linesize=128 ways=4)
+ Core L#49 (P#196)
+ PU L#196 (P#196)
+ PU L#197 (P#197)
+ PU L#198 (P#198)
+ PU L#199 (P#199)
+ Package L#50 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#50 (size=4096KB linesize=128)
+ L2Cache L#50 (size=256KB linesize=128 ways=8)
+ L1dCache L#50 (size=32KB linesize=128 ways=8)
+ L1iCache L#50 (size=32KB linesize=128 ways=4)
+ Core L#50 (P#200)
+ PU L#200 (P#200)
+ PU L#201 (P#201)
+ PU L#202 (P#202)
+ PU L#203 (P#203)
+ Package L#51 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#51 (size=4096KB linesize=128)
+ L2Cache L#51 (size=256KB linesize=128 ways=8)
+ L1dCache L#51 (size=32KB linesize=128 ways=8)
+ L1iCache L#51 (size=32KB linesize=128 ways=4)
+ Core L#51 (P#204)
+ PU L#204 (P#204)
+ PU L#205 (P#205)
+ PU L#206 (P#206)
+ PU L#207 (P#207)
+ Package L#52 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#52 (size=4096KB linesize=128)
+ L2Cache L#52 (size=256KB linesize=128 ways=8)
+ L1dCache L#52 (size=32KB linesize=128 ways=8)
+ L1iCache L#52 (size=32KB linesize=128 ways=4)
+ Core L#52 (P#208)
+ PU L#208 (P#208)
+ PU L#209 (P#209)
+ PU L#210 (P#210)
+ PU L#211 (P#211)
+ Package L#53 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#53 (size=4096KB linesize=128)
+ L2Cache L#53 (size=256KB linesize=128 ways=8)
+ L1dCache L#53 (size=32KB linesize=128 ways=8)
+ L1iCache L#53 (size=32KB linesize=128 ways=4)
+ Core L#53 (P#212)
+ PU L#212 (P#212)
+ PU L#213 (P#213)
+ PU L#214 (P#214)
+ PU L#215 (P#215)
+ Package L#54 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#54 (size=4096KB linesize=128)
+ L2Cache L#54 (size=256KB linesize=128 ways=8)
+ L1dCache L#54 (size=32KB linesize=128 ways=8)
+ L1iCache L#54 (size=32KB linesize=128 ways=4)
+ Core L#54 (P#216)
+ PU L#216 (P#216)
+ PU L#217 (P#217)
+ PU L#218 (P#218)
+ PU L#219 (P#219)
+ Package L#55 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#55 (size=4096KB linesize=128)
+ L2Cache L#55 (size=256KB linesize=128 ways=8)
+ L1dCache L#55 (size=32KB linesize=128 ways=8)
+ L1iCache L#55 (size=32KB linesize=128 ways=4)
+ Core L#55 (P#220)
+ PU L#220 (P#220)
+ PU L#221 (P#221)
+ PU L#222 (P#222)
+ PU L#223 (P#223)
+ NUMANode L#7 (P#13 local=56885248KB total=56885248KB)
+ Package L#56 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#56 (size=4096KB linesize=128)
+ L2Cache L#56 (size=256KB linesize=128 ways=8)
+ L1dCache L#56 (size=32KB linesize=128 ways=8)
+ L1iCache L#56 (size=32KB linesize=128 ways=4)
+ Core L#56 (P#224)
+ PU L#224 (P#224)
+ PU L#225 (P#225)
+ PU L#226 (P#226)
+ PU L#227 (P#227)
+ Package L#57 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#57 (size=4096KB linesize=128)
+ L2Cache L#57 (size=256KB linesize=128 ways=8)
+ L1dCache L#57 (size=32KB linesize=128 ways=8)
+ L1iCache L#57 (size=32KB linesize=128 ways=4)
+ Core L#57 (P#228)
+ PU L#228 (P#228)
+ PU L#229 (P#229)
+ PU L#230 (P#230)
+ PU L#231 (P#231)
+ Package L#58 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#58 (size=4096KB linesize=128)
+ L2Cache L#58 (size=256KB linesize=128 ways=8)
+ L1dCache L#58 (size=32KB linesize=128 ways=8)
+ L1iCache L#58 (size=32KB linesize=128 ways=4)
+ Core L#58 (P#232)
+ PU L#232 (P#232)
+ PU L#233 (P#233)
+ PU L#234 (P#234)
+ PU L#235 (P#235)
+ Package L#59 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#59 (size=4096KB linesize=128)
+ L2Cache L#59 (size=256KB linesize=128 ways=8)
+ L1dCache L#59 (size=32KB linesize=128 ways=8)
+ L1iCache L#59 (size=32KB linesize=128 ways=4)
+ Core L#59 (P#236)
+ PU L#236 (P#236)
+ PU L#237 (P#237)
+ PU L#238 (P#238)
+ PU L#239 (P#239)
+ Package L#60 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#60 (size=4096KB linesize=128)
+ L2Cache L#60 (size=256KB linesize=128 ways=8)
+ L1dCache L#60 (size=32KB linesize=128 ways=8)
+ L1iCache L#60 (size=32KB linesize=128 ways=4)
+ Core L#60 (P#240)
+ PU L#240 (P#240)
+ PU L#241 (P#241)
+ PU L#242 (P#242)
+ PU L#243 (P#243)
+ Package L#61 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#61 (size=4096KB linesize=128)
+ L2Cache L#61 (size=256KB linesize=128 ways=8)
+ L1dCache L#61 (size=32KB linesize=128 ways=8)
+ L1iCache L#61 (size=32KB linesize=128 ways=4)
+ Core L#61 (P#244)
+ PU L#244 (P#244)
+ PU L#245 (P#245)
+ PU L#246 (P#246)
+ PU L#247 (P#247)
+ Package L#62 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#62 (size=4096KB linesize=128)
+ L2Cache L#62 (size=256KB linesize=128 ways=8)
+ L1dCache L#62 (size=32KB linesize=128 ways=8)
+ L1iCache L#62 (size=32KB linesize=128 ways=4)
+ Core L#62 (P#248)
+ PU L#248 (P#248)
+ PU L#249 (P#249)
+ PU L#250 (P#250)
+ PU L#251 (P#251)
+ Package L#63 (CPUModel="POWER7 (architected), altivec supported" CPURevision="2.1 (pvr 003f 0201)")
+ L3Cache L#63 (size=4096KB linesize=128)
+ L2Cache L#63 (size=256KB linesize=128 ways=8)
+ L1dCache L#63 (size=32KB linesize=128 ways=8)
+ L1iCache L#63 (size=32KB linesize=128 ways=4)
+ Core L#63 (P#252)
+ PU L#252 (P#252)
+ PU L#253 (P#253)
+ PU L#254 (P#254)
+ PU L#255 (P#255)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Group0 (type #7)
+ depth 2: 8 NUMANode (type #2)
+ depth 3: 64 Package (type #3)
+ depth 4: 64 L3Cache (type #4)
+ depth 5: 64 L2Cache (type #4)
+ depth 6: 64 L1dCache (type #4)
+ depth 7: 64 L1iCache (type #4)
+ depth 8: 64 Core (type #5)
+ depth 9: 256 PU (type #6)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 2.000 4.000 4.000 4.000 4.000 4.000 4.000
+ 1 2.000 1.000 4.000 4.000 4.000 4.000 4.000 4.000
+ 2 4.000 4.000 1.000 2.000 4.000 4.000 4.000 4.000
+ 3 4.000 4.000 2.000 1.000 4.000 4.000 4.000 4.000
+ 4 4.000 4.000 4.000 4.000 1.000 2.000 4.000 4.000
+ 5 4.000 4.000 4.000 4.000 2.000 1.000 4.000 4.000
+ 6 4.000 4.000 4.000 4.000 4.000 4.000 1.000 2.000
+ 7 4.000 4.000 4.000 4.000 4.000 4.000 2.000 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 total=66835164KB DMIProductName=UCSB-B200-M4 DMIProductVersion=0 DMIProductSerial=FCH18187KYL DMIProductUUID=5C29B631-18D7-46D5-BBDB-E43F106A86D5 DMIBoardVendor="Cisco Systems Inc" DMIBoardName=UCSB-B200-M4 DMIBoardVersion=73-15862-03 DMIBoardSerial=FCH18187KYL DMIBoardAssetTag=" " DMIChassisVendor="Cisco Systems Inc" DMIChassisType=18 DMIChassisVersion=68-4777-02 DMIChassisSerial=FOX1802H2KC DMIChassisAssetTag=" " DMIBIOSVendor="Cisco Systems, Inc." DMIBIOSVersion=B200M4.2.2.3.0.080820140005 DMIBIOSDate=08/08/2014 DMISysVendor="Cisco Systems Inc" Backend=Linux LinuxCgroup=/ OSName=Linux OSRelease=3.10.0-123.el7.x86_64 OSVersion="#1 SMP Mon May 5 11:16:57 EDT 2014" HostName=localhost.localdomain Architecture=x86_64)
+ Package L#0 (P#0 total=33280732KB CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=63 CPUModel="Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz" CPUStepping=2)
+ NUMANode L#0 (P#0 local=16503516KB total=16503516KB)
+ L3Cache L#0 (size=17920KB linesize=64 ways=20)
+ L2Cache L#0 (size=256KB linesize=64 ways=8)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=256KB linesize=64 ways=8)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ L2Cache L#2 (size=256KB linesize=64 ways=8)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=256KB linesize=64 ways=8)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ L2Cache L#4 (size=256KB linesize=64 ways=8)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#4 (P#4)
+ PU L#4 (P#4)
+ L2Cache L#5 (size=256KB linesize=64 ways=8)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=8)
+ Core L#5 (P#5)
+ PU L#5 (P#5)
+ L2Cache L#6 (size=256KB linesize=64 ways=8)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#6)
+ PU L#6 (P#6)
+ NUMANode L#1 (P#1 local=16777216KB total=16777216KB)
+ L3Cache L#1 (size=17920KB linesize=64 ways=20)
+ L2Cache L#7 (size=256KB linesize=64 ways=8)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#8)
+ PU L#7 (P#7)
+ L2Cache L#8 (size=256KB linesize=64 ways=8)
+ L1dCache L#8 (size=32KB linesize=64 ways=8)
+ L1iCache L#8 (size=32KB linesize=64 ways=8)
+ Core L#8 (P#9)
+ PU L#8 (P#8)
+ L2Cache L#9 (size=256KB linesize=64 ways=8)
+ L1dCache L#9 (size=32KB linesize=64 ways=8)
+ L1iCache L#9 (size=32KB linesize=64 ways=8)
+ Core L#9 (P#10)
+ PU L#9 (P#9)
+ L2Cache L#10 (size=256KB linesize=64 ways=8)
+ L1dCache L#10 (size=32KB linesize=64 ways=8)
+ L1iCache L#10 (size=32KB linesize=64 ways=8)
+ Core L#10 (P#11)
+ PU L#10 (P#10)
+ L2Cache L#11 (size=256KB linesize=64 ways=8)
+ L1dCache L#11 (size=32KB linesize=64 ways=8)
+ L1iCache L#11 (size=32KB linesize=64 ways=8)
+ Core L#11 (P#12)
+ PU L#11 (P#11)
+ L2Cache L#12 (size=256KB linesize=64 ways=8)
+ L1dCache L#12 (size=32KB linesize=64 ways=8)
+ L1iCache L#12 (size=32KB linesize=64 ways=8)
+ Core L#12 (P#13)
+ PU L#12 (P#12)
+ L2Cache L#13 (size=256KB linesize=64 ways=8)
+ L1dCache L#13 (size=32KB linesize=64 ways=8)
+ L1iCache L#13 (size=32KB linesize=64 ways=8)
+ Core L#13 (P#14)
+ PU L#13 (P#13)
+ Package L#1 (P#1 total=33554432KB CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=63 CPUModel="Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz" CPUStepping=2)
+ NUMANode L#2 (P#2 local=16777216KB total=16777216KB)
+ L3Cache L#2 (size=17920KB linesize=64 ways=20)
+ L2Cache L#14 (size=256KB linesize=64 ways=8)
+ L1dCache L#14 (size=32KB linesize=64 ways=8)
+ L1iCache L#14 (size=32KB linesize=64 ways=8)
+ Core L#14 (P#0)
+ PU L#14 (P#14)
+ L2Cache L#15 (size=256KB linesize=64 ways=8)
+ L1dCache L#15 (size=32KB linesize=64 ways=8)
+ L1iCache L#15 (size=32KB linesize=64 ways=8)
+ Core L#15 (P#1)
+ PU L#15 (P#15)
+ L2Cache L#16 (size=256KB linesize=64 ways=8)
+ L1dCache L#16 (size=32KB linesize=64 ways=8)
+ L1iCache L#16 (size=32KB linesize=64 ways=8)
+ Core L#16 (P#2)
+ PU L#16 (P#16)
+ L2Cache L#17 (size=256KB linesize=64 ways=8)
+ L1dCache L#17 (size=32KB linesize=64 ways=8)
+ L1iCache L#17 (size=32KB linesize=64 ways=8)
+ Core L#17 (P#3)
+ PU L#17 (P#17)
+ L2Cache L#18 (size=256KB linesize=64 ways=8)
+ L1dCache L#18 (size=32KB linesize=64 ways=8)
+ L1iCache L#18 (size=32KB linesize=64 ways=8)
+ Core L#18 (P#4)
+ PU L#18 (P#18)
+ L2Cache L#19 (size=256KB linesize=64 ways=8)
+ L1dCache L#19 (size=32KB linesize=64 ways=8)
+ L1iCache L#19 (size=32KB linesize=64 ways=8)
+ Core L#19 (P#5)
+ PU L#19 (P#19)
+ L2Cache L#20 (size=256KB linesize=64 ways=8)
+ L1dCache L#20 (size=32KB linesize=64 ways=8)
+ L1iCache L#20 (size=32KB linesize=64 ways=8)
+ Core L#20 (P#6)
+ PU L#20 (P#20)
+ NUMANode L#3 (P#3 local=16777216KB total=16777216KB)
+ L3Cache L#3 (size=17920KB linesize=64 ways=20)
+ L2Cache L#21 (size=256KB linesize=64 ways=8)
+ L1dCache L#21 (size=32KB linesize=64 ways=8)
+ L1iCache L#21 (size=32KB linesize=64 ways=8)
+ Core L#21 (P#8)
+ PU L#21 (P#21)
+ L2Cache L#22 (size=256KB linesize=64 ways=8)
+ L1dCache L#22 (size=32KB linesize=64 ways=8)
+ L1iCache L#22 (size=32KB linesize=64 ways=8)
+ Core L#22 (P#9)
+ PU L#22 (P#22)
+ L2Cache L#23 (size=256KB linesize=64 ways=8)
+ L1dCache L#23 (size=32KB linesize=64 ways=8)
+ L1iCache L#23 (size=32KB linesize=64 ways=8)
+ Core L#23 (P#10)
+ PU L#23 (P#23)
+ L2Cache L#24 (size=256KB linesize=64 ways=8)
+ L1dCache L#24 (size=32KB linesize=64 ways=8)
+ L1iCache L#24 (size=32KB linesize=64 ways=8)
+ Core L#24 (P#11)
+ PU L#24 (P#24)
+ L2Cache L#25 (size=256KB linesize=64 ways=8)
+ L1dCache L#25 (size=32KB linesize=64 ways=8)
+ L1iCache L#25 (size=32KB linesize=64 ways=8)
+ Core L#25 (P#12)
+ PU L#25 (P#25)
+ L2Cache L#26 (size=256KB linesize=64 ways=8)
+ L1dCache L#26 (size=32KB linesize=64 ways=8)
+ L1iCache L#26 (size=32KB linesize=64 ways=8)
+ Core L#26 (P#13)
+ PU L#26 (P#26)
+ L2Cache L#27 (size=256KB linesize=64 ways=8)
+ L1dCache L#27 (size=32KB linesize=64 ways=8)
+ L1iCache L#27 (size=32KB linesize=64 ways=8)
+ Core L#27 (P#14)
+ PU L#27 (P#27)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Package (type #3)
+ depth 2: 4 NUMANode (type #2)
+ depth 3: 4 L3Cache (type #4)
+ depth 4: 28 L2Cache (type #4)
+ depth 5: 28 L1dCache (type #4)
+ depth 6: 28 L1iCache (type #4)
+ depth 7: 28 Core (type #5)
+ depth 8: 28 PU (type #6)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 2.100 3.100 3.100
+ 1 2.100 1.000 3.100 3.100
+ 2 3.100 3.100 1.000 2.100
+ 3 3.100 3.100 2.100 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 total=4192952KB Backend=Linux)
+ NUMANode L#0 (P#0 local=2095800KB total=2095800KB)
+ Package L#0 (P#0)
+ L2Cache L#0 (size=1024KB linesize=64 ways=16)
+ L1dCache L#0 (size=64KB linesize=64 ways=2)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ NUMANode L#1 (P#1 local=2097152KB total=2097152KB)
+ Package L#1 (P#1)
+ L2Cache L#1 (size=1024KB linesize=64 ways=16)
+ L1dCache L#1 (size=64KB linesize=64 ways=2)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ Core L#1 (P#0)
+ PU L#1 (P#1)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 NUMANode (type #2)
+ depth 2: 2 Package (type #3)
+ depth 3: 2 L2Cache (type #4)
+ depth 4: 2 L1dCache (type #4)
+ depth 5: 2 L1iCache (type #4)
+ depth 6: 2 Core (type #5)
+ depth 7: 2 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1
+ 0 1.000 2.000
+ 1 2.000 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 local=280840KB total=280840KB CPUModel="ARMv7 Processor rev 1 (v7l)" CPUImplementer=0x41 CPUArchitecture=7 CPUVariant=0x2 CPUPart=0xc09 CPURevision=1 HardwareName="ST-Ericsson MOP500 platform" HardwareRevision=0000 HardwareSerial=0000000000000000 Backend=Linux Architecture=arm)
+ Package L#0 (P#3)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 Package (type #3)
+ depth 2: 2 Core (type #5)
+ depth 3: 2 PU (type #6)
+Topology not from this system
--- /dev/null
+-p -v --of xml --no-icaches
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" local_memory="2125238272">
+ <info name="DMIProductName" value="PowerEdge 1950"/>
+ <info name="DMIProductVersion" value=""/>
+ <info name="DMIBoardVendor" value="Dell Inc."/>
+ <info name="DMIBoardName" value="0DT097"/>
+ <info name="DMIBoardVersion" value="A00"/>
+ <info name="DMIBoardAssetTag" value=""/>
+ <info name="DMIChassisVendor" value="Dell Inc."/>
+ <info name="DMIChassisType" value="23"/>
+ <info name="DMIChassisVersion" value=""/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="1.2.0"/>
+ <info name="DMIBIOSDate" value="10/18/2006"/>
+ <info name="DMISysVendor" value="Dell Inc."/>
+ <info name="Backend" value="Linux"/>
+ <object type="Package" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU 5130 @ 2.00GHz"/>
+ <object type="Cache" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" cache_size="4194304" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+2i386-2c-nohugepage.tar.bz2
--- /dev/null
+HWLOC_DEBUG_PAGESIZE=4096
+export HWLOC_DEBUG_PAGESIZE
--- /dev/null
+-p -v --of xml --no-icaches
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" local_memory="409617181966336">
+ <page_type size="4096" count="100000000000"/>
+ <page_type size="2097152" count="1"/>
+ <page_type size="17179869184" count="1"/>
+ <info name="DMIProductName" value="PowerEdge 1850"/>
+ <info name="DMIProductVersion" value=""/>
+ <info name="DMIBoardVendor" value="Dell Computer Corporation"/>
+ <info name="DMIBoardName" value="0RC130"/>
+ <info name="DMIBoardVersion" value="A03"/>
+ <info name="DMIBoardAssetTag" value=""/>
+ <info name="DMIChassisVendor" value="Dell Computer Corporation"/>
+ <info name="DMIChassisType" value="23"/>
+ <info name="DMIChassisVersion" value=""/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Computer Corporation"/>
+ <info name="DMIBIOSVersion" value="A06"/>
+ <info name="DMIBIOSDate" value="10/03/2006"/>
+ <info name="DMISysVendor" value="Dell Computer Corporation"/>
+ <info name="Backend" value="Linux"/>
+ <object type="Package" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003">
+ <info name="CPUModel" value="Intel(R) Xeon(TM) CPU 3.00GHz"/>
+ <object type="Cache" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" cache_size="2097152" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" cache_size="16384" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+2i386-2t-hugepagesizecount.tar.bz2
--- /dev/null
+Machine (P#0 PlatformName=PS3 PlatformModel=SonyPS3 Backend=Linux Architecture=ppc)
+ Core L#0
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 Core (type #5)
+ depth 2: 2 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 local=1025408KB total=1025408KB Backend=Linux)
+ Package L#0
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 Package (type #3)
+ depth 2: 2 PU (type #6)
+Topology not from this system
--- /dev/null
+HWLOC_PU_DISTANCES='0-31:16*2'
+export HWLOC_PU_DISTANCES
+HWLOC_NUMANode_DISTANCES='0-7:2*2*2'
+export HWLOC_NUMANode_DISTANCES
--- /dev/null
+Machine (P#0 total=100661164KB DMIProductName=H8QG6 DMIProductVersion=1234567890 DMIBoardVendor=Supermicro DMIBoardName=H8QG6 DMIBoardVersion=1234567890 DMIBoardAssetTag=1234567890 DMIChassisVendor=Supermicro DMIChassisType=17 DMIChassisVersion=1234567890 DMIChassisAssetTag=1234567890 DMIBIOSVendor="American Megatrends Inc." DMIBIOSVersion="080016 " DMIBIOSDate=07/26/2011 DMISysVendor=Supermicro Backend=Linux LinuxCgroup=/uid_2008/job_15389/step_0)
+ Group1 L#0 (total=67106732KB)
+ Package L#0 (P#0 total=33552300KB CPUModel="AMD Opteron(tm) Processor 6134")
+ NUMANode L#0 (P#0 local=16775084KB total=16775084KB)
+ L3Cache L#0 (size=5118KB linesize=64 ways=48)
+ Group2 L#0
+ L2Cache L#0 (size=512KB linesize=64 ways=16)
+ L1dCache L#0 (size=64KB linesize=64 ways=2)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=512KB linesize=64 ways=16)
+ L1dCache L#1 (size=64KB linesize=64 ways=2)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ Group2 L#1
+ L2Cache L#2 (size=512KB linesize=64 ways=16)
+ L1dCache L#2 (size=64KB linesize=64 ways=2)
+ L1iCache L#2 (size=64KB linesize=64 ways=2)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=512KB linesize=64 ways=16)
+ L1dCache L#3 (size=64KB linesize=64 ways=2)
+ L1iCache L#3 (size=64KB linesize=64 ways=2)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ NUMANode L#1 (P#1 local=16777216KB total=16777216KB)
+ L3Cache L#1 (size=5118KB linesize=64 ways=48)
+ L2Cache L#4 (size=512KB linesize=64 ways=16)
+ L1dCache L#4 (size=64KB linesize=64 ways=2)
+ L1iCache L#4 (size=64KB linesize=64 ways=2)
+ Core L#4 (P#0)
+ PU L#4 (P#4)
+ L2Cache L#5 (size=512KB linesize=64 ways=16)
+ L1dCache L#5 (size=64KB linesize=64 ways=2)
+ L1iCache L#5 (size=64KB linesize=64 ways=2)
+ Core L#5 (P#1)
+ PU L#5 (P#5)
+ Package L#1 (P#1 total=33554432KB CPUModel="AMD Opteron(tm) Processor 6134")
+ NUMANode L#2 (P#2 local=16777216KB total=16777216KB)
+ NUMANode L#3 (P#3 local=16777216KB total=16777216KB)
+ Group1 L#1 (total=33554432KB)
+ Package L#2 (P#2 total=33554432KB CPUModel="AMD Opteron(tm) Processor 6134")
+ NUMANode L#4 (P#4 local=16777216KB total=16777216KB)
+ NUMANode L#5 (P#5 local=16777216KB total=16777216KB)
+ Package L#3 (P#3 CPUModel="AMD Opteron(tm) Processor 6134")
+ NUMANode L#6 (P#6)
+ NUMANode L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Group1 (type #7)
+ depth 2: 4 Package (type #3)
+ depth 3: 8 NUMANode (type #2)
+ depth 4: 2 L3Cache (type #4)
+ depth 5: 2 Group2 (type #7)
+ depth 6: 6 L2Cache (type #4)
+ depth 7: 6 L1dCache (type #4)
+ depth 8: 6 L1iCache (type #4)
+ depth 9: 6 Core (type #5)
+ depth 10: 6 PU (type #6)
+relative latency matrix between NUMANodes (depth 3) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 2.000 4.000 4.000 8.000 8.000 8.000 8.000
+ 1 2.000 1.000 4.000 4.000 8.000 8.000 8.000 8.000
+ 2 4.000 4.000 1.000 2.000 8.000 8.000 8.000 8.000
+ 3 4.000 4.000 2.000 1.000 8.000 8.000 8.000 8.000
+ 4 8.000 8.000 8.000 8.000 1.000 2.000 4.000 4.000
+ 5 8.000 8.000 8.000 8.000 2.000 1.000 4.000 4.000
+ 6 8.000 8.000 8.000 8.000 4.000 4.000 1.000 2.000
+ 7 8.000 8.000 8.000 8.000 4.000 4.000 2.000 1.000
+26 processors not represented in topology: 0xffffffc0
+26 processors online but not allowed: 0xffffffc0
+Topology not from this system
--- /dev/null
+HWLOC_PU_DISTANCES='0-31:16*2'
+export HWLOC_PU_DISTANCES
+HWLOC_NUMANode_DISTANCES='0-7:2*2*2'
+export HWLOC_NUMANode_DISTANCES
--- /dev/null
+-v --of xml --no-icaches
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000003f" complete_cpuset="0xffffffff" online_cpuset="0xffffffff" allowed_cpuset="0x0000003f" nodeset="0x0000003f" complete_nodeset="0x000000ff" allowed_nodeset="0x0000003f">
+ <info name="DMIProductName" value="H8QG6"/>
+ <info name="DMIProductVersion" value="1234567890"/>
+ <info name="DMIBoardVendor" value="Supermicro"/>
+ <info name="DMIBoardName" value="H8QG6"/>
+ <info name="DMIBoardVersion" value="1234567890"/>
+ <info name="DMIBoardAssetTag" value="1234567890"/>
+ <info name="DMIChassisVendor" value="Supermicro"/>
+ <info name="DMIChassisType" value="17"/>
+ <info name="DMIChassisVersion" value="1234567890"/>
+ <info name="DMIChassisAssetTag" value="1234567890"/>
+ <info name="DMIBIOSVendor" value="American Megatrends Inc."/>
+ <info name="DMIBIOSVersion" value="080016 "/>
+ <info name="DMIBIOSDate" value="07/26/2011"/>
+ <info name="DMISysVendor" value="Supermicro"/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/uid_2008/job_15389/step_0"/>
+ <distances nbobjs="8" relative_depth="3" latency_base="1.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x0000003f" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000003f" nodeset="0x0000000f" complete_nodeset="0x0000000f" allowed_nodeset="0x0000000f" depth="1">
+ <object type="Package" os_index="0" cpuset="0x0000003f" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x0000003f" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <info name="CPUModel" value="AMD Opteron(tm) Processor 6134"/>
+ <distances nbobjs="6" relative_depth="7" latency_base="1.000000">
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="17177686016">
+ <object type="Cache" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="5240832" depth="3" cache_linesize="64" cache_associativity="48" cache_type="0">
+ <object type="Group" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" depth="2">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="524288" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="524288" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" depth="2">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="524288" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="524288" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x00000030" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x00000030" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="17179869184">
+ <object type="Cache" cpuset="0x00000030" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x00000030" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="5240832" depth="3" cache_linesize="64" cache_associativity="48" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="524288" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="524288" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="1" cpuset="0x0" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0" nodeset="0x0000000c" complete_nodeset="0x0000000c" allowed_nodeset="0x0000000c">
+ <info name="CPUModel" value="AMD Opteron(tm) Processor 6134"/>
+ <object type="NUMANode" os_index="2" cpuset="0x0" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="17179869184"/>
+ <object type="NUMANode" os_index="3" cpuset="0x0" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="17179869184"/>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0" complete_cpuset="0xffff0000" online_cpuset="0xffff0000" allowed_cpuset="0x0" nodeset="0x00000030" complete_nodeset="0x000000f0" allowed_nodeset="0x00000030" depth="1">
+ <object type="Package" os_index="2" cpuset="0x0" complete_cpuset="0x00ff0000" online_cpuset="0x00ff0000" allowed_cpuset="0x0" nodeset="0x00000030" complete_nodeset="0x00000030" allowed_nodeset="0x00000030">
+ <info name="CPUModel" value="AMD Opteron(tm) Processor 6134"/>
+ <object type="NUMANode" os_index="4" cpuset="0x0" complete_cpuset="0x000f0000" online_cpuset="0x000f0000" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="17179869184"/>
+ <object type="NUMANode" os_index="5" cpuset="0x0" complete_cpuset="0x00f00000" online_cpuset="0x00f00000" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" local_memory="17179869184"/>
+ </object>
+ <object type="Package" os_index="3" cpuset="0x0" complete_cpuset="0xff000000" online_cpuset="0xff000000" allowed_cpuset="0x0" nodeset="0x0" complete_nodeset="0x000000c0" allowed_nodeset="0x0">
+ <info name="CPUModel" value="AMD Opteron(tm) Processor 6134"/>
+ <object type="NUMANode" os_index="6" cpuset="0x0" complete_cpuset="0x0f000000" online_cpuset="0x0f000000" allowed_cpuset="0x0" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ <object type="NUMANode" os_index="7" cpuset="0x0" complete_cpuset="0xf0000000" online_cpuset="0xf0000000" allowed_cpuset="0x0" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+32amd64-4s2n4c-cgroup.tar.bz2
--- /dev/null
+-v --of xml --whole-io
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000ffff" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000ffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <info name="DMIProductName" value="DCS8000Z"/>
+ <info name="DMIProductVersion" value=""/>
+ <info name="DMIBoardVendor" value="Dell"/>
+ <info name="DMIBoardName" value="0W6W6G"/>
+ <info name="DMIBoardVersion" value="A00"/>
+ <info name="DMIBoardAssetTag" value="N/A"/>
+ <info name="DMIChassisVendor" value="Dell"/>
+ <info name="DMIChassisType" value="23"/>
+ <info name="DMIChassisVersion" value="N/A"/>
+ <info name="DMIChassisAssetTag" value="N/A"/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="1.0.30"/>
+ <info name="DMIBIOSDate" value="08/06/2012"/>
+ <info name="DMISysVendor" value="Dell"/>
+ <info name="Backend" value="Linux"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.100000"/>
+ <latency value="2.100000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="17149054976">
+ <object type="Package" os_index="0" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz"/>
+ <object type="Cache" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-06]">
+ <object type="PCIDev" os_index="0" pci_busid="0000:00:00.0" pci_type="0600 [8086:3c00] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="16" bridge_type="1-1" depth="1" bridge_pci="0000:[01-01]" pci_busid="0000:00:01.0" pci_type="0604 [8086:3c02] [0000:0000] 07" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="17" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:01.1" pci_type="0604 [8086:3c03] [0000:0000] 07" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="8192" pci_busid="0000:02:00.0" pci_type="0200 [8086:1521] [1028:0000] 01" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="84:8f:69:fe:cc:40"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="8195" pci_busid="0000:02:00.3" pci_type="0200 [8086:1521] [1028:0000] 01" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="84:8f:69:fe:cc:41"/>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="32" pci_busid="0000:00:02.0" pci_type="0108 [8086:0953] [8086:3709] 01" pci_link_speed="0.000000">
+ <object type="OSDev" name="nvme0n1" osdev_type="0">
+ <info name="LinuxDeviceID" value="259:0"/>
+ <info name="Type" value="Disk"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="64" pci_busid="0000:00:04.0" pci_type="0880 [8086:3c20] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma0chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="65" pci_busid="0000:00:04.1" pci_type="0880 [8086:3c21] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma1chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="66" pci_busid="0000:00:04.2" pci_type="0880 [8086:3c22] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma2chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="67" pci_busid="0000:00:04.3" pci_type="0880 [8086:3c23] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma3chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="68" pci_busid="0000:00:04.4" pci_type="0880 [8086:3c24] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma4chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="69" pci_busid="0000:00:04.5" pci_type="0880 [8086:3c25] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma5chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="70" pci_busid="0000:00:04.6" pci_type="0880 [8086:3c26] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma6chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="71" pci_busid="0000:00:04.7" pci_type="0880 [8086:3c27] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma7chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="80" pci_busid="0000:00:05.0" pci_type="0880 [8086:3c28] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="82" pci_busid="0000:00:05.2" pci_type="0880 [8086:3c2a] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="84" pci_busid="0000:00:05.4" pci_type="0800 [8086:3c2c] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="272" bridge_type="1-1" depth="1" bridge_pci="0000:[03-03]" pci_busid="0000:00:11.0" pci_type="0604 [8086:1d3e] [0000:0000] 06" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="352" pci_busid="0000:00:16.0" pci_type="0780 [8086:1d3a] [1028:0518] 05" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="353" pci_busid="0000:00:16.1" pci_type="0780 [8086:1d3b] [1028:0518] 05" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="416" pci_busid="0000:00:1a.0" pci_type="0c03 [8086:1d2d] [1028:0518] 06" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="448" bridge_type="1-1" depth="1" bridge_pci="0000:[04-05]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:1d10] [0000:0000] b6" pci_link_speed="0.000000">
+ <object type="Bridge" os_index="16384" bridge_type="1-1" depth="2" bridge_pci="0000:[05-05]" pci_busid="0000:04:00.0" pci_type="0604 [1a03:1150] [0000:0000] 02" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="20480" pci_busid="0000:05:00.0" pci_type="0300 [1a03:2000] [1028:0518] 21" pci_link_speed="0.000000"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="464" pci_busid="0000:00:1d.0" pci_type="0c03 [8086:1d26] [1028:0518] 06" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="480" bridge_type="1-1" depth="1" bridge_pci="0000:[06-06]" pci_busid="0000:00:1e.0" pci_type="0604 [8086:244e] [0000:0000] a6" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="496" pci_busid="0000:00:1f.0" pci_type="0601 [8086:1d41] [1028:0518] 06" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="498" pci_busid="0000:00:1f.2" pci_type="0106 [8086:1d02] [1028:0518] 06" pci_link_speed="0.000000">
+ <object type="OSDev" name="sda" osdev_type="0">
+ <info name="LinuxDeviceID" value="8:0"/>
+ <info name="Model" value="MTFDDAK256MAM-1K12"/>
+ <info name="Revision" value="08TH"/>
+ <info name="SerialNumber" value="14090C05022B"/>
+ <info name="Type" value="Disk"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="499" pci_busid="0000:00:1f.3" pci_type="0c05 [8086:1d22] [1028:0518] 06" pci_link_speed="0.000000"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="17179869184">
+ <object type="Package" os_index="1" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz"/>
+ <object type="Cache" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0000:[80-83]">
+ <object type="Bridge" os_index="524320" bridge_type="1-1" depth="1" bridge_pci="0000:[81-81]" pci_busid="0000:80:02.0" pci_type="0604 [8086:3c04] [0000:0000] 07" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="524322" bridge_type="1-1" depth="1" bridge_pci="0000:[82-82]" pci_busid="0000:80:02.2" pci_type="0604 [8086:3c06] [0000:0000] 07" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="532480" pci_busid="0000:82:00.0" pci_type="0280 [15b3:1003] [15b3:0059] 00" pci_link_speed="0.000000">
+ <info name="PCISlot" value="01"/>
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:f9:bf:a1"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="mlx4_0" osdev_type="3">
+ <info name="NodeGUID" value="0002:c903:00f9:bfa0"/>
+ <info name="SysImageGUID" value="0002:c903:00f9:bfa3"/>
+ <info name="Port1State" value="4"/>
+ <info name="Port1LID" value="0x3a4"/>
+ <info name="Port1LMC" value="0"/>
+ <info name="Port1GID0" value="fe80:0000:0000:0000:0002:c903:00f9:bfa1"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="524336" bridge_type="1-1" depth="1" bridge_pci="0000:[83-83]" pci_busid="0000:80:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="536576" pci_busid="0000:83:00.0" pci_type="0b40 [8086:225c] [8086:2500] 10" pci_link_speed="0.000000">
+ <info name="PCISlot" value="02"/>
+ <object type="OSDev" name="mic0" osdev_type="5">
+ <info name="CoProcType" value="MIC"/>
+ <info name="MICFamily" value="Knights Corner"/>
+ <info name="MICSKU" value="ES2-P/A/X 1750"/>
+ <info name="MICSerialNumber" value="ADKC23500189"/>
+ <info name="MICActiveCores" value="61"/>
+ <info name="MICMemorySize" value="8126464"/>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="524352" pci_busid="0000:80:04.0" pci_type="0880 [8086:3c20] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma8chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524353" pci_busid="0000:80:04.1" pci_type="0880 [8086:3c21] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma9chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524354" pci_busid="0000:80:04.2" pci_type="0880 [8086:3c22] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma10chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524355" pci_busid="0000:80:04.3" pci_type="0880 [8086:3c23] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma11chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524356" pci_busid="0000:80:04.4" pci_type="0880 [8086:3c24] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma12chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524357" pci_busid="0000:80:04.5" pci_type="0880 [8086:3c25] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma13chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524358" pci_busid="0000:80:04.6" pci_type="0880 [8086:3c26] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma14chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524359" pci_busid="0000:80:04.7" pci_type="0880 [8086:3c27] [1028:0518] 07" pci_link_speed="0.000000">
+ <object type="OSDev" name="dma15chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524368" pci_busid="0000:80:05.0" pci_type="0880 [8086:3c28] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="524370" pci_busid="0000:80:05.2" pci_type="0880 [8086:3c2a] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="524372" pci_busid="0000:80:05.4" pci_type="0800 [8086:3c2c] [1028:0518] 07" pci_link_speed="0.000000"/>
+ </object>
+ </object>
+ <object type="Misc" os_index="0">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_A1 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="48AAE639"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Misc" os_index="1">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_A2 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="486AE620"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Misc" os_index="2">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_A3 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="3667956F"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Misc" os_index="3">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_A4 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="36679587"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Misc" os_index="12">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_B1 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="484AE61F"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Misc" os_index="13">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_B2 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="482AE655"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Misc" os_index="14">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_B3 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="488AE635"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Misc" os_index="15">
+ <info name="Type" value="MemoryModule"/>
+ <info name="DeviceLocation" value="DIMM_B4 "/>
+ <info name="Vendor" value="00AD04B300AD"/>
+ <info name="SerialNumber" value="48AAE621"/>
+ <info name="AssetTag" value="01115021"/>
+ <info name="PartNumber" value="HMT351R7CFR8C-PB "/>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0000:[7f-7f]">
+ <object type="PCIDev" os_index="520320" pci_busid="0000:7f:08.0" pci_type="0880 [8086:3c80] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520323" pci_busid="0000:7f:08.3" pci_type="0880 [8086:3c83] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520324" pci_busid="0000:7f:08.4" pci_type="0880 [8086:3c84] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520336" pci_busid="0000:7f:09.0" pci_type="0880 [8086:3c90] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520339" pci_busid="0000:7f:09.3" pci_type="0880 [8086:3c93] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520340" pci_busid="0000:7f:09.4" pci_type="0880 [8086:3c94] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520352" pci_busid="0000:7f:0a.0" pci_type="0880 [8086:3cc0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520353" pci_busid="0000:7f:0a.1" pci_type="0880 [8086:3cc1] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520354" pci_busid="0000:7f:0a.2" pci_type="0880 [8086:3cc2] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520355" pci_busid="0000:7f:0a.3" pci_type="0880 [8086:3cd0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520368" pci_busid="0000:7f:0b.0" pci_type="0880 [8086:3ce0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520371" pci_busid="0000:7f:0b.3" pci_type="0880 [8086:3ce3] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520384" pci_busid="0000:7f:0c.0" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520385" pci_busid="0000:7f:0c.1" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520386" pci_busid="0000:7f:0c.2" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520387" pci_busid="0000:7f:0c.3" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520390" pci_busid="0000:7f:0c.6" pci_type="0880 [8086:3cf4] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520391" pci_busid="0000:7f:0c.7" pci_type="0880 [8086:3cf6] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520400" pci_busid="0000:7f:0d.0" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520401" pci_busid="0000:7f:0d.1" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520402" pci_busid="0000:7f:0d.2" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520403" pci_busid="0000:7f:0d.3" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520406" pci_busid="0000:7f:0d.6" pci_type="0880 [8086:3cf5] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520416" pci_busid="0000:7f:0e.0" pci_type="0880 [8086:3ca0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520417" pci_busid="0000:7f:0e.1" pci_type="1101 [8086:3c46] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520432" pci_busid="0000:7f:0f.0" pci_type="0880 [8086:3ca8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520433" pci_busid="0000:7f:0f.1" pci_type="0880 [8086:3c71] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520434" pci_busid="0000:7f:0f.2" pci_type="0880 [8086:3caa] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520435" pci_busid="0000:7f:0f.3" pci_type="0880 [8086:3cab] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520436" pci_busid="0000:7f:0f.4" pci_type="0880 [8086:3cac] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520437" pci_busid="0000:7f:0f.5" pci_type="0880 [8086:3cad] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520438" pci_busid="0000:7f:0f.6" pci_type="0880 [8086:3cae] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520448" pci_busid="0000:7f:10.0" pci_type="0880 [8086:3cb0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520449" pci_busid="0000:7f:10.1" pci_type="0880 [8086:3cb1] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520450" pci_busid="0000:7f:10.2" pci_type="0880 [8086:3cb2] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520451" pci_busid="0000:7f:10.3" pci_type="0880 [8086:3cb3] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520452" pci_busid="0000:7f:10.4" pci_type="0880 [8086:3cb4] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520453" pci_busid="0000:7f:10.5" pci_type="0880 [8086:3cb5] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520454" pci_busid="0000:7f:10.6" pci_type="0880 [8086:3cb6] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520455" pci_busid="0000:7f:10.7" pci_type="0880 [8086:3cb7] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520464" pci_busid="0000:7f:11.0" pci_type="0880 [8086:3cb8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520496" pci_busid="0000:7f:13.0" pci_type="0880 [8086:3ce4] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520497" pci_busid="0000:7f:13.1" pci_type="1101 [8086:3c43] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520500" pci_busid="0000:7f:13.4" pci_type="1101 [8086:3ce6] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520501" pci_busid="0000:7f:13.5" pci_type="1101 [8086:3c44] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="520502" pci_busid="0000:7f:13.6" pci_type="0880 [8086:3c45] [1028:0518] 07" pci_link_speed="0.000000"/>
+ </object>
+ <object type="Bridge" os_index="3" bridge_type="0-1" depth="0" bridge_pci="0000:[ff-ff]">
+ <object type="PCIDev" os_index="1044608" pci_busid="0000:ff:08.0" pci_type="0880 [8086:3c80] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044611" pci_busid="0000:ff:08.3" pci_type="0880 [8086:3c83] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044612" pci_busid="0000:ff:08.4" pci_type="0880 [8086:3c84] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044624" pci_busid="0000:ff:09.0" pci_type="0880 [8086:3c90] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044627" pci_busid="0000:ff:09.3" pci_type="0880 [8086:3c93] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044628" pci_busid="0000:ff:09.4" pci_type="0880 [8086:3c94] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044640" pci_busid="0000:ff:0a.0" pci_type="0880 [8086:3cc0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044641" pci_busid="0000:ff:0a.1" pci_type="0880 [8086:3cc1] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044642" pci_busid="0000:ff:0a.2" pci_type="0880 [8086:3cc2] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044643" pci_busid="0000:ff:0a.3" pci_type="0880 [8086:3cd0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044656" pci_busid="0000:ff:0b.0" pci_type="0880 [8086:3ce0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044659" pci_busid="0000:ff:0b.3" pci_type="0880 [8086:3ce3] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044672" pci_busid="0000:ff:0c.0" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044673" pci_busid="0000:ff:0c.1" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044674" pci_busid="0000:ff:0c.2" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044675" pci_busid="0000:ff:0c.3" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044678" pci_busid="0000:ff:0c.6" pci_type="0880 [8086:3cf4] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044679" pci_busid="0000:ff:0c.7" pci_type="0880 [8086:3cf6] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044688" pci_busid="0000:ff:0d.0" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044689" pci_busid="0000:ff:0d.1" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044690" pci_busid="0000:ff:0d.2" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044691" pci_busid="0000:ff:0d.3" pci_type="0880 [8086:3ce8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044694" pci_busid="0000:ff:0d.6" pci_type="0880 [8086:3cf5] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044704" pci_busid="0000:ff:0e.0" pci_type="0880 [8086:3ca0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044705" pci_busid="0000:ff:0e.1" pci_type="1101 [8086:3c46] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044720" pci_busid="0000:ff:0f.0" pci_type="0880 [8086:3ca8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044721" pci_busid="0000:ff:0f.1" pci_type="0880 [8086:3c71] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044722" pci_busid="0000:ff:0f.2" pci_type="0880 [8086:3caa] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044723" pci_busid="0000:ff:0f.3" pci_type="0880 [8086:3cab] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044724" pci_busid="0000:ff:0f.4" pci_type="0880 [8086:3cac] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044725" pci_busid="0000:ff:0f.5" pci_type="0880 [8086:3cad] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044726" pci_busid="0000:ff:0f.6" pci_type="0880 [8086:3cae] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044736" pci_busid="0000:ff:10.0" pci_type="0880 [8086:3cb0] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044737" pci_busid="0000:ff:10.1" pci_type="0880 [8086:3cb1] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044738" pci_busid="0000:ff:10.2" pci_type="0880 [8086:3cb2] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044739" pci_busid="0000:ff:10.3" pci_type="0880 [8086:3cb3] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044740" pci_busid="0000:ff:10.4" pci_type="0880 [8086:3cb4] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044741" pci_busid="0000:ff:10.5" pci_type="0880 [8086:3cb5] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044742" pci_busid="0000:ff:10.6" pci_type="0880 [8086:3cb6] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044743" pci_busid="0000:ff:10.7" pci_type="0880 [8086:3cb7] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044752" pci_busid="0000:ff:11.0" pci_type="0880 [8086:3cb8] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044784" pci_busid="0000:ff:13.0" pci_type="0880 [8086:3ce4] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044785" pci_busid="0000:ff:13.1" pci_type="1101 [8086:3c43] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044788" pci_busid="0000:ff:13.4" pci_type="1101 [8086:3ce6] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044789" pci_busid="0000:ff:13.5" pci_type="1101 [8086:3c44] [1028:0518] 07" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="1044790" pci_busid="0000:ff:13.6" pci_type="0880 [8086:3c45] [1028:0518] 07" pci_link_speed="0.000000"/>
+ </object>
+ </object>
+</topology>
--- /dev/null
+Machine (P#0 total=129236992KB PlatformName=pSeries PlatformModel="CHRP IBM,9125-F2A" Backend=Linux Architecture=ppc)
+ NUMANode L#0 (P#0 local=31195136KB total=31195136KB)
+ L3Cache L#0 (size=32768KB linesize=128)
+ L2Cache L#0 (size=4096KB linesize=128 ways=8)
+ L1dCache L#0 (size=64KB linesize=128 ways=8)
+ L1iCache L#0 (size=64KB linesize=128 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L1dCache L#1 (size=64KB linesize=128 ways=8)
+ L1iCache L#1 (size=64KB linesize=128 ways=4)
+ Core L#1 (P#2)
+ PU L#1 (P#2)
+ L3Cache L#1 (size=32768KB linesize=128)
+ L2Cache L#1 (size=4096KB linesize=128 ways=8)
+ L1dCache L#2 (size=64KB linesize=128 ways=8)
+ L1iCache L#2 (size=64KB linesize=128 ways=4)
+ Core L#2 (P#4)
+ PU L#2 (P#4)
+ L1dCache L#3 (size=64KB linesize=128 ways=8)
+ L1iCache L#3 (size=64KB linesize=128 ways=4)
+ Core L#3 (P#6)
+ PU L#3 (P#6)
+ L3Cache L#2 (size=32768KB linesize=128)
+ L2Cache L#2 (size=4096KB linesize=128 ways=8)
+ L1dCache L#4 (size=64KB linesize=128 ways=8)
+ L1iCache L#4 (size=64KB linesize=128 ways=4)
+ Core L#4 (P#8)
+ PU L#4 (P#8)
+ L1dCache L#5 (size=64KB linesize=128 ways=8)
+ L1iCache L#5 (size=64KB linesize=128 ways=4)
+ Core L#5 (P#10)
+ PU L#5 (P#10)
+ L3Cache L#3 (size=32768KB linesize=128)
+ L2Cache L#3 (size=4096KB linesize=128 ways=8)
+ L1dCache L#6 (size=64KB linesize=128 ways=8)
+ L1iCache L#6 (size=64KB linesize=128 ways=4)
+ Core L#6 (P#12)
+ PU L#6 (P#12)
+ L1dCache L#7 (size=64KB linesize=128 ways=8)
+ L1iCache L#7 (size=64KB linesize=128 ways=4)
+ Core L#7 (P#14)
+ PU L#7 (P#14)
+ NUMANode L#1 (P#1 local=32768000KB total=32768000KB)
+ L3Cache L#4 (size=32768KB linesize=128)
+ L2Cache L#4 (size=4096KB linesize=128 ways=8)
+ L1dCache L#8 (size=64KB linesize=128 ways=8)
+ L1iCache L#8 (size=64KB linesize=128 ways=4)
+ Core L#8 (P#16)
+ PU L#8 (P#16)
+ L1dCache L#9 (size=64KB linesize=128 ways=8)
+ L1iCache L#9 (size=64KB linesize=128 ways=4)
+ Core L#9 (P#18)
+ PU L#9 (P#18)
+ L3Cache L#5 (size=32768KB linesize=128)
+ L2Cache L#5 (size=4096KB linesize=128 ways=8)
+ L1dCache L#10 (size=64KB linesize=128 ways=8)
+ L1iCache L#10 (size=64KB linesize=128 ways=4)
+ Core L#10 (P#20)
+ PU L#10 (P#20)
+ L1dCache L#11 (size=64KB linesize=128 ways=8)
+ L1iCache L#11 (size=64KB linesize=128 ways=4)
+ Core L#11 (P#22)
+ PU L#11 (P#22)
+ L3Cache L#6 (size=32768KB linesize=128)
+ L2Cache L#6 (size=4096KB linesize=128 ways=8)
+ L1dCache L#12 (size=64KB linesize=128 ways=8)
+ L1iCache L#12 (size=64KB linesize=128 ways=4)
+ Core L#12 (P#24)
+ PU L#12 (P#24)
+ L1dCache L#13 (size=64KB linesize=128 ways=8)
+ L1iCache L#13 (size=64KB linesize=128 ways=4)
+ Core L#13 (P#26)
+ PU L#13 (P#26)
+ L3Cache L#7 (size=32768KB linesize=128)
+ L2Cache L#7 (size=4096KB linesize=128 ways=8)
+ L1dCache L#14 (size=64KB linesize=128 ways=8)
+ L1iCache L#14 (size=64KB linesize=128 ways=4)
+ Core L#14 (P#28)
+ PU L#14 (P#28)
+ L1dCache L#15 (size=64KB linesize=128 ways=8)
+ L1iCache L#15 (size=64KB linesize=128 ways=4)
+ Core L#15 (P#30)
+ PU L#15 (P#30)
+ NUMANode L#2 (P#2 local=32768000KB total=32768000KB)
+ L3Cache L#8 (size=32768KB linesize=128)
+ L2Cache L#8 (size=4096KB linesize=128 ways=8)
+ L1dCache L#16 (size=64KB linesize=128 ways=8)
+ L1iCache L#16 (size=64KB linesize=128 ways=4)
+ Core L#16 (P#32)
+ PU L#16 (P#32)
+ L1dCache L#17 (size=64KB linesize=128 ways=8)
+ L1iCache L#17 (size=64KB linesize=128 ways=4)
+ Core L#17 (P#34)
+ PU L#17 (P#34)
+ L3Cache L#9 (size=32768KB linesize=128)
+ L2Cache L#9 (size=4096KB linesize=128 ways=8)
+ L1dCache L#18 (size=64KB linesize=128 ways=8)
+ L1iCache L#18 (size=64KB linesize=128 ways=4)
+ Core L#18 (P#36)
+ PU L#18 (P#36)
+ L1dCache L#19 (size=64KB linesize=128 ways=8)
+ L1iCache L#19 (size=64KB linesize=128 ways=4)
+ Core L#19 (P#38)
+ PU L#19 (P#38)
+ L3Cache L#10 (size=32768KB linesize=128)
+ L2Cache L#10 (size=4096KB linesize=128 ways=8)
+ L1dCache L#20 (size=64KB linesize=128 ways=8)
+ L1iCache L#20 (size=64KB linesize=128 ways=4)
+ Core L#20 (P#40)
+ PU L#20 (P#40)
+ L1dCache L#21 (size=64KB linesize=128 ways=8)
+ L1iCache L#21 (size=64KB linesize=128 ways=4)
+ Core L#21 (P#42)
+ PU L#21 (P#42)
+ L3Cache L#11 (size=32768KB linesize=128)
+ L2Cache L#11 (size=4096KB linesize=128 ways=8)
+ L1dCache L#22 (size=64KB linesize=128 ways=8)
+ L1iCache L#22 (size=64KB linesize=128 ways=4)
+ Core L#22 (P#44)
+ PU L#22 (P#44)
+ L1dCache L#23 (size=64KB linesize=128 ways=8)
+ L1iCache L#23 (size=64KB linesize=128 ways=4)
+ Core L#23 (P#46)
+ PU L#23 (P#46)
+ NUMANode L#3 (P#3 local=32505856KB total=32505856KB)
+ L3Cache L#12 (size=32768KB linesize=128)
+ L2Cache L#12 (size=4096KB linesize=128 ways=8)
+ L1dCache L#24 (size=64KB linesize=128 ways=8)
+ L1iCache L#24 (size=64KB linesize=128 ways=4)
+ Core L#24 (P#48)
+ PU L#24 (P#48)
+ L1dCache L#25 (size=64KB linesize=128 ways=8)
+ L1iCache L#25 (size=64KB linesize=128 ways=4)
+ Core L#25 (P#50)
+ PU L#25 (P#50)
+ L3Cache L#13 (size=32768KB linesize=128)
+ L2Cache L#13 (size=4096KB linesize=128 ways=8)
+ L1dCache L#26 (size=64KB linesize=128 ways=8)
+ L1iCache L#26 (size=64KB linesize=128 ways=4)
+ Core L#26 (P#52)
+ PU L#26 (P#52)
+ L1dCache L#27 (size=64KB linesize=128 ways=8)
+ L1iCache L#27 (size=64KB linesize=128 ways=4)
+ Core L#27 (P#54)
+ PU L#27 (P#54)
+ L3Cache L#14 (size=32768KB linesize=128)
+ L2Cache L#14 (size=4096KB linesize=128 ways=8)
+ L1dCache L#28 (size=64KB linesize=128 ways=8)
+ L1iCache L#28 (size=64KB linesize=128 ways=4)
+ Core L#28 (P#56)
+ PU L#28 (P#56)
+ L1dCache L#29 (size=64KB linesize=128 ways=8)
+ L1iCache L#29 (size=64KB linesize=128 ways=4)
+ Core L#29 (P#58)
+ PU L#29 (P#58)
+ L3Cache L#15 (size=32768KB linesize=128)
+ L2Cache L#15 (size=4096KB linesize=128 ways=8)
+ L1dCache L#30 (size=64KB linesize=128 ways=8)
+ L1iCache L#30 (size=64KB linesize=128 ways=4)
+ Core L#30 (P#60)
+ PU L#30 (P#60)
+ L1dCache L#31 (size=64KB linesize=128 ways=8)
+ L1iCache L#31 (size=64KB linesize=128 ways=4)
+ Core L#31 (P#62)
+ PU L#31 (P#62)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 NUMANode (type #2)
+ depth 2: 16 L3Cache (type #4)
+ depth 3: 16 L2Cache (type #4)
+ depth 4: 32 L1dCache (type #4)
+ depth 5: 32 L1iCache (type #4)
+ depth 6: 32 Core (type #5)
+ depth 7: 32 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 2.000 2.000 2.000
+ 1 2.000 1.000 2.000 2.000
+ 2 2.000 2.000 1.000 2.000
+ 3 2.000 2.000 2.000 1.000
+Topology not from this system
--- /dev/null
+HWLOC_PCI_0000_00_LOCALCPUS=0x00000055,0x55555555
+export HWLOC_PCI_0000_00_LOCALCPUS
+HWLOC_PCI_0000_40_LOCALCPUS=0x000000aa,0xaaaaaaaa
+export HWLOC_PCI_0000_40_LOCALCPUS
--- /dev/null
+-v --of xml --whole-io
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x000000ff,0xffffffff" complete_cpuset="0x000000ff,0xffffffff" online_cpuset="0x000000ff,0xffffffff" allowed_cpuset="0x000000ff,0xffffffff" nodeset="0x0000000f" complete_nodeset="0x0000000f" allowed_nodeset="0x0000000f">
+ <info name="DMIProductName" value="PowerEdge R910"/>
+ <info name="DMIProductVersion" value=""/>
+ <info name="DMIBoardVendor" value="Dell Inc."/>
+ <info name="DMIBoardName" value="0JRJM9"/>
+ <info name="DMIBoardVersion" value="A02"/>
+ <info name="DMIBoardAssetTag" value=""/>
+ <info name="DMIChassisVendor" value="Dell Inc."/>
+ <info name="DMIChassisType" value="23"/>
+ <info name="DMIChassisVersion" value=""/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="2.5.0"/>
+ <info name="DMIBIOSDate" value="10/26/2011"/>
+ <info name="DMISysVendor" value="Dell Inc."/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/torque/513099.master.cm.cluster"/>
+ <distances nbobjs="4" relative_depth="2" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x00000055,0x55555555" complete_cpuset="0x00000055,0x55555555" online_cpuset="0x00000055,0x55555555" allowed_cpuset="0x00000055,0x55555555" nodeset="0x00000005" complete_nodeset="0x00000005" allowed_nodeset="0x00000005" depth="4294967295">
+ <object type="NUMANode" os_index="0" cpuset="0x00000011,0x11111111" complete_cpuset="0x00000011,0x11111111" online_cpuset="0x00000011,0x11111111" allowed_cpuset="0x00000011,0x11111111" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="137425154048">
+ <object type="Package" os_index="0" cpuset="0x00000011,0x11111111" complete_cpuset="0x00000011,0x11111111" online_cpuset="0x00000011,0x11111111" allowed_cpuset="0x00000011,0x11111111" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E7- 4870 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00000011,0x11111111" complete_cpuset="0x00000011,0x11111111" online_cpuset="0x00000011,0x11111111" allowed_cpuset="0x00000011,0x11111111" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="31457280" depth="3" cache_linesize="64" cache_associativity="24" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="8" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="9" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="16" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="17" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="18" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="24" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="32" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="25" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="36" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="2" cpuset="0x00000044,0x44444444" complete_cpuset="0x00000044,0x44444444" online_cpuset="0x00000044,0x44444444" allowed_cpuset="0x00000044,0x44444444" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="137438953472">
+ <object type="Package" os_index="2" cpuset="0x00000044,0x44444444" complete_cpuset="0x00000044,0x44444444" online_cpuset="0x00000044,0x44444444" allowed_cpuset="0x00000044,0x44444444" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E7- 4870 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00000044,0x44444444" complete_cpuset="0x00000044,0x44444444" online_cpuset="0x00000044,0x44444444" allowed_cpuset="0x00000044,0x44444444" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="31457280" depth="3" cache_linesize="64" cache_associativity="24" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="8" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="9" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="16" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="17" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="18" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="24" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="34" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="25" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="38" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-09]">
+ <object type="PCIDev" os_index="0" pci_busid="0000:00:00.0" pci_type="0600 [8086:3407] [1028:02d3] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="48" bridge_type="1-1" depth="1" bridge_pci="0000:[01-01]" pci_busid="0000:00:03.0" pci_type="0604 [8086:340a] [0000:0000] 22" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="4096" pci_busid="0000:01:00.0" pci_type="0104 [1000:0079] [1028:1f17] 05" pci_link_speed="0.000000">
+ <object type="OSDev" name="sda" osdev_type="0">
+ <info name="LinuxDeviceID" value="8:0"/>
+ <info name="Type" value="Other"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="80" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:05.0" pci_type="0604 [8086:340c] [0000:0000] 22" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="8192" pci_busid="0000:02:00.0" pci_type="0200 [14e4:1639] [1028:02d3] 20" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="78:2b:cb:38:ac:1b"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="8193" pci_busid="0000:02:00.1" pci_type="0200 [14e4:1639] [1028:02d3] 20" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="78:2b:cb:38:ac:1d"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="96" bridge_type="1-1" depth="1" bridge_pci="0000:[03-03]" pci_busid="0000:00:06.0" pci_type="0604 [8086:340d] [0000:0000] 22" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="12288" pci_busid="0000:03:00.0" pci_type="0200 [14e4:1639] [1028:02d3] 20" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth2" osdev_type="2">
+ <info name="Address" value="78:2b:cb:38:ac:1f"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="12289" pci_busid="0000:03:00.1" pci_type="0200 [14e4:1639] [1028:02d3] 20" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth3" osdev_type="2">
+ <info name="Address" value="78:2b:cb:38:ac:21"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="112" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:00:07.0" pci_type="0604 [8086:340e] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="128" bridge_type="1-1" depth="1" bridge_pci="0000:[05-05]" pci_busid="0000:00:08.0" pci_type="0604 [8086:340f] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="144" bridge_type="1-1" depth="1" bridge_pci="0000:[06-06]" pci_busid="0000:00:09.0" pci_type="0604 [8086:3410] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="160" bridge_type="1-1" depth="1" bridge_pci="0000:[07-07]" pci_busid="0000:00:0a.0" pci_type="0604 [8086:3411] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="320" pci_busid="0000:00:14.0" pci_type="0800 [8086:342e] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="321" pci_busid="0000:00:14.1" pci_type="0800 [8086:3422] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="322" pci_busid="0000:00:14.2" pci_type="0800 [8086:3423] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="416" pci_busid="0000:00:1a.0" pci_type="0c03 [8086:3a37] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="417" pci_busid="0000:00:1a.1" pci_type="0c03 [8086:3a38] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="423" pci_busid="0000:00:1a.7" pci_type="0c03 [8086:3a3c] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="448" bridge_type="1-1" depth="1" bridge_pci="0000:[08-08]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:3a40] [0000:0000] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="464" pci_busid="0000:00:1d.0" pci_type="0c03 [8086:3a34] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="465" pci_busid="0000:00:1d.1" pci_type="0c03 [8086:3a35] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="466" pci_busid="0000:00:1d.2" pci_type="0c03 [8086:3a36] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="471" pci_busid="0000:00:1d.7" pci_type="0c03 [8086:3a3a] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="480" bridge_type="1-1" depth="1" bridge_pci="0000:[09-09]" pci_busid="0000:00:1e.0" pci_type="0604 [8086:244e] [0000:0000] 90" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="36912" pci_busid="0000:09:03.0" pci_type="0300 [102b:0532] [1028:02d3] 0a" pci_link_speed="0.000000"/>
+ </object>
+ <object type="PCIDev" os_index="496" pci_busid="0000:00:1f.0" pci_type="0601 [8086:3a18] [1028:02d3] 00" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="498" pci_busid="0000:00:1f.2" pci_type="0101 [8086:3a20] [1028:02d3] 00" pci_link_speed="0.000000">
+ <object type="OSDev" name="sr0" osdev_type="0">
+ <info name="LinuxDeviceID" value="11:0"/>
+ <info name="Type" value="Other"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x000000aa,0xaaaaaaaa" complete_cpuset="0x000000aa,0xaaaaaaaa" online_cpuset="0x000000aa,0xaaaaaaaa" allowed_cpuset="0x000000aa,0xaaaaaaaa" nodeset="0x0000000a" complete_nodeset="0x0000000a" allowed_nodeset="0x0000000a" depth="4294967295">
+ <object type="NUMANode" os_index="1" cpuset="0x00000022,0x22222222" complete_cpuset="0x00000022,0x22222222" online_cpuset="0x00000022,0x22222222" allowed_cpuset="0x00000022,0x22222222" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="137438953472">
+ <object type="Package" os_index="1" cpuset="0x00000022,0x22222222" complete_cpuset="0x00000022,0x22222222" online_cpuset="0x00000022,0x22222222" allowed_cpuset="0x00000022,0x22222222" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E7- 4870 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00000022,0x22222222" complete_cpuset="0x00000022,0x22222222" online_cpuset="0x00000022,0x22222222" allowed_cpuset="0x00000022,0x22222222" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="31457280" depth="3" cache_linesize="64" cache_associativity="24" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="8" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="9" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="16" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="17" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="18" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="24" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="33" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="25" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="37" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0x00000088,0x88888888" complete_cpuset="0x00000088,0x88888888" online_cpuset="0x00000088,0x88888888" allowed_cpuset="0x00000088,0x88888888" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="137438953472">
+ <object type="Package" os_index="3" cpuset="0x00000088,0x88888888" complete_cpuset="0x00000088,0x88888888" online_cpuset="0x00000088,0x88888888" allowed_cpuset="0x00000088,0x88888888" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E7- 4870 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00000088,0x88888888" complete_cpuset="0x00000088,0x88888888" online_cpuset="0x00000088,0x88888888" allowed_cpuset="0x00000088,0x88888888" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="31457280" depth="3" cache_linesize="64" cache_associativity="24" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="8" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="9" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="16" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="17" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="18" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="24" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="35" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="25" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="39" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0000:[40-46]">
+ <object type="Bridge" os_index="262160" bridge_type="1-1" depth="1" bridge_pci="0000:[42-42]" pci_busid="0000:40:01.0" pci_type="0604 [8086:3408] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="262192" bridge_type="1-1" depth="1" bridge_pci="0000:[43-43]" pci_busid="0000:40:03.0" pci_type="0604 [8086:340a] [0000:0000] 22" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="274432" pci_busid="0000:43:00.0" pci_type="0c06 [1077:7322] [1077:7322] 02" pci_link_speed="0.000000">
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:03:fe:80:00:00:00:00:00:00:00:11:75:00:00:77:cf:c8"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="qib0" osdev_type="3">
+ <info name="NodeGUID" value="0011:7500:0077:cfc8"/>
+ <info name="SysImageGUID" value="0011:7500:0077:cfc8"/>
+ <info name="Port1State" value="4"/>
+ <info name="Port1LID" value="0x12a"/>
+ <info name="Port1LMC" value="0"/>
+ <info name="Port1GID0" value="fe80:0000:0000:0000:0011:7500:0077:cfc8"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="262224" bridge_type="1-1" depth="1" bridge_pci="0000:[44-44]" pci_busid="0000:40:05.0" pci_type="0604 [8086:340c] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="262256" bridge_type="1-1" depth="1" bridge_pci="0000:[45-45]" pci_busid="0000:40:07.0" pci_type="0604 [8086:340e] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="Bridge" os_index="262288" bridge_type="1-1" depth="1" bridge_pci="0000:[46-46]" pci_busid="0000:40:09.0" pci_type="0604 [8086:3410] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="262464" pci_busid="0000:40:14.0" pci_type="0800 [8086:342e] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="262465" pci_busid="0000:40:14.1" pci_type="0800 [8086:3422] [0000:0000] 22" pci_link_speed="0.000000"/>
+ <object type="PCIDev" os_index="262466" pci_busid="0000:40:14.2" pci_type="0800 [8086:3423] [0000:0000] 22" pci_link_speed="0.000000"/>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+HWLOC_HIDE_ERRORS=1
+export HWLOC_HIDE_ERRORS
+HWLOC_PU_DISTANCES=0,1,2,3:2*2
+export HWLOC_PU_DISTANCES
+HWLOC_NUMANode_DISTANCES=0,1,2,3:2*2
+export HWLOC_NUMANode_DISTANCES
--- /dev/null
+Machine (P#0 total=536857436KB Backend=Linux LinuxCgroup=/torque/513099.master.cm.cluster)
+ Group0 L#0 (total=268421980KB)
+ NUMANode L#0 (P#0 local=134204252KB total=134204252KB)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(R) CPU E7- 4870 @ 2.40GHz")
+ L3Cache L#0 (size=30720KB linesize=64 ways=24)
+ L2Cache L#0 (size=256KB linesize=64 ways=8)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=256KB linesize=64 ways=8)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=4)
+ Core L#1 (P#1)
+ PU L#1 (P#4)
+ L2Cache L#2 (size=256KB linesize=64 ways=8)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=4)
+ Core L#2 (P#2)
+ PU L#2 (P#8)
+ L2Cache L#3 (size=256KB linesize=64 ways=8)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=4)
+ Core L#3 (P#8)
+ PU L#3 (P#12)
+ L2Cache L#4 (size=256KB linesize=64 ways=8)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=4)
+ Core L#4 (P#9)
+ PU L#4 (P#16)
+ L2Cache L#5 (size=256KB linesize=64 ways=8)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=4)
+ Core L#5 (P#16)
+ PU L#5 (P#20)
+ L2Cache L#6 (size=256KB linesize=64 ways=8)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=4)
+ Core L#6 (P#17)
+ PU L#6 (P#24)
+ L2Cache L#7 (size=256KB linesize=64 ways=8)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=4)
+ Core L#7 (P#18)
+ PU L#7 (P#28)
+ L2Cache L#8 (size=256KB linesize=64 ways=8)
+ L1dCache L#8 (size=32KB linesize=64 ways=8)
+ L1iCache L#8 (size=32KB linesize=64 ways=4)
+ Core L#8 (P#24)
+ PU L#8 (P#32)
+ L2Cache L#9 (size=256KB linesize=64 ways=8)
+ L1dCache L#9 (size=32KB linesize=64 ways=8)
+ L1iCache L#9 (size=32KB linesize=64 ways=4)
+ Core L#9 (P#25)
+ PU L#9 (P#36)
+ NUMANode L#1 (P#1 local=134217728KB total=134217728KB)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(R) CPU E7- 4870 @ 2.40GHz")
+ L3Cache L#1 (size=30720KB linesize=64 ways=24)
+ L2Cache L#10 (size=256KB linesize=64 ways=8)
+ L1dCache L#10 (size=32KB linesize=64 ways=8)
+ L1iCache L#10 (size=32KB linesize=64 ways=4)
+ Core L#10 (P#0)
+ PU L#10 (P#1)
+ L2Cache L#11 (size=256KB linesize=64 ways=8)
+ L1dCache L#11 (size=32KB linesize=64 ways=8)
+ L1iCache L#11 (size=32KB linesize=64 ways=4)
+ Core L#11 (P#1)
+ PU L#11 (P#5)
+ L2Cache L#12 (size=256KB linesize=64 ways=8)
+ L1dCache L#12 (size=32KB linesize=64 ways=8)
+ L1iCache L#12 (size=32KB linesize=64 ways=4)
+ Core L#12 (P#2)
+ PU L#12 (P#9)
+ L2Cache L#13 (size=256KB linesize=64 ways=8)
+ L1dCache L#13 (size=32KB linesize=64 ways=8)
+ L1iCache L#13 (size=32KB linesize=64 ways=4)
+ Core L#13 (P#8)
+ PU L#13 (P#13)
+ L2Cache L#14 (size=256KB linesize=64 ways=8)
+ L1dCache L#14 (size=32KB linesize=64 ways=8)
+ L1iCache L#14 (size=32KB linesize=64 ways=4)
+ Core L#14 (P#9)
+ PU L#14 (P#17)
+ L2Cache L#15 (size=256KB linesize=64 ways=8)
+ L1dCache L#15 (size=32KB linesize=64 ways=8)
+ L1iCache L#15 (size=32KB linesize=64 ways=4)
+ Core L#15 (P#16)
+ PU L#15 (P#21)
+ L2Cache L#16 (size=256KB linesize=64 ways=8)
+ L1dCache L#16 (size=32KB linesize=64 ways=8)
+ L1iCache L#16 (size=32KB linesize=64 ways=4)
+ Core L#16 (P#17)
+ PU L#16 (P#25)
+ L2Cache L#17 (size=256KB linesize=64 ways=8)
+ L1dCache L#17 (size=32KB linesize=64 ways=8)
+ L1iCache L#17 (size=32KB linesize=64 ways=4)
+ Core L#17 (P#18)
+ PU L#17 (P#29)
+ L2Cache L#18 (size=256KB linesize=64 ways=8)
+ L1dCache L#18 (size=32KB linesize=64 ways=8)
+ L1iCache L#18 (size=32KB linesize=64 ways=4)
+ Core L#18 (P#24)
+ PU L#18 (P#33)
+ L2Cache L#19 (size=256KB linesize=64 ways=8)
+ L1dCache L#19 (size=32KB linesize=64 ways=8)
+ L1iCache L#19 (size=32KB linesize=64 ways=4)
+ Core L#19 (P#25)
+ PU L#19 (P#37)
+ Group0 L#1 (total=268435456KB)
+ NUMANode L#2 (P#2 local=134217728KB total=134217728KB)
+ Package L#2 (P#2 CPUModel="Intel(R) Xeon(R) CPU E7- 4870 @ 2.40GHz")
+ L2Cache L#20 (size=256KB linesize=64 ways=8)
+ L1dCache L#20 (size=32KB linesize=64 ways=8)
+ L1iCache L#20 (size=32KB linesize=64 ways=4)
+ Core L#20 (P#0)
+ PU L#20 (P#2)
+ L2Cache L#21 (size=256KB linesize=64 ways=8)
+ L1dCache L#21 (size=32KB linesize=64 ways=8)
+ L1iCache L#21 (size=32KB linesize=64 ways=4)
+ Core L#21 (P#1)
+ PU L#21 (P#6)
+ L2Cache L#22 (size=256KB linesize=64 ways=8)
+ L1dCache L#22 (size=32KB linesize=64 ways=8)
+ L1iCache L#22 (size=32KB linesize=64 ways=4)
+ Core L#22 (P#2)
+ PU L#22 (P#10)
+ L2Cache L#23 (size=256KB linesize=64 ways=8)
+ L1dCache L#23 (size=32KB linesize=64 ways=8)
+ L1iCache L#23 (size=32KB linesize=64 ways=4)
+ Core L#23 (P#8)
+ PU L#23 (P#14)
+ L2Cache L#24 (size=256KB linesize=64 ways=8)
+ L1dCache L#24 (size=32KB linesize=64 ways=8)
+ L1iCache L#24 (size=32KB linesize=64 ways=4)
+ Core L#24 (P#9)
+ PU L#24 (P#18)
+ L2Cache L#25 (size=256KB linesize=64 ways=8)
+ L1dCache L#25 (size=32KB linesize=64 ways=8)
+ L1iCache L#25 (size=32KB linesize=64 ways=4)
+ Core L#25 (P#16)
+ PU L#25 (P#22)
+ L2Cache L#26 (size=256KB linesize=64 ways=8)
+ L1dCache L#26 (size=32KB linesize=64 ways=8)
+ L1iCache L#26 (size=32KB linesize=64 ways=4)
+ Core L#26 (P#17)
+ PU L#26 (P#26)
+ L2Cache L#27 (size=256KB linesize=64 ways=8)
+ L1dCache L#27 (size=32KB linesize=64 ways=8)
+ L1iCache L#27 (size=32KB linesize=64 ways=4)
+ Core L#27 (P#18)
+ PU L#27 (P#30)
+ L2Cache L#28 (size=256KB linesize=64 ways=8)
+ L1dCache L#28 (size=32KB linesize=64 ways=8)
+ L1iCache L#28 (size=32KB linesize=64 ways=4)
+ Core L#28 (P#24)
+ PU L#28 (P#34)
+ L2Cache L#29 (size=256KB linesize=64 ways=8)
+ L1dCache L#29 (size=32KB linesize=64 ways=8)
+ L1iCache L#29 (size=32KB linesize=64 ways=4)
+ Core L#29 (P#25)
+ PU L#29 (P#38)
+ NUMANode L#3 (P#3 local=134217728KB total=134217728KB)
+ L3Cache L#2 (size=30720KB linesize=64 ways=24)
+ L2Cache L#30 (size=256KB linesize=64 ways=8)
+ L1dCache L#30 (size=32KB linesize=64 ways=8)
+ L1iCache L#30 (size=32KB linesize=64 ways=4)
+ Core L#30 (P#0)
+ PU L#30 (P#3)
+ L2Cache L#31 (size=256KB linesize=64 ways=8)
+ L1dCache L#31 (size=32KB linesize=64 ways=8)
+ L1iCache L#31 (size=32KB linesize=64 ways=4)
+ Core L#31 (P#1)
+ PU L#31 (P#7)
+ L2Cache L#32 (size=256KB linesize=64 ways=8)
+ L1dCache L#32 (size=32KB linesize=64 ways=8)
+ L1iCache L#32 (size=32KB linesize=64 ways=4)
+ Core L#32 (P#2)
+ PU L#32 (P#11)
+ L2Cache L#33 (size=256KB linesize=64 ways=8)
+ L1dCache L#33 (size=32KB linesize=64 ways=8)
+ L1iCache L#33 (size=32KB linesize=64 ways=4)
+ Core L#33 (P#8)
+ PU L#33 (P#15)
+ L2Cache L#34 (size=256KB linesize=64 ways=8)
+ L1dCache L#34 (size=32KB linesize=64 ways=8)
+ L1iCache L#34 (size=32KB linesize=64 ways=4)
+ Core L#34 (P#9)
+ PU L#34 (P#19)
+ L2Cache L#35 (size=256KB linesize=64 ways=8)
+ L1dCache L#35 (size=32KB linesize=64 ways=8)
+ L1iCache L#35 (size=32KB linesize=64 ways=4)
+ Core L#35 (P#16)
+ PU L#35 (P#23)
+ L2Cache L#36 (size=256KB linesize=64 ways=8)
+ L1dCache L#36 (size=32KB linesize=64 ways=8)
+ L1iCache L#36 (size=32KB linesize=64 ways=4)
+ Core L#36 (P#17)
+ PU L#36 (P#27)
+ L2Cache L#37 (size=256KB linesize=64 ways=8)
+ L1dCache L#37 (size=32KB linesize=64 ways=8)
+ L1iCache L#37 (size=32KB linesize=64 ways=4)
+ Core L#37 (P#18)
+ PU L#37 (P#31)
+ L2Cache L#38 (size=256KB linesize=64 ways=8)
+ L1dCache L#38 (size=32KB linesize=64 ways=8)
+ L1iCache L#38 (size=32KB linesize=64 ways=4)
+ Core L#38 (P#24)
+ PU L#38 (P#35)
+ L2Cache L#39 (size=256KB linesize=64 ways=8)
+ L1dCache L#39 (size=32KB linesize=64 ways=8)
+ L1iCache L#39 (size=32KB linesize=64 ways=4)
+ Core L#39 (P#25)
+ PU L#39 (P#39)
+ Bridge Host->PCI L#0 (P#0 buses=0000:[00-01])
+ Bridge PCI->PCI (P#48 busid=0000:00:03.0 id=8086:340a class=0604(PCI_B) buses=0000:[01-01])
+ PCI 1000:0079 (P#4096 busid=0000:01:00.0 class=0104(RAID))
+ Block(Other) L#0 (LinuxDeviceID=8:0 Type=Other) "sda"
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Group0 (type #7)
+ depth 2: 4 NUMANode (type #2)
+ depth 3: 3 Package (type #3)
+ depth 4: 3 L3Cache (type #4)
+ depth 5: 40 L2Cache (type #4)
+ depth 6: 40 L1dCache (type #4)
+ depth 7: 40 L1iCache (type #4)
+ depth 8: 40 Core (type #5)
+ depth 9: 40 PU (type #6)
+Special depth -3: 2 Bridge (type #9)
+Special depth -4: 1 PCI Device (type #10)
+Special depth -5: 1 OS Device (type #11)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 4.000 8.000 8.000
+ 1 4.000 1.000 8.000 8.000
+ 2 8.000 8.000 1.000 4.000
+ 3 8.000 8.000 4.000 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 total=100661148KB DMIProductName=DRACHMA DMIProductVersion="Rev 2" DMIProductSerial=0123456789 DMIProductUUID=008844D0-2214-DF11-B89F-F50F715B14E8 DMIBoardVendor=AMD DMIBoardName=DRACHMA DMIBoardVersion="Rev 2" DMIBoardSerial=0123456789 DMIBoardAssetTag= DMIChassisVendor=AMD DMIChassisType=23 DMIChassisVersion= DMIChassisSerial= DMIChassisAssetTag= DMIBIOSVendor="Phoenix Technologies Ltd." DMIBIOSVersion=PDPAX1-6 DMIBIOSDate=12/15/2009 DMISysVendor=AMD Backend=Linux)
+ Package L#0 (P#0 total=25163676KB CPUModel="AMD Engineering Sample")
+ NUMANode L#0 (P#0 local=8386460KB total=8386460KB)
+ L3Cache L#0 (size=5118KB linesize=64 ways=48)
+ L2Cache L#0 (size=512KB linesize=64 ways=16)
+ L1dCache L#0 (size=64KB linesize=64 ways=2)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=512KB linesize=64 ways=16)
+ L1dCache L#1 (size=64KB linesize=64 ways=2)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ L2Cache L#2 (size=512KB linesize=64 ways=16)
+ L1dCache L#2 (size=64KB linesize=64 ways=2)
+ L1iCache L#2 (size=64KB linesize=64 ways=2)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=512KB linesize=64 ways=16)
+ L1dCache L#3 (size=64KB linesize=64 ways=2)
+ L1iCache L#3 (size=64KB linesize=64 ways=2)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ L2Cache L#4 (size=512KB linesize=64 ways=16)
+ L1dCache L#4 (size=64KB linesize=64 ways=2)
+ L1iCache L#4 (size=64KB linesize=64 ways=2)
+ Core L#4 (P#4)
+ PU L#4 (P#4)
+ L2Cache L#5 (size=512KB linesize=64 ways=16)
+ L1dCache L#5 (size=64KB linesize=64 ways=2)
+ L1iCache L#5 (size=64KB linesize=64 ways=2)
+ Core L#5 (P#5)
+ PU L#5 (P#5)
+ NUMANode L#1 (P#1 local=16777216KB total=16777216KB)
+ L3Cache L#1 (size=5118KB linesize=64 ways=48)
+ L2Cache L#6 (size=512KB linesize=64 ways=16)
+ L1dCache L#6 (size=64KB linesize=64 ways=2)
+ L1iCache L#6 (size=64KB linesize=64 ways=2)
+ Core L#6 (P#0)
+ PU L#6 (P#6)
+ L2Cache L#7 (size=512KB linesize=64 ways=16)
+ L1dCache L#7 (size=64KB linesize=64 ways=2)
+ L1iCache L#7 (size=64KB linesize=64 ways=2)
+ Core L#7 (P#1)
+ PU L#7 (P#7)
+ L2Cache L#8 (size=512KB linesize=64 ways=16)
+ L1dCache L#8 (size=64KB linesize=64 ways=2)
+ L1iCache L#8 (size=64KB linesize=64 ways=2)
+ Core L#8 (P#2)
+ PU L#8 (P#8)
+ L2Cache L#9 (size=512KB linesize=64 ways=16)
+ L1dCache L#9 (size=64KB linesize=64 ways=2)
+ L1iCache L#9 (size=64KB linesize=64 ways=2)
+ Core L#9 (P#3)
+ PU L#9 (P#9)
+ L2Cache L#10 (size=512KB linesize=64 ways=16)
+ L1dCache L#10 (size=64KB linesize=64 ways=2)
+ L1iCache L#10 (size=64KB linesize=64 ways=2)
+ Core L#10 (P#4)
+ PU L#10 (P#10)
+ L2Cache L#11 (size=512KB linesize=64 ways=16)
+ L1dCache L#11 (size=64KB linesize=64 ways=2)
+ L1iCache L#11 (size=64KB linesize=64 ways=2)
+ Core L#11 (P#5)
+ PU L#11 (P#11)
+ Package L#1 (P#1 total=25165824KB CPUModel="AMD Engineering Sample")
+ NUMANode L#2 (P#2 local=8388608KB total=8388608KB)
+ L3Cache L#2 (size=5118KB linesize=64 ways=48)
+ L2Cache L#12 (size=512KB linesize=64 ways=16)
+ L1dCache L#12 (size=64KB linesize=64 ways=2)
+ L1iCache L#12 (size=64KB linesize=64 ways=2)
+ Core L#12 (P#0)
+ PU L#12 (P#12)
+ L2Cache L#13 (size=512KB linesize=64 ways=16)
+ L1dCache L#13 (size=64KB linesize=64 ways=2)
+ L1iCache L#13 (size=64KB linesize=64 ways=2)
+ Core L#13 (P#1)
+ PU L#13 (P#13)
+ L2Cache L#14 (size=512KB linesize=64 ways=16)
+ L1dCache L#14 (size=64KB linesize=64 ways=2)
+ L1iCache L#14 (size=64KB linesize=64 ways=2)
+ Core L#14 (P#2)
+ PU L#14 (P#14)
+ L2Cache L#15 (size=512KB linesize=64 ways=16)
+ L1dCache L#15 (size=64KB linesize=64 ways=2)
+ L1iCache L#15 (size=64KB linesize=64 ways=2)
+ Core L#15 (P#3)
+ PU L#15 (P#15)
+ L2Cache L#16 (size=512KB linesize=64 ways=16)
+ L1dCache L#16 (size=64KB linesize=64 ways=2)
+ L1iCache L#16 (size=64KB linesize=64 ways=2)
+ Core L#16 (P#4)
+ PU L#16 (P#16)
+ L2Cache L#17 (size=512KB linesize=64 ways=16)
+ L1dCache L#17 (size=64KB linesize=64 ways=2)
+ L1iCache L#17 (size=64KB linesize=64 ways=2)
+ Core L#17 (P#5)
+ PU L#17 (P#17)
+ NUMANode L#3 (P#33 local=16777216KB total=16777216KB)
+ L3Cache L#3 (size=5118KB linesize=64 ways=48)
+ L2Cache L#18 (size=512KB linesize=64 ways=16)
+ L1dCache L#18 (size=64KB linesize=64 ways=2)
+ L1iCache L#18 (size=64KB linesize=64 ways=2)
+ Core L#18 (P#0)
+ PU L#18 (P#18)
+ L2Cache L#19 (size=512KB linesize=64 ways=16)
+ L1dCache L#19 (size=64KB linesize=64 ways=2)
+ L1iCache L#19 (size=64KB linesize=64 ways=2)
+ Core L#19 (P#1)
+ PU L#19 (P#19)
+ L2Cache L#20 (size=512KB linesize=64 ways=16)
+ L1dCache L#20 (size=64KB linesize=64 ways=2)
+ L1iCache L#20 (size=64KB linesize=64 ways=2)
+ Core L#20 (P#2)
+ PU L#20 (P#20)
+ L2Cache L#21 (size=512KB linesize=64 ways=16)
+ L1dCache L#21 (size=64KB linesize=64 ways=2)
+ L1iCache L#21 (size=64KB linesize=64 ways=2)
+ Core L#21 (P#3)
+ PU L#21 (P#21)
+ L2Cache L#22 (size=512KB linesize=64 ways=16)
+ L1dCache L#22 (size=64KB linesize=64 ways=2)
+ L1iCache L#22 (size=64KB linesize=64 ways=2)
+ Core L#22 (P#4)
+ PU L#22 (P#22)
+ L2Cache L#23 (size=512KB linesize=64 ways=16)
+ L1dCache L#23 (size=64KB linesize=64 ways=2)
+ L1iCache L#23 (size=64KB linesize=64 ways=2)
+ Core L#23 (P#5)
+ PU L#23 (P#23)
+ Package L#2 (P#2 total=25165824KB CPUModel="AMD Engineering Sample")
+ NUMANode L#4 (P#34 local=8388608KB total=8388608KB)
+ L3Cache L#4 (size=5118KB linesize=64 ways=48)
+ L2Cache L#24 (size=512KB linesize=64 ways=16)
+ L1dCache L#24 (size=64KB linesize=64 ways=2)
+ L1iCache L#24 (size=64KB linesize=64 ways=2)
+ Core L#24 (P#0)
+ PU L#24 (P#24)
+ L2Cache L#25 (size=512KB linesize=64 ways=16)
+ L1dCache L#25 (size=64KB linesize=64 ways=2)
+ L1iCache L#25 (size=64KB linesize=64 ways=2)
+ Core L#25 (P#1)
+ PU L#25 (P#25)
+ L2Cache L#26 (size=512KB linesize=64 ways=16)
+ L1dCache L#26 (size=64KB linesize=64 ways=2)
+ L1iCache L#26 (size=64KB linesize=64 ways=2)
+ Core L#26 (P#2)
+ PU L#26 (P#26)
+ L2Cache L#27 (size=512KB linesize=64 ways=16)
+ L1dCache L#27 (size=64KB linesize=64 ways=2)
+ L1iCache L#27 (size=64KB linesize=64 ways=2)
+ Core L#27 (P#3)
+ PU L#27 (P#27)
+ L2Cache L#28 (size=512KB linesize=64 ways=16)
+ L1dCache L#28 (size=64KB linesize=64 ways=2)
+ L1iCache L#28 (size=64KB linesize=64 ways=2)
+ Core L#28 (P#4)
+ PU L#28 (P#28)
+ L2Cache L#29 (size=512KB linesize=64 ways=16)
+ L1dCache L#29 (size=64KB linesize=64 ways=2)
+ L1iCache L#29 (size=64KB linesize=64 ways=2)
+ Core L#29 (P#5)
+ PU L#29 (P#29)
+ NUMANode L#5 (P#45 local=16777216KB total=16777216KB)
+ L3Cache L#5 (size=5118KB linesize=64 ways=48)
+ L2Cache L#30 (size=512KB linesize=64 ways=16)
+ L1dCache L#30 (size=64KB linesize=64 ways=2)
+ L1iCache L#30 (size=64KB linesize=64 ways=2)
+ Core L#30 (P#0)
+ PU L#30 (P#30)
+ L2Cache L#31 (size=512KB linesize=64 ways=16)
+ L1dCache L#31 (size=64KB linesize=64 ways=2)
+ L1iCache L#31 (size=64KB linesize=64 ways=2)
+ Core L#31 (P#1)
+ PU L#31 (P#31)
+ L2Cache L#32 (size=512KB linesize=64 ways=16)
+ L1dCache L#32 (size=64KB linesize=64 ways=2)
+ L1iCache L#32 (size=64KB linesize=64 ways=2)
+ Core L#32 (P#2)
+ PU L#32 (P#32)
+ L2Cache L#33 (size=512KB linesize=64 ways=16)
+ L1dCache L#33 (size=64KB linesize=64 ways=2)
+ L1iCache L#33 (size=64KB linesize=64 ways=2)
+ Core L#33 (P#3)
+ PU L#33 (P#33)
+ L2Cache L#34 (size=512KB linesize=64 ways=16)
+ L1dCache L#34 (size=64KB linesize=64 ways=2)
+ L1iCache L#34 (size=64KB linesize=64 ways=2)
+ Core L#34 (P#4)
+ PU L#34 (P#34)
+ L2Cache L#35 (size=512KB linesize=64 ways=16)
+ L1dCache L#35 (size=64KB linesize=64 ways=2)
+ L1iCache L#35 (size=64KB linesize=64 ways=2)
+ Core L#35 (P#5)
+ PU L#35 (P#35)
+ Package L#3 (P#3 total=25165824KB CPUModel="AMD Engineering Sample")
+ NUMANode L#6 (P#72 local=8388608KB total=8388608KB)
+ L3Cache L#6 (size=5118KB linesize=64 ways=48)
+ L2Cache L#36 (size=512KB linesize=64 ways=16)
+ L1dCache L#36 (size=64KB linesize=64 ways=2)
+ L1iCache L#36 (size=64KB linesize=64 ways=2)
+ Core L#36 (P#0)
+ PU L#36 (P#36)
+ L2Cache L#37 (size=512KB linesize=64 ways=16)
+ L1dCache L#37 (size=64KB linesize=64 ways=2)
+ L1iCache L#37 (size=64KB linesize=64 ways=2)
+ Core L#37 (P#1)
+ PU L#37 (P#37)
+ L2Cache L#38 (size=512KB linesize=64 ways=16)
+ L1dCache L#38 (size=64KB linesize=64 ways=2)
+ L1iCache L#38 (size=64KB linesize=64 ways=2)
+ Core L#38 (P#2)
+ PU L#38 (P#38)
+ L2Cache L#39 (size=512KB linesize=64 ways=16)
+ L1dCache L#39 (size=64KB linesize=64 ways=2)
+ L1iCache L#39 (size=64KB linesize=64 ways=2)
+ Core L#39 (P#3)
+ PU L#39 (P#39)
+ L2Cache L#40 (size=512KB linesize=64 ways=16)
+ L1dCache L#40 (size=64KB linesize=64 ways=2)
+ L1iCache L#40 (size=64KB linesize=64 ways=2)
+ Core L#40 (P#4)
+ PU L#40 (P#40)
+ L2Cache L#41 (size=512KB linesize=64 ways=16)
+ L1dCache L#41 (size=64KB linesize=64 ways=2)
+ L1iCache L#41 (size=64KB linesize=64 ways=2)
+ Core L#41 (P#5)
+ PU L#41 (P#41)
+ NUMANode L#7 (P#73 local=16777216KB total=16777216KB)
+ L3Cache L#7 (size=5118KB linesize=64 ways=48)
+ L2Cache L#42 (size=512KB linesize=64 ways=16)
+ L1dCache L#42 (size=64KB linesize=64 ways=2)
+ L1iCache L#42 (size=64KB linesize=64 ways=2)
+ Core L#42 (P#0)
+ PU L#42 (P#42)
+ L2Cache L#43 (size=512KB linesize=64 ways=16)
+ L1dCache L#43 (size=64KB linesize=64 ways=2)
+ L1iCache L#43 (size=64KB linesize=64 ways=2)
+ Core L#43 (P#1)
+ PU L#43 (P#43)
+ L2Cache L#44 (size=512KB linesize=64 ways=16)
+ L1dCache L#44 (size=64KB linesize=64 ways=2)
+ L1iCache L#44 (size=64KB linesize=64 ways=2)
+ Core L#44 (P#2)
+ PU L#44 (P#44)
+ L2Cache L#45 (size=512KB linesize=64 ways=16)
+ L1dCache L#45 (size=64KB linesize=64 ways=2)
+ L1iCache L#45 (size=64KB linesize=64 ways=2)
+ Core L#45 (P#3)
+ PU L#45 (P#45)
+ L2Cache L#46 (size=512KB linesize=64 ways=16)
+ L1dCache L#46 (size=64KB linesize=64 ways=2)
+ L1iCache L#46 (size=64KB linesize=64 ways=2)
+ Core L#46 (P#4)
+ PU L#46 (P#46)
+ L2Cache L#47 (size=512KB linesize=64 ways=16)
+ L1dCache L#47 (size=64KB linesize=64 ways=2)
+ L1iCache L#47 (size=64KB linesize=64 ways=2)
+ Core L#47 (P#5)
+ PU L#47 (P#47)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 8 NUMANode (type #2)
+ depth 3: 8 L3Cache (type #4)
+ depth 4: 48 L2Cache (type #4)
+ depth 5: 48 L1dCache (type #4)
+ depth 6: 48 L1iCache (type #4)
+ depth 7: 48 Core (type #5)
+ depth 8: 48 PU (type #6)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 1.600 1.600 2.200 1.600 2.200 1.600 2.200
+ 1 1.600 1.000 2.200 1.600 1.600 2.200 2.200 1.600
+ 2 1.600 2.200 1.000 1.600 1.600 1.600 1.600 1.600
+ 3 2.200 1.600 1.600 1.000 1.600 1.600 2.200 2.200
+ 4 1.600 1.600 1.600 1.600 1.000 1.600 1.600 2.200
+ 5 2.200 2.200 1.600 1.600 1.600 1.000 2.200 1.600
+ 6 1.600 2.200 1.600 2.200 1.600 2.200 1.000 1.600
+ 7 2.200 1.600 1.600 2.200 2.200 1.600 1.600 1.000
+Topology not from this system
--- /dev/null
+- -p --ignore Core --ignore Cache --ignore Package --no-io
--- /dev/null
+Machine (3828MB)
+ PU P#0
+ PU P#1
+ PU P#2
+ PU P#3
--- /dev/null
+Machine (P#0 Backend=Linux)
+ Package L#0
+ L3Cache L#0 (size=4096KB linesize=128 ways=16)
+ L2Cache L#0 (size=256KB linesize=128 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=4)
+ L1iCache L#0 (size=16KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ Package L#1
+ L3Cache L#1 (size=4096KB linesize=128 ways=16)
+ L2Cache L#1 (size=256KB linesize=128 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=4)
+ L1iCache L#1 (size=16KB linesize=64 ways=4)
+ Core L#1 (P#0)
+ PU L#1 (P#1)
+ Package L#2
+ L3Cache L#2 (size=4096KB linesize=128 ways=16)
+ L2Cache L#2 (size=256KB linesize=128 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=4)
+ L1iCache L#2 (size=16KB linesize=64 ways=4)
+ Core L#2 (P#0)
+ PU L#2 (P#2)
+ Package L#3
+ L3Cache L#3 (size=4096KB linesize=128 ways=16)
+ L2Cache L#3 (size=256KB linesize=128 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=4)
+ L1iCache L#3 (size=16KB linesize=64 ways=4)
+ Core L#3 (P#0)
+ PU L#3 (P#3)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 4 L3Cache (type #4)
+ depth 3: 4 L2Cache (type #4)
+ depth 4: 4 L1dCache (type #4)
+ depth 5: 4 L1iCache (type #4)
+ depth 6: 4 Core (type #5)
+ depth 7: 4 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 Backend=Linux)
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+ PU L#2 (P#2)
+ PU L#3 (P#3)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 total=16777216KB Backend=Linux)
+ NUMANode L#0 (P#0 local=8388608KB total=8388608KB)
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+ NUMANode L#1 (P#1 local=8388608KB total=8388608KB)
+ PU L#2 (P#2)
+ PU L#3 (P#3)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 NUMANode (type #2)
+ depth 2: 4 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1
+ 0 1.000 2.000
+ 1 2.000 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 total=125805356KB DMIProductName="PowerEdge C6145 " DMIProductVersion=" " DMIBoardVendor="Dell " DMIBoardName=040N24 DMIBoardVersion="A01 " DMIBoardAssetTag=".2 " DMIChassisVendor="Dell Inc. " DMIChassisType=23 DMIChassisVersion=" " DMIChassisAssetTag=" " DMIBIOSVendor="Dell Inc." DMIBIOSVersion=2.5.91 DMIBIOSDate=11/04/2011 DMISysVendor="Dell " Backend=Linux Architecture=x86_64)
+ Package L#0 (P#0 total=33547052KB CPUVendor=AuthenticAMD CPUFamilyNumber=21 CPUModelNumber=1 CPUModel="AMD Opteron(TM) Processor 6276 " CPUStepping=2)
+ NUMANode L#0 (P#0 local=16769836KB total=16769836KB)
+ L3Cache L#0 (size=6144KB linesize=64 ways=64)
+ L2Cache L#0 (size=2048KB linesize=64 ways=16)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ L1dCache L#0 (size=16KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L1dCache L#1 (size=16KB linesize=64 ways=4)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ L2Cache L#1 (size=2048KB linesize=64 ways=16)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ L1dCache L#2 (size=16KB linesize=64 ways=4)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L1dCache L#3 (size=16KB linesize=64 ways=4)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ L2Cache L#2 (size=2048KB linesize=64 ways=16)
+ L1iCache L#2 (size=64KB linesize=64 ways=2)
+ L1dCache L#4 (size=16KB linesize=64 ways=4)
+ Core L#4 (P#4)
+ PU L#4 (P#4)
+ L1dCache L#5 (size=16KB linesize=64 ways=4)
+ Core L#5 (P#5)
+ PU L#5 (P#5)
+ L2Cache L#3 (size=2048KB linesize=64 ways=16)
+ L1iCache L#3 (size=64KB linesize=64 ways=2)
+ L1dCache L#6 (size=16KB linesize=64 ways=4)
+ Core L#6 (P#6)
+ PU L#6 (P#6)
+ L1dCache L#7 (size=16KB linesize=64 ways=4)
+ Core L#7 (P#7)
+ PU L#7 (P#7)
+ NUMANode L#1 (P#1 local=16777216KB total=16777216KB)
+ L3Cache L#1 (size=6144KB linesize=64 ways=64)
+ L2Cache L#4 (size=2048KB linesize=64 ways=16)
+ L1iCache L#4 (size=64KB linesize=64 ways=2)
+ L1dCache L#8 (size=16KB linesize=64 ways=4)
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ L1dCache L#9 (size=16KB linesize=64 ways=4)
+ Core L#9 (P#1)
+ PU L#9 (P#9)
+ L2Cache L#5 (size=2048KB linesize=64 ways=16)
+ L1iCache L#5 (size=64KB linesize=64 ways=2)
+ L1dCache L#10 (size=16KB linesize=64 ways=4)
+ Core L#10 (P#2)
+ PU L#10 (P#10)
+ L1dCache L#11 (size=16KB linesize=64 ways=4)
+ Core L#11 (P#3)
+ PU L#11 (P#11)
+ L2Cache L#6 (size=2048KB linesize=64 ways=16)
+ L1iCache L#6 (size=64KB linesize=64 ways=2)
+ L1dCache L#12 (size=16KB linesize=64 ways=4)
+ Core L#12 (P#4)
+ PU L#12 (P#12)
+ L1dCache L#13 (size=16KB linesize=64 ways=4)
+ Core L#13 (P#5)
+ PU L#13 (P#13)
+ L2Cache L#7 (size=2048KB linesize=64 ways=16)
+ L1iCache L#7 (size=64KB linesize=64 ways=2)
+ L1dCache L#14 (size=16KB linesize=64 ways=4)
+ Core L#14 (P#6)
+ PU L#14 (P#14)
+ L1dCache L#15 (size=16KB linesize=64 ways=4)
+ Core L#15 (P#7)
+ PU L#15 (P#15)
+ Package L#1 (P#1 total=33554432KB CPUVendor=AuthenticAMD CPUFamilyNumber=21 CPUModelNumber=1 CPUModel="AMD Opteron(TM) Processor 6276 " CPUStepping=2)
+ NUMANode L#2 (P#2 local=16777216KB total=16777216KB)
+ L3Cache L#2 (size=6144KB linesize=64 ways=64)
+ L2Cache L#8 (size=2048KB linesize=64 ways=16)
+ L1iCache L#8 (size=64KB linesize=64 ways=2)
+ L1dCache L#16 (size=16KB linesize=64 ways=4)
+ Core L#16 (P#0)
+ PU L#16 (P#16)
+ L1dCache L#17 (size=16KB linesize=64 ways=4)
+ Core L#17 (P#1)
+ PU L#17 (P#17)
+ L2Cache L#9 (size=2048KB linesize=64 ways=16)
+ L1iCache L#9 (size=64KB linesize=64 ways=2)
+ L1dCache L#18 (size=16KB linesize=64 ways=4)
+ Core L#18 (P#2)
+ PU L#18 (P#18)
+ L1dCache L#19 (size=16KB linesize=64 ways=4)
+ Core L#19 (P#3)
+ PU L#19 (P#19)
+ L2Cache L#10 (size=2048KB linesize=64 ways=16)
+ L1iCache L#10 (size=64KB linesize=64 ways=2)
+ L1dCache L#20 (size=16KB linesize=64 ways=4)
+ Core L#20 (P#4)
+ PU L#20 (P#20)
+ L1dCache L#21 (size=16KB linesize=64 ways=4)
+ Core L#21 (P#5)
+ PU L#21 (P#21)
+ L2Cache L#11 (size=2048KB linesize=64 ways=16)
+ L1iCache L#11 (size=64KB linesize=64 ways=2)
+ L1dCache L#22 (size=16KB linesize=64 ways=4)
+ Core L#22 (P#6)
+ PU L#22 (P#22)
+ L1dCache L#23 (size=16KB linesize=64 ways=4)
+ Core L#23 (P#7)
+ PU L#23 (P#23)
+ NUMANode L#3 (P#3 local=16777216KB total=16777216KB)
+ L3Cache L#3 (size=6144KB linesize=64 ways=64)
+ L2Cache L#12 (size=2048KB linesize=64 ways=16)
+ L1iCache L#12 (size=64KB linesize=64 ways=2)
+ L1dCache L#24 (size=16KB linesize=64 ways=4)
+ Core L#24 (P#0)
+ PU L#24 (P#24)
+ L1dCache L#25 (size=16KB linesize=64 ways=4)
+ Core L#25 (P#1)
+ PU L#25 (P#25)
+ L2Cache L#13 (size=2048KB linesize=64 ways=16)
+ L1iCache L#13 (size=64KB linesize=64 ways=2)
+ L1dCache L#26 (size=16KB linesize=64 ways=4)
+ Core L#26 (P#2)
+ PU L#26 (P#26)
+ L1dCache L#27 (size=16KB linesize=64 ways=4)
+ Core L#27 (P#3)
+ PU L#27 (P#27)
+ L2Cache L#14 (size=2048KB linesize=64 ways=16)
+ L1iCache L#14 (size=64KB linesize=64 ways=2)
+ L1dCache L#28 (size=16KB linesize=64 ways=4)
+ Core L#28 (P#4)
+ PU L#28 (P#28)
+ L1dCache L#29 (size=16KB linesize=64 ways=4)
+ Core L#29 (P#5)
+ PU L#29 (P#29)
+ L2Cache L#15 (size=2048KB linesize=64 ways=16)
+ L1iCache L#15 (size=64KB linesize=64 ways=2)
+ L1dCache L#30 (size=16KB linesize=64 ways=4)
+ Core L#30 (P#6)
+ PU L#30 (P#30)
+ L1dCache L#31 (size=16KB linesize=64 ways=4)
+ Core L#31 (P#7)
+ PU L#31 (P#31)
+ Package L#2 (P#2 total=25165824KB CPUVendor=AuthenticAMD CPUFamilyNumber=21 CPUModelNumber=1 CPUModel="AMD Opteron(TM) Processor 6276 " CPUStepping=2)
+ NUMANode L#4 (P#4 local=16777216KB total=16777216KB)
+ L3Cache L#4 (size=6144KB linesize=64 ways=64)
+ L2Cache L#16 (size=2048KB linesize=64 ways=16)
+ L1iCache L#16 (size=64KB linesize=64 ways=2)
+ L1dCache L#32 (size=16KB linesize=64 ways=4)
+ Core L#32 (P#0)
+ PU L#32 (P#32)
+ L1dCache L#33 (size=16KB linesize=64 ways=4)
+ Core L#33 (P#1)
+ PU L#33 (P#33)
+ L2Cache L#17 (size=2048KB linesize=64 ways=16)
+ L1iCache L#17 (size=64KB linesize=64 ways=2)
+ L1dCache L#34 (size=16KB linesize=64 ways=4)
+ Core L#34 (P#2)
+ PU L#34 (P#34)
+ L1dCache L#35 (size=16KB linesize=64 ways=4)
+ Core L#35 (P#3)
+ PU L#35 (P#35)
+ L2Cache L#18 (size=2048KB linesize=64 ways=16)
+ L1iCache L#18 (size=64KB linesize=64 ways=2)
+ L1dCache L#36 (size=16KB linesize=64 ways=4)
+ Core L#36 (P#4)
+ PU L#36 (P#36)
+ L1dCache L#37 (size=16KB linesize=64 ways=4)
+ Core L#37 (P#5)
+ PU L#37 (P#37)
+ L2Cache L#19 (size=2048KB linesize=64 ways=16)
+ L1iCache L#19 (size=64KB linesize=64 ways=2)
+ L1dCache L#38 (size=16KB linesize=64 ways=4)
+ Core L#38 (P#6)
+ PU L#38 (P#38)
+ L1dCache L#39 (size=16KB linesize=64 ways=4)
+ Core L#39 (P#7)
+ PU L#39 (P#39)
+ NUMANode L#5 (P#5 local=8388608KB total=8388608KB)
+ L3Cache L#5 (size=6144KB linesize=64 ways=64)
+ L2Cache L#20 (size=2048KB linesize=64 ways=16)
+ L1iCache L#20 (size=64KB linesize=64 ways=2)
+ L1dCache L#40 (size=16KB linesize=64 ways=4)
+ Core L#40 (P#0)
+ PU L#40 (P#40)
+ L1dCache L#41 (size=16KB linesize=64 ways=4)
+ Core L#41 (P#1)
+ PU L#41 (P#41)
+ L2Cache L#21 (size=2048KB linesize=64 ways=16)
+ L1iCache L#21 (size=64KB linesize=64 ways=2)
+ L1dCache L#42 (size=16KB linesize=64 ways=4)
+ Core L#42 (P#2)
+ PU L#42 (P#42)
+ L1dCache L#43 (size=16KB linesize=64 ways=4)
+ Core L#43 (P#3)
+ PU L#43 (P#43)
+ L2Cache L#22 (size=2048KB linesize=64 ways=16)
+ L1iCache L#22 (size=64KB linesize=64 ways=2)
+ L1dCache L#44 (size=16KB linesize=64 ways=4)
+ Core L#44 (P#4)
+ PU L#44 (P#44)
+ L1dCache L#45 (size=16KB linesize=64 ways=4)
+ Core L#45 (P#5)
+ PU L#45 (P#45)
+ L2Cache L#23 (size=2048KB linesize=64 ways=16)
+ L1iCache L#23 (size=64KB linesize=64 ways=2)
+ L1dCache L#46 (size=16KB linesize=64 ways=4)
+ Core L#46 (P#6)
+ PU L#46 (P#46)
+ L1dCache L#47 (size=16KB linesize=64 ways=4)
+ Core L#47 (P#7)
+ PU L#47 (P#47)
+ Package L#3 (P#3 total=33538048KB CPUVendor=AuthenticAMD CPUFamilyNumber=21 CPUModelNumber=1 CPUModel="AMD Opteron(TM) Processor 6276 " CPUStepping=2)
+ NUMANode L#6 (P#6 local=16777216KB total=16777216KB)
+ L3Cache L#6 (size=6144KB linesize=64 ways=64)
+ L2Cache L#24 (size=2048KB linesize=64 ways=16)
+ L1iCache L#24 (size=64KB linesize=64 ways=2)
+ L1dCache L#48 (size=16KB linesize=64 ways=4)
+ Core L#48 (P#0)
+ PU L#48 (P#48)
+ L1dCache L#49 (size=16KB linesize=64 ways=4)
+ Core L#49 (P#1)
+ PU L#49 (P#49)
+ L2Cache L#25 (size=2048KB linesize=64 ways=16)
+ L1iCache L#25 (size=64KB linesize=64 ways=2)
+ L1dCache L#50 (size=16KB linesize=64 ways=4)
+ Core L#50 (P#2)
+ PU L#50 (P#50)
+ L1dCache L#51 (size=16KB linesize=64 ways=4)
+ Core L#51 (P#3)
+ PU L#51 (P#51)
+ L2Cache L#26 (size=2048KB linesize=64 ways=16)
+ L1iCache L#26 (size=64KB linesize=64 ways=2)
+ L1dCache L#52 (size=16KB linesize=64 ways=4)
+ Core L#52 (P#4)
+ PU L#52 (P#52)
+ L1dCache L#53 (size=16KB linesize=64 ways=4)
+ Core L#53 (P#5)
+ PU L#53 (P#53)
+ L2Cache L#27 (size=2048KB linesize=64 ways=16)
+ L1iCache L#27 (size=64KB linesize=64 ways=2)
+ L1dCache L#54 (size=16KB linesize=64 ways=4)
+ Core L#54 (P#6)
+ PU L#54 (P#54)
+ L1dCache L#55 (size=16KB linesize=64 ways=4)
+ Core L#55 (P#7)
+ PU L#55 (P#55)
+ NUMANode L#7 (P#7 local=16760832KB total=16760832KB)
+ L3Cache L#7 (size=6144KB linesize=64 ways=64)
+ L2Cache L#28 (size=2048KB linesize=64 ways=16)
+ L1iCache L#28 (size=64KB linesize=64 ways=2)
+ L1dCache L#56 (size=16KB linesize=64 ways=4)
+ Core L#56 (P#0)
+ PU L#56 (P#56)
+ L1dCache L#57 (size=16KB linesize=64 ways=4)
+ Core L#57 (P#1)
+ PU L#57 (P#57)
+ L2Cache L#29 (size=2048KB linesize=64 ways=16)
+ L1iCache L#29 (size=64KB linesize=64 ways=2)
+ L1dCache L#58 (size=16KB linesize=64 ways=4)
+ Core L#58 (P#2)
+ PU L#58 (P#58)
+ L1dCache L#59 (size=16KB linesize=64 ways=4)
+ Core L#59 (P#3)
+ PU L#59 (P#59)
+ L2Cache L#30 (size=2048KB linesize=64 ways=16)
+ L1iCache L#30 (size=64KB linesize=64 ways=2)
+ L1dCache L#60 (size=16KB linesize=64 ways=4)
+ Core L#60 (P#4)
+ PU L#60 (P#60)
+ L1dCache L#61 (size=16KB linesize=64 ways=4)
+ Core L#61 (P#5)
+ PU L#61 (P#61)
+ L2Cache L#31 (size=2048KB linesize=64 ways=16)
+ L1iCache L#31 (size=64KB linesize=64 ways=2)
+ L1dCache L#62 (size=16KB linesize=64 ways=4)
+ Core L#62 (P#6)
+ PU L#62 (P#62)
+ L1dCache L#63 (size=16KB linesize=64 ways=4)
+ Core L#63 (P#7)
+ PU L#63 (P#63)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 8 NUMANode (type #2)
+ depth 3: 8 L3Cache (type #4)
+ depth 4: 32 L2Cache (type #4)
+ depth 5: 32 L1iCache (type #4)
+ depth 6: 64 L1dCache (type #4)
+ depth 7: 64 Core (type #5)
+ depth 8: 64 PU (type #6)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 1.600 1.600 2.200 1.600 2.200 1.600 2.200
+ 1 1.600 1.000 2.200 1.600 1.600 2.200 2.200 1.600
+ 2 1.600 2.200 1.000 1.600 1.600 1.600 1.600 1.600
+ 3 2.200 1.600 1.600 1.000 1.600 1.600 2.200 2.200
+ 4 1.600 1.600 1.600 1.600 1.000 1.600 1.600 2.200
+ 5 2.200 2.200 1.600 1.600 1.600 1.000 2.200 1.600
+ 6 1.600 2.200 1.600 2.200 1.600 2.200 1.000 1.600
+ 7 2.200 1.600 1.600 2.200 2.200 1.600 1.600 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 total=4194304KB Backend=Linux)
+ NUMANode L#0 (P#0 local=1048576KB total=1048576KB)
+ Package L#0 (P#0)
+ L3Cache L#0 (size=8192KB linesize=64 ways=16)
+ L2Cache L#0 (size=256KB linesize=64 ways=8)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#4)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=4)
+ Core L#1 (P#2)
+ PU L#2 (P#2)
+ PU L#3 (P#6)
+ L2Cache L#1 (size=256KB linesize=64 ways=8)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=4)
+ Core L#2 (P#1)
+ PU L#4 (P#1)
+ PU L#5 (P#5)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=4)
+ Core L#3 (P#3)
+ PU L#6 (P#3)
+ PU L#7 (P#7)
+ Package L#1 (P#1)
+ L3Cache L#1 (size=8192KB linesize=64 ways=16)
+ L2Cache L#2 (size=256KB linesize=64 ways=8)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=4)
+ Core L#4 (P#0)
+ PU L#8 (P#8)
+ PU L#9 (P#12)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=4)
+ Core L#5 (P#2)
+ PU L#10 (P#10)
+ PU L#11 (P#14)
+ L2Cache L#3 (size=256KB linesize=64 ways=8)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=4)
+ Core L#6 (P#1)
+ PU L#12 (P#9)
+ PU L#13 (P#13)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=4)
+ Core L#7 (P#3)
+ PU L#14 (P#11)
+ PU L#15 (P#15)
+ NUMANode L#1 (P#1 local=1048576KB total=1048576KB)
+ Package L#2 (P#2)
+ L3Cache L#2 (size=8192KB linesize=64 ways=16)
+ L2Cache L#4 (size=256KB linesize=64 ways=8)
+ L1dCache L#8 (size=32KB linesize=64 ways=8)
+ L1iCache L#8 (size=32KB linesize=64 ways=4)
+ Core L#8 (P#0)
+ PU L#16 (P#16)
+ PU L#17 (P#20)
+ L1dCache L#9 (size=32KB linesize=64 ways=8)
+ L1iCache L#9 (size=32KB linesize=64 ways=4)
+ Core L#9 (P#2)
+ PU L#18 (P#18)
+ PU L#19 (P#22)
+ L2Cache L#5 (size=256KB linesize=64 ways=8)
+ L1dCache L#10 (size=32KB linesize=64 ways=8)
+ L1iCache L#10 (size=32KB linesize=64 ways=4)
+ Core L#10 (P#1)
+ PU L#20 (P#17)
+ PU L#21 (P#21)
+ L1dCache L#11 (size=32KB linesize=64 ways=8)
+ L1iCache L#11 (size=32KB linesize=64 ways=4)
+ Core L#11 (P#3)
+ PU L#22 (P#19)
+ PU L#23 (P#23)
+ Package L#3 (P#3)
+ L3Cache L#3 (size=8192KB linesize=64 ways=16)
+ L2Cache L#6 (size=256KB linesize=64 ways=8)
+ L1dCache L#12 (size=32KB linesize=64 ways=8)
+ L1iCache L#12 (size=32KB linesize=64 ways=4)
+ Core L#12 (P#0)
+ PU L#24 (P#24)
+ PU L#25 (P#28)
+ L1dCache L#13 (size=32KB linesize=64 ways=8)
+ L1iCache L#13 (size=32KB linesize=64 ways=4)
+ Core L#13 (P#2)
+ PU L#26 (P#26)
+ PU L#27 (P#30)
+ L2Cache L#7 (size=256KB linesize=64 ways=8)
+ L1dCache L#14 (size=32KB linesize=64 ways=8)
+ L1iCache L#14 (size=32KB linesize=64 ways=4)
+ Core L#14 (P#1)
+ PU L#28 (P#25)
+ PU L#29 (P#29)
+ L1dCache L#15 (size=32KB linesize=64 ways=8)
+ L1iCache L#15 (size=32KB linesize=64 ways=4)
+ Core L#15 (P#3)
+ PU L#30 (P#27)
+ PU L#31 (P#31)
+ NUMANode L#2 (P#2 local=1048576KB total=1048576KB)
+ Package L#4 (P#4)
+ L3Cache L#4 (size=8192KB linesize=64 ways=16)
+ L2Cache L#8 (size=256KB linesize=64 ways=8)
+ L1dCache L#16 (size=32KB linesize=64 ways=8)
+ L1iCache L#16 (size=32KB linesize=64 ways=4)
+ Core L#16 (P#0)
+ PU L#32 (P#32)
+ PU L#33 (P#36)
+ L1dCache L#17 (size=32KB linesize=64 ways=8)
+ L1iCache L#17 (size=32KB linesize=64 ways=4)
+ Core L#17 (P#2)
+ PU L#34 (P#34)
+ PU L#35 (P#38)
+ L2Cache L#9 (size=256KB linesize=64 ways=8)
+ L1dCache L#18 (size=32KB linesize=64 ways=8)
+ L1iCache L#18 (size=32KB linesize=64 ways=4)
+ Core L#18 (P#1)
+ PU L#36 (P#33)
+ PU L#37 (P#37)
+ L1dCache L#19 (size=32KB linesize=64 ways=8)
+ L1iCache L#19 (size=32KB linesize=64 ways=4)
+ Core L#19 (P#3)
+ PU L#38 (P#35)
+ PU L#39 (P#39)
+ Package L#5 (P#5)
+ L3Cache L#5 (size=8192KB linesize=64 ways=16)
+ L2Cache L#10 (size=256KB linesize=64 ways=8)
+ L1dCache L#20 (size=32KB linesize=64 ways=8)
+ L1iCache L#20 (size=32KB linesize=64 ways=4)
+ Core L#20 (P#0)
+ PU L#40 (P#40)
+ PU L#41 (P#44)
+ L1dCache L#21 (size=32KB linesize=64 ways=8)
+ L1iCache L#21 (size=32KB linesize=64 ways=4)
+ Core L#21 (P#2)
+ PU L#42 (P#42)
+ PU L#43 (P#46)
+ L2Cache L#11 (size=256KB linesize=64 ways=8)
+ L1dCache L#22 (size=32KB linesize=64 ways=8)
+ L1iCache L#22 (size=32KB linesize=64 ways=4)
+ Core L#22 (P#1)
+ PU L#44 (P#41)
+ PU L#45 (P#45)
+ L1dCache L#23 (size=32KB linesize=64 ways=8)
+ L1iCache L#23 (size=32KB linesize=64 ways=4)
+ Core L#23 (P#3)
+ PU L#46 (P#43)
+ PU L#47 (P#47)
+ NUMANode L#3 (P#3 local=1048576KB total=1048576KB)
+ Package L#6 (P#6)
+ L3Cache L#6 (size=8192KB linesize=64 ways=16)
+ L2Cache L#12 (size=256KB linesize=64 ways=8)
+ L1dCache L#24 (size=32KB linesize=64 ways=8)
+ L1iCache L#24 (size=32KB linesize=64 ways=4)
+ Core L#24 (P#0)
+ PU L#48 (P#48)
+ PU L#49 (P#52)
+ L1dCache L#25 (size=32KB linesize=64 ways=8)
+ L1iCache L#25 (size=32KB linesize=64 ways=4)
+ Core L#25 (P#2)
+ PU L#50 (P#50)
+ PU L#51 (P#54)
+ L2Cache L#13 (size=256KB linesize=64 ways=8)
+ L1dCache L#26 (size=32KB linesize=64 ways=8)
+ L1iCache L#26 (size=32KB linesize=64 ways=4)
+ Core L#26 (P#1)
+ PU L#52 (P#49)
+ PU L#53 (P#53)
+ L1dCache L#27 (size=32KB linesize=64 ways=8)
+ L1iCache L#27 (size=32KB linesize=64 ways=4)
+ Core L#27 (P#3)
+ PU L#54 (P#51)
+ PU L#55 (P#55)
+ Package L#7 (P#7)
+ L3Cache L#7 (size=8192KB linesize=64 ways=16)
+ L2Cache L#14 (size=256KB linesize=64 ways=8)
+ L1dCache L#28 (size=32KB linesize=64 ways=8)
+ L1iCache L#28 (size=32KB linesize=64 ways=4)
+ Core L#28 (P#0)
+ PU L#56 (P#56)
+ PU L#57 (P#60)
+ L1dCache L#29 (size=32KB linesize=64 ways=8)
+ L1iCache L#29 (size=32KB linesize=64 ways=4)
+ Core L#29 (P#2)
+ PU L#58 (P#58)
+ PU L#59 (P#62)
+ L2Cache L#15 (size=256KB linesize=64 ways=8)
+ L1dCache L#30 (size=32KB linesize=64 ways=8)
+ L1iCache L#30 (size=32KB linesize=64 ways=4)
+ Core L#30 (P#1)
+ PU L#60 (P#57)
+ PU L#61 (P#61)
+ L1dCache L#31 (size=32KB linesize=64 ways=8)
+ L1iCache L#31 (size=32KB linesize=64 ways=4)
+ Core L#31 (P#3)
+ PU L#62 (P#59)
+ PU L#63 (P#63)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 NUMANode (type #2)
+ depth 2: 8 Package (type #3)
+ depth 3: 8 L3Cache (type #4)
+ depth 4: 16 L2Cache (type #4)
+ depth 5: 32 L1dCache (type #4)
+ depth 6: 32 L1iCache (type #4)
+ depth 7: 32 Core (type #5)
+ depth 8: 64 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 total=1048576KB ClusterMode=All2All MemoryMode=Cache Backend=Linux OSName=Linux OSRelease=3.10.0-327.el7.x86_64 OSVersion="#1 SMP Thu Oct 29 17:29:29 EDT 2015" HostName=localhost.localdomain Architecture=x86_64)
+ NUMANode L#0 (P#0 local=1048576KB total=1048576KB)
+ Package L#0 (P#0 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=87 CPUModel=06/57 CPUStepping=0)
+ L3Cache(MemorySideCache) L#0 (size=16777216KB linesize=64 ways=1 Inclusive=1 Type=MemorySideCache)
+ L2Cache L#0 (size=4096KB linesize=64)
+ L1dCache L#0 (size=32KB linesize=64)
+ L1iCache L#0 (size=32KB linesize=64)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#16)
+ PU L#2 (P#32)
+ PU L#3 (P#48)
+ L1dCache L#1 (size=32KB linesize=64)
+ L1iCache L#1 (size=32KB linesize=64)
+ Core L#1 (P#1)
+ PU L#4 (P#1)
+ PU L#5 (P#17)
+ PU L#6 (P#33)
+ PU L#7 (P#49)
+ L2Cache L#1 (size=4096KB linesize=64)
+ L1dCache L#2 (size=32KB linesize=64)
+ L1iCache L#2 (size=32KB linesize=64)
+ Core L#2 (P#2)
+ PU L#8 (P#2)
+ PU L#9 (P#18)
+ PU L#10 (P#34)
+ PU L#11 (P#50)
+ L1dCache L#3 (size=32KB linesize=64)
+ L1iCache L#3 (size=32KB linesize=64)
+ Core L#3 (P#3)
+ PU L#12 (P#3)
+ PU L#13 (P#19)
+ PU L#14 (P#35)
+ PU L#15 (P#51)
+ L2Cache L#2 (size=4096KB linesize=64)
+ L1dCache L#4 (size=32KB linesize=64)
+ L1iCache L#4 (size=32KB linesize=64)
+ Core L#4 (P#4)
+ PU L#16 (P#4)
+ PU L#17 (P#20)
+ PU L#18 (P#36)
+ PU L#19 (P#52)
+ L1dCache L#5 (size=32KB linesize=64)
+ L1iCache L#5 (size=32KB linesize=64)
+ Core L#5 (P#5)
+ PU L#20 (P#5)
+ PU L#21 (P#21)
+ PU L#22 (P#37)
+ PU L#23 (P#53)
+ L2Cache L#3 (size=4096KB linesize=64)
+ L1dCache L#6 (size=32KB linesize=64)
+ L1iCache L#6 (size=32KB linesize=64)
+ Core L#6 (P#6)
+ PU L#24 (P#6)
+ PU L#25 (P#22)
+ PU L#26 (P#38)
+ PU L#27 (P#54)
+ L1dCache L#7 (size=32KB linesize=64)
+ L1iCache L#7 (size=32KB linesize=64)
+ Core L#7 (P#7)
+ PU L#28 (P#7)
+ PU L#29 (P#23)
+ PU L#30 (P#39)
+ PU L#31 (P#55)
+ L2Cache L#4 (size=4096KB linesize=64)
+ L1dCache L#8 (size=32KB linesize=64)
+ L1iCache L#8 (size=32KB linesize=64)
+ Core L#8 (P#8)
+ PU L#32 (P#8)
+ PU L#33 (P#24)
+ PU L#34 (P#40)
+ PU L#35 (P#56)
+ L1dCache L#9 (size=32KB linesize=64)
+ L1iCache L#9 (size=32KB linesize=64)
+ Core L#9 (P#9)
+ PU L#36 (P#9)
+ PU L#37 (P#25)
+ PU L#38 (P#41)
+ PU L#39 (P#57)
+ L2Cache L#5 (size=4096KB linesize=64)
+ L1dCache L#10 (size=32KB linesize=64)
+ L1iCache L#10 (size=32KB linesize=64)
+ Core L#10 (P#10)
+ PU L#40 (P#10)
+ PU L#41 (P#26)
+ PU L#42 (P#42)
+ PU L#43 (P#58)
+ L1dCache L#11 (size=32KB linesize=64)
+ L1iCache L#11 (size=32KB linesize=64)
+ Core L#11 (P#11)
+ PU L#44 (P#11)
+ PU L#45 (P#27)
+ PU L#46 (P#43)
+ PU L#47 (P#59)
+ L2Cache L#6 (size=4096KB linesize=64)
+ L1dCache L#12 (size=32KB linesize=64)
+ L1iCache L#12 (size=32KB linesize=64)
+ Core L#12 (P#12)
+ PU L#48 (P#12)
+ PU L#49 (P#28)
+ PU L#50 (P#44)
+ PU L#51 (P#60)
+ L1dCache L#13 (size=32KB linesize=64)
+ L1iCache L#13 (size=32KB linesize=64)
+ Core L#13 (P#13)
+ PU L#52 (P#13)
+ PU L#53 (P#29)
+ PU L#54 (P#45)
+ PU L#55 (P#61)
+ L2Cache L#7 (size=4096KB linesize=64)
+ L1dCache L#14 (size=32KB linesize=64)
+ L1iCache L#14 (size=32KB linesize=64)
+ Core L#14 (P#14)
+ PU L#56 (P#14)
+ PU L#57 (P#30)
+ PU L#58 (P#46)
+ PU L#59 (P#62)
+ L1dCache L#15 (size=32KB linesize=64)
+ L1iCache L#15 (size=32KB linesize=64)
+ Core L#15 (P#15)
+ PU L#60 (P#15)
+ PU L#61 (P#31)
+ PU L#62 (P#47)
+ PU L#63 (P#63)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 NUMANode (type #2)
+ depth 2: 1 Package (type #3)
+ depth 3: 1 L3Cache (type #4)
+ depth 4: 8 L2Cache (type #4)
+ depth 5: 16 L1dCache (type #4)
+ depth 6: 16 L1iCache (type #4)
+ depth 7: 16 Core (type #5)
+ depth 8: 64 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 total=12582912KB ClusterMode=SNC4 MemoryMode=Hybrid50 Backend=Linux OSName=Linux OSRelease=3.10.0-327.el7.x86_64 OSVersion="#1 SMP Thu Oct 29 17:29:29 EDT 2015" HostName=localhost.localdomain Architecture=x86_64)
+ Package L#0 (P#0 total=12582912KB CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=87 CPUModel=06/57 CPUStepping=0)
+ Group0(Cluster) L#0 (total=3145728KB Type=Cluster)
+ NUMANode L#0 (P#0 local=1048576KB total=1048576KB)
+ L3Cache(MemorySideCache) L#0 (size=2097152KB linesize=64 ways=1 Inclusive=1 Type=MemorySideCache)
+ L2Cache L#0 (size=4096KB linesize=64)
+ L1dCache L#0 (size=32KB linesize=64)
+ L1iCache L#0 (size=32KB linesize=64)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#16)
+ PU L#2 (P#32)
+ PU L#3 (P#48)
+ L1dCache L#1 (size=32KB linesize=64)
+ L1iCache L#1 (size=32KB linesize=64)
+ Core L#1 (P#1)
+ PU L#4 (P#1)
+ PU L#5 (P#17)
+ PU L#6 (P#33)
+ PU L#7 (P#49)
+ L2Cache L#1 (size=4096KB linesize=64)
+ L1dCache L#2 (size=32KB linesize=64)
+ L1iCache L#2 (size=32KB linesize=64)
+ Core L#2 (P#2)
+ PU L#8 (P#2)
+ PU L#9 (P#18)
+ PU L#10 (P#34)
+ PU L#11 (P#50)
+ L1dCache L#3 (size=32KB linesize=64)
+ L1iCache L#3 (size=32KB linesize=64)
+ Core L#3 (P#3)
+ PU L#12 (P#3)
+ PU L#13 (P#19)
+ PU L#14 (P#35)
+ PU L#15 (P#51)
+ NUMANode(MCDRAM) L#1 (P#7 local=2097152KB total=2097152KB Type=MCDRAM)
+ Group0(Cluster) L#1 (total=3145728KB Type=Cluster)
+ NUMANode L#2 (P#1 local=1048576KB total=1048576KB)
+ L3Cache(MemorySideCache) L#1 (size=2097152KB linesize=64 ways=1 Inclusive=1 Type=MemorySideCache)
+ L2Cache L#2 (size=4096KB linesize=64)
+ L1dCache L#4 (size=32KB linesize=64)
+ L1iCache L#4 (size=32KB linesize=64)
+ Core L#4 (P#4)
+ PU L#16 (P#4)
+ PU L#17 (P#20)
+ PU L#18 (P#36)
+ PU L#19 (P#52)
+ L1dCache L#5 (size=32KB linesize=64)
+ L1iCache L#5 (size=32KB linesize=64)
+ Core L#5 (P#5)
+ PU L#20 (P#5)
+ PU L#21 (P#21)
+ PU L#22 (P#37)
+ PU L#23 (P#53)
+ L2Cache L#3 (size=4096KB linesize=64)
+ L1dCache L#6 (size=32KB linesize=64)
+ L1iCache L#6 (size=32KB linesize=64)
+ Core L#6 (P#6)
+ PU L#24 (P#6)
+ PU L#25 (P#22)
+ PU L#26 (P#38)
+ PU L#27 (P#54)
+ L1dCache L#7 (size=32KB linesize=64)
+ L1iCache L#7 (size=32KB linesize=64)
+ Core L#7 (P#7)
+ PU L#28 (P#7)
+ PU L#29 (P#23)
+ PU L#30 (P#39)
+ PU L#31 (P#55)
+ NUMANode(MCDRAM) L#3 (P#4 local=2097152KB total=2097152KB Type=MCDRAM)
+ Group0(Cluster) L#2 (total=3145728KB Type=Cluster)
+ NUMANode L#4 (P#2 local=1048576KB total=1048576KB)
+ L3Cache(MemorySideCache) L#2 (size=2097152KB linesize=64 ways=1 Inclusive=1 Type=MemorySideCache)
+ L2Cache L#4 (size=4096KB linesize=64)
+ L1dCache L#8 (size=32KB linesize=64)
+ L1iCache L#8 (size=32KB linesize=64)
+ Core L#8 (P#8)
+ PU L#32 (P#8)
+ PU L#33 (P#24)
+ PU L#34 (P#40)
+ PU L#35 (P#56)
+ L1dCache L#9 (size=32KB linesize=64)
+ L1iCache L#9 (size=32KB linesize=64)
+ Core L#9 (P#9)
+ PU L#36 (P#9)
+ PU L#37 (P#25)
+ PU L#38 (P#41)
+ PU L#39 (P#57)
+ L2Cache L#5 (size=4096KB linesize=64)
+ L1dCache L#10 (size=32KB linesize=64)
+ L1iCache L#10 (size=32KB linesize=64)
+ Core L#10 (P#10)
+ PU L#40 (P#10)
+ PU L#41 (P#26)
+ PU L#42 (P#42)
+ PU L#43 (P#58)
+ L1dCache L#11 (size=32KB linesize=64)
+ L1iCache L#11 (size=32KB linesize=64)
+ Core L#11 (P#11)
+ PU L#44 (P#11)
+ PU L#45 (P#27)
+ PU L#46 (P#43)
+ PU L#47 (P#59)
+ NUMANode(MCDRAM) L#5 (P#5 local=2097152KB total=2097152KB Type=MCDRAM)
+ Group0(Cluster) L#3 (total=3145728KB Type=Cluster)
+ NUMANode L#6 (P#3 local=1048576KB total=1048576KB)
+ L3Cache(MemorySideCache) L#3 (size=2097152KB linesize=64 ways=1 Inclusive=1 Type=MemorySideCache)
+ L2Cache L#6 (size=4096KB linesize=64)
+ L1dCache L#12 (size=32KB linesize=64)
+ L1iCache L#12 (size=32KB linesize=64)
+ Core L#12 (P#12)
+ PU L#48 (P#12)
+ PU L#49 (P#28)
+ PU L#50 (P#44)
+ PU L#51 (P#60)
+ L1dCache L#13 (size=32KB linesize=64)
+ L1iCache L#13 (size=32KB linesize=64)
+ Core L#13 (P#13)
+ PU L#52 (P#13)
+ PU L#53 (P#29)
+ PU L#54 (P#45)
+ PU L#55 (P#61)
+ L2Cache L#7 (size=4096KB linesize=64)
+ L1dCache L#14 (size=32KB linesize=64)
+ L1iCache L#14 (size=32KB linesize=64)
+ Core L#14 (P#14)
+ PU L#56 (P#14)
+ PU L#57 (P#30)
+ PU L#58 (P#46)
+ PU L#59 (P#62)
+ L1dCache L#15 (size=32KB linesize=64)
+ L1iCache L#15 (size=32KB linesize=64)
+ Core L#15 (P#15)
+ PU L#60 (P#15)
+ PU L#61 (P#31)
+ PU L#62 (P#47)
+ PU L#63 (P#63)
+ NUMANode(MCDRAM) L#7 (P#6 local=2097152KB total=2097152KB Type=MCDRAM)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 Package (type #3)
+ depth 2: 4 Group0 (type #7)
+ depth 3: 8 NUMANode (type #2)
+ depth 4: 4 L3Cache (type #4)
+ depth 5: 8 L2Cache (type #4)
+ depth 6: 16 L1dCache (type #4)
+ depth 7: 16 L1iCache (type #4)
+ depth 8: 16 Core (type #5)
+ depth 9: 64 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 total=67108240KB Backend=Linux)
+ NUMANode L#0 (P#0 local=16776592KB total=16776592KB)
+ Package L#0 (P#0 CPUModel="Dual-Core AMD Opteron(tm) Processor 8218")
+ L2Cache L#0 (size=1024KB linesize=64 ways=16)
+ L1dCache L#0 (size=64KB linesize=64 ways=2)
+ L1iCache L#0 (size=64KB linesize=64 ways=2)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=1024KB linesize=64 ways=16)
+ L1dCache L#1 (size=64KB linesize=64 ways=2)
+ L1iCache L#1 (size=64KB linesize=64 ways=2)
+ Core L#1 (P#1)
+ PU L#1 (P#4)
+ NUMANode L#1 (P#1 local=16777216KB total=16777216KB)
+ Package L#1 (P#1 CPUModel="Dual-Core AMD Opteron(tm) Processor 8218")
+ L2Cache L#2 (size=1024KB linesize=64 ways=16)
+ L1dCache L#2 (size=64KB linesize=64 ways=2)
+ L1iCache L#2 (size=64KB linesize=64 ways=2)
+ Core L#2 (P#0)
+ PU L#2 (P#1)
+ L2Cache L#3 (size=1024KB linesize=64 ways=16)
+ L1dCache L#3 (size=64KB linesize=64 ways=2)
+ L1iCache L#3 (size=64KB linesize=64 ways=2)
+ Core L#3 (P#1)
+ PU L#3 (P#5)
+ NUMANode L#2 (P#2 local=16777216KB total=16777216KB)
+ Package L#2 (P#2 CPUModel="Dual-Core AMD Opteron(tm) Processor 8218")
+ L2Cache L#4 (size=1024KB linesize=64 ways=16)
+ L1dCache L#4 (size=64KB linesize=64 ways=2)
+ L1iCache L#4 (size=64KB linesize=64 ways=2)
+ Core L#4 (P#0)
+ PU L#4 (P#2)
+ L2Cache L#5 (size=1024KB linesize=64 ways=16)
+ L1dCache L#5 (size=64KB linesize=64 ways=2)
+ L1iCache L#5 (size=64KB linesize=64 ways=2)
+ Core L#5 (P#1)
+ PU L#5 (P#6)
+ NUMANode L#3 (P#3 local=16777216KB total=16777216KB)
+ Package L#3 (P#3 CPUModel="Dual-Core AMD Opteron(tm) Processor 8218")
+ L2Cache L#6 (size=1024KB linesize=64 ways=16)
+ L1dCache L#6 (size=64KB linesize=64 ways=2)
+ L1iCache L#6 (size=64KB linesize=64 ways=2)
+ Core L#6 (P#0)
+ PU L#6 (P#3)
+ L2Cache L#7 (size=1024KB linesize=64 ways=16)
+ L1dCache L#7 (size=64KB linesize=64 ways=2)
+ L1iCache L#7 (size=64KB linesize=64 ways=2)
+ Core L#7 (P#1)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 NUMANode (type #2)
+ depth 2: 4 Package (type #3)
+ depth 3: 8 L2Cache (type #4)
+ depth 4: 8 L1dCache (type #4)
+ depth 5: 8 L1iCache (type #4)
+ depth 6: 8 Core (type #5)
+ depth 7: 8 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 2.000 2.000 2.000
+ 1 2.000 1.000 2.000 2.000
+ 2 2.000 2.000 1.000 2.000
+ 3 2.000 2.000 2.000 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 total=2096684KB DMIProductName=AltixXE320 DMIProductVersion=AltixXE DMIBoardVendor=SM DMIBoardName=X7DWT-INF DMIBoardVersion=1.01 DMIBoardAssetTag= DMIChassisVendor=SGI.COM DMIChassisType=1 DMIChassisVersion=013-5556-002 DMIChassisAssetTag=" " DMIBIOSVendor="Phoenix Technologies LTD" DMIBIOSVersion=.0b\r DMIBIOSDate=03/24/2008 DMISysVendor=SGI.COM Backend=Linux LinuxCgroup=/)
+ NUMANode L#0 (P#0 local=2096684KB total=2096684KB)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(R) CPU E5472 @ 3.00GHz")
+ L2Cache L#0 (size=6144KB linesize=64 ways=24)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#2)
+ L2Cache L#1 (size=6144KB linesize=64 ways=24)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#4)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#3)
+ PU L#3 (P#6)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(R) CPU E5472 @ 3.00GHz")
+ L2Cache L#2 (size=6144KB linesize=64 ways=24)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#4 (P#0)
+ PU L#4 (P#1)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=8)
+ Core L#5 (P#1)
+ PU L#5 (P#3)
+ L2Cache L#3 (size=6144KB linesize=64 ways=24)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#2)
+ PU L#6 (P#5)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#3)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 NUMANode (type #2)
+ depth 2: 2 Package (type #3)
+ depth 3: 4 L2Cache (type #4)
+ depth 4: 8 L1dCache (type #4)
+ depth 5: 8 L1iCache (type #4)
+ depth 6: 8 Core (type #5)
+ depth 7: 8 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 local=16468292KB total=16468292KB DMIProductName="PowerEdge 2950" DMIProductVersion= DMIBoardVendor="Dell Inc." DMIBoardName=0NR282 DMIBoardVersion=A00 DMIBoardAssetTag= DMIChassisVendor="Dell Inc." DMIChassisType=23 DMIChassisVersion= DMIChassisAssetTag= DMIBIOSVendor="Dell Inc." DMIBIOSVersion=2.3.1 DMIBIOSDate=04/29/2008 DMISysVendor="Dell Inc." Backend=Linux)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(R) CPU E5345 @ 2.33GHz")
+ L2Cache L#0 (size=4096KB linesize=64 ways=16)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#4)
+ L2Cache L#1 (size=4096KB linesize=64 ways=16)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#3)
+ PU L#3 (P#6)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(R) CPU E5345 @ 2.33GHz")
+ L2Cache L#2 (size=4096KB linesize=64 ways=16)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#4 (P#0)
+ PU L#4 (P#1)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=8)
+ Core L#5 (P#1)
+ PU L#5 (P#5)
+ L2Cache L#3 (size=4096KB linesize=64 ways=16)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#2)
+ PU L#6 (P#3)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#3)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Package (type #3)
+ depth 2: 4 L2Cache (type #4)
+ depth 3: 8 L1dCache (type #4)
+ depth 4: 8 L1iCache (type #4)
+ depth 5: 8 Core (type #5)
+ depth 6: 8 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 local=16468292KB total=16468292KB DMIProductName="PowerEdge 2950" DMIProductVersion= DMIBoardVendor="Dell Inc." DMIBoardName=0NR282 DMIBoardVersion=A00 DMIBoardAssetTag= DMIChassisVendor="Dell Inc." DMIChassisType=23 DMIChassisVersion= DMIChassisAssetTag= DMIBIOSVendor="Dell Inc." DMIBIOSVersion=2.3.1 DMIBIOSDate=04/29/2008 DMISysVendor="Dell Inc." Backend=Linux)
+ Package L#0 (P#0 CPUModel="Intel(R) Xeon(R) CPU E5345 @ 2.33GHz")
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#0 (size=4096KB linesize=64 ways=16)
+ Core L#1 (P#2)
+ PU L#1 (P#2)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#3)
+ PU L#2 (P#6)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#1)
+ PU L#3 (P#4)
+ Package L#1 (P#1 CPUModel="Intel(R) Xeon(R) CPU E5345 @ 2.33GHz")
+ L2Cache L#1 (size=4096KB linesize=64 ways=16)
+ Core L#4 (P#0)
+ PU L#4 (P#1)
+ Core L#5 (P#1)
+ PU L#5 (P#5)
+ L2Cache L#2 (size=4096KB linesize=64 ways=16)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#2)
+ PU L#6 (P#3)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#3)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Package (type #3)
+ depth 2: 3 L2Cache (type #4)
+ depth 3: 5 L1dCache (type #4)
+ depth 4: 5 L1iCache (type #4)
+ depth 5: 8 Core (type #5)
+ depth 6: 8 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 local=1016272KB total=1016272KB Backend=Linux Architecture=x86_64)
+ Package L#0 (P#1 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=26 CPUModel="Genuine Intel(R) CPU @ 0000 @ 2.93GHz" CPUStepping=2)
+ L3Cache L#0 (size=8192KB linesize=64 ways=16)
+ L2Cache L#0 (size=256KB linesize=64 ways=8)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#4)
+ L2Cache L#1 (size=256KB linesize=64 ways=8)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=4)
+ Core L#1 (P#1)
+ PU L#2 (P#1)
+ PU L#3 (P#5)
+ L2Cache L#2 (size=256KB linesize=64 ways=8)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=4)
+ Core L#2 (P#2)
+ PU L#4 (P#2)
+ PU L#5 (P#6)
+ L2Cache L#3 (size=256KB linesize=64 ways=8)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=4)
+ Core L#3 (P#3)
+ PU L#6 (P#3)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 1 Package (type #3)
+ depth 2: 1 L3Cache (type #4)
+ depth 3: 4 L2Cache (type #4)
+ depth 4: 4 L1dCache (type #4)
+ depth 5: 4 L1iCache (type #4)
+ depth 6: 4 Core (type #5)
+ depth 7: 8 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 total=33331648KB Backend=Linux)
+ NUMANode L#0 (P#0 local=16554432KB total=16554432KB)
+ Package L#0 (P#0)
+ L3Cache L#0 (size=9216KB linesize=128 ways=9)
+ L2dCache L#0 (size=256KB linesize=128 ways=8)
+ L2iCache L#0 (size=1024KB linesize=128 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=4)
+ L1iCache L#0 (size=16KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L3Cache L#1 (size=9216KB linesize=128 ways=9)
+ L2dCache L#1 (size=256KB linesize=128 ways=8)
+ L2iCache L#1 (size=1024KB linesize=128 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=4)
+ L1iCache L#1 (size=16KB linesize=64 ways=4)
+ Core L#1 (P#1)
+ PU L#1 (P#2)
+ Package L#1 (P#196611)
+ L3Cache L#2 (size=9216KB linesize=128 ways=9)
+ L2dCache L#2 (size=256KB linesize=128 ways=8)
+ L2iCache L#2 (size=1024KB linesize=128 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=4)
+ L1iCache L#2 (size=16KB linesize=64 ways=4)
+ Core L#2 (P#0)
+ PU L#2 (P#1)
+ L3Cache L#3 (size=9216KB linesize=128 ways=9)
+ L2dCache L#3 (size=256KB linesize=128 ways=8)
+ L2iCache L#3 (size=1024KB linesize=128 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=4)
+ L1iCache L#3 (size=16KB linesize=64 ways=4)
+ Core L#3 (P#1)
+ PU L#3 (P#3)
+ NUMANode L#1 (P#1 local=16777216KB total=16777216KB)
+ Package L#2 (P#256)
+ L3Cache L#4 (size=9216KB linesize=128 ways=9)
+ L2dCache L#4 (size=256KB linesize=128 ways=8)
+ L2iCache L#4 (size=1024KB linesize=128 ways=8)
+ L1dCache L#4 (size=16KB linesize=64 ways=4)
+ L1iCache L#4 (size=16KB linesize=64 ways=4)
+ Core L#4 (P#0)
+ PU L#4 (P#4)
+ L3Cache L#5 (size=9216KB linesize=128 ways=9)
+ L2dCache L#5 (size=256KB linesize=128 ways=8)
+ L2iCache L#5 (size=1024KB linesize=128 ways=8)
+ L1dCache L#5 (size=16KB linesize=64 ways=4)
+ L1iCache L#5 (size=16KB linesize=64 ways=4)
+ Core L#5 (P#1)
+ PU L#5 (P#6)
+ Package L#3 (P#196867)
+ L3Cache L#6 (size=9216KB linesize=128 ways=9)
+ L2dCache L#6 (size=256KB linesize=128 ways=8)
+ L2iCache L#6 (size=1024KB linesize=128 ways=8)
+ L1dCache L#6 (size=16KB linesize=64 ways=4)
+ L1iCache L#6 (size=16KB linesize=64 ways=4)
+ Core L#6 (P#0)
+ PU L#6 (P#5)
+ L3Cache L#7 (size=9216KB linesize=128 ways=9)
+ L2dCache L#7 (size=256KB linesize=128 ways=8)
+ L2iCache L#7 (size=1024KB linesize=128 ways=8)
+ L1dCache L#7 (size=16KB linesize=64 ways=4)
+ L1iCache L#7 (size=16KB linesize=64 ways=4)
+ Core L#7 (P#1)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 NUMANode (type #2)
+ depth 2: 4 Package (type #3)
+ depth 3: 8 L3Cache (type #4)
+ depth 4: 8 L2dCache (type #4)
+ depth 5: 8 L2iCache (type #4)
+ depth 6: 8 L1dCache (type #4)
+ depth 7: 8 L1iCache (type #4)
+ depth 8: 8 Core (type #5)
+ depth 9: 8 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1
+ 0 1.000 1.500
+ 1 1.500 1.000
+Topology not from this system
--- /dev/null
+Machine (P#0 local=16591312KB total=16591312KB Backend=Linux)
+ Package L#0 (P#0)
+ L3Cache L#0 (size=9216KB linesize=128 ways=9)
+ L2dCache L#0 (size=256KB linesize=128 ways=8)
+ L2iCache L#0 (size=1024KB linesize=128 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=4)
+ L1iCache L#0 (size=16KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ PU L#1 (P#1)
+ L3Cache L#1 (size=9216KB linesize=128 ways=9)
+ L2dCache L#1 (size=256KB linesize=128 ways=8)
+ L2iCache L#1 (size=1024KB linesize=128 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=4)
+ L1iCache L#1 (size=16KB linesize=64 ways=4)
+ Core L#1 (P#1)
+ PU L#2 (P#2)
+ PU L#3 (P#3)
+ Package L#1 (P#1)
+ L3Cache L#2 (size=9216KB linesize=128 ways=9)
+ L2dCache L#2 (size=256KB linesize=128 ways=8)
+ L2iCache L#2 (size=1024KB linesize=128 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=4)
+ L1iCache L#2 (size=16KB linesize=64 ways=4)
+ Core L#2 (P#0)
+ PU L#4 (P#4)
+ PU L#5 (P#5)
+ L3Cache L#3 (size=9216KB linesize=128 ways=9)
+ L2dCache L#3 (size=256KB linesize=128 ways=8)
+ L2iCache L#3 (size=1024KB linesize=128 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=4)
+ L1iCache L#3 (size=16KB linesize=64 ways=4)
+ Core L#3 (P#1)
+ PU L#6 (P#6)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Package (type #3)
+ depth 2: 4 L3Cache (type #4)
+ depth 3: 4 L2dCache (type #4)
+ depth 4: 4 L2iCache (type #4)
+ depth 5: 4 L1dCache (type #4)
+ depth 6: 4 L1iCache (type #4)
+ depth 7: 4 Core (type #5)
+ depth 8: 8 PU (type #6)
+Topology not from this system
--- /dev/null
+Machine (P#0 Backend=Linux)
+ Package L#0 (P#6147)
+ L3Cache L#0 (size=9216KB linesize=128 ways=9)
+ L2dCache L#0 (size=256KB linesize=128 ways=8)
+ L2iCache L#0 (size=1024KB linesize=128 ways=8)
+ L1dCache L#0 (size=16KB linesize=64 ways=4)
+ L1iCache L#0 (size=16KB linesize=64 ways=4)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L3Cache L#1 (size=9216KB linesize=128 ways=9)
+ L2dCache L#1 (size=256KB linesize=128 ways=8)
+ L2iCache L#1 (size=1024KB linesize=128 ways=8)
+ L1dCache L#1 (size=16KB linesize=64 ways=4)
+ L1iCache L#1 (size=16KB linesize=64 ways=4)
+ Core L#1 (P#1)
+ PU L#1 (P#4)
+ Package L#1 (P#6144)
+ L3Cache L#2 (size=9216KB linesize=128 ways=9)
+ L2dCache L#2 (size=256KB linesize=128 ways=8)
+ L2iCache L#2 (size=1024KB linesize=128 ways=8)
+ L1dCache L#2 (size=16KB linesize=64 ways=4)
+ L1iCache L#2 (size=16KB linesize=64 ways=4)
+ Core L#2 (P#1)
+ PU L#2 (P#1)
+ L3Cache L#3 (size=9216KB linesize=128 ways=9)
+ L2dCache L#3 (size=256KB linesize=128 ways=8)
+ L2iCache L#3 (size=1024KB linesize=128 ways=8)
+ L1dCache L#3 (size=16KB linesize=64 ways=4)
+ L1iCache L#3 (size=16KB linesize=64 ways=4)
+ Core L#3 (P#0)
+ PU L#3 (P#5)
+ Package L#2 (P#6145)
+ L3Cache L#4 (size=9216KB linesize=128 ways=9)
+ L2dCache L#4 (size=256KB linesize=128 ways=8)
+ L2iCache L#4 (size=1024KB linesize=128 ways=8)
+ L1dCache L#4 (size=16KB linesize=64 ways=4)
+ L1iCache L#4 (size=16KB linesize=64 ways=4)
+ Core L#4 (P#1)
+ PU L#4 (P#2)
+ L3Cache L#5 (size=9216KB linesize=128 ways=9)
+ L2dCache L#5 (size=256KB linesize=128 ways=8)
+ L2iCache L#5 (size=1024KB linesize=128 ways=8)
+ L1dCache L#5 (size=16KB linesize=64 ways=4)
+ L1iCache L#5 (size=16KB linesize=64 ways=4)
+ Core L#5 (P#0)
+ PU L#5 (P#6)
+ Package L#3 (P#6146)
+ L3Cache L#6 (size=9216KB linesize=128 ways=9)
+ L2dCache L#6 (size=256KB linesize=128 ways=8)
+ L2iCache L#6 (size=1024KB linesize=128 ways=8)
+ L1dCache L#6 (size=16KB linesize=64 ways=4)
+ L1iCache L#6 (size=16KB linesize=64 ways=4)
+ Core L#6 (P#1)
+ PU L#6 (P#3)
+ L3Cache L#7 (size=9216KB linesize=128 ways=9)
+ L2dCache L#7 (size=256KB linesize=128 ways=8)
+ L2iCache L#7 (size=1024KB linesize=128 ways=8)
+ L1dCache L#7 (size=16KB linesize=64 ways=4)
+ L1iCache L#7 (size=16KB linesize=64 ways=4)
+ Core L#7 (P#0)
+ PU L#7 (P#7)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 Package (type #3)
+ depth 2: 8 L3Cache (type #4)
+ depth 3: 8 L2dCache (type #4)
+ depth 4: 8 L2iCache (type #4)
+ depth 5: 8 L1dCache (type #4)
+ depth 6: 8 L1iCache (type #4)
+ depth 7: 8 Core (type #5)
+ depth 8: 8 PU (type #6)
+Topology not from this system
--- /dev/null
+HWLOC_LINUX_USE_CPUINFO=1
+export HWLOC_LINUX_USE_CPUINFO
--- /dev/null
+Machine (P#0 total=528473984KB Backend=Linux)
+ NUMANode L#0 (P#0 local=132101504KB total=132101504KB)
+ Package L#0 (P#1 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ Core L#1 (P#1)
+ PU L#1 (P#4)
+ Core L#2 (P#2)
+ PU L#2 (P#8)
+ Core L#3 (P#3)
+ PU L#3 (P#12)
+ Core L#4 (P#4)
+ PU L#4 (P#16)
+ Core L#5 (P#5)
+ PU L#5 (P#20)
+ Package L#1 (P#0 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#6 (P#0)
+ PU L#6 (P#1)
+ Core L#7 (P#1)
+ PU L#7 (P#5)
+ Core L#8 (P#2)
+ PU L#8 (P#9)
+ Core L#9 (P#3)
+ PU L#9 (P#13)
+ Core L#10 (P#4)
+ PU L#10 (P#17)
+ Core L#11 (P#5)
+ PU L#11 (P#21)
+ Package L#2 (P#2 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#12 (P#0)
+ PU L#12 (P#2)
+ Core L#13 (P#1)
+ PU L#13 (P#6)
+ Core L#14 (P#2)
+ PU L#14 (P#10)
+ Core L#15 (P#3)
+ PU L#15 (P#14)
+ Core L#16 (P#4)
+ PU L#16 (P#18)
+ Core L#17 (P#5)
+ PU L#17 (P#22)
+ Package L#3 (P#3 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#18 (P#0)
+ PU L#18 (P#3)
+ Core L#19 (P#1)
+ PU L#19 (P#7)
+ Core L#20 (P#2)
+ PU L#20 (P#11)
+ Core L#21 (P#3)
+ PU L#21 (P#15)
+ Core L#22 (P#4)
+ PU L#22 (P#19)
+ Core L#23 (P#5)
+ PU L#23 (P#23)
+ NUMANode L#1 (P#1 local=132124160KB total=132124160KB)
+ Package L#4 (P#4 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#24 (P#0)
+ PU L#24 (P#24)
+ Core L#25 (P#1)
+ PU L#25 (P#28)
+ Core L#26 (P#2)
+ PU L#26 (P#32)
+ Core L#27 (P#3)
+ PU L#27 (P#36)
+ Core L#28 (P#4)
+ PU L#28 (P#40)
+ Core L#29 (P#5)
+ PU L#29 (P#44)
+ Package L#5 (P#5 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#30 (P#0)
+ PU L#30 (P#25)
+ Core L#31 (P#1)
+ PU L#31 (P#29)
+ Core L#32 (P#2)
+ PU L#32 (P#33)
+ Core L#33 (P#3)
+ PU L#33 (P#37)
+ Core L#34 (P#4)
+ PU L#34 (P#41)
+ Core L#35 (P#5)
+ PU L#35 (P#45)
+ Package L#6 (P#6 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#36 (P#0)
+ PU L#36 (P#26)
+ Core L#37 (P#1)
+ PU L#37 (P#30)
+ Core L#38 (P#2)
+ PU L#38 (P#34)
+ Core L#39 (P#3)
+ PU L#39 (P#38)
+ Core L#40 (P#4)
+ PU L#40 (P#42)
+ Core L#41 (P#5)
+ PU L#41 (P#46)
+ Package L#7 (P#7 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#42 (P#0)
+ PU L#42 (P#27)
+ Core L#43 (P#1)
+ PU L#43 (P#31)
+ Core L#44 (P#2)
+ PU L#44 (P#35)
+ Core L#45 (P#3)
+ PU L#45 (P#39)
+ Core L#46 (P#4)
+ PU L#46 (P#43)
+ Core L#47 (P#5)
+ PU L#47 (P#47)
+ NUMANode L#2 (P#2 local=132124160KB total=132124160KB)
+ Package L#8 (P#8 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#48 (P#0)
+ PU L#48 (P#48)
+ Core L#49 (P#1)
+ PU L#49 (P#52)
+ Core L#50 (P#2)
+ PU L#50 (P#56)
+ Core L#51 (P#3)
+ PU L#51 (P#60)
+ Core L#52 (P#4)
+ PU L#52 (P#64)
+ Core L#53 (P#5)
+ PU L#53 (P#68)
+ Package L#9 (P#9 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#54 (P#0)
+ PU L#54 (P#49)
+ Core L#55 (P#1)
+ PU L#55 (P#53)
+ Core L#56 (P#2)
+ PU L#56 (P#57)
+ Core L#57 (P#3)
+ PU L#57 (P#61)
+ Core L#58 (P#4)
+ PU L#58 (P#65)
+ Core L#59 (P#5)
+ PU L#59 (P#69)
+ Package L#10 (P#10 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#60 (P#0)
+ PU L#60 (P#50)
+ Core L#61 (P#1)
+ PU L#61 (P#54)
+ Core L#62 (P#2)
+ PU L#62 (P#58)
+ Core L#63 (P#3)
+ PU L#63 (P#62)
+ Core L#64 (P#4)
+ PU L#64 (P#66)
+ Core L#65 (P#5)
+ PU L#65 (P#70)
+ Package L#11 (P#11 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#66 (P#0)
+ PU L#66 (P#51)
+ Core L#67 (P#1)
+ PU L#67 (P#55)
+ Core L#68 (P#2)
+ PU L#68 (P#59)
+ Core L#69 (P#3)
+ PU L#69 (P#63)
+ Core L#70 (P#4)
+ PU L#70 (P#67)
+ Core L#71 (P#5)
+ PU L#71 (P#71)
+ NUMANode L#3 (P#3 local=132124160KB total=132124160KB)
+ Package L#12 (P#12 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#72 (P#0)
+ PU L#72 (P#72)
+ Core L#73 (P#1)
+ PU L#73 (P#76)
+ Core L#74 (P#2)
+ PU L#74 (P#80)
+ Core L#75 (P#3)
+ PU L#75 (P#84)
+ Core L#76 (P#4)
+ PU L#76 (P#88)
+ Core L#77 (P#5)
+ PU L#77 (P#92)
+ Package L#13 (P#13 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#78 (P#0)
+ PU L#78 (P#73)
+ Core L#79 (P#1)
+ PU L#79 (P#77)
+ Core L#80 (P#2)
+ PU L#80 (P#81)
+ Core L#81 (P#3)
+ PU L#81 (P#85)
+ Core L#82 (P#4)
+ PU L#82 (P#89)
+ Core L#83 (P#5)
+ PU L#83 (P#93)
+ Package L#14 (P#14 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#84 (P#0)
+ PU L#84 (P#74)
+ Core L#85 (P#1)
+ PU L#85 (P#78)
+ Core L#86 (P#2)
+ PU L#86 (P#82)
+ Core L#87 (P#3)
+ PU L#87 (P#86)
+ Core L#88 (P#4)
+ PU L#88 (P#90)
+ Core L#89 (P#5)
+ PU L#89 (P#94)
+ Package L#15 (P#15 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ Core L#90 (P#0)
+ PU L#90 (P#75)
+ Core L#91 (P#1)
+ PU L#91 (P#79)
+ Core L#92 (P#2)
+ PU L#92 (P#83)
+ Core L#93 (P#3)
+ PU L#93 (P#87)
+ Core L#94 (P#4)
+ PU L#94 (P#91)
+ Core L#95 (P#5)
+ PU L#95 (P#95)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 NUMANode (type #2)
+ depth 2: 16 Package (type #3)
+ depth 3: 96 Core (type #5)
+ depth 4: 96 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 2.600 2.600 2.600
+ 1 2.600 1.000 2.600 2.600
+ 2 2.600 2.600 1.000 2.600
+ 3 2.600 2.600 2.600 1.000
+Topology not from this system
--- /dev/null
+96em64t-4n4d3ca2co.tar.bz2
--- /dev/null
+Machine (P#0 total=528473984KB Backend=Linux)
+ NUMANode L#0 (P#0 local=132101504KB total=132101504KB)
+ Package L#0 (P#1 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#0 (size=16384KB linesize=64 ways=16)
+ L2Cache L#0 (size=3072KB linesize=64 ways=12)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#4)
+ L2Cache L#1 (size=3072KB linesize=64 ways=12)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#8)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#3)
+ PU L#3 (P#12)
+ L2Cache L#2 (size=3072KB linesize=64 ways=12)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#4 (P#4)
+ PU L#4 (P#16)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=8)
+ Core L#5 (P#5)
+ PU L#5 (P#20)
+ Package L#1 (P#0 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#1 (size=16384KB linesize=64 ways=16)
+ L2Cache L#3 (size=3072KB linesize=64 ways=12)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#0)
+ PU L#6 (P#1)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#1)
+ PU L#7 (P#5)
+ L2Cache L#4 (size=3072KB linesize=64 ways=12)
+ L1dCache L#8 (size=32KB linesize=64 ways=8)
+ L1iCache L#8 (size=32KB linesize=64 ways=8)
+ Core L#8 (P#2)
+ PU L#8 (P#9)
+ L1dCache L#9 (size=32KB linesize=64 ways=8)
+ L1iCache L#9 (size=32KB linesize=64 ways=8)
+ Core L#9 (P#3)
+ PU L#9 (P#13)
+ L2Cache L#5 (size=3072KB linesize=64 ways=12)
+ L1dCache L#10 (size=32KB linesize=64 ways=8)
+ L1iCache L#10 (size=32KB linesize=64 ways=8)
+ Core L#10 (P#4)
+ PU L#10 (P#17)
+ L1dCache L#11 (size=32KB linesize=64 ways=8)
+ L1iCache L#11 (size=32KB linesize=64 ways=8)
+ Core L#11 (P#5)
+ PU L#11 (P#21)
+ Package L#2 (P#2 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#2 (size=16384KB linesize=64 ways=16)
+ L2Cache L#6 (size=3072KB linesize=64 ways=12)
+ L1dCache L#12 (size=32KB linesize=64 ways=8)
+ L1iCache L#12 (size=32KB linesize=64 ways=8)
+ Core L#12 (P#0)
+ PU L#12 (P#2)
+ L1dCache L#13 (size=32KB linesize=64 ways=8)
+ L1iCache L#13 (size=32KB linesize=64 ways=8)
+ Core L#13 (P#1)
+ PU L#13 (P#6)
+ L2Cache L#7 (size=3072KB linesize=64 ways=12)
+ L1dCache L#14 (size=32KB linesize=64 ways=8)
+ L1iCache L#14 (size=32KB linesize=64 ways=8)
+ Core L#14 (P#2)
+ PU L#14 (P#10)
+ L1dCache L#15 (size=32KB linesize=64 ways=8)
+ L1iCache L#15 (size=32KB linesize=64 ways=8)
+ Core L#15 (P#3)
+ PU L#15 (P#14)
+ L2Cache L#8 (size=3072KB linesize=64 ways=12)
+ L1dCache L#16 (size=32KB linesize=64 ways=8)
+ L1iCache L#16 (size=32KB linesize=64 ways=8)
+ Core L#16 (P#4)
+ PU L#16 (P#18)
+ L1dCache L#17 (size=32KB linesize=64 ways=8)
+ L1iCache L#17 (size=32KB linesize=64 ways=8)
+ Core L#17 (P#5)
+ PU L#17 (P#22)
+ Package L#3 (P#3 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#3 (size=16384KB linesize=64 ways=16)
+ L2Cache L#9 (size=3072KB linesize=64 ways=12)
+ L1dCache L#18 (size=32KB linesize=64 ways=8)
+ L1iCache L#18 (size=32KB linesize=64 ways=8)
+ Core L#18 (P#0)
+ PU L#18 (P#3)
+ L1dCache L#19 (size=32KB linesize=64 ways=8)
+ L1iCache L#19 (size=32KB linesize=64 ways=8)
+ Core L#19 (P#1)
+ PU L#19 (P#7)
+ L2Cache L#10 (size=3072KB linesize=64 ways=12)
+ L1dCache L#20 (size=32KB linesize=64 ways=8)
+ L1iCache L#20 (size=32KB linesize=64 ways=8)
+ Core L#20 (P#2)
+ PU L#20 (P#11)
+ L1dCache L#21 (size=32KB linesize=64 ways=8)
+ L1iCache L#21 (size=32KB linesize=64 ways=8)
+ Core L#21 (P#3)
+ PU L#21 (P#15)
+ L2Cache L#11 (size=3072KB linesize=64 ways=12)
+ L1dCache L#22 (size=32KB linesize=64 ways=8)
+ L1iCache L#22 (size=32KB linesize=64 ways=8)
+ Core L#22 (P#4)
+ PU L#22 (P#19)
+ L1dCache L#23 (size=32KB linesize=64 ways=8)
+ L1iCache L#23 (size=32KB linesize=64 ways=8)
+ Core L#23 (P#5)
+ PU L#23 (P#23)
+ NUMANode L#1 (P#1 local=132124160KB total=132124160KB)
+ Package L#4 (P#4 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#4 (size=16384KB linesize=64 ways=16)
+ L2Cache L#12 (size=3072KB linesize=64 ways=12)
+ L1dCache L#24 (size=32KB linesize=64 ways=8)
+ L1iCache L#24 (size=32KB linesize=64 ways=8)
+ Core L#24 (P#0)
+ PU L#24 (P#24)
+ L1dCache L#25 (size=32KB linesize=64 ways=8)
+ L1iCache L#25 (size=32KB linesize=64 ways=8)
+ Core L#25 (P#1)
+ PU L#25 (P#28)
+ L2Cache L#13 (size=3072KB linesize=64 ways=12)
+ L1dCache L#26 (size=32KB linesize=64 ways=8)
+ L1iCache L#26 (size=32KB linesize=64 ways=8)
+ Core L#26 (P#2)
+ PU L#26 (P#32)
+ L1dCache L#27 (size=32KB linesize=64 ways=8)
+ L1iCache L#27 (size=32KB linesize=64 ways=8)
+ Core L#27 (P#3)
+ PU L#27 (P#36)
+ L2Cache L#14 (size=3072KB linesize=64 ways=12)
+ L1dCache L#28 (size=32KB linesize=64 ways=8)
+ L1iCache L#28 (size=32KB linesize=64 ways=8)
+ Core L#28 (P#4)
+ PU L#28 (P#40)
+ L1dCache L#29 (size=32KB linesize=64 ways=8)
+ L1iCache L#29 (size=32KB linesize=64 ways=8)
+ Core L#29 (P#5)
+ PU L#29 (P#44)
+ Package L#5 (P#5 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#5 (size=16384KB linesize=64 ways=16)
+ L2Cache L#15 (size=3072KB linesize=64 ways=12)
+ L1dCache L#30 (size=32KB linesize=64 ways=8)
+ L1iCache L#30 (size=32KB linesize=64 ways=8)
+ Core L#30 (P#0)
+ PU L#30 (P#25)
+ L1dCache L#31 (size=32KB linesize=64 ways=8)
+ L1iCache L#31 (size=32KB linesize=64 ways=8)
+ Core L#31 (P#1)
+ PU L#31 (P#29)
+ L2Cache L#16 (size=3072KB linesize=64 ways=12)
+ L1dCache L#32 (size=32KB linesize=64 ways=8)
+ L1iCache L#32 (size=32KB linesize=64 ways=8)
+ Core L#32 (P#2)
+ PU L#32 (P#33)
+ L1dCache L#33 (size=32KB linesize=64 ways=8)
+ L1iCache L#33 (size=32KB linesize=64 ways=8)
+ Core L#33 (P#3)
+ PU L#33 (P#37)
+ L2Cache L#17 (size=3072KB linesize=64 ways=12)
+ L1dCache L#34 (size=32KB linesize=64 ways=8)
+ L1iCache L#34 (size=32KB linesize=64 ways=8)
+ Core L#34 (P#4)
+ PU L#34 (P#41)
+ L1dCache L#35 (size=32KB linesize=64 ways=8)
+ L1iCache L#35 (size=32KB linesize=64 ways=8)
+ Core L#35 (P#5)
+ PU L#35 (P#45)
+ Package L#6 (P#6 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#6 (size=16384KB linesize=64 ways=16)
+ L2Cache L#18 (size=3072KB linesize=64 ways=12)
+ L1dCache L#36 (size=32KB linesize=64 ways=8)
+ L1iCache L#36 (size=32KB linesize=64 ways=8)
+ Core L#36 (P#0)
+ PU L#36 (P#26)
+ L1dCache L#37 (size=32KB linesize=64 ways=8)
+ L1iCache L#37 (size=32KB linesize=64 ways=8)
+ Core L#37 (P#1)
+ PU L#37 (P#30)
+ L2Cache L#19 (size=3072KB linesize=64 ways=12)
+ L1dCache L#38 (size=32KB linesize=64 ways=8)
+ L1iCache L#38 (size=32KB linesize=64 ways=8)
+ Core L#38 (P#2)
+ PU L#38 (P#34)
+ L1dCache L#39 (size=32KB linesize=64 ways=8)
+ L1iCache L#39 (size=32KB linesize=64 ways=8)
+ Core L#39 (P#3)
+ PU L#39 (P#38)
+ L2Cache L#20 (size=3072KB linesize=64 ways=12)
+ L1dCache L#40 (size=32KB linesize=64 ways=8)
+ L1iCache L#40 (size=32KB linesize=64 ways=8)
+ Core L#40 (P#4)
+ PU L#40 (P#42)
+ L1dCache L#41 (size=32KB linesize=64 ways=8)
+ L1iCache L#41 (size=32KB linesize=64 ways=8)
+ Core L#41 (P#5)
+ PU L#41 (P#46)
+ Package L#7 (P#7 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#7 (size=16384KB linesize=64 ways=16)
+ L2Cache L#21 (size=3072KB linesize=64 ways=12)
+ L1dCache L#42 (size=32KB linesize=64 ways=8)
+ L1iCache L#42 (size=32KB linesize=64 ways=8)
+ Core L#42 (P#0)
+ PU L#42 (P#27)
+ L1dCache L#43 (size=32KB linesize=64 ways=8)
+ L1iCache L#43 (size=32KB linesize=64 ways=8)
+ Core L#43 (P#1)
+ PU L#43 (P#31)
+ L2Cache L#22 (size=3072KB linesize=64 ways=12)
+ L1dCache L#44 (size=32KB linesize=64 ways=8)
+ L1iCache L#44 (size=32KB linesize=64 ways=8)
+ Core L#44 (P#2)
+ PU L#44 (P#35)
+ L1dCache L#45 (size=32KB linesize=64 ways=8)
+ L1iCache L#45 (size=32KB linesize=64 ways=8)
+ Core L#45 (P#3)
+ PU L#45 (P#39)
+ L2Cache L#23 (size=3072KB linesize=64 ways=12)
+ L1dCache L#46 (size=32KB linesize=64 ways=8)
+ L1iCache L#46 (size=32KB linesize=64 ways=8)
+ Core L#46 (P#4)
+ PU L#46 (P#43)
+ L1dCache L#47 (size=32KB linesize=64 ways=8)
+ L1iCache L#47 (size=32KB linesize=64 ways=8)
+ Core L#47 (P#5)
+ PU L#47 (P#47)
+ NUMANode L#2 (P#2 local=132124160KB total=132124160KB)
+ Package L#8 (P#8 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#8 (size=16384KB linesize=64 ways=16)
+ L2Cache L#24 (size=3072KB linesize=64 ways=12)
+ L1dCache L#48 (size=32KB linesize=64 ways=8)
+ L1iCache L#48 (size=32KB linesize=64 ways=8)
+ Core L#48 (P#0)
+ PU L#48 (P#48)
+ L1dCache L#49 (size=32KB linesize=64 ways=8)
+ L1iCache L#49 (size=32KB linesize=64 ways=8)
+ Core L#49 (P#1)
+ PU L#49 (P#52)
+ L2Cache L#25 (size=3072KB linesize=64 ways=12)
+ L1dCache L#50 (size=32KB linesize=64 ways=8)
+ L1iCache L#50 (size=32KB linesize=64 ways=8)
+ Core L#50 (P#2)
+ PU L#50 (P#56)
+ L1dCache L#51 (size=32KB linesize=64 ways=8)
+ L1iCache L#51 (size=32KB linesize=64 ways=8)
+ Core L#51 (P#3)
+ PU L#51 (P#60)
+ L2Cache L#26 (size=3072KB linesize=64 ways=12)
+ L1dCache L#52 (size=32KB linesize=64 ways=8)
+ L1iCache L#52 (size=32KB linesize=64 ways=8)
+ Core L#52 (P#4)
+ PU L#52 (P#64)
+ L1dCache L#53 (size=32KB linesize=64 ways=8)
+ L1iCache L#53 (size=32KB linesize=64 ways=8)
+ Core L#53 (P#5)
+ PU L#53 (P#68)
+ Package L#9 (P#9 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#9 (size=16384KB linesize=64 ways=16)
+ L2Cache L#27 (size=3072KB linesize=64 ways=12)
+ L1dCache L#54 (size=32KB linesize=64 ways=8)
+ L1iCache L#54 (size=32KB linesize=64 ways=8)
+ Core L#54 (P#0)
+ PU L#54 (P#49)
+ L1dCache L#55 (size=32KB linesize=64 ways=8)
+ L1iCache L#55 (size=32KB linesize=64 ways=8)
+ Core L#55 (P#1)
+ PU L#55 (P#53)
+ L2Cache L#28 (size=3072KB linesize=64 ways=12)
+ L1dCache L#56 (size=32KB linesize=64 ways=8)
+ L1iCache L#56 (size=32KB linesize=64 ways=8)
+ Core L#56 (P#2)
+ PU L#56 (P#57)
+ L1dCache L#57 (size=32KB linesize=64 ways=8)
+ L1iCache L#57 (size=32KB linesize=64 ways=8)
+ Core L#57 (P#3)
+ PU L#57 (P#61)
+ L2Cache L#29 (size=3072KB linesize=64 ways=12)
+ L1dCache L#58 (size=32KB linesize=64 ways=8)
+ L1iCache L#58 (size=32KB linesize=64 ways=8)
+ Core L#58 (P#4)
+ PU L#58 (P#65)
+ L1dCache L#59 (size=32KB linesize=64 ways=8)
+ L1iCache L#59 (size=32KB linesize=64 ways=8)
+ Core L#59 (P#5)
+ PU L#59 (P#69)
+ Package L#10 (P#10 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#10 (size=16384KB linesize=64 ways=16)
+ L2Cache L#30 (size=3072KB linesize=64 ways=12)
+ L1dCache L#60 (size=32KB linesize=64 ways=8)
+ L1iCache L#60 (size=32KB linesize=64 ways=8)
+ Core L#60 (P#0)
+ PU L#60 (P#50)
+ L1dCache L#61 (size=32KB linesize=64 ways=8)
+ L1iCache L#61 (size=32KB linesize=64 ways=8)
+ Core L#61 (P#1)
+ PU L#61 (P#54)
+ L2Cache L#31 (size=3072KB linesize=64 ways=12)
+ L1dCache L#62 (size=32KB linesize=64 ways=8)
+ L1iCache L#62 (size=32KB linesize=64 ways=8)
+ Core L#62 (P#2)
+ PU L#62 (P#58)
+ L1dCache L#63 (size=32KB linesize=64 ways=8)
+ L1iCache L#63 (size=32KB linesize=64 ways=8)
+ Core L#63 (P#3)
+ PU L#63 (P#62)
+ L2Cache L#32 (size=3072KB linesize=64 ways=12)
+ L1dCache L#64 (size=32KB linesize=64 ways=8)
+ L1iCache L#64 (size=32KB linesize=64 ways=8)
+ Core L#64 (P#4)
+ PU L#64 (P#66)
+ L1dCache L#65 (size=32KB linesize=64 ways=8)
+ L1iCache L#65 (size=32KB linesize=64 ways=8)
+ Core L#65 (P#5)
+ PU L#65 (P#70)
+ Package L#11 (P#11 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#11 (size=16384KB linesize=64 ways=16)
+ L2Cache L#33 (size=3072KB linesize=64 ways=12)
+ L1dCache L#66 (size=32KB linesize=64 ways=8)
+ L1iCache L#66 (size=32KB linesize=64 ways=8)
+ Core L#66 (P#0)
+ PU L#66 (P#51)
+ L1dCache L#67 (size=32KB linesize=64 ways=8)
+ L1iCache L#67 (size=32KB linesize=64 ways=8)
+ Core L#67 (P#1)
+ PU L#67 (P#55)
+ L2Cache L#34 (size=3072KB linesize=64 ways=12)
+ L1dCache L#68 (size=32KB linesize=64 ways=8)
+ L1iCache L#68 (size=32KB linesize=64 ways=8)
+ Core L#68 (P#2)
+ PU L#68 (P#59)
+ L1dCache L#69 (size=32KB linesize=64 ways=8)
+ L1iCache L#69 (size=32KB linesize=64 ways=8)
+ Core L#69 (P#3)
+ PU L#69 (P#63)
+ L2Cache L#35 (size=3072KB linesize=64 ways=12)
+ L1dCache L#70 (size=32KB linesize=64 ways=8)
+ L1iCache L#70 (size=32KB linesize=64 ways=8)
+ Core L#70 (P#4)
+ PU L#70 (P#67)
+ L1dCache L#71 (size=32KB linesize=64 ways=8)
+ L1iCache L#71 (size=32KB linesize=64 ways=8)
+ Core L#71 (P#5)
+ PU L#71 (P#71)
+ NUMANode L#3 (P#3 local=132124160KB total=132124160KB)
+ Package L#12 (P#12 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#12 (size=16384KB linesize=64 ways=16)
+ L2Cache L#36 (size=3072KB linesize=64 ways=12)
+ L1dCache L#72 (size=32KB linesize=64 ways=8)
+ L1iCache L#72 (size=32KB linesize=64 ways=8)
+ Core L#72 (P#0)
+ PU L#72 (P#72)
+ L1dCache L#73 (size=32KB linesize=64 ways=8)
+ L1iCache L#73 (size=32KB linesize=64 ways=8)
+ Core L#73 (P#1)
+ PU L#73 (P#76)
+ L2Cache L#37 (size=3072KB linesize=64 ways=12)
+ L1dCache L#74 (size=32KB linesize=64 ways=8)
+ L1iCache L#74 (size=32KB linesize=64 ways=8)
+ Core L#74 (P#2)
+ PU L#74 (P#80)
+ L1dCache L#75 (size=32KB linesize=64 ways=8)
+ L1iCache L#75 (size=32KB linesize=64 ways=8)
+ Core L#75 (P#3)
+ PU L#75 (P#84)
+ L2Cache L#38 (size=3072KB linesize=64 ways=12)
+ L1dCache L#76 (size=32KB linesize=64 ways=8)
+ L1iCache L#76 (size=32KB linesize=64 ways=8)
+ Core L#76 (P#4)
+ PU L#76 (P#88)
+ L1dCache L#77 (size=32KB linesize=64 ways=8)
+ L1iCache L#77 (size=32KB linesize=64 ways=8)
+ Core L#77 (P#5)
+ PU L#77 (P#92)
+ Package L#13 (P#13 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#13 (size=16384KB linesize=64 ways=16)
+ L2Cache L#39 (size=3072KB linesize=64 ways=12)
+ L1dCache L#78 (size=32KB linesize=64 ways=8)
+ L1iCache L#78 (size=32KB linesize=64 ways=8)
+ Core L#78 (P#0)
+ PU L#78 (P#73)
+ L1dCache L#79 (size=32KB linesize=64 ways=8)
+ L1iCache L#79 (size=32KB linesize=64 ways=8)
+ Core L#79 (P#1)
+ PU L#79 (P#77)
+ L2Cache L#40 (size=3072KB linesize=64 ways=12)
+ L1dCache L#80 (size=32KB linesize=64 ways=8)
+ L1iCache L#80 (size=32KB linesize=64 ways=8)
+ Core L#80 (P#2)
+ PU L#80 (P#81)
+ L1dCache L#81 (size=32KB linesize=64 ways=8)
+ L1iCache L#81 (size=32KB linesize=64 ways=8)
+ Core L#81 (P#3)
+ PU L#81 (P#85)
+ L2Cache L#41 (size=3072KB linesize=64 ways=12)
+ L1dCache L#82 (size=32KB linesize=64 ways=8)
+ L1iCache L#82 (size=32KB linesize=64 ways=8)
+ Core L#82 (P#4)
+ PU L#82 (P#89)
+ L1dCache L#83 (size=32KB linesize=64 ways=8)
+ L1iCache L#83 (size=32KB linesize=64 ways=8)
+ Core L#83 (P#5)
+ PU L#83 (P#93)
+ Package L#14 (P#14 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#14 (size=16384KB linesize=64 ways=16)
+ L2Cache L#42 (size=3072KB linesize=64 ways=12)
+ L1dCache L#84 (size=32KB linesize=64 ways=8)
+ L1iCache L#84 (size=32KB linesize=64 ways=8)
+ Core L#84 (P#0)
+ PU L#84 (P#74)
+ L1dCache L#85 (size=32KB linesize=64 ways=8)
+ L1iCache L#85 (size=32KB linesize=64 ways=8)
+ Core L#85 (P#1)
+ PU L#85 (P#78)
+ L2Cache L#43 (size=3072KB linesize=64 ways=12)
+ L1dCache L#86 (size=32KB linesize=64 ways=8)
+ L1iCache L#86 (size=32KB linesize=64 ways=8)
+ Core L#86 (P#2)
+ PU L#86 (P#82)
+ L1dCache L#87 (size=32KB linesize=64 ways=8)
+ L1iCache L#87 (size=32KB linesize=64 ways=8)
+ Core L#87 (P#3)
+ PU L#87 (P#86)
+ L2Cache L#44 (size=3072KB linesize=64 ways=12)
+ L1dCache L#88 (size=32KB linesize=64 ways=8)
+ L1iCache L#88 (size=32KB linesize=64 ways=8)
+ Core L#88 (P#4)
+ PU L#88 (P#90)
+ L1dCache L#89 (size=32KB linesize=64 ways=8)
+ L1iCache L#89 (size=32KB linesize=64 ways=8)
+ Core L#89 (P#5)
+ PU L#89 (P#94)
+ Package L#15 (P#15 CPUModel="Genuine Intel(R) CPU @ 2.66GHz")
+ L3Cache L#15 (size=16384KB linesize=64 ways=16)
+ L2Cache L#45 (size=3072KB linesize=64 ways=12)
+ L1dCache L#90 (size=32KB linesize=64 ways=8)
+ L1iCache L#90 (size=32KB linesize=64 ways=8)
+ Core L#90 (P#0)
+ PU L#90 (P#75)
+ L1dCache L#91 (size=32KB linesize=64 ways=8)
+ L1iCache L#91 (size=32KB linesize=64 ways=8)
+ Core L#91 (P#1)
+ PU L#91 (P#79)
+ L2Cache L#46 (size=3072KB linesize=64 ways=12)
+ L1dCache L#92 (size=32KB linesize=64 ways=8)
+ L1iCache L#92 (size=32KB linesize=64 ways=8)
+ Core L#92 (P#2)
+ PU L#92 (P#83)
+ L1dCache L#93 (size=32KB linesize=64 ways=8)
+ L1iCache L#93 (size=32KB linesize=64 ways=8)
+ Core L#93 (P#3)
+ PU L#93 (P#87)
+ L2Cache L#47 (size=3072KB linesize=64 ways=12)
+ L1dCache L#94 (size=32KB linesize=64 ways=8)
+ L1iCache L#94 (size=32KB linesize=64 ways=8)
+ Core L#94 (P#4)
+ PU L#94 (P#91)
+ L1dCache L#95 (size=32KB linesize=64 ways=8)
+ L1iCache L#95 (size=32KB linesize=64 ways=8)
+ Core L#95 (P#5)
+ PU L#95 (P#95)
+depth 0: 1 Machine (type #1)
+ depth 1: 4 NUMANode (type #2)
+ depth 2: 16 Package (type #3)
+ depth 3: 16 L3Cache (type #4)
+ depth 4: 48 L2Cache (type #4)
+ depth 5: 96 L1dCache (type #4)
+ depth 6: 96 L1iCache (type #4)
+ depth 7: 96 Core (type #5)
+ depth 8: 96 PU (type #6)
+relative latency matrix between NUMANodes (depth 1) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 2.600 2.600 2.600
+ 1 2.600 1.000 2.600 2.600
+ 2 2.600 2.600 1.000 2.600
+ 3 2.600 2.600 2.600 1.000
+Topology not from this system
--- /dev/null
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009-2011 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+# Add your expected output file here.
+# By default, it shows the output of `lstopo - -v'.
+sysfs_outputs = \
+ 2amd64-2n.output \
+ 2i386-2t-hugepagesizecount.xml.output \
+ 2i386-2c-nohugepage.xml.output \
+ 2ps3-2t.output \
+ 4em64t-2c2t-ignore-reorder.output \
+ 4ia64-4s.output \
+ 4ppc-4c.output \
+ 256ppc-8n8s4t.output \
+ 256ppc-8n8s4t-nocache.output \
+ 256ppc-8n8s4t-nosys.output \
+ 28em64t-2s2n7c-buggycoresiblings.output \
+ 32amd64-4s2n4c-cgroup.output \
+ 32amd64-4s2n4c-cgroup.xml.output \
+ 32ppc-4n4c2c.output \
+ 8amd64-4n2c.output \
+ 8em64t-4c2t.output \
+ 8em64t-2s2ca2c.output \
+ 8em64t-2s2ca2c-buggynuma.output \
+ 8em64t-2s4c-heterogeneous.output \
+ 8ia64-2n2s2c.output \
+ 8ia64-2s2c2t.output \
+ 8ia64-4s2c.output \
+ 16amd64-4n4c-cgroup-distance-merge.output \
+ 16amd64-8n2c.output \
+ 16amd64-8n2c-cpusets.output \
+ 16amd64-8n2c-cpusets.xml.output \
+ 16amd64-8n2c-cpusets_noadmin.output \
+ 16em64t-4s2ca2c-cpusetreorder.output \
+ 16em64t-4s2ca2c-cpusetreorder-merge.output \
+ 16em64t-4s2c2t.output \
+ 16em64t-4s2c2t-offlines.output \
+ 16em64t-4s2c2t-offlines.xml.output \
+ 16em64t-4s2c2t-offlines_noadmin.output \
+ 16em64t-4s2c2t_ncaches.output \
+ 16em64t-4s2c2t_merge.output \
+ 16em64t-4s2c2t.xml.output \
+ 16em64t-2m4c2t.output \
+ 16ia64-8n2s.output \
+ 24em64t-2n6c2t+2mic.olddriver.output \
+ 32em64t-2n8c+1mic.output \
+ 40intel64-2g2n4c+pci.output \
+ 40intel64-4n10c+pci-conflicts.output \
+ 48amd64-4d2n6c-sparse.output \
+ 64amd64-4s2n4ca2co.output \
+ 64fake-4n2s2ca2c2t.output \
+ 64intel64-fakeKNL-A2A-cache.output \
+ 64intel64-fakeKNL-SNC4-hybrid.output \
+ 96em64t-4n4d3ca2co.output \
+ 96em64t-4n4d3ca2co-forcecpuinfo.output \
+ 128ia64-17n4s2c.output \
+ 256ia64-64n2s2c.output \
+ 4qs22-2s2t.output \
+ 2s390-2c.output \
+ 20s390-2g6s4c.output \
+ 1alpha.output \
+ 2arm-2c.output
+
+# Each output `xyz.output' must have a corresponding tarball `xyz.tar.bz2'
+# or a corresponding `xyz.source' specifying which tarball to use
+sysfs_tarballs = \
+ 2amd64-2n.tar.bz2 \
+ 2i386-2t-hugepagesizecount.tar.bz2 \
+ 2i386-2t-hugepagesizecount.xml.source \
+ 2i386-2c-nohugepage.tar.bz2 \
+ 2i386-2c-nohugepage.xml.source \
+ 2ps3-2t.tar.bz2 \
+ 4em64t-2c2t-ignore-reorder.tar.bz2 \
+ 4ia64-4s.tar.bz2 \
+ 4ppc-4c.tar.bz2 \
+ 256ppc-8n8s4t.tar.bz2 \
+ 256ppc-8n8s4t-nocache.source \
+ 256ppc-8n8s4t-nosys.source \
+ 28em64t-2s2n7c-buggycoresiblings.tar.bz2 \
+ 32amd64-4s2n4c-cgroup.tar.bz2 \
+ 32amd64-4s2n4c-cgroup.xml.source \
+ 32ppc-4n4c2c.tar.bz2 \
+ 8amd64-4n2c.tar.bz2 \
+ 8em64t-4c2t.tar.bz2 \
+ 8em64t-2s2ca2c.tar.bz2 \
+ 8em64t-2s2ca2c-buggynuma.tar.bz2 \
+ 8em64t-2s4c-heterogeneous.tar.bz2 \
+ 8ia64-2n2s2c.tar.bz2 \
+ 8ia64-2s2c2t.tar.bz2 \
+ 8ia64-4s2c.tar.bz2 \
+ 16amd64-4n4c-cgroup-distance-merge.tar.bz2 \
+ 16amd64-8n2c.tar.bz2 \
+ 16amd64-8n2c-cpusets.tar.bz2 \
+ 16amd64-8n2c-cpusets.xml.source \
+ 16amd64-8n2c-cpusets_noadmin.source \
+ 16em64t-4s2ca2c-cpusetreorder.tar.bz2 \
+ 16em64t-4s2ca2c-cpusetreorder-merge.source \
+ 16em64t-4s2c2t.tar.bz2 \
+ 16em64t-4s2c2t-offlines.tar.bz2 \
+ 16em64t-4s2c2t-offlines.xml.source \
+ 16em64t-4s2c2t-offlines_noadmin.source \
+ 16em64t-2m4c2t.tar.bz2 \
+ 16em64t-4s2c2t_merge.source \
+ 16em64t-4s2c2t_ncaches.source \
+ 16em64t-4s2c2t.xml.source \
+ 16ia64-8n2s.tar.bz2 \
+ 24em64t-2n6c2t+2mic.olddriver.tar.bz2 \
+ 32em64t-2n8c+1mic.tar.bz2 \
+ 40intel64-2g2n4c+pci.tar.bz2 \
+ 40intel64-4n10c+pci-conflicts.tar.bz2 \
+ 48amd64-4d2n6c-sparse.tar.bz2 \
+ 64amd64-4s2n4ca2co.tar.bz2 \
+ 64fake-4n2s2ca2c2t.tar.bz2 \
+ 64intel64-fakeKNL-A2A-cache.tar.bz2 \
+ 64intel64-fakeKNL-SNC4-hybrid.tar.bz2 \
+ 96em64t-4n4d3ca2co.tar.bz2 \
+ 96em64t-4n4d3ca2co-forcecpuinfo.source \
+ 128ia64-17n4s2c.tar.bz2 \
+ 256ia64-64n2s2c.tar.bz2 \
+ 4qs22-2s2t.tar.bz2 \
+ 2s390-2c.tar.bz2 \
+ 20s390-2g6s4c.tar.bz2 \
+ 1alpha.tar.bz2 \
+ 2arm-2c.tar.bz2
+
+# Each output `xyz.output' may have a corresponding exclude `xyz.exclude'
+sysfs_excludes = \
+ 256ppc-8n8s4t-nocache.exclude \
+ 256ppc-8n8s4t-nosys.exclude
+
+# Each output `xyz.output' may have a corresponding `xyz.options'
+# file modifying the behavior of lstopo
+sysfs_options = \
+ 2i386-2t-hugepagesizecount.xml.options \
+ 2i386-2c-nohugepage.xml.options \
+ 4em64t-2c2t-ignore-reorder.options \
+ 16amd64-4n4c-cgroup-distance-merge.options \
+ 16amd64-8n2c-cpusets.xml.options \
+ 16amd64-8n2c-cpusets_noadmin.options \
+ 16em64t-4s2ca2c-cpusetreorder-merge.options \
+ 16em64t-4s2c2t-offlines.xml.options \
+ 16em64t-4s2c2t-offlines_noadmin.options \
+ 16em64t-4s2c2t_ncaches.options \
+ 16em64t-4s2c2t_merge.options \
+ 16em64t-4s2c2t.xml.options \
+ 32amd64-4s2n4c-cgroup.xml.options \
+ 24em64t-2n6c2t+2mic.olddriver.options \
+ 32em64t-2n8c+1mic.options \
+ 40intel64-2g2n4c+pci.options
+
+# Each output `xyz.output' may have a corresponding `xyz.env'
+# modifying the environment of lstopo
+sysfs_envs = \
+ 2i386-2t-hugepagesizecount.xml.env \
+ 16amd64-8n2c-cpusets.xml.env \
+ 32amd64-4s2n4c-cgroup.env \
+ 32amd64-4s2n4c-cgroup.xml.env \
+ 40intel64-2g2n4c+pci.env \
+ 40intel64-4n10c+pci-conflicts.env \
+ 96em64t-4n4d3ca2co-forcecpuinfo.env
+
+if HWLOC_HAVE_OPENAT
+if HWLOC_HAVE_BUNZIPP
+TESTS = $(sysfs_outputs)
+endif HWLOC_HAVE_BUNZIPP
+endif HWLOC_HAVE_OPENAT
+
+EXTRA_DIST = $(sysfs_outputs) $(sysfs_tarballs) $(sysfs_excludes) $(sysfs_options) $(sysfs_envs)
+
+LOG_COMPILER = $(builddir)/test-topology.sh
+
+SUBDIRS = . allowed gather
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009-2011 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = tests/linux
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = test-topology.sh
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ check recheck distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+DIST_SUBDIRS = $(SUBDIRS)
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/test-topology.sh.in \
+ $(top_srcdir)/./config/test-driver README
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+# Add your expected output file here.
+# By default, it shows the output of `lstopo - -v'.
+sysfs_outputs = \
+ 2amd64-2n.output \
+ 2i386-2t-hugepagesizecount.xml.output \
+ 2i386-2c-nohugepage.xml.output \
+ 2ps3-2t.output \
+ 4em64t-2c2t-ignore-reorder.output \
+ 4ia64-4s.output \
+ 4ppc-4c.output \
+ 256ppc-8n8s4t.output \
+ 256ppc-8n8s4t-nocache.output \
+ 256ppc-8n8s4t-nosys.output \
+ 28em64t-2s2n7c-buggycoresiblings.output \
+ 32amd64-4s2n4c-cgroup.output \
+ 32amd64-4s2n4c-cgroup.xml.output \
+ 32ppc-4n4c2c.output \
+ 8amd64-4n2c.output \
+ 8em64t-4c2t.output \
+ 8em64t-2s2ca2c.output \
+ 8em64t-2s2ca2c-buggynuma.output \
+ 8em64t-2s4c-heterogeneous.output \
+ 8ia64-2n2s2c.output \
+ 8ia64-2s2c2t.output \
+ 8ia64-4s2c.output \
+ 16amd64-4n4c-cgroup-distance-merge.output \
+ 16amd64-8n2c.output \
+ 16amd64-8n2c-cpusets.output \
+ 16amd64-8n2c-cpusets.xml.output \
+ 16amd64-8n2c-cpusets_noadmin.output \
+ 16em64t-4s2ca2c-cpusetreorder.output \
+ 16em64t-4s2ca2c-cpusetreorder-merge.output \
+ 16em64t-4s2c2t.output \
+ 16em64t-4s2c2t-offlines.output \
+ 16em64t-4s2c2t-offlines.xml.output \
+ 16em64t-4s2c2t-offlines_noadmin.output \
+ 16em64t-4s2c2t_ncaches.output \
+ 16em64t-4s2c2t_merge.output \
+ 16em64t-4s2c2t.xml.output \
+ 16em64t-2m4c2t.output \
+ 16ia64-8n2s.output \
+ 24em64t-2n6c2t+2mic.olddriver.output \
+ 32em64t-2n8c+1mic.output \
+ 40intel64-2g2n4c+pci.output \
+ 40intel64-4n10c+pci-conflicts.output \
+ 48amd64-4d2n6c-sparse.output \
+ 64amd64-4s2n4ca2co.output \
+ 64fake-4n2s2ca2c2t.output \
+ 64intel64-fakeKNL-A2A-cache.output \
+ 64intel64-fakeKNL-SNC4-hybrid.output \
+ 96em64t-4n4d3ca2co.output \
+ 96em64t-4n4d3ca2co-forcecpuinfo.output \
+ 128ia64-17n4s2c.output \
+ 256ia64-64n2s2c.output \
+ 4qs22-2s2t.output \
+ 2s390-2c.output \
+ 20s390-2g6s4c.output \
+ 1alpha.output \
+ 2arm-2c.output
+
+
+# Each output `xyz.output' must have a corresponding tarball `xyz.tar.bz2'
+# or a corresponding `xyz.source' specifying which tarball to use
+sysfs_tarballs = \
+ 2amd64-2n.tar.bz2 \
+ 2i386-2t-hugepagesizecount.tar.bz2 \
+ 2i386-2t-hugepagesizecount.xml.source \
+ 2i386-2c-nohugepage.tar.bz2 \
+ 2i386-2c-nohugepage.xml.source \
+ 2ps3-2t.tar.bz2 \
+ 4em64t-2c2t-ignore-reorder.tar.bz2 \
+ 4ia64-4s.tar.bz2 \
+ 4ppc-4c.tar.bz2 \
+ 256ppc-8n8s4t.tar.bz2 \
+ 256ppc-8n8s4t-nocache.source \
+ 256ppc-8n8s4t-nosys.source \
+ 28em64t-2s2n7c-buggycoresiblings.tar.bz2 \
+ 32amd64-4s2n4c-cgroup.tar.bz2 \
+ 32amd64-4s2n4c-cgroup.xml.source \
+ 32ppc-4n4c2c.tar.bz2 \
+ 8amd64-4n2c.tar.bz2 \
+ 8em64t-4c2t.tar.bz2 \
+ 8em64t-2s2ca2c.tar.bz2 \
+ 8em64t-2s2ca2c-buggynuma.tar.bz2 \
+ 8em64t-2s4c-heterogeneous.tar.bz2 \
+ 8ia64-2n2s2c.tar.bz2 \
+ 8ia64-2s2c2t.tar.bz2 \
+ 8ia64-4s2c.tar.bz2 \
+ 16amd64-4n4c-cgroup-distance-merge.tar.bz2 \
+ 16amd64-8n2c.tar.bz2 \
+ 16amd64-8n2c-cpusets.tar.bz2 \
+ 16amd64-8n2c-cpusets.xml.source \
+ 16amd64-8n2c-cpusets_noadmin.source \
+ 16em64t-4s2ca2c-cpusetreorder.tar.bz2 \
+ 16em64t-4s2ca2c-cpusetreorder-merge.source \
+ 16em64t-4s2c2t.tar.bz2 \
+ 16em64t-4s2c2t-offlines.tar.bz2 \
+ 16em64t-4s2c2t-offlines.xml.source \
+ 16em64t-4s2c2t-offlines_noadmin.source \
+ 16em64t-2m4c2t.tar.bz2 \
+ 16em64t-4s2c2t_merge.source \
+ 16em64t-4s2c2t_ncaches.source \
+ 16em64t-4s2c2t.xml.source \
+ 16ia64-8n2s.tar.bz2 \
+ 24em64t-2n6c2t+2mic.olddriver.tar.bz2 \
+ 32em64t-2n8c+1mic.tar.bz2 \
+ 40intel64-2g2n4c+pci.tar.bz2 \
+ 40intel64-4n10c+pci-conflicts.tar.bz2 \
+ 48amd64-4d2n6c-sparse.tar.bz2 \
+ 64amd64-4s2n4ca2co.tar.bz2 \
+ 64fake-4n2s2ca2c2t.tar.bz2 \
+ 64intel64-fakeKNL-A2A-cache.tar.bz2 \
+ 64intel64-fakeKNL-SNC4-hybrid.tar.bz2 \
+ 96em64t-4n4d3ca2co.tar.bz2 \
+ 96em64t-4n4d3ca2co-forcecpuinfo.source \
+ 128ia64-17n4s2c.tar.bz2 \
+ 256ia64-64n2s2c.tar.bz2 \
+ 4qs22-2s2t.tar.bz2 \
+ 2s390-2c.tar.bz2 \
+ 20s390-2g6s4c.tar.bz2 \
+ 1alpha.tar.bz2 \
+ 2arm-2c.tar.bz2
+
+
+# Each output `xyz.output' may have a corresponding exclude `xyz.exclude'
+sysfs_excludes = \
+ 256ppc-8n8s4t-nocache.exclude \
+ 256ppc-8n8s4t-nosys.exclude
+
+
+# Each output `xyz.output' may have a corresponding `xyz.options'
+# file modifying the behavior of lstopo
+sysfs_options = \
+ 2i386-2t-hugepagesizecount.xml.options \
+ 2i386-2c-nohugepage.xml.options \
+ 4em64t-2c2t-ignore-reorder.options \
+ 16amd64-4n4c-cgroup-distance-merge.options \
+ 16amd64-8n2c-cpusets.xml.options \
+ 16amd64-8n2c-cpusets_noadmin.options \
+ 16em64t-4s2ca2c-cpusetreorder-merge.options \
+ 16em64t-4s2c2t-offlines.xml.options \
+ 16em64t-4s2c2t-offlines_noadmin.options \
+ 16em64t-4s2c2t_ncaches.options \
+ 16em64t-4s2c2t_merge.options \
+ 16em64t-4s2c2t.xml.options \
+ 32amd64-4s2n4c-cgroup.xml.options \
+ 24em64t-2n6c2t+2mic.olddriver.options \
+ 32em64t-2n8c+1mic.options \
+ 40intel64-2g2n4c+pci.options
+
+
+# Each output `xyz.output' may have a corresponding `xyz.env'
+# modifying the environment of lstopo
+sysfs_envs = \
+ 2i386-2t-hugepagesizecount.xml.env \
+ 16amd64-8n2c-cpusets.xml.env \
+ 32amd64-4s2n4c-cgroup.env \
+ 32amd64-4s2n4c-cgroup.xml.env \
+ 40intel64-2g2n4c+pci.env \
+ 40intel64-4n10c+pci-conflicts.env \
+ 96em64t-4n4d3ca2co-forcecpuinfo.env
+
+@HWLOC_HAVE_BUNZIPP_TRUE@@HWLOC_HAVE_OPENAT_TRUE@TESTS = $(sysfs_outputs)
+EXTRA_DIST = $(sysfs_outputs) $(sysfs_tarballs) $(sysfs_excludes) $(sysfs_options) $(sysfs_envs)
+LOG_COMPILER = $(builddir)/test-topology.sh
+SUBDIRS = . allowed gather
+all: all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .log .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/linux/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign tests/linux/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+test-topology.sh: $(top_builddir)/config.status $(srcdir)/test-topology.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+2amd64-2n.output.log: 2amd64-2n.output
+ @p='2amd64-2n.output'; \
+ b='2amd64-2n.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+2i386-2t-hugepagesizecount.xml.output.log: 2i386-2t-hugepagesizecount.xml.output
+ @p='2i386-2t-hugepagesizecount.xml.output'; \
+ b='2i386-2t-hugepagesizecount.xml.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+2i386-2c-nohugepage.xml.output.log: 2i386-2c-nohugepage.xml.output
+ @p='2i386-2c-nohugepage.xml.output'; \
+ b='2i386-2c-nohugepage.xml.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+2ps3-2t.output.log: 2ps3-2t.output
+ @p='2ps3-2t.output'; \
+ b='2ps3-2t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+4em64t-2c2t-ignore-reorder.output.log: 4em64t-2c2t-ignore-reorder.output
+ @p='4em64t-2c2t-ignore-reorder.output'; \
+ b='4em64t-2c2t-ignore-reorder.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+4ia64-4s.output.log: 4ia64-4s.output
+ @p='4ia64-4s.output'; \
+ b='4ia64-4s.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+4ppc-4c.output.log: 4ppc-4c.output
+ @p='4ppc-4c.output'; \
+ b='4ppc-4c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+256ppc-8n8s4t.output.log: 256ppc-8n8s4t.output
+ @p='256ppc-8n8s4t.output'; \
+ b='256ppc-8n8s4t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+256ppc-8n8s4t-nocache.output.log: 256ppc-8n8s4t-nocache.output
+ @p='256ppc-8n8s4t-nocache.output'; \
+ b='256ppc-8n8s4t-nocache.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+256ppc-8n8s4t-nosys.output.log: 256ppc-8n8s4t-nosys.output
+ @p='256ppc-8n8s4t-nosys.output'; \
+ b='256ppc-8n8s4t-nosys.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+28em64t-2s2n7c-buggycoresiblings.output.log: 28em64t-2s2n7c-buggycoresiblings.output
+ @p='28em64t-2s2n7c-buggycoresiblings.output'; \
+ b='28em64t-2s2n7c-buggycoresiblings.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+32amd64-4s2n4c-cgroup.output.log: 32amd64-4s2n4c-cgroup.output
+ @p='32amd64-4s2n4c-cgroup.output'; \
+ b='32amd64-4s2n4c-cgroup.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+32amd64-4s2n4c-cgroup.xml.output.log: 32amd64-4s2n4c-cgroup.xml.output
+ @p='32amd64-4s2n4c-cgroup.xml.output'; \
+ b='32amd64-4s2n4c-cgroup.xml.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+32ppc-4n4c2c.output.log: 32ppc-4n4c2c.output
+ @p='32ppc-4n4c2c.output'; \
+ b='32ppc-4n4c2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8amd64-4n2c.output.log: 8amd64-4n2c.output
+ @p='8amd64-4n2c.output'; \
+ b='8amd64-4n2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8em64t-4c2t.output.log: 8em64t-4c2t.output
+ @p='8em64t-4c2t.output'; \
+ b='8em64t-4c2t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8em64t-2s2ca2c.output.log: 8em64t-2s2ca2c.output
+ @p='8em64t-2s2ca2c.output'; \
+ b='8em64t-2s2ca2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8em64t-2s2ca2c-buggynuma.output.log: 8em64t-2s2ca2c-buggynuma.output
+ @p='8em64t-2s2ca2c-buggynuma.output'; \
+ b='8em64t-2s2ca2c-buggynuma.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8em64t-2s4c-heterogeneous.output.log: 8em64t-2s4c-heterogeneous.output
+ @p='8em64t-2s4c-heterogeneous.output'; \
+ b='8em64t-2s4c-heterogeneous.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8ia64-2n2s2c.output.log: 8ia64-2n2s2c.output
+ @p='8ia64-2n2s2c.output'; \
+ b='8ia64-2n2s2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8ia64-2s2c2t.output.log: 8ia64-2s2c2t.output
+ @p='8ia64-2s2c2t.output'; \
+ b='8ia64-2s2c2t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+8ia64-4s2c.output.log: 8ia64-4s2c.output
+ @p='8ia64-4s2c.output'; \
+ b='8ia64-4s2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16amd64-4n4c-cgroup-distance-merge.output.log: 16amd64-4n4c-cgroup-distance-merge.output
+ @p='16amd64-4n4c-cgroup-distance-merge.output'; \
+ b='16amd64-4n4c-cgroup-distance-merge.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16amd64-8n2c.output.log: 16amd64-8n2c.output
+ @p='16amd64-8n2c.output'; \
+ b='16amd64-8n2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16amd64-8n2c-cpusets.output.log: 16amd64-8n2c-cpusets.output
+ @p='16amd64-8n2c-cpusets.output'; \
+ b='16amd64-8n2c-cpusets.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16amd64-8n2c-cpusets.xml.output.log: 16amd64-8n2c-cpusets.xml.output
+ @p='16amd64-8n2c-cpusets.xml.output'; \
+ b='16amd64-8n2c-cpusets.xml.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16amd64-8n2c-cpusets_noadmin.output.log: 16amd64-8n2c-cpusets_noadmin.output
+ @p='16amd64-8n2c-cpusets_noadmin.output'; \
+ b='16amd64-8n2c-cpusets_noadmin.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2ca2c-cpusetreorder.output.log: 16em64t-4s2ca2c-cpusetreorder.output
+ @p='16em64t-4s2ca2c-cpusetreorder.output'; \
+ b='16em64t-4s2ca2c-cpusetreorder.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2ca2c-cpusetreorder-merge.output.log: 16em64t-4s2ca2c-cpusetreorder-merge.output
+ @p='16em64t-4s2ca2c-cpusetreorder-merge.output'; \
+ b='16em64t-4s2ca2c-cpusetreorder-merge.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t.output.log: 16em64t-4s2c2t.output
+ @p='16em64t-4s2c2t.output'; \
+ b='16em64t-4s2c2t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t-offlines.output.log: 16em64t-4s2c2t-offlines.output
+ @p='16em64t-4s2c2t-offlines.output'; \
+ b='16em64t-4s2c2t-offlines.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t-offlines.xml.output.log: 16em64t-4s2c2t-offlines.xml.output
+ @p='16em64t-4s2c2t-offlines.xml.output'; \
+ b='16em64t-4s2c2t-offlines.xml.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t-offlines_noadmin.output.log: 16em64t-4s2c2t-offlines_noadmin.output
+ @p='16em64t-4s2c2t-offlines_noadmin.output'; \
+ b='16em64t-4s2c2t-offlines_noadmin.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t_ncaches.output.log: 16em64t-4s2c2t_ncaches.output
+ @p='16em64t-4s2c2t_ncaches.output'; \
+ b='16em64t-4s2c2t_ncaches.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t_merge.output.log: 16em64t-4s2c2t_merge.output
+ @p='16em64t-4s2c2t_merge.output'; \
+ b='16em64t-4s2c2t_merge.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t.xml.output.log: 16em64t-4s2c2t.xml.output
+ @p='16em64t-4s2c2t.xml.output'; \
+ b='16em64t-4s2c2t.xml.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-2m4c2t.output.log: 16em64t-2m4c2t.output
+ @p='16em64t-2m4c2t.output'; \
+ b='16em64t-2m4c2t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16ia64-8n2s.output.log: 16ia64-8n2s.output
+ @p='16ia64-8n2s.output'; \
+ b='16ia64-8n2s.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+24em64t-2n6c2t+2mic.olddriver.output.log: 24em64t-2n6c2t+2mic.olddriver.output
+ @p='24em64t-2n6c2t+2mic.olddriver.output'; \
+ b='24em64t-2n6c2t+2mic.olddriver.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+32em64t-2n8c+1mic.output.log: 32em64t-2n8c+1mic.output
+ @p='32em64t-2n8c+1mic.output'; \
+ b='32em64t-2n8c+1mic.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+40intel64-2g2n4c+pci.output.log: 40intel64-2g2n4c+pci.output
+ @p='40intel64-2g2n4c+pci.output'; \
+ b='40intel64-2g2n4c+pci.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+40intel64-4n10c+pci-conflicts.output.log: 40intel64-4n10c+pci-conflicts.output
+ @p='40intel64-4n10c+pci-conflicts.output'; \
+ b='40intel64-4n10c+pci-conflicts.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+48amd64-4d2n6c-sparse.output.log: 48amd64-4d2n6c-sparse.output
+ @p='48amd64-4d2n6c-sparse.output'; \
+ b='48amd64-4d2n6c-sparse.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+64amd64-4s2n4ca2co.output.log: 64amd64-4s2n4ca2co.output
+ @p='64amd64-4s2n4ca2co.output'; \
+ b='64amd64-4s2n4ca2co.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+64fake-4n2s2ca2c2t.output.log: 64fake-4n2s2ca2c2t.output
+ @p='64fake-4n2s2ca2c2t.output'; \
+ b='64fake-4n2s2ca2c2t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+64intel64-fakeKNL-A2A-cache.output.log: 64intel64-fakeKNL-A2A-cache.output
+ @p='64intel64-fakeKNL-A2A-cache.output'; \
+ b='64intel64-fakeKNL-A2A-cache.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+64intel64-fakeKNL-SNC4-hybrid.output.log: 64intel64-fakeKNL-SNC4-hybrid.output
+ @p='64intel64-fakeKNL-SNC4-hybrid.output'; \
+ b='64intel64-fakeKNL-SNC4-hybrid.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+96em64t-4n4d3ca2co.output.log: 96em64t-4n4d3ca2co.output
+ @p='96em64t-4n4d3ca2co.output'; \
+ b='96em64t-4n4d3ca2co.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+96em64t-4n4d3ca2co-forcecpuinfo.output.log: 96em64t-4n4d3ca2co-forcecpuinfo.output
+ @p='96em64t-4n4d3ca2co-forcecpuinfo.output'; \
+ b='96em64t-4n4d3ca2co-forcecpuinfo.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+128ia64-17n4s2c.output.log: 128ia64-17n4s2c.output
+ @p='128ia64-17n4s2c.output'; \
+ b='128ia64-17n4s2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+256ia64-64n2s2c.output.log: 256ia64-64n2s2c.output
+ @p='256ia64-64n2s2c.output'; \
+ b='256ia64-64n2s2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+4qs22-2s2t.output.log: 4qs22-2s2t.output
+ @p='4qs22-2s2t.output'; \
+ b='4qs22-2s2t.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+2s390-2c.output.log: 2s390-2c.output
+ @p='2s390-2c.output'; \
+ b='2s390-2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+20s390-2g6s4c.output.log: 20s390-2g6s4c.output
+ @p='20s390-2g6s4c.output'; \
+ b='20s390-2g6s4c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+1alpha.output.log: 1alpha.output
+ @p='1alpha.output'; \
+ b='1alpha.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+2arm-2c.output.log: 2arm-2c.output
+ @p='2arm-2c.output'; \
+ b='2arm-2c.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(am__recursive_targets) check-am install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-TESTS check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags ctags-am distclean distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
+ uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+-*- text -*-
+
+This directory contains tarballs of Linux sysfs hierarchies collected on
+various systems. Each tarball `xyz.tar.bz2' comes with the corresponding
+`xyz.output', which gives the expected output of "lstopo -v -" for that
+system.
+
+Together with the `HWLOC_FSROOT' environment variable, these are
+used by `test-topology.sh' to check for any regression introduced in
+hwloc detection logic.
+
+A new topology may be added by:
+* running "hwloc-gather-topology" on the target system and saving the
+ tarball and output files here.
+* if lstopo is not available on the target system, running "lstopo -v -"
+ on the extracted tarball to generate the corresponding `output' file
+ locally.
+* adding the tarball and output files to Makefile.am so that they are
+ properly handled in "make check" and "make dist".
+
+When adding a XML-based output, make sure that the filename of the
+tarball ends with .xml.tar.bz2 (so that test-topology may skip it
+if XML support is disabled).
+
+If a `xyz.options' file is found, it will override the `lstopo' options
+(`-v -' by default) for generating the output `xyz.output'.
+
+If the output and tarball names do not match, it is possible to specify
+the actual tarball name in a `xyz.source' file.
+If some files should be excluded when extracting the tarball, they may
+be listed in a `xyz.exclude' file. For instance, to exclude `/sys/*/foo'
+from the saved topology, you should add `*/sys/foo' to `xyz.exclude'.
+These features are especially useful when the same tarball should be
+used for different tests with different configurations and thus different
+expected outputs, without having to save multiple copies of the tarball.
--- /dev/null
+# Copyright © 2009-2017 Inria. All rights reserved.
+# See COPYING in top-level directory.
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+tests_outputs = \
+ test1.output
+
+tests_synthetics = \
+ test1.synthetic
+
+tests_fsroots = \
+ test1.fsroot.tar.bz2
+
+tests_options = \
+ test1.options
+
+tests_envs =
+
+if HWLOC_HAVE_OPENAT
+if HWLOC_HAVE_BUNZIPP
+TESTS = $(tests_outputs)
+endif HWLOC_HAVE_BUNZIPP
+endif HWLOC_HAVE_OPENAT
+
+EXTRA_DIST = $(tests_outputs) $(tests_synthetics) $(tests_fsroots) $(tests_options) $(tests_envs)
+
+LOG_COMPILER = $(builddir)/test-topology.sh
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2017 Inria. All rights reserved.
+# See COPYING in top-level directory.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = tests/linux/allowed
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = test-topology.sh
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/test-topology.sh.in \
+ $(top_srcdir)/./config/test-driver
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+tests_outputs = \
+ test1.output
+
+tests_synthetics = \
+ test1.synthetic
+
+tests_fsroots = \
+ test1.fsroot.tar.bz2
+
+tests_options = \
+ test1.options
+
+tests_envs =
+@HWLOC_HAVE_BUNZIPP_TRUE@@HWLOC_HAVE_OPENAT_TRUE@TESTS = $(tests_outputs)
+EXTRA_DIST = $(tests_outputs) $(tests_synthetics) $(tests_fsroots) $(tests_options) $(tests_envs)
+LOG_COMPILER = $(builddir)/test-topology.sh
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .log .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/linux/allowed/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign tests/linux/allowed/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+test-topology.sh: $(top_builddir)/config.status $(srcdir)/test-topology.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+test1.output.log: test1.output
+ @p='test1.output'; \
+ b='test1.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: all all-am check check-TESTS check-am clean clean-generic \
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
+ uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+#!@BASH@
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009-2011 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+# Check the conformance of `lstopo' for all the Linux sysfs
+# hierarchies available here. Return true on success.
+
+HWLOC_VERSION="@HWLOC_VERSION@"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+lstopo="$HWLOC_top_builddir/utils/lstopo/lstopo-no-graphics"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/hwloc
+export HWLOC_PLUGINS_PATH
+
+HWLOC_THISSYSTEM=1
+export HWLOC_THISSYSTEM
+
+HWLOC_THISSYSTEM_ALLOWED_RESOURCES=1
+export HWLOC_THISSYSTEM_ALLOWED_RESOURCES
+
+actual_output="$1"
+
+# make sure we use default numeric formats (only XML outputs are dis-localized when supported)
+LANG=C
+LC_ALL=C
+export LANG LC_ALL
+
+error()
+{
+ echo $@ 2>&1
+}
+
+# test_topology NAME TOPOLOGY-DIR
+#
+# Test the topology under TOPOLOGY-DIR. Return true on success.
+test_topology ()
+{
+ local input="$1"
+ local dir="$2"
+ local expected_output="$3"
+ local options="$4"
+
+ local output="`mktemp`"
+
+ export HWLOC_DEBUG_CHECK=1
+
+ opts="-v -"
+ [ -r "$options" ] && opts=`cat $options`
+
+ input=$(cat $input)
+ inputformat=synthetic
+
+ if ! HWLOC_FSROOT="$dir" "$lstopo" --if $inputformat -i "$input" $opts \
+ | sed -e 's/ hwlocVersion='$HWLOC_VERSION'//' \
+ -e 's/ ProcessName=lstopo-no-graphics//' \
+ -e 's/ ProcessName=lt-lstopo-no-graphics//' \
+ | grep -v "<info name=\"hwlocVersion\" value=\"$HWLOC_VERSION\"\/>" \
+ | grep -v "<info name=\"ProcessName\" value=\"lstopo-no-graphics\"\/>" \
+ | grep -v "<info name=\"ProcessName\" value=\"lt-lstopo-no-graphics\"\/>" \
+ > "$output"
+ # filtered hwlocVersion since it often changes
+ # filtered gp_index because it depends on the insertiong order, which may depend on pciaccess version, etc
+ then
+ result=1
+ else
+ if [ "$HWLOC_UPDATE_TEST_TOPOLOGY_OUTPUT" != 1 ]
+ then
+ diff @HWLOC_DIFF_U@ -b "$expected_output" "$output"
+ result=$?
+ else
+ if ! diff "$expected_output" "$output" >/dev/null
+ then
+ cp -f "$output" "$expected_output"
+ echo "Updated $expected_output"
+ fi
+ result=0
+ fi
+ fi
+
+ rm "$output"
+
+ return $result
+}
+
+# test_eligible TOPOLOGY-DIR
+#
+# Return true if the topology under TOPOLOGY-DIR is eligible for
+# testing with the current flavor.
+test_eligible()
+{
+ local dir="$1"
+ local output="$2"
+
+ [ -d "$dir" -a -f "$output" ]
+}
+
+
+if [ ! -x "$lstopo" ]
+then
+ error "Could not find executable file \`$lstopo'."
+ exit 1
+fi
+
+topology="${actual_output%.output}"
+if [ "$topology" = "$actual_output" ] ;
+then
+ error "Input file \`$1' should end with .output"
+ exit 1
+fi
+
+actual_options="$topology".options
+
+actual_input="$topology".synthetic
+
+# if there's a .source file, use the tarball name it contains instead of $topology
+if [ -f "$topology".source ] ; then
+ actual_fsroot="$HWLOC_top_srcdir"/tests/linux/allowed/`cat "$topology".fsroot.source`
+else
+ actual_fsroot="$topology".fsroot.tar.bz2
+fi
+
+# if there's a .env file, source it
+if [ -f "$topology".env ] ; then
+ source "$topology".env
+fi
+
+result=1
+
+dir="`mktemp -d`"
+
+if ! ( bunzip2 -c "$actual_fsroot" | ( cd "$dir" && tar xf - $tar_options ) )
+then
+ error "failed to extract topology \`$topology'"
+else
+ actual_dir="`echo "$dir"/*`"
+
+ if test_eligible "$actual_dir" "$actual_output"
+ then
+ test_count="`expr $test_count + 1`"
+
+ test_topology "$actual_input" "$actual_dir" "$actual_output" "$actual_options"
+ result=$?
+ else
+ # Skip this test.
+ result=77
+ fi
+fi
+
+rm -rf "$dir"
+
+exit $result
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000747e" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000747e" nodeset="0x00000006" complete_nodeset="0x0000000f" allowed_nodeset="0x00000006">
+ <info name="Backend" value="Synthetic"/>
+ <info name="SyntheticDescription" value="numa:4 core:2 pu:2"/>
+ <info name="LinuxCgroup" value="/dummy"/>
+ <object type="NUMANode" os_index="0" cpuset="0x0000000e" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000e" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <page_type size="4096" count="0"/>
+ <object type="Core" os_index="0" cpuset="0x00000002" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ <object type="Core" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x00000070" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x00000070" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="2" cpuset="0x00000030" complete_cpuset="0x00000030" online_cpuset="0x00000030" allowed_cpuset="0x00000030" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Core" os_index="3" cpuset="0x00000040" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x00000040" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="2" cpuset="0x00000400" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="5" cpuset="0x00000400" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0x00007000" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x00007000" nodeset="0x0" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <page_type size="4096" count="0"/>
+ <object type="Core" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x0" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ <object type="Core" os_index="7" cpuset="0x00004000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+numa:4 core:2 pu:2
--- /dev/null
+# Copyright © 2010 inria. All rights reserved.
+# Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+if HWLOC_HAVE_LINUX
+if HWLOC_HAVE_OPENAT
+if HWLOC_HAVE_BUNZIPP
+TESTS = test-gather-topology.sh
+endif HWLOC_HAVE_BUNZIPP
+endif HWLOC_HAVE_OPENAT
+endif HWLOC_HAVE_LINUX
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2010 inria. All rights reserved.
+# Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = tests/linux/gather
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = test-gather-topology.sh
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__DIST_COMMON = $(srcdir)/Makefile.in \
+ $(srcdir)/test-gather-topology.sh.in \
+ $(top_srcdir)/./config/test-driver
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+@HWLOC_HAVE_BUNZIPP_TRUE@@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_OPENAT_TRUE@TESTS = test-gather-topology.sh
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .log .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/linux/gather/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign tests/linux/gather/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+test-gather-topology.sh: $(top_builddir)/config.status $(srcdir)/test-gather-topology.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+test-gather-topology.sh.log: test-gather-topology.sh
+ @p='test-gather-topology.sh'; \
+ b='test-gather-topology.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: all all-am check check-TESTS check-am clean clean-generic \
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
+ uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2012-2019 Inria. All rights reserved.
+# Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+# Copyright © 2011 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+lstopo="$HWLOC_top_builddir/utils/lstopo/lstopo-no-graphics"
+gather="$HWLOC_top_builddir/utils/hwloc/hwloc-gather-topology"
+
+# make sure we use default numeric formats
+LANG=C
+LC_ALL=C
+export LANG LC_ALL
+
+# This test can quite long on large server, allow to skip it
+if test "x$HWLOC_TEST_GATHER_TOPOLOGY" = x0; then
+ exit 77
+fi
+
+# Ensure we're running on linux. If not, then just exit with status
+# code 77 (the GNU standard for a skipped test)
+
+case `uname -a` in
+*[Ll]inux*) good=1 ;;
+*)
+ echo "Not running on linux; skipped"
+ exit 77 ;;
+esac
+
+error()
+{
+ echo $@ 2>&1
+}
+
+if [ ! -x "$lstopo" ]
+then
+ error "Could not find executable file \`$lstopo'."
+ exit 1
+fi
+if [ ! -x "$gather" ]
+then
+ error "Could not find executable script \`$gather'."
+ exit 1
+fi
+
+tmpdir=`mktemp -d`
+
+# make sure we compare things that are comparable
+# (the tarball cannot be "this system")
+export HWLOC_THISSYSTEM=0
+
+echo "Saving current system topology to XML..."
+if ! "$lstopo" --no-io "$tmpdir/save1.xml" ; then
+ error "Failed"
+ exit 1
+fi
+
+echo "Saving current system topology to a tarball..."
+if ! "$gather" "$tmpdir/save" ; then
+ error "Failed"
+ exit 1
+fi
+# we'll ignore save.xml generated by hwloc-gather-topology
+# and just our own xmls generated with the right lstopo options
+
+echo "Extracting tarball..."
+if ! ( cd "$tmpdir" && tar xfj save.tar.bz2 ) ; then
+ error "Failed"
+ exit 1
+fi
+export HWLOC_FSROOT="$tmpdir/save"
+
+rm -f "$tmpdir/save/proc/hwloc-nofile-info"
+
+echo "Saving tarball topology to XML..."
+if ! "$lstopo" --no-io "$tmpdir/save2.xml" ; then
+ error "Failed"
+ exit 1
+fi
+
+echo "Comparing XML outputs..."
+( cd $tmpdir && diff -u save1.xml save2.xml )
+result=$?
+
+rm -rf "$tmpdir"
+
+exit $result
--- /dev/null
+#!@BASH@
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009-2011 Université Bordeaux
+# Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+# Check the conformance of `lstopo' for all the Linux sysfs
+# hierarchies available here. Return true on success.
+
+HWLOC_VERSION="@HWLOC_VERSION@"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+lstopo="$HWLOC_top_builddir/utils/lstopo/lstopo-no-graphics"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+actual_output="$1"
+
+# make sure we use default numeric formats
+LANG=C
+LC_ALL=C
+export LANG LC_ALL
+
+error()
+{
+ echo $@ 2>&1
+}
+
+# test_topology NAME TOPOLOGY-DIR
+#
+# Test the topology under TOPOLOGY-DIR. Return true on success.
+test_topology ()
+{
+ local name="$1"
+ local dir="$2"
+ local expected_output="$3"
+ local options="$4"
+
+ local output="`mktemp`"
+
+ export HWLOC_DEBUG_CHECK=1
+
+ opts="-v -"
+ [ -r "$options" ] && opts=`cat $options`
+
+ if ! "$lstopo" -i "$dir" --if fsroot $opts \
+ | sed -e 's/ hwlocVersion='$HWLOC_VERSION'//' \
+ -e 's/ ProcessName=lstopo-no-graphics//' \
+ -e 's/ ProcessName=lt-lstopo-no-graphics//' \
+ | grep -v "<info name=\"hwlocVersion\" value=\"$HWLOC_VERSION\"\/>" \
+ | grep -v "<info name=\"ProcessName\" value=\"lstopo-no-graphics\"\/>" \
+ | grep -v "<info name=\"ProcessName\" value=\"lt-lstopo-no-graphics\"\/>" \
+ > "$output"
+ # filtered hwlocVersion since it often changes
+ then
+ result=1
+ else
+ if [ "$HWLOC_UPDATE_TEST_TOPOLOGY_OUTPUT" != 1 ]
+ then
+ diff @HWLOC_DIFF_U@ -b "$expected_output" "$output"
+ result=$?
+ else
+ if ! diff "$expected_output" "$output" >/dev/null
+ then
+ cp -f "$output" "$expected_output"
+ echo "Updated $expected_output"
+ fi
+ result=0
+ fi
+ fi
+
+ rm "$output"
+
+ return $result
+}
+
+# test_eligible TOPOLOGY-DIR
+#
+# Return true if the topology under TOPOLOGY-DIR is eligible for
+# testing with the current flavor.
+test_eligible()
+{
+ local dir="$1"
+ local output="$2"
+
+ [ -d "$dir" -a -f "$output" ]
+}
+
+
+if [ ! -x "$lstopo" ]
+then
+ error "Could not find executable file \`$lstopo'."
+ exit 1
+fi
+
+topology="${actual_output%.output}"
+if [ "$topology" = "$actual_output" ] ;
+then
+ error "Input file \`$1' should end with .output"
+ exit 1
+fi
+actual_options="$topology".options
+
+# if there's a .source file, use the tarball name it contains instead of $topology
+if [ -f "$topology".source ] ; then
+ actual_source="$HWLOC_top_srcdir"/tests/linux/`cat "$topology".source`
+else
+ actual_source="$topology".tar.bz2
+fi
+
+# if there's a .env file, source it
+if [ -f "$topology".env ] ; then
+ source "$topology".env
+fi
+
+# use an absolute path for tar options because tar is invoked from the temp directory
+actual_exclude="$HWLOC_top_srcdir/tests/linux/`basename $topology`".exclude
+[ -f "$actual_exclude" ] && tar_options="--exclude-from=$actual_exclude"
+
+result=1
+
+dir="`mktemp -d`"
+
+if ! ( bunzip2 -c "$actual_source" | ( cd "$dir" && tar xf - $tar_options ) )
+then
+ error "failed to extract topology \`$topology'"
+else
+ actual_dir="`echo "$dir"/*`"
+
+ if test_eligible "$actual_dir" "$actual_output"
+ then
+ test_count="`expr $test_count + 1`"
+
+ test_topology "`basename $topology`" "$actual_dir" "$actual_output" "$actual_options"
+ result=$?
+ else
+ # Skip this test.
+ result=77
+ fi
+fi
+
+rm -rf "$dir"
+
+exit $result
--- /dev/null
+/*
+ * Copyright © 2010-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <myriexpress.h>
+#include <hwloc.h>
+#include <hwloc/myriexpress.h>
+
+/* check the myriexpress helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ mx_return_t ret;
+ unsigned i, count;
+ int err;
+
+ putenv("MX_ERRORS_ARE_FATAL=0");
+
+ ret = mx_init();
+ if (ret != MX_SUCCESS) {
+ fprintf(stderr, "mx_init failed, %s\n", mx_strerror(ret));
+ return 0;
+ }
+
+ mx_get_info(NULL, MX_NIC_COUNT, NULL, 0, &count, sizeof(count));
+ if (ret != MX_SUCCESS) {
+ fprintf(stderr, "mx_get_info MX_NIC_COUNT failed, %s\n", mx_strerror(ret));
+ return 0;
+ }
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_load(topology);
+
+ for(i=0; i<count; i++) {
+ mx_endpoint_t ep;
+ char *cpuset_string;
+ hwloc_bitmap_t set;
+
+ ret = mx_open_endpoint(i, MX_ANY_ENDPOINT, 0, NULL, 0, &ep);
+ if (ret != MX_SUCCESS)
+ continue;
+ set = hwloc_bitmap_alloc();
+ err = hwloc_mx_endpoint_get_device_cpuset(topology, ep, set);
+ if (err < 0) {
+ perror("hwloc_mx_endpoint_get_device_cpuset failed");
+ return -1;
+ }
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for endpoint on board #%u\n",
+ cpuset_string, i);
+ free(cpuset_string);
+ hwloc_bitmap_free(set);
+ mx_close_endpoint(ep);
+
+ set = hwloc_bitmap_alloc();
+ err = hwloc_mx_board_get_device_cpuset(topology, i, set);
+ if (err < 0) {
+ perror("hwloc_mx_board_get_device_cpuset failed");
+ return -1;
+ }
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for board #%u\n",
+ cpuset_string, i);
+ free(cpuset_string);
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_topology_destroy(topology);
+
+ mx_finalize();
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2012-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <assert.h>
+#include <nvml.h>
+#include <hwloc.h>
+#include <hwloc/nvml.h>
+
+/* check the NVML helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ nvmlReturn_t nvres;
+ nvmlDevice_t device;
+ unsigned count, i;
+ int err;
+
+ nvres = nvmlInit();
+ if (nvres != NVML_SUCCESS) {
+ printf("nvmlInit failed %d\n", nvres);
+ return 0;
+ }
+
+ nvres = nvmlDeviceGetCount(&count);
+ if (nvres != NVML_SUCCESS) {
+ printf("nvmlDeviceGetCount failed %d\n", nvres);
+ return 0;
+ }
+ printf("nvmlDeviceGetCount found %u devices\n", count);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
+ hwloc_topology_load(topology);
+
+ for(i=0; i<count; i++) {
+ hwloc_bitmap_t set;
+ hwloc_obj_t osdev, osdev2, ancestor;
+ const char *value;
+
+ nvres = nvmlDeviceGetHandleByIndex(i, &device);
+ if (nvres != NVML_SUCCESS) {
+ printf("nvmlDeviceGetHandleByIndex failed %d\n", nvres);
+ continue;
+ }
+
+ osdev = hwloc_nvml_get_device_osdev(topology, device);
+ assert(osdev);
+ osdev2 = hwloc_nvml_get_device_osdev_by_index(topology, i);
+ assert(osdev2 == osdev);
+
+ ancestor = hwloc_get_non_io_ancestor_obj(topology, osdev);
+
+ printf("found OSDev %s\n", osdev->name);
+ err = strncmp(osdev->name, "nvml", 4);
+ assert(!err);
+ assert(atoi(osdev->name+4) == (int) i);
+
+ value = hwloc_obj_get_info_by_name(osdev, "Backend");
+ err = strcmp(value, "NVML");
+ assert(!err);
+
+ assert(osdev->attr->osdev.type == HWLOC_OBJ_OSDEV_GPU);
+
+ value = hwloc_obj_get_info_by_name(osdev, "GPUModel");
+ printf("found OSDev model %s\n", value);
+
+ set = hwloc_bitmap_alloc();
+ err = hwloc_nvml_get_device_cpuset(topology, device, set);
+ if (err < 0) {
+ printf("failed to get cpuset for device %u\n", i);
+ } else {
+ char *cpuset_string = NULL;
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for device %u\n", cpuset_string, i);
+ free(cpuset_string);
+ if (hwloc_bitmap_isequal(hwloc_topology_get_complete_cpuset(topology), hwloc_topology_get_topology_cpuset(topology)))
+ /* only compare if the topology is complete, otherwise things can be significantly different */
+ assert(hwloc_bitmap_isequal(set, ancestor->cpuset));
+ }
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_topology_destroy(topology);
+
+ nvmlShutdown();
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2012-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <assert.h>
+#define CL_TARGET_OPENCL_VERSION 220
+#ifdef __APPLE__
+#include <OpenCL/cl.h>
+#else
+#include <CL/cl.h>
+#endif
+#include <hwloc.h>
+#include <hwloc/opencl.h>
+
+/* check the OpenCL helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ cl_int clret;
+ cl_platform_id *platform_ids;
+ unsigned nrp, nrd, count, i, j;
+ int err;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
+ hwloc_topology_load(topology);
+
+ clret = clGetPlatformIDs(0, NULL, &nrp);
+ if (CL_SUCCESS != clret || !nrp)
+ return 0;
+ platform_ids = malloc(nrp * sizeof(*platform_ids));
+ if (!platform_ids)
+ return 0;
+ clret = clGetPlatformIDs(nrp, platform_ids, &nrp);
+ if (CL_SUCCESS != clret || !nrp) {
+ free(platform_ids);
+ return 0;
+ }
+
+ count = 0;
+ for(i=0; i<nrp; i++) {
+ cl_device_id *device_ids;
+
+ clret = clGetDeviceIDs(platform_ids[i], CL_DEVICE_TYPE_ALL, 0, NULL, &nrd);
+ if (CL_SUCCESS != clret || !nrd)
+ continue;
+ device_ids = malloc(nrd * sizeof(*device_ids));
+ if (!device_ids)
+ continue;
+ clret = clGetDeviceIDs(platform_ids[i], CL_DEVICE_TYPE_ALL, nrd, device_ids, &nrd);
+ if (CL_SUCCESS != clret || !nrd) {
+ free(device_ids);
+ continue;
+ }
+
+ for(j=0; j<nrd; j++) {
+ hwloc_bitmap_t set;
+ hwloc_obj_t osdev, osdev2, ancestor;
+ const char *value;
+ unsigned p, d;
+
+ osdev = hwloc_opencl_get_device_osdev(topology, device_ids[j]);
+ osdev2 = hwloc_opencl_get_device_osdev_by_index(topology, i, j);
+ assert(osdev == osdev2);
+ if (!osdev) {
+ printf("no osdev for platform %u device %u\n", i, j);
+ continue;
+ }
+
+ ancestor = hwloc_get_non_io_ancestor_obj(topology, osdev);
+
+ set = hwloc_bitmap_alloc();
+ err = hwloc_opencl_get_device_cpuset(topology, device_ids[j], set);
+ if (err < 0) {
+ printf("no cpuset for platform %u device %u\n", i, j);
+ } else {
+ char *cpuset_string = NULL;
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for platform %u device %u\n", cpuset_string, i, j);
+ free(cpuset_string);
+ if (hwloc_bitmap_isequal(hwloc_topology_get_complete_cpuset(topology), hwloc_topology_get_topology_cpuset(topology)))
+ /* only compare if the topology is complete, otherwise things can be significantly different */
+ assert(hwloc_bitmap_isequal(set, ancestor->cpuset));
+ }
+ hwloc_bitmap_free(set);
+
+ printf("found OSDev %s\n", osdev->name);
+ err = sscanf(osdev->name, "opencl%ud%u", &p, &d);
+ assert(err == 2);
+ assert(p == i);
+ assert(d == j);
+
+ value = hwloc_obj_get_info_by_name(osdev, "Backend");
+ err = strcmp(value, "OpenCL");
+ assert(!err);
+
+ assert(osdev->attr->osdev.type == HWLOC_OBJ_OSDEV_COPROC);
+
+ value = hwloc_obj_get_info_by_name(osdev, "CoProcType");
+ err = strcmp(value, "OpenCL");
+ assert(!err);
+
+ value = hwloc_obj_get_info_by_name(osdev, "GPUModel");
+ printf("found OSDev model %s\n", value);
+
+ count++;
+ }
+ free(device_ids);
+ }
+ free(platform_ids);
+
+ hwloc_topology_destroy(topology);
+
+ return 0;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2010 inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <assert.h>
+#include <infiniband/verbs.h>
+#include <hwloc.h>
+#include <hwloc/openfabrics-verbs.h>
+
+/* check the ibverbs helpers */
+
+int main(void)
+{
+ hwloc_topology_t topology;
+ struct ibv_device **dev_list, *dev;
+ int count, i;
+ int err;
+
+ dev_list = ibv_get_device_list(&count);
+ if (!dev_list) {
+ fprintf(stderr, "ibv_get_device_list failed\n");
+ return 0;
+ }
+ printf("ibv_get_device_list found %d devices\n", count);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES);
+ hwloc_topology_load(topology);
+
+ for(i=0; i<count; i++) {
+ hwloc_bitmap_t set;
+ dev = dev_list[i];
+
+ set = hwloc_bitmap_alloc();
+ err = hwloc_ibv_get_device_cpuset(topology, dev, set);
+ if (err < 0) {
+ printf("failed to get cpuset for device %d (%s)\n",
+ i, ibv_get_device_name(dev));
+ } else {
+ char *cpuset_string = NULL;
+ hwloc_obj_t os;
+
+ hwloc_bitmap_asprintf(&cpuset_string, set);
+ printf("got cpuset %s for device %d (%s)\n",
+ cpuset_string, i, ibv_get_device_name(dev));
+ free(cpuset_string);
+
+ os = hwloc_ibv_get_device_osdev(topology, dev);
+ if (os) {
+ assert(os->type == HWLOC_OBJ_OS_DEVICE);
+ printf("found OS object subtype %u lindex %u name %s\n",
+ (unsigned) os->attr->osdev.type, os->logical_index, os->name);
+ assert(os->attr->osdev.type == HWLOC_OBJ_OSDEV_OPENFABRICS);
+ if (strcmp(ibv_get_device_name(dev), os->name))
+ assert(0);
+ }
+ }
+ hwloc_bitmap_free(set);
+ }
+
+ hwloc_topology_destroy(topology);
+
+ ibv_free_device_list(dev_list);
+
+ return 0;
+}
--- /dev/null
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009, 2011-2012 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+SRC = $(HWLOC_top_srcdir)/src
+
+if HWLOC_HAVE_LINUX
+check_LTLIBRARIES = \
+ libhwloc-port-aix.la \
+ libhwloc-port-bgq.la \
+ libhwloc-port-darwin.la \
+ libhwloc-port-freebsd.la \
+ libhwloc-port-hpux.la \
+ libhwloc-port-netbsd.la \
+ libhwloc-port-osf.la \
+ libhwloc-port-solaris.la \
+ libhwloc-port-windows.la \
+ libhwloc-port-opencl.la \
+ libhwloc-port-cuda.la \
+ libhwloc-port-nvml.la \
+ libhwloc-port-gl.la
+endif HWLOC_HAVE_LINUX
+
+# Note that AC_CONFIG_LINKS sets up the sym links for the files in
+# this directory (back to the $top_srcdir/src directory). So if you
+# need more sym-linked files in here, go edit configure.ac. Note that
+# we have to use sym links in here rather than just directly
+# referencing the files via $HWLOC_top_srcdir/src/foo.c because of
+# dependencies issues when using the Automake option "subdir-objects".
+# We nodist these because they're created by configure.
+
+common_CPPFLAGS = \
+ $(HWLOC_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/include \
+ -DHWLOC_COMPILE_PORTS \
+ -DHWLOC_INSIDE_LIBHWLOC
+
+nodist_libhwloc_port_aix_la_SOURCES = topology-aix.c
+libhwloc_port_aix_la_SOURCES = \
+ include/aix/procinfo.h \
+ include/aix/sys/processor.h \
+ include/aix/sys/rset.h \
+ include/aix/sys/systemcfg.h \
+ include/aix/sys/thread.h
+libhwloc_port_aix_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/aix \
+ -DHWLOC_AIX_SYS \
+ -DHWLOC_HAVE_PTHREAD_GETTHRDS_NP
+
+nodist_libhwloc_port_bgq_la_SOURCES = topology-bgq.c
+libhwloc_port_bgq_la_SOURCES = \
+ include/bgq/spi/include/kernel/location.h \
+ include/bgq/spi/include/kernel/process.h
+libhwloc_port_bgq_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/bgq \
+ -DHWLOC_BGQ_SYS
+
+nodist_libhwloc_port_darwin_la_SOURCES = topology-darwin.c
+libhwloc_port_darwin_la_SOURCES = \
+ include/darwin/sys/sysctl.h
+libhwloc_port_darwin_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/darwin \
+ -DHWLOC_DARWIN_SYS
+
+nodist_libhwloc_port_freebsd_la_SOURCES = topology-freebsd.c
+libhwloc_port_freebsd_la_SOURCES = \
+ include/freebsd/pthread.h \
+ include/freebsd/pthread_np.h \
+ include/freebsd/sys/cpuset.h \
+ include/freebsd/sys/sysctl.h
+libhwloc_port_freebsd_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/freebsd \
+ -DHWLOC_FREEBSD_SYS \
+ -DHAVE_PTHREAD_NP_H \
+ -DHAVE_SYS_CPUSET_H \
+ -DHAVE_SYS_SYSCTL_H \
+ -DHAVE_SYSCTL \
+ -DHAVE_CPUSET_SETAFFINITY \
+ -Dhwloc_thread_t=pthread_t \
+ -DHAVE_DECL_PTHREAD_SETAFFINITY_NP=1 \
+ -DHAVE_DECL_PTHREAD_GETAFFINITY_NP=1 \
+ -DHAVE_CPUSET_SETID
+
+nodist_libhwloc_port_hpux_la_SOURCES = topology-hpux.c
+libhwloc_port_hpux_la_SOURCES = \
+ include/hpux/sys/mpctl.h
+libhwloc_port_hpux_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/hpux \
+ -DHWLOC_HPUX_SYS
+
+nodist_libhwloc_port_netbsd_la_SOURCES = topology-netbsd.c
+libhwloc_port_netbsd_la_SOURCES = \
+ include/netbsd/pthread.h \
+ include/netbsd/sched.h \
+ include/netbsd/sys/sysctl.h
+libhwloc_port_netbsd_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/netbsd \
+ -DHWLOC_NETBSD_SYS \
+ -DHAVE_SYS_SYSCTL_H \
+ -DHAVE_SYSCTL
+
+nodist_libhwloc_port_osf_la_SOURCES = topology-osf.c
+libhwloc_port_osf_la_SOURCES = \
+ include/osf/cpuset.h \
+ include/osf/numa.h \
+ include/osf/radset.h
+libhwloc_port_osf_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/osf \
+ -DHWLOC_OSF_SYS
+
+nodist_libhwloc_port_solaris_la_SOURCES = topology-solaris.c topology-solaris-chiptype.c
+libhwloc_port_solaris_la_SOURCES = \
+ include/solaris/kstat.h \
+ include/solaris/picl.h \
+ include/solaris/sys/lgrp_user.h \
+ include/solaris/sys/processor.h \
+ include/solaris/sys/procset.h \
+ include/solaris/sys/systeminfo.h
+libhwloc_port_solaris_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/solaris \
+ -DHWLOC_SOLARIS_SYS \
+ -DHAVE_LIBLGRP \
+ -DHAVE_DECL_LGRP_LATENCY_COOKIE=1 \
+ -DHAVE_LIBKSTAT \
+ -DHAVE_PICL_H
+
+nodist_libhwloc_port_windows_la_SOURCES = topology-windows.c
+libhwloc_port_windows_la_SOURCES = \
+ include/windows/windows.h
+libhwloc_port_windows_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/windows \
+ -DHWLOC_WIN_SYS
+
+nodist_libhwloc_port_opencl_la_SOURCES = topology-opencl.c
+libhwloc_port_opencl_la_SOURCES = \
+ include/opencl/CL/cl_ext.h
+libhwloc_port_opencl_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/opencl
+
+nodist_libhwloc_port_cuda_la_SOURCES = topology-cuda.c
+libhwloc_port_cuda_la_SOURCES = \
+ include/cuda/cuda.h \
+ include/cuda/cuda_runtime_api.h
+libhwloc_port_cuda_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/cuda
+
+nodist_libhwloc_port_nvml_la_SOURCES = topology-nvml.c
+libhwloc_port_nvml_la_SOURCES = \
+ include/nvml/nvml.h
+libhwloc_port_nvml_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/nvml
+
+nodist_libhwloc_port_gl_la_SOURCES = topology-gl.c
+libhwloc_port_gl_la_SOURCES = \
+ include/gl/X11/Xlib.h \
+ include/gl/NVCtrl/NVCtrl.h \
+ include/gl/NVCtrl/NVCtrlLib.h
+libhwloc_port_gl_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/gl
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009, 2011-2012 Université Bordeaux
+# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = tests/ports
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = topology-solaris.c topology-solaris-chiptype.c \
+ topology-aix.c topology-osf.c topology-windows.c \
+ topology-darwin.c topology-freebsd.c topology-netbsd.c \
+ topology-hpux.c topology-bgq.c topology-opencl.c \
+ topology-cuda.c topology-nvml.c topology-gl.c
+CONFIG_CLEAN_VPATH_FILES =
+libhwloc_port_aix_la_LIBADD =
+am_libhwloc_port_aix_la_OBJECTS =
+nodist_libhwloc_port_aix_la_OBJECTS = \
+ libhwloc_port_aix_la-topology-aix.lo
+libhwloc_port_aix_la_OBJECTS = $(am_libhwloc_port_aix_la_OBJECTS) \
+ $(nodist_libhwloc_port_aix_la_OBJECTS)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_aix_la_rpath =
+libhwloc_port_bgq_la_LIBADD =
+am_libhwloc_port_bgq_la_OBJECTS =
+nodist_libhwloc_port_bgq_la_OBJECTS = \
+ libhwloc_port_bgq_la-topology-bgq.lo
+libhwloc_port_bgq_la_OBJECTS = $(am_libhwloc_port_bgq_la_OBJECTS) \
+ $(nodist_libhwloc_port_bgq_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_bgq_la_rpath =
+libhwloc_port_cuda_la_LIBADD =
+am_libhwloc_port_cuda_la_OBJECTS =
+nodist_libhwloc_port_cuda_la_OBJECTS = \
+ libhwloc_port_cuda_la-topology-cuda.lo
+libhwloc_port_cuda_la_OBJECTS = $(am_libhwloc_port_cuda_la_OBJECTS) \
+ $(nodist_libhwloc_port_cuda_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_cuda_la_rpath =
+libhwloc_port_darwin_la_LIBADD =
+am_libhwloc_port_darwin_la_OBJECTS =
+nodist_libhwloc_port_darwin_la_OBJECTS = \
+ libhwloc_port_darwin_la-topology-darwin.lo
+libhwloc_port_darwin_la_OBJECTS = \
+ $(am_libhwloc_port_darwin_la_OBJECTS) \
+ $(nodist_libhwloc_port_darwin_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_darwin_la_rpath =
+libhwloc_port_freebsd_la_LIBADD =
+am_libhwloc_port_freebsd_la_OBJECTS =
+nodist_libhwloc_port_freebsd_la_OBJECTS = \
+ libhwloc_port_freebsd_la-topology-freebsd.lo
+libhwloc_port_freebsd_la_OBJECTS = \
+ $(am_libhwloc_port_freebsd_la_OBJECTS) \
+ $(nodist_libhwloc_port_freebsd_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_freebsd_la_rpath =
+libhwloc_port_gl_la_LIBADD =
+am_libhwloc_port_gl_la_OBJECTS =
+nodist_libhwloc_port_gl_la_OBJECTS = \
+ libhwloc_port_gl_la-topology-gl.lo
+libhwloc_port_gl_la_OBJECTS = $(am_libhwloc_port_gl_la_OBJECTS) \
+ $(nodist_libhwloc_port_gl_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_gl_la_rpath =
+libhwloc_port_hpux_la_LIBADD =
+am_libhwloc_port_hpux_la_OBJECTS =
+nodist_libhwloc_port_hpux_la_OBJECTS = \
+ libhwloc_port_hpux_la-topology-hpux.lo
+libhwloc_port_hpux_la_OBJECTS = $(am_libhwloc_port_hpux_la_OBJECTS) \
+ $(nodist_libhwloc_port_hpux_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_hpux_la_rpath =
+libhwloc_port_netbsd_la_LIBADD =
+am_libhwloc_port_netbsd_la_OBJECTS =
+nodist_libhwloc_port_netbsd_la_OBJECTS = \
+ libhwloc_port_netbsd_la-topology-netbsd.lo
+libhwloc_port_netbsd_la_OBJECTS = \
+ $(am_libhwloc_port_netbsd_la_OBJECTS) \
+ $(nodist_libhwloc_port_netbsd_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_netbsd_la_rpath =
+libhwloc_port_nvml_la_LIBADD =
+am_libhwloc_port_nvml_la_OBJECTS =
+nodist_libhwloc_port_nvml_la_OBJECTS = \
+ libhwloc_port_nvml_la-topology-nvml.lo
+libhwloc_port_nvml_la_OBJECTS = $(am_libhwloc_port_nvml_la_OBJECTS) \
+ $(nodist_libhwloc_port_nvml_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_nvml_la_rpath =
+libhwloc_port_opencl_la_LIBADD =
+am_libhwloc_port_opencl_la_OBJECTS =
+nodist_libhwloc_port_opencl_la_OBJECTS = \
+ libhwloc_port_opencl_la-topology-opencl.lo
+libhwloc_port_opencl_la_OBJECTS = \
+ $(am_libhwloc_port_opencl_la_OBJECTS) \
+ $(nodist_libhwloc_port_opencl_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_opencl_la_rpath =
+libhwloc_port_osf_la_LIBADD =
+am_libhwloc_port_osf_la_OBJECTS =
+nodist_libhwloc_port_osf_la_OBJECTS = \
+ libhwloc_port_osf_la-topology-osf.lo
+libhwloc_port_osf_la_OBJECTS = $(am_libhwloc_port_osf_la_OBJECTS) \
+ $(nodist_libhwloc_port_osf_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_osf_la_rpath =
+libhwloc_port_solaris_la_LIBADD =
+am_libhwloc_port_solaris_la_OBJECTS =
+nodist_libhwloc_port_solaris_la_OBJECTS = \
+ libhwloc_port_solaris_la-topology-solaris.lo \
+ libhwloc_port_solaris_la-topology-solaris-chiptype.lo
+libhwloc_port_solaris_la_OBJECTS = \
+ $(am_libhwloc_port_solaris_la_OBJECTS) \
+ $(nodist_libhwloc_port_solaris_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_solaris_la_rpath =
+libhwloc_port_windows_la_LIBADD =
+am_libhwloc_port_windows_la_OBJECTS =
+nodist_libhwloc_port_windows_la_OBJECTS = \
+ libhwloc_port_windows_la-topology-windows.lo
+libhwloc_port_windows_la_OBJECTS = \
+ $(am_libhwloc_port_windows_la_OBJECTS) \
+ $(nodist_libhwloc_port_windows_la_OBJECTS)
+@HWLOC_HAVE_LINUX_TRUE@am_libhwloc_port_windows_la_rpath =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/private/autogen -I$(top_builddir)/include/hwloc/autogen
+depcomp = $(SHELL) $(top_srcdir)/./config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(libhwloc_port_aix_la_SOURCES) \
+ $(nodist_libhwloc_port_aix_la_SOURCES) \
+ $(libhwloc_port_bgq_la_SOURCES) \
+ $(nodist_libhwloc_port_bgq_la_SOURCES) \
+ $(libhwloc_port_cuda_la_SOURCES) \
+ $(nodist_libhwloc_port_cuda_la_SOURCES) \
+ $(libhwloc_port_darwin_la_SOURCES) \
+ $(nodist_libhwloc_port_darwin_la_SOURCES) \
+ $(libhwloc_port_freebsd_la_SOURCES) \
+ $(nodist_libhwloc_port_freebsd_la_SOURCES) \
+ $(libhwloc_port_gl_la_SOURCES) \
+ $(nodist_libhwloc_port_gl_la_SOURCES) \
+ $(libhwloc_port_hpux_la_SOURCES) \
+ $(nodist_libhwloc_port_hpux_la_SOURCES) \
+ $(libhwloc_port_netbsd_la_SOURCES) \
+ $(nodist_libhwloc_port_netbsd_la_SOURCES) \
+ $(libhwloc_port_nvml_la_SOURCES) \
+ $(nodist_libhwloc_port_nvml_la_SOURCES) \
+ $(libhwloc_port_opencl_la_SOURCES) \
+ $(nodist_libhwloc_port_opencl_la_SOURCES) \
+ $(libhwloc_port_osf_la_SOURCES) \
+ $(nodist_libhwloc_port_osf_la_SOURCES) \
+ $(libhwloc_port_solaris_la_SOURCES) \
+ $(nodist_libhwloc_port_solaris_la_SOURCES) \
+ $(libhwloc_port_windows_la_SOURCES) \
+ $(nodist_libhwloc_port_windows_la_SOURCES)
+DIST_SOURCES = $(libhwloc_port_aix_la_SOURCES) \
+ $(libhwloc_port_bgq_la_SOURCES) \
+ $(libhwloc_port_cuda_la_SOURCES) \
+ $(libhwloc_port_darwin_la_SOURCES) \
+ $(libhwloc_port_freebsd_la_SOURCES) \
+ $(libhwloc_port_gl_la_SOURCES) \
+ $(libhwloc_port_hpux_la_SOURCES) \
+ $(libhwloc_port_netbsd_la_SOURCES) \
+ $(libhwloc_port_nvml_la_SOURCES) \
+ $(libhwloc_port_opencl_la_SOURCES) \
+ $(libhwloc_port_osf_la_SOURCES) \
+ $(libhwloc_port_solaris_la_SOURCES) \
+ $(libhwloc_port_windows_la_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/./config/depcomp
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+SRC = $(HWLOC_top_srcdir)/src
+@HWLOC_HAVE_LINUX_TRUE@check_LTLIBRARIES = \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-aix.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-bgq.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-darwin.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-freebsd.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-hpux.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-netbsd.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-osf.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-solaris.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-windows.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-opencl.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-cuda.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-nvml.la \
+@HWLOC_HAVE_LINUX_TRUE@ libhwloc-port-gl.la
+
+
+# Note that AC_CONFIG_LINKS sets up the sym links for the files in
+# this directory (back to the $top_srcdir/src directory). So if you
+# need more sym-linked files in here, go edit configure.ac. Note that
+# we have to use sym links in here rather than just directly
+# referencing the files via $HWLOC_top_srcdir/src/foo.c because of
+# dependencies issues when using the Automake option "subdir-objects".
+# We nodist these because they're created by configure.
+common_CPPFLAGS = \
+ $(HWLOC_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/include \
+ -DHWLOC_COMPILE_PORTS \
+ -DHWLOC_INSIDE_LIBHWLOC
+
+nodist_libhwloc_port_aix_la_SOURCES = topology-aix.c
+libhwloc_port_aix_la_SOURCES = \
+ include/aix/procinfo.h \
+ include/aix/sys/processor.h \
+ include/aix/sys/rset.h \
+ include/aix/sys/systemcfg.h \
+ include/aix/sys/thread.h
+
+libhwloc_port_aix_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/aix \
+ -DHWLOC_AIX_SYS \
+ -DHWLOC_HAVE_PTHREAD_GETTHRDS_NP
+
+nodist_libhwloc_port_bgq_la_SOURCES = topology-bgq.c
+libhwloc_port_bgq_la_SOURCES = \
+ include/bgq/spi/include/kernel/location.h \
+ include/bgq/spi/include/kernel/process.h
+
+libhwloc_port_bgq_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/bgq \
+ -DHWLOC_BGQ_SYS
+
+nodist_libhwloc_port_darwin_la_SOURCES = topology-darwin.c
+libhwloc_port_darwin_la_SOURCES = \
+ include/darwin/sys/sysctl.h
+
+libhwloc_port_darwin_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/darwin \
+ -DHWLOC_DARWIN_SYS
+
+nodist_libhwloc_port_freebsd_la_SOURCES = topology-freebsd.c
+libhwloc_port_freebsd_la_SOURCES = \
+ include/freebsd/pthread.h \
+ include/freebsd/pthread_np.h \
+ include/freebsd/sys/cpuset.h \
+ include/freebsd/sys/sysctl.h
+
+libhwloc_port_freebsd_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/freebsd \
+ -DHWLOC_FREEBSD_SYS \
+ -DHAVE_PTHREAD_NP_H \
+ -DHAVE_SYS_CPUSET_H \
+ -DHAVE_SYS_SYSCTL_H \
+ -DHAVE_SYSCTL \
+ -DHAVE_CPUSET_SETAFFINITY \
+ -Dhwloc_thread_t=pthread_t \
+ -DHAVE_DECL_PTHREAD_SETAFFINITY_NP=1 \
+ -DHAVE_DECL_PTHREAD_GETAFFINITY_NP=1 \
+ -DHAVE_CPUSET_SETID
+
+nodist_libhwloc_port_hpux_la_SOURCES = topology-hpux.c
+libhwloc_port_hpux_la_SOURCES = \
+ include/hpux/sys/mpctl.h
+
+libhwloc_port_hpux_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/hpux \
+ -DHWLOC_HPUX_SYS
+
+nodist_libhwloc_port_netbsd_la_SOURCES = topology-netbsd.c
+libhwloc_port_netbsd_la_SOURCES = \
+ include/netbsd/pthread.h \
+ include/netbsd/sched.h \
+ include/netbsd/sys/sysctl.h
+
+libhwloc_port_netbsd_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/netbsd \
+ -DHWLOC_NETBSD_SYS \
+ -DHAVE_SYS_SYSCTL_H \
+ -DHAVE_SYSCTL
+
+nodist_libhwloc_port_osf_la_SOURCES = topology-osf.c
+libhwloc_port_osf_la_SOURCES = \
+ include/osf/cpuset.h \
+ include/osf/numa.h \
+ include/osf/radset.h
+
+libhwloc_port_osf_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/osf \
+ -DHWLOC_OSF_SYS
+
+nodist_libhwloc_port_solaris_la_SOURCES = topology-solaris.c topology-solaris-chiptype.c
+libhwloc_port_solaris_la_SOURCES = \
+ include/solaris/kstat.h \
+ include/solaris/picl.h \
+ include/solaris/sys/lgrp_user.h \
+ include/solaris/sys/processor.h \
+ include/solaris/sys/procset.h \
+ include/solaris/sys/systeminfo.h
+
+libhwloc_port_solaris_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/solaris \
+ -DHWLOC_SOLARIS_SYS \
+ -DHAVE_LIBLGRP \
+ -DHAVE_DECL_LGRP_LATENCY_COOKIE=1 \
+ -DHAVE_LIBKSTAT \
+ -DHAVE_PICL_H
+
+nodist_libhwloc_port_windows_la_SOURCES = topology-windows.c
+libhwloc_port_windows_la_SOURCES = \
+ include/windows/windows.h
+
+libhwloc_port_windows_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/windows \
+ -DHWLOC_WIN_SYS
+
+nodist_libhwloc_port_opencl_la_SOURCES = topology-opencl.c
+libhwloc_port_opencl_la_SOURCES = \
+ include/opencl/CL/cl_ext.h
+
+libhwloc_port_opencl_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/opencl
+
+nodist_libhwloc_port_cuda_la_SOURCES = topology-cuda.c
+libhwloc_port_cuda_la_SOURCES = \
+ include/cuda/cuda.h \
+ include/cuda/cuda_runtime_api.h
+
+libhwloc_port_cuda_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/cuda
+
+nodist_libhwloc_port_nvml_la_SOURCES = topology-nvml.c
+libhwloc_port_nvml_la_SOURCES = \
+ include/nvml/nvml.h
+
+libhwloc_port_nvml_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/nvml
+
+nodist_libhwloc_port_gl_la_SOURCES = topology-gl.c
+libhwloc_port_gl_la_SOURCES = \
+ include/gl/X11/Xlib.h \
+ include/gl/NVCtrl/NVCtrl.h \
+ include/gl/NVCtrl/NVCtrlLib.h
+
+libhwloc_port_gl_la_CPPFLAGS = $(common_CPPFLAGS) \
+ -I$(HWLOC_top_srcdir)/tests/ports/include/gl
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/ports/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign tests/ports/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+clean-checkLTLIBRARIES:
+ -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
+ @list='$(check_LTLIBRARIES)'; \
+ locs=`for p in $$list; do echo $$p; done | \
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
+ sort -u`; \
+ test -z "$$locs" || { \
+ echo rm -f $${locs}; \
+ rm -f $${locs}; \
+ }
+
+libhwloc-port-aix.la: $(libhwloc_port_aix_la_OBJECTS) $(libhwloc_port_aix_la_DEPENDENCIES) $(EXTRA_libhwloc_port_aix_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_aix_la_rpath) $(libhwloc_port_aix_la_OBJECTS) $(libhwloc_port_aix_la_LIBADD) $(LIBS)
+
+libhwloc-port-bgq.la: $(libhwloc_port_bgq_la_OBJECTS) $(libhwloc_port_bgq_la_DEPENDENCIES) $(EXTRA_libhwloc_port_bgq_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_bgq_la_rpath) $(libhwloc_port_bgq_la_OBJECTS) $(libhwloc_port_bgq_la_LIBADD) $(LIBS)
+
+libhwloc-port-cuda.la: $(libhwloc_port_cuda_la_OBJECTS) $(libhwloc_port_cuda_la_DEPENDENCIES) $(EXTRA_libhwloc_port_cuda_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_cuda_la_rpath) $(libhwloc_port_cuda_la_OBJECTS) $(libhwloc_port_cuda_la_LIBADD) $(LIBS)
+
+libhwloc-port-darwin.la: $(libhwloc_port_darwin_la_OBJECTS) $(libhwloc_port_darwin_la_DEPENDENCIES) $(EXTRA_libhwloc_port_darwin_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_darwin_la_rpath) $(libhwloc_port_darwin_la_OBJECTS) $(libhwloc_port_darwin_la_LIBADD) $(LIBS)
+
+libhwloc-port-freebsd.la: $(libhwloc_port_freebsd_la_OBJECTS) $(libhwloc_port_freebsd_la_DEPENDENCIES) $(EXTRA_libhwloc_port_freebsd_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_freebsd_la_rpath) $(libhwloc_port_freebsd_la_OBJECTS) $(libhwloc_port_freebsd_la_LIBADD) $(LIBS)
+
+libhwloc-port-gl.la: $(libhwloc_port_gl_la_OBJECTS) $(libhwloc_port_gl_la_DEPENDENCIES) $(EXTRA_libhwloc_port_gl_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_gl_la_rpath) $(libhwloc_port_gl_la_OBJECTS) $(libhwloc_port_gl_la_LIBADD) $(LIBS)
+
+libhwloc-port-hpux.la: $(libhwloc_port_hpux_la_OBJECTS) $(libhwloc_port_hpux_la_DEPENDENCIES) $(EXTRA_libhwloc_port_hpux_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_hpux_la_rpath) $(libhwloc_port_hpux_la_OBJECTS) $(libhwloc_port_hpux_la_LIBADD) $(LIBS)
+
+libhwloc-port-netbsd.la: $(libhwloc_port_netbsd_la_OBJECTS) $(libhwloc_port_netbsd_la_DEPENDENCIES) $(EXTRA_libhwloc_port_netbsd_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_netbsd_la_rpath) $(libhwloc_port_netbsd_la_OBJECTS) $(libhwloc_port_netbsd_la_LIBADD) $(LIBS)
+
+libhwloc-port-nvml.la: $(libhwloc_port_nvml_la_OBJECTS) $(libhwloc_port_nvml_la_DEPENDENCIES) $(EXTRA_libhwloc_port_nvml_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_nvml_la_rpath) $(libhwloc_port_nvml_la_OBJECTS) $(libhwloc_port_nvml_la_LIBADD) $(LIBS)
+
+libhwloc-port-opencl.la: $(libhwloc_port_opencl_la_OBJECTS) $(libhwloc_port_opencl_la_DEPENDENCIES) $(EXTRA_libhwloc_port_opencl_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_opencl_la_rpath) $(libhwloc_port_opencl_la_OBJECTS) $(libhwloc_port_opencl_la_LIBADD) $(LIBS)
+
+libhwloc-port-osf.la: $(libhwloc_port_osf_la_OBJECTS) $(libhwloc_port_osf_la_DEPENDENCIES) $(EXTRA_libhwloc_port_osf_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_osf_la_rpath) $(libhwloc_port_osf_la_OBJECTS) $(libhwloc_port_osf_la_LIBADD) $(LIBS)
+
+libhwloc-port-solaris.la: $(libhwloc_port_solaris_la_OBJECTS) $(libhwloc_port_solaris_la_DEPENDENCIES) $(EXTRA_libhwloc_port_solaris_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_solaris_la_rpath) $(libhwloc_port_solaris_la_OBJECTS) $(libhwloc_port_solaris_la_LIBADD) $(LIBS)
+
+libhwloc-port-windows.la: $(libhwloc_port_windows_la_OBJECTS) $(libhwloc_port_windows_la_DEPENDENCIES) $(EXTRA_libhwloc_port_windows_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libhwloc_port_windows_la_rpath) $(libhwloc_port_windows_la_OBJECTS) $(libhwloc_port_windows_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_aix_la-topology-aix.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_bgq_la-topology-bgq.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_cuda_la-topology-cuda.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_darwin_la-topology-darwin.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_freebsd_la-topology-freebsd.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_gl_la-topology-gl.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_hpux_la-topology-hpux.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_netbsd_la-topology-netbsd.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_nvml_la-topology-nvml.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_opencl_la-topology-opencl.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_osf_la-topology-osf.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_solaris_la-topology-solaris-chiptype.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_solaris_la-topology-solaris.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhwloc_port_windows_la-topology-windows.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+libhwloc_port_aix_la-topology-aix.lo: topology-aix.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_aix_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_aix_la-topology-aix.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_aix_la-topology-aix.Tpo -c -o libhwloc_port_aix_la-topology-aix.lo `test -f 'topology-aix.c' || echo '$(srcdir)/'`topology-aix.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_aix_la-topology-aix.Tpo $(DEPDIR)/libhwloc_port_aix_la-topology-aix.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-aix.c' object='libhwloc_port_aix_la-topology-aix.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_aix_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_aix_la-topology-aix.lo `test -f 'topology-aix.c' || echo '$(srcdir)/'`topology-aix.c
+
+libhwloc_port_bgq_la-topology-bgq.lo: topology-bgq.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_bgq_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_bgq_la-topology-bgq.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_bgq_la-topology-bgq.Tpo -c -o libhwloc_port_bgq_la-topology-bgq.lo `test -f 'topology-bgq.c' || echo '$(srcdir)/'`topology-bgq.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_bgq_la-topology-bgq.Tpo $(DEPDIR)/libhwloc_port_bgq_la-topology-bgq.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-bgq.c' object='libhwloc_port_bgq_la-topology-bgq.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_bgq_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_bgq_la-topology-bgq.lo `test -f 'topology-bgq.c' || echo '$(srcdir)/'`topology-bgq.c
+
+libhwloc_port_cuda_la-topology-cuda.lo: topology-cuda.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_cuda_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_cuda_la-topology-cuda.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_cuda_la-topology-cuda.Tpo -c -o libhwloc_port_cuda_la-topology-cuda.lo `test -f 'topology-cuda.c' || echo '$(srcdir)/'`topology-cuda.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_cuda_la-topology-cuda.Tpo $(DEPDIR)/libhwloc_port_cuda_la-topology-cuda.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-cuda.c' object='libhwloc_port_cuda_la-topology-cuda.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_cuda_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_cuda_la-topology-cuda.lo `test -f 'topology-cuda.c' || echo '$(srcdir)/'`topology-cuda.c
+
+libhwloc_port_darwin_la-topology-darwin.lo: topology-darwin.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_darwin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_darwin_la-topology-darwin.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_darwin_la-topology-darwin.Tpo -c -o libhwloc_port_darwin_la-topology-darwin.lo `test -f 'topology-darwin.c' || echo '$(srcdir)/'`topology-darwin.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_darwin_la-topology-darwin.Tpo $(DEPDIR)/libhwloc_port_darwin_la-topology-darwin.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-darwin.c' object='libhwloc_port_darwin_la-topology-darwin.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_darwin_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_darwin_la-topology-darwin.lo `test -f 'topology-darwin.c' || echo '$(srcdir)/'`topology-darwin.c
+
+libhwloc_port_freebsd_la-topology-freebsd.lo: topology-freebsd.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_freebsd_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_freebsd_la-topology-freebsd.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_freebsd_la-topology-freebsd.Tpo -c -o libhwloc_port_freebsd_la-topology-freebsd.lo `test -f 'topology-freebsd.c' || echo '$(srcdir)/'`topology-freebsd.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_freebsd_la-topology-freebsd.Tpo $(DEPDIR)/libhwloc_port_freebsd_la-topology-freebsd.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-freebsd.c' object='libhwloc_port_freebsd_la-topology-freebsd.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_freebsd_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_freebsd_la-topology-freebsd.lo `test -f 'topology-freebsd.c' || echo '$(srcdir)/'`topology-freebsd.c
+
+libhwloc_port_gl_la-topology-gl.lo: topology-gl.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_gl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_gl_la-topology-gl.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_gl_la-topology-gl.Tpo -c -o libhwloc_port_gl_la-topology-gl.lo `test -f 'topology-gl.c' || echo '$(srcdir)/'`topology-gl.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_gl_la-topology-gl.Tpo $(DEPDIR)/libhwloc_port_gl_la-topology-gl.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-gl.c' object='libhwloc_port_gl_la-topology-gl.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_gl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_gl_la-topology-gl.lo `test -f 'topology-gl.c' || echo '$(srcdir)/'`topology-gl.c
+
+libhwloc_port_hpux_la-topology-hpux.lo: topology-hpux.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_hpux_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_hpux_la-topology-hpux.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_hpux_la-topology-hpux.Tpo -c -o libhwloc_port_hpux_la-topology-hpux.lo `test -f 'topology-hpux.c' || echo '$(srcdir)/'`topology-hpux.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_hpux_la-topology-hpux.Tpo $(DEPDIR)/libhwloc_port_hpux_la-topology-hpux.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-hpux.c' object='libhwloc_port_hpux_la-topology-hpux.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_hpux_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_hpux_la-topology-hpux.lo `test -f 'topology-hpux.c' || echo '$(srcdir)/'`topology-hpux.c
+
+libhwloc_port_netbsd_la-topology-netbsd.lo: topology-netbsd.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_netbsd_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_netbsd_la-topology-netbsd.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_netbsd_la-topology-netbsd.Tpo -c -o libhwloc_port_netbsd_la-topology-netbsd.lo `test -f 'topology-netbsd.c' || echo '$(srcdir)/'`topology-netbsd.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_netbsd_la-topology-netbsd.Tpo $(DEPDIR)/libhwloc_port_netbsd_la-topology-netbsd.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-netbsd.c' object='libhwloc_port_netbsd_la-topology-netbsd.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_netbsd_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_netbsd_la-topology-netbsd.lo `test -f 'topology-netbsd.c' || echo '$(srcdir)/'`topology-netbsd.c
+
+libhwloc_port_nvml_la-topology-nvml.lo: topology-nvml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_nvml_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_nvml_la-topology-nvml.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_nvml_la-topology-nvml.Tpo -c -o libhwloc_port_nvml_la-topology-nvml.lo `test -f 'topology-nvml.c' || echo '$(srcdir)/'`topology-nvml.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_nvml_la-topology-nvml.Tpo $(DEPDIR)/libhwloc_port_nvml_la-topology-nvml.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-nvml.c' object='libhwloc_port_nvml_la-topology-nvml.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_nvml_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_nvml_la-topology-nvml.lo `test -f 'topology-nvml.c' || echo '$(srcdir)/'`topology-nvml.c
+
+libhwloc_port_opencl_la-topology-opencl.lo: topology-opencl.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_opencl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_opencl_la-topology-opencl.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_opencl_la-topology-opencl.Tpo -c -o libhwloc_port_opencl_la-topology-opencl.lo `test -f 'topology-opencl.c' || echo '$(srcdir)/'`topology-opencl.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_opencl_la-topology-opencl.Tpo $(DEPDIR)/libhwloc_port_opencl_la-topology-opencl.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-opencl.c' object='libhwloc_port_opencl_la-topology-opencl.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_opencl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_opencl_la-topology-opencl.lo `test -f 'topology-opencl.c' || echo '$(srcdir)/'`topology-opencl.c
+
+libhwloc_port_osf_la-topology-osf.lo: topology-osf.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_osf_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_osf_la-topology-osf.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_osf_la-topology-osf.Tpo -c -o libhwloc_port_osf_la-topology-osf.lo `test -f 'topology-osf.c' || echo '$(srcdir)/'`topology-osf.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_osf_la-topology-osf.Tpo $(DEPDIR)/libhwloc_port_osf_la-topology-osf.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-osf.c' object='libhwloc_port_osf_la-topology-osf.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_osf_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_osf_la-topology-osf.lo `test -f 'topology-osf.c' || echo '$(srcdir)/'`topology-osf.c
+
+libhwloc_port_solaris_la-topology-solaris.lo: topology-solaris.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_solaris_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_solaris_la-topology-solaris.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_solaris_la-topology-solaris.Tpo -c -o libhwloc_port_solaris_la-topology-solaris.lo `test -f 'topology-solaris.c' || echo '$(srcdir)/'`topology-solaris.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_solaris_la-topology-solaris.Tpo $(DEPDIR)/libhwloc_port_solaris_la-topology-solaris.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-solaris.c' object='libhwloc_port_solaris_la-topology-solaris.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_solaris_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_solaris_la-topology-solaris.lo `test -f 'topology-solaris.c' || echo '$(srcdir)/'`topology-solaris.c
+
+libhwloc_port_solaris_la-topology-solaris-chiptype.lo: topology-solaris-chiptype.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_solaris_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_solaris_la-topology-solaris-chiptype.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_solaris_la-topology-solaris-chiptype.Tpo -c -o libhwloc_port_solaris_la-topology-solaris-chiptype.lo `test -f 'topology-solaris-chiptype.c' || echo '$(srcdir)/'`topology-solaris-chiptype.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_solaris_la-topology-solaris-chiptype.Tpo $(DEPDIR)/libhwloc_port_solaris_la-topology-solaris-chiptype.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-solaris-chiptype.c' object='libhwloc_port_solaris_la-topology-solaris-chiptype.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_solaris_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_solaris_la-topology-solaris-chiptype.lo `test -f 'topology-solaris-chiptype.c' || echo '$(srcdir)/'`topology-solaris-chiptype.c
+
+libhwloc_port_windows_la-topology-windows.lo: topology-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_windows_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libhwloc_port_windows_la-topology-windows.lo -MD -MP -MF $(DEPDIR)/libhwloc_port_windows_la-topology-windows.Tpo -c -o libhwloc_port_windows_la-topology-windows.lo `test -f 'topology-windows.c' || echo '$(srcdir)/'`topology-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libhwloc_port_windows_la-topology-windows.Tpo $(DEPDIR)/libhwloc_port_windows_la-topology-windows.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='topology-windows.c' object='libhwloc_port_windows_la-topology-windows.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhwloc_port_windows_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libhwloc_port_windows_la-topology-windows.lo `test -f 'topology-windows.c' || echo '$(srcdir)/'`topology-windows.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES)
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkLTLIBRARIES clean-generic clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
+ clean-checkLTLIBRARIES clean-generic clean-libtool \
+ cscopelist-am ctags ctags-am distclean distclean-compile \
+ distclean-generic distclean-libtool distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+/*
+ * Copyright © 2012 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_AIX_PROCINFO_H
+#define HWLOC_PORT_AIX_PROCINFO_H
+
+#include <sys/thread.h>
+#include <sys/processor.h>
+
+struct thrdsinfo {
+ unsigned long ti_tid;
+ unsigned long ti_cpuid;
+};
+
+struct thrdentry64 {
+ tid_t ti_tid;
+ cpu_t ti_cpuid;
+};
+
+extern int getthrds(pid_t, void *, int, tid_t *, int);
+extern int getthrds64(pid_t, void *, int, tid64_t *, int);
+
+#endif /* HWLOC_PORT_AIX_PROCINFO_H */
--- /dev/null
+/*
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_AIX_SYS_PROCESSOR_H
+#define HWLOC_PORT_AIX_SYS_PROCESSOR_H
+
+typedef short cpu_t;
+#define BINDPROCESS 1
+#define BINDTHREAD 2
+#define PROCESSOR_CLASS_ANY ((cpu_t)(-1))
+extern int bindprocessor(int What, int Who, cpu_t Where);
+
+extern cpu_t mycpu(void);
+
+#endif /* HWLOC_PORT_AIX_SYS_PROCESSOR_H */
--- /dev/null
+/*
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_AIX_SYS_RSET_H
+#define HWLOC_PORT_AIX_SYS_RSET_H
+
+#include <stdint.h>
+
+#include "thread.h"
+
+typedef unsigned int uint_t;
+typedef void *rsethandle_t;
+
+#define RS_EMPTY 3
+#define RS_ALL 2
+#define RS_PARTITION 3
+
+#define RS_UNION 1
+#define RS_INTERSECTION 2
+#define RS_EXCLUSION 3
+#define RS_COPY 4
+#define RS_FIRST 5
+#define RS_NEXT 6
+#define RS_NEXT_WRAP 7
+#define RS_ISEMPTY 8
+#define RS_ISEQUAL 9
+#define RS_ISCONTAINED 10
+#define RS_TESTRESOURCE 11
+#define RS_ADDRESOURCE 12
+#define RS_DELRESOURCE 13
+
+typedef int rsinfo_t;
+#define R_NUMPROCS 0
+#define R_MAXSDL 3
+#define R_SMPSDL 4
+#define R_MCMSDL 5
+#define R_MAXPROCS 6
+#define R_L2CSDL 11
+#define R_CORESDL 12
+#define R_REF1SDL 13
+
+#define R_PROCS 6
+
+#define R_NADA 0
+#define R_PROCESS 1
+#define R_RSET 2
+#define R_SUBRANGE 3
+#define R_SHM 4
+#define R_FILDES 5
+#define R_THREAD 6
+
+#define P_DEFAULT 0
+#define P_FIRST_TOUCH 1
+#define P_BALANCED 2 /* This is the default */
+
+rsethandle_t rs_alloc (unsigned int flags);
+int rs_numrads(rsethandle_t rset, unsigned int sdl, unsigned int flags);
+int rs_getrad (rsethandle_t rset, rsethandle_t rad, unsigned int sdl, unsigned int index, unsigned int flags);
+int rs_getinfo(rsethandle_t rseth, rsinfo_t info_type, unsigned int flags);
+int rs_op(unsigned int command, rsethandle_t rseth1, rsethandle_t rseth2, unsigned int flags, unsigned int id);
+void rs_free(rsethandle_t rseth);
+
+typedef int rstype_t;
+typedef struct subrange subrange_t;
+
+typedef union {
+ pid_t at_pid;
+ tid_t at_tid;
+ int at_shmid;
+ int at_fd;
+ rsethandle_t at_rset;
+ subrange_t *at_subrange;
+} rsid_t;
+
+struct subrange {
+ uint64_t su_offset;
+ uint64_t su_length;
+ rstype_t su_rstype;
+ unsigned int su_policy;
+ rsid_t su_rsid;
+ uint64_t su_rsoffset;
+ uint64_t su_rslength;
+};
+
+int ra_attachrset (rstype_t rstype, rsid_t rsid, rsethandle_t rset, unsigned int flags);
+int ra_detachrset (rstype_t rstype, rsid_t rsid, unsigned int flags);
+int ra_getrset (rstype_t rstype, rsid_t rsid, unsigned int flags, rsethandle_t rset);
+
+void * ra_mmap(void *addr, off64_t len, int prot, int flags, int fildes, off64_t off, rstype_t rstype, rsid_t rsid, unsigned int att_flags);
+
+
+#endif /* HWLOC_PORT_AIX_SYS_RSET_H */
--- /dev/null
+/*
+ * Copyright © 2011 Université Bordeaux
+ * Copyright © 2016 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_AIX_SYS_SYSTEMCFG_H
+#define HWLOC_PORT_AIX_SYS_SYSTEMCFG_H
+
+struct {
+ int dcache_size;
+ int dcache_asc;
+ int dcache_line;
+ int icache_size;
+ int icache_asc;
+ int icache_line;
+ int L2_cache_size;
+ int L2_cache_asc;
+ int cache_attrib;
+} _system_configuration;
+
+#define __power_pc() 1
+#define __power_4() 1
+#define __power_5() 1
+#define __power_6() 1
+#define __power_7() 1
+
+/* hide Linux' host disabling _SC_LARGE_PAGESIZE */
+#undef HAVE_DECL__SC_LARGE_PAGESIZE
+#define HAVE_DECL__SC_LARGE_PAGESIZE 1
+#undef _SC_LARGE_PAGESIZE
+#define _SC_LARGE_PAGESIZE 33
+
+#endif /* HWLOC_PORT_AIX_SYS_SYSTEMCFG_H */
--- /dev/null
+/*
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_AIX_SYS_THREAD_H
+#define HWLOC_PORT_AIX_SYS_THREAD_H
+
+typedef long tid_t;
+typedef uint64_t tid64_t;
+
+tid_t thread_self(void);
+struct __pthrdsinfo {
+ tid_t __pi_tid;
+};
+#define PTHRDSINFO_QUERY_TID 0x10
+int pthread_getthrds_np (pthread_t * thread, int mode, struct __pthrdsinfo * buf, int bufsize, void * regbuf, int * regbufsize);
+
+#endif /* HWLOC_PORT_AIX_SYS_THREAD_H */
--- /dev/null
+/*
+ * Copyright © 2013-2015 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_BGQ_KERNEL_LOCATION_H
+#define HWLOC_PORT_BGQ_KERNEL_LOCATION_H
+
+#include <stdint.h>
+
+uint32_t Kernel_ProcessorID( void );
+uint32_t Kernel_MyTcoord( void );
+
+/* don't try to cross-build BGQ port on old Linux platforms */
+#if (!HAVE_DECL_PTHREAD_GETAFFINITY_NP) || (!HAVE_DECL_PTHREAD_SETAFFINITY_NP) || (!defined HWLOC_HAVE_CPU_SET)
+#warning Disabling BGQ port cross-build on old Linux platform
+#define HWLOC_DISABLE_BGQ_PORT_TEST
+#endif
+
+#endif /* HWLOC_PORT_BGQ_KERNEL_LOCATION_H */
--- /dev/null
+/*
+ * Copyright © 2013 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_BGQ_KERNEL_PROCESS_H
+#define HWLOC_PORT_BGQ_KERNEL_PROCESS_H
+
+#include <stdint.h>
+
+uint64_t Kernel_ThreadMask(uint32_t t);
+
+#endif /* HWLOC_PORT_BGQ_KERNEL_PROCESS_H */
--- /dev/null
+/*
+ * Copyright © 2015 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_CUDA_CUDA_H
+#define HWLOC_PORT_CUDA_CUDA_H
+
+#define CUDA_VERSION 4000
+
+#endif /* HWLOC_PORT_CUDA_CUDA_H */
--- /dev/null
+/*
+ * Copyright © 2013-2015 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_CUDA_CUDA_RUNTIME_API_H
+#define HWLOC_PORT_CUDA_CUDA_RUNTIME_API_H
+
+/* we need to replace any CUDA-related #define that configure may have put in private/autogen/config.h */
+#ifndef HWLOC_CONFIGURE_H
+#error cuda_runtime_api.h must be included after private/autogen/config.h
+#endif
+#undef HWLOC_HAVE_CUDA_L2CACHESIZE
+#define HWLOC_HAVE_CUDA_L2CACHESIZE 1
+
+typedef unsigned cudaError_t;
+
+struct cudaDeviceProp {
+ char * name;
+ int pciDomainID;
+ int pciBusID;
+ int pciDeviceID;
+ size_t totalGlobalMem;
+ size_t sharedMemPerBlock;
+ int major;
+ int minor;
+ int l2CacheSize;
+ int multiProcessorCount;
+};
+
+cudaError_t cudaGetDeviceProperties(struct cudaDeviceProp *, int);
+cudaError_t cudaGetDeviceCount(int *);
+
+#endif /* HWLOC_PORT_CUDA_CUDA_RUNTIME_API_H */
--- /dev/null
+/*
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_DARWIN_SYS_SYSCTL_H
+#define HWLOC_PORT_DARWIN_SYS_SYSCTL_H
+
+extern int sysctl(int *name, int name_len, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
+extern int sysctlbyname(const char *name, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
+
+#define CTL_HW 6
+#define HW_PHYSMEM 5
+
+/* hide Linux' host disabling _SC_LARGE_PAGESIZE */
+#undef HAVE_DECL__SC_LARGE_PAGESIZE
+#define HAVE_DECL__SC_LARGE_PAGESIZE 1
+#undef _SC_LARGE_PAGESIZE
+#define _SC_LARGE_PAGESIZE 33
+
+#endif /* HWLOC_PORT_DARWIN_SYS_SYSCTL_H */
--- /dev/null
+/*
+ * Copyright © 2012 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_FREEBSD_PTHREAD_H
+#define HWLOC_PORT_FREEBSD_PTHREAD_H
+
+#endif /* HWLOC_PORT_FREEBSD_PTHREAD_H */
+
--- /dev/null
+/*
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_FREEBSD_PTHREAD_NP_H
+#define HWLOC_PORT_FREEBSD_PTHREAD_NP_H
+
+#include <sys/cpuset.h>
+
+int pthread_getaffinity_np(pthread_t, size_t, cpuset_t *);
+int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
+
+#endif /* HWLOC_PORT_FREEBSD_PTHREAD_NP_H */
--- /dev/null
+/*
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2015 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_FREEBSD_SYS_CPUSET_H
+#define HWLOC_PORT_FREEBSD_SYS_CPUSET_H
+
+#include <limits.h>
+
+typedef long cpuset_t;
+typedef int cpulevel_t;
+typedef int cpuwhich_t;
+typedef int cpusetid_t;
+
+#define CPU_LEVEL_CPUSET 2
+#define CPU_LEVEL_WHICH 3
+#define CPU_WHICH_TID 1
+#define CPU_WHICH_PID 2
+
+int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid);
+int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid);
+
+#undef CPU_SETSIZE
+#define CPU_SETSIZE (sizeof(cpuset_t) * CHAR_BIT)
+#undef CPU_ZERO
+#define CPU_ZERO(cpuset) (*(cpuset) = 0)
+#undef CPU_SET
+#define CPU_SET(cpu, cpuset) (*(cpuset) |= (1ULL<<(cpu)))
+#undef CPU_ISSET
+#define CPU_ISSET(cpu, cpuset) (*(cpuset) & (1ULL<<(cpu)))
+
+int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t size, cpuset_t *cpuset);
+int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t size, const cpuset_t *cpuset);
+
+#endif /* HWLOC_PORT_FREEBSD_SYS_CPUSET_H */
--- /dev/null
+/*
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_FREEBSD_SYS_SYSCTL_H
+#define HWLOC_PORT_FREEBSD_SYS_SYSCTL_H
+
+extern int sysctl(int *name, int name_len, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
+
+#define CTL_HW 6
+#define HW_PHYSMEM 5
+
+#endif /* HWLOC_PORT_FREEBSD_SYS_SYSCTL_H */
--- /dev/null
+/*
+ * Copyright © 2013 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_GL_NVCTRL_NVCTRL_H
+#define HWLOC_PORT_GL_NVCTRL_NVCTRL_H
+
+#define NV_CTRL_TARGET_TYPE_X_SCREEN 0
+#define NV_CTRL_BINARY_DATA_GPUS_USED_BY_XSCREEN 4
+#define NV_CTRL_TARGET_TYPE_GPU 1
+#define NV_CTRL_PCI_DOMAIN 306
+#define NV_CTRL_PCI_BUS 239
+#define NV_CTRL_PCI_DEVICE 240
+#define NV_CTRL_PCI_FUNCTION 241
+#define NV_CTRL_STRING_PRODUCT_NAME 0
+
+#endif /* HWLOC_PORT_GL_NVCTRL_NVCTRL_H */
--- /dev/null
+/*
+ * Copyright © 2013 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_GL_NVCTRL_NVCTRLLIB_H
+#define HWLOC_PORT_GL_NVCTRL_NVCTRLLIB_H
+
+int XNVCTRLIsNvScreen(Display *, int);
+int XNVCTRLQueryTargetBinaryData(Display *, int, int, unsigned int, unsigned int, unsigned char **, int *);
+int XNVCTRLQueryTargetAttribute(Display *, int, int, unsigned int, unsigned int, int *);
+int XNVCTRLQueryTargetStringAttribute(Display *, int, int, unsigned int, unsigned int, char **ptr);
+
+#endif /* HWLOC_PORT_GL_NVCTRL_NVCTRLLIB_H */
--- /dev/null
+/*
+ * Copyright © 2013 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_GL_X11_XLIB_H
+#define HWLOC_PORT_GL_X11_XLIB_H
+
+typedef struct _XDisplay Display;
+
+Display *XOpenDisplay(const char*);
+int XQueryExtension(Display*, const char*, int*, int*, int*);
+int XCloseDisplay(Display*);
+int ScreenCount(Display*);
+
+#endif /* HWLOC_PORT_GL_X11_XLIB_H */
--- /dev/null
+/*
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_HPUX_SYS_MPCTL_H
+#define HWLOC_PORT_HPUX_SYS_MPCTL_H
+
+typedef int spu_t, ldom_t, pthread_spu_t, pthread_ldom_t;
+
+typedef enum mpc_request {
+ MPC_GETNUMSPUS,
+ MPC_GETFIRSTSPU,
+ MPC_GETNEXTSPU,
+
+ MPC_GETNUMSPUS_SYS,
+ MPC_GETFIRSTSPU_SYS,
+ MPC_GETNEXTSPU_SYS,
+
+ MPC_GETCURRENTSTSPU,
+ MPC_SETPROCESS,
+ MPC_SETPROCESS_FORCE,
+ MPC_SETLWP,
+ MPC_SETLWP_FORCE,
+ MPC_SETLWP_UP,
+
+ MPC_SETLDOM,
+ MPC_SETLWPLDOM,
+
+ MPC_GETNUMLDOMS,
+ MPC_GETFIRSTLDOM,
+ MPC_GETNEXTLDOM,
+ MPC_GETNUMLDOMS_SYS,
+ MPC_GETFIRSTLDOM_SYS,
+ MPC_GETNEXTLDOM_SYS,
+
+ MPC_SPUTOLDOM,
+ MPC_LDOMSPUS,
+ MPC_LDOMSPUS_SYS,
+
+ MPC_GETPROCESS_BINDVALUE,
+ MPC_GETLWP_BINDVALUE
+} mpc_request_t;
+
+#define MPC_SPUFLOAT 0
+#define MPC_LDOMFLOAT 1
+#define MPC_SELFPID 2
+#define MPC_SELFLWPPID 3
+
+extern int mpctl(mpc_request_t, spu_t, ...);
+
+#define _SC_CCNUMA_SUPPORT 0
+#define _SC_PSET_SUPPORT 1
+
+int pthread_processor_bind_np(int request, pthread_spu_t *answer, pthread_spu_t spu, pthread_t tid);
+
+int pthread_ldom_bind_np(pthread_ldom_t *answer, pthread_ldom_t ldom, pthread_t tid);
+
+#define PTHREAD_SELFTID_NP 0
+#define PTHREAD_LDOMFLOAT_NP 0
+#define PTHREAD_SPUFLOAT_NP 0
+
+#define PTHREAD_BIND_ADVISORY_NP 0
+#define PTHREAD_BIND_FORCED_NP 1
+
+#endif /* HWLOC_PORT_HPUX_SYS_MPCTL_H */
--- /dev/null
+/*
+ * Copyright © 2012 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_NETBSD_PTHREAD_H
+#define HWLOC_PORT_NETBSD_PTHREAD_H
+
+#include <sched.h>
+
+pthread_t pthread_self(void);
+
+int pthread_getaffinity_np(pthread_t, size_t, cpuset_t *);
+int pthread_setaffinity_np(pthread_t, size_t, cpuset_t *);
+
+#endif /* HWLOC_PORT_NETBSD_PTHREAD_H */
--- /dev/null
+/*
+ * Copyright © 2012 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_NETBSD_SCHED_H
+#define HWLOC_PORT_NETBSD_SCHED_H
+
+typedef struct _cpuset cpuset_t;
+typedef unsigned long cpuid_t;
+
+cpuset_t *cpuset_create(void);
+void cpuset_destroy(cpuset_t *);
+void cpuset_zero(cpuset_t *);
+int cpuset_set(cpuid_t, cpuset_t *);
+int cpuset_isset(cpuid_t, const cpuset_t *);
+size_t cpuset_size(const cpuset_t *);
+
+int sched_getaffinity_np(pid_t, size_t, cpuset_t *);
+int sched_setaffinity_np(pid_t, size_t, cpuset_t *);
+
+#endif /* HWLOC_PORT_NETBSD_SCHED_H */
--- /dev/null
+/*
+ * Copyright © 2014 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_NETBSD_SYS_SYSCTL_H
+#define HWLOC_PORT_NETBSD_SYS_SYSCTL_H
+
+extern int sysctl(const int *, unsigned int, void *, size_t *, const void *, size_t);
+
+#define CTL_HW 6
+#define HW_PHYSMEM64 13
+
+#endif /* HWLOC_PORT_NETBSD_SYS_SYSCTL_H */
--- /dev/null
+/*
+ * Copyright © 2013 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_NVML_NVML_H
+#define HWLOC_PORT_NVML_NVML_H
+
+/* we need to replace any NVML-related #define that configure may have put in private/autogen/config.h */
+#ifndef HWLOC_CONFIGURE_H
+#error nvml.h must be included after private/autogen/config.h
+#endif
+#undef HAVE_DECL_NVMLDEVICEGETMAXPCIELINKGENERATION
+#define HAVE_DECL_NVMLDEVICEGETMAXPCIELINKGENERATION 1
+
+
+typedef int nvmlReturn_t;
+#define NVML_SUCCESS 0
+
+typedef struct nvmlPciInfo_st {
+ unsigned int domain;
+ unsigned int bus;
+ unsigned int device;
+} nvmlPciInfo_t;
+
+struct nvmlDevice_st;
+typedef struct nvmlDevice_st* nvmlDevice_t;
+
+nvmlReturn_t nvmlInit(void);
+nvmlReturn_t nvmlShutdown(void);
+nvmlReturn_t nvmlDeviceGetCount(unsigned int *deviceCount);
+nvmlReturn_t nvmlDeviceGetHandleByIndex(unsigned int index, nvmlDevice_t *device);
+nvmlReturn_t nvmlDeviceGetPciInfo(nvmlDevice_t device, nvmlPciInfo_t *pci);
+nvmlReturn_t nvmlDeviceGetName(nvmlDevice_t device, char *name, unsigned int length);
+nvmlReturn_t nvmlDeviceGetSerial(nvmlDevice_t device, char *serial, unsigned int length);
+nvmlReturn_t nvmlDeviceGetUUID(nvmlDevice_t device, char *uuid, unsigned int length);
+nvmlReturn_t nvmlDeviceGetMaxPcieLinkGeneration(nvmlDevice_t device, unsigned int *maxLinkGen);
+nvmlReturn_t nvmlDeviceGetMaxPcieLinkWidth(nvmlDevice_t device, unsigned int *maxLinkGen);
+
+#endif /* HWLOC_PORT_NVML_NVML_H */
--- /dev/null
+/*
+ * Copyright © 2013-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_OPENCL_CL_CL_EXT_H
+#define HWLOC_PORT_OPENCL_CL_CL_EXT_H
+
+typedef char cl_char;
+typedef unsigned long cl_ulong;
+typedef unsigned int cl_uint;
+typedef int cl_int;
+typedef unsigned int cl_device_type;
+typedef unsigned int cl_platform_info;
+typedef unsigned int cl_device_info;
+
+struct _cl_platform_id;
+typedef struct _cl_platform_id * cl_platform_id;
+struct _cl_device_id;
+typedef struct _cl_device_id * cl_device_id;
+
+#define CL_SUCCESS 0
+
+cl_int clGetPlatformIDs(cl_uint, cl_platform_id *, cl_uint *);
+cl_int clGetDeviceIDs(cl_platform_id, cl_device_type, cl_uint, cl_device_id *, cl_uint *);
+cl_int clGetDeviceInfo(cl_device_id, cl_device_info, size_t, void *, size_t *);
+cl_int clGetPlatformInfo(cl_platform_id, cl_platform_info, size_t, void *, size_t *);
+
+#define CL_DEVICE_TYPE_CPU (1 << 1)
+#define CL_DEVICE_TYPE_GPU (1 << 2)
+#define CL_DEVICE_TYPE_ACCELERATOR (1 << 3)
+#define CL_DEVICE_TYPE_CUSTOM (1 << 4)
+#define CL_DEVICE_TYPE_ALL 0xFFFFFFFF
+
+#define CL_PLATFORM_NAME 0x0902
+#define CL_DEVICE_TYPE 0x1000
+#define CL_DEVICE_MAX_COMPUTE_UNITS 0x1002
+#define CL_DEVICE_GLOBAL_MEM_SIZE 0x101F
+#define CL_DEVICE_NAME 0x102B
+#define CL_DEVICE_VENDOR 0x102C
+#define CL_DEVICE_PLATFORM 0x1031
+
+#define CL_DEVICE_TOPOLOGY_AMD 0x4037
+typedef union {
+ struct { cl_uint type; cl_uint data[5]; } raw;
+ struct { cl_uint type; cl_char unused[17]; cl_char bus; cl_char device; cl_char function; } pcie;
+} cl_device_topology_amd;
+#define CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD 1
+
+#define CL_DEVICE_BOARD_NAME_AMD 0x4038
+
+#endif /* HWLOC_PORT_OPENCL_CL_CL_EXT_H */
--- /dev/null
+/*
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_OSF_CPUSET_H
+#define HWLOC_PORT_OSF_CPUSET_H
+
+typedef int cpu_cursor_t;
+#define SET_CURSOR_INIT -1
+typedef int cpuid_t;
+#define CPU_NONE -1
+typedef int cpuset_t;
+
+int cpusetcreate(cpuset_t *set);
+int cpuemptyset(cpuset_t set);
+int cpuxorset(cpuset_t set1, cpuset_t set2, cpuset_t res);
+int cpucountset(cpuset_t set);
+int cpuaddset(cpuset_t set, cpuid_t cpuid );
+cpuid_t cpu_foreach(cpuset_t cpuset, int flags, cpu_cursor_t *cursor);
+int cpusetdestroy(cpuset_t *set);
+
+#endif /* HWLOC_PORT_OSF_CPUSET_H */
--- /dev/null
+/*
+ * Copyright © 2009 inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_OSF_NUMA_H
+#define HWLOC_PORT_OSF_NUMA_H
+
+#include "sys/types.h"
+#include "radset.h"
+#include "cpuset.h"
+
+int rad_get_num(void);
+int rad_get_cpus(radid_t rad, cpuset_t cpuset);
+ssize_t rad_get_physmem(radid_t rad);
+
+typedef struct {
+ unsigned long mattr_policy;
+ radid_t mattr_rad;
+ radset_t mattr_radset;
+} memalloc_attr_t;
+
+void *nmmap(void *addr, size_t len, int prot, unsigned long flags, int filedes, off_t off, memalloc_attr_t *attr );
+int nmadvise(const void *addr, long len, int behavior, memalloc_attr_t *attr);
+
+#endif /* HWLOC_PORT_OSF_NUMA_H */
--- /dev/null
+/*
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_OSF_RADSET_H
+#define HWLOC_PORT_OSF_RADSET_H
+
+#include <limits.h>
+
+typedef int radset_cursor_t;
+typedef int radid_t;
+#define RAD_NONE -1
+typedef struct {
+ int foo;
+} radset_t;
+typedef unsigned int nsgid_t;
+#define NSG_NONE -1
+
+extern int radsetcreate(radset_t *set);
+
+extern int rademptyset(radset_t set);
+extern int radaddset(radset_t set, radid_t radid);
+extern int radismember(radset_t set, radid_t radid);
+extern int rad_foreach(radset_t radset, int flags, radset_cursor_t *cursor);
+
+
+extern int radsetdestroy(radset_t *set);
+
+
+int rad_attach_pid(pid_t pid, radset_t radset, unsigned long flags);
+int pthread_rad_attach(pthread_t thread, radset_t radset, unsigned long flags);
+int rad_detach_pid(pid_t pid);
+int pthread_rad_detach(pthread_t thread);
+
+
+/* (strict) */
+#define RAD_INSIST 0x01
+#define RAD_WAIT 0x08
+int rad_bind_pid(pid_t pid, radset_t radset, unsigned long flags);
+int pthread_rad_bind(pthread_t thread, radset_t radset, unsigned long flags);
+
+typedef union rsrcdescr {
+ radset_t rd_radset;
+ int rd_fd;
+ char *rd_pathname;
+ int rd_shmid;
+ pid_t rd_pid;
+ void *rd_addr;
+ nsgid_t rd_nsg;
+} rsrcdescr_t;
+
+typedef struct numa_attr {
+ unsigned nattr_type;
+#define R_RAD 0
+
+ rsrcdescr_t nattr_descr;
+
+ unsigned long nattr_distance;
+#define RAD_DIST_LOCAL 100
+#define RAD_DIST_REMOTE INT_MAX
+
+ unsigned long nattr_flags;
+} numa_attr_t;
+
+typedef enum memalloc_policy {
+ MPOL_DIRECTED,
+ MPOL_THREAD,
+ MPOL_REPLICATED,
+ MPOL_STRIPPED,
+ MPOL_INVALID
+} memalloc_policy_t;
+#define MPOL_NO_MIGRATE 0x100
+
+#define MADV_CURRENT 1
+#define MADV_INSIST 2
+
+int nloc(numa_attr_t *numa_attr, radset_t radset);
+
+/* hide Linux' host disabling _SC_LARGE_PAGESIZE */
+#undef HAVE_DECL__SC_LARGE_PAGESIZE
+#define HAVE_DECL__SC_LARGE_PAGESIZE 1
+#undef _SC_LARGE_PAGESIZE
+#define _SC_LARGE_PAGESIZE 33
+
+#endif /* HWLOC_PORT_OSF_RADSET_H */
--- /dev/null
+/*
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_SOLARIS_KSTAT_H
+#define HWLOC_PORT_SOLARIS_KSTAT_H
+
+#include <inttypes.h>
+
+typedef long kid_t;
+
+#define KSTAT_STRLEN 31
+
+typedef struct kstat {
+ char ks_module[KSTAT_STRLEN];
+ char ks_name[KSTAT_STRLEN];
+ int ks_instance;
+ struct kstat *ks_next;
+} kstat_t;
+
+typedef struct kstat_named {
+ unsigned char data_type;
+ union {
+ char c[16];
+ int32_t i32;
+ uint32_t ui32;
+ struct {
+ union {
+ char *ptr;
+ } addr;
+ } str;
+ } value;
+} kstat_named_t;
+
+typedef struct kstat_ctl {
+ kstat_t *kc_chain;
+} kstat_ctl_t;
+
+#define KSTAT_DATA_CHAR 1
+#define KSTAT_DATA_INT32 1
+#define KSTAT_DATA_UINT32 2
+#define KSTAT_DATA_INT64 3
+#define KSTAT_DATA_UINT64 4
+#define KSTAT_DATA_STRING 9
+
+kstat_ctl_t *kstat_open(void);
+kid_t kstat_read(kstat_ctl_t *, kstat_t *, void *);
+void *kstat_data_lookup(kstat_t *, char *);
+int kstat_close(kstat_ctl_t *);
+
+#endif /* HWLOC_PORT_SOLARIS_KSTAT_H */
--- /dev/null
+/*
+ * Copyright © 2011 inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_SOLARIS_PICL_H
+#define HWLOC_PORT_SOLARIS_PICL_H
+
+#include <stdint.h>
+#include <string.h>
+
+#define PICL_PROPNAMELEN_MAX 256
+
+typedef uint64_t picl_nodehdl_t;
+typedef uint64_t picl_prophdl_t;
+
+typedef enum {
+ PICL_PTYPE_UNKNOWN,
+ PICL_PTYPE_INT,
+ PICL_PTYPE_UNSIGNED_INT,
+ PICL_PTYPE_TABLE,
+ PICL_PTYPE_CHARSTRING
+} picl_prop_type_t;
+
+typedef struct {
+ picl_prop_type_t type;
+ size_t size;
+ char name[PICL_PROPNAMELEN_MAX];
+} picl_propinfo_t;
+
+typedef enum {
+ PICL_SUCCESS,
+ PICL_WALK_TERMINATE,
+ PICL_ENDOFLIST
+} picl_errno_t;
+
+extern int picl_initialize(void);
+extern int picl_shutdown(void);
+extern int picl_get_root(picl_nodehdl_t *nodehandle);
+extern int picl_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph);
+extern int picl_get_next_prop(picl_prophdl_t proph, picl_prophdl_t *nexth);
+extern int picl_get_propinfo(picl_prophdl_t proph, picl_propinfo_t *pi);
+extern int picl_get_propval(picl_prophdl_t proph, void *valbuf, size_t sz);
+extern int picl_get_next_by_row(picl_prophdl_t thish, picl_prophdl_t *proph);
+extern int picl_get_next_by_col(picl_prophdl_t thish, picl_prophdl_t *proph);
+extern int picl_walk_tree_by_class(picl_nodehdl_t rooth, const char *classname, void *c_args, int (*callback_fn)(picl_nodehdl_t hdl, void *args));
+
+#endif /* HWLOC_PORT_SOLARIS_PICL_H */
--- /dev/null
+/*
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_SOLARIS_SYS_LGRP_USER_H
+#define HWLOC_PORT_SOLARIS_SYS_LGRP_USER_H
+
+#include <sys/processor.h>
+
+typedef int lgrp_cookie_t;
+#define LGRP_COOKIE_NONE 0
+typedef long lgrp_id_t;
+typedef long long lgrp_mem_size_t;
+
+typedef enum lgrp_content {
+ LGRP_CONTENT_ALL,
+ LGRP_CONTENT_HIERARCHY = LGRP_CONTENT_ALL,
+ LGRP_CONTENT_DIRECT
+} lgrp_content_t;
+
+typedef enum lgrp_view {
+ LGRP_VIEW_CALLER,
+ LGRP_VIEW_OS
+} lgrp_view_t;
+
+typedef enum lgrp_mem_size_flag {
+ LGRP_MEM_SZ_FREE,
+ LGRP_MEM_SZ_INSTALLED
+} lgrp_mem_size_flag_t;
+
+typedef enum lgrp_rsrc {
+ LGRP_RSRC_MEM
+} lgrp_rsrc_t;
+
+typedef enum lgrp_lat_between {
+ LGRP_LAT_CPU_TO_MEM
+} lgrp_lat_between_t;
+
+typedef enum lgrp_affinity {
+ LGRP_AFF_NONE,
+ LGRP_AFF_WEAK,
+ LGRP_AFF_STRONG
+} lgrp_affinity_t;
+
+lgrp_cookie_t lgrp_init(lgrp_view_t view);
+
+int lgrp_nlgrps(lgrp_cookie_t cookie);
+lgrp_id_t lgrp_root(lgrp_cookie_t cookie);
+int lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp, processorid_t *cpuids, unsigned int count, int content);
+int lgrp_children(lgrp_cookie_t cookie, lgrp_id_t parent, lgrp_id_t *lgrp_array, unsigned int lgrp_array_size);
+lgrp_mem_size_t lgrp_mem_size(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_mem_size_flag_t type, lgrp_content_t content);
+int lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrps, unsigned int count, lgrp_rsrc_t type);
+int lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, lgrp_id_t to, lgrp_lat_between_t between);
+int lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, lgrp_affinity_t aff);
+lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp);
+
+int lgrp_fini(lgrp_cookie_t cookie);
+
+/* Should actually be in sys/mman.h, but don't want to interfere with the system one */
+#define MADV_ACCESS_DEFAULT 6
+#define MADV_ACCESS_LWP 7
+#define MADV_ACCESS_MANY 8
+
+#endif /* HWLOC_PORT_SOLARIS_SYS_LGRP_USER_H */
--- /dev/null
+/*
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_SOLARIS_SYS_PROCESSOR_H
+#define HWLOC_PORT_SOLARIS_SYS_PROCESSOR_H
+
+#include <sys/procset.h>
+typedef int processorid_t;
+#define PBIND_NONE -1
+#define PBIND_QUERY -2
+
+extern int processor_bind(idtype_t idtype, id_t id, processorid_t processorid, processorid_t *obind);
+extern processorid_t getcpuid(void);
+
+/* hide Linux' host disabling _SC_LARGE_PAGESIZE */
+#undef HAVE_DECL__SC_LARGE_PAGESIZE
+#define HAVE_DECL__SC_LARGE_PAGESIZE 1
+#undef _SC_LARGE_PAGESIZE
+#define _SC_LARGE_PAGESIZE 33
+
+#endif /* HWLOC_PORT_SOLARIS_SYS_PROCESSOR_H */
--- /dev/null
+/*
+ * Copyright © 2009-2014 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_SOLARIS_SYS_PROCSET_H
+#define HWLOC_PORT_SOLARIS_SYS_PROCSET_H
+
+#ifndef __ENUM_IDTYPE_T
+/* Linux doesn't have idtype_t unless __ENUM_IDTYPE_T is set */
+typedef int idtype_t;
+#ifndef P_PID
+/* If there's no idtype_t, P_PID could exist as a #define */
+#define P_PID 1
+#endif
+#endif
+
+/* Linux never has P_LWPID and P_MYID */
+#define P_LWPID 2
+#define P_MYID 3
+
+#endif /* HWLOC_PORT_SOLARIS_SYS_PROCSET_H */
--- /dev/null
+/*
+ * Copyright © 2011-2017 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_SOLARIS_SYS_SYSTEMINFO_H
+#define HWLOC_PORT_SOLARIS_SYS_SYSTEMINFO_H
+
+#define SI_ARCHITECTURE 6
+#define SI_HW_PROVIDER 8
+#define SI_PLATFORM 513
+
+extern int sysinfo(int, char *, long);
+
+#endif /* HWLOC_PORT_SOLARIS_SYS_SYSTEMINFO_H */
--- /dev/null
+/*
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_PORT_WINDOWS_WINDOWS_H
+#define HWLOC_PORT_WINDOWS_WINDOWS_H
+
+#include <inttypes.h>
+
+#define DECLARE_HANDLE(n) typedef struct n##__ {int i;} *n
+DECLARE_HANDLE(HINSTANCE);
+typedef HINSTANCE HMODULE;
+typedef int WINBOOL, BOOL;
+typedef int64_t LONGLONG;
+typedef uint64_t DWORDLONG;
+typedef DWORDLONG ULONGLONG, *PULONGLONG;
+typedef unsigned char BYTE, UCHAR;
+typedef unsigned short WORD, USHORT;
+typedef unsigned int UINT, UINT_PTR, DWORD, *PDWORD, *LPDWORD;
+typedef unsigned long ULONG_PTR, DWORD_PTR, *PDWORD_PTR;
+typedef const char *LPCSTR;
+typedef int (*FARPROC)(void);
+typedef void *PVOID,*LPVOID;
+typedef void VOID;
+typedef ULONG_PTR SIZE_T;
+
+/* This is to cope with linux using integers for hwloc_pid_t and hwloc_thread_t
+typedef PVOID HANDLE; */
+typedef int HANDLE;
+
+#ifdef __GNUC__
+#define _ANONYMOUS_UNION __extension__
+#define _ANONYMOUS_STRUCT __extension__
+#else
+#define _ANONYMOUS_UNION
+#define _ANONYMOUS_STRUCT
+#endif /* __GNUC__ */
+#define DUMMYUNIONNAME
+#define WINAPI
+
+#define ANYSIZE_ARRAY 1
+
+#define ERROR_INSUFFICIENT_BUFFER 122L
+
+#define MEM_COMMIT 0x1000
+#define MEM_RESERVE 0x2000
+#define MEM_RELEASE 0x8000
+
+#define PAGE_EXECUTE_READWRITE 0x0040
+
+WINAPI HINSTANCE LoadLibrary(LPCSTR);
+WINAPI FARPROC GetProcAddress(HINSTANCE, LPCSTR);
+WINAPI DWORD GetLastError(void);
+
+DWORD_PTR WINAPI SetThreadAffinityMask(HANDLE hThread, DWORD_PTR dwThreadAffinityMask);
+BOOL WINAPI SetProcessAffinityMask(HANDLE hProcess, DWORD_PTR dwProcessAffinityMask);
+BOOL WINAPI GetProcessAffinityMask(HANDLE hProcess, PDWORD_PTR lpProcessAffinityMask, PDWORD_PTR lpSystemAffinityMask);
+
+HANDLE WINAPI GetCurrentThread(void);
+HANDLE WINAPI GetCurrentProcess(void);
+
+PVOID WINAPI VirtualAlloc(PVOID,DWORD,DWORD,DWORD);
+
+BOOL GetNumaAvailableMemoryNode(UCHAR Node, PULONGLONG AvailableBytes);
+
+typedef struct _SYSTEM_INFO {
+ DWORD dwPageSize;
+ DWORD_PTR dwActiveProcessorMask;
+ DWORD dwNumberOfProcessors;
+} SYSTEM_INFO, *LPSYSTEM_INFO;
+
+void WINAPI GetSystemInfo(LPSYSTEM_INFO lpSystemInfo);
+
+/* hide Linux' host disabling _SC_LARGE_PAGESIZE */
+#undef HAVE_DECL__SC_LARGE_PAGESIZE
+#define HAVE_DECL__SC_LARGE_PAGESIZE 1
+#undef _SC_LARGE_PAGESIZE
+#define _SC_LARGE_PAGESIZE 33
+
+#endif /* HWLOC_PORT_WINDOWS_WINDOWS_H */
--- /dev/null
+if !HWLOC_HAVE_DARWIN
+all-local: needed useless
+else HWLOC_HAVE_DARWIN
+# Do nothing on Darwin because their default compiler doesn't like our gcc/cpp lines
+all-local:
+endif HWLOC_HAVE_DARWIN
+
+TEST_CPPFLAGS =
+if HWLOC_HAVE_LINUX
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_LINUX=1
+endif HWLOC_HAVE_LINUX
+if HWLOC_HAVE_LINUX_LIBNUMA
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_LINUX_LIBNUMA=1
+endif HWLOC_HAVE_LINUX_LIBNUMA
+if HWLOC_HAVE_SCHED_SETAFFINITY
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_GLIBC_SCHED=1
+endif HWLOC_HAVE_SCHED_SETAFFINITY
+if HWLOC_HAVE_LIBIBVERBS
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_OPENFABRICS_VERBS=1
+endif HWLOC_HAVE_LIBIBVERBS
+if HWLOC_HAVE_MYRIEXPRESS
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_MYRIEXPRESS=1
+endif HWLOC_HAVE_MYRIEXPRESS
+if HWLOC_HAVE_OPENCL
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_OPENCL=1
+endif HWLOC_HAVE_OPENCL
+if HWLOC_HAVE_CUDA
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_CUDA=1
+endif HWLOC_HAVE_CUDA
+if HWLOC_HAVE_CUDART
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_CUDART=1
+endif HWLOC_HAVE_CUDART
+if HWLOC_HAVE_NVML
+TEST_CPPFLAGS += -DHWLOC_TEST_RENAME_NVML=1
+endif HWLOC_HAVE_NVML
+
+dirs:
+ mkdir -p include/hwloc/autogen include/private/autogen
+
+include/hwloc/autogen/config.h: $(HWLOC_top_builddir)/include/hwloc/autogen/config.h
+ sed -e 's/^#define HWLOC_SYM_TRANSFORM 0/#define HWLOC_SYM_TRANSFORM 1/' \
+ -e 's/^#define HWLOC_SYM_PREFIX hwloc_/#define HWLOC_SYM_PREFIX foobar_/' \
+ -e 's/^#define HWLOC_SYM_PREFIX_CAPS HWLOC_/#define HWLOC_SYM_PREFIX_CAPS FOOBAR_/' \
+ $(HWLOC_top_builddir)/include/hwloc/autogen/config.h > include/hwloc/autogen/config.h
+
+include/private/autogen/config.h: $(HWLOC_top_builddir)/include/private/autogen/config.h
+ sed -e 's/^#define HWLOC_SYM_TRANSFORM 0/#define HWLOC_SYM_TRANSFORM 1/' \
+ -e 's/^#define HWLOC_SYM_PREFIX hwloc_/#define HWLOC_SYM_PREFIX foobar_/' \
+ -e 's/^#define HWLOC_SYM_PREFIX_CAPS HWLOC_/#define HWLOC_SYM_PREFIX_CAPS FOOBAR_/' \
+ $(HWLOC_top_builddir)/include/private/autogen/config.h > include/private/autogen/config.h
+
+useless:
+ @echo "# Finding useless renaming"
+ @if grep '^#define' $(HWLOC_top_srcdir)/include/hwloc/rename.h \
+ | awk '{print $$2}' \
+ | egrep -v '(HWLOC_RENAME_H|HWLOC_MUNGE_NAME|HWLOC_NAME)' \
+ | while read name ; do \
+ grep $$name -rwH $(HWLOC_top_srcdir)/include/ \
+ | grep -v rename.h: | grep -v .svn >/dev/null \
+ || echo $$name; \
+ done \
+ | grep '' ; then false ; else true ; fi
+ @echo "# done"
+
+# hwloc_uint64_t is ignored because it's always a typedef.
+# we have to manually concat a##b because some cpp let gcc do it (at least cpp 4.2.1 on OpenBSD 5.2).
+needed: dirs include/hwloc/autogen/config.h include/private/autogen/config.h
+ @echo "# Finding needed renaming"
+ @echo "# using $(TEST_CPPFLAGS)"
+ @if cpp $(CPPFLAGS) $(TEST_CPPFLAGS) -Iinclude -I$(HWLOC_top_srcdir)/include -I$(HWLOC_top_builddir)/include $(srcdir)/main.c \
+ | sed -e 's/foobar_ ## hwloc_ ## /foobar_hwloc_/g' \
+ | sed -e 's/FOOBAR_ ## hwloc_ ## /FOOBAR_hwloc_/g' \
+ | grep -vw HWLOC_DEBUG_VERBOSE \
+ | grep -vw hwloc_uint64_t \
+ | egrep -i '(^| |\*)hwloc_' ; then false ; else true ; fi
+ @echo "# done"
+
+clean-local:
+ rm -rf include
+
+EXTRA_DIST = main.c
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+@HWLOC_HAVE_LINUX_TRUE@am__append_1 = -DHWLOC_TEST_RENAME_LINUX=1
+@HWLOC_HAVE_LINUX_LIBNUMA_TRUE@am__append_2 = -DHWLOC_TEST_RENAME_LINUX_LIBNUMA=1
+@HWLOC_HAVE_SCHED_SETAFFINITY_TRUE@am__append_3 = -DHWLOC_TEST_RENAME_GLIBC_SCHED=1
+@HWLOC_HAVE_LIBIBVERBS_TRUE@am__append_4 = -DHWLOC_TEST_RENAME_OPENFABRICS_VERBS=1
+@HWLOC_HAVE_MYRIEXPRESS_TRUE@am__append_5 = -DHWLOC_TEST_RENAME_MYRIEXPRESS=1
+@HWLOC_HAVE_OPENCL_TRUE@am__append_6 = -DHWLOC_TEST_RENAME_OPENCL=1
+@HWLOC_HAVE_CUDA_TRUE@am__append_7 = -DHWLOC_TEST_RENAME_CUDA=1
+@HWLOC_HAVE_CUDART_TRUE@am__append_8 = -DHWLOC_TEST_RENAME_CUDART=1
+@HWLOC_HAVE_NVML_TRUE@am__append_9 = -DHWLOC_TEST_RENAME_NVML=1
+subdir = tests/rename
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__DIST_COMMON = $(srcdir)/Makefile.in
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+TEST_CPPFLAGS = $(am__append_1) $(am__append_2) $(am__append_3) \
+ $(am__append_4) $(am__append_5) $(am__append_6) \
+ $(am__append_7) $(am__append_8) $(am__append_9)
+EXTRA_DIST = main.c
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/rename/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign tests/rename/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ clean-libtool clean-local cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
+
+.PRECIOUS: Makefile
+
+@HWLOC_HAVE_DARWIN_FALSE@all-local: needed useless
+# Do nothing on Darwin because their default compiler doesn't like our gcc/cpp lines
+@HWLOC_HAVE_DARWIN_TRUE@all-local:
+
+dirs:
+ mkdir -p include/hwloc/autogen include/private/autogen
+
+include/hwloc/autogen/config.h: $(HWLOC_top_builddir)/include/hwloc/autogen/config.h
+ sed -e 's/^#define HWLOC_SYM_TRANSFORM 0/#define HWLOC_SYM_TRANSFORM 1/' \
+ -e 's/^#define HWLOC_SYM_PREFIX hwloc_/#define HWLOC_SYM_PREFIX foobar_/' \
+ -e 's/^#define HWLOC_SYM_PREFIX_CAPS HWLOC_/#define HWLOC_SYM_PREFIX_CAPS FOOBAR_/' \
+ $(HWLOC_top_builddir)/include/hwloc/autogen/config.h > include/hwloc/autogen/config.h
+
+include/private/autogen/config.h: $(HWLOC_top_builddir)/include/private/autogen/config.h
+ sed -e 's/^#define HWLOC_SYM_TRANSFORM 0/#define HWLOC_SYM_TRANSFORM 1/' \
+ -e 's/^#define HWLOC_SYM_PREFIX hwloc_/#define HWLOC_SYM_PREFIX foobar_/' \
+ -e 's/^#define HWLOC_SYM_PREFIX_CAPS HWLOC_/#define HWLOC_SYM_PREFIX_CAPS FOOBAR_/' \
+ $(HWLOC_top_builddir)/include/private/autogen/config.h > include/private/autogen/config.h
+
+useless:
+ @echo "# Finding useless renaming"
+ @if grep '^#define' $(HWLOC_top_srcdir)/include/hwloc/rename.h \
+ | awk '{print $$2}' \
+ | egrep -v '(HWLOC_RENAME_H|HWLOC_MUNGE_NAME|HWLOC_NAME)' \
+ | while read name ; do \
+ grep $$name -rwH $(HWLOC_top_srcdir)/include/ \
+ | grep -v rename.h: | grep -v .svn >/dev/null \
+ || echo $$name; \
+ done \
+ | grep '' ; then false ; else true ; fi
+ @echo "# done"
+
+# hwloc_uint64_t is ignored because it's always a typedef.
+# we have to manually concat a##b because some cpp let gcc do it (at least cpp 4.2.1 on OpenBSD 5.2).
+needed: dirs include/hwloc/autogen/config.h include/private/autogen/config.h
+ @echo "# Finding needed renaming"
+ @echo "# using $(TEST_CPPFLAGS)"
+ @if cpp $(CPPFLAGS) $(TEST_CPPFLAGS) -Iinclude -I$(HWLOC_top_srcdir)/include -I$(HWLOC_top_builddir)/include $(srcdir)/main.c \
+ | sed -e 's/foobar_ ## hwloc_ ## /foobar_hwloc_/g' \
+ | sed -e 's/FOOBAR_ ## hwloc_ ## /FOOBAR_hwloc_/g' \
+ | grep -vw HWLOC_DEBUG_VERBOSE \
+ | grep -vw hwloc_uint64_t \
+ | egrep -i '(^| |\*)hwloc_' ; then false ; else true ; fi
+ @echo "# done"
+
+clean-local:
+ rm -rf include
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+/* don't let assert() stringify some hwloc names that would not
+ * renamed afterwards, and wouldn't be easy to filter out */
+#define NDEBUG 1
+
+#define _GNU_SOURCE 1
+#include "sched.h"
+
+/* all headers should be included */
+#include "hwloc.h"
+#include "hwloc/bitmap.h"
+#include "hwloc/helper.h"
+#include "hwloc/plugins.h"
+
+#if HWLOC_TEST_RENAME_LINUX
+#include "hwloc/linux.h"
+#endif
+#if HWLOC_TEST_RENAME_LINUX_LIBNUMA
+#include "hwloc/linux-libnuma.h"
+#endif
+#if HWLOC_TEST_RENAME_GLIBC_SCHED
+#include "hwloc/glibc-sched.h"
+#endif
+#if HWLOC_TEST_RENAME_MYRIEXPRESS
+#include "hwloc/myriexpress.h"
+#endif
+#if HWLOC_TEST_RENAME_OPENFABRICS_VERBS
+#include "hwloc/openfabrics-verbs.h"
+#endif
+#if HWLOC_TEST_RENAME_OPENCL
+#include "hwloc/opencl.h"
+#endif
+#if HWLOC_TEST_RENAME_CUDA
+#include "hwloc/cuda.h"
+#endif
+#if HWLOC_TEST_RENAME_CUDART
+#include "hwloc/cudart.h"
+#endif
+#if HWLOC_TEST_RENAME_NVML
+#include "hwloc/nvml.h"
+#endif
+#include "hwloc/gl.h"
+#include "hwloc/intel-mic.h"
+
+#include "private/autogen/config.h"
+#include "private/components.h"
+#include "private/internal-components.h"
+#include "private/cpuid-x86.h"
+#include "private/debug.h"
+#include "private/misc.h"
+#include "private/private.h"
+#include "private/solaris-chiptype.h"
+#include "private/xml.h"
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2012-2018 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+xmlbuffer=xmlbuffer@EXEEXT@
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+if test "`basename $1`" = "$xmlbuffer"; then
+ "$@" 1 1
+ "$@" 0 1
+ "$@" 1 0
+ "$@" 0 0
+else
+ "$@"
+fi
--- /dev/null
+--of console -v
--- /dev/null
+Machine (P#0 total=8388608KB Backend=Synthetic SyntheticDescription="group:2 group:2 node:2 core:2 1" hwlocVersion=1.10.1)
+ Group2(MyBigGroup) L#0 (P#0 total=4194304KB Type=MyBigGroup)
+ Group1(MySmallGroup) L#0 (P#0 total=2097152KB Type=MySmallGroup)
+ NUMANode L#0 (P#0 local=1048576KB total=1048576KB)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ NUMANode L#1 (P#1 local=1048576KB total=1048576KB)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ Group1(MySmallGroup) L#1 (P#1 total=2097152KB Type=MySmallGroup)
+ NUMANode L#2 (P#2 local=1048576KB total=1048576KB)
+ Core L#4 (P#4)
+ PU L#4 (P#4)
+ Core L#5 (P#5)
+ PU L#5 (P#5)
+ NUMANode L#3 (P#3 local=1048576KB total=1048576KB)
+ Core L#6 (P#6)
+ PU L#6 (P#6)
+ Core L#7 (P#7)
+ PU L#7 (P#7)
+ Misc MyName
+ Group2(MyBigGroup) L#1 (P#1 total=4194304KB Type=MyBigGroup)
+ Group1(MySmallGroup) L#2 (P#2 total=2097152KB Type=MySmallGroup)
+ NUMANode L#4 (P#4 local=1048576KB total=1048576KB)
+ Core L#8 (P#8)
+ PU L#8 (P#8)
+ Core L#9 (P#9)
+ PU L#9 (P#9)
+ NUMANode L#5 (P#5 local=1048576KB total=1048576KB)
+ Core L#10 (P#10)
+ PU L#10 (P#10)
+ Core L#11 (P#11)
+ PU L#11 (P#11)
+ Group1(MySmallGroup) L#3 (P#3 total=2097152KB Type=MySmallGroup)
+ NUMANode L#6 (P#6 local=1048576KB total=1048576KB)
+ Core L#12 (P#12)
+ PU L#12 (P#12)
+ Core L#13 (P#13)
+ PU L#13 (P#13)
+ NUMANode L#7 (P#7 local=1048576KB total=1048576KB)
+ Core L#14 (P#14)
+ PU L#14 (P#14)
+ Core L#15 (P#15)
+ PU L#15 (P#15)
+ Misc(ReallyMisc) MyName2 (Type=ReallyMisc)
+depth 0: 1 Machine (type #1)
+ depth 1: 2 Group2 (type #7)
+ depth 2: 4 Group1 (type #7)
+ depth 3: 8 NUMANode (type #2)
+ depth 4: 16 Core (type #5)
+ depth 5: 16 PU (type #6)
+Topology not from this system
--- /dev/null
+16-2gr2gr2n2c+misc.xml
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000ffff" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000ffff" nodeset="0x000000ff" complete_nodeset="0x000000ff" allowed_nodeset="0x000000ff">
+ <info name="Backend" value="Synthetic"/>
+ <info name="SyntheticDescription" value="group:2 group:2 node:2 core:2 1"/>
+ <info name="hwlocVersion" value="1.10.1"/>
+ <userdata name="MyName" length="16">0000000000000001</userdata>
+ <userdata name="MyName0" length="0"/>
+ <userdata name="EncodedShort0" length="0" encoding="base64"/>
+ <object type="Group" os_index="0" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x0000000f" complete_nodeset="0x0000000f" allowed_nodeset="0x0000000f" depth="2">
+ <info name="Type" value="MyBigGroup"/>
+ <object type="Group" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003" depth="1">
+ <info name="Type" value="MySmallGroup"/>
+ <object type="NUMANode" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <userdata name="EncodedShort3" length="3" encoding="base64">f+B/</userdata>
+ <userdata name="EncodedLong0" length="128" encoding="base64">eK5kf+B/AAB4rmR/4H8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAtmR/4H8AAP////8AAAAA////fwAAAAA=</userdata>
+ <object type="Core" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Core" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Group" os_index="1" cpuset="0x000000f0" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x000000f0" nodeset="0x0000000c" complete_nodeset="0x0000000c" allowed_nodeset="0x0000000c" depth="1">
+ <info name="Type" value="MySmallGroup"/>
+ <object type="NUMANode" os_index="2" cpuset="0x00000030" complete_cpuset="0x00000030" online_cpuset="0x00000030" allowed_cpuset="0x00000030" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ <object type="Core" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0x000000c0" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x000000c0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ <object type="Core" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Misc" name="MyName"/>
+ </object>
+ <object type="Group" os_index="1" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x000000f0" complete_nodeset="0x000000f0" allowed_nodeset="0x000000f0" depth="2">
+ <info name="Type" value="MyBigGroup"/>
+ <object type="Group" os_index="2" cpuset="0x00000f00" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x00000f00" nodeset="0x00000030" complete_nodeset="0x00000030" allowed_nodeset="0x00000030" depth="1">
+ <info name="Type" value="MySmallGroup"/>
+ <object type="NUMANode" os_index="4" cpuset="0x00000300" complete_cpuset="0x00000300" online_cpuset="0x00000300" allowed_cpuset="0x00000300" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ <object type="Core" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="5" cpuset="0x00000c00" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x00000c00" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ <object type="Core" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ <object type="Group" os_index="3" cpuset="0x0000f000" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x0000f000" nodeset="0x000000c0" complete_nodeset="0x000000c0" allowed_nodeset="0x000000c0" depth="1">
+ <info name="Type" value="MySmallGroup"/>
+ <object type="NUMANode" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ <object type="Core" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Core" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ <object type="Core" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ <object type="Misc" name="MyName2">
+ <info name="Type" value="ReallyMisc"/>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000ffff" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000ffff" nodeset="0x000000ff" complete_nodeset="0x000000ff" allowed_nodeset="0x000000ff">
+ <info name="DMIBoardVendor" value="TYAN Computer Corp"/>
+ <info name="DMIBoardName" value="S4881 "/>
+ <info name="DMIBoardVersion" value="S4881"/>
+ <info name="DMIBoardAssetTag" value=""/>
+ <info name="Backend" value="Linux"/>
+ <info name="Architecture" value="x86_64"/>
+ <info name="hwlocVersion" value="1.11.4"/>
+ <info name="ProcessName" value="lstopo"/>
+ <distances nbobjs="8" relative_depth="3" latency_base="1.000000">
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <distances nbobjs="16" relative_depth="8" latency_base="1.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="4.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <distances nbobjs="8" relative_depth="2" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000027" complete_nodeset="0x00000027" allowed_nodeset="0x00000027" depth="0">
+ <distances nbobjs="8" relative_depth="6" latency_base="1.000000">
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="1.000000"/>
+ <latency value="4.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="8.000000"/>
+ <latency value="4.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="1" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="8589934592">
+ <object type="Package" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="0" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="8587984896">
+ <object type="Package" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="2" cpuset="0x00000030" complete_cpuset="0x00000030" online_cpuset="0x00000030" allowed_cpuset="0x00000030" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="8589934592">
+ <object type="Package" os_index="2" cpuset="0x00000030" complete_cpuset="0x00000030" online_cpuset="0x00000030" allowed_cpuset="0x00000030" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="5" cpuset="0x000000c0" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x000000c0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" local_memory="8589934592">
+ <object type="Package" os_index="3" cpuset="0x000000c0" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x000000c0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x000000d8" complete_nodeset="0x000000d8" allowed_nodeset="0x000000d8" depth="0">
+ <object type="NUMANode" os_index="4" cpuset="0x00000300" complete_cpuset="0x00000300" online_cpuset="0x00000300" allowed_cpuset="0x00000300" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="8589934592">
+ <object type="Package" os_index="4" cpuset="0x00000300" complete_cpuset="0x00000300" online_cpuset="0x00000300" allowed_cpuset="0x00000300" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0x00000c00" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x00000c00" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="8589934592">
+ <object type="Package" os_index="5" cpuset="0x00000c00" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x00000c00" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" local_memory="8589934592">
+ <object type="Package" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" local_memory="8589934592">
+ <object type="Package" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <info name="CPUVendor" value="AuthenticAMD"/>
+ <info name="CPUFamilyNumber" value="15"/>
+ <info name="CPUModelNumber" value="33"/>
+ <info name="CPUModel" value="Dual Core AMD Opteron(tm) Processor 865"/>
+ <info name="CPUStepping" value="0"/>
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="1048576" depth="2" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="1">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="65536" depth="1" cache_linesize="64" cache_associativity="2" cache_type="2">
+ <object type="Core" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000f06f" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffef" allowed_cpuset="0x0000f07f" nodeset="0x0000003e" complete_nodeset="0x000000ff" allowed_nodeset="0x0000003e">
+ <info name="DMIBoardVendor" value="TYAN Computer Corp"/>
+ <info name="DMIBoardName" value="S4881 "/>
+ <distances nbobjs="8" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="Package" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="8589934592">
+ <object type="Package" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="2" cpuset="0x00000020" complete_cpuset="0x00000030" online_cpuset="0x00000020" allowed_cpuset="0x00000030" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="8589934592">
+ <object type="Package" os_index="2" cpuset="0x00000020" complete_cpuset="0x00000030" online_cpuset="0x00000020" allowed_cpuset="0x00000030" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0x00000040" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="8589934592">
+ <object type="Package" os_index="3" cpuset="0x00000040" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="4" cpuset="0x0" complete_cpuset="0x00000300" online_cpuset="0x00000300" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="8589934592"/>
+ <object type="NUMANode" os_index="5" cpuset="0x0" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" local_memory="8589934592"/>
+ <object type="NUMANode" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="Package" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x0" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="Package" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="65536" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x0" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000905b" complete_cpuset="0x0001915b" online_cpuset="0x0000905b" allowed_cpuset="0x0000915b">
+ <object type="Package" os_index="0" cpuset="0x00001011" complete_cpuset="0x00001011" online_cpuset="0x00001011" allowed_cpuset="0x00001011">
+ <object type="Cache" cpuset="0x00001011" complete_cpuset="0x00001011" online_cpuset="0x00001011" allowed_cpuset="0x00001011" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010"/>
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="3" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008">
+ <object type="Cache" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="2" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+--of console
--- /dev/null
+Machine
+ Package L#0 + L3 L#0 (4096KB)
+ L2 L#0 (1024KB) + L1d L#0 (16KB) + Core L#0
+ PU L#0 (P#0)
+ PU L#1 (P#8)
+ L2 L#1 (1024KB) + L1d L#1 (16KB) + Core L#1
+ PU L#2 (P#4)
+ PU L#3 (P#12)
+ Package L#1 + L3 L#1 (4096KB)
+ L2 L#2 (1024KB) + L1d L#2 (16KB) + Core L#2
+ PU L#4 (P#1)
+ PU L#5 (P#9)
+ L2 L#3 (1024KB) + L1d L#3 (16KB) + Core L#3
+ PU L#6 (P#5)
+ PU L#7 (P#13)
+ Package L#2 + L3 L#2 (4096KB)
+ L2 L#4 (1024KB) + L1d L#4 (16KB) + Core L#4
+ PU L#8 (P#2)
+ PU L#9 (P#10)
+ L2 L#5 (1024KB) + L1d L#5 (16KB) + Core L#5
+ PU L#10 (P#6)
+ PU L#11 (P#14)
+ Package L#3 + L3 L#3 (4096KB)
+ L2 L#6 (1024KB) + L1d L#6 (16KB) + Core L#6
+ PU L#12 (P#3)
+ PU L#13 (P#11)
+ L2 L#7 (1024KB) + L1d L#7 (16KB) + Core L#7
+ PU L#14 (P#7)
+ PU L#15 (P#15)
--- /dev/null
+16em64t-4s2c2t.xml
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000ffff" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000ffff">
+ <page_type size="4096" count="8589934592"/>
+ <page_type size="8192" count="0"/>
+ <page_type size="17179869184" count="1"/>
+ <info name="infowithvalue" value="value"/>
+ <info name="infowithoutvalue" value=""/>
+ <object type="Package" os_index="0" cpuset="0x00001111" complete_cpuset="0x00001111" online_cpuset="0x00001111" allowed_cpuset="0x00001111">
+ <object type="Cache" cpuset="0x00001111" complete_cpuset="0x00001111" online_cpuset="0x00001111" allowed_cpuset="0x00001111" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000101" complete_cpuset="0x00000101" online_cpuset="0x00000101" allowed_cpuset="0x00000101">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00001010" complete_cpuset="0x00001010" online_cpuset="0x00001010" allowed_cpuset="0x00001010">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010"/>
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="1" cpuset="0x00002222" complete_cpuset="0x00002222" online_cpuset="0x00002222" allowed_cpuset="0x00002222">
+ <object type="Cache" cpuset="0x00002222" complete_cpuset="0x00002222" online_cpuset="0x00002222" allowed_cpuset="0x00002222" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000202" complete_cpuset="0x00000202" online_cpuset="0x00000202" allowed_cpuset="0x00000202">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002020" complete_cpuset="0x00002020" online_cpuset="0x00002020" allowed_cpuset="0x00002020" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00002020" complete_cpuset="0x00002020" online_cpuset="0x00002020" allowed_cpuset="0x00002020" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00002020" complete_cpuset="0x00002020" online_cpuset="0x00002020" allowed_cpuset="0x00002020">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020"/>
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="2" cpuset="0x00004444" complete_cpuset="0x00004444" online_cpuset="0x00004444" allowed_cpuset="0x00004444">
+ <object type="Cache" cpuset="0x00004444" complete_cpuset="0x00004444" online_cpuset="0x00004444" allowed_cpuset="0x00004444" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000404" complete_cpuset="0x00000404" online_cpuset="0x00000404" allowed_cpuset="0x00000404" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000404" complete_cpuset="0x00000404" online_cpuset="0x00000404" allowed_cpuset="0x00000404" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000404" complete_cpuset="0x00000404" online_cpuset="0x00000404" allowed_cpuset="0x00000404">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004"/>
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004040" complete_cpuset="0x00004040" online_cpuset="0x00004040" allowed_cpuset="0x00004040" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00004040" complete_cpuset="0x00004040" online_cpuset="0x00004040" allowed_cpuset="0x00004040" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00004040" complete_cpuset="0x00004040" online_cpuset="0x00004040" allowed_cpuset="0x00004040">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040"/>
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="3" cpuset="0x00008888" complete_cpuset="0x00008888" online_cpuset="0x00008888" allowed_cpuset="0x00008888">
+ <object type="Cache" cpuset="0x00008888" complete_cpuset="0x00008888" online_cpuset="0x00008888" allowed_cpuset="0x00008888" cache_size="4194304" depth="3" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000808" complete_cpuset="0x00000808" online_cpuset="0x00000808" allowed_cpuset="0x00000808">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008"/>
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080" cache_size="1048576" depth="2" cache_linesize="0" cache_associativity="0" cache_type="0">
+ <object type="Cache" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080" cache_size="16384" depth="1" cache_linesize="0" cache_associativity="0" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00008080" complete_cpuset="0x00008080" online_cpuset="0x00008080" allowed_cpuset="0x00008080">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080"/>
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+--of console -v --no-collapse
--- /dev/null
+Machine (P#0 total=134181920KB Architecture=x86_64 hwlocVersion=2.0.0a1-git ProcessName=lt-lstopo-no-graphics)
+ NUMANode L#0 (P#0 local=67073056KB total=67073056KB)
+ Package L#0 (P#0)
+ L3Cache L#0 (size=20480KB linesize=64 ways=20)
+ L2Cache L#0 (size=256KB linesize=64 ways=8)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=256KB linesize=64 ways=8)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ L2Cache L#2 (size=256KB linesize=64 ways=8)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=256KB linesize=64 ways=8)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ L2Cache L#4 (size=256KB linesize=64 ways=8)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#4 (P#4)
+ PU L#4 (P#4)
+ L2Cache L#5 (size=256KB linesize=64 ways=8)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=8)
+ Core L#5 (P#5)
+ PU L#5 (P#5)
+ L2Cache L#6 (size=256KB linesize=64 ways=8)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#6)
+ PU L#6 (P#6)
+ L2Cache L#7 (size=256KB linesize=64 ways=8)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#7)
+ PU L#7 (P#7)
+ Bridge Host->PCI L#0 (P#0 buses=0000:[00-15])
+ Bridge PCI->PCI (P#17 busid=0000:00:01.1 id=8086:3c03 class=0604(PCI_B) buses=0000:[02-03] PCIVendor="Intel Corporation" PCIDevice="Xeon E5/Core i7 IIO PCI Express Root Port 1b") "Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1b"
+ PCI 8086:1521 (P#8192 busid=0000:02:00.0 class=0200(Ether) PCIVendor="Intel Corporation" PCIDevice="I350 Gigabit Network Connection") "Intel Corporation I350 Gigabit Network Connection"
+ Network L#0 (Address=a4:93:4c:aa:60:1e) "eth0"
+ PCI 8086:1521 (P#8193 busid=0000:02:00.1 class=0200(Ether) PCIVendor="Intel Corporation" PCIDevice="I350 Gigabit Network Connection") "Intel Corporation I350 Gigabit Network Connection"
+ Network L#1 (Address=a4:93:4c:aa:60:1f) "eth1"
+ Bridge PCI->PCI (P#48 busid=0000:00:03.0 id=8086:3c08 class=0604(PCI_B) buses=0000:[06-11] PCIVendor="Intel Corporation" PCIDevice="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"
+ Bridge PCI->PCI (P#24576 busid=0000:06:00.0 id=1137:004e class=0604(PCI_B) buses=0000:[07-11] PCIVendor="Cisco Systems Inc" PCIDevice="VIC 82 PCIe Upstream Port") "Cisco Systems Inc VIC 82 PCIe Upstream Port"
+ Bridge PCI->PCI (P#28688 busid=0000:07:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[09-11] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ Bridge PCI->PCI (P#36864 busid=0000:09:00.0 id=1137:0040 class=0604(PCI_B) buses=0000:[0a-11] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Upstream Port") "Cisco Systems Inc VIC PCIe Upstream Port"
+ Bridge PCI->PCI (P#40960 busid=0000:0a:00.0 id=1137:0041 class=0604(PCI_B) buses=0000:[0b-0b] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#45056 busid=0000:0b:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#2 (Address=24:57:20:04:20:00 Port=1) "eth4"
+ OpenFabrics L#3 (NodeGUID=0200:00ff:fe00:0000 SysImageGUID=2657:20ff:fe04:2000 Port1State=4 Port1LID=0x0 Port1LMC=1 Port1GID0=fe80:0000:0a0a:0004:2657:20ff:fe04:2000) "usnic_0"
+ PCI 1137:00cf (P#45057 busid=0000:0b:00.1 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1137:00cf (P#45058 busid=0000:0b:00.2 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1137:00cf (P#45059 busid=0000:0b:00.3 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ Bridge PCI->PCI (P#40976 busid=0000:0a:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[0c-0c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#49152 busid=0000:0c:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#4 (Address=24:57:20:04:21:00 Port=1) "eth5"
+ OpenFabrics L#5 (NodeGUID=0200:00ff:fe00:0000 SysImageGUID=2657:20ff:fe04:2100 Port1State=4 Port1LID=0x0 Port1LMC=1 Port1GID0=fe80:0000:0a02:0004:2657:20ff:fe04:2100) "usnic_1"
+ PCI 1137:00cf (P#49153 busid=0000:0c:00.1 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1138:00cf (P#49154 busid=0000:0c:00.2 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1138:00cf (P#49155 busid=0000:0c:00.3 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1137:00cf (P#49156 busid=0000:0c:00.4 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ NUMANode L#1 (P#1 local=67108864KB total=67108864KB)
+ Package L#1 (P#1)
+ L3Cache L#1 (size=20480KB linesize=64 ways=20)
+ L2Cache L#8 (size=256KB linesize=64 ways=8)
+ L1dCache L#8 (size=32KB linesize=64 ways=8)
+ L1iCache L#8 (size=32KB linesize=64 ways=8)
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ L2Cache L#9 (size=256KB linesize=64 ways=8)
+ L1dCache L#9 (size=32KB linesize=64 ways=8)
+ L1iCache L#9 (size=32KB linesize=64 ways=8)
+ Core L#9 (P#1)
+ PU L#9 (P#9)
+ L2Cache L#10 (size=256KB linesize=64 ways=8)
+ L1dCache L#10 (size=32KB linesize=64 ways=8)
+ L1iCache L#10 (size=32KB linesize=64 ways=8)
+ Core L#10 (P#2)
+ PU L#10 (P#10)
+ L2Cache L#11 (size=256KB linesize=64 ways=8)
+ L1dCache L#11 (size=32KB linesize=64 ways=8)
+ L1iCache L#11 (size=32KB linesize=64 ways=8)
+ Core L#11 (P#3)
+ PU L#11 (P#11)
+ L2Cache L#12 (size=256KB linesize=64 ways=8)
+ L1dCache L#12 (size=32KB linesize=64 ways=8)
+ L1iCache L#12 (size=32KB linesize=64 ways=8)
+ Core L#12 (P#4)
+ PU L#12 (P#12)
+ L2Cache L#13 (size=256KB linesize=64 ways=8)
+ L1dCache L#13 (size=32KB linesize=64 ways=8)
+ L1iCache L#13 (size=32KB linesize=64 ways=8)
+ Core L#13 (P#5)
+ PU L#13 (P#13)
+ L2Cache L#14 (size=256KB linesize=64 ways=8)
+ L1dCache L#14 (size=32KB linesize=64 ways=8)
+ L1iCache L#14 (size=32KB linesize=64 ways=8)
+ Core L#14 (P#6)
+ PU L#14 (P#14)
+ L2Cache L#15 (size=256KB linesize=64 ways=8)
+ L1dCache L#15 (size=32KB linesize=64 ways=8)
+ L1iCache L#15 (size=32KB linesize=64 ways=8)
+ Core L#15 (P#7)
+ PU L#15 (P#15)
+ Bridge Host->PCI L#8 (P#2 buses=0000:[80-8c])
+ Bridge PCI->PCI (P#524336 busid=0000:80:03.0 id=8086:3c08 class=0604(PCI_B) buses=0000:[83-8c] PCIVendor="Intel Corporation" PCIDevice="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"
+ Bridge PCI->PCI (P#536576 busid=0000:83:00.0 id=1137:004e class=0604(PCI_B) buses=0000:[84-8c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC 82 PCIe Upstream Port") "Cisco Systems Inc VIC 82 PCIe Upstream Port"
+ Bridge PCI->PCI (P#540688 busid=0000:84:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[86-8c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ Bridge PCI->PCI (P#548864 busid=0000:86:00.0 id=1137:0040 class=0604(PCI_B) buses=0000:[87-8c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Upstream Port") "Cisco Systems Inc VIC PCIe Upstream Port"
+ Bridge PCI->PCI (P#552960 busid=0000:87:00.0 id=1137:0041 class=0604(PCI_B) buses=0000:[88-88] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#557056 busid=0000:88:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#6 (Address=24:57:20:04:50:00 Port=1) "eth6"
+ OpenFabrics L#7 (NodeGUID=0200:00ff:fe00:0000 SysImageGUID=2657:20ff:fe04:5000 Port1State=4 Port1LID=0x0 Port1LMC=1 Port1GID0=fe80:0000:0a03:0004:2657:20ff:fe04:5000) "usnic_2"
+ PCI 1137:00cf (P#557057 busid=0000:88:00.1 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1137:00cf (P#557058 busid=0000:88:00.2 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1137:00cf (P#557059 busid=0000:88:00.3 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1137:00cf (P#557060 busid=0000:88:00.4 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ PCI 1137:00cf (P#557061 busid=0000:88:00.5 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ Bridge PCI->PCI (P#552976 busid=0000:87:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[89-89] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#561152 busid=0000:89:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#8 (Address=24:57:20:04:51:00) "eth7"
+depth 0: 1 Machine (type #1)
+ depth 1: 2 NUMANode (type #2)
+ depth 2: 2 Package (type #3)
+ depth 3: 2 L3Cache (type #4)
+ depth 4: 16 L2Cache (type #4)
+ depth 5: 16 L1dCache (type #4)
+ depth 6: 16 L1iCache (type #4)
+ depth 7: 16 Core (type #5)
+ depth 8: 16 PU (type #6)
+Special depth -3: 15 Bridge (type #9)
+Special depth -4: 18 PCI Device (type #10)
+Special depth -5: 9 OS Device (type #11)
+Topology not from this system
--- /dev/null
+16intel64-manyVFs.xml
--- /dev/null
+--of console -v
--- /dev/null
+Machine (P#0 total=134181920KB Architecture=x86_64 hwlocVersion=2.0.0a1-git ProcessName=lt-lstopo-no-graphics)
+ NUMANode L#0 (P#0 local=67073056KB total=67073056KB)
+ Package L#0 (P#0)
+ L3Cache L#0 (size=20480KB linesize=64 ways=20)
+ L2Cache L#0 (size=256KB linesize=64 ways=8)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=256KB linesize=64 ways=8)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ L2Cache L#2 (size=256KB linesize=64 ways=8)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=256KB linesize=64 ways=8)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ L2Cache L#4 (size=256KB linesize=64 ways=8)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#4 (P#4)
+ PU L#4 (P#4)
+ L2Cache L#5 (size=256KB linesize=64 ways=8)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=8)
+ Core L#5 (P#5)
+ PU L#5 (P#5)
+ L2Cache L#6 (size=256KB linesize=64 ways=8)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#6)
+ PU L#6 (P#6)
+ L2Cache L#7 (size=256KB linesize=64 ways=8)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#7)
+ PU L#7 (P#7)
+ Bridge Host->PCI L#0 (P#0 buses=0000:[00-15])
+ Bridge PCI->PCI (P#17 busid=0000:00:01.1 id=8086:3c03 class=0604(PCI_B) buses=0000:[02-03] PCIVendor="Intel Corporation" PCIDevice="Xeon E5/Core i7 IIO PCI Express Root Port 1b") "Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1b"
+ PCI 8086:1521 (P#8192 busid=0000:02:00.0 class=0200(Ether) PCIVendor="Intel Corporation" PCIDevice="I350 Gigabit Network Connection") "Intel Corporation I350 Gigabit Network Connection"
+ Network L#0 (Address=a4:93:4c:aa:60:1e) "eth0"
+ PCI 8086:1521 (P#8193 busid=0000:02:00.1 class=0200(Ether) PCIVendor="Intel Corporation" PCIDevice="I350 Gigabit Network Connection") "Intel Corporation I350 Gigabit Network Connection"
+ Network L#1 (Address=a4:93:4c:aa:60:1f) "eth1"
+ Bridge PCI->PCI (P#48 busid=0000:00:03.0 id=8086:3c08 class=0604(PCI_B) buses=0000:[06-11] PCIVendor="Intel Corporation" PCIDevice="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"
+ Bridge PCI->PCI (P#24576 busid=0000:06:00.0 id=1137:004e class=0604(PCI_B) buses=0000:[07-11] PCIVendor="Cisco Systems Inc" PCIDevice="VIC 82 PCIe Upstream Port") "Cisco Systems Inc VIC 82 PCIe Upstream Port"
+ Bridge PCI->PCI (P#28688 busid=0000:07:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[09-11] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ Bridge PCI->PCI (P#36864 busid=0000:09:00.0 id=1137:0040 class=0604(PCI_B) buses=0000:[0a-11] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Upstream Port") "Cisco Systems Inc VIC PCIe Upstream Port"
+ Bridge PCI->PCI (P#40960 busid=0000:0a:00.0 id=1137:0041 class=0604(PCI_B) buses=0000:[0b-0b] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#45056 busid=0000:0b:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#2 (Address=24:57:20:04:20:00 Port=1) "eth4"
+ OpenFabrics L#3 (NodeGUID=0200:00ff:fe00:0000 SysImageGUID=2657:20ff:fe04:2000 Port1State=4 Port1LID=0x0 Port1LMC=1 Port1GID0=fe80:0000:0a0a:0004:2657:20ff:fe04:2000) "usnic_0"
+ 3 x { PCI 1137:00cf (P#[collapsed] busid=[collapsed] class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC" }
+ Bridge PCI->PCI (P#40976 busid=0000:0a:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[0c-0c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#49152 busid=0000:0c:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#4 (Address=24:57:20:04:21:00 Port=1) "eth5"
+ OpenFabrics L#5 (NodeGUID=0200:00ff:fe00:0000 SysImageGUID=2657:20ff:fe04:2100 Port1State=4 Port1LID=0x0 Port1LMC=1 Port1GID0=fe80:0000:0a02:0004:2657:20ff:fe04:2100) "usnic_1"
+ PCI 1137:00cf (P#49153 busid=0000:0c:00.1 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ 2 x { PCI 1138:00cf (P#[collapsed] busid=[collapsed] class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC" }
+ PCI 1137:00cf (P#49156 busid=0000:0c:00.4 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC"
+ NUMANode L#1 (P#1 local=67108864KB total=67108864KB)
+ Package L#1 (P#1)
+ L3Cache L#1 (size=20480KB linesize=64 ways=20)
+ L2Cache L#8 (size=256KB linesize=64 ways=8)
+ L1dCache L#8 (size=32KB linesize=64 ways=8)
+ L1iCache L#8 (size=32KB linesize=64 ways=8)
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ L2Cache L#9 (size=256KB linesize=64 ways=8)
+ L1dCache L#9 (size=32KB linesize=64 ways=8)
+ L1iCache L#9 (size=32KB linesize=64 ways=8)
+ Core L#9 (P#1)
+ PU L#9 (P#9)
+ L2Cache L#10 (size=256KB linesize=64 ways=8)
+ L1dCache L#10 (size=32KB linesize=64 ways=8)
+ L1iCache L#10 (size=32KB linesize=64 ways=8)
+ Core L#10 (P#2)
+ PU L#10 (P#10)
+ L2Cache L#11 (size=256KB linesize=64 ways=8)
+ L1dCache L#11 (size=32KB linesize=64 ways=8)
+ L1iCache L#11 (size=32KB linesize=64 ways=8)
+ Core L#11 (P#3)
+ PU L#11 (P#11)
+ L2Cache L#12 (size=256KB linesize=64 ways=8)
+ L1dCache L#12 (size=32KB linesize=64 ways=8)
+ L1iCache L#12 (size=32KB linesize=64 ways=8)
+ Core L#12 (P#4)
+ PU L#12 (P#12)
+ L2Cache L#13 (size=256KB linesize=64 ways=8)
+ L1dCache L#13 (size=32KB linesize=64 ways=8)
+ L1iCache L#13 (size=32KB linesize=64 ways=8)
+ Core L#13 (P#5)
+ PU L#13 (P#13)
+ L2Cache L#14 (size=256KB linesize=64 ways=8)
+ L1dCache L#14 (size=32KB linesize=64 ways=8)
+ L1iCache L#14 (size=32KB linesize=64 ways=8)
+ Core L#14 (P#6)
+ PU L#14 (P#14)
+ L2Cache L#15 (size=256KB linesize=64 ways=8)
+ L1dCache L#15 (size=32KB linesize=64 ways=8)
+ L1iCache L#15 (size=32KB linesize=64 ways=8)
+ Core L#15 (P#7)
+ PU L#15 (P#15)
+ Bridge Host->PCI L#8 (P#2 buses=0000:[80-8c])
+ Bridge PCI->PCI (P#524336 busid=0000:80:03.0 id=8086:3c08 class=0604(PCI_B) buses=0000:[83-8c] PCIVendor="Intel Corporation" PCIDevice="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"
+ Bridge PCI->PCI (P#536576 busid=0000:83:00.0 id=1137:004e class=0604(PCI_B) buses=0000:[84-8c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC 82 PCIe Upstream Port") "Cisco Systems Inc VIC 82 PCIe Upstream Port"
+ Bridge PCI->PCI (P#540688 busid=0000:84:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[86-8c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ Bridge PCI->PCI (P#548864 busid=0000:86:00.0 id=1137:0040 class=0604(PCI_B) buses=0000:[87-8c] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Upstream Port") "Cisco Systems Inc VIC PCIe Upstream Port"
+ Bridge PCI->PCI (P#552960 busid=0000:87:00.0 id=1137:0041 class=0604(PCI_B) buses=0000:[88-88] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#557056 busid=0000:88:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#6 (Address=24:57:20:04:50:00 Port=1) "eth6"
+ OpenFabrics L#7 (NodeGUID=0200:00ff:fe00:0000 SysImageGUID=2657:20ff:fe04:5000 Port1State=4 Port1LID=0x0 Port1LMC=1 Port1GID0=fe80:0000:0a03:0004:2657:20ff:fe04:5000) "usnic_2"
+ 5 x { PCI 1137:00cf (P#[collapsed] busid=[collapsed] class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Userspace NIC") "Cisco Systems Inc VIC Userspace NIC" }
+ Bridge PCI->PCI (P#552976 busid=0000:87:01.0 id=1137:0041 class=0604(PCI_B) buses=0000:[89-89] PCIVendor="Cisco Systems Inc" PCIDevice="VIC PCIe Downstream Port") "Cisco Systems Inc VIC PCIe Downstream Port"
+ PCI 1137:0043 (P#561152 busid=0000:89:00.0 class=0200(Ether) PCIVendor="Cisco Systems Inc" PCIDevice="VIC Ethernet NIC") "Cisco Systems Inc VIC Ethernet NIC"
+ Network L#8 (Address=24:57:20:04:51:00) "eth7"
+depth 0: 1 Machine (type #1)
+ depth 1: 2 NUMANode (type #2)
+ depth 2: 2 Package (type #3)
+ depth 3: 2 L3Cache (type #4)
+ depth 4: 16 L2Cache (type #4)
+ depth 5: 16 L1dCache (type #4)
+ depth 6: 16 L1iCache (type #4)
+ depth 7: 16 Core (type #5)
+ depth 8: 16 PU (type #6)
+Special depth -3: 15 Bridge (type #9)
+Special depth -4: 18 PCI Device (type #10)
+Special depth -5: 9 OS Device (type #11)
+Topology not from this system
--- /dev/null
+16intel64-manyVFs.xml
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000ffff" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000ffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="Architecture" value="x86_64"/>
+ <info name="hwlocVersion" value="2.0.0a1-git"/>
+ <info name="ProcessName" value="lt-lstopo-no-graphics"/>
+ <object type="NUMANode" os_index="0" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="68682809344">
+ <page_type size="4096" count="16768264"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-15]">
+ <object type="Bridge" os_index="17" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1b" bridge_type="1-1" depth="1" bridge_pci="0000:[02-03]" pci_busid="0000:00:01.1" pci_type="0604 [8086:3c03] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 1b"/>
+ <object type="PCIDev" os_index="8192" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:02:00.0" pci_type="0200 [8086:1521] [1137:008b] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="a4:93:4c:aa:60:1e"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="8193" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:02:00.1" pci_type="0200 [8086:1521] [1137:008b] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="a4:93:4c:aa:60:1f"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="48" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[06-11]" pci_busid="0000:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="Bridge" os_index="24576" name="Cisco Systems Inc VIC 82 PCIe Upstream Port" bridge_type="1-1" depth="2" bridge_pci="0000:[07-11]" pci_busid="0000:06:00.0" pci_type="0604 [1137:004e] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC 82 PCIe Upstream Port"/>
+ <object type="Bridge" os_index="28688" name="Cisco Systems Inc VIC PCIe Downstream Port" bridge_type="1-1" depth="3" bridge_pci="0000:[09-11]" pci_busid="0000:07:01.0" pci_type="0604 [1137:0041] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Downstream Port"/>
+ <object type="Bridge" os_index="36864" name="Cisco Systems Inc VIC PCIe Upstream Port" bridge_type="1-1" depth="4" bridge_pci="0000:[0a-11]" pci_busid="0000:09:00.0" pci_type="0604 [1137:0040] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Upstream Port"/>
+ <object type="Bridge" os_index="40960" name="Cisco Systems Inc VIC PCIe Downstream Port" bridge_type="1-1" depth="5" bridge_pci="0000:[0b-0b]" pci_busid="0000:0a:00.0" pci_type="0604 [1137:0041] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Downstream Port"/>
+ <object type="PCIDev" os_index="45056" name="Cisco Systems Inc VIC Ethernet NIC" pci_busid="0000:0b:00.0" pci_type="0200 [1137:0043] [1137:0085] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Ethernet NIC"/>
+ <object type="OSDev" name="eth4" osdev_type="2">
+ <info name="Address" value="24:57:20:04:20:00"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="usnic_0" osdev_type="3">
+ <info name="NodeGUID" value="0200:00ff:fe00:0000"/>
+ <info name="SysImageGUID" value="2657:20ff:fe04:2000"/>
+ <info name="Port1State" value="4"/>
+ <info name="Port1LID" value="0x0"/>
+ <info name="Port1LMC" value="1"/>
+ <info name="Port1GID0" value="fe80:0000:0a0a:0004:2657:20ff:fe04:2000"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="45057" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:0b:00.1" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="45058" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:0b:00.2" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="45059" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:0b:00.3" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="40976" name="Cisco Systems Inc VIC PCIe Downstream Port" bridge_type="1-1" depth="5" bridge_pci="0000:[0c-0c]" pci_busid="0000:0a:01.0" pci_type="0604 [1137:0041] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Downstream Port"/>
+ <object type="PCIDev" os_index="49152" name="Cisco Systems Inc VIC Ethernet NIC" pci_busid="0000:0c:00.0" pci_type="0200 [1137:0043] [1137:0085] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Ethernet NIC"/>
+ <object type="OSDev" name="eth5" osdev_type="2">
+ <info name="Address" value="24:57:20:04:21:00"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="usnic_1" osdev_type="3">
+ <info name="NodeGUID" value="0200:00ff:fe00:0000"/>
+ <info name="SysImageGUID" value="2657:20ff:fe04:2100"/>
+ <info name="Port1State" value="4"/>
+ <info name="Port1LID" value="0x0"/>
+ <info name="Port1LMC" value="1"/>
+ <info name="Port1GID0" value="fe80:0000:0a02:0004:2657:20ff:fe04:2100"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="49153" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:0c:00.1" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="49154" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:0c:00.2" pci_type="0200 [1138:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="49155" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:0c:00.3" pci_type="0200 [1138:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="49156" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:0c:00.4" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="68719476736">
+ <page_type size="4096" count="16777216"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0000:[80-8c]">
+ <object type="Bridge" os_index="524336" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[83-8c]" pci_busid="0000:80:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="Bridge" os_index="536576" name="Cisco Systems Inc VIC 82 PCIe Upstream Port" bridge_type="1-1" depth="2" bridge_pci="0000:[84-8c]" pci_busid="0000:83:00.0" pci_type="0604 [1137:004e] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC 82 PCIe Upstream Port"/>
+ <object type="Bridge" os_index="540688" name="Cisco Systems Inc VIC PCIe Downstream Port" bridge_type="1-1" depth="3" bridge_pci="0000:[86-8c]" pci_busid="0000:84:01.0" pci_type="0604 [1137:0041] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Downstream Port"/>
+ <object type="Bridge" os_index="548864" name="Cisco Systems Inc VIC PCIe Upstream Port" bridge_type="1-1" depth="4" bridge_pci="0000:[87-8c]" pci_busid="0000:86:00.0" pci_type="0604 [1137:0040] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Upstream Port"/>
+ <object type="Bridge" os_index="552960" name="Cisco Systems Inc VIC PCIe Downstream Port" bridge_type="1-1" depth="5" bridge_pci="0000:[88-88]" pci_busid="0000:87:00.0" pci_type="0604 [1137:0041] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Downstream Port"/>
+ <object type="PCIDev" os_index="557056" name="Cisco Systems Inc VIC Ethernet NIC" pci_busid="0000:88:00.0" pci_type="0200 [1137:0043] [1137:0085] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Ethernet NIC"/>
+ <object type="OSDev" name="eth6" osdev_type="2">
+ <info name="Address" value="24:57:20:04:50:00"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="usnic_2" osdev_type="3">
+ <info name="NodeGUID" value="0200:00ff:fe00:0000"/>
+ <info name="SysImageGUID" value="2657:20ff:fe04:5000"/>
+ <info name="Port1State" value="4"/>
+ <info name="Port1LID" value="0x0"/>
+ <info name="Port1LMC" value="1"/>
+ <info name="Port1GID0" value="fe80:0000:0a03:0004:2657:20ff:fe04:5000"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="557057" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:88:00.1" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="557058" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:88:00.2" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="557059" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:88:00.3" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="557060" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:88:00.4" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ <object type="PCIDev" os_index="557061" name="Cisco Systems Inc VIC Userspace NIC" pci_busid="0000:88:00.5" pci_type="0200 [1137:00cf] [1137:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Userspace NIC"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="552976" name="Cisco Systems Inc VIC PCIe Downstream Port" bridge_type="1-1" depth="5" bridge_pci="0000:[89-89]" pci_busid="0000:87:01.0" pci_type="0604 [1137:0041] [0000:0000] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC PCIe Downstream Port"/>
+ <object type="PCIDev" os_index="561152" name="Cisco Systems Inc VIC Ethernet NIC" pci_busid="0000:89:00.0" pci_type="0200 [1137:0043] [1137:0085] a2" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Cisco Systems Inc"/>
+ <info name="PCIDevice" value="VIC Ethernet NIC"/>
+ <object type="OSDev" name="eth7" osdev_type="2">
+ <info name="Address" value="24:57:20:04:51:00"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+HWLOC_GROUPING_ACCURACY=0.0001
+export HWLOC_GROUPING_ACCURACY
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" complete_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" online_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" allowed_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" nodeset="0x00ffffff" complete_nodeset="0x00ffffff" allowed_nodeset="0x00ffffff">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Romley Platform"/>
+ <info name="DMIProductVersion" value="1.0"/>
+ <info name="DMIBIOSVendor" value="Silicon Graphics International Corp."/>
+ <info name="DMIBIOSVersion" value="SGI UV 2000 series BIOS"/>
+ <info name="DMIBIOSDate" value="02/12/2013"/>
+ <info name="DMISysVendor" value="Silicon Graphics International Corp."/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.0.58-0.6.6-default"/>
+ <info name="OSVersion" value="#1 SMP Tue Feb 19 11:07:00 UTC 2013 (1576ecd)"/>
+ <info name="HostName" value="uv2000"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="24" relative_depth="2" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff" complete_cpuset="0x0000ffff,,,,,,0x0000ffff" online_cpuset="0x0000ffff,,,,,,0x0000ffff" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003" depth="0">
+ <object type="NUMANode" os_index="0" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="33255329792">
+ <page_type size="4096" count="8118977"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="192" cpuset="0x00000001,,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x0" online_cpuset="0x00000001,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="193" cpuset="0x00000002,,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x0" online_cpuset="0x00000002,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="194" cpuset="0x00000004,,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x0" online_cpuset="0x00000004,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="195" cpuset="0x00000008,,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x0" online_cpuset="0x00000008,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="196" cpuset="0x00000010,,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x0" online_cpuset="0x00000010,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="197" cpuset="0x00000020,,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x0" online_cpuset="0x00000020,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="198" cpuset="0x00000040,,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x0" online_cpuset="0x00000040,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="199" cpuset="0x00000080,,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x0" online_cpuset="0x00000080,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-0c]">
+ <object type="Bridge" os_index="48" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[01-02]" pci_busid="0000:00:03.0" pci_type="0604 [8086:3c08] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4096" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.0" pci_type="0200 [8086:1521] [00ff:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="08:00:69:16:8c:6e"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="4097" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.1" pci_type="0200 [8086:1521] [00ff:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="08:00:69:16:8c:6f"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="50" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3c" bridge_type="1-1" depth="1" bridge_pci="0000:[03-06]" pci_busid="0000:00:03.2" pci_type="0604 [8086:3c0a] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3c"/>
+ <object type="Bridge" os_index="12288" name="Intel Corporation Patsburg PCI Express Upstream Port" bridge_type="1-1" depth="2" bridge_pci="0000:[04-06]" pci_busid="0000:03:00.0" pci_type="0604 [8086:1d74] [00ff:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Upstream Port"/>
+ <object type="Bridge" os_index="16512" name="Intel Corporation Patsburg PCI Express Virtual Switch Port" bridge_type="1-1" depth="3" bridge_pci="0000:[05-06]" pci_busid="0000:04:08.0" pci_type="0604 [8086:1d3f] [00ff:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Virtual Switch Port"/>
+ <object type="PCIDev" os_index="20480" name="Intel Corporation Patsburg Dual 4-Port SATA/SAS Storage Control Unit" pci_busid="0000:05:00.0" pci_type="0107 [8086:1d68] [00a9:0068] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg Dual 4-Port SATA/SAS Storage Control Unit"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="448" name="Intel Corporation Patsburg PCI Express Root Port 8" bridge_type="1-1" depth="1" bridge_pci="0000:[07-0b]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:1d1e] [0000:0000] b6" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Root Port 8"/>
+ <object type="Bridge" os_index="28672" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="2" bridge_pci="0000:[08-0b]" pci_busid="0000:07:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="32768" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="3" bridge_pci="0000:[09-0a]" pci_busid="0000:08:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="36864" name="Renesas Technology Corp. SH7757 PCIe-PCI Bridge [PPB]" bridge_type="1-1" depth="4" bridge_pci="0000:[0a-0a]" pci_busid="0000:09:00.0" pci_type="0604 [1912:0012] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe-PCI Bridge [PPB]"/>
+ <object type="PCIDev" os_index="40960" name="Matrox Graphics, Inc. G200eR2" pci_busid="0000:0a:00.0" pci_type="0300 [102b:0534] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Matrox Graphics, Inc."/>
+ <info name="PCIDevice" value="G200eR2"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation Patsburg 6-Port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:1d02] [00a9:0070] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg 6-Port SATA AHCI Controller"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="200" cpuset="0x00000100,,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x0" online_cpuset="0x00000100,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="201" cpuset="0x00000200,,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x0" online_cpuset="0x00000200,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="202" cpuset="0x00000400,,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x0" online_cpuset="0x00000400,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="203" cpuset="0x00000800,,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x0" online_cpuset="0x00000800,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="204" cpuset="0x00001000,,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x0" online_cpuset="0x00001000,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="205" cpuset="0x00002000,,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x0" online_cpuset="0x00002000,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="206" cpuset="0x00004000,,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x0" online_cpuset="0x00004000,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="207" cpuset="0x00008000,,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x0" online_cpuset="0x00008000,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0001:[00-02]">
+ <object type="Bridge" os_index="1048624" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0001:[02-02]" pci_busid="0001:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="1056768" name="LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator]" pci_busid="0001:02:00.0" pci_type="0104 [1000:0079] [0000:0080] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="MegaRAID SAS 2108 [Liberator]"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ <object type="OSDev" name="sdb" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000" complete_cpuset="0xffff0000,,,,,,0xffff0000" online_cpuset="0xffff0000,,,,,,0xffff0000" allowed_cpuset="0xffff0000,,,,,,0xffff0000" nodeset="0x0000000c" complete_nodeset="0x0000000c" allowed_nodeset="0x0000000c" depth="0">
+ <object type="NUMANode" os_index="2" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="2" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="208" cpuset="0x00010000,,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x0" online_cpuset="0x00010000,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="209" cpuset="0x00020000,,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x0" online_cpuset="0x00020000,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="210" cpuset="0x00040000,,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x0" online_cpuset="0x00040000,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="211" cpuset="0x00080000,,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x0" online_cpuset="0x00080000,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="212" cpuset="0x00100000,,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x0" online_cpuset="0x00100000,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="213" cpuset="0x00200000,,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x0" online_cpuset="0x00200000,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="214" cpuset="0x00400000,,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x0" online_cpuset="0x00400000,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="215" cpuset="0x00800000,,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x0" online_cpuset="0x00800000,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="3" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="216" cpuset="0x01000000,,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x0" online_cpuset="0x01000000,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="217" cpuset="0x02000000,,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x0" online_cpuset="0x02000000,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="218" cpuset="0x04000000,,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x0" online_cpuset="0x04000000,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="219" cpuset="0x08000000,,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x0" online_cpuset="0x08000000,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="220" cpuset="0x10000000,,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x0" online_cpuset="0x10000000,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="221" cpuset="0x20000000,,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x0" online_cpuset="0x20000000,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="222" cpuset="0x40000000,,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x0" online_cpuset="0x40000000,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="223" cpuset="0x80000000,,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x0" online_cpuset="0x80000000,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" nodeset="0x00000030" complete_nodeset="0x00000030" allowed_nodeset="0x00000030" depth="0">
+ <object type="NUMANode" os_index="4" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="4" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="32" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="224" cpuset="0x00000001,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="33" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="225" cpuset="0x00000002,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="34" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="226" cpuset="0x00000004,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="35" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="227" cpuset="0x00000008,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="36" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="228" cpuset="0x00000010,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="37" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="229" cpuset="0x00000020,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="38" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="230" cpuset="0x00000040,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="39" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="231" cpuset="0x00000080,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0002:[00-04]">
+ <object type="Bridge" os_index="2097200" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0002:[01-04]" pci_busid="0002:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="Bridge" os_index="2101248" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="2" bridge_pci="0002:[02-04]" pci_busid="0002:01:00.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="Bridge" os_index="2105360" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="3" bridge_pci="0002:[03-03]" pci_busid="0002:02:01.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="PCIDev" os_index="2109440" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:03:00.0" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth2" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:6c"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="2109441" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:03:00.1" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth3" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:6e"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2105376" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="3" bridge_pci="0002:[04-04]" pci_busid="0002:02:02.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="PCIDev" os_index="2113536" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:04:00.0" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth4" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:70"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="2113537" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:04:00.1" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth5" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:72"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="5" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="5" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="40" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="232" cpuset="0x00000100,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="41" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="233" cpuset="0x00000200,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="42" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="234" cpuset="0x00000400,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="43" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="235" cpuset="0x00000800,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="44" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="236" cpuset="0x00001000,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="45" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="237" cpuset="0x00002000,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="46" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="238" cpuset="0x00004000,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="47" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="239" cpuset="0x00008000,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,0x0" nodeset="0x000000c0" complete_nodeset="0x000000c0" allowed_nodeset="0x000000c0" depth="0">
+ <object type="NUMANode" os_index="6" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="6" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="48" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="240" cpuset="0x00010000,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="49" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="241" cpuset="0x00020000,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="50" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="242" cpuset="0x00040000,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="51" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="243" cpuset="0x00080000,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="52" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="244" cpuset="0x00100000,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="53" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="245" cpuset="0x00200000,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="54" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="246" cpuset="0x00400000,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="55" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="247" cpuset="0x00800000,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="3" bridge_type="0-1" depth="0" bridge_pci="0003:[00-01]">
+ <object type="Bridge" os_index="3145776" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0003:[01-01]" pci_busid="0003:00:03.0" pci_type="0604 [8086:3c08] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="3149824" name="Mellanox Technologies MT27500 Family [ConnectX-3]" pci_busid="0003:01:00.0" pci_type="0280 [15b3:1003] [00b3:0051] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Mellanox Technologies"/>
+ <info name="PCIDevice" value="MT27500 Family [ConnectX-3]"/>
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:1b:b0:a1"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="mlx4_0" osdev_type="3">
+ <info name="NodeGUID" value="0002:c903:001b:b0a0"/>
+ <info name="SysImageGUID" value="0002:c903:001b:b0a3"/>
+ <info name="Port1LID" value="0x0"/>
+ <info name="Port1LMC" value="0"/>
+ <info name="Port1GID0" value="fe80:0000:0000:0000:0002:c903:001b:b0a1"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="7" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="56" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="248" cpuset="0x01000000,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="57" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="249" cpuset="0x02000000,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="58" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="250" cpuset="0x04000000,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="59" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="251" cpuset="0x08000000,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="60" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="252" cpuset="0x10000000,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="61" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="253" cpuset="0x20000000,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="62" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="254" cpuset="0x40000000,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="63" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="255" cpuset="0x80000000,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" nodeset="0x00000300" complete_nodeset="0x00000300" allowed_nodeset="0x00000300" depth="0">
+ <object type="NUMANode" os_index="8" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="8" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="64" cpuset="0x00000001,,0x0" complete_cpuset="0x00000001,,0x0" online_cpuset="0x00000001,,0x0" allowed_cpuset="0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="256" cpuset="0x00000001,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="65" cpuset="0x00000002,,0x0" complete_cpuset="0x00000002,,0x0" online_cpuset="0x00000002,,0x0" allowed_cpuset="0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="257" cpuset="0x00000002,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="66" cpuset="0x00000004,,0x0" complete_cpuset="0x00000004,,0x0" online_cpuset="0x00000004,,0x0" allowed_cpuset="0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="258" cpuset="0x00000004,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="67" cpuset="0x00000008,,0x0" complete_cpuset="0x00000008,,0x0" online_cpuset="0x00000008,,0x0" allowed_cpuset="0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="259" cpuset="0x00000008,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="68" cpuset="0x00000010,,0x0" complete_cpuset="0x00000010,,0x0" online_cpuset="0x00000010,,0x0" allowed_cpuset="0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="260" cpuset="0x00000010,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="69" cpuset="0x00000020,,0x0" complete_cpuset="0x00000020,,0x0" online_cpuset="0x00000020,,0x0" allowed_cpuset="0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="261" cpuset="0x00000020,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="70" cpuset="0x00000040,,0x0" complete_cpuset="0x00000040,,0x0" online_cpuset="0x00000040,,0x0" allowed_cpuset="0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="262" cpuset="0x00000040,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="71" cpuset="0x00000080,,0x0" complete_cpuset="0x00000080,,0x0" online_cpuset="0x00000080,,0x0" allowed_cpuset="0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="263" cpuset="0x00000080,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="4" bridge_type="0-1" depth="0" bridge_pci="0004:[00-02]">
+ <object type="Bridge" os_index="4194352" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0004:[01-02]" pci_busid="0004:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4198400" name="LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]" pci_busid="0004:01:00.0" pci_type="0107 [1000:0072] [0000:0080] 03" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="9" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="9" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="72" cpuset="0x00000100,,0x0" complete_cpuset="0x00000100,,0x0" online_cpuset="0x00000100,,0x0" allowed_cpuset="0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="264" cpuset="0x00000100,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="73" cpuset="0x00000200,,0x0" complete_cpuset="0x00000200,,0x0" online_cpuset="0x00000200,,0x0" allowed_cpuset="0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="265" cpuset="0x00000200,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="74" cpuset="0x00000400,,0x0" complete_cpuset="0x00000400,,0x0" online_cpuset="0x00000400,,0x0" allowed_cpuset="0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="266" cpuset="0x00000400,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="75" cpuset="0x00000800,,0x0" complete_cpuset="0x00000800,,0x0" online_cpuset="0x00000800,,0x0" allowed_cpuset="0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="267" cpuset="0x00000800,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="76" cpuset="0x00001000,,0x0" complete_cpuset="0x00001000,,0x0" online_cpuset="0x00001000,,0x0" allowed_cpuset="0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="268" cpuset="0x00001000,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="77" cpuset="0x00002000,,0x0" complete_cpuset="0x00002000,,0x0" online_cpuset="0x00002000,,0x0" allowed_cpuset="0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="269" cpuset="0x00002000,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="78" cpuset="0x00004000,,0x0" complete_cpuset="0x00004000,,0x0" online_cpuset="0x00004000,,0x0" allowed_cpuset="0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="270" cpuset="0x00004000,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="79" cpuset="0x00008000,,0x0" complete_cpuset="0x00008000,,0x0" online_cpuset="0x00008000,,0x0" allowed_cpuset="0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="271" cpuset="0x00008000,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" nodeset="0x00000c00" complete_nodeset="0x00000c00" allowed_nodeset="0x00000c00" depth="0">
+ <object type="NUMANode" os_index="10" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="10" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="80" cpuset="0x00010000,,0x0" complete_cpuset="0x00010000,,0x0" online_cpuset="0x00010000,,0x0" allowed_cpuset="0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="272" cpuset="0x00010000,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="81" cpuset="0x00020000,,0x0" complete_cpuset="0x00020000,,0x0" online_cpuset="0x00020000,,0x0" allowed_cpuset="0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="273" cpuset="0x00020000,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="82" cpuset="0x00040000,,0x0" complete_cpuset="0x00040000,,0x0" online_cpuset="0x00040000,,0x0" allowed_cpuset="0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="274" cpuset="0x00040000,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="83" cpuset="0x00080000,,0x0" complete_cpuset="0x00080000,,0x0" online_cpuset="0x00080000,,0x0" allowed_cpuset="0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="275" cpuset="0x00080000,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="84" cpuset="0x00100000,,0x0" complete_cpuset="0x00100000,,0x0" online_cpuset="0x00100000,,0x0" allowed_cpuset="0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="276" cpuset="0x00100000,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="85" cpuset="0x00200000,,0x0" complete_cpuset="0x00200000,,0x0" online_cpuset="0x00200000,,0x0" allowed_cpuset="0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="277" cpuset="0x00200000,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="86" cpuset="0x00400000,,0x0" complete_cpuset="0x00400000,,0x0" online_cpuset="0x00400000,,0x0" allowed_cpuset="0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="278" cpuset="0x00400000,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="87" cpuset="0x00800000,,0x0" complete_cpuset="0x00800000,,0x0" online_cpuset="0x00800000,,0x0" allowed_cpuset="0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="279" cpuset="0x00800000,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="11" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="11" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="88" cpuset="0x01000000,,0x0" complete_cpuset="0x01000000,,0x0" online_cpuset="0x01000000,,0x0" allowed_cpuset="0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="280" cpuset="0x01000000,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="89" cpuset="0x02000000,,0x0" complete_cpuset="0x02000000,,0x0" online_cpuset="0x02000000,,0x0" allowed_cpuset="0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="281" cpuset="0x02000000,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="90" cpuset="0x04000000,,0x0" complete_cpuset="0x04000000,,0x0" online_cpuset="0x04000000,,0x0" allowed_cpuset="0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="282" cpuset="0x04000000,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="91" cpuset="0x08000000,,0x0" complete_cpuset="0x08000000,,0x0" online_cpuset="0x08000000,,0x0" allowed_cpuset="0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="283" cpuset="0x08000000,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="92" cpuset="0x10000000,,0x0" complete_cpuset="0x10000000,,0x0" online_cpuset="0x10000000,,0x0" allowed_cpuset="0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="284" cpuset="0x10000000,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="93" cpuset="0x20000000,,0x0" complete_cpuset="0x20000000,,0x0" online_cpuset="0x20000000,,0x0" allowed_cpuset="0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="285" cpuset="0x20000000,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="94" cpuset="0x40000000,,0x0" complete_cpuset="0x40000000,,0x0" online_cpuset="0x40000000,,0x0" allowed_cpuset="0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="286" cpuset="0x40000000,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="95" cpuset="0x80000000,,0x0" complete_cpuset="0x80000000,,0x0" online_cpuset="0x80000000,,0x0" allowed_cpuset="0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="287" cpuset="0x80000000,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" nodeset="0x00003000" complete_nodeset="0x00003000" allowed_nodeset="0x00003000" depth="0">
+ <object type="NUMANode" os_index="12" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="12" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="96" cpuset="0x00000001,,,0x0" complete_cpuset="0x00000001,,,0x0" online_cpuset="0x00000001,,,0x0" allowed_cpuset="0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="288" cpuset="0x00000001,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="97" cpuset="0x00000002,,,0x0" complete_cpuset="0x00000002,,,0x0" online_cpuset="0x00000002,,,0x0" allowed_cpuset="0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="289" cpuset="0x00000002,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="98" cpuset="0x00000004,,,0x0" complete_cpuset="0x00000004,,,0x0" online_cpuset="0x00000004,,,0x0" allowed_cpuset="0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="290" cpuset="0x00000004,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="99" cpuset="0x00000008,,,0x0" complete_cpuset="0x00000008,,,0x0" online_cpuset="0x00000008,,,0x0" allowed_cpuset="0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="291" cpuset="0x00000008,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="100" cpuset="0x00000010,,,0x0" complete_cpuset="0x00000010,,,0x0" online_cpuset="0x00000010,,,0x0" allowed_cpuset="0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="292" cpuset="0x00000010,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="101" cpuset="0x00000020,,,0x0" complete_cpuset="0x00000020,,,0x0" online_cpuset="0x00000020,,,0x0" allowed_cpuset="0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="293" cpuset="0x00000020,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="102" cpuset="0x00000040,,,0x0" complete_cpuset="0x00000040,,,0x0" online_cpuset="0x00000040,,,0x0" allowed_cpuset="0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="294" cpuset="0x00000040,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="103" cpuset="0x00000080,,,0x0" complete_cpuset="0x00000080,,,0x0" online_cpuset="0x00000080,,,0x0" allowed_cpuset="0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="295" cpuset="0x00000080,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="13" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="13" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="104" cpuset="0x00000100,,,0x0" complete_cpuset="0x00000100,,,0x0" online_cpuset="0x00000100,,,0x0" allowed_cpuset="0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="296" cpuset="0x00000100,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="105" cpuset="0x00000200,,,0x0" complete_cpuset="0x00000200,,,0x0" online_cpuset="0x00000200,,,0x0" allowed_cpuset="0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="297" cpuset="0x00000200,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="106" cpuset="0x00000400,,,0x0" complete_cpuset="0x00000400,,,0x0" online_cpuset="0x00000400,,,0x0" allowed_cpuset="0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="298" cpuset="0x00000400,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="107" cpuset="0x00000800,,,0x0" complete_cpuset="0x00000800,,,0x0" online_cpuset="0x00000800,,,0x0" allowed_cpuset="0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="299" cpuset="0x00000800,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="108" cpuset="0x00001000,,,0x0" complete_cpuset="0x00001000,,,0x0" online_cpuset="0x00001000,,,0x0" allowed_cpuset="0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="300" cpuset="0x00001000,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="109" cpuset="0x00002000,,,0x0" complete_cpuset="0x00002000,,,0x0" online_cpuset="0x00002000,,,0x0" allowed_cpuset="0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="301" cpuset="0x00002000,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="110" cpuset="0x00004000,,,0x0" complete_cpuset="0x00004000,,,0x0" online_cpuset="0x00004000,,,0x0" allowed_cpuset="0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="302" cpuset="0x00004000,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="111" cpuset="0x00008000,,,0x0" complete_cpuset="0x00008000,,,0x0" online_cpuset="0x00008000,,,0x0" allowed_cpuset="0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="303" cpuset="0x00008000,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" nodeset="0x0000c000" complete_nodeset="0x0000c000" allowed_nodeset="0x0000c000" depth="0">
+ <object type="NUMANode" os_index="14" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="14" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="112" cpuset="0x00010000,,,0x0" complete_cpuset="0x00010000,,,0x0" online_cpuset="0x00010000,,,0x0" allowed_cpuset="0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="304" cpuset="0x00010000,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="113" cpuset="0x00020000,,,0x0" complete_cpuset="0x00020000,,,0x0" online_cpuset="0x00020000,,,0x0" allowed_cpuset="0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="305" cpuset="0x00020000,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="114" cpuset="0x00040000,,,0x0" complete_cpuset="0x00040000,,,0x0" online_cpuset="0x00040000,,,0x0" allowed_cpuset="0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="306" cpuset="0x00040000,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="115" cpuset="0x00080000,,,0x0" complete_cpuset="0x00080000,,,0x0" online_cpuset="0x00080000,,,0x0" allowed_cpuset="0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="307" cpuset="0x00080000,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="116" cpuset="0x00100000,,,0x0" complete_cpuset="0x00100000,,,0x0" online_cpuset="0x00100000,,,0x0" allowed_cpuset="0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="308" cpuset="0x00100000,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="117" cpuset="0x00200000,,,0x0" complete_cpuset="0x00200000,,,0x0" online_cpuset="0x00200000,,,0x0" allowed_cpuset="0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="309" cpuset="0x00200000,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="118" cpuset="0x00400000,,,0x0" complete_cpuset="0x00400000,,,0x0" online_cpuset="0x00400000,,,0x0" allowed_cpuset="0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="310" cpuset="0x00400000,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="119" cpuset="0x00800000,,,0x0" complete_cpuset="0x00800000,,,0x0" online_cpuset="0x00800000,,,0x0" allowed_cpuset="0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="311" cpuset="0x00800000,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="15" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="15" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="120" cpuset="0x01000000,,,0x0" complete_cpuset="0x01000000,,,0x0" online_cpuset="0x01000000,,,0x0" allowed_cpuset="0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="312" cpuset="0x01000000,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="121" cpuset="0x02000000,,,0x0" complete_cpuset="0x02000000,,,0x0" online_cpuset="0x02000000,,,0x0" allowed_cpuset="0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="313" cpuset="0x02000000,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="122" cpuset="0x04000000,,,0x0" complete_cpuset="0x04000000,,,0x0" online_cpuset="0x04000000,,,0x0" allowed_cpuset="0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="314" cpuset="0x04000000,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="123" cpuset="0x08000000,,,0x0" complete_cpuset="0x08000000,,,0x0" online_cpuset="0x08000000,,,0x0" allowed_cpuset="0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="315" cpuset="0x08000000,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="124" cpuset="0x10000000,,,0x0" complete_cpuset="0x10000000,,,0x0" online_cpuset="0x10000000,,,0x0" allowed_cpuset="0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="316" cpuset="0x10000000,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="125" cpuset="0x20000000,,,0x0" complete_cpuset="0x20000000,,,0x0" online_cpuset="0x20000000,,,0x0" allowed_cpuset="0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="317" cpuset="0x20000000,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="126" cpuset="0x40000000,,,0x0" complete_cpuset="0x40000000,,,0x0" online_cpuset="0x40000000,,,0x0" allowed_cpuset="0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="318" cpuset="0x40000000,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="127" cpuset="0x80000000,,,0x0" complete_cpuset="0x80000000,,,0x0" online_cpuset="0x80000000,,,0x0" allowed_cpuset="0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="319" cpuset="0x80000000,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" nodeset="0x00030000" complete_nodeset="0x00030000" allowed_nodeset="0x00030000" depth="0">
+ <object type="NUMANode" os_index="16" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="16" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="128" cpuset="0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,0x0" online_cpuset="0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="320" cpuset="0x00000001,,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="129" cpuset="0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,0x0" online_cpuset="0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="321" cpuset="0x00000002,,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="130" cpuset="0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,0x0" online_cpuset="0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="322" cpuset="0x00000004,,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="131" cpuset="0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,0x0" online_cpuset="0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="323" cpuset="0x00000008,,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="132" cpuset="0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,0x0" online_cpuset="0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="324" cpuset="0x00000010,,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="133" cpuset="0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,0x0" online_cpuset="0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="325" cpuset="0x00000020,,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="134" cpuset="0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,0x0" online_cpuset="0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="326" cpuset="0x00000040,,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="135" cpuset="0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,0x0" online_cpuset="0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="327" cpuset="0x00000080,,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="17" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="17" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="136" cpuset="0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,0x0" online_cpuset="0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="328" cpuset="0x00000100,,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="137" cpuset="0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,0x0" online_cpuset="0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="329" cpuset="0x00000200,,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="138" cpuset="0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,0x0" online_cpuset="0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="330" cpuset="0x00000400,,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="139" cpuset="0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,0x0" online_cpuset="0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="331" cpuset="0x00000800,,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="140" cpuset="0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,0x0" online_cpuset="0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="332" cpuset="0x00001000,,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="141" cpuset="0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,0x0" online_cpuset="0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="333" cpuset="0x00002000,,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="142" cpuset="0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,0x0" online_cpuset="0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="334" cpuset="0x00004000,,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="143" cpuset="0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,0x0" online_cpuset="0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="335" cpuset="0x00008000,,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" nodeset="0x000c0000" complete_nodeset="0x000c0000" allowed_nodeset="0x000c0000" depth="0">
+ <object type="NUMANode" os_index="18" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="18" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="144" cpuset="0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,0x0" online_cpuset="0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="336" cpuset="0x00010000,,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="145" cpuset="0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,0x0" online_cpuset="0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="337" cpuset="0x00020000,,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="146" cpuset="0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,0x0" online_cpuset="0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="338" cpuset="0x00040000,,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="147" cpuset="0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,0x0" online_cpuset="0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="339" cpuset="0x00080000,,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="148" cpuset="0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,0x0" online_cpuset="0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="340" cpuset="0x00100000,,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="149" cpuset="0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,0x0" online_cpuset="0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="341" cpuset="0x00200000,,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="150" cpuset="0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,0x0" online_cpuset="0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="342" cpuset="0x00400000,,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="151" cpuset="0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,0x0" online_cpuset="0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="343" cpuset="0x00800000,,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="19" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="19" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="152" cpuset="0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,0x0" online_cpuset="0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="344" cpuset="0x01000000,,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="153" cpuset="0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,0x0" online_cpuset="0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="345" cpuset="0x02000000,,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="154" cpuset="0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,0x0" online_cpuset="0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="346" cpuset="0x04000000,,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="155" cpuset="0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,0x0" online_cpuset="0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="347" cpuset="0x08000000,,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="156" cpuset="0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,0x0" online_cpuset="0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="348" cpuset="0x10000000,,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="157" cpuset="0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,0x0" online_cpuset="0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="349" cpuset="0x20000000,,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="158" cpuset="0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,0x0" online_cpuset="0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="350" cpuset="0x40000000,,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="159" cpuset="0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,0x0" online_cpuset="0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="351" cpuset="0x80000000,,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" nodeset="0x00300000" complete_nodeset="0x00300000" allowed_nodeset="0x00300000" depth="0">
+ <object type="NUMANode" os_index="20" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="20" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="160" cpuset="0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="352" cpuset="0x00000001,,,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="161" cpuset="0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="353" cpuset="0x00000002,,,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="162" cpuset="0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="354" cpuset="0x00000004,,,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="163" cpuset="0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="355" cpuset="0x00000008,,,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="164" cpuset="0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="356" cpuset="0x00000010,,,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="165" cpuset="0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="357" cpuset="0x00000020,,,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="166" cpuset="0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="358" cpuset="0x00000040,,,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="167" cpuset="0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="359" cpuset="0x00000080,,,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="21" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="21" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="168" cpuset="0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="360" cpuset="0x00000100,,,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="169" cpuset="0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="361" cpuset="0x00000200,,,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="170" cpuset="0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="362" cpuset="0x00000400,,,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="171" cpuset="0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="363" cpuset="0x00000800,,,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="172" cpuset="0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="364" cpuset="0x00001000,,,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="173" cpuset="0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="365" cpuset="0x00002000,,,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="174" cpuset="0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="366" cpuset="0x00004000,,,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="175" cpuset="0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="367" cpuset="0x00008000,,,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" nodeset="0x00c00000" complete_nodeset="0x00c00000" allowed_nodeset="0x00c00000" depth="0">
+ <object type="NUMANode" os_index="22" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="22" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="176" cpuset="0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="368" cpuset="0x00010000,,,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="177" cpuset="0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="369" cpuset="0x00020000,,,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="178" cpuset="0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="370" cpuset="0x00040000,,,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="179" cpuset="0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="371" cpuset="0x00080000,,,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="180" cpuset="0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="372" cpuset="0x00100000,,,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="181" cpuset="0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="373" cpuset="0x00200000,,,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="182" cpuset="0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="374" cpuset="0x00400000,,,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="183" cpuset="0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="375" cpuset="0x00800000,,,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="23" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="23" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="184" cpuset="0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="376" cpuset="0x01000000,,,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="185" cpuset="0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="377" cpuset="0x02000000,,,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="186" cpuset="0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="378" cpuset="0x04000000,,,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="187" cpuset="0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="379" cpuset="0x08000000,,,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="188" cpuset="0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="380" cpuset="0x10000000,,,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="189" cpuset="0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="381" cpuset="0x20000000,,,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="190" cpuset="0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="382" cpuset="0x40000000,,,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="191" cpuset="0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="383" cpuset="0x80000000,,,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+HWLOC_GROUPING_ACCURACY=0.0001
+export HWLOC_GROUPING_ACCURACY
--- /dev/null
+192em64t-24n8c2t-nodistancegroups.xml
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" complete_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" online_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" allowed_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" nodeset="0x00ffffff" complete_nodeset="0x00ffffff" allowed_nodeset="0x00ffffff">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Romley Platform"/>
+ <info name="DMIProductVersion" value="1.0"/>
+ <info name="DMIBIOSVendor" value="Silicon Graphics International Corp."/>
+ <info name="DMIBIOSVersion" value="SGI UV 2000 series BIOS"/>
+ <info name="DMIBIOSDate" value="02/12/2013"/>
+ <info name="DMISysVendor" value="Silicon Graphics International Corp."/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.0.58-0.6.6-default"/>
+ <info name="OSVersion" value="#1 SMP Tue Feb 19 11:07:00 UTC 2013 (1576ecd)"/>
+ <info name="HostName" value="uv2000"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="24" relative_depth="2" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff" complete_cpuset="0x0000ffff,,,,,,0x0000ffff" online_cpuset="0x0000ffff,,,,,,0x0000ffff" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003" depth="0">
+ <object type="NUMANode" os_index="0" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="33255329792">
+ <page_type size="4096" count="8118977"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="192" cpuset="0x00000001,,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x0" online_cpuset="0x00000001,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="193" cpuset="0x00000002,,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x0" online_cpuset="0x00000002,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="194" cpuset="0x00000004,,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x0" online_cpuset="0x00000004,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="195" cpuset="0x00000008,,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x0" online_cpuset="0x00000008,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="196" cpuset="0x00000010,,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x0" online_cpuset="0x00000010,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="197" cpuset="0x00000020,,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x0" online_cpuset="0x00000020,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="198" cpuset="0x00000040,,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x0" online_cpuset="0x00000040,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="199" cpuset="0x00000080,,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x0" online_cpuset="0x00000080,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-0c]">
+ <object type="Bridge" os_index="48" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[01-02]" pci_busid="0000:00:03.0" pci_type="0604 [8086:3c08] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4096" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.0" pci_type="0200 [8086:1521] [00ff:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="08:00:69:16:8c:6e"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="4097" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.1" pci_type="0200 [8086:1521] [00ff:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="08:00:69:16:8c:6f"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="50" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3c" bridge_type="1-1" depth="1" bridge_pci="0000:[03-06]" pci_busid="0000:00:03.2" pci_type="0604 [8086:3c0a] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3c"/>
+ <object type="Bridge" os_index="12288" name="Intel Corporation Patsburg PCI Express Upstream Port" bridge_type="1-1" depth="2" bridge_pci="0000:[04-06]" pci_busid="0000:03:00.0" pci_type="0604 [8086:1d74] [00ff:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Upstream Port"/>
+ <object type="Bridge" os_index="16512" name="Intel Corporation Patsburg PCI Express Virtual Switch Port" bridge_type="1-1" depth="3" bridge_pci="0000:[05-06]" pci_busid="0000:04:08.0" pci_type="0604 [8086:1d3f] [00ff:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Virtual Switch Port"/>
+ <object type="PCIDev" os_index="20480" name="Intel Corporation Patsburg Dual 4-Port SATA/SAS Storage Control Unit" pci_busid="0000:05:00.0" pci_type="0107 [8086:1d68] [00a9:0068] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg Dual 4-Port SATA/SAS Storage Control Unit"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="448" name="Intel Corporation Patsburg PCI Express Root Port 8" bridge_type="1-1" depth="1" bridge_pci="0000:[07-0b]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:1d1e] [0000:0000] b6" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Root Port 8"/>
+ <object type="Bridge" os_index="28672" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="2" bridge_pci="0000:[08-0b]" pci_busid="0000:07:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="32768" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="3" bridge_pci="0000:[09-0a]" pci_busid="0000:08:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="36864" name="Renesas Technology Corp. SH7757 PCIe-PCI Bridge [PPB]" bridge_type="1-1" depth="4" bridge_pci="0000:[0a-0a]" pci_busid="0000:09:00.0" pci_type="0604 [1912:0012] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe-PCI Bridge [PPB]"/>
+ <object type="PCIDev" os_index="40960" name="Matrox Graphics, Inc. G200eR2" pci_busid="0000:0a:00.0" pci_type="0300 [102b:0534] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Matrox Graphics, Inc."/>
+ <info name="PCIDevice" value="G200eR2"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation Patsburg 6-Port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:1d02] [00a9:0070] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg 6-Port SATA AHCI Controller"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="200" cpuset="0x00000100,,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x0" online_cpuset="0x00000100,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="201" cpuset="0x00000200,,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x0" online_cpuset="0x00000200,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="202" cpuset="0x00000400,,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x0" online_cpuset="0x00000400,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="203" cpuset="0x00000800,,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x0" online_cpuset="0x00000800,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="204" cpuset="0x00001000,,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x0" online_cpuset="0x00001000,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="205" cpuset="0x00002000,,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x0" online_cpuset="0x00002000,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="206" cpuset="0x00004000,,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x0" online_cpuset="0x00004000,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="207" cpuset="0x00008000,,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x0" online_cpuset="0x00008000,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0001:[00-02]">
+ <object type="Bridge" os_index="1048624" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0001:[02-02]" pci_busid="0001:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="1056768" name="LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator]" pci_busid="0001:02:00.0" pci_type="0104 [1000:0079] [0000:0080] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="MegaRAID SAS 2108 [Liberator]"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ <object type="OSDev" name="sdb" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000" complete_cpuset="0xffff0000,,,,,,0xffff0000" online_cpuset="0xffff0000,,,,,,0xffff0000" allowed_cpuset="0xffff0000,,,,,,0xffff0000" nodeset="0x0000000c" complete_nodeset="0x0000000c" allowed_nodeset="0x0000000c" depth="0">
+ <object type="NUMANode" os_index="2" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="2" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="208" cpuset="0x00010000,,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x0" online_cpuset="0x00010000,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="209" cpuset="0x00020000,,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x0" online_cpuset="0x00020000,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="210" cpuset="0x00040000,,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x0" online_cpuset="0x00040000,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="211" cpuset="0x00080000,,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x0" online_cpuset="0x00080000,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="212" cpuset="0x00100000,,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x0" online_cpuset="0x00100000,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="213" cpuset="0x00200000,,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x0" online_cpuset="0x00200000,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="214" cpuset="0x00400000,,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x0" online_cpuset="0x00400000,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="215" cpuset="0x00800000,,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x0" online_cpuset="0x00800000,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="3" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="216" cpuset="0x01000000,,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x0" online_cpuset="0x01000000,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="217" cpuset="0x02000000,,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x0" online_cpuset="0x02000000,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="218" cpuset="0x04000000,,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x0" online_cpuset="0x04000000,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="219" cpuset="0x08000000,,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x0" online_cpuset="0x08000000,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="220" cpuset="0x10000000,,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x0" online_cpuset="0x10000000,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="221" cpuset="0x20000000,,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x0" online_cpuset="0x20000000,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="222" cpuset="0x40000000,,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x0" online_cpuset="0x40000000,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="223" cpuset="0x80000000,,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x0" online_cpuset="0x80000000,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" nodeset="0x00000030" complete_nodeset="0x00000030" allowed_nodeset="0x00000030" depth="0">
+ <object type="NUMANode" os_index="4" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="4" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="32" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="224" cpuset="0x00000001,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="33" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="225" cpuset="0x00000002,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="34" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="226" cpuset="0x00000004,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="35" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="227" cpuset="0x00000008,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="36" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="228" cpuset="0x00000010,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="37" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="229" cpuset="0x00000020,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="38" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="230" cpuset="0x00000040,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="39" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="231" cpuset="0x00000080,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0002:[00-04]">
+ <object type="Bridge" os_index="2097200" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0002:[01-04]" pci_busid="0002:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="Bridge" os_index="2101248" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="2" bridge_pci="0002:[02-04]" pci_busid="0002:01:00.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="Bridge" os_index="2105360" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="3" bridge_pci="0002:[03-03]" pci_busid="0002:02:01.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="PCIDev" os_index="2109440" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:03:00.0" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth2" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:6c"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="2109441" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:03:00.1" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth3" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:6e"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2105376" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="3" bridge_pci="0002:[04-04]" pci_busid="0002:02:02.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="PCIDev" os_index="2113536" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:04:00.0" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth4" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:70"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="2113537" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:04:00.1" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth5" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:72"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="5" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="5" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="40" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="232" cpuset="0x00000100,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="41" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="233" cpuset="0x00000200,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="42" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="234" cpuset="0x00000400,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="43" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="235" cpuset="0x00000800,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="44" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="236" cpuset="0x00001000,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="45" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="237" cpuset="0x00002000,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="46" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="238" cpuset="0x00004000,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="47" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="239" cpuset="0x00008000,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,0x0" nodeset="0x000000c0" complete_nodeset="0x000000c0" allowed_nodeset="0x000000c0" depth="0">
+ <object type="NUMANode" os_index="6" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="6" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="48" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="240" cpuset="0x00010000,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="49" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="241" cpuset="0x00020000,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="50" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="242" cpuset="0x00040000,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="51" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="243" cpuset="0x00080000,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="52" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="244" cpuset="0x00100000,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="53" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="245" cpuset="0x00200000,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="54" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="246" cpuset="0x00400000,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="55" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="247" cpuset="0x00800000,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="3" bridge_type="0-1" depth="0" bridge_pci="0003:[00-01]">
+ <object type="Bridge" os_index="3145776" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0003:[01-01]" pci_busid="0003:00:03.0" pci_type="0604 [8086:3c08] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="3149824" name="Mellanox Technologies MT27500 Family [ConnectX-3]" pci_busid="0003:01:00.0" pci_type="0280 [15b3:1003] [00b3:0051] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Mellanox Technologies"/>
+ <info name="PCIDevice" value="MT27500 Family [ConnectX-3]"/>
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:1b:b0:a1"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="mlx4_0" osdev_type="3">
+ <info name="NodeGUID" value="0002:c903:001b:b0a0"/>
+ <info name="SysImageGUID" value="0002:c903:001b:b0a3"/>
+ <info name="Port1LID" value="0x0"/>
+ <info name="Port1LMC" value="0"/>
+ <info name="Port1GID0" value="fe80:0000:0000:0000:0002:c903:001b:b0a1"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="7" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="56" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="248" cpuset="0x01000000,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="57" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="249" cpuset="0x02000000,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="58" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="250" cpuset="0x04000000,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="59" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="251" cpuset="0x08000000,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="60" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="252" cpuset="0x10000000,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="61" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="253" cpuset="0x20000000,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="62" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="254" cpuset="0x40000000,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="63" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="255" cpuset="0x80000000,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" nodeset="0x00000300" complete_nodeset="0x00000300" allowed_nodeset="0x00000300" depth="0">
+ <object type="NUMANode" os_index="8" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="8" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="64" cpuset="0x00000001,,0x0" complete_cpuset="0x00000001,,0x0" online_cpuset="0x00000001,,0x0" allowed_cpuset="0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="256" cpuset="0x00000001,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="65" cpuset="0x00000002,,0x0" complete_cpuset="0x00000002,,0x0" online_cpuset="0x00000002,,0x0" allowed_cpuset="0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="257" cpuset="0x00000002,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="66" cpuset="0x00000004,,0x0" complete_cpuset="0x00000004,,0x0" online_cpuset="0x00000004,,0x0" allowed_cpuset="0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="258" cpuset="0x00000004,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="67" cpuset="0x00000008,,0x0" complete_cpuset="0x00000008,,0x0" online_cpuset="0x00000008,,0x0" allowed_cpuset="0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="259" cpuset="0x00000008,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="68" cpuset="0x00000010,,0x0" complete_cpuset="0x00000010,,0x0" online_cpuset="0x00000010,,0x0" allowed_cpuset="0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="260" cpuset="0x00000010,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="69" cpuset="0x00000020,,0x0" complete_cpuset="0x00000020,,0x0" online_cpuset="0x00000020,,0x0" allowed_cpuset="0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="261" cpuset="0x00000020,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="70" cpuset="0x00000040,,0x0" complete_cpuset="0x00000040,,0x0" online_cpuset="0x00000040,,0x0" allowed_cpuset="0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="262" cpuset="0x00000040,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="71" cpuset="0x00000080,,0x0" complete_cpuset="0x00000080,,0x0" online_cpuset="0x00000080,,0x0" allowed_cpuset="0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="263" cpuset="0x00000080,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="4" bridge_type="0-1" depth="0" bridge_pci="0004:[00-02]">
+ <object type="Bridge" os_index="4194352" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0004:[01-02]" pci_busid="0004:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4198400" name="LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]" pci_busid="0004:01:00.0" pci_type="0107 [1000:0072] [0000:0080] 03" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="9" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="9" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="72" cpuset="0x00000100,,0x0" complete_cpuset="0x00000100,,0x0" online_cpuset="0x00000100,,0x0" allowed_cpuset="0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="264" cpuset="0x00000100,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="73" cpuset="0x00000200,,0x0" complete_cpuset="0x00000200,,0x0" online_cpuset="0x00000200,,0x0" allowed_cpuset="0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="265" cpuset="0x00000200,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="74" cpuset="0x00000400,,0x0" complete_cpuset="0x00000400,,0x0" online_cpuset="0x00000400,,0x0" allowed_cpuset="0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="266" cpuset="0x00000400,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="75" cpuset="0x00000800,,0x0" complete_cpuset="0x00000800,,0x0" online_cpuset="0x00000800,,0x0" allowed_cpuset="0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="267" cpuset="0x00000800,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="76" cpuset="0x00001000,,0x0" complete_cpuset="0x00001000,,0x0" online_cpuset="0x00001000,,0x0" allowed_cpuset="0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="268" cpuset="0x00001000,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="77" cpuset="0x00002000,,0x0" complete_cpuset="0x00002000,,0x0" online_cpuset="0x00002000,,0x0" allowed_cpuset="0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="269" cpuset="0x00002000,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="78" cpuset="0x00004000,,0x0" complete_cpuset="0x00004000,,0x0" online_cpuset="0x00004000,,0x0" allowed_cpuset="0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="270" cpuset="0x00004000,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="79" cpuset="0x00008000,,0x0" complete_cpuset="0x00008000,,0x0" online_cpuset="0x00008000,,0x0" allowed_cpuset="0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="271" cpuset="0x00008000,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" nodeset="0x00000c00" complete_nodeset="0x00000c00" allowed_nodeset="0x00000c00" depth="0">
+ <object type="NUMANode" os_index="10" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="10" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="80" cpuset="0x00010000,,0x0" complete_cpuset="0x00010000,,0x0" online_cpuset="0x00010000,,0x0" allowed_cpuset="0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="272" cpuset="0x00010000,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="81" cpuset="0x00020000,,0x0" complete_cpuset="0x00020000,,0x0" online_cpuset="0x00020000,,0x0" allowed_cpuset="0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="273" cpuset="0x00020000,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="82" cpuset="0x00040000,,0x0" complete_cpuset="0x00040000,,0x0" online_cpuset="0x00040000,,0x0" allowed_cpuset="0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="274" cpuset="0x00040000,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="83" cpuset="0x00080000,,0x0" complete_cpuset="0x00080000,,0x0" online_cpuset="0x00080000,,0x0" allowed_cpuset="0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="275" cpuset="0x00080000,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="84" cpuset="0x00100000,,0x0" complete_cpuset="0x00100000,,0x0" online_cpuset="0x00100000,,0x0" allowed_cpuset="0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="276" cpuset="0x00100000,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="85" cpuset="0x00200000,,0x0" complete_cpuset="0x00200000,,0x0" online_cpuset="0x00200000,,0x0" allowed_cpuset="0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="277" cpuset="0x00200000,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="86" cpuset="0x00400000,,0x0" complete_cpuset="0x00400000,,0x0" online_cpuset="0x00400000,,0x0" allowed_cpuset="0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="278" cpuset="0x00400000,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="87" cpuset="0x00800000,,0x0" complete_cpuset="0x00800000,,0x0" online_cpuset="0x00800000,,0x0" allowed_cpuset="0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="279" cpuset="0x00800000,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="11" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="11" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="88" cpuset="0x01000000,,0x0" complete_cpuset="0x01000000,,0x0" online_cpuset="0x01000000,,0x0" allowed_cpuset="0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="280" cpuset="0x01000000,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="89" cpuset="0x02000000,,0x0" complete_cpuset="0x02000000,,0x0" online_cpuset="0x02000000,,0x0" allowed_cpuset="0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="281" cpuset="0x02000000,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="90" cpuset="0x04000000,,0x0" complete_cpuset="0x04000000,,0x0" online_cpuset="0x04000000,,0x0" allowed_cpuset="0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="282" cpuset="0x04000000,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="91" cpuset="0x08000000,,0x0" complete_cpuset="0x08000000,,0x0" online_cpuset="0x08000000,,0x0" allowed_cpuset="0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="283" cpuset="0x08000000,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="92" cpuset="0x10000000,,0x0" complete_cpuset="0x10000000,,0x0" online_cpuset="0x10000000,,0x0" allowed_cpuset="0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="284" cpuset="0x10000000,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="93" cpuset="0x20000000,,0x0" complete_cpuset="0x20000000,,0x0" online_cpuset="0x20000000,,0x0" allowed_cpuset="0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="285" cpuset="0x20000000,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="94" cpuset="0x40000000,,0x0" complete_cpuset="0x40000000,,0x0" online_cpuset="0x40000000,,0x0" allowed_cpuset="0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="286" cpuset="0x40000000,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="95" cpuset="0x80000000,,0x0" complete_cpuset="0x80000000,,0x0" online_cpuset="0x80000000,,0x0" allowed_cpuset="0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="287" cpuset="0x80000000,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" nodeset="0x00003000" complete_nodeset="0x00003000" allowed_nodeset="0x00003000" depth="0">
+ <object type="NUMANode" os_index="12" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="12" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="96" cpuset="0x00000001,,,0x0" complete_cpuset="0x00000001,,,0x0" online_cpuset="0x00000001,,,0x0" allowed_cpuset="0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="288" cpuset="0x00000001,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="97" cpuset="0x00000002,,,0x0" complete_cpuset="0x00000002,,,0x0" online_cpuset="0x00000002,,,0x0" allowed_cpuset="0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="289" cpuset="0x00000002,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="98" cpuset="0x00000004,,,0x0" complete_cpuset="0x00000004,,,0x0" online_cpuset="0x00000004,,,0x0" allowed_cpuset="0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="290" cpuset="0x00000004,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="99" cpuset="0x00000008,,,0x0" complete_cpuset="0x00000008,,,0x0" online_cpuset="0x00000008,,,0x0" allowed_cpuset="0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="291" cpuset="0x00000008,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="100" cpuset="0x00000010,,,0x0" complete_cpuset="0x00000010,,,0x0" online_cpuset="0x00000010,,,0x0" allowed_cpuset="0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="292" cpuset="0x00000010,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="101" cpuset="0x00000020,,,0x0" complete_cpuset="0x00000020,,,0x0" online_cpuset="0x00000020,,,0x0" allowed_cpuset="0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="293" cpuset="0x00000020,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="102" cpuset="0x00000040,,,0x0" complete_cpuset="0x00000040,,,0x0" online_cpuset="0x00000040,,,0x0" allowed_cpuset="0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="294" cpuset="0x00000040,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="103" cpuset="0x00000080,,,0x0" complete_cpuset="0x00000080,,,0x0" online_cpuset="0x00000080,,,0x0" allowed_cpuset="0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="295" cpuset="0x00000080,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="13" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="13" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="104" cpuset="0x00000100,,,0x0" complete_cpuset="0x00000100,,,0x0" online_cpuset="0x00000100,,,0x0" allowed_cpuset="0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="296" cpuset="0x00000100,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="105" cpuset="0x00000200,,,0x0" complete_cpuset="0x00000200,,,0x0" online_cpuset="0x00000200,,,0x0" allowed_cpuset="0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="297" cpuset="0x00000200,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="106" cpuset="0x00000400,,,0x0" complete_cpuset="0x00000400,,,0x0" online_cpuset="0x00000400,,,0x0" allowed_cpuset="0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="298" cpuset="0x00000400,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="107" cpuset="0x00000800,,,0x0" complete_cpuset="0x00000800,,,0x0" online_cpuset="0x00000800,,,0x0" allowed_cpuset="0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="299" cpuset="0x00000800,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="108" cpuset="0x00001000,,,0x0" complete_cpuset="0x00001000,,,0x0" online_cpuset="0x00001000,,,0x0" allowed_cpuset="0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="300" cpuset="0x00001000,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="109" cpuset="0x00002000,,,0x0" complete_cpuset="0x00002000,,,0x0" online_cpuset="0x00002000,,,0x0" allowed_cpuset="0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="301" cpuset="0x00002000,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="110" cpuset="0x00004000,,,0x0" complete_cpuset="0x00004000,,,0x0" online_cpuset="0x00004000,,,0x0" allowed_cpuset="0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="302" cpuset="0x00004000,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="111" cpuset="0x00008000,,,0x0" complete_cpuset="0x00008000,,,0x0" online_cpuset="0x00008000,,,0x0" allowed_cpuset="0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="303" cpuset="0x00008000,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" nodeset="0x0000c000" complete_nodeset="0x0000c000" allowed_nodeset="0x0000c000" depth="0">
+ <object type="NUMANode" os_index="14" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="14" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="112" cpuset="0x00010000,,,0x0" complete_cpuset="0x00010000,,,0x0" online_cpuset="0x00010000,,,0x0" allowed_cpuset="0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="304" cpuset="0x00010000,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="113" cpuset="0x00020000,,,0x0" complete_cpuset="0x00020000,,,0x0" online_cpuset="0x00020000,,,0x0" allowed_cpuset="0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="305" cpuset="0x00020000,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="114" cpuset="0x00040000,,,0x0" complete_cpuset="0x00040000,,,0x0" online_cpuset="0x00040000,,,0x0" allowed_cpuset="0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="306" cpuset="0x00040000,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="115" cpuset="0x00080000,,,0x0" complete_cpuset="0x00080000,,,0x0" online_cpuset="0x00080000,,,0x0" allowed_cpuset="0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="307" cpuset="0x00080000,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="116" cpuset="0x00100000,,,0x0" complete_cpuset="0x00100000,,,0x0" online_cpuset="0x00100000,,,0x0" allowed_cpuset="0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="308" cpuset="0x00100000,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="117" cpuset="0x00200000,,,0x0" complete_cpuset="0x00200000,,,0x0" online_cpuset="0x00200000,,,0x0" allowed_cpuset="0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="309" cpuset="0x00200000,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="118" cpuset="0x00400000,,,0x0" complete_cpuset="0x00400000,,,0x0" online_cpuset="0x00400000,,,0x0" allowed_cpuset="0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="310" cpuset="0x00400000,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="119" cpuset="0x00800000,,,0x0" complete_cpuset="0x00800000,,,0x0" online_cpuset="0x00800000,,,0x0" allowed_cpuset="0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="311" cpuset="0x00800000,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="15" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="15" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="120" cpuset="0x01000000,,,0x0" complete_cpuset="0x01000000,,,0x0" online_cpuset="0x01000000,,,0x0" allowed_cpuset="0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="312" cpuset="0x01000000,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="121" cpuset="0x02000000,,,0x0" complete_cpuset="0x02000000,,,0x0" online_cpuset="0x02000000,,,0x0" allowed_cpuset="0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="313" cpuset="0x02000000,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="122" cpuset="0x04000000,,,0x0" complete_cpuset="0x04000000,,,0x0" online_cpuset="0x04000000,,,0x0" allowed_cpuset="0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="314" cpuset="0x04000000,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="123" cpuset="0x08000000,,,0x0" complete_cpuset="0x08000000,,,0x0" online_cpuset="0x08000000,,,0x0" allowed_cpuset="0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="315" cpuset="0x08000000,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="124" cpuset="0x10000000,,,0x0" complete_cpuset="0x10000000,,,0x0" online_cpuset="0x10000000,,,0x0" allowed_cpuset="0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="316" cpuset="0x10000000,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="125" cpuset="0x20000000,,,0x0" complete_cpuset="0x20000000,,,0x0" online_cpuset="0x20000000,,,0x0" allowed_cpuset="0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="317" cpuset="0x20000000,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="126" cpuset="0x40000000,,,0x0" complete_cpuset="0x40000000,,,0x0" online_cpuset="0x40000000,,,0x0" allowed_cpuset="0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="318" cpuset="0x40000000,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="127" cpuset="0x80000000,,,0x0" complete_cpuset="0x80000000,,,0x0" online_cpuset="0x80000000,,,0x0" allowed_cpuset="0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="319" cpuset="0x80000000,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" nodeset="0x00030000" complete_nodeset="0x00030000" allowed_nodeset="0x00030000" depth="0">
+ <object type="NUMANode" os_index="16" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="16" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="128" cpuset="0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,0x0" online_cpuset="0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="320" cpuset="0x00000001,,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="129" cpuset="0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,0x0" online_cpuset="0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="321" cpuset="0x00000002,,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="130" cpuset="0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,0x0" online_cpuset="0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="322" cpuset="0x00000004,,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="131" cpuset="0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,0x0" online_cpuset="0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="323" cpuset="0x00000008,,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="132" cpuset="0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,0x0" online_cpuset="0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="324" cpuset="0x00000010,,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="133" cpuset="0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,0x0" online_cpuset="0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="325" cpuset="0x00000020,,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="134" cpuset="0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,0x0" online_cpuset="0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="326" cpuset="0x00000040,,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="135" cpuset="0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,0x0" online_cpuset="0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="327" cpuset="0x00000080,,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="17" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="17" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="136" cpuset="0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,0x0" online_cpuset="0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="328" cpuset="0x00000100,,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="137" cpuset="0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,0x0" online_cpuset="0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="329" cpuset="0x00000200,,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="138" cpuset="0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,0x0" online_cpuset="0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="330" cpuset="0x00000400,,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="139" cpuset="0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,0x0" online_cpuset="0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="331" cpuset="0x00000800,,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="140" cpuset="0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,0x0" online_cpuset="0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="332" cpuset="0x00001000,,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="141" cpuset="0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,0x0" online_cpuset="0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="333" cpuset="0x00002000,,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="142" cpuset="0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,0x0" online_cpuset="0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="334" cpuset="0x00004000,,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="143" cpuset="0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,0x0" online_cpuset="0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="335" cpuset="0x00008000,,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" nodeset="0x000c0000" complete_nodeset="0x000c0000" allowed_nodeset="0x000c0000" depth="0">
+ <object type="NUMANode" os_index="18" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="18" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="144" cpuset="0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,0x0" online_cpuset="0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="336" cpuset="0x00010000,,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="145" cpuset="0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,0x0" online_cpuset="0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="337" cpuset="0x00020000,,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="146" cpuset="0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,0x0" online_cpuset="0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="338" cpuset="0x00040000,,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="147" cpuset="0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,0x0" online_cpuset="0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="339" cpuset="0x00080000,,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="148" cpuset="0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,0x0" online_cpuset="0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="340" cpuset="0x00100000,,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="149" cpuset="0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,0x0" online_cpuset="0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="341" cpuset="0x00200000,,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="150" cpuset="0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,0x0" online_cpuset="0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="342" cpuset="0x00400000,,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="151" cpuset="0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,0x0" online_cpuset="0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="343" cpuset="0x00800000,,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="19" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="19" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="152" cpuset="0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,0x0" online_cpuset="0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="344" cpuset="0x01000000,,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="153" cpuset="0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,0x0" online_cpuset="0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="345" cpuset="0x02000000,,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="154" cpuset="0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,0x0" online_cpuset="0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="346" cpuset="0x04000000,,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="155" cpuset="0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,0x0" online_cpuset="0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="347" cpuset="0x08000000,,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="156" cpuset="0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,0x0" online_cpuset="0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="348" cpuset="0x10000000,,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="157" cpuset="0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,0x0" online_cpuset="0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="349" cpuset="0x20000000,,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="158" cpuset="0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,0x0" online_cpuset="0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="350" cpuset="0x40000000,,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="159" cpuset="0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,0x0" online_cpuset="0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="351" cpuset="0x80000000,,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" nodeset="0x00300000" complete_nodeset="0x00300000" allowed_nodeset="0x00300000" depth="0">
+ <object type="NUMANode" os_index="20" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="20" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="160" cpuset="0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="352" cpuset="0x00000001,,,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="161" cpuset="0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="353" cpuset="0x00000002,,,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="162" cpuset="0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="354" cpuset="0x00000004,,,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="163" cpuset="0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="355" cpuset="0x00000008,,,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="164" cpuset="0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="356" cpuset="0x00000010,,,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="165" cpuset="0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="357" cpuset="0x00000020,,,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="166" cpuset="0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="358" cpuset="0x00000040,,,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="167" cpuset="0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="359" cpuset="0x00000080,,,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="21" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="21" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="168" cpuset="0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="360" cpuset="0x00000100,,,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="169" cpuset="0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="361" cpuset="0x00000200,,,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="170" cpuset="0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="362" cpuset="0x00000400,,,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="171" cpuset="0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="363" cpuset="0x00000800,,,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="172" cpuset="0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="364" cpuset="0x00001000,,,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="173" cpuset="0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="365" cpuset="0x00002000,,,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="174" cpuset="0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="366" cpuset="0x00004000,,,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="175" cpuset="0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="367" cpuset="0x00008000,,,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" nodeset="0x00c00000" complete_nodeset="0x00c00000" allowed_nodeset="0x00c00000" depth="0">
+ <object type="NUMANode" os_index="22" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="22" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="176" cpuset="0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="368" cpuset="0x00010000,,,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="177" cpuset="0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="369" cpuset="0x00020000,,,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="178" cpuset="0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="370" cpuset="0x00040000,,,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="179" cpuset="0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="371" cpuset="0x00080000,,,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="180" cpuset="0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="372" cpuset="0x00100000,,,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="181" cpuset="0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="373" cpuset="0x00200000,,,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="182" cpuset="0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="374" cpuset="0x00400000,,,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="183" cpuset="0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="375" cpuset="0x00800000,,,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="23" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="23" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="184" cpuset="0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="376" cpuset="0x01000000,,,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="185" cpuset="0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="377" cpuset="0x02000000,,,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="186" cpuset="0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="378" cpuset="0x04000000,,,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="187" cpuset="0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="379" cpuset="0x08000000,,,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="188" cpuset="0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="380" cpuset="0x10000000,,,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="189" cpuset="0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="381" cpuset="0x20000000,,,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="190" cpuset="0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="382" cpuset="0x40000000,,,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="191" cpuset="0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="383" cpuset="0x80000000,,,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+HWLOC_GROUPING=0
+export HWLOC_GROUPING
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" complete_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" online_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" allowed_cpuset="0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff" nodeset="0x00ffffff" complete_nodeset="0x00ffffff" allowed_nodeset="0x00ffffff">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Romley Platform"/>
+ <info name="DMIProductVersion" value="1.0"/>
+ <info name="DMIBIOSVendor" value="Silicon Graphics International Corp."/>
+ <info name="DMIBIOSVersion" value="SGI UV 2000 series BIOS"/>
+ <info name="DMIBIOSDate" value="02/12/2013"/>
+ <info name="DMISysVendor" value="Silicon Graphics International Corp."/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.0.58-0.6.6-default"/>
+ <info name="OSVersion" value="#1 SMP Tue Feb 19 11:07:00 UTC 2013 (1576ecd)"/>
+ <info name="HostName" value="uv2000"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="24" relative_depth="2" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff" complete_cpuset="0x0000ffff,,,,,,0x0000ffff" online_cpuset="0x0000ffff,,,,,,0x0000ffff" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003" depth="0">
+ <object type="NUMANode" os_index="0" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="33255329792">
+ <page_type size="4096" count="8118977"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff" complete_cpuset="0x000000ff,,,,,,0x000000ff" online_cpuset="0x000000ff,,,,,,0x000000ff" allowed_cpuset="0x000000ff,,,,,,0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001" complete_cpuset="0x00000001,,,,,,0x00000001" online_cpuset="0x00000001,,,,,,0x00000001" allowed_cpuset="0x00000001,,,,,,0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="192" cpuset="0x00000001,,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x0" online_cpuset="0x00000001,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002" complete_cpuset="0x00000002,,,,,,0x00000002" online_cpuset="0x00000002,,,,,,0x00000002" allowed_cpuset="0x00000002,,,,,,0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="193" cpuset="0x00000002,,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x0" online_cpuset="0x00000002,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004" complete_cpuset="0x00000004,,,,,,0x00000004" online_cpuset="0x00000004,,,,,,0x00000004" allowed_cpuset="0x00000004,,,,,,0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="194" cpuset="0x00000004,,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x0" online_cpuset="0x00000004,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008" complete_cpuset="0x00000008,,,,,,0x00000008" online_cpuset="0x00000008,,,,,,0x00000008" allowed_cpuset="0x00000008,,,,,,0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="195" cpuset="0x00000008,,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x0" online_cpuset="0x00000008,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010" complete_cpuset="0x00000010,,,,,,0x00000010" online_cpuset="0x00000010,,,,,,0x00000010" allowed_cpuset="0x00000010,,,,,,0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="196" cpuset="0x00000010,,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x0" online_cpuset="0x00000010,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020" complete_cpuset="0x00000020,,,,,,0x00000020" online_cpuset="0x00000020,,,,,,0x00000020" allowed_cpuset="0x00000020,,,,,,0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="197" cpuset="0x00000020,,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x0" online_cpuset="0x00000020,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040" complete_cpuset="0x00000040,,,,,,0x00000040" online_cpuset="0x00000040,,,,,,0x00000040" allowed_cpuset="0x00000040,,,,,,0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="198" cpuset="0x00000040,,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x0" online_cpuset="0x00000040,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080" complete_cpuset="0x00000080,,,,,,0x00000080" online_cpuset="0x00000080,,,,,,0x00000080" allowed_cpuset="0x00000080,,,,,,0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="199" cpuset="0x00000080,,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x0" online_cpuset="0x00000080,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-0c]">
+ <object type="Bridge" os_index="48" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[01-02]" pci_busid="0000:00:03.0" pci_type="0604 [8086:3c08] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4096" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.0" pci_type="0200 [8086:1521] [00ff:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="08:00:69:16:8c:6e"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="4097" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.1" pci_type="0200 [8086:1521] [00ff:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="08:00:69:16:8c:6f"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="50" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3c" bridge_type="1-1" depth="1" bridge_pci="0000:[03-06]" pci_busid="0000:00:03.2" pci_type="0604 [8086:3c0a] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3c"/>
+ <object type="Bridge" os_index="12288" name="Intel Corporation Patsburg PCI Express Upstream Port" bridge_type="1-1" depth="2" bridge_pci="0000:[04-06]" pci_busid="0000:03:00.0" pci_type="0604 [8086:1d74] [00ff:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Upstream Port"/>
+ <object type="Bridge" os_index="16512" name="Intel Corporation Patsburg PCI Express Virtual Switch Port" bridge_type="1-1" depth="3" bridge_pci="0000:[05-06]" pci_busid="0000:04:08.0" pci_type="0604 [8086:1d3f] [00ff:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Virtual Switch Port"/>
+ <object type="PCIDev" os_index="20480" name="Intel Corporation Patsburg Dual 4-Port SATA/SAS Storage Control Unit" pci_busid="0000:05:00.0" pci_type="0107 [8086:1d68] [00a9:0068] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg Dual 4-Port SATA/SAS Storage Control Unit"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="448" name="Intel Corporation Patsburg PCI Express Root Port 8" bridge_type="1-1" depth="1" bridge_pci="0000:[07-0b]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:1d1e] [0000:0000] b6" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Root Port 8"/>
+ <object type="Bridge" os_index="28672" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="2" bridge_pci="0000:[08-0b]" pci_busid="0000:07:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="32768" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="3" bridge_pci="0000:[09-0a]" pci_busid="0000:08:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="36864" name="Renesas Technology Corp. SH7757 PCIe-PCI Bridge [PPB]" bridge_type="1-1" depth="4" bridge_pci="0000:[0a-0a]" pci_busid="0000:09:00.0" pci_type="0604 [1912:0012] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe-PCI Bridge [PPB]"/>
+ <object type="PCIDev" os_index="40960" name="Matrox Graphics, Inc. G200eR2" pci_busid="0000:0a:00.0" pci_type="0300 [102b:0534] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Matrox Graphics, Inc."/>
+ <info name="PCIDevice" value="G200eR2"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation Patsburg 6-Port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:1d02] [00a9:0070] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg 6-Port SATA AHCI Controller"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00" complete_cpuset="0x0000ff00,,,,,,0x0000ff00" online_cpuset="0x0000ff00,,,,,,0x0000ff00" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100" complete_cpuset="0x00000100,,,,,,0x00000100" online_cpuset="0x00000100,,,,,,0x00000100" allowed_cpuset="0x00000100,,,,,,0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="200" cpuset="0x00000100,,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x0" online_cpuset="0x00000100,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200" complete_cpuset="0x00000200,,,,,,0x00000200" online_cpuset="0x00000200,,,,,,0x00000200" allowed_cpuset="0x00000200,,,,,,0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="201" cpuset="0x00000200,,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x0" online_cpuset="0x00000200,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400" complete_cpuset="0x00000400,,,,,,0x00000400" online_cpuset="0x00000400,,,,,,0x00000400" allowed_cpuset="0x00000400,,,,,,0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="202" cpuset="0x00000400,,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x0" online_cpuset="0x00000400,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800" complete_cpuset="0x00000800,,,,,,0x00000800" online_cpuset="0x00000800,,,,,,0x00000800" allowed_cpuset="0x00000800,,,,,,0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="203" cpuset="0x00000800,,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x0" online_cpuset="0x00000800,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000" complete_cpuset="0x00001000,,,,,,0x00001000" online_cpuset="0x00001000,,,,,,0x00001000" allowed_cpuset="0x00001000,,,,,,0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="204" cpuset="0x00001000,,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x0" online_cpuset="0x00001000,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000" complete_cpuset="0x00002000,,,,,,0x00002000" online_cpuset="0x00002000,,,,,,0x00002000" allowed_cpuset="0x00002000,,,,,,0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="205" cpuset="0x00002000,,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x0" online_cpuset="0x00002000,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000" complete_cpuset="0x00004000,,,,,,0x00004000" online_cpuset="0x00004000,,,,,,0x00004000" allowed_cpuset="0x00004000,,,,,,0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="206" cpuset="0x00004000,,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x0" online_cpuset="0x00004000,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000" complete_cpuset="0x00008000,,,,,,0x00008000" online_cpuset="0x00008000,,,,,,0x00008000" allowed_cpuset="0x00008000,,,,,,0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="207" cpuset="0x00008000,,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x0" online_cpuset="0x00008000,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0001:[00-02]">
+ <object type="Bridge" os_index="1048624" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0001:[02-02]" pci_busid="0001:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="1056768" name="LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator]" pci_busid="0001:02:00.0" pci_type="0104 [1000:0079] [0000:0080] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="MegaRAID SAS 2108 [Liberator]"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ <object type="OSDev" name="sdb" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000" complete_cpuset="0xffff0000,,,,,,0xffff0000" online_cpuset="0xffff0000,,,,,,0xffff0000" allowed_cpuset="0xffff0000,,,,,,0xffff0000" nodeset="0x0000000c" complete_nodeset="0x0000000c" allowed_nodeset="0x0000000c" depth="0">
+ <object type="NUMANode" os_index="2" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="2" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000" complete_cpuset="0x00ff0000,,,,,,0x00ff0000" online_cpuset="0x00ff0000,,,,,,0x00ff0000" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000" complete_cpuset="0x00010000,,,,,,0x00010000" online_cpuset="0x00010000,,,,,,0x00010000" allowed_cpuset="0x00010000,,,,,,0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="208" cpuset="0x00010000,,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x0" online_cpuset="0x00010000,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000" complete_cpuset="0x00020000,,,,,,0x00020000" online_cpuset="0x00020000,,,,,,0x00020000" allowed_cpuset="0x00020000,,,,,,0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="209" cpuset="0x00020000,,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x0" online_cpuset="0x00020000,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000" complete_cpuset="0x00040000,,,,,,0x00040000" online_cpuset="0x00040000,,,,,,0x00040000" allowed_cpuset="0x00040000,,,,,,0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="210" cpuset="0x00040000,,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x0" online_cpuset="0x00040000,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000" complete_cpuset="0x00080000,,,,,,0x00080000" online_cpuset="0x00080000,,,,,,0x00080000" allowed_cpuset="0x00080000,,,,,,0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="211" cpuset="0x00080000,,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x0" online_cpuset="0x00080000,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000" complete_cpuset="0x00100000,,,,,,0x00100000" online_cpuset="0x00100000,,,,,,0x00100000" allowed_cpuset="0x00100000,,,,,,0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="212" cpuset="0x00100000,,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x0" online_cpuset="0x00100000,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000" complete_cpuset="0x00200000,,,,,,0x00200000" online_cpuset="0x00200000,,,,,,0x00200000" allowed_cpuset="0x00200000,,,,,,0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="213" cpuset="0x00200000,,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x0" online_cpuset="0x00200000,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000" complete_cpuset="0x00400000,,,,,,0x00400000" online_cpuset="0x00400000,,,,,,0x00400000" allowed_cpuset="0x00400000,,,,,,0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="214" cpuset="0x00400000,,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x0" online_cpuset="0x00400000,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000" complete_cpuset="0x00800000,,,,,,0x00800000" online_cpuset="0x00800000,,,,,,0x00800000" allowed_cpuset="0x00800000,,,,,,0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ <object type="PU" os_index="215" cpuset="0x00800000,,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x0" online_cpuset="0x00800000,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="3" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000" complete_cpuset="0xff000000,,,,,,0xff000000" online_cpuset="0xff000000,,,,,,0xff000000" allowed_cpuset="0xff000000,,,,,,0xff000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000" complete_cpuset="0x01000000,,,,,,0x01000000" online_cpuset="0x01000000,,,,,,0x01000000" allowed_cpuset="0x01000000,,,,,,0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="216" cpuset="0x01000000,,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x0" online_cpuset="0x01000000,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000" complete_cpuset="0x02000000,,,,,,0x02000000" online_cpuset="0x02000000,,,,,,0x02000000" allowed_cpuset="0x02000000,,,,,,0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="217" cpuset="0x02000000,,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x0" online_cpuset="0x02000000,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000" complete_cpuset="0x04000000,,,,,,0x04000000" online_cpuset="0x04000000,,,,,,0x04000000" allowed_cpuset="0x04000000,,,,,,0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="218" cpuset="0x04000000,,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x0" online_cpuset="0x04000000,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000" complete_cpuset="0x08000000,,,,,,0x08000000" online_cpuset="0x08000000,,,,,,0x08000000" allowed_cpuset="0x08000000,,,,,,0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="219" cpuset="0x08000000,,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x0" online_cpuset="0x08000000,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000" complete_cpuset="0x10000000,,,,,,0x10000000" online_cpuset="0x10000000,,,,,,0x10000000" allowed_cpuset="0x10000000,,,,,,0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="220" cpuset="0x10000000,,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x0" online_cpuset="0x10000000,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000" complete_cpuset="0x20000000,,,,,,0x20000000" online_cpuset="0x20000000,,,,,,0x20000000" allowed_cpuset="0x20000000,,,,,,0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="221" cpuset="0x20000000,,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x0" online_cpuset="0x20000000,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000" complete_cpuset="0x40000000,,,,,,0x40000000" online_cpuset="0x40000000,,,,,,0x40000000" allowed_cpuset="0x40000000,,,,,,0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="222" cpuset="0x40000000,,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x0" online_cpuset="0x40000000,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000" complete_cpuset="0x80000000,,,,,,0x80000000" online_cpuset="0x80000000,,,,,,0x80000000" allowed_cpuset="0x80000000,,,,,,0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ <object type="PU" os_index="223" cpuset="0x80000000,,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x0" online_cpuset="0x80000000,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,0x0" nodeset="0x00000030" complete_nodeset="0x00000030" allowed_nodeset="0x00000030" depth="0">
+ <object type="NUMANode" os_index="4" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="4" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,0x0" online_cpuset="0x00000001,,,,,,0x00000001,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="32" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="224" cpuset="0x00000001,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,0x0" online_cpuset="0x00000002,,,,,,0x00000002,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="33" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="225" cpuset="0x00000002,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,0x0" online_cpuset="0x00000004,,,,,,0x00000004,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="34" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="226" cpuset="0x00000004,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,0x0" online_cpuset="0x00000008,,,,,,0x00000008,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="35" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="227" cpuset="0x00000008,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,0x0" online_cpuset="0x00000010,,,,,,0x00000010,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="36" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="228" cpuset="0x00000010,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,0x0" online_cpuset="0x00000020,,,,,,0x00000020,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="37" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="229" cpuset="0x00000020,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,0x0" online_cpuset="0x00000040,,,,,,0x00000040,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="38" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="230" cpuset="0x00000040,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,0x0" online_cpuset="0x00000080,,,,,,0x00000080,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010">
+ <object type="PU" os_index="39" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ <object type="PU" os_index="231" cpuset="0x00000080,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x00000010"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0002:[00-04]">
+ <object type="Bridge" os_index="2097200" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0002:[01-04]" pci_busid="0002:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="Bridge" os_index="2101248" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="2" bridge_pci="0002:[02-04]" pci_busid="0002:01:00.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="Bridge" os_index="2105360" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="3" bridge_pci="0002:[03-03]" pci_busid="0002:02:01.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="PCIDev" os_index="2109440" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:03:00.0" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth2" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:6c"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="2109441" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:03:00.1" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth3" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:6e"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2105376" name="PLX Technology, Inc. PEX 8518 16-lane, 5-port PCI Express Switch" bridge_type="1-1" depth="3" bridge_pci="0002:[04-04]" pci_busid="0002:02:02.0" pci_type="0604 [10b5:8518] [0000:0000] ac" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="PLX Technology, Inc."/>
+ <info name="PCIDevice" value="PEX 8518 16-lane, 5-port PCI Express Switch"/>
+ <object type="PCIDev" os_index="2113536" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:04:00.0" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth4" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:70"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="2113537" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0002:04:00.1" pci_type="0200 [14e4:1639] [00a9:0027] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth5" osdev_type="2">
+ <info name="Address" value="00:e0:ed:0d:4d:72"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="5" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="5" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,0x0" online_cpuset="0x00000100,,,,,,0x00000100,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="40" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x00000100,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="232" cpuset="0x00000100,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,0x0" online_cpuset="0x00000200,,,,,,0x00000200,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="41" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x00000200,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="233" cpuset="0x00000200,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,0x0" online_cpuset="0x00000400,,,,,,0x00000400,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="42" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x00000400,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="234" cpuset="0x00000400,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,0x0" online_cpuset="0x00000800,,,,,,0x00000800,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="43" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x00000800,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="235" cpuset="0x00000800,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,0x0" online_cpuset="0x00001000,,,,,,0x00001000,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="44" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x00001000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="236" cpuset="0x00001000,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,0x0" online_cpuset="0x00002000,,,,,,0x00002000,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="45" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x00002000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="237" cpuset="0x00002000,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,0x0" online_cpuset="0x00004000,,,,,,0x00004000,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="46" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x00004000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="238" cpuset="0x00004000,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,0x0" online_cpuset="0x00008000,,,,,,0x00008000,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020">
+ <object type="PU" os_index="47" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x00008000,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ <object type="PU" os_index="239" cpuset="0x00008000,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x00000020"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,0x0" nodeset="0x000000c0" complete_nodeset="0x000000c0" allowed_nodeset="0x000000c0" depth="0">
+ <object type="NUMANode" os_index="6" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="6" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,0x0" online_cpuset="0x00010000,,,,,,0x00010000,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="48" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x00010000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="240" cpuset="0x00010000,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,0x0" online_cpuset="0x00020000,,,,,,0x00020000,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="49" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x00020000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="241" cpuset="0x00020000,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,0x0" online_cpuset="0x00040000,,,,,,0x00040000,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="50" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x00040000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="242" cpuset="0x00040000,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,0x0" online_cpuset="0x00080000,,,,,,0x00080000,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="51" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x00080000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="243" cpuset="0x00080000,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,0x0" online_cpuset="0x00100000,,,,,,0x00100000,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="52" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x00100000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="244" cpuset="0x00100000,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,0x0" online_cpuset="0x00200000,,,,,,0x00200000,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="53" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x00200000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="245" cpuset="0x00200000,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,0x0" online_cpuset="0x00400000,,,,,,0x00400000,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="54" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x00400000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="246" cpuset="0x00400000,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,0x0" online_cpuset="0x00800000,,,,,,0x00800000,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040">
+ <object type="PU" os_index="55" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x00800000,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ <object type="PU" os_index="247" cpuset="0x00800000,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x00000040"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="3" bridge_type="0-1" depth="0" bridge_pci="0003:[00-01]">
+ <object type="Bridge" os_index="3145776" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0003:[01-01]" pci_busid="0003:00:03.0" pci_type="0604 [8086:3c08] [00ff:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="3149824" name="Mellanox Technologies MT27500 Family [ConnectX-3]" pci_busid="0003:01:00.0" pci_type="0280 [15b3:1003] [00b3:0051] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Mellanox Technologies"/>
+ <info name="PCIDevice" value="MT27500 Family [ConnectX-3]"/>
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:1b:b0:a1"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="mlx4_0" osdev_type="3">
+ <info name="NodeGUID" value="0002:c903:001b:b0a0"/>
+ <info name="SysImageGUID" value="0002:c903:001b:b0a3"/>
+ <info name="Port1LID" value="0x0"/>
+ <info name="Port1LMC" value="0"/>
+ <info name="Port1GID0" value="fe80:0000:0000:0000:0002:c903:001b:b0a1"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="7" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,0x0" online_cpuset="0xff000000,,,,,,0xff000000,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,0x0" online_cpuset="0x01000000,,,,,,0x01000000,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="56" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x01000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="248" cpuset="0x01000000,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,0x0" online_cpuset="0x02000000,,,,,,0x02000000,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="57" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x02000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="249" cpuset="0x02000000,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,0x0" online_cpuset="0x04000000,,,,,,0x04000000,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="58" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x04000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="250" cpuset="0x04000000,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,0x0" online_cpuset="0x08000000,,,,,,0x08000000,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="59" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x08000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="251" cpuset="0x08000000,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,0x0" online_cpuset="0x10000000,,,,,,0x10000000,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="60" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x10000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="252" cpuset="0x10000000,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,0x0" online_cpuset="0x20000000,,,,,,0x20000000,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="61" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x20000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="253" cpuset="0x20000000,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,0x0" online_cpuset="0x40000000,,,,,,0x40000000,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="62" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x40000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="254" cpuset="0x40000000,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,0x0" online_cpuset="0x80000000,,,,,,0x80000000,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080">
+ <object type="PU" os_index="63" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x80000000,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ <object type="PU" os_index="255" cpuset="0x80000000,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x00000080"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,0x0" nodeset="0x00000300" complete_nodeset="0x00000300" allowed_nodeset="0x00000300" depth="0">
+ <object type="NUMANode" os_index="8" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="8" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="64" cpuset="0x00000001,,0x0" complete_cpuset="0x00000001,,0x0" online_cpuset="0x00000001,,0x0" allowed_cpuset="0x00000001,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="256" cpuset="0x00000001,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="65" cpuset="0x00000002,,0x0" complete_cpuset="0x00000002,,0x0" online_cpuset="0x00000002,,0x0" allowed_cpuset="0x00000002,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="257" cpuset="0x00000002,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="66" cpuset="0x00000004,,0x0" complete_cpuset="0x00000004,,0x0" online_cpuset="0x00000004,,0x0" allowed_cpuset="0x00000004,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="258" cpuset="0x00000004,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="67" cpuset="0x00000008,,0x0" complete_cpuset="0x00000008,,0x0" online_cpuset="0x00000008,,0x0" allowed_cpuset="0x00000008,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="259" cpuset="0x00000008,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="68" cpuset="0x00000010,,0x0" complete_cpuset="0x00000010,,0x0" online_cpuset="0x00000010,,0x0" allowed_cpuset="0x00000010,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="260" cpuset="0x00000010,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="69" cpuset="0x00000020,,0x0" complete_cpuset="0x00000020,,0x0" online_cpuset="0x00000020,,0x0" allowed_cpuset="0x00000020,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="261" cpuset="0x00000020,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="70" cpuset="0x00000040,,0x0" complete_cpuset="0x00000040,,0x0" online_cpuset="0x00000040,,0x0" allowed_cpuset="0x00000040,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="262" cpuset="0x00000040,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100">
+ <object type="PU" os_index="71" cpuset="0x00000080,,0x0" complete_cpuset="0x00000080,,0x0" online_cpuset="0x00000080,,0x0" allowed_cpuset="0x00000080,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ <object type="PU" os_index="263" cpuset="0x00000080,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,0x0" nodeset="0x00000100" complete_nodeset="0x00000100" allowed_nodeset="0x00000100"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="4" bridge_type="0-1" depth="0" bridge_pci="0004:[00-02]">
+ <object type="Bridge" os_index="4194352" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0004:[01-02]" pci_busid="0004:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4198400" name="LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]" pci_busid="0004:01:00.0" pci_type="0107 [1000:0072] [0000:0080] 03" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="9" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="9" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="72" cpuset="0x00000100,,0x0" complete_cpuset="0x00000100,,0x0" online_cpuset="0x00000100,,0x0" allowed_cpuset="0x00000100,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="264" cpuset="0x00000100,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="73" cpuset="0x00000200,,0x0" complete_cpuset="0x00000200,,0x0" online_cpuset="0x00000200,,0x0" allowed_cpuset="0x00000200,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="265" cpuset="0x00000200,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="74" cpuset="0x00000400,,0x0" complete_cpuset="0x00000400,,0x0" online_cpuset="0x00000400,,0x0" allowed_cpuset="0x00000400,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="266" cpuset="0x00000400,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="75" cpuset="0x00000800,,0x0" complete_cpuset="0x00000800,,0x0" online_cpuset="0x00000800,,0x0" allowed_cpuset="0x00000800,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="267" cpuset="0x00000800,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="76" cpuset="0x00001000,,0x0" complete_cpuset="0x00001000,,0x0" online_cpuset="0x00001000,,0x0" allowed_cpuset="0x00001000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="268" cpuset="0x00001000,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="77" cpuset="0x00002000,,0x0" complete_cpuset="0x00002000,,0x0" online_cpuset="0x00002000,,0x0" allowed_cpuset="0x00002000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="269" cpuset="0x00002000,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="78" cpuset="0x00004000,,0x0" complete_cpuset="0x00004000,,0x0" online_cpuset="0x00004000,,0x0" allowed_cpuset="0x00004000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="270" cpuset="0x00004000,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200">
+ <object type="PU" os_index="79" cpuset="0x00008000,,0x0" complete_cpuset="0x00008000,,0x0" online_cpuset="0x00008000,,0x0" allowed_cpuset="0x00008000,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ <object type="PU" os_index="271" cpuset="0x00008000,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,0x0" nodeset="0x00000200" complete_nodeset="0x00000200" allowed_nodeset="0x00000200"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,0x0" nodeset="0x00000c00" complete_nodeset="0x00000c00" allowed_nodeset="0x00000c00" depth="0">
+ <object type="NUMANode" os_index="10" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="10" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="80" cpuset="0x00010000,,0x0" complete_cpuset="0x00010000,,0x0" online_cpuset="0x00010000,,0x0" allowed_cpuset="0x00010000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="272" cpuset="0x00010000,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="81" cpuset="0x00020000,,0x0" complete_cpuset="0x00020000,,0x0" online_cpuset="0x00020000,,0x0" allowed_cpuset="0x00020000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="273" cpuset="0x00020000,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="82" cpuset="0x00040000,,0x0" complete_cpuset="0x00040000,,0x0" online_cpuset="0x00040000,,0x0" allowed_cpuset="0x00040000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="274" cpuset="0x00040000,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="83" cpuset="0x00080000,,0x0" complete_cpuset="0x00080000,,0x0" online_cpuset="0x00080000,,0x0" allowed_cpuset="0x00080000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="275" cpuset="0x00080000,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="84" cpuset="0x00100000,,0x0" complete_cpuset="0x00100000,,0x0" online_cpuset="0x00100000,,0x0" allowed_cpuset="0x00100000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="276" cpuset="0x00100000,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="85" cpuset="0x00200000,,0x0" complete_cpuset="0x00200000,,0x0" online_cpuset="0x00200000,,0x0" allowed_cpuset="0x00200000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="277" cpuset="0x00200000,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="86" cpuset="0x00400000,,0x0" complete_cpuset="0x00400000,,0x0" online_cpuset="0x00400000,,0x0" allowed_cpuset="0x00400000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="278" cpuset="0x00400000,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400">
+ <object type="PU" os_index="87" cpuset="0x00800000,,0x0" complete_cpuset="0x00800000,,0x0" online_cpuset="0x00800000,,0x0" allowed_cpuset="0x00800000,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ <object type="PU" os_index="279" cpuset="0x00800000,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,0x0" nodeset="0x00000400" complete_nodeset="0x00000400" allowed_nodeset="0x00000400"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="11" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="11" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="88" cpuset="0x01000000,,0x0" complete_cpuset="0x01000000,,0x0" online_cpuset="0x01000000,,0x0" allowed_cpuset="0x01000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="280" cpuset="0x01000000,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="89" cpuset="0x02000000,,0x0" complete_cpuset="0x02000000,,0x0" online_cpuset="0x02000000,,0x0" allowed_cpuset="0x02000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="281" cpuset="0x02000000,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="90" cpuset="0x04000000,,0x0" complete_cpuset="0x04000000,,0x0" online_cpuset="0x04000000,,0x0" allowed_cpuset="0x04000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="282" cpuset="0x04000000,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="91" cpuset="0x08000000,,0x0" complete_cpuset="0x08000000,,0x0" online_cpuset="0x08000000,,0x0" allowed_cpuset="0x08000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="283" cpuset="0x08000000,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="92" cpuset="0x10000000,,0x0" complete_cpuset="0x10000000,,0x0" online_cpuset="0x10000000,,0x0" allowed_cpuset="0x10000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="284" cpuset="0x10000000,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="93" cpuset="0x20000000,,0x0" complete_cpuset="0x20000000,,0x0" online_cpuset="0x20000000,,0x0" allowed_cpuset="0x20000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="285" cpuset="0x20000000,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="94" cpuset="0x40000000,,0x0" complete_cpuset="0x40000000,,0x0" online_cpuset="0x40000000,,0x0" allowed_cpuset="0x40000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="286" cpuset="0x40000000,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800">
+ <object type="PU" os_index="95" cpuset="0x80000000,,0x0" complete_cpuset="0x80000000,,0x0" online_cpuset="0x80000000,,0x0" allowed_cpuset="0x80000000,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ <object type="PU" os_index="287" cpuset="0x80000000,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,0x0" nodeset="0x00000800" complete_nodeset="0x00000800" allowed_nodeset="0x00000800"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,0x0" nodeset="0x00003000" complete_nodeset="0x00003000" allowed_nodeset="0x00003000" depth="0">
+ <object type="NUMANode" os_index="12" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="12" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="96" cpuset="0x00000001,,,0x0" complete_cpuset="0x00000001,,,0x0" online_cpuset="0x00000001,,,0x0" allowed_cpuset="0x00000001,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="288" cpuset="0x00000001,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="97" cpuset="0x00000002,,,0x0" complete_cpuset="0x00000002,,,0x0" online_cpuset="0x00000002,,,0x0" allowed_cpuset="0x00000002,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="289" cpuset="0x00000002,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="98" cpuset="0x00000004,,,0x0" complete_cpuset="0x00000004,,,0x0" online_cpuset="0x00000004,,,0x0" allowed_cpuset="0x00000004,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="290" cpuset="0x00000004,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="99" cpuset="0x00000008,,,0x0" complete_cpuset="0x00000008,,,0x0" online_cpuset="0x00000008,,,0x0" allowed_cpuset="0x00000008,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="291" cpuset="0x00000008,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="100" cpuset="0x00000010,,,0x0" complete_cpuset="0x00000010,,,0x0" online_cpuset="0x00000010,,,0x0" allowed_cpuset="0x00000010,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="292" cpuset="0x00000010,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="101" cpuset="0x00000020,,,0x0" complete_cpuset="0x00000020,,,0x0" online_cpuset="0x00000020,,,0x0" allowed_cpuset="0x00000020,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="293" cpuset="0x00000020,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="102" cpuset="0x00000040,,,0x0" complete_cpuset="0x00000040,,,0x0" online_cpuset="0x00000040,,,0x0" allowed_cpuset="0x00000040,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="294" cpuset="0x00000040,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000">
+ <object type="PU" os_index="103" cpuset="0x00000080,,,0x0" complete_cpuset="0x00000080,,,0x0" online_cpuset="0x00000080,,,0x0" allowed_cpuset="0x00000080,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ <object type="PU" os_index="295" cpuset="0x00000080,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,0x0" nodeset="0x00001000" complete_nodeset="0x00001000" allowed_nodeset="0x00001000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="13" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="13" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="104" cpuset="0x00000100,,,0x0" complete_cpuset="0x00000100,,,0x0" online_cpuset="0x00000100,,,0x0" allowed_cpuset="0x00000100,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="296" cpuset="0x00000100,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="105" cpuset="0x00000200,,,0x0" complete_cpuset="0x00000200,,,0x0" online_cpuset="0x00000200,,,0x0" allowed_cpuset="0x00000200,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="297" cpuset="0x00000200,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="106" cpuset="0x00000400,,,0x0" complete_cpuset="0x00000400,,,0x0" online_cpuset="0x00000400,,,0x0" allowed_cpuset="0x00000400,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="298" cpuset="0x00000400,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="107" cpuset="0x00000800,,,0x0" complete_cpuset="0x00000800,,,0x0" online_cpuset="0x00000800,,,0x0" allowed_cpuset="0x00000800,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="299" cpuset="0x00000800,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="108" cpuset="0x00001000,,,0x0" complete_cpuset="0x00001000,,,0x0" online_cpuset="0x00001000,,,0x0" allowed_cpuset="0x00001000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="300" cpuset="0x00001000,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="109" cpuset="0x00002000,,,0x0" complete_cpuset="0x00002000,,,0x0" online_cpuset="0x00002000,,,0x0" allowed_cpuset="0x00002000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="301" cpuset="0x00002000,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="110" cpuset="0x00004000,,,0x0" complete_cpuset="0x00004000,,,0x0" online_cpuset="0x00004000,,,0x0" allowed_cpuset="0x00004000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="302" cpuset="0x00004000,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000">
+ <object type="PU" os_index="111" cpuset="0x00008000,,,0x0" complete_cpuset="0x00008000,,,0x0" online_cpuset="0x00008000,,,0x0" allowed_cpuset="0x00008000,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ <object type="PU" os_index="303" cpuset="0x00008000,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,0x0" nodeset="0x00002000" complete_nodeset="0x00002000" allowed_nodeset="0x00002000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,0x0" nodeset="0x0000c000" complete_nodeset="0x0000c000" allowed_nodeset="0x0000c000" depth="0">
+ <object type="NUMANode" os_index="14" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="14" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="112" cpuset="0x00010000,,,0x0" complete_cpuset="0x00010000,,,0x0" online_cpuset="0x00010000,,,0x0" allowed_cpuset="0x00010000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="304" cpuset="0x00010000,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="113" cpuset="0x00020000,,,0x0" complete_cpuset="0x00020000,,,0x0" online_cpuset="0x00020000,,,0x0" allowed_cpuset="0x00020000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="305" cpuset="0x00020000,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="114" cpuset="0x00040000,,,0x0" complete_cpuset="0x00040000,,,0x0" online_cpuset="0x00040000,,,0x0" allowed_cpuset="0x00040000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="306" cpuset="0x00040000,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="115" cpuset="0x00080000,,,0x0" complete_cpuset="0x00080000,,,0x0" online_cpuset="0x00080000,,,0x0" allowed_cpuset="0x00080000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="307" cpuset="0x00080000,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="116" cpuset="0x00100000,,,0x0" complete_cpuset="0x00100000,,,0x0" online_cpuset="0x00100000,,,0x0" allowed_cpuset="0x00100000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="308" cpuset="0x00100000,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="117" cpuset="0x00200000,,,0x0" complete_cpuset="0x00200000,,,0x0" online_cpuset="0x00200000,,,0x0" allowed_cpuset="0x00200000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="309" cpuset="0x00200000,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="118" cpuset="0x00400000,,,0x0" complete_cpuset="0x00400000,,,0x0" online_cpuset="0x00400000,,,0x0" allowed_cpuset="0x00400000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="310" cpuset="0x00400000,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000">
+ <object type="PU" os_index="119" cpuset="0x00800000,,,0x0" complete_cpuset="0x00800000,,,0x0" online_cpuset="0x00800000,,,0x0" allowed_cpuset="0x00800000,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ <object type="PU" os_index="311" cpuset="0x00800000,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,0x0" nodeset="0x00004000" complete_nodeset="0x00004000" allowed_nodeset="0x00004000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="15" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="15" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="120" cpuset="0x01000000,,,0x0" complete_cpuset="0x01000000,,,0x0" online_cpuset="0x01000000,,,0x0" allowed_cpuset="0x01000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="312" cpuset="0x01000000,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="121" cpuset="0x02000000,,,0x0" complete_cpuset="0x02000000,,,0x0" online_cpuset="0x02000000,,,0x0" allowed_cpuset="0x02000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="313" cpuset="0x02000000,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="122" cpuset="0x04000000,,,0x0" complete_cpuset="0x04000000,,,0x0" online_cpuset="0x04000000,,,0x0" allowed_cpuset="0x04000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="314" cpuset="0x04000000,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="123" cpuset="0x08000000,,,0x0" complete_cpuset="0x08000000,,,0x0" online_cpuset="0x08000000,,,0x0" allowed_cpuset="0x08000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="315" cpuset="0x08000000,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="124" cpuset="0x10000000,,,0x0" complete_cpuset="0x10000000,,,0x0" online_cpuset="0x10000000,,,0x0" allowed_cpuset="0x10000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="316" cpuset="0x10000000,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="125" cpuset="0x20000000,,,0x0" complete_cpuset="0x20000000,,,0x0" online_cpuset="0x20000000,,,0x0" allowed_cpuset="0x20000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="317" cpuset="0x20000000,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="126" cpuset="0x40000000,,,0x0" complete_cpuset="0x40000000,,,0x0" online_cpuset="0x40000000,,,0x0" allowed_cpuset="0x40000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="318" cpuset="0x40000000,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000">
+ <object type="PU" os_index="127" cpuset="0x80000000,,,0x0" complete_cpuset="0x80000000,,,0x0" online_cpuset="0x80000000,,,0x0" allowed_cpuset="0x80000000,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ <object type="PU" os_index="319" cpuset="0x80000000,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,0x0" nodeset="0x00008000" complete_nodeset="0x00008000" allowed_nodeset="0x00008000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,0x0" nodeset="0x00030000" complete_nodeset="0x00030000" allowed_nodeset="0x00030000" depth="0">
+ <object type="NUMANode" os_index="16" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="16" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="128" cpuset="0x00000001,,,,0x0" complete_cpuset="0x00000001,,,,0x0" online_cpuset="0x00000001,,,,0x0" allowed_cpuset="0x00000001,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="320" cpuset="0x00000001,,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="129" cpuset="0x00000002,,,,0x0" complete_cpuset="0x00000002,,,,0x0" online_cpuset="0x00000002,,,,0x0" allowed_cpuset="0x00000002,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="321" cpuset="0x00000002,,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="130" cpuset="0x00000004,,,,0x0" complete_cpuset="0x00000004,,,,0x0" online_cpuset="0x00000004,,,,0x0" allowed_cpuset="0x00000004,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="322" cpuset="0x00000004,,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="131" cpuset="0x00000008,,,,0x0" complete_cpuset="0x00000008,,,,0x0" online_cpuset="0x00000008,,,,0x0" allowed_cpuset="0x00000008,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="323" cpuset="0x00000008,,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="132" cpuset="0x00000010,,,,0x0" complete_cpuset="0x00000010,,,,0x0" online_cpuset="0x00000010,,,,0x0" allowed_cpuset="0x00000010,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="324" cpuset="0x00000010,,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="133" cpuset="0x00000020,,,,0x0" complete_cpuset="0x00000020,,,,0x0" online_cpuset="0x00000020,,,,0x0" allowed_cpuset="0x00000020,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="325" cpuset="0x00000020,,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="134" cpuset="0x00000040,,,,0x0" complete_cpuset="0x00000040,,,,0x0" online_cpuset="0x00000040,,,,0x0" allowed_cpuset="0x00000040,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="326" cpuset="0x00000040,,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000">
+ <object type="PU" os_index="135" cpuset="0x00000080,,,,0x0" complete_cpuset="0x00000080,,,,0x0" online_cpuset="0x00000080,,,,0x0" allowed_cpuset="0x00000080,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ <object type="PU" os_index="327" cpuset="0x00000080,,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,,0x0" nodeset="0x00010000" complete_nodeset="0x00010000" allowed_nodeset="0x00010000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="17" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="17" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="136" cpuset="0x00000100,,,,0x0" complete_cpuset="0x00000100,,,,0x0" online_cpuset="0x00000100,,,,0x0" allowed_cpuset="0x00000100,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="328" cpuset="0x00000100,,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="137" cpuset="0x00000200,,,,0x0" complete_cpuset="0x00000200,,,,0x0" online_cpuset="0x00000200,,,,0x0" allowed_cpuset="0x00000200,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="329" cpuset="0x00000200,,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="138" cpuset="0x00000400,,,,0x0" complete_cpuset="0x00000400,,,,0x0" online_cpuset="0x00000400,,,,0x0" allowed_cpuset="0x00000400,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="330" cpuset="0x00000400,,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="139" cpuset="0x00000800,,,,0x0" complete_cpuset="0x00000800,,,,0x0" online_cpuset="0x00000800,,,,0x0" allowed_cpuset="0x00000800,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="331" cpuset="0x00000800,,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="140" cpuset="0x00001000,,,,0x0" complete_cpuset="0x00001000,,,,0x0" online_cpuset="0x00001000,,,,0x0" allowed_cpuset="0x00001000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="332" cpuset="0x00001000,,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="141" cpuset="0x00002000,,,,0x0" complete_cpuset="0x00002000,,,,0x0" online_cpuset="0x00002000,,,,0x0" allowed_cpuset="0x00002000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="333" cpuset="0x00002000,,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="142" cpuset="0x00004000,,,,0x0" complete_cpuset="0x00004000,,,,0x0" online_cpuset="0x00004000,,,,0x0" allowed_cpuset="0x00004000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="334" cpuset="0x00004000,,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000">
+ <object type="PU" os_index="143" cpuset="0x00008000,,,,0x0" complete_cpuset="0x00008000,,,,0x0" online_cpuset="0x00008000,,,,0x0" allowed_cpuset="0x00008000,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ <object type="PU" os_index="335" cpuset="0x00008000,,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,,0x0" nodeset="0x00020000" complete_nodeset="0x00020000" allowed_nodeset="0x00020000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,,0x0" nodeset="0x000c0000" complete_nodeset="0x000c0000" allowed_nodeset="0x000c0000" depth="0">
+ <object type="NUMANode" os_index="18" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="18" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="144" cpuset="0x00010000,,,,0x0" complete_cpuset="0x00010000,,,,0x0" online_cpuset="0x00010000,,,,0x0" allowed_cpuset="0x00010000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="336" cpuset="0x00010000,,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="145" cpuset="0x00020000,,,,0x0" complete_cpuset="0x00020000,,,,0x0" online_cpuset="0x00020000,,,,0x0" allowed_cpuset="0x00020000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="337" cpuset="0x00020000,,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="146" cpuset="0x00040000,,,,0x0" complete_cpuset="0x00040000,,,,0x0" online_cpuset="0x00040000,,,,0x0" allowed_cpuset="0x00040000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="338" cpuset="0x00040000,,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="147" cpuset="0x00080000,,,,0x0" complete_cpuset="0x00080000,,,,0x0" online_cpuset="0x00080000,,,,0x0" allowed_cpuset="0x00080000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="339" cpuset="0x00080000,,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="148" cpuset="0x00100000,,,,0x0" complete_cpuset="0x00100000,,,,0x0" online_cpuset="0x00100000,,,,0x0" allowed_cpuset="0x00100000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="340" cpuset="0x00100000,,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="149" cpuset="0x00200000,,,,0x0" complete_cpuset="0x00200000,,,,0x0" online_cpuset="0x00200000,,,,0x0" allowed_cpuset="0x00200000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="341" cpuset="0x00200000,,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="150" cpuset="0x00400000,,,,0x0" complete_cpuset="0x00400000,,,,0x0" online_cpuset="0x00400000,,,,0x0" allowed_cpuset="0x00400000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="342" cpuset="0x00400000,,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000">
+ <object type="PU" os_index="151" cpuset="0x00800000,,,,0x0" complete_cpuset="0x00800000,,,,0x0" online_cpuset="0x00800000,,,,0x0" allowed_cpuset="0x00800000,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ <object type="PU" os_index="343" cpuset="0x00800000,,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,,0x0" nodeset="0x00040000" complete_nodeset="0x00040000" allowed_nodeset="0x00040000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="19" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="19" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="152" cpuset="0x01000000,,,,0x0" complete_cpuset="0x01000000,,,,0x0" online_cpuset="0x01000000,,,,0x0" allowed_cpuset="0x01000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="344" cpuset="0x01000000,,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="153" cpuset="0x02000000,,,,0x0" complete_cpuset="0x02000000,,,,0x0" online_cpuset="0x02000000,,,,0x0" allowed_cpuset="0x02000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="345" cpuset="0x02000000,,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="154" cpuset="0x04000000,,,,0x0" complete_cpuset="0x04000000,,,,0x0" online_cpuset="0x04000000,,,,0x0" allowed_cpuset="0x04000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="346" cpuset="0x04000000,,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="155" cpuset="0x08000000,,,,0x0" complete_cpuset="0x08000000,,,,0x0" online_cpuset="0x08000000,,,,0x0" allowed_cpuset="0x08000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="347" cpuset="0x08000000,,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="156" cpuset="0x10000000,,,,0x0" complete_cpuset="0x10000000,,,,0x0" online_cpuset="0x10000000,,,,0x0" allowed_cpuset="0x10000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="348" cpuset="0x10000000,,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="157" cpuset="0x20000000,,,,0x0" complete_cpuset="0x20000000,,,,0x0" online_cpuset="0x20000000,,,,0x0" allowed_cpuset="0x20000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="349" cpuset="0x20000000,,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="158" cpuset="0x40000000,,,,0x0" complete_cpuset="0x40000000,,,,0x0" online_cpuset="0x40000000,,,,0x0" allowed_cpuset="0x40000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="350" cpuset="0x40000000,,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000">
+ <object type="PU" os_index="159" cpuset="0x80000000,,,,0x0" complete_cpuset="0x80000000,,,,0x0" online_cpuset="0x80000000,,,,0x0" allowed_cpuset="0x80000000,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ <object type="PU" os_index="351" cpuset="0x80000000,,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,,0x0" nodeset="0x00080000" complete_nodeset="0x00080000" allowed_nodeset="0x00080000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" complete_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" online_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" allowed_cpuset="0x0000ffff,,,,,,0x0000ffff,,,,,0x0" nodeset="0x00300000" complete_nodeset="0x00300000" allowed_nodeset="0x00300000" depth="0">
+ <object type="NUMANode" os_index="20" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="20" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" complete_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" online_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" allowed_cpuset="0x000000ff,,,,,,0x000000ff,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,,0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="160" cpuset="0x00000001,,,,,0x0" complete_cpuset="0x00000001,,,,,0x0" online_cpuset="0x00000001,,,,,0x0" allowed_cpuset="0x00000001,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="352" cpuset="0x00000001,,,,,,,,,,,0x0" complete_cpuset="0x00000001,,,,,,,,,,,0x0" online_cpuset="0x00000001,,,,,,,,,,,0x0" allowed_cpuset="0x00000001,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,,0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="161" cpuset="0x00000002,,,,,0x0" complete_cpuset="0x00000002,,,,,0x0" online_cpuset="0x00000002,,,,,0x0" allowed_cpuset="0x00000002,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="353" cpuset="0x00000002,,,,,,,,,,,0x0" complete_cpuset="0x00000002,,,,,,,,,,,0x0" online_cpuset="0x00000002,,,,,,,,,,,0x0" allowed_cpuset="0x00000002,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,,0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="162" cpuset="0x00000004,,,,,0x0" complete_cpuset="0x00000004,,,,,0x0" online_cpuset="0x00000004,,,,,0x0" allowed_cpuset="0x00000004,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="354" cpuset="0x00000004,,,,,,,,,,,0x0" complete_cpuset="0x00000004,,,,,,,,,,,0x0" online_cpuset="0x00000004,,,,,,,,,,,0x0" allowed_cpuset="0x00000004,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,,0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="163" cpuset="0x00000008,,,,,0x0" complete_cpuset="0x00000008,,,,,0x0" online_cpuset="0x00000008,,,,,0x0" allowed_cpuset="0x00000008,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="355" cpuset="0x00000008,,,,,,,,,,,0x0" complete_cpuset="0x00000008,,,,,,,,,,,0x0" online_cpuset="0x00000008,,,,,,,,,,,0x0" allowed_cpuset="0x00000008,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,,0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="164" cpuset="0x00000010,,,,,0x0" complete_cpuset="0x00000010,,,,,0x0" online_cpuset="0x00000010,,,,,0x0" allowed_cpuset="0x00000010,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="356" cpuset="0x00000010,,,,,,,,,,,0x0" complete_cpuset="0x00000010,,,,,,,,,,,0x0" online_cpuset="0x00000010,,,,,,,,,,,0x0" allowed_cpuset="0x00000010,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,,0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="165" cpuset="0x00000020,,,,,0x0" complete_cpuset="0x00000020,,,,,0x0" online_cpuset="0x00000020,,,,,0x0" allowed_cpuset="0x00000020,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="357" cpuset="0x00000020,,,,,,,,,,,0x0" complete_cpuset="0x00000020,,,,,,,,,,,0x0" online_cpuset="0x00000020,,,,,,,,,,,0x0" allowed_cpuset="0x00000020,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,,0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="166" cpuset="0x00000040,,,,,0x0" complete_cpuset="0x00000040,,,,,0x0" online_cpuset="0x00000040,,,,,0x0" allowed_cpuset="0x00000040,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="358" cpuset="0x00000040,,,,,,,,,,,0x0" complete_cpuset="0x00000040,,,,,,,,,,,0x0" online_cpuset="0x00000040,,,,,,,,,,,0x0" allowed_cpuset="0x00000040,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,,0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000">
+ <object type="PU" os_index="167" cpuset="0x00000080,,,,,0x0" complete_cpuset="0x00000080,,,,,0x0" online_cpuset="0x00000080,,,,,0x0" allowed_cpuset="0x00000080,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ <object type="PU" os_index="359" cpuset="0x00000080,,,,,,,,,,,0x0" complete_cpuset="0x00000080,,,,,,,,,,,0x0" online_cpuset="0x00000080,,,,,,,,,,,0x0" allowed_cpuset="0x00000080,,,,,,,,,,,0x0" nodeset="0x00100000" complete_nodeset="0x00100000" allowed_nodeset="0x00100000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="21" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="21" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" complete_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" online_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" allowed_cpuset="0x0000ff00,,,,,,0x0000ff00,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,,0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="168" cpuset="0x00000100,,,,,0x0" complete_cpuset="0x00000100,,,,,0x0" online_cpuset="0x00000100,,,,,0x0" allowed_cpuset="0x00000100,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="360" cpuset="0x00000100,,,,,,,,,,,0x0" complete_cpuset="0x00000100,,,,,,,,,,,0x0" online_cpuset="0x00000100,,,,,,,,,,,0x0" allowed_cpuset="0x00000100,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,,0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="169" cpuset="0x00000200,,,,,0x0" complete_cpuset="0x00000200,,,,,0x0" online_cpuset="0x00000200,,,,,0x0" allowed_cpuset="0x00000200,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="361" cpuset="0x00000200,,,,,,,,,,,0x0" complete_cpuset="0x00000200,,,,,,,,,,,0x0" online_cpuset="0x00000200,,,,,,,,,,,0x0" allowed_cpuset="0x00000200,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,,0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="170" cpuset="0x00000400,,,,,0x0" complete_cpuset="0x00000400,,,,,0x0" online_cpuset="0x00000400,,,,,0x0" allowed_cpuset="0x00000400,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="362" cpuset="0x00000400,,,,,,,,,,,0x0" complete_cpuset="0x00000400,,,,,,,,,,,0x0" online_cpuset="0x00000400,,,,,,,,,,,0x0" allowed_cpuset="0x00000400,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,,0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="171" cpuset="0x00000800,,,,,0x0" complete_cpuset="0x00000800,,,,,0x0" online_cpuset="0x00000800,,,,,0x0" allowed_cpuset="0x00000800,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="363" cpuset="0x00000800,,,,,,,,,,,0x0" complete_cpuset="0x00000800,,,,,,,,,,,0x0" online_cpuset="0x00000800,,,,,,,,,,,0x0" allowed_cpuset="0x00000800,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,,0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="172" cpuset="0x00001000,,,,,0x0" complete_cpuset="0x00001000,,,,,0x0" online_cpuset="0x00001000,,,,,0x0" allowed_cpuset="0x00001000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="364" cpuset="0x00001000,,,,,,,,,,,0x0" complete_cpuset="0x00001000,,,,,,,,,,,0x0" online_cpuset="0x00001000,,,,,,,,,,,0x0" allowed_cpuset="0x00001000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,,0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="173" cpuset="0x00002000,,,,,0x0" complete_cpuset="0x00002000,,,,,0x0" online_cpuset="0x00002000,,,,,0x0" allowed_cpuset="0x00002000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="365" cpuset="0x00002000,,,,,,,,,,,0x0" complete_cpuset="0x00002000,,,,,,,,,,,0x0" online_cpuset="0x00002000,,,,,,,,,,,0x0" allowed_cpuset="0x00002000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,,0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="174" cpuset="0x00004000,,,,,0x0" complete_cpuset="0x00004000,,,,,0x0" online_cpuset="0x00004000,,,,,0x0" allowed_cpuset="0x00004000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="366" cpuset="0x00004000,,,,,,,,,,,0x0" complete_cpuset="0x00004000,,,,,,,,,,,0x0" online_cpuset="0x00004000,,,,,,,,,,,0x0" allowed_cpuset="0x00004000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,,0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000">
+ <object type="PU" os_index="175" cpuset="0x00008000,,,,,0x0" complete_cpuset="0x00008000,,,,,0x0" online_cpuset="0x00008000,,,,,0x0" allowed_cpuset="0x00008000,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ <object type="PU" os_index="367" cpuset="0x00008000,,,,,,,,,,,0x0" complete_cpuset="0x00008000,,,,,,,,,,,0x0" online_cpuset="0x00008000,,,,,,,,,,,0x0" allowed_cpuset="0x00008000,,,,,,,,,,,0x0" nodeset="0x00200000" complete_nodeset="0x00200000" allowed_nodeset="0x00200000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" complete_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" online_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" allowed_cpuset="0xffff0000,,,,,,0xffff0000,,,,,0x0" nodeset="0x00c00000" complete_nodeset="0x00c00000" allowed_nodeset="0x00c00000" depth="0">
+ <object type="NUMANode" os_index="22" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="22" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" complete_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" online_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" allowed_cpuset="0x00ff0000,,,,,,0x00ff0000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,,0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="176" cpuset="0x00010000,,,,,0x0" complete_cpuset="0x00010000,,,,,0x0" online_cpuset="0x00010000,,,,,0x0" allowed_cpuset="0x00010000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="368" cpuset="0x00010000,,,,,,,,,,,0x0" complete_cpuset="0x00010000,,,,,,,,,,,0x0" online_cpuset="0x00010000,,,,,,,,,,,0x0" allowed_cpuset="0x00010000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,,0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="177" cpuset="0x00020000,,,,,0x0" complete_cpuset="0x00020000,,,,,0x0" online_cpuset="0x00020000,,,,,0x0" allowed_cpuset="0x00020000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="369" cpuset="0x00020000,,,,,,,,,,,0x0" complete_cpuset="0x00020000,,,,,,,,,,,0x0" online_cpuset="0x00020000,,,,,,,,,,,0x0" allowed_cpuset="0x00020000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,,0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="178" cpuset="0x00040000,,,,,0x0" complete_cpuset="0x00040000,,,,,0x0" online_cpuset="0x00040000,,,,,0x0" allowed_cpuset="0x00040000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="370" cpuset="0x00040000,,,,,,,,,,,0x0" complete_cpuset="0x00040000,,,,,,,,,,,0x0" online_cpuset="0x00040000,,,,,,,,,,,0x0" allowed_cpuset="0x00040000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,,0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="179" cpuset="0x00080000,,,,,0x0" complete_cpuset="0x00080000,,,,,0x0" online_cpuset="0x00080000,,,,,0x0" allowed_cpuset="0x00080000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="371" cpuset="0x00080000,,,,,,,,,,,0x0" complete_cpuset="0x00080000,,,,,,,,,,,0x0" online_cpuset="0x00080000,,,,,,,,,,,0x0" allowed_cpuset="0x00080000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,,0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="180" cpuset="0x00100000,,,,,0x0" complete_cpuset="0x00100000,,,,,0x0" online_cpuset="0x00100000,,,,,0x0" allowed_cpuset="0x00100000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="372" cpuset="0x00100000,,,,,,,,,,,0x0" complete_cpuset="0x00100000,,,,,,,,,,,0x0" online_cpuset="0x00100000,,,,,,,,,,,0x0" allowed_cpuset="0x00100000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,,0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="181" cpuset="0x00200000,,,,,0x0" complete_cpuset="0x00200000,,,,,0x0" online_cpuset="0x00200000,,,,,0x0" allowed_cpuset="0x00200000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="373" cpuset="0x00200000,,,,,,,,,,,0x0" complete_cpuset="0x00200000,,,,,,,,,,,0x0" online_cpuset="0x00200000,,,,,,,,,,,0x0" allowed_cpuset="0x00200000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,,0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="182" cpuset="0x00400000,,,,,0x0" complete_cpuset="0x00400000,,,,,0x0" online_cpuset="0x00400000,,,,,0x0" allowed_cpuset="0x00400000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="374" cpuset="0x00400000,,,,,,,,,,,0x0" complete_cpuset="0x00400000,,,,,,,,,,,0x0" online_cpuset="0x00400000,,,,,,,,,,,0x0" allowed_cpuset="0x00400000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,,0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000">
+ <object type="PU" os_index="183" cpuset="0x00800000,,,,,0x0" complete_cpuset="0x00800000,,,,,0x0" online_cpuset="0x00800000,,,,,0x0" allowed_cpuset="0x00800000,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ <object type="PU" os_index="375" cpuset="0x00800000,,,,,,,,,,,0x0" complete_cpuset="0x00800000,,,,,,,,,,,0x0" online_cpuset="0x00800000,,,,,,,,,,,0x0" allowed_cpuset="0x00800000,,,,,,,,,,,0x0" nodeset="0x00400000" complete_nodeset="0x00400000" allowed_nodeset="0x00400000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="23" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="23" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <object type="Cache" cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" complete_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" online_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" allowed_cpuset="0xff000000,,,,,,0xff000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,,0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="184" cpuset="0x01000000,,,,,0x0" complete_cpuset="0x01000000,,,,,0x0" online_cpuset="0x01000000,,,,,0x0" allowed_cpuset="0x01000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="376" cpuset="0x01000000,,,,,,,,,,,0x0" complete_cpuset="0x01000000,,,,,,,,,,,0x0" online_cpuset="0x01000000,,,,,,,,,,,0x0" allowed_cpuset="0x01000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,,0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="185" cpuset="0x02000000,,,,,0x0" complete_cpuset="0x02000000,,,,,0x0" online_cpuset="0x02000000,,,,,0x0" allowed_cpuset="0x02000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="377" cpuset="0x02000000,,,,,,,,,,,0x0" complete_cpuset="0x02000000,,,,,,,,,,,0x0" online_cpuset="0x02000000,,,,,,,,,,,0x0" allowed_cpuset="0x02000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,,0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="186" cpuset="0x04000000,,,,,0x0" complete_cpuset="0x04000000,,,,,0x0" online_cpuset="0x04000000,,,,,0x0" allowed_cpuset="0x04000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="378" cpuset="0x04000000,,,,,,,,,,,0x0" complete_cpuset="0x04000000,,,,,,,,,,,0x0" online_cpuset="0x04000000,,,,,,,,,,,0x0" allowed_cpuset="0x04000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,,0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="187" cpuset="0x08000000,,,,,0x0" complete_cpuset="0x08000000,,,,,0x0" online_cpuset="0x08000000,,,,,0x0" allowed_cpuset="0x08000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="379" cpuset="0x08000000,,,,,,,,,,,0x0" complete_cpuset="0x08000000,,,,,,,,,,,0x0" online_cpuset="0x08000000,,,,,,,,,,,0x0" allowed_cpuset="0x08000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,,0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="188" cpuset="0x10000000,,,,,0x0" complete_cpuset="0x10000000,,,,,0x0" online_cpuset="0x10000000,,,,,0x0" allowed_cpuset="0x10000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="380" cpuset="0x10000000,,,,,,,,,,,0x0" complete_cpuset="0x10000000,,,,,,,,,,,0x0" online_cpuset="0x10000000,,,,,,,,,,,0x0" allowed_cpuset="0x10000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,,0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="189" cpuset="0x20000000,,,,,0x0" complete_cpuset="0x20000000,,,,,0x0" online_cpuset="0x20000000,,,,,0x0" allowed_cpuset="0x20000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="381" cpuset="0x20000000,,,,,,,,,,,0x0" complete_cpuset="0x20000000,,,,,,,,,,,0x0" online_cpuset="0x20000000,,,,,,,,,,,0x0" allowed_cpuset="0x20000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,,0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="190" cpuset="0x40000000,,,,,0x0" complete_cpuset="0x40000000,,,,,0x0" online_cpuset="0x40000000,,,,,0x0" allowed_cpuset="0x40000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="382" cpuset="0x40000000,,,,,,,,,,,0x0" complete_cpuset="0x40000000,,,,,,,,,,,0x0" online_cpuset="0x40000000,,,,,,,,,,,0x0" allowed_cpuset="0x40000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,,0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000">
+ <object type="PU" os_index="191" cpuset="0x80000000,,,,,0x0" complete_cpuset="0x80000000,,,,,0x0" online_cpuset="0x80000000,,,,,0x0" allowed_cpuset="0x80000000,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ <object type="PU" os_index="383" cpuset="0x80000000,,,,,,,,,,,0x0" complete_cpuset="0x80000000,,,,,,,,,,,0x0" online_cpuset="0x80000000,,,,,,,,,,,0x0" allowed_cpuset="0x80000000,,,,,,,,,,,0x0" nodeset="0x00800000" complete_nodeset="0x00800000" allowed_nodeset="0x00800000"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x00ffffff" complete_cpuset="0x00ffffff" online_cpuset="0x00ffffff" allowed_cpuset="0x00ffffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="ProLiant SL390s G7"/>
+ <info name="DMIProductVersion" value=""/>
+ <info name="DMIBoardVendor" value="HP"/>
+ <info name="DMIBoardName" value=""/>
+ <info name="DMIBoardVersion" value=""/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="HP"/>
+ <info name="DMIChassisType" value="25"/>
+ <info name="DMIChassisVersion" value=""/>
+ <info name="DMIChassisAssetTag" value=" "/>
+ <info name="DMIBIOSVendor" value="HP"/>
+ <info name="DMIBIOSVersion" value="P69"/>
+ <info name="DMIBIOSDate" value="10/21/2010"/>
+ <info name="DMISysVendor" value="HP"/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="2.6.27.39-0.3-perfctr"/>
+ <info name="OSVersion" value="#1 SMP 2009-11-23 12:57:38 +0100"/>
+ <info name="HostName" value="mirage004"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00555555" complete_cpuset="0x00555555" online_cpuset="0x00555555" allowed_cpuset="0x00555555" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="19316633600">
+ <page_type size="4096" count="4715975"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x00555555" complete_cpuset="0x00555555" online_cpuset="0x00555555" allowed_cpuset="0x00555555" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" cpuset="0x00555555" complete_cpuset="0x00555555" online_cpuset="0x00555555" allowed_cpuset="0x00555555" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="12582912" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00001001" complete_cpuset="0x00001001" online_cpuset="0x00001001" allowed_cpuset="0x00001001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001001" complete_cpuset="0x00001001" online_cpuset="0x00001001" allowed_cpuset="0x00001001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00001001" complete_cpuset="0x00001001" online_cpuset="0x00001001" allowed_cpuset="0x00001001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004004" complete_cpuset="0x00004004" online_cpuset="0x00004004" allowed_cpuset="0x00004004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004004" complete_cpuset="0x00004004" online_cpuset="0x00004004" allowed_cpuset="0x00004004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="8" cpuset="0x00004004" complete_cpuset="0x00004004" online_cpuset="0x00004004" allowed_cpuset="0x00004004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00010010" complete_cpuset="0x00010010" online_cpuset="0x00010010" allowed_cpuset="0x00010010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010010" complete_cpuset="0x00010010" online_cpuset="0x00010010" allowed_cpuset="0x00010010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00010010" complete_cpuset="0x00010010" online_cpuset="0x00010010" allowed_cpuset="0x00010010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040040" complete_cpuset="0x00040040" online_cpuset="0x00040040" allowed_cpuset="0x00040040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040040" complete_cpuset="0x00040040" online_cpuset="0x00040040" allowed_cpuset="0x00040040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="10" cpuset="0x00040040" complete_cpuset="0x00040040" online_cpuset="0x00040040" allowed_cpuset="0x00040040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100100" complete_cpuset="0x00100100" online_cpuset="0x00100100" allowed_cpuset="0x00100100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100100" complete_cpuset="0x00100100" online_cpuset="0x00100100" allowed_cpuset="0x00100100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00100100" complete_cpuset="0x00100100" online_cpuset="0x00100100" allowed_cpuset="0x00100100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400400" complete_cpuset="0x00400400" online_cpuset="0x00400400" allowed_cpuset="0x00400400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400400" complete_cpuset="0x00400400" online_cpuset="0x00400400" allowed_cpuset="0x00400400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="9" cpuset="0x00400400" complete_cpuset="0x00400400" online_cpuset="0x00400400" allowed_cpuset="0x00400400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-0f]">
+ <object type="Bridge" os_index="16" name="Intel Corporation X58 I/O Hub PCI Express Root Port 1" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:00:01.0" pci_type="0604 [8086:3408] [0000:0000] 13" pci_link_speed="0.400000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="X58 I/O Hub PCI Express Root Port 1"/>
+ <object type="PCIDev" os_index="16384" name="Intel Corporation 82576 Gigabit Network Connection" pci_busid="0000:04:00.0" pci_type="0200 [8086:10c9] [003c:003f] 01" pci_link_speed="0.200000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82576 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="78:e7:d1:21:55:30"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="16385" name="Intel Corporation 82576 Gigabit Network Connection" pci_busid="0000:04:00.1" pci_type="0200 [8086:10c9] [003c:003f] 01" pci_link_speed="0.200000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82576 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="78:e7:d1:21:55:31"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="80" name="Intel Corporation X58 I/O Hub PCI Express Root Port 5" bridge_type="1-1" depth="1" bridge_pci="0000:[05-05]" pci_busid="0000:00:05.0" pci_type="0604 [8086:340c] [0000:0000] 13" pci_link_speed="2.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="X58 I/O Hub PCI Express Root Port 5"/>
+ <object type="PCIDev" os_index="20480" pci_busid="0000:05:00.0" pci_type="0c06 [15b3:6746] [003c:0049] b0" pci_link_speed="2.000000">
+ <info name="PCIVendor" value="Mellanox Technologies"/>
+ <object type="OSDev" name="eth2" osdev_type="2">
+ <info name="Address" value="78:e7:d1:21:55:35"/>
+ </object>
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:48:fe:80:00:00:00:00:00:00:78:e7:d1:03:00:21:55:35"/>
+ </object>
+ <object type="OSDev" name="mlx4_0" osdev_type="3"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="112" name="Intel Corporation X58 I/O Hub PCI Express Root Port 7" bridge_type="1-1" depth="1" bridge_pci="0000:[06-08]" pci_busid="0000:00:07.0" pci_type="0604 [8086:340e] [0000:0000] 13" pci_link_speed="4.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="X58 I/O Hub PCI Express Root Port 7"/>
+ <object type="PCIDev" os_index="24576" pci_busid="0000:06:00.0" pci_type="0302 [10de:06d2] [00de:0030] a3" pci_link_speed="4.000000">
+ <info name="PCIVendor" value="nVidia Corporation"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="480" name="Intel Corporation 82801 PCI Bridge" bridge_type="1-1" depth="1" bridge_pci="0000:[01-01]" pci_busid="0000:00:1e.0" pci_type="0604 [8086:244e] [0000:0000] 90" pci_link_speed="0.200000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801 PCI Bridge"/>
+ <object type="PCIDev" os_index="4144" name="ATI Technologies Inc ES1000" pci_busid="0000:01:03.0" pci_type="0300 [1002:515e] [003c:00fb] 02" pci_link_speed="0.200000">
+ <info name="PCIVendor" value="ATI Technologies Inc"/>
+ <info name="PCIDevice" value="ES1000"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller" pci_busid="0000:00:1f.2" pci_type="0101 [8086:3a20] [003c:000d] 00" pci_link_speed="0.100000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801JI (ICH10 Family) 4 port SATA IDE Controller"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ </object>
+ <object type="PCIDev" os_index="501" name="Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller" pci_busid="0000:00:1f.5" pci_type="0101 [8086:3a26] [003c:000d] 00" pci_link_speed="0.100000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801JI (ICH10 Family) 2 port SATA IDE Controller"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x00aaaaaa" complete_cpuset="0x00aaaaaa" online_cpuset="0x00aaaaaa" allowed_cpuset="0x00aaaaaa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="19327348736">
+ <page_type size="4096" count="4718591"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x00aaaaaa" complete_cpuset="0x00aaaaaa" online_cpuset="0x00aaaaaa" allowed_cpuset="0x00aaaaaa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" cpuset="0x00aaaaaa" complete_cpuset="0x00aaaaaa" online_cpuset="0x00aaaaaa" allowed_cpuset="0x00aaaaaa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="12582912" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00002002" complete_cpuset="0x00002002" online_cpuset="0x00002002" allowed_cpuset="0x00002002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002002" complete_cpuset="0x00002002" online_cpuset="0x00002002" allowed_cpuset="0x00002002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00002002" complete_cpuset="0x00002002" online_cpuset="0x00002002" allowed_cpuset="0x00002002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="8" cpuset="0x00008008" complete_cpuset="0x00008008" online_cpuset="0x00008008" allowed_cpuset="0x00008008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020020" complete_cpuset="0x00020020" online_cpuset="0x00020020" allowed_cpuset="0x00020020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020020" complete_cpuset="0x00020020" online_cpuset="0x00020020" allowed_cpuset="0x00020020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00020020" complete_cpuset="0x00020020" online_cpuset="0x00020020" allowed_cpuset="0x00020020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080080" complete_cpuset="0x00080080" online_cpuset="0x00080080" allowed_cpuset="0x00080080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080080" complete_cpuset="0x00080080" online_cpuset="0x00080080" allowed_cpuset="0x00080080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="10" cpuset="0x00080080" complete_cpuset="0x00080080" online_cpuset="0x00080080" allowed_cpuset="0x00080080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200200" complete_cpuset="0x00200200" online_cpuset="0x00200200" allowed_cpuset="0x00200200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200200" complete_cpuset="0x00200200" online_cpuset="0x00200200" allowed_cpuset="0x00200200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00200200" complete_cpuset="0x00200200" online_cpuset="0x00200200" allowed_cpuset="0x00200200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800800" complete_cpuset="0x00800800" online_cpuset="0x00800800" allowed_cpuset="0x00800800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800800" complete_cpuset="0x00800800" online_cpuset="0x00800800" allowed_cpuset="0x00800800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="9" cpuset="0x00800800" complete_cpuset="0x00800800" online_cpuset="0x00800800" allowed_cpuset="0x00800800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0000:[10-1f]">
+ <object type="Bridge" os_index="65584" name="Intel Corporation X58 I/O Hub PCI Express Root Port 3" bridge_type="1-1" depth="1" bridge_pci="0000:[14-16]" pci_busid="0000:10:03.0" pci_type="0604 [8086:340a] [0000:0000] 13" pci_link_speed="4.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="X58 I/O Hub PCI Express Root Port 3"/>
+ <object type="PCIDev" os_index="81920" pci_busid="0000:14:00.0" pci_type="0302 [10de:06d2] [00de:0030] a3" pci_link_speed="4.000000">
+ <info name="PCIVendor" value="nVidia Corporation"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="65648" name="Intel Corporation X58 I/O Hub PCI Express Root Port 7" bridge_type="1-1" depth="1" bridge_pci="0000:[11-13]" pci_busid="0000:10:07.0" pci_type="0604 [8086:340e] [0000:0000] 13" pci_link_speed="4.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="X58 I/O Hub PCI Express Root Port 7"/>
+ <object type="PCIDev" os_index="69632" pci_busid="0000:11:00.0" pci_type="0302 [10de:06d2] [00de:0030] a3" pci_link_speed="4.000000">
+ <info name="PCIVendor" value="nVidia Corporation"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+32em64t-2n8c2t-pci-wholeio.xml
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff" complete_cpuset="0xffffffff" online_cpuset="0xffffffff" allowed_cpuset="0xffffffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="X9DRG-HF"/>
+ <info name="DMIProductVersion" value="0123456789"/>
+ <info name="DMIBoardVendor" value="Supermicro"/>
+ <info name="DMIBoardName" value="X9DRG-HF"/>
+ <info name="DMIBoardVersion" value="0123456789"/>
+ <info name="DMIBoardAssetTag" value="To be filled by O.E.M."/>
+ <info name="DMIChassisVendor" value="Supermicro"/>
+ <info name="DMIChassisType" value="3"/>
+ <info name="DMIChassisVersion" value="0123456789"/>
+ <info name="DMIChassisAssetTag" value="To Be Filled By O.E.M."/>
+ <info name="DMIBIOSVendor" value="American Megatrends Inc."/>
+ <info name="DMIBIOSVersion" value="1.0c"/>
+ <info name="DMIBIOSDate" value="08/22/2012"/>
+ <info name="DMISysVendor" value="Supermicro"/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.2.0-4-amd64"/>
+ <info name="OSVersion" value="#1 SMP Debian 3.2.32-1"/>
+ <info name="HostName" value="conan"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="34330173440">
+ <page_type size="4096" count="8381390"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <object type="Cache" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="0" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="1" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="2" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="3" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="4" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="5" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="6" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="7" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="34359738368">
+ <page_type size="4096" count="8388608"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <object type="Cache" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="0" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="1" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="2" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="3" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="4" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="5" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="6" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="7" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+32em64t-2n8c2t-pci-wholeio.xml
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff" complete_cpuset="0xffffffff" online_cpuset="0xffffffff" allowed_cpuset="0xffffffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="X9DRG-HF"/>
+ <info name="DMIProductVersion" value="0123456789"/>
+ <info name="DMIBoardVendor" value="Supermicro"/>
+ <info name="DMIBoardName" value="X9DRG-HF"/>
+ <info name="DMIBoardVersion" value="0123456789"/>
+ <info name="DMIBoardAssetTag" value="To be filled by O.E.M."/>
+ <info name="DMIChassisVendor" value="Supermicro"/>
+ <info name="DMIChassisType" value="3"/>
+ <info name="DMIChassisVersion" value="0123456789"/>
+ <info name="DMIChassisAssetTag" value="To Be Filled By O.E.M."/>
+ <info name="DMIBIOSVendor" value="American Megatrends Inc."/>
+ <info name="DMIBIOSVersion" value="1.0c"/>
+ <info name="DMIBIOSDate" value="08/22/2012"/>
+ <info name="DMISysVendor" value="Supermicro"/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.2.0-4-amd64"/>
+ <info name="OSVersion" value="#1 SMP Debian 3.2.32-1"/>
+ <info name="HostName" value="conan"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="34330173440">
+ <page_type size="4096" count="8381390"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <object type="Cache" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="0" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="1" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="2" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="3" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="4" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="5" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="6" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="7" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-05]">
+ <object type="Bridge" os_index="48" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[03-03]" pci_busid="0000:00:03.0" pci_type="0604 [8086:3c08] [000f:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="12288" name="NVIDIA Corporation Tesla M2075 Dual-Slot Computing Processor Module" pci_busid="0000:03:00.0" pci_type="0302 [10de:1094] [00de:0088] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="NVIDIA Corporation"/>
+ <info name="PCIDevice" value="Tesla M2075 Dual-Slot Computing Processor Module"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="272" name="Intel Corporation C600/X79 series chipset PCI Express Virtual Root Port" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:00:11.0" pci_type="0604 [8086:1d3e] [000f:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset PCI Express Virtual Root Port"/>
+ <object type="PCIDev" os_index="16384" name="Intel Corporation C602 chipset 4-Port SATA Storage Control Unit" pci_busid="0000:04:00.0" pci_type="0107 [8086:1d6b] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C602 chipset 4-Port SATA Storage Control Unit"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="480" name="Intel Corporation 82801 PCI Bridge" bridge_type="1-1" depth="1" bridge_pci="0000:[05-05]" pci_busid="0000:00:1e.0" pci_type="0604 [8086:244e] [0000:0000] a6" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801 PCI Bridge"/>
+ <object type="PCIDev" os_index="20528" name="Matrox Electronics Systems Ltd. MGA G200eW WPCM450" pci_busid="0000:05:03.0" pci_type="0300 [102b:0532] [00d9:0062] 0a" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Matrox Electronics Systems Ltd."/>
+ <info name="PCIDevice" value="MGA G200eW WPCM450"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:1d02] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset 6-Port SATA AHCI Controller"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="34359738368">
+ <page_type size="4096" count="8388608"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <object type="Cache" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="0" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="1" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="2" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="3" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="4" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="5" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="6" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="7" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0000:[80-84]">
+ <object type="Bridge" os_index="524304" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1a" bridge_type="1-1" depth="1" bridge_pci="0000:[81-82]" pci_busid="0000:80:01.0" pci_type="0604 [8086:3c02] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 1a"/>
+ <object type="PCIDev" os_index="528384" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:81:00.0" pci_type="0200 [8086:1521] [00d9:0021] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="00:25:90:95:71:12"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="528385" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:81:00.1" pci_type="0200 [8086:1521] [00d9:0021] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="00:25:90:95:71:13"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="524320" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 2a" bridge_type="1-1" depth="1" bridge_pci="0000:[83-83]" pci_busid="0000:80:02.0" pci_type="0604 [8086:3c04] [001f:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 2a"/>
+ <object type="PCIDev" os_index="536576" name="NVIDIA Corporation Tesla M2075 Dual-Slot Computing Processor Module" pci_busid="0000:83:00.0" pci_type="0302 [10de:1094] [00de:0088] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="NVIDIA Corporation"/>
+ <info name="PCIDevice" value="Tesla M2075 Dual-Slot Computing Processor Module"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="524336" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[84-84]" pci_busid="0000:80:03.0" pci_type="0604 [8086:3c08] [001f:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="540672" name="NVIDIA Corporation Tesla M2075 Dual-Slot Computing Processor Module" pci_busid="0000:84:00.0" pci_type="0302 [10de:1094] [00de:0088] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="NVIDIA Corporation"/>
+ <info name="PCIDevice" value="Tesla M2075 Dual-Slot Computing Processor Module"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+--whole-io
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff" complete_cpuset="0xffffffff" online_cpuset="0xffffffff" allowed_cpuset="0xffffffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="X9DRG-HF"/>
+ <info name="DMIProductVersion" value="0123456789"/>
+ <info name="DMIBoardVendor" value="Supermicro"/>
+ <info name="DMIBoardName" value="X9DRG-HF"/>
+ <info name="DMIBoardVersion" value="0123456789"/>
+ <info name="DMIBoardAssetTag" value="To be filled by O.E.M."/>
+ <info name="DMIChassisVendor" value="Supermicro"/>
+ <info name="DMIChassisType" value="3"/>
+ <info name="DMIChassisVersion" value="0123456789"/>
+ <info name="DMIChassisAssetTag" value="To Be Filled By O.E.M."/>
+ <info name="DMIBIOSVendor" value="American Megatrends Inc."/>
+ <info name="DMIBIOSVersion" value="1.0c"/>
+ <info name="DMIBIOSDate" value="08/22/2012"/>
+ <info name="DMISysVendor" value="Supermicro"/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.2.0-4-amd64"/>
+ <info name="OSVersion" value="#1 SMP Debian 3.2.32-1"/>
+ <info name="HostName" value="conan"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="34330173440">
+ <page_type size="4096" count="8381390"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <object type="Cache" cpuset="0x00ff00ff" complete_cpuset="0x00ff00ff" online_cpuset="0x00ff00ff" allowed_cpuset="0x00ff00ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="0" cpuset="0x00010001" complete_cpuset="0x00010001" online_cpuset="0x00010001" allowed_cpuset="0x00010001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="1" cpuset="0x00020002" complete_cpuset="0x00020002" online_cpuset="0x00020002" allowed_cpuset="0x00020002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="2" cpuset="0x00040004" complete_cpuset="0x00040004" online_cpuset="0x00040004" allowed_cpuset="0x00040004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="3" cpuset="0x00080008" complete_cpuset="0x00080008" online_cpuset="0x00080008" allowed_cpuset="0x00080008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="4" cpuset="0x00100010" complete_cpuset="0x00100010" online_cpuset="0x00100010" allowed_cpuset="0x00100010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="5" cpuset="0x00200020" complete_cpuset="0x00200020" online_cpuset="0x00200020" allowed_cpuset="0x00200020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="6" cpuset="0x00400040" complete_cpuset="0x00400040" online_cpuset="0x00400040" allowed_cpuset="0x00400040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="7" cpuset="0x00800080" complete_cpuset="0x00800080" online_cpuset="0x00800080" allowed_cpuset="0x00800080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-05]">
+ <object type="PCIDev" os_index="0" name="Intel Corporation Xeon E5/Core i7 DMI2" pci_busid="0000:00:00.0" pci_type="0600 [8086:3c00] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMI2"/>
+ </object>
+ <object type="Bridge" os_index="16" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1a" bridge_type="1-1" depth="1" bridge_pci="0000:[01-01]" pci_busid="0000:00:01.0" pci_type="0604 [8086:3c02] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 1a"/>
+ </object>
+ <object type="Bridge" os_index="32" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 2a" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:02.0" pci_type="0604 [8086:3c04] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 2a"/>
+ </object>
+ <object type="Bridge" os_index="48" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[03-03]" pci_busid="0000:00:03.0" pci_type="0604 [8086:3c08] [000f:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="12288" name="NVIDIA Corporation Tesla M2075 Dual-Slot Computing Processor Module" pci_busid="0000:03:00.0" pci_type="0302 [10de:1094] [00de:0088] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="NVIDIA Corporation"/>
+ <info name="PCIDevice" value="Tesla M2075 Dual-Slot Computing Processor Module"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="64" name="Intel Corporation Xeon E5/Core i7 DMA Channel 0" pci_busid="0000:00:04.0" pci_type="0880 [8086:3c20] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 0"/>
+ <object type="OSDev" name="dma0chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="65" name="Intel Corporation Xeon E5/Core i7 DMA Channel 1" pci_busid="0000:00:04.1" pci_type="0880 [8086:3c21] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 1"/>
+ <object type="OSDev" name="dma1chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="66" name="Intel Corporation Xeon E5/Core i7 DMA Channel 2" pci_busid="0000:00:04.2" pci_type="0880 [8086:3c22] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 2"/>
+ <object type="OSDev" name="dma2chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="67" name="Intel Corporation Xeon E5/Core i7 DMA Channel 3" pci_busid="0000:00:04.3" pci_type="0880 [8086:3c23] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 3"/>
+ <object type="OSDev" name="dma3chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="68" name="Intel Corporation Xeon E5/Core i7 DMA Channel 4" pci_busid="0000:00:04.4" pci_type="0880 [8086:3c24] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 4"/>
+ <object type="OSDev" name="dma4chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="69" name="Intel Corporation Xeon E5/Core i7 DMA Channel 5" pci_busid="0000:00:04.5" pci_type="0880 [8086:3c25] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 5"/>
+ <object type="OSDev" name="dma5chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="70" name="Intel Corporation Xeon E5/Core i7 DMA Channel 6" pci_busid="0000:00:04.6" pci_type="0880 [8086:3c26] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 6"/>
+ <object type="OSDev" name="dma6chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="71" name="Intel Corporation Xeon E5/Core i7 DMA Channel 7" pci_busid="0000:00:04.7" pci_type="0880 [8086:3c27] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 7"/>
+ <object type="OSDev" name="dma7chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="80" name="Intel Corporation Xeon E5/Core i7 Address Map, VTd_Misc, System Management" pci_busid="0000:00:05.0" pci_type="0880 [8086:3c28] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Address Map, VTd_Misc, System Management"/>
+ </object>
+ <object type="PCIDev" os_index="82" name="Intel Corporation Xeon E5/Core i7 Control Status and Global Errors" pci_busid="0000:00:05.2" pci_type="0880 [8086:3c2a] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Control Status and Global Errors"/>
+ </object>
+ <object type="PCIDev" os_index="84" name="Intel Corporation Xeon E5/Core i7 I/O APIC" pci_busid="0000:00:05.4" pci_type="0800 [8086:3c2c] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 I/O APIC"/>
+ </object>
+ <object type="Bridge" os_index="272" name="Intel Corporation C600/X79 series chipset PCI Express Virtual Root Port" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:00:11.0" pci_type="0604 [8086:1d3e] [000f:0000] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset PCI Express Virtual Root Port"/>
+ <object type="PCIDev" os_index="16384" name="Intel Corporation C602 chipset 4-Port SATA Storage Control Unit" pci_busid="0000:04:00.0" pci_type="0107 [8086:1d6b] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C602 chipset 4-Port SATA Storage Control Unit"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="352" name="Intel Corporation C600/X79 series chipset MEI Controller #1" pci_busid="0000:00:16.0" pci_type="0780 [8086:1d3a] [00d9:0062] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset MEI Controller #1"/>
+ </object>
+ <object type="PCIDev" os_index="353" name="Intel Corporation C600/X79 series chipset MEI Controller #2" pci_busid="0000:00:16.1" pci_type="0780 [8086:1d3b] [00d9:0062] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset MEI Controller #2"/>
+ </object>
+ <object type="PCIDev" os_index="416" name="Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2" pci_busid="0000:00:1a.0" pci_type="0c03 [8086:1d2d] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset USB2 Enhanced Host Controller #2"/>
+ </object>
+ <object type="PCIDev" os_index="464" name="Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #1" pci_busid="0000:00:1d.0" pci_type="0c03 [8086:1d26] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset USB2 Enhanced Host Controller #1"/>
+ </object>
+ <object type="Bridge" os_index="480" name="Intel Corporation 82801 PCI Bridge" bridge_type="1-1" depth="1" bridge_pci="0000:[05-05]" pci_busid="0000:00:1e.0" pci_type="0604 [8086:244e] [0000:0000] a6" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801 PCI Bridge"/>
+ <object type="PCIDev" os_index="20528" name="Matrox Electronics Systems Ltd. MGA G200eW WPCM450" pci_busid="0000:05:03.0" pci_type="0300 [102b:0532] [00d9:0062] 0a" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Matrox Electronics Systems Ltd."/>
+ <info name="PCIDevice" value="MGA G200eW WPCM450"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="496" name="Intel Corporation C600/X79 series chipset LPC Controller" pci_busid="0000:00:1f.0" pci_type="0601 [8086:1d41] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset LPC Controller"/>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:1d02] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset 6-Port SATA AHCI Controller"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ </object>
+ <object type="PCIDev" os_index="499" name="Intel Corporation C600/X79 series chipset SMBus Host Controller" pci_busid="0000:00:1f.3" pci_type="0c05 [8086:1d22] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset SMBus Host Controller"/>
+ </object>
+ <object type="PCIDev" os_index="502" name="Intel Corporation C600/X79 series chipset Thermal Management Controller" pci_busid="0000:00:1f.6" pci_type="1180 [8086:1d24] [00d9:0062] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="C600/X79 series chipset Thermal Management Controller"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="34359738368">
+ <page_type size="4096" count="8388608"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <object type="Cache" cpuset="0xff00ff00" complete_cpuset="0xff00ff00" online_cpuset="0xff00ff00" allowed_cpuset="0xff00ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="0" cpuset="0x01000100" complete_cpuset="0x01000100" online_cpuset="0x01000100" allowed_cpuset="0x01000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="1" cpuset="0x02000200" complete_cpuset="0x02000200" online_cpuset="0x02000200" allowed_cpuset="0x02000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="2" cpuset="0x04000400" complete_cpuset="0x04000400" online_cpuset="0x04000400" allowed_cpuset="0x04000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="3" cpuset="0x08000800" complete_cpuset="0x08000800" online_cpuset="0x08000800" allowed_cpuset="0x08000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="4" cpuset="0x10001000" complete_cpuset="0x10001000" online_cpuset="0x10001000" allowed_cpuset="0x10001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="5" cpuset="0x20002000" complete_cpuset="0x20002000" online_cpuset="0x20002000" allowed_cpuset="0x20002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="6" cpuset="0x40004000" complete_cpuset="0x40004000" online_cpuset="0x40004000" allowed_cpuset="0x40004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Core" os_index="7" cpuset="0x80008000" complete_cpuset="0x80008000" online_cpuset="0x80008000" allowed_cpuset="0x80008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0000:[80-84]">
+ <object type="Bridge" os_index="524304" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1a" bridge_type="1-1" depth="1" bridge_pci="0000:[81-82]" pci_busid="0000:80:01.0" pci_type="0604 [8086:3c02] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 1a"/>
+ <object type="PCIDev" os_index="528384" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:81:00.0" pci_type="0200 [8086:1521] [00d9:0021] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="00:25:90:95:71:12"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="528385" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:81:00.1" pci_type="0200 [8086:1521] [00d9:0021] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="00:25:90:95:71:13"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="524320" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 2a" bridge_type="1-1" depth="1" bridge_pci="0000:[83-83]" pci_busid="0000:80:02.0" pci_type="0604 [8086:3c04] [001f:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 2a"/>
+ <object type="PCIDev" os_index="536576" name="NVIDIA Corporation Tesla M2075 Dual-Slot Computing Processor Module" pci_busid="0000:83:00.0" pci_type="0302 [10de:1094] [00de:0088] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="NVIDIA Corporation"/>
+ <info name="PCIDevice" value="Tesla M2075 Dual-Slot Computing Processor Module"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="524336" name="Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[84-84]" pci_busid="0000:80:03.0" pci_type="0604 [8086:3c08] [001f:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="540672" name="NVIDIA Corporation Tesla M2075 Dual-Slot Computing Processor Module" pci_busid="0000:84:00.0" pci_type="0302 [10de:1094] [00de:0088] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="NVIDIA Corporation"/>
+ <info name="PCIDevice" value="Tesla M2075 Dual-Slot Computing Processor Module"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="524352" name="Intel Corporation Xeon E5/Core i7 DMA Channel 0" pci_busid="0000:80:04.0" pci_type="0880 [8086:3c20] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 0"/>
+ <object type="OSDev" name="dma8chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524353" name="Intel Corporation Xeon E5/Core i7 DMA Channel 1" pci_busid="0000:80:04.1" pci_type="0880 [8086:3c21] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 1"/>
+ <object type="OSDev" name="dma9chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524354" name="Intel Corporation Xeon E5/Core i7 DMA Channel 2" pci_busid="0000:80:04.2" pci_type="0880 [8086:3c22] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 2"/>
+ <object type="OSDev" name="dma10chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524355" name="Intel Corporation Xeon E5/Core i7 DMA Channel 3" pci_busid="0000:80:04.3" pci_type="0880 [8086:3c23] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 3"/>
+ <object type="OSDev" name="dma11chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524356" name="Intel Corporation Xeon E5/Core i7 DMA Channel 4" pci_busid="0000:80:04.4" pci_type="0880 [8086:3c24] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 4"/>
+ <object type="OSDev" name="dma12chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524357" name="Intel Corporation Xeon E5/Core i7 DMA Channel 5" pci_busid="0000:80:04.5" pci_type="0880 [8086:3c25] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 5"/>
+ <object type="OSDev" name="dma13chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524358" name="Intel Corporation Xeon E5/Core i7 DMA Channel 6" pci_busid="0000:80:04.6" pci_type="0880 [8086:3c26] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 6"/>
+ <object type="OSDev" name="dma14chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524359" name="Intel Corporation Xeon E5/Core i7 DMA Channel 7" pci_busid="0000:80:04.7" pci_type="0880 [8086:3c27] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DMA Channel 7"/>
+ <object type="OSDev" name="dma15chan0" osdev_type="4"/>
+ </object>
+ <object type="PCIDev" os_index="524368" name="Intel Corporation Xeon E5/Core i7 Address Map, VTd_Misc, System Management" pci_busid="0000:80:05.0" pci_type="0880 [8086:3c28] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Address Map, VTd_Misc, System Management"/>
+ </object>
+ <object type="PCIDev" os_index="524370" name="Intel Corporation Xeon E5/Core i7 Control Status and Global Errors" pci_busid="0000:80:05.2" pci_type="0880 [8086:3c2a] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Control Status and Global Errors"/>
+ </object>
+ <object type="PCIDev" os_index="524372" name="Intel Corporation Xeon E5/Core i7 I/O APIC" pci_busid="0000:80:05.4" pci_type="0800 [8086:3c2c] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 I/O APIC"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0000:[7f-7f]">
+ <object type="PCIDev" os_index="520320" name="Intel Corporation Xeon E5/Core i7 QPI Link 0" pci_busid="0000:7f:08.0" pci_type="0880 [8086:3c80] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link 0"/>
+ </object>
+ <object type="PCIDev" os_index="520323" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 0" pci_busid="0000:7f:08.3" pci_type="0880 [8086:3c83] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 0"/>
+ </object>
+ <object type="PCIDev" os_index="520324" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 0" pci_busid="0000:7f:08.4" pci_type="0880 [8086:3c84] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 0"/>
+ </object>
+ <object type="PCIDev" os_index="520336" name="Intel Corporation Xeon E5/Core i7 QPI Link 1" pci_busid="0000:7f:09.0" pci_type="0880 [8086:3c90] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link 1"/>
+ </object>
+ <object type="PCIDev" os_index="520339" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 1" pci_busid="0000:7f:09.3" pci_type="0880 [8086:3c93] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 1"/>
+ </object>
+ <object type="PCIDev" os_index="520340" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 1" pci_busid="0000:7f:09.4" pci_type="0880 [8086:3c94] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 1"/>
+ </object>
+ <object type="PCIDev" os_index="520352" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 0" pci_busid="0000:7f:0a.0" pci_type="0880 [8086:3cc0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 0"/>
+ </object>
+ <object type="PCIDev" os_index="520353" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 1" pci_busid="0000:7f:0a.1" pci_type="0880 [8086:3cc1] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 1"/>
+ </object>
+ <object type="PCIDev" os_index="520354" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 2" pci_busid="0000:7f:0a.2" pci_type="0880 [8086:3cc2] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 2"/>
+ </object>
+ <object type="PCIDev" os_index="520355" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 3" pci_busid="0000:7f:0a.3" pci_type="0880 [8086:3cd0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 3"/>
+ </object>
+ <object type="PCIDev" os_index="520368" name="Intel Corporation Xeon E5/Core i7 Interrupt Control Registers" pci_busid="0000:7f:0b.0" pci_type="0880 [8086:3ce0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Interrupt Control Registers"/>
+ </object>
+ <object type="PCIDev" os_index="520371" name="Intel Corporation Xeon E5/Core i7 Semaphore and Scratchpad Configuration Registers" pci_busid="0000:7f:0b.3" pci_type="0880 [8086:3ce3] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Semaphore and Scratchpad Configuration Registers"/>
+ </object>
+ <object type="PCIDev" os_index="520384" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0c.0" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520385" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0c.1" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520386" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0c.2" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520387" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0c.3" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520390" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 0" pci_busid="0000:7f:0c.6" pci_type="0880 [8086:3cf4] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 0"/>
+ </object>
+ <object type="PCIDev" os_index="520391" name="Intel Corporation Xeon E5/Core i7 System Address Decoder" pci_busid="0000:7f:0c.7" pci_type="0880 [8086:3cf6] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 System Address Decoder"/>
+ </object>
+ <object type="PCIDev" os_index="520400" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0d.0" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520401" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0d.1" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520402" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0d.2" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520403" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:7f:0d.3" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="520406" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 1" pci_busid="0000:7f:0d.6" pci_type="0880 [8086:3cf5] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 1"/>
+ </object>
+ <object type="PCIDev" os_index="520416" name="Intel Corporation Xeon E5/Core i7 Processor Home Agent" pci_busid="0000:7f:0e.0" pci_type="0880 [8086:3ca0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Processor Home Agent"/>
+ </object>
+ <object type="PCIDev" os_index="520417" name="Intel Corporation Xeon E5/Core i7 Processor Home Agent Performance Monitoring" pci_busid="0000:7f:0e.1" pci_type="1101 [8086:3c46] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Processor Home Agent Performance Monitoring"/>
+ </object>
+ <object type="PCIDev" os_index="520432" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Registers" pci_busid="0000:7f:0f.0" pci_type="0880 [8086:3ca8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Registers"/>
+ </object>
+ <object type="PCIDev" os_index="520433" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller RAS Registers" pci_busid="0000:7f:0f.1" pci_type="0880 [8086:3c71] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller RAS Registers"/>
+ </object>
+ <object type="PCIDev" os_index="520434" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 0" pci_busid="0000:7f:0f.2" pci_type="0880 [8086:3caa] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 0"/>
+ </object>
+ <object type="PCIDev" os_index="520435" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 1" pci_busid="0000:7f:0f.3" pci_type="0880 [8086:3cab] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 1"/>
+ </object>
+ <object type="PCIDev" os_index="520436" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 2" pci_busid="0000:7f:0f.4" pci_type="0880 [8086:3cac] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 2"/>
+ </object>
+ <object type="PCIDev" os_index="520437" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 3" pci_busid="0000:7f:0f.5" pci_type="0880 [8086:3cad] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 3"/>
+ </object>
+ <object type="PCIDev" os_index="520438" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 4" pci_busid="0000:7f:0f.6" pci_type="0880 [8086:3cae] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 4"/>
+ </object>
+ <object type="PCIDev" os_index="520448" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 0" pci_busid="0000:7f:10.0" pci_type="0880 [8086:3cb0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 0"/>
+ </object>
+ <object type="PCIDev" os_index="520449" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 1" pci_busid="0000:7f:10.1" pci_type="0880 [8086:3cb1] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 1"/>
+ </object>
+ <object type="PCIDev" os_index="520450" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 0" pci_busid="0000:7f:10.2" pci_type="0880 [8086:3cb2] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 0"/>
+ </object>
+ <object type="PCIDev" os_index="520451" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 1" pci_busid="0000:7f:10.3" pci_type="0880 [8086:3cb3] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 1"/>
+ </object>
+ <object type="PCIDev" os_index="520452" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 2" pci_busid="0000:7f:10.4" pci_type="0880 [8086:3cb4] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 2"/>
+ </object>
+ <object type="PCIDev" os_index="520453" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 3" pci_busid="0000:7f:10.5" pci_type="0880 [8086:3cb5] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 3"/>
+ </object>
+ <object type="PCIDev" os_index="520454" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 2" pci_busid="0000:7f:10.6" pci_type="0880 [8086:3cb6] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 2"/>
+ </object>
+ <object type="PCIDev" os_index="520455" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 3" pci_busid="0000:7f:10.7" pci_type="0880 [8086:3cb7] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 3"/>
+ </object>
+ <object type="PCIDev" os_index="520464" name="Intel Corporation Xeon E5/Core i7 DDRIO" pci_busid="0000:7f:11.0" pci_type="0880 [8086:3cb8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DDRIO"/>
+ </object>
+ <object type="PCIDev" os_index="520496" name="Intel Corporation Xeon E5/Core i7 R2PCIe" pci_busid="0000:7f:13.0" pci_type="0880 [8086:3ce4] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 R2PCIe"/>
+ </object>
+ <object type="PCIDev" os_index="520497" name="Intel Corporation Xeon E5/Core i7 Ring to PCI Express Performance Monitor" pci_busid="0000:7f:13.1" pci_type="1101 [8086:3c43] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Ring to PCI Express Performance Monitor"/>
+ </object>
+ <object type="PCIDev" os_index="520500" name="Intel Corporation Xeon E5/Core i7 QuickPath Interconnect Agent Ring Registers" pci_busid="0000:7f:13.4" pci_type="1101 [8086:3ce6] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QuickPath Interconnect Agent Ring Registers"/>
+ </object>
+ <object type="PCIDev" os_index="520501" name="Intel Corporation Xeon E5/Core i7 Ring to QuickPath Interconnect Link 0 Performance Monitor" pci_busid="0000:7f:13.5" pci_type="1101 [8086:3c44] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Ring to QuickPath Interconnect Link 0 Performance Monitor"/>
+ </object>
+ <object type="PCIDev" os_index="520502" name="Intel Corporation Xeon E5/Core i7 Ring to QuickPath Interconnect Link 1 Performance Monitor" pci_busid="0000:7f:13.6" pci_type="0880 [8086:3c45] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Ring to QuickPath Interconnect Link 1 Performance Monitor"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="3" bridge_type="0-1" depth="0" bridge_pci="0000:[ff-ff]">
+ <object type="PCIDev" os_index="1044608" name="Intel Corporation Xeon E5/Core i7 QPI Link 0" pci_busid="0000:ff:08.0" pci_type="0880 [8086:3c80] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044611" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 0" pci_busid="0000:ff:08.3" pci_type="0880 [8086:3c83] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044612" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 0" pci_busid="0000:ff:08.4" pci_type="0880 [8086:3c84] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044624" name="Intel Corporation Xeon E5/Core i7 QPI Link 1" pci_busid="0000:ff:09.0" pci_type="0880 [8086:3c90] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044627" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 1" pci_busid="0000:ff:09.3" pci_type="0880 [8086:3c93] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044628" name="Intel Corporation Xeon E5/Core i7 QPI Link Reut 1" pci_busid="0000:ff:09.4" pci_type="0880 [8086:3c94] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QPI Link Reut 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044640" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 0" pci_busid="0000:ff:0a.0" pci_type="0880 [8086:3cc0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044641" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 1" pci_busid="0000:ff:0a.1" pci_type="0880 [8086:3cc1] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044642" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 2" pci_busid="0000:ff:0a.2" pci_type="0880 [8086:3cc2] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 2"/>
+ </object>
+ <object type="PCIDev" os_index="1044643" name="Intel Corporation Xeon E5/Core i7 Power Control Unit 3" pci_busid="0000:ff:0a.3" pci_type="0880 [8086:3cd0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Power Control Unit 3"/>
+ </object>
+ <object type="PCIDev" os_index="1044656" name="Intel Corporation Xeon E5/Core i7 Interrupt Control Registers" pci_busid="0000:ff:0b.0" pci_type="0880 [8086:3ce0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Interrupt Control Registers"/>
+ </object>
+ <object type="PCIDev" os_index="1044659" name="Intel Corporation Xeon E5/Core i7 Semaphore and Scratchpad Configuration Registers" pci_busid="0000:ff:0b.3" pci_type="0880 [8086:3ce3] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Semaphore and Scratchpad Configuration Registers"/>
+ </object>
+ <object type="PCIDev" os_index="1044672" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0c.0" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044673" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0c.1" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044674" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0c.2" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044675" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0c.3" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044678" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 0" pci_busid="0000:ff:0c.6" pci_type="0880 [8086:3cf4] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044679" name="Intel Corporation Xeon E5/Core i7 System Address Decoder" pci_busid="0000:ff:0c.7" pci_type="0880 [8086:3cf6] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 System Address Decoder"/>
+ </object>
+ <object type="PCIDev" os_index="1044688" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0d.0" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044689" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0d.1" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044690" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0d.2" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044691" name="Intel Corporation Xeon E5/Core i7 Unicast Register 0" pci_busid="0000:ff:0d.3" pci_type="0880 [8086:3ce8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Unicast Register 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044694" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 1" pci_busid="0000:ff:0d.6" pci_type="0880 [8086:3cf5] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller System Address Decoder 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044704" name="Intel Corporation Xeon E5/Core i7 Processor Home Agent" pci_busid="0000:ff:0e.0" pci_type="0880 [8086:3ca0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Processor Home Agent"/>
+ </object>
+ <object type="PCIDev" os_index="1044705" name="Intel Corporation Xeon E5/Core i7 Processor Home Agent Performance Monitoring" pci_busid="0000:ff:0e.1" pci_type="1101 [8086:3c46] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Processor Home Agent Performance Monitoring"/>
+ </object>
+ <object type="PCIDev" os_index="1044720" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Registers" pci_busid="0000:ff:0f.0" pci_type="0880 [8086:3ca8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Registers"/>
+ </object>
+ <object type="PCIDev" os_index="1044721" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller RAS Registers" pci_busid="0000:ff:0f.1" pci_type="0880 [8086:3c71] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller RAS Registers"/>
+ </object>
+ <object type="PCIDev" os_index="1044722" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 0" pci_busid="0000:ff:0f.2" pci_type="0880 [8086:3caa] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044723" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 1" pci_busid="0000:ff:0f.3" pci_type="0880 [8086:3cab] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044724" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 2" pci_busid="0000:ff:0f.4" pci_type="0880 [8086:3cac] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 2"/>
+ </object>
+ <object type="PCIDev" os_index="1044725" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 3" pci_busid="0000:ff:0f.5" pci_type="0880 [8086:3cad] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 3"/>
+ </object>
+ <object type="PCIDev" os_index="1044726" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 4" pci_busid="0000:ff:0f.6" pci_type="0880 [8086:3cae] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Target Address Decoder 4"/>
+ </object>
+ <object type="PCIDev" os_index="1044736" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 0" pci_busid="0000:ff:10.0" pci_type="0880 [8086:3cb0] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044737" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 1" pci_busid="0000:ff:10.1" pci_type="0880 [8086:3cb1] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044738" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 0" pci_busid="0000:ff:10.2" pci_type="0880 [8086:3cb2] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 0"/>
+ </object>
+ <object type="PCIDev" os_index="1044739" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 1" pci_busid="0000:ff:10.3" pci_type="0880 [8086:3cb3] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 1"/>
+ </object>
+ <object type="PCIDev" os_index="1044740" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 2" pci_busid="0000:ff:10.4" pci_type="0880 [8086:3cb4] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 2"/>
+ </object>
+ <object type="PCIDev" os_index="1044741" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 3" pci_busid="0000:ff:10.5" pci_type="0880 [8086:3cb5] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller Channel 0-3 Thermal Control 3"/>
+ </object>
+ <object type="PCIDev" os_index="1044742" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 2" pci_busid="0000:ff:10.6" pci_type="0880 [8086:3cb6] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 2"/>
+ </object>
+ <object type="PCIDev" os_index="1044743" name="Intel Corporation Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 3" pci_busid="0000:ff:10.7" pci_type="0880 [8086:3cb7] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Integrated Memory Controller ERROR Registers 3"/>
+ </object>
+ <object type="PCIDev" os_index="1044752" name="Intel Corporation Xeon E5/Core i7 DDRIO" pci_busid="0000:ff:11.0" pci_type="0880 [8086:3cb8] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 DDRIO"/>
+ </object>
+ <object type="PCIDev" os_index="1044784" name="Intel Corporation Xeon E5/Core i7 R2PCIe" pci_busid="0000:ff:13.0" pci_type="0880 [8086:3ce4] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 R2PCIe"/>
+ </object>
+ <object type="PCIDev" os_index="1044785" name="Intel Corporation Xeon E5/Core i7 Ring to PCI Express Performance Monitor" pci_busid="0000:ff:13.1" pci_type="1101 [8086:3c43] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Ring to PCI Express Performance Monitor"/>
+ </object>
+ <object type="PCIDev" os_index="1044788" name="Intel Corporation Xeon E5/Core i7 QuickPath Interconnect Agent Ring Registers" pci_busid="0000:ff:13.4" pci_type="1101 [8086:3ce6] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 QuickPath Interconnect Agent Ring Registers"/>
+ </object>
+ <object type="PCIDev" os_index="1044789" name="Intel Corporation Xeon E5/Core i7 Ring to QuickPath Interconnect Link 0 Performance Monitor" pci_busid="0000:ff:13.5" pci_type="1101 [8086:3c44] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Ring to QuickPath Interconnect Link 0 Performance Monitor"/>
+ </object>
+ <object type="PCIDev" os_index="1044790" name="Intel Corporation Xeon E5/Core i7 Ring to QuickPath Interconnect Link 1 Performance Monitor" pci_busid="0000:ff:13.6" pci_type="0880 [8086:3c45] [00d9:0062] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Xeon E5/Core i7 Ring to QuickPath Interconnect Link 1 Performance Monitor"/>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+# make sure we use default numeric formats
+# we really want to check the distance matrix here (in case it gets truncated or so)
+LANG=C
+LC_ALL=C
+export LANG LC_ALL
--- /dev/null
+--of console -v --whole-system
--- /dev/null
+Machine (P#0 total=259890340KB DMIProductName=UV2000 DMIProductVersion=SGI DMIBoardVendor="Intel Corp." DMIBoardName=ROMLEY DMIBoardVersion=E63448-400 DMIBoardAssetTag="Base Board Asset Tag" DMIChassisVendor="Intel Corporation" DMIChassisType=23 DMIChassisVersion=0.1 DMIChassisAssetTag="Chassis Asset Tag" DMIBIOSVendor="Silicon Graphics International Corp." DMIBIOSVersion="SGI UV 2000/3000 series BIOS" DMIBIOSDate=01/15/2013 DMISysVendor=SGI Backend=Linux LinuxCgroup=/boot OSName=Linux OSRelease=3.0.80-0.7-default OSVersion="#1 SMP Tue Jun 25 18:32:49 UTC 2013 (25740f8)" HostName=condor Architecture=x86_64 hwlocVersion=2.0.0a1-git ProcessName=lstopo-no-graphics)
+ Group0 L#0 (total=64953508KB)
+ NUMANode L#0 (P#0 local=32464036KB total=32464036KB)
+ Package L#0 (P#0 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#0 (size=20480KB linesize=64 ways=20)
+ L2Cache L#0 (size=256KB linesize=64 ways=8)
+ L1dCache L#0 (size=32KB linesize=64 ways=8)
+ L1iCache L#0 (size=32KB linesize=64 ways=8)
+ Core L#0 (P#0)
+ PU L#0 (P#0)
+ L2Cache L#1 (size=256KB linesize=64 ways=8)
+ L1dCache L#1 (size=32KB linesize=64 ways=8)
+ L1iCache L#1 (size=32KB linesize=64 ways=8)
+ Core L#1 (P#1)
+ PU L#1 (P#1)
+ L2Cache L#2 (size=256KB linesize=64 ways=8)
+ L1dCache L#2 (size=32KB linesize=64 ways=8)
+ L1iCache L#2 (size=32KB linesize=64 ways=8)
+ Core L#2 (P#2)
+ PU L#2 (P#2)
+ L2Cache L#3 (size=256KB linesize=64 ways=8)
+ L1dCache L#3 (size=32KB linesize=64 ways=8)
+ L1iCache L#3 (size=32KB linesize=64 ways=8)
+ Core L#3 (P#3)
+ PU L#3 (P#3)
+ L2Cache L#4 (size=256KB linesize=64 ways=8)
+ L1dCache L#4 (size=32KB linesize=64 ways=8)
+ L1iCache L#4 (size=32KB linesize=64 ways=8)
+ Core L#4 (P#4)
+ PU L#4 (P#4)
+ L2Cache L#5 (size=256KB linesize=64 ways=8)
+ L1dCache L#5 (size=32KB linesize=64 ways=8)
+ L1iCache L#5 (size=32KB linesize=64 ways=8)
+ Core L#5 (P#5)
+ PU L#5 (P#5)
+ L2Cache L#6 (size=256KB linesize=64 ways=8)
+ L1dCache L#6 (size=32KB linesize=64 ways=8)
+ L1iCache L#6 (size=32KB linesize=64 ways=8)
+ Core L#6 (P#6)
+ PU L#6 (P#6)
+ L2Cache L#7 (size=256KB linesize=64 ways=8)
+ L1dCache L#7 (size=32KB linesize=64 ways=8)
+ L1iCache L#7 (size=32KB linesize=64 ways=8)
+ Core L#7 (P#7)
+ PU L#7 (P#7)
+ Bridge Host->PCI L#0 (P#0 buses=0000:[00-0a])
+ Bridge PCI->PCI (P#48 busid=0000:00:03.0 id=8086:3c08 class=0604(PCI_B) buses=0000:[01-02] PCIVendor="Intel Corporation" PCIDevice="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"
+ PCI 8086:1521 (P#4096 busid=0000:01:00.0 class=0200(Ether) PCIVendor="Intel Corporation" PCIDevice="I350 Gigabit Network Connection") "Intel Corporation I350 Gigabit Network Connection"
+ Network L#0 (Address=08:00:69:16:d0:b9) "eth0"
+ PCI 8086:1521 (P#4097 busid=0000:01:00.1 class=0200(Ether) PCIVendor="Intel Corporation" PCIDevice="I350 Gigabit Network Connection") "Intel Corporation I350 Gigabit Network Connection"
+ Network L#1 (Address=08:00:69:16:d0:ba) "eth1"
+ Bridge PCI->PCI (P#448 busid=0000:00:1c.0 id=8086:1d1e class=0604(PCI_B) buses=0000:[05-09] PCIVendor="Intel Corporation" PCIDevice="Patsburg PCI Express Root Port 8") "Intel Corporation Patsburg PCI Express Root Port 8"
+ Bridge PCI->PCI (P#20480 busid=0000:05:00.0 id=1912:0013 class=0604(PCI_B) buses=0000:[06-09] PCIVendor="Renesas Technology Corp." PCIDevice="SH7757 PCIe Switch [PS]") "Renesas Technology Corp. SH7757 PCIe Switch [PS]"
+ Bridge PCI->PCI (P#24576 busid=0000:06:00.0 id=1912:0013 class=0604(PCI_B) buses=0000:[07-08] PCIVendor="Renesas Technology Corp." PCIDevice="SH7757 PCIe Switch [PS]") "Renesas Technology Corp. SH7757 PCIe Switch [PS]"
+ Bridge PCI->PCI (P#28672 busid=0000:07:00.0 id=1912:0012 class=0604(PCI_B) buses=0000:[08-08] PCIVendor="Renesas Technology Corp." PCIDevice="SH7757 PCIe-PCI Bridge [PPB]") "Renesas Technology Corp. SH7757 PCIe-PCI Bridge [PPB]"
+ PCI 102b:0534 (P#32768 busid=0000:08:00.0 class=0300(VGA) PCIVendor="Matrox Graphics, Inc." PCIDevice=G200eR2) "Matrox Graphics, Inc. G200eR2"
+ PCI 8086:1d02 (P#498 busid=0000:00:1f.2 class=0106(SATA) PCIVendor="Intel Corporation" PCIDevice="Patsburg 6-Port SATA AHCI Controller") "Intel Corporation Patsburg 6-Port SATA AHCI Controller"
+ NUMANode L#1 (P#1 local=32489472KB total=32489472KB)
+ Package L#1 (P#1 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#1 (size=20480KB linesize=64 ways=20)
+ L2Cache L#8 (size=256KB linesize=64 ways=8)
+ L1dCache L#8 (size=32KB linesize=64 ways=8)
+ L1iCache L#8 (size=32KB linesize=64 ways=8)
+ Core L#8 (P#0)
+ PU L#8 (P#8)
+ L2Cache L#9 (size=256KB linesize=64 ways=8)
+ L1dCache L#9 (size=32KB linesize=64 ways=8)
+ L1iCache L#9 (size=32KB linesize=64 ways=8)
+ Core L#9 (P#1)
+ PU L#9 (P#9)
+ L2Cache L#10 (size=256KB linesize=64 ways=8)
+ L1dCache L#10 (size=32KB linesize=64 ways=8)
+ L1iCache L#10 (size=32KB linesize=64 ways=8)
+ Core L#10 (P#2)
+ PU L#10 (P#10)
+ L2Cache L#11 (size=256KB linesize=64 ways=8)
+ L1dCache L#11 (size=32KB linesize=64 ways=8)
+ L1iCache L#11 (size=32KB linesize=64 ways=8)
+ Core L#11 (P#3)
+ PU L#11 (P#11)
+ L2Cache L#12 (size=256KB linesize=64 ways=8)
+ L1dCache L#12 (size=32KB linesize=64 ways=8)
+ L1iCache L#12 (size=32KB linesize=64 ways=8)
+ Core L#12 (P#4)
+ PU L#12 (P#12)
+ L2Cache L#13 (size=256KB linesize=64 ways=8)
+ L1dCache L#13 (size=32KB linesize=64 ways=8)
+ L1iCache L#13 (size=32KB linesize=64 ways=8)
+ Core L#13 (P#5)
+ PU L#13 (P#13)
+ L2Cache L#14 (size=256KB linesize=64 ways=8)
+ L1dCache L#14 (size=32KB linesize=64 ways=8)
+ L1iCache L#14 (size=32KB linesize=64 ways=8)
+ Core L#14 (P#6)
+ PU L#14 (P#14)
+ L2Cache L#15 (size=256KB linesize=64 ways=8)
+ L1dCache L#15 (size=32KB linesize=64 ways=8)
+ L1iCache L#15 (size=32KB linesize=64 ways=8)
+ Core L#15 (P#7)
+ PU L#15 (P#15)
+ Bridge Host->PCI L#6 (P#1 buses=0001:[00-02])
+ Bridge PCI->PCI (P#1048624 busid=0001:00:03.0 id=8086:3c08 class=0604(PCI_B) buses=0001:[02-02] PCIVendor="Intel Corporation" PCIDevice="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"
+ PCI 1000:0079 (P#1056768 busid=0001:02:00.0 class=0104(RAID) PCIVendor="LSI Logic / Symbios Logic" PCIDevice="MegaRAID SAS 2108 [Liberator]") "LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator]"
+ Block L#2 (LinuxDeviceID=8:0) "sda"
+ Group0 L#1 (total=64978944KB)
+ NUMANode L#2 (P#2 local=32489472KB total=32489472KB)
+ Package L#2 (P#2 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#2 (size=20480KB linesize=64 ways=20)
+ L2Cache L#16 (size=256KB linesize=64 ways=8)
+ L1dCache L#16 (size=32KB linesize=64 ways=8)
+ L1iCache L#16 (size=32KB linesize=64 ways=8)
+ Core L#16 (P#0)
+ PU L#16 (P#16) (forbidden)
+ L2Cache L#17 (size=256KB linesize=64 ways=8)
+ L1dCache L#17 (size=32KB linesize=64 ways=8)
+ L1iCache L#17 (size=32KB linesize=64 ways=8)
+ Core L#17 (P#1)
+ PU L#17 (P#17) (forbidden)
+ L2Cache L#18 (size=256KB linesize=64 ways=8)
+ L1dCache L#18 (size=32KB linesize=64 ways=8)
+ L1iCache L#18 (size=32KB linesize=64 ways=8)
+ Core L#18 (P#2)
+ PU L#18 (P#18) (forbidden)
+ L2Cache L#19 (size=256KB linesize=64 ways=8)
+ L1dCache L#19 (size=32KB linesize=64 ways=8)
+ L1iCache L#19 (size=32KB linesize=64 ways=8)
+ Core L#19 (P#3)
+ PU L#19 (P#19) (forbidden)
+ L2Cache L#20 (size=256KB linesize=64 ways=8)
+ L1dCache L#20 (size=32KB linesize=64 ways=8)
+ L1iCache L#20 (size=32KB linesize=64 ways=8)
+ Core L#20 (P#4)
+ PU L#20 (P#20) (forbidden)
+ L2Cache L#21 (size=256KB linesize=64 ways=8)
+ L1dCache L#21 (size=32KB linesize=64 ways=8)
+ L1iCache L#21 (size=32KB linesize=64 ways=8)
+ Core L#21 (P#5)
+ PU L#21 (P#21) (forbidden)
+ L2Cache L#22 (size=256KB linesize=64 ways=8)
+ L1dCache L#22 (size=32KB linesize=64 ways=8)
+ L1iCache L#22 (size=32KB linesize=64 ways=8)
+ Core L#22 (P#6)
+ PU L#22 (P#22) (forbidden)
+ L2Cache L#23 (size=256KB linesize=64 ways=8)
+ L1dCache L#23 (size=32KB linesize=64 ways=8)
+ L1iCache L#23 (size=32KB linesize=64 ways=8)
+ Core L#23 (P#7)
+ PU L#23 (P#23) (forbidden)
+ NUMANode L#3 (P#3 local=32489472KB total=32489472KB)
+ Package L#3 (P#3 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#3 (size=20480KB linesize=64 ways=20)
+ L2Cache L#24 (size=256KB linesize=64 ways=8)
+ L1dCache L#24 (size=32KB linesize=64 ways=8)
+ L1iCache L#24 (size=32KB linesize=64 ways=8)
+ Core L#24 (P#0)
+ PU L#24 (P#24) (forbidden)
+ L2Cache L#25 (size=256KB linesize=64 ways=8)
+ L1dCache L#25 (size=32KB linesize=64 ways=8)
+ L1iCache L#25 (size=32KB linesize=64 ways=8)
+ Core L#25 (P#1)
+ PU L#25 (P#25) (forbidden)
+ L2Cache L#26 (size=256KB linesize=64 ways=8)
+ L1dCache L#26 (size=32KB linesize=64 ways=8)
+ L1iCache L#26 (size=32KB linesize=64 ways=8)
+ Core L#26 (P#2)
+ PU L#26 (P#26) (forbidden)
+ L2Cache L#27 (size=256KB linesize=64 ways=8)
+ L1dCache L#27 (size=32KB linesize=64 ways=8)
+ L1iCache L#27 (size=32KB linesize=64 ways=8)
+ Core L#27 (P#3)
+ PU L#27 (P#27) (forbidden)
+ L2Cache L#28 (size=256KB linesize=64 ways=8)
+ L1dCache L#28 (size=32KB linesize=64 ways=8)
+ L1iCache L#28 (size=32KB linesize=64 ways=8)
+ Core L#28 (P#4)
+ PU L#28 (P#28) (forbidden)
+ L2Cache L#29 (size=256KB linesize=64 ways=8)
+ L1dCache L#29 (size=32KB linesize=64 ways=8)
+ L1iCache L#29 (size=32KB linesize=64 ways=8)
+ Core L#29 (P#5)
+ PU L#29 (P#29) (forbidden)
+ L2Cache L#30 (size=256KB linesize=64 ways=8)
+ L1dCache L#30 (size=32KB linesize=64 ways=8)
+ L1iCache L#30 (size=32KB linesize=64 ways=8)
+ Core L#30 (P#6)
+ PU L#30 (P#30) (forbidden)
+ L2Cache L#31 (size=256KB linesize=64 ways=8)
+ L1dCache L#31 (size=32KB linesize=64 ways=8)
+ L1iCache L#31 (size=32KB linesize=64 ways=8)
+ Core L#31 (P#7)
+ PU L#31 (P#31) (forbidden)
+ NUMANode L#4 (P#4 local=32489472KB total=32489472KB)
+ Package L#4 (P#4 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#4 (size=20480KB linesize=64 ways=20)
+ L2Cache L#32 (size=256KB linesize=64 ways=8)
+ L1dCache L#32 (size=32KB linesize=64 ways=8)
+ L1iCache L#32 (size=32KB linesize=64 ways=8)
+ Core L#32 (P#0)
+ PU L#32 (P#32) (forbidden)
+ L2Cache L#33 (size=256KB linesize=64 ways=8)
+ L1dCache L#33 (size=32KB linesize=64 ways=8)
+ L1iCache L#33 (size=32KB linesize=64 ways=8)
+ Core L#33 (P#1)
+ PU L#33 (P#33) (forbidden)
+ L2Cache L#34 (size=256KB linesize=64 ways=8)
+ L1dCache L#34 (size=32KB linesize=64 ways=8)
+ L1iCache L#34 (size=32KB linesize=64 ways=8)
+ Core L#34 (P#2)
+ PU L#34 (P#34) (forbidden)
+ L2Cache L#35 (size=256KB linesize=64 ways=8)
+ L1dCache L#35 (size=32KB linesize=64 ways=8)
+ L1iCache L#35 (size=32KB linesize=64 ways=8)
+ Core L#35 (P#3)
+ PU L#35 (P#35) (forbidden)
+ L2Cache L#36 (size=256KB linesize=64 ways=8)
+ L1dCache L#36 (size=32KB linesize=64 ways=8)
+ L1iCache L#36 (size=32KB linesize=64 ways=8)
+ Core L#36 (P#4)
+ PU L#36 (P#36) (forbidden)
+ L2Cache L#37 (size=256KB linesize=64 ways=8)
+ L1dCache L#37 (size=32KB linesize=64 ways=8)
+ L1iCache L#37 (size=32KB linesize=64 ways=8)
+ Core L#37 (P#5)
+ PU L#37 (P#37) (forbidden)
+ L2Cache L#38 (size=256KB linesize=64 ways=8)
+ L1dCache L#38 (size=32KB linesize=64 ways=8)
+ L1iCache L#38 (size=32KB linesize=64 ways=8)
+ Core L#38 (P#6)
+ PU L#38 (P#38) (forbidden)
+ L2Cache L#39 (size=256KB linesize=64 ways=8)
+ L1dCache L#39 (size=32KB linesize=64 ways=8)
+ L1iCache L#39 (size=32KB linesize=64 ways=8)
+ Core L#39 (P#7)
+ PU L#39 (P#39) (forbidden)
+ Bridge Host->PCI L#8 (P#2 buses=0002:[00-01])
+ Bridge PCI->PCI (P#2097200 busid=0002:00:03.0 id=8086:3c08 class=0604(PCI_B) buses=0002:[01-01] PCIVendor="Intel Corporation" PCIDevice="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"
+ PCI 10de:11ba (P#2101248 busid=0002:01:00.0 class=0300(VGA) PCIVendor="nVidia Corporation") "nVidia Corporation"
+ Group0 L#2 (total=64978944KB)
+ NUMANode L#5 (P#5 local=32489472KB total=32489472KB)
+ Package L#5 (P#6 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#5 (size=20480KB linesize=64 ways=20)
+ L2Cache L#40 (size=256KB linesize=64 ways=8)
+ L1dCache L#40 (size=32KB linesize=64 ways=8)
+ L1iCache L#40 (size=32KB linesize=64 ways=8)
+ Core L#40 (P#0)
+ PU L#40 (P#40) (forbidden)
+ L2Cache L#41 (size=256KB linesize=64 ways=8)
+ L1dCache L#41 (size=32KB linesize=64 ways=8)
+ L1iCache L#41 (size=32KB linesize=64 ways=8)
+ Core L#41 (P#1)
+ PU L#41 (P#41) (forbidden)
+ L2Cache L#42 (size=256KB linesize=64 ways=8)
+ L1dCache L#42 (size=32KB linesize=64 ways=8)
+ L1iCache L#42 (size=32KB linesize=64 ways=8)
+ Core L#42 (P#2)
+ PU L#42 (P#42) (forbidden)
+ L2Cache L#43 (size=256KB linesize=64 ways=8)
+ L1dCache L#43 (size=32KB linesize=64 ways=8)
+ L1iCache L#43 (size=32KB linesize=64 ways=8)
+ Core L#43 (P#3)
+ PU L#43 (P#43) (forbidden)
+ L2Cache L#44 (size=256KB linesize=64 ways=8)
+ L1dCache L#44 (size=32KB linesize=64 ways=8)
+ L1iCache L#44 (size=32KB linesize=64 ways=8)
+ Core L#44 (P#4)
+ PU L#44 (P#44) (forbidden)
+ L2Cache L#45 (size=256KB linesize=64 ways=8)
+ L1dCache L#45 (size=32KB linesize=64 ways=8)
+ L1iCache L#45 (size=32KB linesize=64 ways=8)
+ Core L#45 (P#5)
+ PU L#45 (P#45) (forbidden)
+ L2Cache L#46 (size=256KB linesize=64 ways=8)
+ L1dCache L#46 (size=32KB linesize=64 ways=8)
+ L1iCache L#46 (size=32KB linesize=64 ways=8)
+ Core L#46 (P#6)
+ PU L#46 (P#46) (forbidden)
+ L2Cache L#47 (size=256KB linesize=64 ways=8)
+ L1dCache L#47 (size=32KB linesize=64 ways=8)
+ L1iCache L#47 (size=32KB linesize=64 ways=8)
+ Core L#47 (P#7)
+ PU L#47 (P#47) (forbidden)
+ Bridge Host->PCI L#10 (P#3 buses=0003:[00-02])
+ Bridge PCI->PCI (P#3145776 busid=0003:00:03.0 id=8086:3c08 class=0604(PCI_B) buses=0003:[01-02] PCIVendor="Intel Corporation" PCIDevice="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"
+ PCI 1000:0072 (P#3149824 busid=0003:01:00.0 class=0107(SAS) PCIVendor="LSI Logic / Symbios Logic" PCIDevice="SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]") "LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]"
+ NUMANode L#6 (P#6 local=32489472KB total=32489472KB)
+ Package L#6 (P#7 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#6 (size=20480KB linesize=64 ways=20)
+ L2Cache L#48 (size=256KB linesize=64 ways=8)
+ L1dCache L#48 (size=32KB linesize=64 ways=8)
+ L1iCache L#48 (size=32KB linesize=64 ways=8)
+ Core L#48 (P#0)
+ PU L#48 (P#48) (forbidden)
+ L2Cache L#49 (size=256KB linesize=64 ways=8)
+ L1dCache L#49 (size=32KB linesize=64 ways=8)
+ L1iCache L#49 (size=32KB linesize=64 ways=8)
+ Core L#49 (P#1)
+ PU L#49 (P#49) (forbidden)
+ L2Cache L#50 (size=256KB linesize=64 ways=8)
+ L1dCache L#50 (size=32KB linesize=64 ways=8)
+ L1iCache L#50 (size=32KB linesize=64 ways=8)
+ Core L#50 (P#2)
+ PU L#50 (P#50) (forbidden)
+ L2Cache L#51 (size=256KB linesize=64 ways=8)
+ L1dCache L#51 (size=32KB linesize=64 ways=8)
+ L1iCache L#51 (size=32KB linesize=64 ways=8)
+ Core L#51 (P#3)
+ PU L#51 (P#51) (forbidden)
+ L2Cache L#52 (size=256KB linesize=64 ways=8)
+ L1dCache L#52 (size=32KB linesize=64 ways=8)
+ L1iCache L#52 (size=32KB linesize=64 ways=8)
+ Core L#52 (P#4)
+ PU L#52 (P#52) (forbidden)
+ L2Cache L#53 (size=256KB linesize=64 ways=8)
+ L1dCache L#53 (size=32KB linesize=64 ways=8)
+ L1iCache L#53 (size=32KB linesize=64 ways=8)
+ Core L#53 (P#5)
+ PU L#53 (P#53) (forbidden)
+ L2Cache L#54 (size=256KB linesize=64 ways=8)
+ L1dCache L#54 (size=32KB linesize=64 ways=8)
+ L1iCache L#54 (size=32KB linesize=64 ways=8)
+ Core L#54 (P#6)
+ PU L#54 (P#54) (forbidden)
+ L2Cache L#55 (size=256KB linesize=64 ways=8)
+ L1dCache L#55 (size=32KB linesize=64 ways=8)
+ L1iCache L#55 (size=32KB linesize=64 ways=8)
+ Core L#55 (P#7)
+ PU L#55 (P#55) (forbidden)
+ NUMANode L#7 (P#7 local=32489472KB total=32489472KB)
+ Package L#7 (P#8 CPUVendor=GenuineIntel CPUFamilyNumber=6 CPUModelNumber=45 CPUModel="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz" CPUStepping=7)
+ L3Cache L#7 (size=20480KB linesize=64 ways=20)
+ L2Cache L#56 (size=256KB linesize=64 ways=8)
+ L1dCache L#56 (size=32KB linesize=64 ways=8)
+ L1iCache L#56 (size=32KB linesize=64 ways=8)
+ Core L#56 (P#0)
+ PU L#56 (P#56) (forbidden)
+ L2Cache L#57 (size=256KB linesize=64 ways=8)
+ L1dCache L#57 (size=32KB linesize=64 ways=8)
+ L1iCache L#57 (size=32KB linesize=64 ways=8)
+ Core L#57 (P#1)
+ PU L#57 (P#57) (forbidden)
+ L2Cache L#58 (size=256KB linesize=64 ways=8)
+ L1dCache L#58 (size=32KB linesize=64 ways=8)
+ L1iCache L#58 (size=32KB linesize=64 ways=8)
+ Core L#58 (P#2)
+ PU L#58 (P#58) (forbidden)
+ L2Cache L#59 (size=256KB linesize=64 ways=8)
+ L1dCache L#59 (size=32KB linesize=64 ways=8)
+ L1iCache L#59 (size=32KB linesize=64 ways=8)
+ Core L#59 (P#3)
+ PU L#59 (P#59) (forbidden)
+ L2Cache L#60 (size=256KB linesize=64 ways=8)
+ L1dCache L#60 (size=32KB linesize=64 ways=8)
+ L1iCache L#60 (size=32KB linesize=64 ways=8)
+ Core L#60 (P#4)
+ PU L#60 (P#60) (forbidden)
+ L2Cache L#61 (size=256KB linesize=64 ways=8)
+ L1dCache L#61 (size=32KB linesize=64 ways=8)
+ L1iCache L#61 (size=32KB linesize=64 ways=8)
+ Core L#61 (P#5)
+ PU L#61 (P#61) (forbidden)
+ L2Cache L#62 (size=256KB linesize=64 ways=8)
+ L1dCache L#62 (size=32KB linesize=64 ways=8)
+ L1iCache L#62 (size=32KB linesize=64 ways=8)
+ Core L#62 (P#6)
+ PU L#62 (P#62) (forbidden)
+ L2Cache L#63 (size=256KB linesize=64 ways=8)
+ L1dCache L#63 (size=32KB linesize=64 ways=8)
+ L1iCache L#63 (size=32KB linesize=64 ways=8)
+ Core L#63 (P#7)
+ PU L#63 (P#63) (forbidden)
+ Bridge Host->PCI L#12 (P#4 buses=0004:[00-01])
+ Bridge PCI->PCI (P#4194352 busid=0004:00:03.0 id=8086:3c08 class=0604(PCI_B) buses=0004:[01-01] PCIVendor="Intel Corporation" PCIDevice="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode") "Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"
+ PCI 10de:11ba (P#4198400 busid=0004:01:00.0 class=0300(VGA) PCIVendor="nVidia Corporation") "nVidia Corporation"
+depth 0: 1 Machine (type #1)
+ depth 1: 3 Group0 (type #7)
+ depth 2: 8 NUMANode (type #2)
+ depth 3: 8 Package (type #3)
+ depth 4: 8 L3Cache (type #4)
+ depth 5: 64 L2Cache (type #4)
+ depth 6: 64 L1dCache (type #4)
+ depth 7: 64 L1iCache (type #4)
+ depth 8: 64 Core (type #5)
+ depth 9: 64 PU (type #6)
+Special depth -3: 14 Bridge (type #9)
+Special depth -4: 8 PCI Device (type #10)
+Special depth -5: 3 OS Device (type #11)
+relative latency matrix between NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3 4 5 6 7
+ 0 1.000 5.000 6.500 6.500 6.500 6.500 6.500 6.500
+ 1 5.000 1.000 6.500 6.500 6.500 6.500 6.500 6.500
+ 2 6.500 6.500 1.000 5.000 6.500 6.500 6.500 7.900
+ 3 6.500 6.500 5.000 1.000 6.500 6.500 6.500 7.900
+ 4 6.500 6.500 6.500 6.500 1.000 6.500 6.500 6.500
+ 5 6.500 6.500 6.500 6.500 6.500 1.000 5.000 7.900
+ 6 6.500 6.500 6.500 6.500 6.500 5.000 1.000 7.900
+ 7 6.500 6.500 7.900 7.900 6.500 7.900 7.900 1.000
+48 processors online but not allowed: 0xffffffff,0xffff0000
+Topology not from this system
--- /dev/null
+64intel64-3g2n+2n-irregulargroups+pci.xml
--- /dev/null
+--whole-system
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff,0xffffffff" complete_cpuset="0xffffffff,0xffffffff" online_cpuset="0xffffffff,0xffffffff" allowed_cpuset="0x0000ffff" nodeset="0x000000ff" complete_nodeset="0x000000ff" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="UV2000"/>
+ <info name="DMIProductVersion" value="SGI"/>
+ <info name="DMIBoardVendor" value="Intel Corp."/>
+ <info name="DMIBoardName" value="ROMLEY"/>
+ <info name="DMIBoardVersion" value="E63448-400"/>
+ <info name="DMIBoardAssetTag" value="Base Board Asset Tag"/>
+ <info name="DMIChassisVendor" value="Intel Corporation"/>
+ <info name="DMIChassisType" value="23"/>
+ <info name="DMIChassisVersion" value="0.1"/>
+ <info name="DMIChassisAssetTag" value="Chassis Asset Tag"/>
+ <info name="DMIBIOSVendor" value="Silicon Graphics International Corp."/>
+ <info name="DMIBIOSVersion" value="SGI UV 2000/3000 series BIOS"/>
+ <info name="DMIBIOSDate" value="01/15/2013"/>
+ <info name="DMISysVendor" value="SGI"/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/boot"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.0.80-0.7-default"/>
+ <info name="OSVersion" value="#1 SMP Tue Jun 25 18:32:49 UTC 2013 (25740f8)"/>
+ <info name="HostName" value="condor"/>
+ <info name="Architecture" value="x86_64"/>
+ <info name="hwlocVersion" value="2.0.0a1-git"/>
+ <info name="ProcessName" value="lstopo-no-graphics"/>
+ <distances nbobjs="8" relative_depth="2" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="1.000000"/>
+ <latency value="5.000000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="5.000000"/>
+ <latency value="1.000000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="6.500000"/>
+ <latency value="7.900000"/>
+ <latency value="7.900000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="Group" cpuset="0x0000ffff" complete_cpuset="0x0000ffff" online_cpuset="0x0000ffff" allowed_cpuset="0x0000ffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003" depth="0">
+ <object type="NUMANode" os_index="0" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="33243172864">
+ <page_type size="4096" count="8116009"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0x000000ff" complete_cpuset="0x000000ff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-0a]">
+ <object type="Bridge" os_index="48" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0000:[01-02]" pci_busid="0000:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4096" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.0" pci_type="0200 [8086:1521] [10a9:802a] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="08:00:69:16:d0:b9"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="4097" name="Intel Corporation I350 Gigabit Network Connection" pci_busid="0000:01:00.1" pci_type="0200 [8086:1521] [10a9:802a] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="I350 Gigabit Network Connection"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="08:00:69:16:d0:ba"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="448" name="Intel Corporation Patsburg PCI Express Root Port 8" bridge_type="1-1" depth="1" bridge_pci="0000:[05-09]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:1d1e] [0000:0000] b6" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg PCI Express Root Port 8"/>
+ <object type="Bridge" os_index="20480" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="2" bridge_pci="0000:[06-09]" pci_busid="0000:05:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="24576" name="Renesas Technology Corp. SH7757 PCIe Switch [PS]" bridge_type="1-1" depth="3" bridge_pci="0000:[07-08]" pci_busid="0000:06:00.0" pci_type="0604 [1912:0013] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe Switch [PS]"/>
+ <object type="Bridge" os_index="28672" name="Renesas Technology Corp. SH7757 PCIe-PCI Bridge [PPB]" bridge_type="1-1" depth="4" bridge_pci="0000:[08-08]" pci_busid="0000:07:00.0" pci_type="0604 [1912:0012] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Renesas Technology Corp."/>
+ <info name="PCIDevice" value="SH7757 PCIe-PCI Bridge [PPB]"/>
+ <object type="PCIDev" os_index="32768" name="Matrox Graphics, Inc. G200eR2" pci_busid="0000:08:00.0" pci_type="0300 [102b:0534] [0000:0000] 00" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Matrox Graphics, Inc."/>
+ <info name="PCIDevice" value="G200eR2"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation Patsburg 6-Port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:1d02] [10a9:7270] 06" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Patsburg 6-Port SATA AHCI Controller"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0x0000ff00" complete_cpuset="0x0000ff00" online_cpuset="0x0000ff00" allowed_cpuset="0x0000ff00" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0001:[00-02]">
+ <object type="Bridge" os_index="1048624" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0001:[02-02]" pci_busid="0001:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="1056768" name="LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator]" pci_busid="0001:02:00.0" pci_type="0104 [1000:0079] [1000:9280] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="MegaRAID SAS 2108 [Liberator]"/>
+ <object type="OSDev" name="sda" osdev_type="0">
+ <info name="LinuxDeviceID" value="8:0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0xffff0000" complete_cpuset="0xffff0000" online_cpuset="0xffff0000" allowed_cpuset="0x0" nodeset="0x0000000c" complete_nodeset="0x0000000c" allowed_nodeset="0x0" depth="0">
+ <object type="NUMANode" os_index="2" cpuset="0x00ff0000" complete_cpuset="0x00ff0000" online_cpuset="0x00ff0000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="2" cpuset="0x00ff0000" complete_cpuset="0x00ff0000" online_cpuset="0x00ff0000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0x00ff0000" complete_cpuset="0x00ff0000" online_cpuset="0x00ff0000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0">
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0xff000000" complete_cpuset="0xff000000" online_cpuset="0xff000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="3" cpuset="0xff000000" complete_cpuset="0xff000000" online_cpuset="0xff000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0xff000000" complete_cpuset="0xff000000" online_cpuset="0xff000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0">
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="4" cpuset="0x000000ff,0x0" complete_cpuset="0x000000ff,0x0" online_cpuset="0x000000ff,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="4" cpuset="0x000000ff,0x0" complete_cpuset="0x000000ff,0x0" online_cpuset="0x000000ff,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0x000000ff,0x0" complete_cpuset="0x000000ff,0x0" online_cpuset="0x000000ff,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="32" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="33" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="34" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="35" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="36" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="37" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="38" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0">
+ <object type="PU" os_index="39" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x0" nodeset="0x00000010" complete_nodeset="0x00000010" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="2" bridge_type="0-1" depth="0" bridge_pci="0002:[00-01]">
+ <object type="Bridge" os_index="2097200" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0002:[01-01]" pci_busid="0002:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="2101248" name="nVidia Corporation" pci_busid="0002:01:00.0" pci_type="0300 [10de:11ba] [10de:0965] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="nVidia Corporation"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Group" cpuset="0x00ffff00,0x0" complete_cpuset="0x00ffff00,0x0" online_cpuset="0x00ffff00,0x0" allowed_cpuset="0x0" nodeset="0x00000060" complete_nodeset="0x00000060" allowed_nodeset="0x0" depth="0">
+ <object type="NUMANode" os_index="5" cpuset="0x0000ff00,0x0" complete_cpuset="0x0000ff00,0x0" online_cpuset="0x0000ff00,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="6" cpuset="0x0000ff00,0x0" complete_cpuset="0x0000ff00,0x0" online_cpuset="0x0000ff00,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0x0000ff00,0x0" complete_cpuset="0x0000ff00,0x0" online_cpuset="0x0000ff00,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="40" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="41" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="42" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="43" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="44" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="45" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="46" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0">
+ <object type="PU" os_index="47" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x0" nodeset="0x00000020" complete_nodeset="0x00000020" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="3" bridge_type="0-1" depth="0" bridge_pci="0003:[00-02]">
+ <object type="Bridge" os_index="3145776" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0003:[01-02]" pci_busid="0003:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="3149824" name="LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]" pci_busid="0003:01:00.0" pci_type="0107 [1000:0072] [1000:3080] 03" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="6" cpuset="0x00ff0000,0x0" complete_cpuset="0x00ff0000,0x0" online_cpuset="0x00ff0000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="7" cpuset="0x00ff0000,0x0" complete_cpuset="0x00ff0000,0x0" online_cpuset="0x00ff0000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0x00ff0000,0x0" complete_cpuset="0x00ff0000,0x0" online_cpuset="0x00ff0000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="48" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="49" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="50" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="51" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="52" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="53" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="54" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0">
+ <object type="PU" os_index="55" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x0" nodeset="0x00000040" complete_nodeset="0x00000040" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="7" cpuset="0xff000000,0x0" complete_cpuset="0xff000000,0x0" online_cpuset="0xff000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" local_memory="33269219328">
+ <page_type size="4096" count="8122368"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="8" cpuset="0xff000000,0x0" complete_cpuset="0xff000000,0x0" online_cpuset="0xff000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <info name="CPUVendor" value="GenuineIntel"/>
+ <info name="CPUFamilyNumber" value="6"/>
+ <info name="CPUModelNumber" value="45"/>
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz"/>
+ <info name="CPUStepping" value="7"/>
+ <object type="Cache" cpuset="0xff000000,0x0" complete_cpuset="0xff000000,0x0" online_cpuset="0xff000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="20971520" depth="3" cache_linesize="64" cache_associativity="20" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="56" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="57" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="58" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="59" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="4" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="60" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="5" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="61" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="6" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="62" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="2">
+ <object type="Core" os_index="7" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0">
+ <object type="PU" os_index="63" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x0" nodeset="0x00000080" complete_nodeset="0x00000080" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="4" bridge_type="0-1" depth="0" bridge_pci="0004:[00-01]">
+ <object type="Bridge" os_index="4194352" name="Intel Corporation Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode" bridge_type="1-1" depth="1" bridge_pci="0004:[01-01]" pci_busid="0004:00:03.0" pci_type="0604 [8086:3c08] [0000:0000] 07" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Sandy Bridge IIO PCI Express Root Port 3a in PCI Express Mode"/>
+ <object type="PCIDev" os_index="4198400" name="nVidia Corporation" pci_busid="0004:01:00.0" pci_type="0300 [10de:11ba] [10de:0965] a1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="nVidia Corporation"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0xffffffff,0xffffffff,0xffffffff" complete_cpuset="0xffffffff,0xffffffff,0xffffffff" online_cpuset="0xffffffff,0xffffffff,0xffffffff" allowed_cpuset="0xffffffff,0xffffffff,0xffffffff" nodeset="0x0000000f" complete_nodeset="0x0000000f" allowed_nodeset="0x0000000f">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="IBM 3850 M2 / x3950 M2 -[72336SG]-"/>
+ <info name="DMIProductVersion" value=""/>
+ <info name="DMIBoardVendor" value="IBM"/>
+ <info name="DMIBoardName" value="Node1 Processor Card"/>
+ <info name="DMIBoardVersion" value=""/>
+ <info name="DMIBoardAssetTag" value=""/>
+ <info name="DMIChassisVendor" value="IBM"/>
+ <info name="DMIChassisType" value="17"/>
+ <info name="DMIChassisVersion" value=""/>
+ <info name="DMIChassisAssetTag" value=" "/>
+ <info name="DMIBIOSVendor" value="IBM"/>
+ <info name="DMIBIOSVersion" value="-[A3E164AUS-1.11]-"/>
+ <info name="DMIBIOSDate" value="04/01/2009"/>
+ <info name="DMISysVendor" value="IBM"/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="2.6.32-5-amd64"/>
+ <info name="OSVersion" value="#1 SMP Tue Jun 14 09:42:28 UTC 2011"/>
+ <info name="HostName" value="bertha"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="4" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="1.000000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="1.000000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="2.600000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00ffffff" complete_cpuset="0x00ffffff" online_cpuset="0x00ffffff" allowed_cpuset="0x00ffffff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="51269931008">
+ <page_type size="4096" count="12517073"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x00111111" complete_cpuset="0x00111111" online_cpuset="0x00111111" allowed_cpuset="0x00111111" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" cpuset="0x00111111" complete_cpuset="0x00111111" online_cpuset="0x00111111" allowed_cpuset="0x00111111" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000011" complete_cpuset="0x00000011" online_cpuset="0x00000011" allowed_cpuset="0x00000011" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001100" complete_cpuset="0x00001100" online_cpuset="0x00001100" allowed_cpuset="0x00001100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00110000" complete_cpuset="0x00110000" online_cpuset="0x00110000" allowed_cpuset="0x00110000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="0" cpuset="0x00222222" complete_cpuset="0x00222222" online_cpuset="0x00222222" allowed_cpuset="0x00222222" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" cpuset="0x00222222" complete_cpuset="0x00222222" online_cpuset="0x00222222" allowed_cpuset="0x00222222" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000022" complete_cpuset="0x00000022" online_cpuset="0x00000022" allowed_cpuset="0x00000022" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002200" complete_cpuset="0x00002200" online_cpuset="0x00002200" allowed_cpuset="0x00002200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00220000" complete_cpuset="0x00220000" online_cpuset="0x00220000" allowed_cpuset="0x00220000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="2" cpuset="0x00444444" complete_cpuset="0x00444444" online_cpuset="0x00444444" allowed_cpuset="0x00444444" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" cpuset="0x00444444" complete_cpuset="0x00444444" online_cpuset="0x00444444" allowed_cpuset="0x00444444" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000044" complete_cpuset="0x00000044" online_cpuset="0x00000044" allowed_cpuset="0x00000044" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004400" complete_cpuset="0x00004400" online_cpuset="0x00004400" allowed_cpuset="0x00004400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00440000" complete_cpuset="0x00440000" online_cpuset="0x00440000" allowed_cpuset="0x00440000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="3" cpuset="0x00888888" complete_cpuset="0x00888888" online_cpuset="0x00888888" allowed_cpuset="0x00888888" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" cpuset="0x00888888" complete_cpuset="0x00888888" online_cpuset="0x00888888" allowed_cpuset="0x00888888" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000088" complete_cpuset="0x00000088" online_cpuset="0x00000088" allowed_cpuset="0x00000088" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008800" complete_cpuset="0x00008800" online_cpuset="0x00008800" allowed_cpuset="0x00008800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00880000" complete_cpuset="0x00880000" online_cpuset="0x00880000" allowed_cpuset="0x00880000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-02]">
+ <object type="Bridge" os_index="448" name="Intel Corporation N10/ICH 7 Family PCI Express Port 1" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:1c.0" pci_type="0604 [8086:27d0] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="N10/ICH 7 Family PCI Express Port 1"/>
+ <object type="PCIDev" os_index="8192" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:02:00.0" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:8e:04"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="8193" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:02:00.1" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:8e:06"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="480" name="Intel Corporation 82801 PCI Bridge" bridge_type="1-1" depth="1" bridge_pci="0000:[01-01]" pci_busid="0000:00:1e.0" pci_type="0604 [8086:244e] [0000:0000] e1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801 PCI Bridge"/>
+ <object type="PCIDev" os_index="4096" name="ATI Technologies Inc ES1000" pci_busid="0000:01:00.0" pci_type="0300 [1002:515e] [0014:0019] 02" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="ATI Technologies Inc"/>
+ <info name="PCIDevice" value="ES1000"/>
+ <object type="OSDev" name="card0" osdev_type="1"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation N10/ICH7 Family SATA IDE Controller" pci_busid="0000:00:1f.2" pci_type="0101 [8086:27c0] [0014:0081] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="N10/ICH7 Family SATA IDE Controller"/>
+ <object type="OSDev" name="sr0" osdev_type="0"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="1" bridge_type="0-1" depth="0" bridge_pci="0000:[03-04]">
+ <object type="Bridge" os_index="12288" name="IBM CalIOC2 PCI-E Root Port" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:03:00.0" pci_type="0604 [1014:0308] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="IBM"/>
+ <info name="PCIDevice" value="CalIOC2 PCI-E Root Port"/>
+ <object type="PCIDev" os_index="16384" name="LSI Logic / Symbios Logic SAS1078 PCI-Express Fusion-MPT SAS" pci_busid="0000:04:00.0" pci_type="0100 [1000:0062] [0014:0066] 04" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS1078 PCI-Express Fusion-MPT SAS"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x0000ffff,0xff000000" complete_cpuset="0x0000ffff,0xff000000" online_cpuset="0x0000ffff,0xff000000" allowed_cpuset="0x0000ffff,0xff000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="51271172096">
+ <page_type size="4096" count="12517376"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="4" cpuset="0x00001111,0x11000000" complete_cpuset="0x00001111,0x11000000" online_cpuset="0x00001111,0x11000000" allowed_cpuset="0x00001111,0x11000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" cpuset="0x00001111,0x11000000" complete_cpuset="0x00001111,0x11000000" online_cpuset="0x00001111,0x11000000" allowed_cpuset="0x00001111,0x11000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x11000000" complete_cpuset="0x11000000" online_cpuset="0x11000000" allowed_cpuset="0x11000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="24" cpuset="0x01000000" complete_cpuset="0x01000000" online_cpuset="0x01000000" allowed_cpuset="0x01000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="28" cpuset="0x10000000" complete_cpuset="0x10000000" online_cpuset="0x10000000" allowed_cpuset="0x10000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000011,0x0" complete_cpuset="0x00000011,0x0" online_cpuset="0x00000011,0x0" allowed_cpuset="0x00000011,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="32" cpuset="0x00000001,0x0" complete_cpuset="0x00000001,0x0" online_cpuset="0x00000001,0x0" allowed_cpuset="0x00000001,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="36" cpuset="0x00000010,0x0" complete_cpuset="0x00000010,0x0" online_cpuset="0x00000010,0x0" allowed_cpuset="0x00000010,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001100,0x0" complete_cpuset="0x00001100,0x0" online_cpuset="0x00001100,0x0" allowed_cpuset="0x00001100,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x00000100,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x00000100,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="40" cpuset="0x00000100,0x0" complete_cpuset="0x00000100,0x0" online_cpuset="0x00000100,0x0" allowed_cpuset="0x00000100,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x00001000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x00001000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="44" cpuset="0x00001000,0x0" complete_cpuset="0x00001000,0x0" online_cpuset="0x00001000,0x0" allowed_cpuset="0x00001000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="5" cpuset="0x00002222,0x22000000" complete_cpuset="0x00002222,0x22000000" online_cpuset="0x00002222,0x22000000" allowed_cpuset="0x00002222,0x22000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" cpuset="0x00002222,0x22000000" complete_cpuset="0x00002222,0x22000000" online_cpuset="0x00002222,0x22000000" allowed_cpuset="0x00002222,0x22000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x22000000" complete_cpuset="0x22000000" online_cpuset="0x22000000" allowed_cpuset="0x22000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="25" cpuset="0x02000000" complete_cpuset="0x02000000" online_cpuset="0x02000000" allowed_cpuset="0x02000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="29" cpuset="0x20000000" complete_cpuset="0x20000000" online_cpuset="0x20000000" allowed_cpuset="0x20000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000022,0x0" complete_cpuset="0x00000022,0x0" online_cpuset="0x00000022,0x0" allowed_cpuset="0x00000022,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="33" cpuset="0x00000002,0x0" complete_cpuset="0x00000002,0x0" online_cpuset="0x00000002,0x0" allowed_cpuset="0x00000002,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="37" cpuset="0x00000020,0x0" complete_cpuset="0x00000020,0x0" online_cpuset="0x00000020,0x0" allowed_cpuset="0x00000020,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002200,0x0" complete_cpuset="0x00002200,0x0" online_cpuset="0x00002200,0x0" allowed_cpuset="0x00002200,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x00000200,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x00000200,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="41" cpuset="0x00000200,0x0" complete_cpuset="0x00000200,0x0" online_cpuset="0x00000200,0x0" allowed_cpuset="0x00000200,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x00002000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x00002000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="45" cpuset="0x00002000,0x0" complete_cpuset="0x00002000,0x0" online_cpuset="0x00002000,0x0" allowed_cpuset="0x00002000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="6" cpuset="0x00004444,0x44000000" complete_cpuset="0x00004444,0x44000000" online_cpuset="0x00004444,0x44000000" allowed_cpuset="0x00004444,0x44000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" cpuset="0x00004444,0x44000000" complete_cpuset="0x00004444,0x44000000" online_cpuset="0x00004444,0x44000000" allowed_cpuset="0x00004444,0x44000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x44000000" complete_cpuset="0x44000000" online_cpuset="0x44000000" allowed_cpuset="0x44000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="26" cpuset="0x04000000" complete_cpuset="0x04000000" online_cpuset="0x04000000" allowed_cpuset="0x04000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="30" cpuset="0x40000000" complete_cpuset="0x40000000" online_cpuset="0x40000000" allowed_cpuset="0x40000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000044,0x0" complete_cpuset="0x00000044,0x0" online_cpuset="0x00000044,0x0" allowed_cpuset="0x00000044,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="34" cpuset="0x00000004,0x0" complete_cpuset="0x00000004,0x0" online_cpuset="0x00000004,0x0" allowed_cpuset="0x00000004,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="38" cpuset="0x00000040,0x0" complete_cpuset="0x00000040,0x0" online_cpuset="0x00000040,0x0" allowed_cpuset="0x00000040,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004400,0x0" complete_cpuset="0x00004400,0x0" online_cpuset="0x00004400,0x0" allowed_cpuset="0x00004400,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x00000400,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x00000400,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="42" cpuset="0x00000400,0x0" complete_cpuset="0x00000400,0x0" online_cpuset="0x00000400,0x0" allowed_cpuset="0x00000400,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x00004000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x00004000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="46" cpuset="0x00004000,0x0" complete_cpuset="0x00004000,0x0" online_cpuset="0x00004000,0x0" allowed_cpuset="0x00004000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="7" cpuset="0x00008888,0x88000000" complete_cpuset="0x00008888,0x88000000" online_cpuset="0x00008888,0x88000000" allowed_cpuset="0x00008888,0x88000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" cpuset="0x00008888,0x88000000" complete_cpuset="0x00008888,0x88000000" online_cpuset="0x00008888,0x88000000" allowed_cpuset="0x00008888,0x88000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x88000000" complete_cpuset="0x88000000" online_cpuset="0x88000000" allowed_cpuset="0x88000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="27" cpuset="0x08000000" complete_cpuset="0x08000000" online_cpuset="0x08000000" allowed_cpuset="0x08000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="31" cpuset="0x80000000" complete_cpuset="0x80000000" online_cpuset="0x80000000" allowed_cpuset="0x80000000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000088,0x0" complete_cpuset="0x00000088,0x0" online_cpuset="0x00000088,0x0" allowed_cpuset="0x00000088,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="35" cpuset="0x00000008,0x0" complete_cpuset="0x00000008,0x0" online_cpuset="0x00000008,0x0" allowed_cpuset="0x00000008,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="39" cpuset="0x00000080,0x0" complete_cpuset="0x00000080,0x0" online_cpuset="0x00000080,0x0" allowed_cpuset="0x00000080,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008800,0x0" complete_cpuset="0x00008800,0x0" online_cpuset="0x00008800,0x0" allowed_cpuset="0x00008800,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x00000800,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x00000800,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="43" cpuset="0x00000800,0x0" complete_cpuset="0x00000800,0x0" online_cpuset="0x00000800,0x0" allowed_cpuset="0x00000800,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x00008000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x00008000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="47" cpuset="0x00008000,0x0" complete_cpuset="0x00008000,0x0" online_cpuset="0x00008000,0x0" allowed_cpuset="0x00008000,0x0" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="9" bridge_type="0-1" depth="0" bridge_pci="0000:[30-34]">
+ <object type="Bridge" os_index="197056" name="Intel Corporation N10/ICH 7 Family PCI Express Port 1" bridge_type="1-1" depth="1" bridge_pci="0000:[32-32]" pci_busid="0000:30:1c.0" pci_type="0604 [8086:27d0] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="N10/ICH 7 Family PCI Express Port 1"/>
+ <object type="PCIDev" os_index="204800" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:32:00.0" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth2" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:88:dc"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="204801" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:32:00.1" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth3" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:88:de"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="197088" name="Intel Corporation 82801 PCI Bridge" bridge_type="1-1" depth="1" bridge_pci="0000:[33-34]" pci_busid="0000:30:1e.0" pci_type="0604 [8086:244e] [0000:0000] e1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801 PCI Bridge"/>
+ <object type="Bridge" os_index="208896" name="IBM CalIOC2 PCI-E Root Port" bridge_type="1-1" depth="2" bridge_pci="0000:[34-34]" pci_busid="0000:33:00.0" pci_type="0604 [1014:0308] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="IBM"/>
+ <info name="PCIDevice" value="CalIOC2 PCI-E Root Port"/>
+ <object type="PCIDev" os_index="212992" name="LSI Logic / Symbios Logic SAS1078 PCI-Express Fusion-MPT SAS" pci_busid="0000:34:00.0" pci_type="0100 [1000:0062] [0014:0066] 04" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS1078 PCI-Express Fusion-MPT SAS"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="2" cpuset="0x000000ff,0xffff0000,0x0" complete_cpuset="0x000000ff,0xffff0000,0x0" online_cpuset="0x000000ff,0xffff0000,0x0" allowed_cpuset="0x000000ff,0xffff0000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" local_memory="51271172096">
+ <page_type size="4096" count="12517376"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="8" cpuset="0x00000011,0x11110000,0x0" complete_cpuset="0x00000011,0x11110000,0x0" online_cpuset="0x00000011,0x11110000,0x0" allowed_cpuset="0x00000011,0x11110000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="Cache" cpuset="0x00000011,0x11110000,0x0" complete_cpuset="0x00000011,0x11110000,0x0" online_cpuset="0x00000011,0x11110000,0x0" allowed_cpuset="0x00000011,0x11110000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00110000,0x0" complete_cpuset="0x00110000,0x0" online_cpuset="0x00110000,0x0" allowed_cpuset="0x00110000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x00010000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x00010000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="48" cpuset="0x00010000,0x0" complete_cpuset="0x00010000,0x0" online_cpuset="0x00010000,0x0" allowed_cpuset="0x00010000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x00100000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x00100000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="52" cpuset="0x00100000,0x0" complete_cpuset="0x00100000,0x0" online_cpuset="0x00100000,0x0" allowed_cpuset="0x00100000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x11000000,0x0" complete_cpuset="0x11000000,0x0" online_cpuset="0x11000000,0x0" allowed_cpuset="0x11000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x01000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x01000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="56" cpuset="0x01000000,0x0" complete_cpuset="0x01000000,0x0" online_cpuset="0x01000000,0x0" allowed_cpuset="0x01000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x10000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x10000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="60" cpuset="0x10000000,0x0" complete_cpuset="0x10000000,0x0" online_cpuset="0x10000000,0x0" allowed_cpuset="0x10000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000011,,0x0" complete_cpuset="0x00000011,,0x0" online_cpuset="0x00000011,,0x0" allowed_cpuset="0x00000011,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000001,,0x0" complete_cpuset="0x00000001,,0x0" online_cpuset="0x00000001,,0x0" allowed_cpuset="0x00000001,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000001,,0x0" complete_cpuset="0x00000001,,0x0" online_cpuset="0x00000001,,0x0" allowed_cpuset="0x00000001,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="64" cpuset="0x00000001,,0x0" complete_cpuset="0x00000001,,0x0" online_cpuset="0x00000001,,0x0" allowed_cpuset="0x00000001,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010,,0x0" complete_cpuset="0x00000010,,0x0" online_cpuset="0x00000010,,0x0" allowed_cpuset="0x00000010,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00000010,,0x0" complete_cpuset="0x00000010,,0x0" online_cpuset="0x00000010,,0x0" allowed_cpuset="0x00000010,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="68" cpuset="0x00000010,,0x0" complete_cpuset="0x00000010,,0x0" online_cpuset="0x00000010,,0x0" allowed_cpuset="0x00000010,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="9" cpuset="0x00000022,0x22220000,0x0" complete_cpuset="0x00000022,0x22220000,0x0" online_cpuset="0x00000022,0x22220000,0x0" allowed_cpuset="0x00000022,0x22220000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="Cache" cpuset="0x00000022,0x22220000,0x0" complete_cpuset="0x00000022,0x22220000,0x0" online_cpuset="0x00000022,0x22220000,0x0" allowed_cpuset="0x00000022,0x22220000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00220000,0x0" complete_cpuset="0x00220000,0x0" online_cpuset="0x00220000,0x0" allowed_cpuset="0x00220000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x00020000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x00020000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="49" cpuset="0x00020000,0x0" complete_cpuset="0x00020000,0x0" online_cpuset="0x00020000,0x0" allowed_cpuset="0x00020000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x00200000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x00200000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="53" cpuset="0x00200000,0x0" complete_cpuset="0x00200000,0x0" online_cpuset="0x00200000,0x0" allowed_cpuset="0x00200000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x22000000,0x0" complete_cpuset="0x22000000,0x0" online_cpuset="0x22000000,0x0" allowed_cpuset="0x22000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x02000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x02000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="57" cpuset="0x02000000,0x0" complete_cpuset="0x02000000,0x0" online_cpuset="0x02000000,0x0" allowed_cpuset="0x02000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x20000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x20000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="61" cpuset="0x20000000,0x0" complete_cpuset="0x20000000,0x0" online_cpuset="0x20000000,0x0" allowed_cpuset="0x20000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000022,,0x0" complete_cpuset="0x00000022,,0x0" online_cpuset="0x00000022,,0x0" allowed_cpuset="0x00000022,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000002,,0x0" complete_cpuset="0x00000002,,0x0" online_cpuset="0x00000002,,0x0" allowed_cpuset="0x00000002,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000002,,0x0" complete_cpuset="0x00000002,,0x0" online_cpuset="0x00000002,,0x0" allowed_cpuset="0x00000002,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="65" cpuset="0x00000002,,0x0" complete_cpuset="0x00000002,,0x0" online_cpuset="0x00000002,,0x0" allowed_cpuset="0x00000002,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020,,0x0" complete_cpuset="0x00000020,,0x0" online_cpuset="0x00000020,,0x0" allowed_cpuset="0x00000020,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00000020,,0x0" complete_cpuset="0x00000020,,0x0" online_cpuset="0x00000020,,0x0" allowed_cpuset="0x00000020,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="69" cpuset="0x00000020,,0x0" complete_cpuset="0x00000020,,0x0" online_cpuset="0x00000020,,0x0" allowed_cpuset="0x00000020,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="10" cpuset="0x00000044,0x44440000,0x0" complete_cpuset="0x00000044,0x44440000,0x0" online_cpuset="0x00000044,0x44440000,0x0" allowed_cpuset="0x00000044,0x44440000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="Cache" cpuset="0x00000044,0x44440000,0x0" complete_cpuset="0x00000044,0x44440000,0x0" online_cpuset="0x00000044,0x44440000,0x0" allowed_cpuset="0x00000044,0x44440000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00440000,0x0" complete_cpuset="0x00440000,0x0" online_cpuset="0x00440000,0x0" allowed_cpuset="0x00440000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x00040000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x00040000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="50" cpuset="0x00040000,0x0" complete_cpuset="0x00040000,0x0" online_cpuset="0x00040000,0x0" allowed_cpuset="0x00040000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x00400000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x00400000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="54" cpuset="0x00400000,0x0" complete_cpuset="0x00400000,0x0" online_cpuset="0x00400000,0x0" allowed_cpuset="0x00400000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x44000000,0x0" complete_cpuset="0x44000000,0x0" online_cpuset="0x44000000,0x0" allowed_cpuset="0x44000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x04000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x04000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="58" cpuset="0x04000000,0x0" complete_cpuset="0x04000000,0x0" online_cpuset="0x04000000,0x0" allowed_cpuset="0x04000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x40000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x40000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="62" cpuset="0x40000000,0x0" complete_cpuset="0x40000000,0x0" online_cpuset="0x40000000,0x0" allowed_cpuset="0x40000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000044,,0x0" complete_cpuset="0x00000044,,0x0" online_cpuset="0x00000044,,0x0" allowed_cpuset="0x00000044,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000004,,0x0" complete_cpuset="0x00000004,,0x0" online_cpuset="0x00000004,,0x0" allowed_cpuset="0x00000004,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000004,,0x0" complete_cpuset="0x00000004,,0x0" online_cpuset="0x00000004,,0x0" allowed_cpuset="0x00000004,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="66" cpuset="0x00000004,,0x0" complete_cpuset="0x00000004,,0x0" online_cpuset="0x00000004,,0x0" allowed_cpuset="0x00000004,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040,,0x0" complete_cpuset="0x00000040,,0x0" online_cpuset="0x00000040,,0x0" allowed_cpuset="0x00000040,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00000040,,0x0" complete_cpuset="0x00000040,,0x0" online_cpuset="0x00000040,,0x0" allowed_cpuset="0x00000040,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="70" cpuset="0x00000040,,0x0" complete_cpuset="0x00000040,,0x0" online_cpuset="0x00000040,,0x0" allowed_cpuset="0x00000040,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="11" cpuset="0x00000088,0x88880000,0x0" complete_cpuset="0x00000088,0x88880000,0x0" online_cpuset="0x00000088,0x88880000,0x0" allowed_cpuset="0x00000088,0x88880000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="Cache" cpuset="0x00000088,0x88880000,0x0" complete_cpuset="0x00000088,0x88880000,0x0" online_cpuset="0x00000088,0x88880000,0x0" allowed_cpuset="0x00000088,0x88880000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00880000,0x0" complete_cpuset="0x00880000,0x0" online_cpuset="0x00880000,0x0" allowed_cpuset="0x00880000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x00080000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x00080000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="51" cpuset="0x00080000,0x0" complete_cpuset="0x00080000,0x0" online_cpuset="0x00080000,0x0" allowed_cpuset="0x00080000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x00800000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x00800000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="55" cpuset="0x00800000,0x0" complete_cpuset="0x00800000,0x0" online_cpuset="0x00800000,0x0" allowed_cpuset="0x00800000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x88000000,0x0" complete_cpuset="0x88000000,0x0" online_cpuset="0x88000000,0x0" allowed_cpuset="0x88000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x08000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x08000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="59" cpuset="0x08000000,0x0" complete_cpuset="0x08000000,0x0" online_cpuset="0x08000000,0x0" allowed_cpuset="0x08000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x80000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x80000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="63" cpuset="0x80000000,0x0" complete_cpuset="0x80000000,0x0" online_cpuset="0x80000000,0x0" allowed_cpuset="0x80000000,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000088,,0x0" complete_cpuset="0x00000088,,0x0" online_cpuset="0x00000088,,0x0" allowed_cpuset="0x00000088,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000008,,0x0" complete_cpuset="0x00000008,,0x0" online_cpuset="0x00000008,,0x0" allowed_cpuset="0x00000008,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x00000008,,0x0" complete_cpuset="0x00000008,,0x0" online_cpuset="0x00000008,,0x0" allowed_cpuset="0x00000008,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="67" cpuset="0x00000008,,0x0" complete_cpuset="0x00000008,,0x0" online_cpuset="0x00000008,,0x0" allowed_cpuset="0x00000008,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080,,0x0" complete_cpuset="0x00000080,,0x0" online_cpuset="0x00000080,,0x0" allowed_cpuset="0x00000080,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x00000080,,0x0" complete_cpuset="0x00000080,,0x0" online_cpuset="0x00000080,,0x0" allowed_cpuset="0x00000080,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004">
+ <object type="PU" os_index="71" cpuset="0x00000080,,0x0" complete_cpuset="0x00000080,,0x0" online_cpuset="0x00000080,,0x0" allowed_cpuset="0x00000080,,0x0" nodeset="0x00000004" complete_nodeset="0x00000004" allowed_nodeset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="17" bridge_type="0-1" depth="0" bridge_pci="0000:[60-64]">
+ <object type="Bridge" os_index="393664" name="Intel Corporation N10/ICH 7 Family PCI Express Port 1" bridge_type="1-1" depth="1" bridge_pci="0000:[62-62]" pci_busid="0000:60:1c.0" pci_type="0604 [8086:27d0] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="N10/ICH 7 Family PCI Express Port 1"/>
+ <object type="PCIDev" os_index="401408" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:62:00.0" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth4" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:8a:18"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="401409" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:62:00.1" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth5" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:8a:1a"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="393696" name="Intel Corporation 82801 PCI Bridge" bridge_type="1-1" depth="1" bridge_pci="0000:[63-64]" pci_busid="0000:60:1e.0" pci_type="0604 [8086:244e] [0000:0000] e1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801 PCI Bridge"/>
+ <object type="Bridge" os_index="405504" name="IBM CalIOC2 PCI-E Root Port" bridge_type="1-1" depth="2" bridge_pci="0000:[64-64]" pci_busid="0000:63:00.0" pci_type="0604 [1014:0308] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="IBM"/>
+ <info name="PCIDevice" value="CalIOC2 PCI-E Root Port"/>
+ <object type="PCIDev" os_index="409600" name="LSI Logic / Symbios Logic SAS1078 PCI-Express Fusion-MPT SAS" pci_busid="0000:64:00.0" pci_type="0100 [1000:0062] [0014:0066] 04" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS1078 PCI-Express Fusion-MPT SAS"/>
+ <object type="OSDev" name="sdb" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="3" cpuset="0xffffff00,,0x0" complete_cpuset="0xffffff00,,0x0" online_cpuset="0xffffff00,,0x0" allowed_cpuset="0xffffff00,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" local_memory="51271172096">
+ <page_type size="4096" count="12517376"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="12" cpuset="0x11111100,,0x0" complete_cpuset="0x11111100,,0x0" online_cpuset="0x11111100,,0x0" allowed_cpuset="0x11111100,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="Cache" cpuset="0x11111100,,0x0" complete_cpuset="0x11111100,,0x0" online_cpuset="0x11111100,,0x0" allowed_cpuset="0x11111100,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00001100,,0x0" complete_cpuset="0x00001100,,0x0" online_cpuset="0x00001100,,0x0" allowed_cpuset="0x00001100,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000100,,0x0" complete_cpuset="0x00000100,,0x0" online_cpuset="0x00000100,,0x0" allowed_cpuset="0x00000100,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000100,,0x0" complete_cpuset="0x00000100,,0x0" online_cpuset="0x00000100,,0x0" allowed_cpuset="0x00000100,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="72" cpuset="0x00000100,,0x0" complete_cpuset="0x00000100,,0x0" online_cpuset="0x00000100,,0x0" allowed_cpuset="0x00000100,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00001000,,0x0" complete_cpuset="0x00001000,,0x0" online_cpuset="0x00001000,,0x0" allowed_cpuset="0x00001000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00001000,,0x0" complete_cpuset="0x00001000,,0x0" online_cpuset="0x00001000,,0x0" allowed_cpuset="0x00001000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="76" cpuset="0x00001000,,0x0" complete_cpuset="0x00001000,,0x0" online_cpuset="0x00001000,,0x0" allowed_cpuset="0x00001000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00110000,,0x0" complete_cpuset="0x00110000,,0x0" online_cpuset="0x00110000,,0x0" allowed_cpuset="0x00110000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00010000,,0x0" complete_cpuset="0x00010000,,0x0" online_cpuset="0x00010000,,0x0" allowed_cpuset="0x00010000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00010000,,0x0" complete_cpuset="0x00010000,,0x0" online_cpuset="0x00010000,,0x0" allowed_cpuset="0x00010000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="80" cpuset="0x00010000,,0x0" complete_cpuset="0x00010000,,0x0" online_cpuset="0x00010000,,0x0" allowed_cpuset="0x00010000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00100000,,0x0" complete_cpuset="0x00100000,,0x0" online_cpuset="0x00100000,,0x0" allowed_cpuset="0x00100000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00100000,,0x0" complete_cpuset="0x00100000,,0x0" online_cpuset="0x00100000,,0x0" allowed_cpuset="0x00100000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="84" cpuset="0x00100000,,0x0" complete_cpuset="0x00100000,,0x0" online_cpuset="0x00100000,,0x0" allowed_cpuset="0x00100000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x11000000,,0x0" complete_cpuset="0x11000000,,0x0" online_cpuset="0x11000000,,0x0" allowed_cpuset="0x11000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x01000000,,0x0" complete_cpuset="0x01000000,,0x0" online_cpuset="0x01000000,,0x0" allowed_cpuset="0x01000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x01000000,,0x0" complete_cpuset="0x01000000,,0x0" online_cpuset="0x01000000,,0x0" allowed_cpuset="0x01000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="88" cpuset="0x01000000,,0x0" complete_cpuset="0x01000000,,0x0" online_cpuset="0x01000000,,0x0" allowed_cpuset="0x01000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x10000000,,0x0" complete_cpuset="0x10000000,,0x0" online_cpuset="0x10000000,,0x0" allowed_cpuset="0x10000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x10000000,,0x0" complete_cpuset="0x10000000,,0x0" online_cpuset="0x10000000,,0x0" allowed_cpuset="0x10000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="92" cpuset="0x10000000,,0x0" complete_cpuset="0x10000000,,0x0" online_cpuset="0x10000000,,0x0" allowed_cpuset="0x10000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="13" cpuset="0x22222200,,0x0" complete_cpuset="0x22222200,,0x0" online_cpuset="0x22222200,,0x0" allowed_cpuset="0x22222200,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="Cache" cpuset="0x22222200,,0x0" complete_cpuset="0x22222200,,0x0" online_cpuset="0x22222200,,0x0" allowed_cpuset="0x22222200,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00002200,,0x0" complete_cpuset="0x00002200,,0x0" online_cpuset="0x00002200,,0x0" allowed_cpuset="0x00002200,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000200,,0x0" complete_cpuset="0x00000200,,0x0" online_cpuset="0x00000200,,0x0" allowed_cpuset="0x00000200,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000200,,0x0" complete_cpuset="0x00000200,,0x0" online_cpuset="0x00000200,,0x0" allowed_cpuset="0x00000200,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="73" cpuset="0x00000200,,0x0" complete_cpuset="0x00000200,,0x0" online_cpuset="0x00000200,,0x0" allowed_cpuset="0x00000200,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00002000,,0x0" complete_cpuset="0x00002000,,0x0" online_cpuset="0x00002000,,0x0" allowed_cpuset="0x00002000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00002000,,0x0" complete_cpuset="0x00002000,,0x0" online_cpuset="0x00002000,,0x0" allowed_cpuset="0x00002000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="77" cpuset="0x00002000,,0x0" complete_cpuset="0x00002000,,0x0" online_cpuset="0x00002000,,0x0" allowed_cpuset="0x00002000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00220000,,0x0" complete_cpuset="0x00220000,,0x0" online_cpuset="0x00220000,,0x0" allowed_cpuset="0x00220000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00020000,,0x0" complete_cpuset="0x00020000,,0x0" online_cpuset="0x00020000,,0x0" allowed_cpuset="0x00020000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00020000,,0x0" complete_cpuset="0x00020000,,0x0" online_cpuset="0x00020000,,0x0" allowed_cpuset="0x00020000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="81" cpuset="0x00020000,,0x0" complete_cpuset="0x00020000,,0x0" online_cpuset="0x00020000,,0x0" allowed_cpuset="0x00020000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00200000,,0x0" complete_cpuset="0x00200000,,0x0" online_cpuset="0x00200000,,0x0" allowed_cpuset="0x00200000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00200000,,0x0" complete_cpuset="0x00200000,,0x0" online_cpuset="0x00200000,,0x0" allowed_cpuset="0x00200000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="85" cpuset="0x00200000,,0x0" complete_cpuset="0x00200000,,0x0" online_cpuset="0x00200000,,0x0" allowed_cpuset="0x00200000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x22000000,,0x0" complete_cpuset="0x22000000,,0x0" online_cpuset="0x22000000,,0x0" allowed_cpuset="0x22000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x02000000,,0x0" complete_cpuset="0x02000000,,0x0" online_cpuset="0x02000000,,0x0" allowed_cpuset="0x02000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x02000000,,0x0" complete_cpuset="0x02000000,,0x0" online_cpuset="0x02000000,,0x0" allowed_cpuset="0x02000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="89" cpuset="0x02000000,,0x0" complete_cpuset="0x02000000,,0x0" online_cpuset="0x02000000,,0x0" allowed_cpuset="0x02000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x20000000,,0x0" complete_cpuset="0x20000000,,0x0" online_cpuset="0x20000000,,0x0" allowed_cpuset="0x20000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x20000000,,0x0" complete_cpuset="0x20000000,,0x0" online_cpuset="0x20000000,,0x0" allowed_cpuset="0x20000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="93" cpuset="0x20000000,,0x0" complete_cpuset="0x20000000,,0x0" online_cpuset="0x20000000,,0x0" allowed_cpuset="0x20000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="14" cpuset="0x44444400,,0x0" complete_cpuset="0x44444400,,0x0" online_cpuset="0x44444400,,0x0" allowed_cpuset="0x44444400,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="Cache" cpuset="0x44444400,,0x0" complete_cpuset="0x44444400,,0x0" online_cpuset="0x44444400,,0x0" allowed_cpuset="0x44444400,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00004400,,0x0" complete_cpuset="0x00004400,,0x0" online_cpuset="0x00004400,,0x0" allowed_cpuset="0x00004400,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000400,,0x0" complete_cpuset="0x00000400,,0x0" online_cpuset="0x00000400,,0x0" allowed_cpuset="0x00000400,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000400,,0x0" complete_cpuset="0x00000400,,0x0" online_cpuset="0x00000400,,0x0" allowed_cpuset="0x00000400,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="74" cpuset="0x00000400,,0x0" complete_cpuset="0x00000400,,0x0" online_cpuset="0x00000400,,0x0" allowed_cpuset="0x00000400,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00004000,,0x0" complete_cpuset="0x00004000,,0x0" online_cpuset="0x00004000,,0x0" allowed_cpuset="0x00004000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00004000,,0x0" complete_cpuset="0x00004000,,0x0" online_cpuset="0x00004000,,0x0" allowed_cpuset="0x00004000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="78" cpuset="0x00004000,,0x0" complete_cpuset="0x00004000,,0x0" online_cpuset="0x00004000,,0x0" allowed_cpuset="0x00004000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00440000,,0x0" complete_cpuset="0x00440000,,0x0" online_cpuset="0x00440000,,0x0" allowed_cpuset="0x00440000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00040000,,0x0" complete_cpuset="0x00040000,,0x0" online_cpuset="0x00040000,,0x0" allowed_cpuset="0x00040000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00040000,,0x0" complete_cpuset="0x00040000,,0x0" online_cpuset="0x00040000,,0x0" allowed_cpuset="0x00040000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="82" cpuset="0x00040000,,0x0" complete_cpuset="0x00040000,,0x0" online_cpuset="0x00040000,,0x0" allowed_cpuset="0x00040000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00400000,,0x0" complete_cpuset="0x00400000,,0x0" online_cpuset="0x00400000,,0x0" allowed_cpuset="0x00400000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00400000,,0x0" complete_cpuset="0x00400000,,0x0" online_cpuset="0x00400000,,0x0" allowed_cpuset="0x00400000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="86" cpuset="0x00400000,,0x0" complete_cpuset="0x00400000,,0x0" online_cpuset="0x00400000,,0x0" allowed_cpuset="0x00400000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x44000000,,0x0" complete_cpuset="0x44000000,,0x0" online_cpuset="0x44000000,,0x0" allowed_cpuset="0x44000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x04000000,,0x0" complete_cpuset="0x04000000,,0x0" online_cpuset="0x04000000,,0x0" allowed_cpuset="0x04000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x04000000,,0x0" complete_cpuset="0x04000000,,0x0" online_cpuset="0x04000000,,0x0" allowed_cpuset="0x04000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="90" cpuset="0x04000000,,0x0" complete_cpuset="0x04000000,,0x0" online_cpuset="0x04000000,,0x0" allowed_cpuset="0x04000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x40000000,,0x0" complete_cpuset="0x40000000,,0x0" online_cpuset="0x40000000,,0x0" allowed_cpuset="0x40000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x40000000,,0x0" complete_cpuset="0x40000000,,0x0" online_cpuset="0x40000000,,0x0" allowed_cpuset="0x40000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="94" cpuset="0x40000000,,0x0" complete_cpuset="0x40000000,,0x0" online_cpuset="0x40000000,,0x0" allowed_cpuset="0x40000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="15" cpuset="0x88888800,,0x0" complete_cpuset="0x88888800,,0x0" online_cpuset="0x88888800,,0x0" allowed_cpuset="0x88888800,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="Cache" cpuset="0x88888800,,0x0" complete_cpuset="0x88888800,,0x0" online_cpuset="0x88888800,,0x0" allowed_cpuset="0x88888800,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="16777216" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00008800,,0x0" complete_cpuset="0x00008800,,0x0" online_cpuset="0x00008800,,0x0" allowed_cpuset="0x00008800,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00000800,,0x0" complete_cpuset="0x00000800,,0x0" online_cpuset="0x00000800,,0x0" allowed_cpuset="0x00000800,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000800,,0x0" complete_cpuset="0x00000800,,0x0" online_cpuset="0x00000800,,0x0" allowed_cpuset="0x00000800,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="75" cpuset="0x00000800,,0x0" complete_cpuset="0x00000800,,0x0" online_cpuset="0x00000800,,0x0" allowed_cpuset="0x00000800,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00008000,,0x0" complete_cpuset="0x00008000,,0x0" online_cpuset="0x00008000,,0x0" allowed_cpuset="0x00008000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="1" cpuset="0x00008000,,0x0" complete_cpuset="0x00008000,,0x0" online_cpuset="0x00008000,,0x0" allowed_cpuset="0x00008000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="79" cpuset="0x00008000,,0x0" complete_cpuset="0x00008000,,0x0" online_cpuset="0x00008000,,0x0" allowed_cpuset="0x00008000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00880000,,0x0" complete_cpuset="0x00880000,,0x0" online_cpuset="0x00880000,,0x0" allowed_cpuset="0x00880000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x00080000,,0x0" complete_cpuset="0x00080000,,0x0" online_cpuset="0x00080000,,0x0" allowed_cpuset="0x00080000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x00080000,,0x0" complete_cpuset="0x00080000,,0x0" online_cpuset="0x00080000,,0x0" allowed_cpuset="0x00080000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="83" cpuset="0x00080000,,0x0" complete_cpuset="0x00080000,,0x0" online_cpuset="0x00080000,,0x0" allowed_cpuset="0x00080000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00800000,,0x0" complete_cpuset="0x00800000,,0x0" online_cpuset="0x00800000,,0x0" allowed_cpuset="0x00800000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="3" cpuset="0x00800000,,0x0" complete_cpuset="0x00800000,,0x0" online_cpuset="0x00800000,,0x0" allowed_cpuset="0x00800000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="87" cpuset="0x00800000,,0x0" complete_cpuset="0x00800000,,0x0" online_cpuset="0x00800000,,0x0" allowed_cpuset="0x00800000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x88000000,,0x0" complete_cpuset="0x88000000,,0x0" online_cpuset="0x88000000,,0x0" allowed_cpuset="0x88000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="3145728" depth="2" cache_linesize="64" cache_associativity="12" cache_type="0">
+ <object type="Cache" cpuset="0x08000000,,0x0" complete_cpuset="0x08000000,,0x0" online_cpuset="0x08000000,,0x0" allowed_cpuset="0x08000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="4" cpuset="0x08000000,,0x0" complete_cpuset="0x08000000,,0x0" online_cpuset="0x08000000,,0x0" allowed_cpuset="0x08000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="91" cpuset="0x08000000,,0x0" complete_cpuset="0x08000000,,0x0" online_cpuset="0x08000000,,0x0" allowed_cpuset="0x08000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x80000000,,0x0" complete_cpuset="0x80000000,,0x0" online_cpuset="0x80000000,,0x0" allowed_cpuset="0x80000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="5" cpuset="0x80000000,,0x0" complete_cpuset="0x80000000,,0x0" online_cpuset="0x80000000,,0x0" allowed_cpuset="0x80000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008">
+ <object type="PU" os_index="95" cpuset="0x80000000,,0x0" complete_cpuset="0x80000000,,0x0" online_cpuset="0x80000000,,0x0" allowed_cpuset="0x80000000,,0x0" nodeset="0x00000008" complete_nodeset="0x00000008" allowed_nodeset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="25" bridge_type="0-1" depth="0" bridge_pci="0000:[90-94]">
+ <object type="Bridge" os_index="590272" name="Intel Corporation N10/ICH 7 Family PCI Express Port 1" bridge_type="1-1" depth="1" bridge_pci="0000:[92-92]" pci_busid="0000:90:1c.0" pci_type="0604 [8086:27d0] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="N10/ICH 7 Family PCI Express Port 1"/>
+ <object type="PCIDev" os_index="598016" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:92:00.0" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth6" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:86:18"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="598017" name="Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet" pci_busid="0000:92:00.1" pci_type="0200 [14e4:1639] [0014:007c] 20" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Broadcom Corporation"/>
+ <info name="PCIDevice" value="NetXtreme II BCM5709 Gigabit Ethernet"/>
+ <object type="OSDev" name="eth7" osdev_type="2">
+ <info name="Address" value="00:21:5e:c4:86:1a"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="590304" name="Intel Corporation 82801 PCI Bridge" bridge_type="1-1" depth="1" bridge_pci="0000:[93-94]" pci_busid="0000:90:1e.0" pci_type="0604 [8086:244e] [0000:0000] e1" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82801 PCI Bridge"/>
+ <object type="Bridge" os_index="602112" name="IBM CalIOC2 PCI-E Root Port" bridge_type="1-1" depth="2" bridge_pci="0000:[94-94]" pci_busid="0000:93:00.0" pci_type="0604 [1014:0308] [0000:0000] 01" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="IBM"/>
+ <info name="PCIDevice" value="CalIOC2 PCI-E Root Port"/>
+ <object type="PCIDev" os_index="606208" name="LSI Logic / Symbios Logic SAS1078 PCI-Express Fusion-MPT SAS" pci_busid="0000:94:00.0" pci_type="0100 [1000:0062] [0014:0066] 04" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="LSI Logic / Symbios Logic"/>
+ <info name="PCIDevice" value="SAS1078 PCI-Express Fusion-MPT SAS"/>
+ <object type="OSDev" name="sdc" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009-2010 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+# Add your output files here.
+xml_outputs = \
+ 16amd64-8n2c-cpusets.xml \
+ 16amd64-4distances.xml \
+ 16em64t-4s2c2t.xml \
+ 16em64t-4s2c2t-offlines.xml \
+ 16em64t-4s2c2t.console.output \
+ 16-2gr2gr2n2c+misc.xml \
+ 16-2gr2gr2n2c+misc.console.output \
+ 16intel64-manyVFs.xml \
+ 16intel64-manyVFs.console.output \
+ 16intel64-manyVFs.console.nocollapse.output \
+ 24em64t-2n6c2t-pci.xml \
+ 32em64t-2n8c2t-pci-noio.xml \
+ 32em64t-2n8c2t-pci-normalio.xml \
+ 32em64t-2n8c2t-pci-wholeio.xml \
+ 64intel64-3g2n+2n-irregulargroups+pci.xml \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.output \
+ 96em64t-4n4d3ca2co-pci.xml \
+ 192em64t-12gr2n8c2t-distancegroups.xml \
+ 192em64t-24n8c2t-nodistancegroups.xml \
+ 192em64t-24n8c2t-distancegroups.xml
+
+# Each output `xyz.xml' may have a corresponding `xyz.source' file specifying
+# its source file.
+# Each output `xyz.output' must have a corresponding `xyz.xml' source file,
+# or a `xyz.source' file specifying its source file.
+xml_source = \
+ 16em64t-4s2c2t.console.source \
+ 16-2gr2gr2n2c+misc.console.source \
+ 16intel64-manyVFs.console.source \
+ 16intel64-manyVFs.console.nocollapse.source \
+ 32em64t-2n8c2t-pci-noio.source \
+ 32em64t-2n8c2t-pci-normalio.source \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.source \
+ 192em64t-24n8c2t-distancegroups.source
+
+# Each output `xyz.xml' or `xyz.output' may have a corresponding `xyz.options'
+# file modifying the behavior of lstopo
+xml_options = \
+ 16em64t-4s2c2t.console.options \
+ 16intel64-manyVFs.console.options \
+ 16intel64-manyVFs.console.nocollapse.options \
+ 16-2gr2gr2n2c+misc.console.options \
+ 32em64t-2n8c2t-pci-noio.options \
+ 32em64t-2n8c2t-pci-wholeio.options \
+ 64intel64-3g2n+2n-irregulargroups+pci.options \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.options
+
+# Each output `xyz.xml' or `xyz.output' may have a corresponding `xyz.env'
+# modifying the environment of lstopo
+xml_envs = \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.env \
+ 192em64t-12gr2n8c2t-distancegroups.env \
+ 192em64t-24n8c2t-nodistancegroups.env \
+ 192em64t-24n8c2t-distancegroups.env
+
+# Only run the tests if we're building standalone, because the tests
+# call hwloc executables.
+TESTS = $(xml_outputs)
+
+EXTRA_DIST = $(xml_outputs) $(xml_source) $(xml_options) $(xml_envs)
+
+LOG_COMPILER = $(HWLOC_top_builddir)/tests/xml/test-topology.sh
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2016 Inria. All rights reserved.
+# Copyright © 2009-2010 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = tests/xml
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = test-topology.sh
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/test-topology.sh.in \
+ $(top_srcdir)/./config/test-driver
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+# Add your output files here.
+xml_outputs = \
+ 16amd64-8n2c-cpusets.xml \
+ 16amd64-4distances.xml \
+ 16em64t-4s2c2t.xml \
+ 16em64t-4s2c2t-offlines.xml \
+ 16em64t-4s2c2t.console.output \
+ 16-2gr2gr2n2c+misc.xml \
+ 16-2gr2gr2n2c+misc.console.output \
+ 16intel64-manyVFs.xml \
+ 16intel64-manyVFs.console.output \
+ 16intel64-manyVFs.console.nocollapse.output \
+ 24em64t-2n6c2t-pci.xml \
+ 32em64t-2n8c2t-pci-noio.xml \
+ 32em64t-2n8c2t-pci-normalio.xml \
+ 32em64t-2n8c2t-pci-wholeio.xml \
+ 64intel64-3g2n+2n-irregulargroups+pci.xml \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.output \
+ 96em64t-4n4d3ca2co-pci.xml \
+ 192em64t-12gr2n8c2t-distancegroups.xml \
+ 192em64t-24n8c2t-nodistancegroups.xml \
+ 192em64t-24n8c2t-distancegroups.xml
+
+
+# Each output `xyz.xml' may have a corresponding `xyz.source' file specifying
+# its source file.
+# Each output `xyz.output' must have a corresponding `xyz.xml' source file,
+# or a `xyz.source' file specifying its source file.
+xml_source = \
+ 16em64t-4s2c2t.console.source \
+ 16-2gr2gr2n2c+misc.console.source \
+ 16intel64-manyVFs.console.source \
+ 16intel64-manyVFs.console.nocollapse.source \
+ 32em64t-2n8c2t-pci-noio.source \
+ 32em64t-2n8c2t-pci-normalio.source \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.source \
+ 192em64t-24n8c2t-distancegroups.source
+
+
+# Each output `xyz.xml' or `xyz.output' may have a corresponding `xyz.options'
+# file modifying the behavior of lstopo
+xml_options = \
+ 16em64t-4s2c2t.console.options \
+ 16intel64-manyVFs.console.options \
+ 16intel64-manyVFs.console.nocollapse.options \
+ 16-2gr2gr2n2c+misc.console.options \
+ 32em64t-2n8c2t-pci-noio.options \
+ 32em64t-2n8c2t-pci-wholeio.options \
+ 64intel64-3g2n+2n-irregulargroups+pci.options \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.options
+
+
+# Each output `xyz.xml' or `xyz.output' may have a corresponding `xyz.env'
+# modifying the environment of lstopo
+xml_envs = \
+ 64intel64-3g2n+2n-irregulargroups+pci.console.env \
+ 192em64t-12gr2n8c2t-distancegroups.env \
+ 192em64t-24n8c2t-nodistancegroups.env \
+ 192em64t-24n8c2t-distancegroups.env
+
+
+# Only run the tests if we're building standalone, because the tests
+# call hwloc executables.
+TESTS = $(xml_outputs)
+EXTRA_DIST = $(xml_outputs) $(xml_source) $(xml_options) $(xml_envs)
+LOG_COMPILER = $(HWLOC_top_builddir)/tests/xml/test-topology.sh
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .log .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/xml/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign tests/xml/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+test-topology.sh: $(top_builddir)/config.status $(srcdir)/test-topology.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+16amd64-8n2c-cpusets.xml.log: 16amd64-8n2c-cpusets.xml
+ @p='16amd64-8n2c-cpusets.xml'; \
+ b='16amd64-8n2c-cpusets.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16amd64-4distances.xml.log: 16amd64-4distances.xml
+ @p='16amd64-4distances.xml'; \
+ b='16amd64-4distances.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t.xml.log: 16em64t-4s2c2t.xml
+ @p='16em64t-4s2c2t.xml'; \
+ b='16em64t-4s2c2t.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t-offlines.xml.log: 16em64t-4s2c2t-offlines.xml
+ @p='16em64t-4s2c2t-offlines.xml'; \
+ b='16em64t-4s2c2t-offlines.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16em64t-4s2c2t.console.output.log: 16em64t-4s2c2t.console.output
+ @p='16em64t-4s2c2t.console.output'; \
+ b='16em64t-4s2c2t.console.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16-2gr2gr2n2c+misc.xml.log: 16-2gr2gr2n2c+misc.xml
+ @p='16-2gr2gr2n2c+misc.xml'; \
+ b='16-2gr2gr2n2c+misc.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16-2gr2gr2n2c+misc.console.output.log: 16-2gr2gr2n2c+misc.console.output
+ @p='16-2gr2gr2n2c+misc.console.output'; \
+ b='16-2gr2gr2n2c+misc.console.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16intel64-manyVFs.xml.log: 16intel64-manyVFs.xml
+ @p='16intel64-manyVFs.xml'; \
+ b='16intel64-manyVFs.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16intel64-manyVFs.console.output.log: 16intel64-manyVFs.console.output
+ @p='16intel64-manyVFs.console.output'; \
+ b='16intel64-manyVFs.console.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+16intel64-manyVFs.console.nocollapse.output.log: 16intel64-manyVFs.console.nocollapse.output
+ @p='16intel64-manyVFs.console.nocollapse.output'; \
+ b='16intel64-manyVFs.console.nocollapse.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+24em64t-2n6c2t-pci.xml.log: 24em64t-2n6c2t-pci.xml
+ @p='24em64t-2n6c2t-pci.xml'; \
+ b='24em64t-2n6c2t-pci.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+32em64t-2n8c2t-pci-noio.xml.log: 32em64t-2n8c2t-pci-noio.xml
+ @p='32em64t-2n8c2t-pci-noio.xml'; \
+ b='32em64t-2n8c2t-pci-noio.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+32em64t-2n8c2t-pci-normalio.xml.log: 32em64t-2n8c2t-pci-normalio.xml
+ @p='32em64t-2n8c2t-pci-normalio.xml'; \
+ b='32em64t-2n8c2t-pci-normalio.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+32em64t-2n8c2t-pci-wholeio.xml.log: 32em64t-2n8c2t-pci-wholeio.xml
+ @p='32em64t-2n8c2t-pci-wholeio.xml'; \
+ b='32em64t-2n8c2t-pci-wholeio.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+64intel64-3g2n+2n-irregulargroups+pci.xml.log: 64intel64-3g2n+2n-irregulargroups+pci.xml
+ @p='64intel64-3g2n+2n-irregulargroups+pci.xml'; \
+ b='64intel64-3g2n+2n-irregulargroups+pci.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+64intel64-3g2n+2n-irregulargroups+pci.console.output.log: 64intel64-3g2n+2n-irregulargroups+pci.console.output
+ @p='64intel64-3g2n+2n-irregulargroups+pci.console.output'; \
+ b='64intel64-3g2n+2n-irregulargroups+pci.console.output'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+96em64t-4n4d3ca2co-pci.xml.log: 96em64t-4n4d3ca2co-pci.xml
+ @p='96em64t-4n4d3ca2co-pci.xml'; \
+ b='96em64t-4n4d3ca2co-pci.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+192em64t-12gr2n8c2t-distancegroups.xml.log: 192em64t-12gr2n8c2t-distancegroups.xml
+ @p='192em64t-12gr2n8c2t-distancegroups.xml'; \
+ b='192em64t-12gr2n8c2t-distancegroups.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+192em64t-24n8c2t-nodistancegroups.xml.log: 192em64t-24n8c2t-nodistancegroups.xml
+ @p='192em64t-24n8c2t-nodistancegroups.xml'; \
+ b='192em64t-24n8c2t-nodistancegroups.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+192em64t-24n8c2t-distancegroups.xml.log: 192em64t-24n8c2t-distancegroups.xml
+ @p='192em64t-24n8c2t-distancegroups.xml'; \
+ b='192em64t-24n8c2t-distancegroups.xml'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: all all-am check check-TESTS check-am clean clean-generic \
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
+ uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009-2012 Université Bordeaux
+# Copyright © 2010 Cisco Systems, Inc. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+# Check the conformance of `lstopo' for all the XML
+# hierarchies available here. Return true on success.
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+lstopo="@HWLOC_top_builddir@/utils/lstopo/lstopo-no-graphics"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+if test x@HWLOC_XML_LOCALIZED@ = x1; then
+ # make sure we use default numeric formats
+ LANG=C
+ LC_ALL=C
+ export LANG LC_ALL
+fi
+
+error()
+{
+ echo $@ 2>&1
+}
+
+if [ ! -x "$lstopo" ]
+then
+ error "Could not find executable file \`$lstopo'."
+ exit 1
+fi
+
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/lstopo_xml.output"
+
+set -e
+
+output="$1"
+dirname=`dirname $1`
+filename=`basename $1`
+basename=`basename $1 .xml`
+basename=`basename $basename .output`
+
+source="${dirname}/${basename}.xml"
+source_file="${dirname}/${basename}.source"
+
+if test \! -f "$source" && test \! -f "$source_file"; then
+ echo "Missing both ${basename}.xml and ${basename}.source"
+ exit 1
+fi
+test -f "$source_file" && source="${dirname}/"`cat $source_file`
+
+options_file="${dirname}/${basename}.options"
+test -f "$options_file" && opts=`cat $options_file`
+
+test -f "${dirname}/${basename}.env" && . "${dirname}/${basename}.env"
+
+do_run()
+{
+ echo $lstopo --if xml --input "$source" --of xml "$file" $opts
+ $lstopo --if xml --input "$source" --of xml "$file" $opts
+
+ if [ "$HWLOC_UPDATE_TEST_TOPOLOGY_OUTPUT" != 1 ]
+ then
+ diff @HWLOC_DIFF_U@ @HWLOC_DIFF_W@ "$output" "$file"
+ else
+ if ! diff "$output" "$file" >/dev/null
+ then
+ cp -f "$file" "$output"
+ echo "Updated $filename"
+ fi
+ fi
+
+ if [ -n "@XMLLINT@" ]
+ then
+ cp -f "$HWLOC_top_srcdir"/src/hwloc.dtd "$tmp/"
+ ( cd $tmp ; @XMLLINT@ --valid $file ) > /dev/null
+ fi
+
+ rm "$file"
+}
+
+do_run_with_output()
+{
+ echo $lstopo --if xml --input "$source" "$file" $opts
+ $lstopo --if xml --input "$source" "$file" $opts
+
+ if [ "$HWLOC_UPDATE_TEST_TOPOLOGY_OUTPUT" != 1 ]
+ then
+ diff @HWLOC_DIFF_U@ @HWLOC_DIFF_W@ "$output" "$file"
+ else
+ if ! diff "$output" "$file" >/dev/null
+ then
+ cp -f "$file" "$output"
+ echo "Updated ${basename}.xml"
+ fi
+ fi
+
+ rm $file
+}
+
+export HWLOC_LIBXML_IMPORT
+export HWLOC_LIBXML_EXPORT
+
+if test "$filename" = "${basename}.xml"; then
+ echo "Importing with default parser and reexporting with minimalistic implementation..."
+ HWLOC_LIBXML_IMPORT=1
+ HWLOC_LIBXML_EXPORT=0
+ do_run "$dirname" "$basename"
+ echo "Importing with minimalistic parser and reexporting with default implementation..."
+ HWLOC_LIBXML_IMPORT=0
+ HWLOC_LIBXML_EXPORT=1
+ do_run "$dirname" "$basename"
+else if test "$filename" = "${basename}.output"; then
+ echo "Importing with default parser"
+ HWLOC_LIBXML_IMPORT=1
+ do_run_with_output "$dirname" "$basename"
+ echo "Importing with minimalistic parser"
+ HWLOC_LIBXML_IMPORT=0
+ do_run_with_output "$dirname" "$basename"
+else
+ echo "Filename must end with either .xml or .output"
+ exit 1
+fi fi
+
+rm -rf "$tmp"
--- /dev/null
+/*
+ * Copyright © 2010-2018 Inria. All rights reserved.
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <hwloc.h>
+
+static int one_test(void)
+{
+ hwloc_topology_t topology;
+ int size1, size2;
+ char *buf1, *copy1, *buf2;
+ int err = 0, i;
+ char s[129];
+ char t[10];
+
+ for(i=0; i<128; i++)
+ s[i] = ' ';
+ s[128] = 0;
+ for(i=32; i<=126; i++)
+ s[i] = i;
+ s['\t'] = '\t';
+ s['\n'] = '\n';
+ s['\r'] = '\r';
+
+ t[0] = 'x';
+ for(i=1; i<=7; i++)
+ t[i] = i;
+ t[8] = 'y';
+ t[9] = '\0';
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_WHOLE_IO);
+ hwloc_topology_load(topology);
+ assert(hwloc_topology_is_thissystem(topology));
+ hwloc_obj_add_info(hwloc_get_root_obj(topology), "UglyString", s);
+ hwloc_obj_add_info(hwloc_get_root_obj(topology), "UberUglyString", t);
+ hwloc_topology_export_xmlbuffer(topology, &buf1, &size1);
+ hwloc_topology_destroy(topology);
+ printf("exported to buffer %p length %d\n", buf1, size1);
+
+ /* copy the returned buffer to a newly malloc'd one
+ * to check that the returned length is correct (contains ending 0, etc).
+ */
+ copy1 = malloc(size1);
+ assert(copy1);
+ memcpy(copy1, buf1, size1);
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_WHOLE_IO);
+ assert(!hwloc_topology_set_xmlbuffer(topology, copy1, size1));
+ hwloc_topology_load(topology);
+ assert(!hwloc_topology_is_thissystem(topology));
+ if (strcmp(hwloc_obj_get_info_by_name(hwloc_get_root_obj(topology), "UglyString"), s))
+ assert(0);
+ if (strcmp(hwloc_obj_get_info_by_name(hwloc_get_root_obj(topology), "UberUglyString"), "xy"))
+ assert(0);
+ hwloc_topology_export_xmlbuffer(topology, &buf2, &size2);
+ printf("re-exported to buffer %p length %d\n", buf2, size2);
+
+ if (strcmp(buf1, buf2)) {
+ printf("### First exported buffer is:\n");
+ printf("%s", buf1);
+ printf("### End of first export buffer\n");
+ printf("### Second exported buffer is:\n");
+ printf("%s", buf2);
+ printf("### End of second export buffer\n");
+ err = 1;
+ }
+
+ hwloc_free_xmlbuffer(topology, buf1);
+ hwloc_free_xmlbuffer(topology, buf2);
+ free(copy1);
+
+ hwloc_topology_destroy(topology);
+
+ return err;
+}
+
+int main(int argc, char *argv[])
+{
+ int err;
+
+ if (argc < 3) {
+ fprintf(stderr, "Need 0 or 1 twice as arguments for enabling/disabling libxml import and export\n");
+ fprintf(stderr, "For instance `xmlbuffer 0 1' enables libxml for export only\n");
+ fprintf(stderr, "Those arguments are passed by wrapper.sh during make check\n");
+ exit(EXIT_FAILURE);
+ }
+
+ if (atoi(argv[1])) {
+ putenv("HWLOC_LIBXML_IMPORT=1");
+ printf("import=libxml ");
+ } else {
+ putenv("HWLOC_LIBXML_IMPORT=0");
+ printf("import=nolibxml ");
+ }
+
+ if (atoi(argv[2])) {
+ putenv("HWLOC_LIBXML_EXPORT=1");
+ printf("export=libxml\n");
+ } else {
+ putenv("HWLOC_LIBXML_EXPORT=0");
+ printf("export=nolibxml\n");
+ }
+
+ err = one_test();
+ if (err < 0)
+ return err;
+
+ return 0;
+}
--- /dev/null
+# Copyright © 2014 Cisco Systems, Inc. All rights reserved.
+#
+# See COPYING in top-level directory.
+
+SUBDIRS = hwloc lstopo
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2014 Cisco Systems, Inc. All rights reserved.
+#
+# See COPYING in top-level directory.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = utils
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+am__DIST_COMMON = $(srcdir)/Makefile.in
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+SUBDIRS = hwloc lstopo
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign utils/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
+ check-am clean clean-generic clean-libtool cscopelist-am ctags \
+ ctags-am distclean distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+ ps ps-am tags tags-am uninstall uninstall-am
+
+.PRECIOUS: Makefile
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012, 2014, 2016 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+#
+# See COPYING in top-level directory.
+
+# This makefile is only reached when building in standalone mode
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+LDADD = $(HWLOC_top_builddir)/src/libhwloc.la
+
+EXTRA_DIST = \
+ test-hwloc-annotate.input test-hwloc-annotate.output \
+ test-hwloc-assembler.input1 test-hwloc-assembler.input2 test-hwloc-assembler.output \
+ test-hwloc-calc.output \
+ test-hwloc-compress-dir.input.tar.gz test-hwloc-compress-dir.output.tar.gz \
+ test-hwloc-diffpatch.input1 test-hwloc-diffpatch.input2 \
+ test-hwloc-distances.output \
+ test-hwloc-distrib.output \
+ test-hwloc-info.output
+
+noinst_HEADERS = misc.h
+
+bin_PROGRAMS = \
+ hwloc-annotate \
+ hwloc-assembler \
+ hwloc-bind \
+ hwloc-calc \
+ hwloc-diff \
+ hwloc-distances \
+ hwloc-distrib \
+ hwloc-info \
+ hwloc-patch
+
+if !HWLOC_HAVE_WINDOWS
+bin_PROGRAMS += hwloc-ps
+endif
+
+if HWLOC_HAVE_LINUX
+if HWLOC_HAVE_X86
+sbin_PROGRAMS = hwloc-dump-hwdata
+endif HWLOC_HAVE_X86
+endif HWLOC_HAVE_LINUX
+
+hwloc_dump_hwdata_SOURCES = \
+ hwloc-dump-hwdata.c \
+ hwloc-dump-hwdata-knl.c
+hwloc_dump_hwdata_CPPFLAGS = $(AM_CPPFLAGS) -DRUNSTATEDIR=\"$(HWLOC_runstatedir)\"
+
+hwloc_calc_SOURCES = \
+ hwloc-calc.h \
+ hwloc-calc.c
+
+bin_SCRIPTS = hwloc-assembler-remote hwloc-compress-dir
+if HWLOC_HAVE_LINUX
+bin_SCRIPTS += hwloc-gather-topology
+endif HWLOC_HAVE_LINUX
+
+if !HWLOC_HAVE_MINGW32
+TESTS = \
+ test-hwloc-annotate.sh \
+ test-hwloc-assembler.sh \
+ test-hwloc-calc.sh \
+ test-hwloc-compress-dir.sh \
+ test-hwloc-diffpatch.sh \
+ test-hwloc-distances.sh \
+ test-hwloc-distrib.sh \
+ test-hwloc-info.sh
+if HWLOC_HAVE_PLUGINS
+TESTS += test-fake-plugin.sh
+endif HWLOC_HAVE_PLUGINS
+endif !HWLOC_HAVE_MINGW32
+
+SEDMAN = $(SED) -e 's/%PACKAGE_NAME%/@PACKAGE_NAME@/g' \
+ -e 's/%PACKAGE_VERSION%/@PACKAGE_VERSION@/g' \
+ -e 's/%HWLOC_DATE%/@HWLOC_RELEASE_DATE@/g'
+
+# Only install man pages if we're building in standalone mode
+man7_pages = hwloc.7
+EXTRA_DIST += $(man7_pages:.7=.7in)
+nodist_man_MANS = $(man7_pages)
+
+man1_pages = \
+ hwloc-annotate.1 \
+ hwloc-assembler.1 \
+ hwloc-assembler-remote.1 \
+ hwloc-bind.1 \
+ hwloc-calc.1 \
+ hwloc-compress-dir.1 \
+ hwloc-diff.1 \
+ hwloc-distances.1 \
+ hwloc-distrib.1 \
+ hwloc-info.1 \
+ hwloc-patch.1
+EXTRA_DIST += $(man1_pages:.1=.1in)
+nodist_man_MANS += $(man1_pages)
+
+# Only install the gather-topology page if we're on Linux, but we need
+# to include it in the tarball, regardless of what OS we're building
+# on.
+hgt_page = hwloc-gather-topology.1
+EXTRA_DIST += $(hgt_page:.1=.1in)
+if HWLOC_HAVE_LINUX
+nodist_man_MANS += $(hgt_page)
+endif HWLOC_HAVE_LINUX
+
+# Same for hwloc-ps on !Windows
+hps_page = hwloc-ps.1
+EXTRA_DIST += $(hps_page:.1=.1in)
+if !HWLOC_HAVE_WINDOWS
+nodist_man_MANS += $(hps_page)
+endif
+
+# Same for dump-hwdata page on Linux/x86
+hdh_page = hwloc-dump-hwdata.1
+EXTRA_DIST += $(hdh_page:.1=.1in)
+if HWLOC_HAVE_LINUX
+# WARNING: The SEDMAN line below isn't portable ($(subst ...) is GNU-make only).
+# Keep this rule Linux-only, or stop using $(subst ...). See issue #187.
+if HWLOC_HAVE_X86
+nodist_man_MANS += $(hdh_page)
+hwloc-dump-hwdata.1: hwloc-dump-hwdata.1in
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ -e 's/%RUNSTATEDIR%/$(subst /,\/,$(HWLOC_runstatedir))/g' \
+ > $@ < $<
+endif HWLOC_HAVE_X86
+endif HWLOC_HAVE_LINUX
+
+.1in.1:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+.3in.3:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+.7in.7:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+install-exec-hook:
+ $(SED) -e 's/HWLOC_top_builddir\/utils\/hwloc/bindir/' -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-assembler-remote > $(DESTDIR)$(bindir)/hwloc-assembler-remote.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-assembler-remote.tmp $(DESTDIR)$(bindir)/hwloc-assembler-remote
+ $(SED) -e 's/HWLOC_top_builddir\/utils\/hwloc/bindir/' -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-compress-dir > $(DESTDIR)$(bindir)/hwloc-compress-dir.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-compress-dir.tmp $(DESTDIR)$(bindir)/hwloc-compress-dir
+ chmod +x $(DESTDIR)$(bindir)/hwloc-assembler-remote $(DESTDIR)$(bindir)/hwloc-compress-dir
+if HWLOC_HAVE_LINUX
+ $(SED) -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-gather-topology > $(DESTDIR)$(bindir)/hwloc-gather-topology.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-gather-topology.tmp $(DESTDIR)$(bindir)/hwloc-gather-topology
+ chmod +x $(DESTDIR)$(bindir)/hwloc-gather-topology
+endif HWLOC_HAVE_LINUX
+
+distclean-local:
+ rm -f $(nodist_man_MANS)
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012, 2014, 2016 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+#
+# See COPYING in top-level directory.
+
+# This makefile is only reached when building in standalone mode
+
+
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+bin_PROGRAMS = hwloc-annotate$(EXEEXT) hwloc-assembler$(EXEEXT) \
+ hwloc-bind$(EXEEXT) hwloc-calc$(EXEEXT) hwloc-diff$(EXEEXT) \
+ hwloc-distances$(EXEEXT) hwloc-distrib$(EXEEXT) \
+ hwloc-info$(EXEEXT) hwloc-patch$(EXEEXT) $(am__EXEEXT_1)
+@HWLOC_HAVE_WINDOWS_FALSE@am__append_1 = hwloc-ps
+@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_X86_TRUE@sbin_PROGRAMS = hwloc-dump-hwdata$(EXEEXT)
+@HWLOC_HAVE_LINUX_TRUE@am__append_2 = hwloc-gather-topology
+@HWLOC_HAVE_MINGW32_FALSE@@HWLOC_HAVE_PLUGINS_TRUE@am__append_3 = test-fake-plugin.sh
+@HWLOC_HAVE_LINUX_TRUE@am__append_4 = $(hgt_page)
+@HWLOC_HAVE_WINDOWS_FALSE@am__append_5 = $(hps_page)
+# WARNING: The SEDMAN line below isn't portable ($(subst ...) is GNU-make only).
+# Keep this rule Linux-only, or stop using $(subst ...). See issue #187.
+@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_X86_TRUE@am__append_6 = $(hdh_page)
+subdir = utils/hwloc
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
+ $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = hwloc-assembler-remote hwloc-compress-dir \
+ hwloc-gather-topology test-hwloc-annotate.sh \
+ test-hwloc-assembler.sh test-hwloc-calc.sh \
+ test-hwloc-compress-dir.sh test-hwloc-diffpatch.sh \
+ test-hwloc-distances.sh test-hwloc-distrib.sh \
+ test-hwloc-info.sh test-fake-plugin.sh
+CONFIG_CLEAN_VPATH_FILES =
+@HWLOC_HAVE_WINDOWS_FALSE@am__EXEEXT_1 = hwloc-ps$(EXEEXT)
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" \
+ "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
+ "$(DESTDIR)$(man7dir)"
+PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
+hwloc_annotate_SOURCES = hwloc-annotate.c
+hwloc_annotate_OBJECTS = hwloc-annotate.$(OBJEXT)
+hwloc_annotate_LDADD = $(LDADD)
+hwloc_annotate_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+hwloc_assembler_SOURCES = hwloc-assembler.c
+hwloc_assembler_OBJECTS = hwloc-assembler.$(OBJEXT)
+hwloc_assembler_LDADD = $(LDADD)
+hwloc_assembler_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_bind_SOURCES = hwloc-bind.c
+hwloc_bind_OBJECTS = hwloc-bind.$(OBJEXT)
+hwloc_bind_LDADD = $(LDADD)
+hwloc_bind_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+am_hwloc_calc_OBJECTS = hwloc-calc.$(OBJEXT)
+hwloc_calc_OBJECTS = $(am_hwloc_calc_OBJECTS)
+hwloc_calc_LDADD = $(LDADD)
+hwloc_calc_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_diff_SOURCES = hwloc-diff.c
+hwloc_diff_OBJECTS = hwloc-diff.$(OBJEXT)
+hwloc_diff_LDADD = $(LDADD)
+hwloc_diff_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_distances_SOURCES = hwloc-distances.c
+hwloc_distances_OBJECTS = hwloc-distances.$(OBJEXT)
+hwloc_distances_LDADD = $(LDADD)
+hwloc_distances_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_distrib_SOURCES = hwloc-distrib.c
+hwloc_distrib_OBJECTS = hwloc-distrib.$(OBJEXT)
+hwloc_distrib_LDADD = $(LDADD)
+hwloc_distrib_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+am_hwloc_dump_hwdata_OBJECTS = \
+ hwloc_dump_hwdata-hwloc-dump-hwdata.$(OBJEXT) \
+ hwloc_dump_hwdata-hwloc-dump-hwdata-knl.$(OBJEXT)
+hwloc_dump_hwdata_OBJECTS = $(am_hwloc_dump_hwdata_OBJECTS)
+hwloc_dump_hwdata_LDADD = $(LDADD)
+hwloc_dump_hwdata_DEPENDENCIES = \
+ $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_info_SOURCES = hwloc-info.c
+hwloc_info_OBJECTS = hwloc-info.$(OBJEXT)
+hwloc_info_LDADD = $(LDADD)
+hwloc_info_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_patch_SOURCES = hwloc-patch.c
+hwloc_patch_OBJECTS = hwloc-patch.$(OBJEXT)
+hwloc_patch_LDADD = $(LDADD)
+hwloc_patch_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+hwloc_ps_SOURCES = hwloc-ps.c
+hwloc_ps_OBJECTS = hwloc-ps.$(OBJEXT)
+hwloc_ps_LDADD = $(LDADD)
+hwloc_ps_DEPENDENCIES = $(HWLOC_top_builddir)/src/libhwloc.la
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+SCRIPTS = $(bin_SCRIPTS)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/private/autogen -I$(top_builddir)/include/hwloc/autogen
+depcomp = $(SHELL) $(top_srcdir)/./config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = hwloc-annotate.c hwloc-assembler.c hwloc-bind.c \
+ $(hwloc_calc_SOURCES) hwloc-diff.c hwloc-distances.c \
+ hwloc-distrib.c $(hwloc_dump_hwdata_SOURCES) hwloc-info.c \
+ hwloc-patch.c hwloc-ps.c
+DIST_SOURCES = hwloc-annotate.c hwloc-assembler.c hwloc-bind.c \
+ $(hwloc_calc_SOURCES) hwloc-diff.c hwloc-distances.c \
+ hwloc-distrib.c $(hwloc_dump_hwdata_SOURCES) hwloc-info.c \
+ hwloc-patch.c hwloc-ps.c
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+man1dir = $(mandir)/man1
+man7dir = $(mandir)/man7
+NROFF = nroff
+MANS = $(nodist_man_MANS)
+HEADERS = $(noinst_HEADERS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__DIST_COMMON = $(srcdir)/Makefile.in \
+ $(srcdir)/hwloc-assembler-remote.in \
+ $(srcdir)/hwloc-compress-dir.in \
+ $(srcdir)/hwloc-gather-topology.in \
+ $(srcdir)/test-fake-plugin.sh.in \
+ $(srcdir)/test-hwloc-annotate.sh.in \
+ $(srcdir)/test-hwloc-assembler.sh.in \
+ $(srcdir)/test-hwloc-calc.sh.in \
+ $(srcdir)/test-hwloc-compress-dir.sh.in \
+ $(srcdir)/test-hwloc-diffpatch.sh.in \
+ $(srcdir)/test-hwloc-distances.sh.in \
+ $(srcdir)/test-hwloc-distrib.sh.in \
+ $(srcdir)/test-hwloc-info.sh.in $(top_srcdir)/./config/depcomp \
+ $(top_srcdir)/./config/test-driver
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS)
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+LDADD = $(HWLOC_top_builddir)/src/libhwloc.la
+EXTRA_DIST = test-hwloc-annotate.input test-hwloc-annotate.output \
+ test-hwloc-assembler.input1 test-hwloc-assembler.input2 \
+ test-hwloc-assembler.output test-hwloc-calc.output \
+ test-hwloc-compress-dir.input.tar.gz \
+ test-hwloc-compress-dir.output.tar.gz \
+ test-hwloc-diffpatch.input1 test-hwloc-diffpatch.input2 \
+ test-hwloc-distances.output test-hwloc-distrib.output \
+ test-hwloc-info.output $(man7_pages:.7=.7in) \
+ $(man1_pages:.1=.1in) $(hgt_page:.1=.1in) $(hps_page:.1=.1in) \
+ $(hdh_page:.1=.1in)
+noinst_HEADERS = misc.h
+hwloc_dump_hwdata_SOURCES = \
+ hwloc-dump-hwdata.c \
+ hwloc-dump-hwdata-knl.c
+
+hwloc_dump_hwdata_CPPFLAGS = $(AM_CPPFLAGS) -DRUNSTATEDIR=\"$(HWLOC_runstatedir)\"
+hwloc_calc_SOURCES = \
+ hwloc-calc.h \
+ hwloc-calc.c
+
+bin_SCRIPTS = hwloc-assembler-remote hwloc-compress-dir \
+ $(am__append_2)
+@HWLOC_HAVE_MINGW32_FALSE@TESTS = test-hwloc-annotate.sh \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-assembler.sh \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-calc.sh \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-compress-dir.sh \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-diffpatch.sh \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-distances.sh \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-distrib.sh \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-info.sh $(am__append_3)
+SEDMAN = $(SED) -e 's/%PACKAGE_NAME%/@PACKAGE_NAME@/g' \
+ -e 's/%PACKAGE_VERSION%/@PACKAGE_VERSION@/g' \
+ -e 's/%HWLOC_DATE%/@HWLOC_RELEASE_DATE@/g'
+
+
+# Only install man pages if we're building in standalone mode
+man7_pages = hwloc.7
+nodist_man_MANS = $(man7_pages) $(man1_pages) $(am__append_4) \
+ $(am__append_5) $(am__append_6)
+man1_pages = \
+ hwloc-annotate.1 \
+ hwloc-assembler.1 \
+ hwloc-assembler-remote.1 \
+ hwloc-bind.1 \
+ hwloc-calc.1 \
+ hwloc-compress-dir.1 \
+ hwloc-diff.1 \
+ hwloc-distances.1 \
+ hwloc-distrib.1 \
+ hwloc-info.1 \
+ hwloc-patch.1
+
+
+# Only install the gather-topology page if we're on Linux, but we need
+# to include it in the tarball, regardless of what OS we're building
+# on.
+hgt_page = hwloc-gather-topology.1
+
+# Same for hwloc-ps on !Windows
+hps_page = hwloc-ps.1
+
+# Same for dump-hwdata page on Linux/x86
+hdh_page = hwloc-dump-hwdata.1
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .1 .1in .3 .3in .7 .7in .c .lo .log .o .obj .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/hwloc/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign utils/hwloc/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+hwloc-assembler-remote: $(top_builddir)/config.status $(srcdir)/hwloc-assembler-remote.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+hwloc-compress-dir: $(top_builddir)/config.status $(srcdir)/hwloc-compress-dir.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+hwloc-gather-topology: $(top_builddir)/config.status $(srcdir)/hwloc-gather-topology.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-annotate.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-annotate.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-assembler.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-assembler.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-calc.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-calc.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-compress-dir.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-compress-dir.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-diffpatch.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-diffpatch.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-distances.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-distances.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-distrib.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-distrib.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-hwloc-info.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-info.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+test-fake-plugin.sh: $(top_builddir)/config.status $(srcdir)/test-fake-plugin.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p \
+ || test -f $$p1 \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
+ echo " rm -f" $$list; \
+ rm -f $$list || exit $$?; \
+ test -n "$(EXEEXT)" || exit 0; \
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+ echo " rm -f" $$list; \
+ rm -f $$list
+install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
+ fi; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p \
+ || test -f $$p1 \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-sbinPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(sbindir)" && rm -f $$files
+
+clean-sbinPROGRAMS:
+ @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
+ echo " rm -f" $$list; \
+ rm -f $$list || exit $$?; \
+ test -n "$(EXEEXT)" || exit 0; \
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+ echo " rm -f" $$list; \
+ rm -f $$list
+
+hwloc-annotate$(EXEEXT): $(hwloc_annotate_OBJECTS) $(hwloc_annotate_DEPENDENCIES) $(EXTRA_hwloc_annotate_DEPENDENCIES)
+ @rm -f hwloc-annotate$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_annotate_OBJECTS) $(hwloc_annotate_LDADD) $(LIBS)
+
+hwloc-assembler$(EXEEXT): $(hwloc_assembler_OBJECTS) $(hwloc_assembler_DEPENDENCIES) $(EXTRA_hwloc_assembler_DEPENDENCIES)
+ @rm -f hwloc-assembler$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_assembler_OBJECTS) $(hwloc_assembler_LDADD) $(LIBS)
+
+hwloc-bind$(EXEEXT): $(hwloc_bind_OBJECTS) $(hwloc_bind_DEPENDENCIES) $(EXTRA_hwloc_bind_DEPENDENCIES)
+ @rm -f hwloc-bind$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_bind_OBJECTS) $(hwloc_bind_LDADD) $(LIBS)
+
+hwloc-calc$(EXEEXT): $(hwloc_calc_OBJECTS) $(hwloc_calc_DEPENDENCIES) $(EXTRA_hwloc_calc_DEPENDENCIES)
+ @rm -f hwloc-calc$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_calc_OBJECTS) $(hwloc_calc_LDADD) $(LIBS)
+
+hwloc-diff$(EXEEXT): $(hwloc_diff_OBJECTS) $(hwloc_diff_DEPENDENCIES) $(EXTRA_hwloc_diff_DEPENDENCIES)
+ @rm -f hwloc-diff$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_diff_OBJECTS) $(hwloc_diff_LDADD) $(LIBS)
+
+hwloc-distances$(EXEEXT): $(hwloc_distances_OBJECTS) $(hwloc_distances_DEPENDENCIES) $(EXTRA_hwloc_distances_DEPENDENCIES)
+ @rm -f hwloc-distances$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_distances_OBJECTS) $(hwloc_distances_LDADD) $(LIBS)
+
+hwloc-distrib$(EXEEXT): $(hwloc_distrib_OBJECTS) $(hwloc_distrib_DEPENDENCIES) $(EXTRA_hwloc_distrib_DEPENDENCIES)
+ @rm -f hwloc-distrib$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_distrib_OBJECTS) $(hwloc_distrib_LDADD) $(LIBS)
+
+hwloc-dump-hwdata$(EXEEXT): $(hwloc_dump_hwdata_OBJECTS) $(hwloc_dump_hwdata_DEPENDENCIES) $(EXTRA_hwloc_dump_hwdata_DEPENDENCIES)
+ @rm -f hwloc-dump-hwdata$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_dump_hwdata_OBJECTS) $(hwloc_dump_hwdata_LDADD) $(LIBS)
+
+hwloc-info$(EXEEXT): $(hwloc_info_OBJECTS) $(hwloc_info_DEPENDENCIES) $(EXTRA_hwloc_info_DEPENDENCIES)
+ @rm -f hwloc-info$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_info_OBJECTS) $(hwloc_info_LDADD) $(LIBS)
+
+hwloc-patch$(EXEEXT): $(hwloc_patch_OBJECTS) $(hwloc_patch_DEPENDENCIES) $(EXTRA_hwloc_patch_DEPENDENCIES)
+ @rm -f hwloc-patch$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_patch_OBJECTS) $(hwloc_patch_LDADD) $(LIBS)
+
+hwloc-ps$(EXEEXT): $(hwloc_ps_OBJECTS) $(hwloc_ps_DEPENDENCIES) $(EXTRA_hwloc_ps_DEPENDENCIES)
+ @rm -f hwloc-ps$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(hwloc_ps_OBJECTS) $(hwloc_ps_LDADD) $(LIBS)
+install-binSCRIPTS: $(bin_SCRIPTS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n' \
+ -e 'h;s|.*|.|' \
+ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) { files[d] = files[d] " " $$1; \
+ if (++n[d] == $(am__install_max)) { \
+ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
+ else { print "f", d "/" $$4, $$1 } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binSCRIPTS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 's,.*/,,;$(transform)'`; \
+ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-annotate.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-assembler.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-bind.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-calc.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-diff.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-distances.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-distrib.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-info.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-patch.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc-ps.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata-knl.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+hwloc_dump_hwdata-hwloc-dump-hwdata.o: hwloc-dump-hwdata.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hwloc_dump_hwdata-hwloc-dump-hwdata.o -MD -MP -MF $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata.Tpo -c -o hwloc_dump_hwdata-hwloc-dump-hwdata.o `test -f 'hwloc-dump-hwdata.c' || echo '$(srcdir)/'`hwloc-dump-hwdata.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata.Tpo $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='hwloc-dump-hwdata.c' object='hwloc_dump_hwdata-hwloc-dump-hwdata.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hwloc_dump_hwdata-hwloc-dump-hwdata.o `test -f 'hwloc-dump-hwdata.c' || echo '$(srcdir)/'`hwloc-dump-hwdata.c
+
+hwloc_dump_hwdata-hwloc-dump-hwdata.obj: hwloc-dump-hwdata.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hwloc_dump_hwdata-hwloc-dump-hwdata.obj -MD -MP -MF $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata.Tpo -c -o hwloc_dump_hwdata-hwloc-dump-hwdata.obj `if test -f 'hwloc-dump-hwdata.c'; then $(CYGPATH_W) 'hwloc-dump-hwdata.c'; else $(CYGPATH_W) '$(srcdir)/hwloc-dump-hwdata.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata.Tpo $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='hwloc-dump-hwdata.c' object='hwloc_dump_hwdata-hwloc-dump-hwdata.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hwloc_dump_hwdata-hwloc-dump-hwdata.obj `if test -f 'hwloc-dump-hwdata.c'; then $(CYGPATH_W) 'hwloc-dump-hwdata.c'; else $(CYGPATH_W) '$(srcdir)/hwloc-dump-hwdata.c'; fi`
+
+hwloc_dump_hwdata-hwloc-dump-hwdata-knl.o: hwloc-dump-hwdata-knl.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hwloc_dump_hwdata-hwloc-dump-hwdata-knl.o -MD -MP -MF $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata-knl.Tpo -c -o hwloc_dump_hwdata-hwloc-dump-hwdata-knl.o `test -f 'hwloc-dump-hwdata-knl.c' || echo '$(srcdir)/'`hwloc-dump-hwdata-knl.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata-knl.Tpo $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata-knl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='hwloc-dump-hwdata-knl.c' object='hwloc_dump_hwdata-hwloc-dump-hwdata-knl.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hwloc_dump_hwdata-hwloc-dump-hwdata-knl.o `test -f 'hwloc-dump-hwdata-knl.c' || echo '$(srcdir)/'`hwloc-dump-hwdata-knl.c
+
+hwloc_dump_hwdata-hwloc-dump-hwdata-knl.obj: hwloc-dump-hwdata-knl.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hwloc_dump_hwdata-hwloc-dump-hwdata-knl.obj -MD -MP -MF $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata-knl.Tpo -c -o hwloc_dump_hwdata-hwloc-dump-hwdata-knl.obj `if test -f 'hwloc-dump-hwdata-knl.c'; then $(CYGPATH_W) 'hwloc-dump-hwdata-knl.c'; else $(CYGPATH_W) '$(srcdir)/hwloc-dump-hwdata-knl.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata-knl.Tpo $(DEPDIR)/hwloc_dump_hwdata-hwloc-dump-hwdata-knl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='hwloc-dump-hwdata-knl.c' object='hwloc_dump_hwdata-hwloc-dump-hwdata-knl.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hwloc_dump_hwdata_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hwloc_dump_hwdata-hwloc-dump-hwdata-knl.obj `if test -f 'hwloc-dump-hwdata-knl.c'; then $(CYGPATH_W) 'hwloc-dump-hwdata-knl.c'; else $(CYGPATH_W) '$(srcdir)/hwloc-dump-hwdata-knl.c'; fi`
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-man1: $(nodist_man_MANS)
+ @$(NORMAL_INSTALL)
+ @list1=''; \
+ list2='$(nodist_man_MANS)'; \
+ test -n "$(man1dir)" \
+ && test -n "`echo $$list1$$list2`" \
+ || exit 0; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
+ { for i in $$list1; do echo "$$i"; done; \
+ if test -n "$$list2"; then \
+ for i in $$list2; do echo "$$i"; done \
+ | sed -n '/\.1[a-z]*$$/p'; \
+ fi; \
+ } | while read p; do \
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; echo "$$p"; \
+ done | \
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+ sed 'N;N;s,\n, ,g' | { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
+ fi; \
+ done; \
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+ while read files; do \
+ test -z "$$files" || { \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
+ done; }
+
+uninstall-man1:
+ @$(NORMAL_UNINSTALL)
+ @list=''; test -n "$(man1dir)" || exit 0; \
+ files=`{ for i in $$list; do echo "$$i"; done; \
+ l2='$(nodist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
+ sed -n '/\.1[a-z]*$$/p'; \
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
+ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
+install-man7: $(nodist_man_MANS)
+ @$(NORMAL_INSTALL)
+ @list1=''; \
+ list2='$(nodist_man_MANS)'; \
+ test -n "$(man7dir)" \
+ && test -n "`echo $$list1$$list2`" \
+ || exit 0; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man7dir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man7dir)" || exit 1; \
+ { for i in $$list1; do echo "$$i"; done; \
+ if test -n "$$list2"; then \
+ for i in $$list2; do echo "$$i"; done \
+ | sed -n '/\.7[a-z]*$$/p'; \
+ fi; \
+ } | while read p; do \
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; echo "$$p"; \
+ done | \
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^7][0-9a-z]*$$,7,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+ sed 'N;N;s,\n, ,g' | { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man7dir)/$$inst'"; \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man7dir)/$$inst" || exit $$?; \
+ fi; \
+ done; \
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+ while read files; do \
+ test -z "$$files" || { \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man7dir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man7dir)" || exit $$?; }; \
+ done; }
+
+uninstall-man7:
+ @$(NORMAL_UNINSTALL)
+ @list=''; test -n "$(man7dir)" || exit 0; \
+ files=`{ for i in $$list; do echo "$$i"; done; \
+ l2='$(nodist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
+ sed -n '/\.7[a-z]*$$/p'; \
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^7][0-9a-z]*$$,7,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
+ dir='$(DESTDIR)$(man7dir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+test-hwloc-annotate.sh.log: test-hwloc-annotate.sh
+ @p='test-hwloc-annotate.sh'; \
+ b='test-hwloc-annotate.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-hwloc-assembler.sh.log: test-hwloc-assembler.sh
+ @p='test-hwloc-assembler.sh'; \
+ b='test-hwloc-assembler.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-hwloc-calc.sh.log: test-hwloc-calc.sh
+ @p='test-hwloc-calc.sh'; \
+ b='test-hwloc-calc.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-hwloc-compress-dir.sh.log: test-hwloc-compress-dir.sh
+ @p='test-hwloc-compress-dir.sh'; \
+ b='test-hwloc-compress-dir.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-hwloc-diffpatch.sh.log: test-hwloc-diffpatch.sh
+ @p='test-hwloc-diffpatch.sh'; \
+ b='test-hwloc-diffpatch.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-hwloc-distances.sh.log: test-hwloc-distances.sh
+ @p='test-hwloc-distances.sh'; \
+ b='test-hwloc-distances.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-hwloc-distrib.sh.log: test-hwloc-distrib.sh
+ @p='test-hwloc-distrib.sh'; \
+ b='test-hwloc-distrib.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-hwloc-info.sh.log: test-hwloc-info.sh
+ @p='test-hwloc-info.sh'; \
+ b='test-hwloc-info.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+test-fake-plugin.sh.log: test-fake-plugin.sh
+ @p='test-fake-plugin.sh'; \
+ b='test-fake-plugin.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man7dir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic clean-libtool \
+ clean-sbinPROGRAMS mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-man
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS install-binSCRIPTS \
+ install-sbinPROGRAMS
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man: install-man1 install-man7
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man \
+ uninstall-sbinPROGRAMS
+
+uninstall-man: uninstall-man1 uninstall-man7
+
+.MAKE: check-am install-am install-exec-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+ clean-binPROGRAMS clean-generic clean-libtool \
+ clean-sbinPROGRAMS cscopelist-am ctags ctags-am distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-local distclean-tags distdir dvi dvi-am html html-am \
+ info info-am install install-am install-binPROGRAMS \
+ install-binSCRIPTS install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-exec-hook \
+ install-html install-html-am install-info install-info-am \
+ install-man install-man1 install-man7 install-pdf \
+ install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am recheck tags tags-am uninstall \
+ uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
+ uninstall-man uninstall-man1 uninstall-man7 \
+ uninstall-sbinPROGRAMS
+
+.PRECIOUS: Makefile
+
+@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_X86_TRUE@hwloc-dump-hwdata.1: hwloc-dump-hwdata.1in
+@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_X86_TRUE@ @ echo Creating $@ man page...
+@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_X86_TRUE@ @ $(SEDMAN) \
+@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_X86_TRUE@ -e 's/%RUNSTATEDIR%/$(subst /,\/,$(HWLOC_runstatedir))/g' \
+@HWLOC_HAVE_LINUX_TRUE@@HWLOC_HAVE_X86_TRUE@ > $@ < $<
+
+.1in.1:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+.3in.3:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+.7in.7:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+install-exec-hook:
+ $(SED) -e 's/HWLOC_top_builddir\/utils\/hwloc/bindir/' -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-assembler-remote > $(DESTDIR)$(bindir)/hwloc-assembler-remote.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-assembler-remote.tmp $(DESTDIR)$(bindir)/hwloc-assembler-remote
+ $(SED) -e 's/HWLOC_top_builddir\/utils\/hwloc/bindir/' -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-compress-dir > $(DESTDIR)$(bindir)/hwloc-compress-dir.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-compress-dir.tmp $(DESTDIR)$(bindir)/hwloc-compress-dir
+ chmod +x $(DESTDIR)$(bindir)/hwloc-assembler-remote $(DESTDIR)$(bindir)/hwloc-compress-dir
+@HWLOC_HAVE_LINUX_TRUE@ $(SED) -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-gather-topology > $(DESTDIR)$(bindir)/hwloc-gather-topology.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-gather-topology.tmp $(DESTDIR)$(bindir)/hwloc-gather-topology
+@HWLOC_HAVE_LINUX_TRUE@ chmod +x $(DESTDIR)$(bindir)/hwloc-gather-topology
+
+distclean-local:
+ rm -f $(nodist_man_MANS)
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2013-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-ANNOTATE "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-annotate \- Modify attributes in a XML topology
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.B hwloc-annotate
+[\fIoptions\fR]
+\fI<input.xml>\fR
+\fI<output.xml>\fR
+\fI<location>\fR
+\fI<mode>\fR
+\fI<annotation>\fR
+.
+.PP
+Note that hwloc(7) provides a detailed explanation of the hwloc system
+and of valid <location> formats;
+it should be read before reading this man page.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP 10
+\fB\-\-ri\fR
+Remove all info attributes that exist with the same name before adding the new one.
+This option is only accepted in "info" mode.
+If the info value is omitted, existing infos are replaced with nothing.
+.TP
+\fB\-\-ci\fR
+Clear the existing info attributes in the target objects before annotating.
+If no new annotation has to be added after clearing, \fImode\fR should be
+set to \fInone\fR.
+.TP
+\fB\-\-cu\fR
+Clear the existing userdata from the target objects.
+If nothing else has to be performed after clearing, \fImode\fR should be
+set to \fInone\fR.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-annotate loads a topology from a XML file, adds some annotations,
+and export the resulting topology to another XML file.
+The input and output files may be the same.
+.
+.PP
+The annotation may be string info attributes.
+This is specified by the \fImode\fR:
+.
+.TP
+.B info <name> <value>
+Specifies a new string info attribute whose name is \fIname\fR and
+value is \fIvalue\fR.
+.TP
+.B misc <name>
+Specifies a new Misc object name.
+.TP
+.B none
+No new annotation is added. This is useful when clearing existing attributes.
+.
+.PP
+Annotations may be added to one specific object in the topology,
+all of them, or all of a given type.
+This is specified by the \fIlocation\fR (see also EXAMPLES below).
+Objects may be specified as location tuples, as explained in hwloc(7).
+However hexadecimal bitmasks are not accepted since they may correspond to multiple objects.
+.
+.PP
+.B NOTE:
+The existing annotations may be listed with hwloc-info.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page. Most of the concepts described in
+hwloc(7) directly apply to the hwloc-annotate utility.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+hwloc-annotate's operation is best described through several examples.
+.
+.PP
+Add an info attribute to all Core objects:
+
+ $ hwloc-annotate input.xml output.xml Core:all info infoname infovalue
+
+Add a Misc object named "foobar" under the root object of the topology
+and modify the input XML directly:
+
+ $ hwloc-annotate file.xml file.xml root misc foobar
+
+Add an info attribute to OS device #2 and #3:
+
+ $ hwloc-annotate input.xml output.xml os:2-3 info infoname infovalue
+
+Change package objects to green with red text in the lstopo graphical output:
+
+ $ hwloc-annotate topo.xml topo.xml package:all info lstopoStyle "Background=#00ff00;Text=#ff0000"
+ $ lstopo -i topo.xml
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-annotate generates the output topology.
+The return value is 0.
+.
+.PP
+hwloc-annotate will return nonzero if any kind of error occurs, such as
+(but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-info(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2012-2019 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/private.h>
+#include <hwloc-calc.h>
+#include <hwloc.h>
+
+#include "misc.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+void usage(const char *callname __hwloc_attribute_unused, FILE *where)
+{
+ fprintf(where, "Usage: hwloc-annotate [options] <input.xml> <output.xml> <location> <annotation>\n");
+ fprintf(where, " <location> may be:\n");
+ fprintf(where, " all, root, <type>:<logicalindex>, <type>:all\n");
+ fprintf(where, " <annotation> may be:\n");
+ fprintf(where, " info <name> <value>\n");
+ fprintf(where, " misc <name>\n");
+ fprintf(where, " none\n");
+ fprintf(where, "Options:\n");
+ fprintf(where, " --ci\tClear existing infos\n");
+ fprintf(where, " --ri\tReplace or remove existing infos with same name (annotation must be info)\n");
+ fprintf(where, " --cu\tClear existing userdata\n");
+}
+
+static char *infoname = NULL, *infovalue = NULL;
+
+static char *miscname = NULL;
+
+static int clearinfos = 0;
+static int replaceinfos = 0;
+static int clearuserdata = 0;
+
+static void apply(hwloc_topology_t topology, hwloc_obj_t obj)
+{
+ unsigned i,j;
+ if (clearinfos) {
+ /* this may be considered dangerous, applications should not modify objects directly */
+ for(i=0; i<obj->infos_count; i++) {
+ free(obj->infos[i].name);
+ free(obj->infos[i].value);
+ }
+ free(obj->infos);
+ obj->infos = NULL;
+ obj->infos_count = 0;
+ }
+ if (clearuserdata) {
+ hwloc_utils_userdata_free(obj);
+ }
+ if (infoname) {
+ if (replaceinfos) {
+ /* this may be considered dangerous, applications should not modify objects directly */
+ for(i=0, j=0; i<obj->infos_count; i++) {
+ if (!strcmp(infoname, obj->infos[i].name)) {
+ /* remove info */
+ free(obj->infos[i].name);
+ free(obj->infos[i].value);
+ obj->infos[i].name = NULL;
+ } else {
+ if (i != j) {
+ /* shift info to where it belongs */
+ obj->infos[j].name = obj->infos[i].name;
+ obj->infos[j].value = obj->infos[i].value;
+ }
+ j++;
+ }
+ }
+ obj->infos_count = j;
+ if (!j) {
+ free(obj->infos);
+ obj->infos = NULL;
+ }
+ }
+ if (infovalue)
+ hwloc_obj_add_info(obj, infoname, infovalue);
+ }
+ if (miscname)
+ hwloc_topology_insert_misc_object_by_parent(topology, obj, miscname);
+}
+
+static void apply_recursive(hwloc_topology_t topology, hwloc_obj_t obj)
+{
+ unsigned i;
+ for(i=0; i<obj->arity; i++)
+ apply_recursive(topology, obj->children[i]);
+ apply(topology, obj);
+}
+
+static void
+hwloc_calc_process_location_annotate_cb(struct hwloc_calc_location_context_s *lcontext,
+ void *_data __hwloc_attribute_unused,
+ hwloc_obj_t obj)
+{
+ apply(lcontext->topology, obj);
+}
+
+int main(int argc, char *argv[])
+{
+ hwloc_topology_t topology;
+ char *callname, *input, *output, *location;
+ unsigned topodepth;
+ int err;
+
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+
+ callname = argv[0];
+ /* skip argv[0], handle options */
+ argc--;
+ argv++;
+
+ while (argc && *argv[0] == '-') {
+ if (!strcmp(argv[0], "--ci"))
+ clearinfos = 1;
+ else if (!strcmp(argv[0], "--ri"))
+ replaceinfos = 1;
+ else if (!strcmp(argv[0], "--cu"))
+ clearuserdata = 1;
+ else {
+ fprintf(stderr, "Unrecognized options: %s\n", argv[0]);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ argc--;
+ argv++;
+ }
+
+ if (argc < 3) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ input = argv[0];
+ output = argv[1];
+ location = argv[2];
+ argc -= 3;
+ argv += 3;
+
+ if (argc < 1) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ if (!strcmp(argv[0], "info")) {
+ if (argc < 2 || (!replaceinfos && argc < 3)) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ infoname = argv[1];
+ infovalue = argc >= 3 ? argv[2] : NULL;
+
+ } else if (!strcmp(argv[0], "misc")) {
+ if (argc < 2) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ miscname = argv[1];
+
+ } else if (!strcmp(argv[0], "none")) {
+ /* do nothing (maybe clear) */
+ } else {
+ fprintf(stderr, "Unrecognized annotation type: %s\n", argv[0]);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+
+ if (replaceinfos && !infoname) {
+ fprintf(stderr, "--ri missing a info name\n");
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM | HWLOC_TOPOLOGY_FLAG_WHOLE_IO | HWLOC_TOPOLOGY_FLAG_ICACHES);
+ err = hwloc_topology_set_xml(topology, input);
+ if (err < 0)
+ goto out_with_topology;
+
+ putenv((char *) "HWLOC_XML_USERDATA_NOT_DECODED=1");
+ hwloc_topology_set_userdata_import_callback(topology, hwloc_utils_userdata_import_cb);
+ hwloc_topology_set_userdata_export_callback(topology, hwloc_utils_userdata_export_cb);
+
+ err = hwloc_topology_load(topology);
+ if (err < 0)
+ goto out_with_topology;
+
+ topodepth = hwloc_topology_get_depth(topology);
+
+ if (!strcmp(location, "all")) {
+ apply_recursive(topology, hwloc_get_root_obj(topology));
+ } else if (!strcmp(location, "root")) {
+ apply(topology, hwloc_get_root_obj(topology));
+ } else {
+ size_t typelen;
+ typelen = strspn(location, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
+ if (typelen && (location[typelen] == ':' || location[typelen] == '=' || location[typelen] == '[')) {
+ struct hwloc_calc_location_context_s lcontext;
+ lcontext.topology = topology;
+ lcontext.topodepth = topodepth;
+ lcontext.only_hbm = -1;
+ lcontext.logical = 1;
+ lcontext.verbose = 0;
+ err = hwloc_calc_process_location(&lcontext, location, typelen,
+ hwloc_calc_process_location_annotate_cb, topology);
+ }
+ }
+
+ err = hwloc_topology_export_xml(topology, output);
+ if (err < 0)
+ goto out;
+
+ hwloc_utils_userdata_free_recursive(hwloc_get_root_obj(topology));
+ hwloc_topology_destroy(topology);
+ exit(EXIT_SUCCESS);
+
+out_with_topology:
+ hwloc_utils_userdata_free_recursive(hwloc_get_root_obj(topology));
+ hwloc_topology_destroy(topology);
+out:
+ exit(EXIT_FAILURE);
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2011-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-ASSEMBLER-REMOTE "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-assembler-remote \- Assemble multiple remote host topologies
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.B hwloc-assembler-remote
+[\fIoptions\fR]
+output.xml
+host1 host2
+\fR...
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.TP
+\fB\-\-ssh <ssh>\fR
+Use the given ssh command (and options) to connect to remote hosts.
+.TP
+\fB\-\-lstopo\-path <path>\fR
+Use the given path as the remote lstopo command when gathering remote topologies.
+By default, lstopo is taken from the PATH environment variable.
+.TP
+\fB\-\-lstopo\-opts <opts>\fR
+Pass the given lstopo options when gathering remote topologies.
+.TP
+\fB\-\-show\fR
+Display the resulting topology before exit.
+.TP
+\fB\-f \-\-force\fR
+Ignore failure to load a remote host topology.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-assembler-remote is a frontend to hwloc-assembler.
+It takes care of retrieving the remote nodes' topologies
+before assembling them with hwloc-assembler.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+To assemble three nodes topologies:
+
+ $ hwloc-assembler-remote output.xml host1 host2 host3
+
+.PP
+To assemble the topology of a multi-process MPI job defined
+as a machinefile:
+
+ $ hwloc-assembler-remote output.xml `cat machinefile | sort | uniq`
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-assembler-remote returns 0.
+.
+.PP
+hwloc-assembler-remote will return nonzero if any kind of error occurs, such as
+(but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-assembler(1)
+.sp
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2011-2013 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+prefix="@prefix@"
+exec_prefix="@exec_prefix@"
+bindir="@bindir@"
+# this will be changed into $bindir/lstopo during make install
+locallstopo="$HWLOC_top_builddir/utils/lstopo/lstopo"
+assembler="$HWLOC_top_builddir/utils/hwloc/hwloc-assembler"
+
+force=0
+show=0
+ssh=ssh
+remotelstopo=lstopo
+remotelstopoopts=
+inputs=
+inputopts=
+failedhosts=
+output=
+
+error()
+{
+ echo $@ 2>&1
+}
+
+usage()
+{
+ echo "$0 [options] <output> <host1> <host2> ..."
+ echo " Gathers the topology of remote hosts and assembles them into the"
+ echo " <output> XML topology."
+ echo "Options:"
+ echo " --ssh <ssh> Use the given ssh command (and options) to connect to remote hosts"
+ echo " --lstopo-path <path> Use the given path as the remote lstopo command"
+ echo " --lstopo-opts <opts> Pass the given lstopo options when gathering remote topologies"
+ echo " --show Display the resulting topology before exit"
+ echo " -f --force Ignore failure to load a remote host topology"
+}
+
+while test $# -gt 0 ; do
+ case "$1" in
+ --ssh)
+ ssh="$2"
+ shift
+ ;;
+ --lstopo-path)
+ remotelstopo="$2"
+ shift
+ ;;
+ --lstopo-opts)
+ remotelstopoopts="$2"
+ shift
+ ;;
+ -s|--show)
+ show=1
+ ;;
+ -f|--force)
+ force=1
+ ;;
+ -h)
+ usage
+ exit 0
+ ;;
+ -*)
+ error "Unrecognized option: $1"
+ usage
+ exit 1
+ ;;
+ *)
+ if test -z "$output" ; then
+ output="$1"
+ else
+ file=`mktemp --tmpdir hwloc-assembler-remote.$1.XXXXXXXX.xml`
+ echo -n "Exporting host $1 topology to $file ..."
+ if "$ssh" "$1" "$remotelstopo" "$remotelstopoopts" -.xml > $file ; then
+ echo "done"
+ inputs="$inputs $file"
+ inputopts="$inputopts --name $1 $file"
+ else
+ echo "failed!"
+ rm "$file"
+ failedhosts="$failedhosts $1"
+ test $force -eq 0 && exit -1;
+ fi
+ fi
+ ;;
+ esac
+ shift
+done
+
+if test -z "$output" ; then
+ error "Missing output filename"
+ rm -f $inputs
+ usage
+ exit 1
+fi
+
+test $force -eq 1 && assembleropts="$assembleropts -f"
+
+echo "$assembler" $assembleropts "$output" $inputopts
+"$assembler" $assembleropts "$output" $inputopts
+ret=$?
+
+rm -f $inputs
+
+if test $ret -eq 0 ; then
+ echo "Assembled into $output"
+else
+ echo "Failed to assemble into $output"
+fi
+
+if test -n "$failedhosts" ; then
+ error "Failed to contact hosts:$failedhosts"
+fi
+
+if test $ret -eq 0 -a $show -eq 1 ; then "$locallstopo" -i "$output" ; fi
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2011-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-ASSEMBLER "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-assembler \- Assemble multiple XML topologies
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.B hwloc-assembler
+[\fIoptions\fR]
+output.xml
+[--name <name1>] input1.xml
+[--name <name2>] input2.xml
+\fR...
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.TP
+\fB\-n \-\-name <name>\fR
+Set <name> in the \fIAssemblerName\fR info attribute of the next
+input topology root to ease identification within the final global
+topology.
+.TP
+\fB\-f \-\-force\fR
+Ignore errors while reading input files.
+.TP
+\fB\-v \-\-verbose\fR
+Verbose messages.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-assembler combines the input XML topologies and exports the
+resulting global topologies to a new XML file.
+All inputs are inserting as children of the global root object.
+.
+.PP
+Each input topology root is annotated with info attributes
+before insertion.
+\fIAssemblerIndex\fR is set to the index within the list of inputs.
+\fIAssemblerName\fR is set to the name given with \fB--name\fR if any.
+.
+.PP
+hwloc-assembler-remote offers a frontend for assembling remote nodes
+topologies without having to manually gather and transfer each of them.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+To assemble two nodes topologies:
+
+ $ hwloc-assembler output.xml --name host1 host1.xml --name host2 host2.xml
+.
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-assembler returns 0.
+.
+.PP
+hwloc-assembler will return nonzero if any kind of error occurs, such as
+(but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-assembler-remote(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2011-2019 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+
+#include "misc.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+void usage(const char *name, FILE *where)
+{
+ fprintf (where, "Usage: %s [options] <output>.xml [-n <name1] <input1>.xml [-n name2] <input2>.xml ...\n", name);
+ fprintf (where, "Options:\n");
+ fprintf (where, " -v --verbose Show verbose messages\n");
+ fprintf (where, " -f --force Ignore errors while reading input files\n");
+ fprintf (where, " -n --name <name> Set the name of the next input topology\n");
+}
+
+int main(int argc, char *argv[])
+{
+ hwloc_topology_t topology;
+ char *callname;
+ char *output;
+ int verbose = 0;
+ int force = 0;
+ int opt;
+ int i, j;
+
+ callname = strrchr(argv[0], '/');
+ if (!callname)
+ callname = argv[0];
+ else
+ callname++;
+ /* skip argv[0], handle options */
+ argc--;
+ argv++;
+
+ while (argc >= 1) {
+ opt = 0;
+ if (!strcmp(argv[0], "-v") || !strcmp(argv[0], "--verbose")) {
+ verbose++;
+ } else if (!strcmp(argv[0], "-f") || !strcmp(argv[0], "--force")) {
+ force = 1;
+ } else if (!strcmp(argv[0], "-h") || !strcmp(argv[0], "--help")) {
+ usage(callname, stdout);
+ exit(EXIT_SUCCESS);
+ } else if (!strcmp(argv[0], "--")) {
+ argc--;
+ argv++;
+ break;
+ } else if (*argv[0] == '-') {
+ fprintf(stderr, "Unrecognized option: %s\n", argv[0]);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ } else
+ break;
+ argc -= opt+1;
+ argv += opt+1;
+ }
+
+ if (!argc) {
+ fprintf(stderr, "Missing output file name\n");
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ output = argv[0];
+ argc--;
+ argv++;
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_WHOLE_IO|HWLOC_TOPOLOGY_FLAG_ICACHES);
+ hwloc_topology_set_custom(topology);
+
+ for(i=0, j=0; i<argc; i++, j++) {
+ hwloc_topology_t input;
+ hwloc_obj_t root;
+ char idx[11];
+ char *name = NULL;
+
+ if (!strcmp(argv[i], "-n") || !strcmp(argv[i], "--name")) {
+ if (i+2 >= argc) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ name = argv[i+1];
+ i+=2;
+ }
+
+ if (verbose) {
+ if (name)
+ printf("Importing XML topology %s with name %s ...\n", argv[i], name);
+ else
+ printf("Importing XML topology %s ...\n", argv[i]);
+ }
+
+ hwloc_topology_init(&input);
+ hwloc_topology_set_flags(input, HWLOC_TOPOLOGY_FLAG_WHOLE_IO|HWLOC_TOPOLOGY_FLAG_ICACHES);
+ if (hwloc_topology_set_xml(input, argv[i])) {
+ fprintf(stderr, "Failed to set source XML file %s (%s)\n", argv[i], strerror(errno));
+ hwloc_topology_destroy(input);
+ if (force)
+ continue;
+ else
+ return EXIT_FAILURE;
+ }
+ if (hwloc_topology_load(input) < 0) {
+ fprintf(stderr, "Failed to load topology from XML file %s (%s)\n", argv[i], strerror(errno));
+ hwloc_topology_destroy(input);
+ if (force)
+ continue;
+ else
+ return EXIT_FAILURE;
+ }
+
+ root = hwloc_get_root_obj(input);
+ hwloc_obj_add_info(root, "AssemblerName", name ? name : argv[i]);
+ snprintf(idx, sizeof(idx), "%d", j);
+ hwloc_obj_add_info(root, "AssemblerIndex", idx);
+
+ hwloc_custom_insert_topology(topology, hwloc_get_root_obj(topology), input, NULL);
+ hwloc_topology_destroy(input);
+ }
+
+ if (verbose)
+ printf("Assembling global topology...\n");
+ hwloc_topology_load(topology);
+ if (hwloc_topology_export_xml(topology, output) < 0) {
+ fprintf(stderr, "Failed to export XML to %s (%s)\n", output, strerror(errno));
+ return EXIT_FAILURE;
+ }
+ hwloc_topology_destroy(topology);
+ if (verbose)
+ printf("Exported topology to XML file %s\n", output);
+ return 0;
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2009-2018 Inria. All rights reserved.
+.\" Copyright © 2010 Université of Bordeaux
+.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-BIND "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-bind \- Launch a command that is bound to specific processors
+and/or memory, or consult the binding of an existing program
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.B hwloc-bind
+[\fIoptions\fR] \fI<location1> [<location2> [...] ] [--] <command> \fR...
+.
+.PP
+Note that hwloc(7) provides a detailed explanation of the hwloc system
+and of valid <location> formats;
+it should be read before reading this man page.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP 10
+\fB\-\-cpubind\fR
+Use following arguments for CPU binding (default).
+.TP
+\fB\-\-membind\fR
+Use following arguments for memory binding.
+If \fB\-\-mempolicy\fR is not also given,
+the default policy is bind.
+.TP
+\fB\-\-mempolicy\fR <policy>
+Change the memory binding policy.
+The available policies are default, firsttouch, bind, interleave
+replicate and nexttouch.
+This option is only meaningful when an actual binding is also given
+with \fB\-\-membind\fR.
+If \fB\-\-membind\fR is given without \fB\-\-mempolicy\fR,
+the default policy is bind.
+
+.TP
+\fB\-\-get\fR
+Report the current bindings.
+The output is an opaque bitmask that may be translated into objects with hwloc-calc
+(see EXAMPLES below).
+.TP
+\
+When a command is given, the binding is displayed before executing
+the command. When no command is given, the program exits after
+displaying the current binding.
+.TP
+\
+When combined with \fB\-\-membind\fR, report the memory binding
+instead of CPU binding.
+.TP
+\
+No location may be given since no binding is performed.
+
+.TP
+\fB\-\-nodeset\fR
+Report binding as a NUMA memory node set instead of a CPU set
+if \-\-get was given.
+This is useful for manipulating CPU-less NUMA nodes since their
+cpuset is empty while their nodeset is correct.
+.TP
+\
+Also parse input bitmasks as nodesets instead of cpusets.
+
+.TP
+\fB\-e\fR \fB\-\-get-last-cpu-location\fR
+Report the last processors where the process ran.
+The output is an opaque bitmask that may be translated into objects with hwloc-calc
+(see EXAMPLES below).
+.TP
+\
+Note that the result may already be outdated when reported since
+the operating system may move the process to other processors
+at any time according to the binding.
+.TP
+\
+When a command is given, the last processors is displayed before
+executing the command. When no command is given, the program exits
+after displaying the last processors.
+.TP
+\
+This option cannot be combined with \fB\-\-membind\fR.
+.TP
+\
+No location may be given since no binding is performed.
+
+.TP
+\fB\-\-single\fR
+Bind on a single CPU to prevent migration.
+.TP
+\fB\-\-strict\fR
+Require strict binding.
+.TP
+\fB\-\-pid\fR <pid>
+Operate on pid <pid>
+.TP
+\fB\-\-tid\fR <tid>
+Operate on thread <tid> instead of on an entire process.
+The feature is only supported on Linux for thread CPU binding,
+or for reporting the last processor where the thread ran if \fB\-e\fR was also passed.
+.TP
+\fB\-p\fR \fB\-\-physical\fR
+Interpret input locations with OS/physical indexes instead of logical indexes.
+This option does not apply to the output, see \fB\-\-get\fR above.
+.TP
+\fB\-l\fR \fB\-\-logical\fR
+Interpret input locations with logical indexes instead of physical/OS indexes (default).
+This option does not apply to the output, see \fB\-\-get\fR above.
+.TP
+\fB\-\-taskset\fR
+Display CPU set strings in the format recognized by the taskset command-line
+program instead of hwloc-specific CPU set string format.
+This option has no impact on the format of input CPU set strings,
+both formats are always accepted.
+.TP
+\fB\-\-restrict\fR <cpuset>
+Restrict the topology to the given cpuset.
+.TP
+\fB\-\-whole\-system\fR
+Do not consider administration limitations.
+.TP
+\fB--hbm\fR
+Only take high bandwidth memory nodes (such as Intel Xeon Phi MCDRAM)
+in account when looking for NUMA nodes in the input locations.
+
+This option must be combined with NUMA node locations,
+such as \fI--hbm numa:1\fR for binding on the second HBM node.
+It may also be written as \fIhbm:1\fR.
+.TP
+\fB--no-hbm\fR
+Ignore high bandwidth memory nodes (such as Intel Xeon Phi MCDRAM)
+when looking for NUMA nodes in the input locations.
+.TP
+\fB\-f\fR \fB\-\-force\fR
+Launch the executable even if binding failed.
+.TP
+\fB\-q\fR \fB\-\-quiet\fR
+Hide non-fatal error messages.
+It includes locations pointing to non-existing objects,
+as well as failure to bind.
+This is usually useful in addition to \fB\-\-force\fR.
+.TP
+\fB\-v\fR \fB\-\-verbose\fR
+Verbose output.
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-bind execs an executable (with optional command line arguments)
+that is bound to the specified location (or list of locations). Upon
+successful execution, hwloc-bind simply sets bindings and then execs
+the executable over itself.
+.
+.PP
+If multiple locations are given, they are combined in the sense that
+the binding will be wider. The process will be allowed to run on every
+location inside the combination.
+.
+.PP
+The list of input locations may be explicitly ended with "--".
+.
+.PP
+If binding fails, or if the binding set is empty, and \fB\-\-force\fR
+was not given, hwloc-bind returns with an error instead of launching
+the executable.
+.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page. Most of the concepts described in
+hwloc(7) directly apply to the hwloc-bind utility.
+.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+hwloc-bind's operation is best described through several examples.
+More details about how locations are specified on the hwloc-bind
+command line are described in hwloc(7).
+.
+.PP
+To run the echo command on the first logical processor of the second
+package:
+
+ $ hwloc-bind package:1.pu:0 -- echo hello
+
+which is exactly equivalent to the following line as long as there is
+no ambiguity between hwloc-bind option names and the executed command name:
+
+ $ hwloc-bind package:1.pu:0 echo hello
+
+To bind the "echo" command to the first core of the second package and
+the second core of the first package:
+
+ $ hwloc-bind package:1.core:0 package:0.core:1 -- echo hello
+
+To bind memory on the first high-bandwidth memory node:
+
+ $ hwloc-bind --membind hbm:0 -- echo hello
+ $ hwloc-bind --membind --hbm numa:0 -- echo hello
+
+Note that binding the "echo" command to multiple processors is
+probably meaningless (because "echo" is likely implemented as a
+single-threaded application); these examples just serve to show what
+hwloc-bind can do.
+.
+.PP
+To run on the first three packages on the second and third nodes:
+
+ $ hwloc-bind node:1-2.package:0:3 -- echo hello
+
+which is also equivalent to:
+
+ $ hwloc-bind node:1-2.package:0-2 -- echo hello
+
+Note that if you attempt to bind to objects that do not exist,
+hwloc-bind will not warn unless
+.I -v
+was specified.
+
+To run on processor with physical index 2 in package with physical index 1:
+
+ $ hwloc-bind --physical package:1.core:2 -- echo hello
+
+To run on odd cores within even packages:
+
+ $ hwloc-bind package:even.core:odd -- echo hello
+
+To run on the first package, except on its second and fifth cores:
+
+ $ hwloc-bind package:0 ~package:0.core:1 ~package:0.core:4 -- echo hello
+
+To run anywhere except on the first package:
+
+ $ hwloc-bind all ~package:0 -- echo hello
+
+To run on a core near the network interface named eth0:
+
+ $ hwloc-bind os=eth0 -- echo hello
+
+To run on a core near the PCI device whose bus ID is 0000:01:02.0:
+
+ $ hwloc-bind pci=0000:01:02.0 -- echo hello
+
+To bind memory on second memory node and run on first node (when supported by the OS):
+
+ $ hwloc-bind --cpubind node:1 --membind node:0 -- echo hello
+
+The --get option can report current bindings. This example shows
+nesting hwloc-bind invocations to set a binding and then report it:
+
+ $ hwloc-bind node:1.package:2 -- hwloc-bind --get
+ 0x00004444,0x44000000
+
+hwloc-calc may convert this output into actual objects, either with logical or physical indexes:
+
+ $ hwloc-calc --physical -I pu `hwloc-bind --get`
+ 26,30,34,38,42,46
+ $ hwloc-calc --logical -I pu `hwloc-bind --get` --sep " "
+ 24 25 26 27 28 29
+
+.
+.PP
+Locations may also be specified as a hex bit mask (typically generated
+by hwloc-calc). For example:
+
+ $ hwloc-bind 0x00004444,0x44000000 -- echo hello
+ $ hwloc-bind `hwloc-calc node:1.package:2` -- echo hello
+
+The current memory binding may also be reported:
+
+ $ hwloc-bind --membind node:1 --mempolicy interleave -- hwloc-bind --get --membind
+ 0x000000f0 (interleave)
+
+Note that if the system is not NUMA, the reported string may indicate that the process is bound to
+the entire system memory (e.g., "0xf...f").
+
+.SH HINT
+If the graphics-enabled lstopo is available, use for instance
+
+ $ hwloc-bind core:2 -- lstopo --pid 0
+
+to check what the result of your binding command actually is.
+lstopo will graphically show where it is bound to by hwloc-bind.
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-bind execs the command over itself.
+The return value is therefore whatever the return value of the command
+is.
+.
+.PP
+hwloc-bind will return nonzero if any kind of error occurs, such as
+(but not limited to): failure to parse the command line, failure to
+retrieve process bindings, or lack of a command to execute.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-calc(1), hwloc-distrib(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2012 Université Bordeaux
+ * Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/private.h>
+#include <hwloc-calc.h>
+#include <hwloc.h>
+
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <errno.h>
+
+#include "misc.h"
+
+#if defined(HWLOC_WIN_SYS) && !defined(__CYGWIN__)
+#include <process.h>
+#define execvp(a,b) (int)_execvp((a), (const char * const *)(b))
+#endif
+
+void usage(const char *name, FILE *where)
+{
+ fprintf(where, "Usage: %s [options] <location> -- command ...\n", name);
+ fprintf(where, " <location> may be a space-separated list of cpusets or objects\n");
+ fprintf(where, " as supported by the hwloc-calc utility, e.g:\n");
+ hwloc_calc_locations_usage(where);
+ fprintf(where, "Options:\n");
+ fprintf(where, " --cpubind Use following arguments for cpu binding (default)\n");
+ fprintf(where, " --membind Use following arguments for memory binding\n");
+ fprintf(where, " --mempolicy <default|firsttouch|bind|interleave|replicate|nexttouch>\n"
+ " Change policy that --membind applies (default is bind)\n");
+ fprintf(where, " -l --logical Take logical object indexes (default)\n");
+ fprintf(where, " -p --physical Take physical object indexes\n");
+ fprintf(where, " --single Bind on a single CPU to prevent migration\n");
+ fprintf(where, " --strict Require strict binding\n");
+ fprintf(where, " --get Retrieve current process binding\n");
+ fprintf(where, " -e --get-last-cpu-location\n"
+ " Retrieve the last processors where the current process ran\n");
+ fprintf(where, " --nodeset Display (and parse) cpusets as nodesets\n");
+ fprintf(where, " --pid <pid> Operate on process <pid>\n");
+#ifdef HWLOC_LINUX_SYS
+ fprintf(where, " --tid <tid> Operate on thread <tid>\n");
+#endif
+ fprintf(where, " --taskset Use taskset-specific format when displaying cpuset strings\n");
+ fprintf(where, "Input topology options:\n");
+ fprintf(where, " --restrict <set> Restrict the topology to processors listed in <set>\n");
+ fprintf(where, " --whole-system Do not consider administration limitations\n");
+ fprintf(where, " --hbm Only consider high bandwidth memory nodes\n");
+ fprintf(where, " --no-hbm Ignore high-bandwidth memory nodes\n");
+ fprintf(where, "Miscellaneous options:\n");
+ fprintf(where, " -f --force Launch the command even if binding failed\n");
+ fprintf(where, " -q --quiet Hide non-fatal error messages\n");
+ fprintf(where, " -v --verbose Show verbose messages\n");
+ fprintf(where, " --version Report version and exit\n");
+}
+
+int main(int argc, char *argv[])
+{
+ hwloc_topology_t topology;
+ unsigned depth;
+ hwloc_bitmap_t cpubind_set, membind_set;
+ int got_cpubind = 0, got_membind = 0;
+ int working_on_cpubind = 1; /* membind if 0 */
+ int get_binding = 0;
+ int use_nodeset = 0;
+ int get_last_cpu_location = 0;
+ unsigned long flags = HWLOC_TOPOLOGY_FLAG_WHOLE_IO|HWLOC_TOPOLOGY_FLAG_ICACHES;
+ int force = 0;
+ int single = 0;
+ int verbose = 0;
+ int only_hbm = -1;
+ int logical = 1;
+ int taskset = 0;
+ unsigned cpubind_flags = 0;
+ hwloc_membind_policy_t membind_policy = HWLOC_MEMBIND_BIND;
+ int got_mempolicy = 0;
+ unsigned membind_flags = 0;
+ int opt;
+ int ret;
+ int pid_number = -1;
+ int tid_number = -1;
+ hwloc_pid_t pid = 0; /* only valid when pid_number > 0, but gcc-4.8 still reports uninitialized warnings */
+ char *callname;
+ struct hwloc_calc_location_context_s lcontext;
+ struct hwloc_calc_set_context_s scontext;
+
+ cpubind_set = hwloc_bitmap_alloc();
+ membind_set = hwloc_bitmap_alloc();
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, flags);
+ ret = hwloc_topology_load(topology);
+ if (ret < 0)
+ exit(EXIT_FAILURE);
+ depth = hwloc_topology_get_depth(topology);
+
+ callname = argv[0];
+ /* skip argv[0], handle options */
+ argv++;
+ argc--;
+
+ while (argc >= 1) {
+ if (!strcmp(argv[0], "--")) {
+ argc--;
+ argv++;
+ break;
+ }
+
+ opt = 0;
+
+ if (*argv[0] == '-') {
+ if (!strcmp(argv[0], "-v") || !strcmp(argv[0], "--verbose")) {
+ verbose++;
+ goto next;
+ }
+ else if (!strcmp(argv[0], "-q") || !strcmp(argv[0], "--quiet")) {
+ verbose--;
+ goto next;
+ }
+ else if (!strcmp(argv[0], "--help")) {
+ usage("hwloc-bind", stdout);
+ return EXIT_SUCCESS;
+ }
+ else if (!strcmp(argv[0], "--single")) {
+ single = 1;
+ goto next;
+ }
+ else if (!strcmp(argv[0], "-f") || !strcmp(argv[0], "--force")) {
+ force = 1;
+ goto next;
+ }
+ else if (!strcmp(argv[0], "--strict")) {
+ cpubind_flags |= HWLOC_CPUBIND_STRICT;
+ membind_flags |= HWLOC_MEMBIND_STRICT;
+ goto next;
+ }
+ else if (!strcmp(argv[0], "--pid")) {
+ if (argc < 2) {
+ usage ("hwloc-bind", stderr);
+ exit(EXIT_FAILURE);
+ }
+ pid_number = atoi(argv[1]);
+ opt = 1;
+ goto next;
+ }
+#ifdef HWLOC_LINUX_SYS
+ else if (!strcmp(argv[0], "--tid")) {
+ if (argc < 2) {
+ usage ("hwloc-bind", stderr);
+ exit(EXIT_FAILURE);
+ }
+ tid_number = atoi(argv[1]);
+ opt = 1;
+ goto next;
+ }
+#endif
+ else if (!strcmp (argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ }
+ if (!strcmp(argv[0], "-l") || !strcmp(argv[0], "--logical")) {
+ logical = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "-p") || !strcmp(argv[0], "--physical")) {
+ logical = 0;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--taskset")) {
+ taskset = 1;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "-e") || !strncmp (argv[0], "--get-last-cpu-location", 10)) {
+ get_last_cpu_location = 1;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--get")) {
+ get_binding = 1;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--nodeset")) {
+ use_nodeset = 1;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--cpubind")) {
+ working_on_cpubind = 1;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--membind")) {
+ working_on_cpubind = 0;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--mempolicy")) {
+ if (!strncmp(argv[1], "default", 2))
+ membind_policy = HWLOC_MEMBIND_DEFAULT;
+ else if (!strncmp(argv[1], "firsttouch", 2))
+ membind_policy = HWLOC_MEMBIND_FIRSTTOUCH;
+ else if (!strncmp(argv[1], "bind", 2))
+ membind_policy = HWLOC_MEMBIND_BIND;
+ else if (!strncmp(argv[1], "interleave", 2))
+ membind_policy = HWLOC_MEMBIND_INTERLEAVE;
+ else if (!strncmp(argv[1], "replicate", 2))
+ membind_policy = HWLOC_MEMBIND_REPLICATE;
+ else if (!strncmp(argv[1], "nexttouch", 2))
+ membind_policy = HWLOC_MEMBIND_NEXTTOUCH;
+ else {
+ fprintf(stderr, "Unrecognized memory binding policy %s\n", argv[1]);
+ usage ("hwloc-bind", stderr);
+ exit(EXIT_FAILURE);
+ }
+ got_mempolicy = 1;
+ opt = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--hbm")) {
+ only_hbm = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--no-hbm")) {
+ only_hbm = 0;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--whole-system")) {
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM;
+ hwloc_topology_destroy(topology);
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, flags);
+ ret = hwloc_topology_load(topology);
+ if (ret < 0)
+ exit(EXIT_FAILURE);
+ depth = hwloc_topology_get_depth(topology);
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--restrict")) {
+ hwloc_bitmap_t restrictset;
+ int err;
+ if (argc < 2) {
+ usage (callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ restrictset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(restrictset, argv[1]);
+ err = hwloc_topology_restrict (topology, restrictset, 0);
+ if (err) {
+ perror("Restricting the topology");
+ /* FALLTHRU */
+ }
+ hwloc_bitmap_free(restrictset);
+ argc--;
+ argv++;
+ goto next;
+ }
+
+ fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
+ usage("hwloc-bind", stderr);
+ return EXIT_FAILURE;
+ }
+
+ lcontext.topology = topology;
+ lcontext.topodepth = depth;
+ lcontext.only_hbm = only_hbm;
+ lcontext.logical = logical;
+ lcontext.verbose = verbose;
+ scontext.nodeset_input = use_nodeset;
+ scontext.nodeset_output = working_on_cpubind ? 0 : 1;
+ scontext.output_set = working_on_cpubind ? cpubind_set : membind_set;
+ ret = hwloc_calc_process_location_as_set(&lcontext, &scontext, argv[0]);
+ if (ret < 0) {
+ if (verbose > 0)
+ fprintf(stderr, "assuming the command starts at %s\n", argv[0]);
+ break;
+ }
+ if (working_on_cpubind)
+ got_cpubind = 1;
+ else
+ got_membind = 1;
+
+ next:
+ argc -= opt+1;
+ argv += opt+1;
+ }
+
+ if (pid_number > 0 && tid_number > 0) {
+ fprintf(stderr, "cannot operate both on tid and pid\n");
+ return EXIT_FAILURE;
+ }
+
+ if (pid_number > 0) {
+ if (hwloc_pid_from_number(&pid, pid_number, !(get_binding || get_last_cpu_location), 1 /* verbose */) < 0) {
+ fprintf(stderr, "failed to use pid\n");
+ return EXIT_FAILURE;
+ }
+ /* no need to set_pid()
+ * the doc just says we're operating on pid, not that we're retrieving the topo/cpuset as seen from inside pid
+ */
+ }
+
+ if (get_last_cpu_location && !working_on_cpubind) {
+ fprintf(stderr, "Options --membind and --get-last-cpu-location cannot be combined.\n");
+ return EXIT_FAILURE;
+ }
+ if ((get_binding || get_last_cpu_location) && (got_cpubind || got_membind)) {
+ /* doesn't work because get_binding/get_last_cpu_location overwrites cpubind_set */
+ fprintf(stderr, "Cannot display and set binding at the same time.\n");
+ return EXIT_FAILURE;
+ }
+
+ if (get_binding || get_last_cpu_location) {
+ char *s;
+ const char *policystr = NULL;
+ int err;
+ if (working_on_cpubind) {
+ if (get_last_cpu_location) {
+ if (pid_number > 0)
+ err = hwloc_get_proc_last_cpu_location(topology, pid, cpubind_set, 0);
+#ifdef HWLOC_LINUX_SYS
+ else if (tid_number > 0)
+ err = hwloc_linux_get_tid_last_cpu_location(topology, tid_number, cpubind_set);
+#endif
+ else
+ err = hwloc_get_last_cpu_location(topology, cpubind_set, 0);
+ } else {
+ if (pid_number > 0)
+ err = hwloc_get_proc_cpubind(topology, pid, cpubind_set, 0);
+#ifdef HWLOC_LINUX_SYS
+ else if (tid_number > 0)
+ err = hwloc_linux_get_tid_cpubind(topology, tid_number, cpubind_set);
+#endif
+ else
+ err = hwloc_get_cpubind(topology, cpubind_set, 0);
+ }
+ if (err) {
+ const char *errmsg = strerror(errno);
+ if (pid_number > 0)
+ fprintf(stderr, "hwloc_get_proc_%s %d failed (errno %d %s)\n", get_last_cpu_location ? "last_cpu_location" : "cpubind", pid_number, errno, errmsg);
+ else if (tid_number > 0)
+ fprintf(stderr, "hwloc_get_tid_%s %d failed (errno %d %s)\n", get_last_cpu_location ? "last_cpu_location" : "cpubind", tid_number, errno, errmsg);
+ else
+ fprintf(stderr, "hwloc_get_%s failed (errno %d %s)\n", get_last_cpu_location ? "last_cpu_location" : "cpubind", errno, errmsg);
+ return EXIT_FAILURE;
+ }
+ if (use_nodeset) {
+ hwloc_bitmap_t nset = hwloc_bitmap_alloc();
+ hwloc_cpuset_to_nodeset(topology, cpubind_set, nset);
+ if (taskset)
+ hwloc_bitmap_taskset_asprintf(&s, nset);
+ else
+ hwloc_bitmap_asprintf(&s, nset);
+ hwloc_bitmap_free(nset);
+ } else {
+ if (taskset)
+ hwloc_bitmap_taskset_asprintf(&s, cpubind_set);
+ else
+ hwloc_bitmap_asprintf(&s, cpubind_set);
+ }
+
+ } else {
+ hwloc_membind_policy_t policy;
+ if (pid_number > 0) {
+ if (use_nodeset)
+ err = hwloc_get_proc_membind_nodeset(topology, pid, membind_set, &policy, 0);
+ else
+ err = hwloc_get_proc_membind(topology, pid, membind_set, &policy, 0);
+ } else if (tid_number > 0) {
+ err = -1; errno = ENOSYS;
+ } else {
+ if (use_nodeset)
+ err = hwloc_get_membind_nodeset(topology, membind_set, &policy, 0);
+ else
+ err = hwloc_get_membind(topology, membind_set, &policy, 0);
+ }
+ if (err) {
+ const char *errmsg = strerror(errno);
+ if (pid_number > 0)
+ fprintf(stderr, "hwloc_get_proc_membind %d failed (errno %d %s)\n", pid_number, errno, errmsg);
+ else
+ fprintf(stderr, "hwloc_get_membind failed (errno %d %s)\n", errno, errmsg);
+ return EXIT_FAILURE;
+ }
+ if (taskset)
+ hwloc_bitmap_taskset_asprintf(&s, membind_set);
+ else
+ hwloc_bitmap_asprintf(&s, membind_set);
+ switch (policy) {
+ case HWLOC_MEMBIND_DEFAULT: policystr = "default"; break;
+ case HWLOC_MEMBIND_FIRSTTOUCH: policystr = "firsttouch"; break;
+ case HWLOC_MEMBIND_BIND: policystr = "bind"; break;
+ case HWLOC_MEMBIND_INTERLEAVE: policystr = "interleave"; break;
+ case HWLOC_MEMBIND_REPLICATE: policystr = "replicate"; break;
+ case HWLOC_MEMBIND_NEXTTOUCH: policystr = "nexttouch"; break;
+ default: fprintf(stderr, "unknown memory policy %d\n", policy); assert(0); break;
+ }
+ }
+ if (policystr)
+ printf("%s (%s)\n", s, policystr);
+ else
+ printf("%s\n", s);
+ free(s);
+ }
+
+ if (got_membind) {
+ if (hwloc_bitmap_iszero(membind_set)) {
+ if (verbose >= 0)
+ fprintf(stderr, "cannot membind to empty set\n");
+ if (!force)
+ goto failed_binding;
+ }
+ if (verbose > 0) {
+ char *s;
+ hwloc_bitmap_asprintf(&s, membind_set);
+ fprintf(stderr, "binding on memory set %s\n", s);
+ free(s);
+ }
+ if (single)
+ hwloc_bitmap_singlify(membind_set);
+ if (pid_number > 0)
+ ret = hwloc_set_proc_membind_nodeset(topology, pid, membind_set, membind_policy, membind_flags);
+ else if (tid_number > 0) {
+ ret = -1; errno = ENOSYS;
+ } else
+ ret = hwloc_set_membind_nodeset(topology, membind_set, membind_policy, membind_flags);
+ if (ret && verbose >= 0) {
+ int bind_errno = errno;
+ const char *errmsg = strerror(bind_errno);
+ char *s;
+ hwloc_bitmap_asprintf(&s, membind_set);
+ if (pid_number > 0)
+ fprintf(stderr, "hwloc_set_proc_membind %s (policy %d flags %x) PID %d failed (errno %d %s)\n",
+ s, membind_policy, membind_flags, pid_number, bind_errno, errmsg);
+ else
+ fprintf(stderr, "hwloc_set_membind %s (policy %d flags %x) failed (errno %d %s)\n",
+ s, membind_policy, membind_flags, bind_errno, errmsg);
+ free(s);
+ }
+ if (ret && !force)
+ goto failed_binding;
+ } else {
+ if (got_mempolicy)
+ fprintf(stderr, "--mempolicy ignored unless memory binding is also requested with --membind.\n");
+ }
+
+ if (got_cpubind) {
+ if (hwloc_bitmap_iszero(cpubind_set)) {
+ if (verbose >= 0)
+ fprintf(stderr, "cannot cpubind to empty set\n");
+ if (!force)
+ goto failed_binding;
+ }
+ if (verbose > 0) {
+ char *s;
+ hwloc_bitmap_asprintf(&s, cpubind_set);
+ fprintf(stderr, "binding on cpu set %s\n", s);
+ free(s);
+ }
+ if (got_membind && !hwloc_bitmap_isequal(membind_set, cpubind_set)) {
+ if (verbose)
+ fprintf(stderr, "Conflicting CPU and memory binding requested, adding HWLOC_CPUBIND_NOMEMBIND flag.\n");
+ cpubind_flags |= HWLOC_CPUBIND_NOMEMBIND;
+ }
+ if (single)
+ hwloc_bitmap_singlify(cpubind_set);
+ if (pid_number > 0)
+ ret = hwloc_set_proc_cpubind(topology, pid, cpubind_set, cpubind_flags);
+#ifdef HWLOC_LINUX_SYS
+ else if (tid_number > 0)
+ ret = hwloc_linux_set_tid_cpubind(topology, tid_number, cpubind_set);
+#endif
+ else
+ ret = hwloc_set_cpubind(topology, cpubind_set, cpubind_flags);
+ if (ret && verbose >= 0) {
+ int bind_errno = errno;
+ const char *errmsg = strerror(bind_errno);
+ char *s;
+ hwloc_bitmap_asprintf(&s, cpubind_set);
+ if (pid_number > 0)
+ fprintf(stderr, "hwloc_set_proc_cpubind %s (flags %x) PID %d failed (errno %d %s)\n",
+ s, cpubind_flags, pid_number, bind_errno, errmsg);
+ else if (tid_number > 0)
+ fprintf(stderr, "hwloc_set_tid_cpubind %s (flags %x) PID %d failed (errno %d %s)\n",
+ s, cpubind_flags, tid_number, bind_errno, errmsg);
+ else
+ fprintf(stderr, "hwloc_set_cpubind %s (flags %x) failed (errno %d %s)\n",
+ s, cpubind_flags, bind_errno, errmsg);
+ free(s);
+ }
+ if (ret && !force)
+ goto failed_binding;
+ }
+
+ hwloc_bitmap_free(cpubind_set);
+ hwloc_bitmap_free(membind_set);
+
+ hwloc_topology_destroy(topology);
+
+ if (pid_number > 0 || tid_number > 0)
+ return EXIT_SUCCESS;
+
+ if (0 == argc) {
+ if (get_binding || get_last_cpu_location)
+ return EXIT_SUCCESS;
+ fprintf(stderr, "%s: nothing to do!\n", callname);
+ return EXIT_FAILURE;
+ }
+
+ /* FIXME: check whether Windows execvp() passes INHERIT_PARENT_AFFINITY to CreateProcess()
+ * because we need to propagate processor group affinity. However process-wide affinity
+ * isn't supported with processor groups so far.
+ */
+ ret = execvp(argv[0], argv);
+ if (ret) {
+ fprintf(stderr, "%s: Failed to launch executable \"%s\"\n",
+ callname, argv[0]);
+ perror("execvp");
+ }
+ return EXIT_FAILURE;
+
+
+failed_binding:
+ hwloc_bitmap_free(cpubind_set);
+ hwloc_bitmap_free(membind_set);
+ hwloc_topology_destroy(topology);
+ return EXIT_FAILURE;
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2010-2018 Inria. All rights reserved.
+.\" Copyright © 2009 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-CALC "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-calc \- Operate on cpu mask strings and objects
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.B hwloc-calc
+[\fIoptions\fR] \fI<location1> [<location2> [...] ]
+.
+.PP
+Note that hwloc(7) provides a detailed explanation of the hwloc system
+and of valid <location> formats;
+it should be read before reading this man page.
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP 10
+\fB\-p\fR \fB\-\-physical\fR
+Use OS/physical indexes instead of logical indexes for both input and output.
+.TP
+\fB\-l\fR \fB\-\-logical\fR
+Use logical indexes instead of physical/OS indexes for both input and output (default).
+.TP
+\fB\-\-pi\fR \fB\-\-physical\-input\fR
+Use OS/physical indexes instead of logical indexes for input.
+.TP
+\fB\-\-li\fR \fB\-\-logical\-input\fR
+Use logical indexes instead of physical/OS indexes for input (default).
+.TP
+\fB\-\-po\fR \fB\-\-physical\-output\fR
+Use OS/physical indexes instead of logical indexes for output.
+.TP
+\fB\-\-lo\fR \fB\-\-logical\-output\fR
+Use logical indexes instead of physical/OS indexes for output (default, except for cpusets which are always physical).
+.TP
+\fB\-N \-\-number-of <type|depth>\fR
+Report the number of objects of the given type or depth that intersect the CPU set.
+This is convenient for finding how many cores, NUMA nodes or PUs are available
+in a machine.
+.TP
+\fB\-I \-\-intersect <type|depth>\fR
+Find the list of objects of the given type or depth that intersect the CPU set and
+report the comma-separated list of their indexes instead of the cpu mask string.
+This may be used for determining the list of objects above or below the input
+objects.
+When combined with \fB\-\-physical\fR, the list is convenient to pass to external
+tools such as taskset or numactl \fB\-\-physcpubind\fR or \fB\-\-membind\fR.
+This is different from \-\-largest since the latter requires that all reported
+objects are strictly included inside the input objects.
+.TP
+\fB\-H \-\-hierarchical <type1>.<type2>...\fR
+Find the list of objects of type <type2> that intersect the CPU set and
+report the space-separated list of their hierarchical indexes with respect
+to <type1>, <type2>, etc.
+For instance, if \fIpackage.core\fR is given, the output would be
+\fIPackage:1.Core:2 Package:2.Core:3\fR if the input contains the third
+core of the second package and the fourth core of the third package.
+.TP
+\fB\-\-largest\fR
+Report (in a human readable format) the list of largest objects which exactly
+include all input objects.
+None of these output objects intersect each other, and the sum of them is
+exactly equivalent to the input. No largest object is included in the input
+This is different from \-\-intersect where reported objects may not be
+strictly included in the input.
+.TP
+\fB\-\-sep <sep>\fR
+Change the field separator in the output.
+By default, a space is used to separate output objects
+(for instance when \fB\-\-hierarchical\fR or \fB\-\-largest\fR is given)
+while a comma is used to separate indexes
+(for instance when \fB\-\-intersect\fR is given).
+.TP
+\fB\-\-single\fR
+Singlify the output to a single CPU.
+.TP
+\fB\-\-taskset\fR
+Display CPU set strings in the format recognized by the taskset command-line
+program instead of hwloc-specific CPU set string format.
+This option has no impact on the format of input CPU set strings,
+both formats are always accepted.
+.TP
+\fB\-\-restrict\fR <cpuset>
+Restrict the topology to the given cpuset.
+.TP
+\fB\-\-whole\-system\fR
+Do not consider administration limitations.
+.TP
+\fB\-i\fR <file>, \fB\-\-input\fR <file>
+Read topology from XML file <file> (instead of discovering the
+topology on the local machine). If <file> is "\-", the standard input
+is used. XML support must have been compiled in to hwloc for this
+option to be usable.
+.TP
+\fB\-i\fR <directory>, \fB\-\-input\fR <directory>
+Read topology from the chroot specified by <directory> (instead of
+discovering the topology on the local machine). This option is
+generally only available on Linux. The chroot was usually created
+by gathering another machine topology with hwloc-gather-topology.
+.TP
+\fB\-i\fR <specification>, \fB\-\-input\fR <specification>
+Simulate a fake hierarchy (instead of discovering the topology on the
+local machine). If <specification> is "node:2 pu:3", the topology will
+contain two NUMA nodes with 3 processing units in each of them.
+The <specification> string must end with a number of PUs.
+.TP
+\fB\-\-if\fR <format>, \fB\-\-input\-format\fR <format>
+Enforce the input in the given format, among \fBxml\fR, \fBfsroot\fR
+and \fBsynthetic\fR.
+.TP
+\fB\-q\fR \fB\-\-quiet\fR
+Hide non-fatal error messages.
+It mostly includes locations pointing to non-existing objects.
+.TP
+\fB\-v\fR \fB\-\-verbose\fR
+Verbose output.
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-calc generates and manipulates CPU mask strings or objects.
+Both input and output may be either objects (with physical or logical
+indexes), CPU lists (with physical or logical indexes), or CPU mask strings
+(always physically indexed).
+.
+.PP
+If objects or CPU mask strings are given on the command-line,
+they are combined and a single output is printed.
+If no object or CPU mask strings are given on the command-line,
+the program will read the standard input.
+It will combine multiple objects or CPU mask strings that are
+given on the same line of the standard input line with spaces
+as separators.
+Different input lines will be processed separately.
+.
+.PP
+Command-line arguments and options are processed in order.
+For instance, it means that changing the type of input indexes
+with \fB\-\-li\fR or changing the input topology with \fB\-i\fR
+only affects the processing the following arguments.
+.
+.PP
+.B NOTE:
+hwloc-calc cannot manipulate NUMA memory node sets.
+It only manipulates CPU sets, which means it cannot do much
+about CPU-less NUMA nodes.
+.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page. Most of the concepts described in
+hwloc(7) directly apply to the hwloc-calc utility.
+.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+hwloc-calc's operation is best described through several examples.
+.
+.PP
+To display the (physical) CPU mask corresponding to the second package:
+
+ $ hwloc-calc package:1
+ 0x000000f0
+
+To display the (physical) CPU mask corresponding to the third pacakge, excluding
+its even numbered logical processors:
+
+ $ hwloc-calc package:2 ~PU:even
+ 0x00000c00
+
+To combine two (physical) CPU masks:
+
+ $ hwloc-calc 0x0000ffff 0xff000000
+ 0xff00ffff
+
+To display the list of logical numbers of processors included in the second
+package:
+
+ $ hwloc-calc --intersect PU package:1
+ 4,5,6,7
+
+To bind GNU OpenMP threads logically over the whole machine, we need to use
+physical number output instead:
+
+ $ export GOMP_CPU_AFFINITY=`hwloc-calc --physical-output --intersect PU machine:0`
+ $ echo $GOMP_CPU_AFFINITY
+ 0,4,1,5,2,6,3,7
+
+To display the list of NUMA nodes, by physical indexes, that intersect a given (physical) CPU mask:
+
+ $ hwloc-calc --physical --intersect NUMAnode 0xf0f0f0f0
+ 0,2
+
+To display the physical index of a processor given by its logical index:
+
+ $ hwloc-calc PU:2 --physical-output --intersect PU
+ 3
+
+To display the set of CPUs near network interface eth0:
+
+ $ hwloc-calc os=eth0
+ 0x00005555
+
+To display the indexes of packages near PCI device whose bus ID is 0000:01:02.0:
+
+ $ hwloc-calc pci=0000:01:02.0 --intersect Package
+ 1
+
+To display the list of per-package cores that intersect the input:
+
+ $ hwloc-calc 0x00003c00 --hierarchical package.core
+ Package:2.Core:1 Package:3.Core:0
+
+To display the (physical) CPU mask of the entire topology except the third package:
+
+ $ hwloc-calc all ~package:3
+ 0x0000f0ff
+
+To combine both physical and logical indexes as input:
+
+ $ hwloc-calc PU:2 --physical-input PU:3
+ 0x0000000c
+
+To synthetize a set of cores into largest objects on a 2-node 2-package 2-core machine:
+
+ $ hwloc-calc core:0 --largest
+ Core:0
+ $ hwloc-calc core:0-1 --largest
+ Package:0
+ $ hwloc-calc core:4-7 --largest
+ NUMANode:1
+ $ hwloc-calc core:2-6 --largest
+ Package:1 Package:2 Core:6
+ $ hwloc-calc pack:2 --largest
+ Package:2
+ $ hwloc-calc package:2-3 --largest
+ NUMANode:1
+
+To get the set of first threads of all cores:
+
+ $ hwloc-calc core:all.pu:0
+
+This can also be very useful in order to make GNU OpenMP use exactly one thread
+per core, and in logical core order:
+
+ $ export OMP_NUM_THREADS=`hwloc-calc --number-of core machine:0`
+ $ echo $OMP_NUM_THREADS
+ 4
+ $ export GOMP_CPU_AFFINITY=`hwloc-calc --physical-output --intersect PU core:all.pu:0`
+ $ echo $GOMP_CPU_AFFINITY
+ 0,2,1,3
+
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-calc displays the (physical) CPU mask string,
+(physical or logical) object list, or (physical or logical) object number list.
+The return value is 0.
+.
+.
+.PP
+hwloc-calc will return nonzero if any kind of error occurs, such as
+(but not limited to): failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-info(1), hwloc-gather-topology(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2011 Université Bordeaux
+ * Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/private.h>
+#include <hwloc-calc.h>
+#include <hwloc.h>
+
+#include "misc.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+void usage(const char *callname __hwloc_attribute_unused, FILE *where)
+{
+ fprintf(where, "Usage: hwloc-calc [options] <location> ...\n");
+ fprintf(where, " <location> may be a space-separated list of cpusets or objects\n");
+ fprintf(where, " as supported by the hwloc-bind utility, e.g:\n");
+ hwloc_calc_locations_usage(where);
+ fprintf(where, "Conversion options:\n");
+ fprintf(where, " [default] Report the combined input locations as a CPU set\n");
+ fprintf(where, " --number-of <type|depth>\n"
+ " -N <type|depth> Report the number of objects intersecting the CPU set\n");
+ fprintf(where, " --intersect <type|depth>\n"
+ " -I <type|depth> Report the indexes of object intersecting the CPU set\n");
+ fprintf(where, " --hierarchical <type1>.<type2>...\n"
+ " -H <type1>.<type2>... Find the list of objects intersecting the CPU set and\n"
+ " display them as hierarchical combinations such as\n"
+ " type1:index1.type2:index2...\n");
+ fprintf(where, " --largest Report the list of largest objects in the CPU set\n");
+ fprintf(where, "Formatting options:\n");
+ fprintf(where, " -l --logical Use logical object indexes (default)\n");
+ fprintf(where, " -p --physical Use physical object indexes\n");
+ fprintf(where, " --li --logical-input Use logical indexes for input (default)\n");
+ fprintf(where, " --lo --logical-output Use logical indexes for output (default)\n");
+ fprintf(where, " --pi --physical-input Use physical indexes for input\n");
+ fprintf(where, " --po --physical-output Use physical indexes for output\n");
+ fprintf(where, " --sep <sep> Use separator <sep> in the output\n");
+ fprintf(where, " --taskset Use taskset-specific format when displaying cpuset strings\n");
+ fprintf(where, " --single Singlify the output to a single CPU\n");
+ fprintf(where, "Input topology options:\n");
+ fprintf(where, " --restrict <cpuset> Restrict the topology to processors listed in <cpuset>\n");
+ fprintf(where, " --whole-system Do not consider administration limitations\n");
+ hwloc_utils_input_format_usage(where, 10);
+ fprintf(where, "Miscellaneous options:\n");
+ fprintf(where, " -q --quiet Hide non-fatal error messages\n");
+ fprintf(where, " -v --verbose Show verbose messages\n");
+ fprintf(where, " --version Report version and exit\n");
+}
+
+static int verbose = 0;
+static int logicali = 1;
+static int logicalo = 1;
+static int numberofdepth = -1;
+static int intersectdepth = -1;
+static int hiernblevels = 0;
+static int *hierdepth = NULL;
+static int showobjs = 0;
+static int singlify = 0;
+static int taskset = 0;
+
+static void
+hwloc_calc_hierarch_output(hwloc_topology_t topology, const char *prefix, const char *sep, hwloc_obj_t root, hwloc_bitmap_t set, int level)
+{
+ hwloc_obj_t obj, prev = NULL;
+ unsigned logi = 0;
+ int first = 1;
+ while ((obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, root->cpuset, hierdepth[level], prev)) != NULL) {
+ char string[256];
+ char type[32];
+ if (!hwloc_bitmap_intersects(set, obj->cpuset))
+ goto next;
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 1);
+ snprintf(string, sizeof(string), "%s%s%s:%u", prefix, level ? "." : "", type, logicalo ? logi : obj->os_index);
+ if (!first)
+ printf("%s", sep);
+ first = 0;
+ if (level != hiernblevels - 1) {
+ hwloc_bitmap_t new = hwloc_bitmap_dup(set);
+ hwloc_bitmap_and(new, new, obj->cpuset);
+ hwloc_calc_hierarch_output(topology, string, sep, obj, new, level+1);
+ hwloc_bitmap_free(new);
+ } else {
+ printf("%s", string);
+ }
+next:
+ prev = obj;
+ logi++;
+ }
+}
+
+static int
+hwloc_calc_output(hwloc_topology_t topology, const char *sep, hwloc_bitmap_t set)
+{
+ if (singlify)
+ hwloc_bitmap_singlify(set);
+
+ if (showobjs) {
+ hwloc_bitmap_t remaining = hwloc_bitmap_dup(set);
+ int first = 1;
+ if (!sep)
+ sep = " ";
+ while (!hwloc_bitmap_iszero(remaining)) {
+ char type[64];
+ unsigned idx;
+ hwloc_obj_t obj = hwloc_get_first_largest_obj_inside_cpuset(topology, remaining);
+ if (!obj) {
+ hwloc_bitmap_free(remaining);
+ fprintf(stderr, "No object included in this cpuset\n");
+ return EXIT_FAILURE;
+ }
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 1);
+ idx = logicalo ? obj->logical_index : obj->os_index;
+ if (idx == (unsigned) -1)
+ printf("%s%s", first ? (const char *) "" : sep, type);
+ else
+ printf("%s%s:%u", first ? (const char *) "" : sep, type, idx);
+ hwloc_bitmap_andnot(remaining, remaining, obj->cpuset);
+ first = 0;
+ }
+ printf("\n");
+ hwloc_bitmap_free(remaining);
+ } else if (numberofdepth != -1) {
+ unsigned nb = 0;
+ hwloc_obj_t obj = NULL;
+ while ((obj = hwloc_get_next_obj_covering_cpuset_by_depth(topology, set, numberofdepth, obj)) != NULL)
+ nb++;
+ printf("%u\n", nb);
+ } else if (intersectdepth != -1) {
+ hwloc_obj_t proc, prev = NULL;
+ if (!sep)
+ sep = ",";
+ while ((proc = hwloc_get_next_obj_covering_cpuset_by_depth(topology, set, intersectdepth, prev)) != NULL) {
+ if (prev)
+ printf("%s", sep);
+ printf("%u", logicalo ? proc->logical_index : proc->os_index);
+ prev = proc;
+ }
+ printf("\n");
+ } else if (hiernblevels) {
+ if (!sep)
+ sep = " ";
+ hwloc_calc_hierarch_output(topology, "", sep, hwloc_get_root_obj(topology), set, 0);
+ printf("\n");
+ } else {
+ char *string = NULL;
+ if (taskset)
+ hwloc_bitmap_taskset_asprintf(&string, set);
+ else
+ hwloc_bitmap_asprintf(&string, set);
+ printf("%s\n", string);
+ free(string);
+ }
+ return EXIT_SUCCESS;
+}
+
+static int hwloc_calc_type_depth(const char *string, hwloc_obj_type_t *typep, int *depthp)
+{
+ hwloc_obj_type_t type = (hwloc_obj_type_t) -1; /* in case we match a depth */
+ int depth = -1;
+ if (hwloc_obj_type_sscanf(string, &type, NULL, NULL, 0) < 0) {
+ char *endptr;
+ depth = strtoul(string, &endptr, 0);
+ if (*endptr)
+ return -1;
+ }
+ *depthp = depth;
+ *typep = type;
+ return 0;
+}
+
+static int hwloc_calc_check_type_depth(hwloc_topology_t topology, hwloc_obj_type_t type, int *depthp, const char *caller)
+{
+ if (type != (hwloc_obj_type_t) -1) {
+ int depth = hwloc_get_type_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ fprintf(stderr, "unavailable %s type %s\n", caller, hwloc_obj_type_string(type));
+ return -1;
+ } else if (depth == HWLOC_TYPE_DEPTH_MULTIPLE) {
+ fprintf(stderr, "cannot use %s type %s with multiple depth, please use the relevant depth directly\n", caller, hwloc_obj_type_string(type));
+ return -1;
+ }
+ *depthp = depth;
+ }
+ return 0;
+}
+
+int main(int argc, char *argv[])
+{
+ hwloc_topology_t topology;
+ unsigned long flags = HWLOC_TOPOLOGY_FLAG_WHOLE_IO|HWLOC_TOPOLOGY_FLAG_ICACHES;
+ char *input = NULL;
+ enum hwloc_utils_input_format input_format = HWLOC_UTILS_INPUT_DEFAULT;
+ int input_changed = 0;
+ unsigned depth;
+ hwloc_bitmap_t set;
+ int cmdline_args = 0;
+ hwloc_obj_type_t numberoftype = (hwloc_obj_type_t) -1;
+ hwloc_obj_type_t intersecttype = (hwloc_obj_type_t) -1;
+ hwloc_obj_type_t *hiertype = NULL;
+ char *callname;
+ char *outsep = NULL;
+ int opt;
+ int i;
+ int err;
+ int ret = EXIT_SUCCESS;
+ struct hwloc_calc_location_context_s lcontext;
+ struct hwloc_calc_set_context_s scontext;
+
+ /* enable verbose backends */
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+ putenv((char *) "HWLOC_SYNTHETIC_VERBOSE=1");
+
+ set = hwloc_bitmap_alloc();
+
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, flags);
+ err = hwloc_topology_load(topology);
+ if (err < 0)
+ return EXIT_FAILURE;
+ depth = hwloc_topology_get_depth(topology);
+
+ callname = argv[0];
+ /* skip argv[0], handle options */
+ argv++;
+ argc--;
+
+ while (argc >= 1) {
+ if (*argv[0] == '-') {
+ if (!strcmp(argv[0], "-v") || !strcmp(argv[0], "--verbose")) {
+ verbose++;
+ goto next;
+ }
+ if (!strcmp(argv[0], "-q") || !strcmp(argv[0], "--quiet")) {
+ verbose--;
+ goto next;
+ }
+ if (!strcmp (argv[0], "--whole-system")) {
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM;
+ input_changed = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--help")) {
+ usage(callname, stdout);
+ return EXIT_SUCCESS;
+ }
+ if (!strcmp (argv[0], "--restrict")) {
+ hwloc_bitmap_t restrictset;
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ restrictset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(restrictset, argv[1]);
+ err = hwloc_topology_restrict (topology, restrictset, 0);
+ if (err) {
+ perror("Restricting the topology");
+ /* FALLTHRU */
+ }
+ hwloc_bitmap_free(restrictset);
+ argv++;
+ argc--;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--number-of") || !strcmp(argv[0], "-N")) {
+ if (argc < 2) {
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ if (hwloc_calc_type_depth(argv[1], &numberoftype, &numberofdepth) < 0) {
+ fprintf(stderr, "unrecognized --number-of type or depth %s\n", argv[1]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ argv++;
+ argc--;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--intersect") || !strcmp(argv[0], "-I")) {
+ if (argc < 2) {
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ if (hwloc_calc_type_depth(argv[1], &intersecttype, &intersectdepth) < 0) {
+ fprintf(stderr, "unrecognized --intersect type or depth %s\n", argv[1]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ argv++;
+ argc--;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--hierarchical") || !strcmp(argv[0], "-H")) {
+ char *tmp, *next;
+ if (argc < 2) {
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ hiernblevels = 1;
+ tmp = argv[1];
+ while (1) {
+ tmp = strchr(tmp, '.');
+ if (!tmp)
+ break;
+ tmp++;
+ hiernblevels++;
+ }
+ hiertype = malloc(hiernblevels * sizeof(hwloc_obj_type_t));
+ hierdepth = malloc(hiernblevels * sizeof(int));
+ tmp = argv[1];
+ for(i=0; i<hiernblevels; i++) {
+ next = strchr(tmp, '.');
+ if (next)
+ *next = '\0';
+ if (hwloc_calc_type_depth(tmp, &hiertype[i], &hierdepth[i]) < 0) {
+ fprintf(stderr, "unrecognized --hierarchical type or depth %s\n", tmp);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ tmp = next+1;
+ }
+ argv++;
+ argc--;
+ goto next;
+ }
+ if (!strcasecmp(argv[0], "--pulist") || !strcmp(argv[0], "--proclist")) {
+ /* backward compat with 1.0 */
+ intersecttype = HWLOC_OBJ_PU;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--nodelist")) {
+ /* backward compat with 1.0 */
+ intersecttype = HWLOC_OBJ_NUMANODE;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--largest") || !strcmp(argv[0], "--objects") /* backward compat with 1.0 */) {
+ showobjs = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ }
+ if (!strcmp(argv[0], "-l") || !strcmp(argv[0], "--logical")) {
+ logicali = 1;
+ logicalo = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--li") || !strcmp(argv[0], "--logical-input")) {
+ logicali = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--lo") || !strcmp(argv[0], "--logical-output")) {
+ logicalo = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "-p") || !strcmp(argv[0], "--physical")) {
+ logicali = 0;
+ logicalo = 0;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--pi") || !strcmp(argv[0], "--physical-input")) {
+ logicali = 0;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--po") || !strcmp(argv[0], "--physical-output")) {
+ logicalo = 0;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--sep")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ outsep = argv[1];
+ argv++;
+ argc--;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--single")) {
+ singlify = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--taskset")) {
+ taskset = 1;
+ goto next;
+ }
+ if (hwloc_utils_lookup_input_option(argv, argc, &opt,
+ &input, &input_format,
+ callname)) {
+ argv += opt;
+ argc -= opt;
+ input_changed = 1;
+ goto next;
+ }
+
+ fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+
+ if (input_changed) {
+ /* flags or input was changed */
+ hwloc_topology_destroy(topology);
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, flags);
+ if (input) {
+ /* only update the input when actually using it */
+ err = hwloc_utils_enable_input_format(topology, input, &input_format, verbose, callname);
+ if (err)
+ return EXIT_FAILURE;
+ }
+ err = hwloc_topology_load(topology);
+ if (err < 0)
+ return EXIT_FAILURE;
+ depth = hwloc_topology_get_depth(topology);
+ input_changed = 0;
+ }
+
+ cmdline_args++;
+ lcontext.topology = topology;
+ lcontext.topodepth = depth;
+ lcontext.only_hbm = -1;
+ lcontext.logical = logicali;
+ lcontext.verbose = verbose;
+ scontext.output_set = set;
+ scontext.nodeset_input = 0;
+ scontext.nodeset_output = 0;
+ if (hwloc_calc_process_location_as_set(&lcontext, &scontext, argv[0]) < 0)
+ fprintf(stderr, "ignored unrecognized argument %s\n", argv[0]);
+
+ next:
+ argc--;
+ argv++;
+ }
+
+ if (hwloc_calc_check_type_depth(topology, numberoftype, &numberofdepth, "--number-of") < 0)
+ goto out;
+
+ if (hwloc_calc_check_type_depth(topology, intersecttype, &intersectdepth, "--intersect") < 0)
+ goto out;
+
+ for(i=0; i<hiernblevels; i++)
+ if (hwloc_calc_check_type_depth(topology, hiertype[i], &hierdepth[i], "--hierarchical") < 0)
+ goto out;
+
+ if (cmdline_args) {
+ /* process command-line arguments */
+ ret = hwloc_calc_output(topology, outsep, set);
+
+ } else {
+ /* process stdin arguments line-by-line */
+#define HWLOC_CALC_LINE_LEN 64
+ size_t len = HWLOC_CALC_LINE_LEN;
+ char * line = malloc(len);
+
+ if (input_changed) {
+ /* flags or input was changed */
+ hwloc_topology_destroy(topology);
+ hwloc_topology_init(&topology);
+ hwloc_topology_set_flags(topology, flags);
+ if (input) {
+ /* only update the input when actually using it */
+ err = hwloc_utils_enable_input_format(topology, input, &input_format, verbose, callname);
+ if (err)
+ return err;
+ }
+ err = hwloc_topology_load(topology);
+ if (err < 0)
+ return EXIT_FAILURE;
+ depth = hwloc_topology_get_depth(topology);
+ input_changed = 0;
+ }
+
+ while (1) {
+ char *current, *tmpline;
+
+ /* stop if line is empty */
+ if (!fgets(line, (int)len, stdin))
+ break;
+
+ /* keep reading until we get EOL */
+ tmpline = line;
+ while (!strchr(tmpline, '\n')) {
+ char *tmp;
+ tmp = realloc(line, len*2);
+ if (!tmp) {
+ /* failed to allocate, ignore that line */
+ fprintf(stderr, "Failed to allocate line buffer, line ignored.\n");
+ free(line);
+ goto out;
+ }
+ line = tmp;
+ tmpline = line + len-1;
+ if (!fgets(tmpline, (int)(len+1), stdin))
+ break;
+ len *= 2;
+ }
+
+ /* parse now that we got everything */
+ current = line;
+ hwloc_bitmap_zero(set);
+ while (1) {
+ char *token = strtok(current, " \n");
+ if (!token)
+ break;
+ current = NULL;
+ lcontext.topology = topology;
+ lcontext.topodepth = depth;
+ lcontext.only_hbm = -1;
+ lcontext.logical = logicali;
+ lcontext.verbose = verbose;
+ scontext.output_set = set;
+ scontext.nodeset_input = 0;
+ scontext.nodeset_output = 0;
+ if (hwloc_calc_process_location_as_set(&lcontext, &scontext, token) < 0)
+ fprintf(stderr, "ignored unrecognized argument %s\n", token);
+ }
+ hwloc_calc_output(topology, outsep, set);
+ }
+ free(line);
+ }
+
+ out:
+ hwloc_topology_destroy(topology);
+
+ hwloc_bitmap_free(set);
+
+ free(hierdepth);
+ free(hiertype);
+
+ return ret;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_CALC_H
+#define HWLOC_CALC_H
+
+#include <private/private.h>
+#include <private/misc.h>
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#include <ctype.h>
+#include <assert.h>
+
+struct hwloc_calc_location_context_s {
+ hwloc_topology_t topology;
+ unsigned topodepth;
+ int only_hbm; /* -1 for everything, 0 for only non-HBM, 1 for only HBM numa nodes */
+ int logical;
+ int verbose;
+};
+
+typedef enum hwloc_calc_append_mode_e {
+ HWLOC_CALC_APPEND_ADD,
+ HWLOC_CALC_APPEND_CLR,
+ HWLOC_CALC_APPEND_AND,
+ HWLOC_CALC_APPEND_XOR
+} hwloc_calc_append_mode_t;
+
+static __hwloc_inline int
+hwloc_calc_append_set(hwloc_bitmap_t set, hwloc_const_bitmap_t newset,
+ hwloc_calc_append_mode_t mode, int verbose)
+{
+ char *s1, *s2;
+ hwloc_bitmap_asprintf(&s1, newset);
+ hwloc_bitmap_asprintf(&s2, set);
+ switch (mode) {
+ case HWLOC_CALC_APPEND_ADD:
+ if (verbose > 0)
+ fprintf(stderr, "adding %s to %s\n",
+ s1, s2);
+ hwloc_bitmap_or(set, set, newset);
+ break;
+ case HWLOC_CALC_APPEND_CLR:
+ if (verbose > 0)
+ fprintf(stderr, "clearing %s from %s\n",
+ s1, s2);
+ hwloc_bitmap_andnot(set, set, newset);
+ break;
+ case HWLOC_CALC_APPEND_AND:
+ if (verbose > 0)
+ fprintf(stderr, "and'ing %s from %s\n",
+ s1, s2);
+ hwloc_bitmap_and(set, set, newset);
+ break;
+ case HWLOC_CALC_APPEND_XOR:
+ if (verbose > 0)
+ fprintf(stderr, "xor'ing %s from %s\n",
+ s1, s2);
+ hwloc_bitmap_xor(set, set, newset);
+ break;
+ default:
+ assert(0);
+ }
+ free(s1);
+ free(s2);
+ return 0;
+}
+
+static __hwloc_inline unsigned
+hwloc_calc_get_nbobjs_inside_sets_by_depth(struct hwloc_calc_location_context_s *lcontext,
+ hwloc_const_bitmap_t cpuset, hwloc_const_bitmap_t nodeset,
+ unsigned depth)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ int only_hbm = lcontext->only_hbm;
+ hwloc_obj_t obj = NULL;
+ unsigned n = 0;
+ while ((obj = hwloc_get_next_obj_by_depth(topology, depth, obj)) != NULL) {
+ if (!hwloc_bitmap_isincluded(obj->cpuset, cpuset))
+ continue;
+ if (nodeset && !hwloc_bitmap_isincluded(obj->nodeset, nodeset))
+ continue;
+ if (hwloc_bitmap_iszero(obj->cpuset)
+ && (!nodeset || hwloc_bitmap_iszero(obj->nodeset)))
+ /* ignore objects with empty sets (both can be empty when outside of cgroup) */
+ continue;
+ if (only_hbm >= 0 && obj->type == HWLOC_OBJ_NUMANODE) {
+ /* filter on hbm */
+ const char *info = hwloc_obj_get_info_by_name(obj, "Type");
+ int obj_is_hbm = info && !strcmp(info, "MCDRAM");
+ if (only_hbm != obj_is_hbm)
+ continue;
+ }
+ n++;
+ }
+ return n;
+}
+
+static __hwloc_inline hwloc_obj_t
+hwloc_calc_get_obj_inside_sets_by_depth(struct hwloc_calc_location_context_s *lcontext,
+ hwloc_const_bitmap_t cpuset, hwloc_const_bitmap_t nodeset,
+ unsigned depth, unsigned ind)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ int only_hbm = lcontext->only_hbm;
+ int logical = lcontext->logical;
+ hwloc_obj_t obj = NULL;
+ unsigned i = 0;
+ while ((obj = hwloc_get_next_obj_by_depth(topology, depth, obj)) != NULL) {
+ if (!hwloc_bitmap_isincluded(obj->cpuset, cpuset))
+ continue;
+ if (nodeset && !hwloc_bitmap_isincluded(obj->nodeset, nodeset))
+ continue;
+ if (hwloc_bitmap_iszero(obj->cpuset)
+ && (!nodeset || hwloc_bitmap_iszero(obj->nodeset)))
+ /* ignore objects with empty sets (both can be empty when outside of cgroup) */
+ continue;
+ if (only_hbm >= 0 && obj->type == HWLOC_OBJ_NUMANODE) {
+ /* filter on hbm */
+ const char *info = hwloc_obj_get_info_by_name(obj, "Type");
+ int obj_is_hbm = info && !strcmp(info, "MCDRAM");
+ if (only_hbm != obj_is_hbm)
+ continue;
+ }
+ if (logical) {
+ if (i == ind)
+ return obj;
+ i++;
+ } else {
+ if (obj->os_index == ind)
+ return obj;
+ }
+ }
+ return NULL;
+}
+
+static __hwloc_inline int
+hwloc_calc_depth_of_type(struct hwloc_calc_location_context_s *lcontext,
+ hwloc_obj_type_t type,
+ int depthattr, hwloc_obj_cache_type_t cachetype /* -1 if not specified */)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ int verbose = lcontext->verbose;
+ int depth;
+ int i;
+
+ if (depthattr == -1) {
+ hwloc_obj_type_t realtype;
+ /* matched a type without depth attribute, try to get the depth from the type if it exists and is unique */
+ depth = hwloc_get_type_or_above_depth(topology, type);
+ if (depth == HWLOC_TYPE_DEPTH_MULTIPLE) {
+ if (verbose >= 0)
+ fprintf(stderr, "type %s has multiple possible depths\n", hwloc_obj_type_string(type));
+ return -1;
+ } else if (depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ if (verbose >= 0)
+ fprintf(stderr, "type %s isn't available\n", hwloc_obj_type_string(type));
+ return -1;
+ }
+ realtype = hwloc_get_depth_type(topology, depth);
+ if (type != realtype && verbose > 0)
+ fprintf(stderr, "using type %s (depth %d) instead of %s\n",
+ hwloc_obj_type_string(realtype), depth, hwloc_obj_type_string(type));
+ return depth;
+
+ } else {
+ /* matched a type with a depth attribute, look at the first object of each level to find the depth */
+ if (type == HWLOC_OBJ_GROUP)
+ for(i=0; ; i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, i, 0);
+ if (!obj) {
+ if (verbose >= 0)
+ fprintf(stderr, "Group with custom depth %d does not exist\n",
+ depthattr);
+ return -1;
+ }
+ if (obj->type == type
+ && (unsigned) depthattr == obj->attr->group.depth)
+ return i;
+ }
+ else if (type == HWLOC_OBJ_CACHE) {
+ depth = hwloc_get_cache_type_depth(topology, depthattr, cachetype);
+ if (verbose >= 0) {
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN)
+ fprintf(stderr, "Cache with custom depth %d and type %d does not exist\n", depthattr, (int) cachetype);
+ else if (depth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ fprintf(stderr, "Cache with custom depth %d and type %d has multiple possible depths\n", depthattr, (int) cachetype);
+ }
+ return depth;
+ } else
+ assert(0);
+ }
+
+ /* cannot come here, we'll exit above first */
+ return -1;
+}
+
+static __hwloc_inline int
+hwloc_calc_parse_depth_prefix(struct hwloc_calc_location_context_s *lcontext,
+ const char *string, size_t typelen,
+ hwloc_obj_type_t *typep)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ unsigned topodepth = lcontext->topodepth;
+ int verbose = lcontext->verbose;
+ char typestring[20+1]; /* large enough to store all type names, even with a depth attribute */
+ hwloc_obj_type_t type;
+ hwloc_obj_cache_type_t cachetypeattr;
+ int depthattr;
+ int depth;
+ char *end;
+ int err;
+
+ if (typelen >= sizeof(typestring)) {
+ if (verbose >= 0)
+ fprintf(stderr, "invalid type name %s\n", string);
+ return -1;
+ }
+ strncpy(typestring, string, typelen);
+ typestring[typelen] = '\0';
+
+ /* try to match a type name */
+ err = hwloc_obj_type_sscanf(typestring, &type, &depthattr, &cachetypeattr, sizeof(cachetypeattr));
+ if (!err) {
+ if (type == HWLOC_OBJ_MISC)
+ return -1;
+ *typep = type;
+ return hwloc_calc_depth_of_type(lcontext, type, depthattr, cachetypeattr);
+ }
+ if (!strcasecmp(typestring, "HBM") || !strcasecmp(typestring, "MCDRAM")) {
+ if (lcontext->only_hbm == -1)
+ lcontext->only_hbm = 1;
+ *typep = HWLOC_OBJ_NUMANODE;
+ depth = hwloc_get_type_depth(topology, HWLOC_OBJ_NUMANODE);
+ return depth;
+ }
+
+ /* try to match a numeric depth */
+ depth = strtol(string, &end, 0);
+ if (end != &string[typelen]) {
+ if (verbose >= 0)
+ fprintf(stderr, "invalid type name %s\n", string);
+ return -1;
+ }
+ if ((unsigned) depth >= topodepth) {
+ if (verbose >= 0)
+ fprintf(stderr, "ignoring invalid depth %d\n", depth);
+ return -1;
+ }
+ *typep = (hwloc_obj_type_t) -1;
+ return depth;
+}
+
+static __hwloc_inline int
+hwloc_calc_parse_range(const char *_string,
+ int *firstp, int *amountp, int *stepp, int *wrapp,
+ const char **dotp)
+{
+ char string[65];
+ size_t len;
+ char *dot, *end, *end2;
+ long first, last, amount;
+ int wrap;
+
+ dot = strchr(_string, '.');
+ *dotp = dot;
+ if (dot) {
+ len = dot - _string;
+ } else {
+ len = strlen(_string);
+ }
+ if (len >= sizeof(string)) {
+ fprintf(stderr, "invalid range `%s', too long\n", _string);
+ return -1;
+ }
+ memcpy(string, _string, len);
+ string[len] = '\0';
+
+ if (!isdigit(*string)) {
+ if (!strncmp(string, "all", 3)) {
+ *firstp = 0;
+ *amountp = -1;
+ *stepp = 1;
+ *wrapp = 0;
+ return 0;
+ } else if (!strncmp(string, "odd", 3)) {
+ *firstp = 1;
+ *amountp = -1;
+ *stepp = 2;
+ *wrapp = 0;
+ return 0;
+ } else if (!strncmp(string, "even", 4)) {
+ *firstp = 0;
+ *amountp = -1;
+ *stepp = 2;
+ *wrapp = 0;
+ return 0;
+ } else {
+ fprintf(stderr, "unrecognized range keyword `%s'\n", string);
+ return -1;
+ }
+ }
+
+ first = strtol(string, &end, 10);
+ amount = 1;
+ wrap = 0;
+
+ if (*end == '-') {
+ last = strtol(end+1, &end2, 10);
+ if (*end2) {
+ fprintf(stderr, "invalid character at `%s' after range at `%s'\n", end2, string);
+ return -1;
+ } else if (end2 == end+1) {
+ /* X- */
+ amount = -1;
+ } else {
+ /* X-Y */
+ amount = last-first+1;
+ }
+
+ } else if (*end == ':') {
+ /* X:Y */
+ wrap = 1;
+ amount = strtol(end+1, &end2, 10);
+ if (*end2) {
+ fprintf(stderr, "invalid character at `%s' after range at `%s'\n", end2, string);
+ return -1;
+ } else if (end2 == end+1) {
+ fprintf(stderr, "missing width at `%s' in range at `%s'\n", end2, string);
+ return -1;
+ }
+
+ } else if (*end) {
+ fprintf(stderr, "invalid character at `%s' after index at `%s'\n", end, string);
+ return -1;
+ }
+
+ *firstp = first;
+ *amountp = amount;
+ *stepp = 1;
+ *wrapp = wrap;
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc_calc_append_object_range(struct hwloc_calc_location_context_s *lcontext,
+ hwloc_const_bitmap_t rootcpuset, hwloc_const_bitmap_t rootnodeset, int depth,
+ const char *string, /* starts with indexes following the colon */
+ void (*cbfunc)(struct hwloc_calc_location_context_s *, void *, hwloc_obj_t), void *cbdata)
+{
+ int verbose = lcontext->verbose;
+ hwloc_obj_t obj;
+ unsigned width;
+ const char *dot, *nextsep = NULL;
+ int nextdepth = -1;
+ int first, wrap, amount, step;
+ unsigned i,j;
+ int err;
+
+ err = hwloc_calc_parse_range(string,
+ &first, &amount, &step, &wrap,
+ &dot);
+ if (err < 0)
+ return -1;
+ assert(amount != -1 || !wrap);
+
+ if (dot) {
+ /* parse the next string before calling ourself recursively */
+ size_t typelen;
+ hwloc_obj_type_t type;
+ const char *nextstring = dot+1;
+ typelen = strspn(nextstring, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
+ if (!typelen || nextstring[typelen] != ':')
+ return -1;
+ nextsep = &nextstring[typelen];
+
+ nextdepth = hwloc_calc_parse_depth_prefix(lcontext,
+ nextstring, typelen,
+ &type);
+ if (nextdepth == HWLOC_TYPE_DEPTH_UNKNOWN || nextdepth == HWLOC_TYPE_DEPTH_MULTIPLE)
+ return -1;
+ if (nextdepth < 0) {
+ if (verbose >= 0)
+ fprintf(stderr, "hierarchical location %s only supported with normal object types\n", string);
+ return -1;
+ }
+ }
+
+ width = hwloc_calc_get_nbobjs_inside_sets_by_depth(lcontext, rootcpuset, rootnodeset, depth);
+ if (amount == -1)
+ amount = (width-first+step-1)/step;
+
+ for(i=first, j=0; j<(unsigned)amount; i+=step, j++) {
+ if (wrap && i>=width)
+ i = 0;
+
+ obj = hwloc_calc_get_obj_inside_sets_by_depth(lcontext, rootcpuset, rootnodeset, depth, i);
+ if (verbose > 0 || (!obj && verbose >= 0)) {
+ char *sc, *sn = NULL;
+ hwloc_bitmap_asprintf(&sc, rootcpuset);
+ if (rootnodeset)
+ hwloc_bitmap_asprintf(&sn, rootnodeset);
+ if (obj)
+ printf("using object #%u depth %d below cpuset %s nodeset %s\n",
+ i, depth, sc, sn);
+ else
+ fprintf(stderr, "object #%u depth %d below cpuset %s nodeset %s does not exist\n",
+ i, depth, sc, sn);
+ free(sc);
+ if (rootnodeset)
+ free(sn);
+ }
+ if (obj) {
+ if (dot) {
+ hwloc_calc_append_object_range(lcontext, obj->cpuset, obj->nodeset, nextdepth, nextsep+1, cbfunc, cbdata);
+ } else {
+ /* add to the temporary cpuset
+ * and let the caller add/clear/and/xor for the actual final cpuset depending on cmdline options
+ */
+ cbfunc(lcontext, cbdata, obj);
+ }
+ }
+ }
+
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc_calc_append_iodev(struct hwloc_calc_location_context_s *lcontext,
+ void (*cbfunc)(struct hwloc_calc_location_context_s *, void *, hwloc_obj_t), void *cbdata,
+ hwloc_obj_t obj)
+{
+ cbfunc(lcontext, cbdata, obj);
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc_calc_append_iodev_by_index(struct hwloc_calc_location_context_s *lcontext,
+ hwloc_obj_type_t type, int depth, const char *string,
+ void (*cbfunc)(struct hwloc_calc_location_context_s *, void *, hwloc_obj_t), void *cbdata)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ int verbose = lcontext->verbose;
+ hwloc_obj_t obj, prev = NULL;
+ int pcivendor = -1, pcidevice = -1;
+ const char *current, *dot;
+ char *endp;
+ int first = 0, step = 1, amount = 1, wrap = 0; /* assume the index suffix is `:0' by default */
+ int err, i, max;
+
+ if (*string == '[') {
+ /* matching */
+ current = string+1;
+
+ if (type == HWLOC_OBJ_PCI_DEVICE) {
+ /* try to match by [vendor:device] */
+ pcivendor = strtoul(current, &endp, 16);
+ if (*endp != ':') {
+ if (verbose >= 0)
+ fprintf(stderr, "invalid PCI vendor:device matching specification %s\n", string);
+ return -1;
+ }
+ if (endp == current)
+ pcivendor = -1;
+ current = endp+1;
+
+ pcidevice = strtoul(current, &endp, 16);
+ if (*endp != ']') {
+ if (verbose >= 0)
+ fprintf(stderr, "invalid PCI vendor:device matching specification %s\n", string);
+ return -1;
+ }
+ if (endp == current)
+ pcidevice = -1;
+ current = endp+1;
+
+ if (*current != ':' && *current != '\0') {
+ if (verbose >= 0)
+ fprintf(stderr, "invalid PCI vendor:device matching specification %s\n", string);
+ return -1;
+ }
+
+ } else {
+ /* no matching for non-PCI devices */
+ if (verbose >= 0)
+ fprintf(stderr, "invalid matching specification %s\n", string);
+ return -1;
+ }
+
+ } else {
+ /* no matching */
+ current = string;
+ }
+
+ if (*current != '\0') {
+ current++;
+ err = hwloc_calc_parse_range(current,
+ &first, &amount, &step, &wrap,
+ &dot);
+ if (dot) {
+ fprintf(stderr, "hierarchical location %s only supported with normal object types\n", string);
+ return -1;
+ }
+ if (err < 0)
+ return -1;
+ }
+
+ max = hwloc_get_nbobjs_by_depth(topology, depth);
+
+ for(i=0; i < max*(wrap+1); i++) {
+ if (i == max && wrap) {
+ i = 0;
+ wrap = 0;
+ }
+
+ obj = hwloc_get_obj_by_depth(topology, depth, i);
+ assert(obj);
+
+ if (obj == prev) /* already used that object, stop wrapping around */
+ break;
+
+ if (type == HWLOC_OBJ_PCI_DEVICE) {
+ if (pcivendor != -1 && (int) obj->attr->pcidev.vendor_id != pcivendor)
+ continue;
+ if (pcidevice != -1 && (int) obj->attr->pcidev.device_id != pcidevice)
+ continue;
+ }
+
+ if (first--)
+ continue;
+
+ /* ok, got one object */
+ if (verbose > 0)
+ printf("using matching PCI object #%d bus id %04x:%02x:%02x.%01x\n", i,
+ obj->attr->pcidev.domain, obj->attr->pcidev.bus, obj->attr->pcidev.dev, obj->attr->pcidev.func);
+ hwloc_calc_append_iodev(lcontext, cbfunc, cbdata, obj);
+
+ if (!prev)
+ prev = obj;
+
+ amount--;
+ if (!amount)
+ break;
+
+ first = step-1;
+ }
+
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc_calc_process_location(struct hwloc_calc_location_context_s *lcontext,
+ const char *arg, size_t typelen,
+ void (*cbfunc)(struct hwloc_calc_location_context_s *, void *, hwloc_obj_t), void *cbdata)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ int verbose = lcontext->verbose;
+ const char *sep = &arg[typelen];
+ hwloc_obj_type_t type = (hwloc_obj_type_t) -1;
+ int depth;
+
+ depth = hwloc_calc_parse_depth_prefix(lcontext,
+ arg, typelen,
+ &type);
+ if (depth == HWLOC_TYPE_DEPTH_UNKNOWN || depth == HWLOC_TYPE_DEPTH_MULTIPLE) {
+ return -1;
+
+ } else if (depth < 0) {
+ /* if we didn't find a depth but found a type, handle special cases */
+ hwloc_obj_t obj = NULL;
+
+ if (*sep == ':' || *sep == '[') {
+ return hwloc_calc_append_iodev_by_index(lcontext, type, depth, sep, cbfunc, cbdata);
+
+ } else if (*sep == '=' && type == HWLOC_OBJ_PCI_DEVICE) {
+ /* try to match a busid */
+ obj = hwloc_get_pcidev_by_busidstring(topology, sep+1);
+ if (obj)
+ return hwloc_calc_append_iodev(lcontext, cbfunc, cbdata, obj);
+ if (verbose >= 0)
+ fprintf(stderr, "invalid PCI device %s\n", sep+1);
+ return -1;
+
+ } else if (*sep == '=' && type == HWLOC_OBJ_OS_DEVICE) {
+ /* try to match a OS device name */
+ while ((obj = hwloc_get_next_osdev(topology, obj)) != NULL) {
+ if (!strcmp(obj->name, sep+1))
+ return hwloc_calc_append_iodev(lcontext, cbfunc, cbdata, obj);
+ }
+ if (verbose >= 0)
+ fprintf(stderr, "invalid OS device %s\n", sep+1);
+ return -1;
+
+ } else
+ return -1;
+ }
+
+ /* look at indexes following this type/depth */
+ return hwloc_calc_append_object_range(lcontext,
+ hwloc_topology_get_complete_cpuset(topology),
+ hwloc_topology_get_complete_nodeset(topology),
+ depth, sep+1, cbfunc, cbdata);
+}
+
+struct hwloc_calc_set_context_s {
+ int nodeset_input;
+ int nodeset_output;
+ hwloc_bitmap_t output_set;
+};
+
+struct hwloc_calc_process_location_set_cbdata_s {
+ struct hwloc_calc_set_context_s *scontext;
+ hwloc_bitmap_t set;
+};
+
+static __hwloc_inline void
+hwloc_calc_process_location_set_cb(struct hwloc_calc_location_context_s *lcontext, void *_data, hwloc_obj_t obj)
+{
+ int verbose = lcontext->verbose;
+ struct hwloc_calc_process_location_set_cbdata_s *cbdata = _data;
+ hwloc_bitmap_t set = cbdata->set;
+ int nodeset_output = cbdata->scontext->nodeset_output;
+ /* walk up out of I/O objects */
+ while (obj && !obj->cpuset)
+ obj = obj->parent;
+ if (!obj)
+ /* do nothing */
+ return;
+ hwloc_calc_append_set(set,
+ nodeset_output ? obj->nodeset : obj->cpuset,
+ HWLOC_CALC_APPEND_ADD, verbose);
+}
+
+static __hwloc_inline int
+hwloc_calc_process_location_as_set(struct hwloc_calc_location_context_s *lcontext,
+ struct hwloc_calc_set_context_s *scontext,
+ const char *arg)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ int verbose = lcontext->verbose;
+ int nodeset_output = scontext->nodeset_output;
+ int nodeset_input = scontext->nodeset_input;
+ hwloc_bitmap_t output_set = scontext->output_set;
+ hwloc_calc_append_mode_t mode = HWLOC_CALC_APPEND_ADD;
+ size_t typelen;
+ int err;
+
+ if (*arg == '~') {
+ mode = HWLOC_CALC_APPEND_CLR;
+ arg++;
+ } else if (*arg == 'x') {
+ mode = HWLOC_CALC_APPEND_AND;
+ arg++;
+ } else if (*arg == '^') {
+ mode = HWLOC_CALC_APPEND_XOR;
+ arg++;
+ }
+
+ if (!strcmp(arg, "all") || !strcmp(arg, "root"))
+ return hwloc_calc_append_set(output_set,
+ nodeset_output ? hwloc_topology_get_topology_nodeset(topology) : hwloc_topology_get_topology_cpuset(topology),
+ mode, verbose);
+
+ /* try to match a type/depth followed by a special character */
+ typelen = strspn(arg, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
+ if (typelen && (arg[typelen] == ':' || arg[typelen] == '=' || arg[typelen] == '[')) {
+ /* process type/depth */
+ struct hwloc_calc_process_location_set_cbdata_s cbdata;
+ cbdata.set = hwloc_bitmap_alloc();
+ cbdata.scontext = scontext;
+ err = hwloc_calc_process_location(lcontext, arg, typelen,
+ hwloc_calc_process_location_set_cb, &cbdata);
+ if (!err)
+ err = hwloc_calc_append_set(output_set, cbdata.set, mode, verbose);
+ hwloc_bitmap_free(cbdata.set);
+
+ } else {
+ /* try to match a cpuset */
+ char *tmp = (char*) arg;
+ hwloc_bitmap_t newset;
+ int taskset = ( strchr(tmp, ',') == NULL );
+
+ /* check the infinite prefix */
+ if (hwloc_strncasecmp(tmp, "0xf...f,", 7+!taskset) == 0) {
+ tmp += 7+!taskset;
+ if (0 == *tmp) {
+ err = -1;
+ goto out;
+ }
+ }
+
+ if (taskset) {
+ /* check that the remaining is 0x followed by a huge hexadecimal number */
+ if (hwloc_strncasecmp(tmp, "0x", 2) != 0) {
+ err = -1;
+ goto out;
+ }
+ tmp += 2;
+ if (0 == *tmp) {
+ err = -1;
+ goto out;
+ }
+ if (strlen(tmp) != strspn(tmp, "0123456789abcdefABCDEF")) {
+ err = -1;
+ goto out;
+ }
+
+ } else {
+ /* check that the remaining is a comma-separated list of hexadecimal integer with 0x as an optional prefix */
+ while (1) {
+ char *next = strchr(tmp, ',');
+ size_t len;
+ if (hwloc_strncasecmp(tmp, "0x", 2) == 0) {
+ tmp += 2;
+ if (',' == *tmp || 0 == *tmp) {
+ err = -1;
+ goto out;
+ }
+ }
+ len = next ? (size_t) (next-tmp) : strlen(tmp);
+ if (len != strspn(tmp, "0123456789abcdefABCDEF")) {
+ err = -1;
+ goto out;
+ }
+ if (!next)
+ break;
+ tmp = next+1;
+ }
+ }
+
+ newset = hwloc_bitmap_alloc();
+ if (taskset)
+ hwloc_bitmap_taskset_sscanf(newset, arg);
+ else
+ hwloc_bitmap_sscanf(newset, arg);
+ if (nodeset_output && !nodeset_input) {
+ hwloc_bitmap_t newnset = hwloc_bitmap_alloc();
+ hwloc_cpuset_to_nodeset(topology, newset, newnset);
+ err = hwloc_calc_append_set(output_set, newnset, mode, verbose);
+ hwloc_bitmap_free(newnset);
+ } else if (nodeset_input && !nodeset_output) {
+ hwloc_bitmap_t newcset = hwloc_bitmap_alloc();
+ hwloc_cpuset_from_nodeset(topology, newcset, newset);
+ err = hwloc_calc_append_set(output_set, newcset, mode, verbose);
+ hwloc_bitmap_free(newcset);
+ } else {
+ err = hwloc_calc_append_set(output_set, newset, mode, verbose);
+ }
+ hwloc_bitmap_free(newset);
+ }
+
+ out:
+ return err;
+}
+
+static __hwloc_inline void
+hwloc_calc_locations_usage(FILE *where)
+{
+ fprintf (where, " core:2-3 for the second and third core\n");
+ fprintf (where, " node:1.pu:2 the third PU of the second NUMA node\n");
+ fprintf (where, " 0x12345678 a CPU set given a bitmask string\n");
+ fprintf (where, " os=eth0 the operating system device named eth0\n");
+ fprintf (where, " pci=0000:01:02.0 the PCI device with the given bus ID\n");
+ fprintf (where, " with prefix ~ to remove, ^ for xor and x for intersection\n");
+ fprintf (where, " (see Location Specification in hwloc(7) for details).\n");
+}
+
+#endif /* HWLOC_CALC_H */
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2013-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-COMPRESS-DIR "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-compress-dir \- Compress a directory of XML topologies
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.B hwloc-compress-dir
+[\fIoptions\fR]
+<inputdir>
+<outputdir>
+\fR
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.TP
+\fB\-R \-\-reverse\fR
+Uncompress a previously compressed directory.
+.TP
+\fB\-v \-\-verbose\fR
+Display verbose messages.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-compress-dir takes an input directory containing XML exports
+and tries to compress it by computing topology diffs between them
+(with the hwloc-diff program).
+Each file is copied in the output directory either as a diff if it
+could be compressed, or as its original entire file otherwise.
+.
+.PP
+hwloc-compress-dir may recompress a directory that was previously
+compressed. All input files that are already in the output directory,
+either compressed or not, are ignored. New input files are compressed
+as much as possible as usual.
+.
+.PP
+For each file of the directory, the output filename is
+the same as the original if not compressed,
+otherwise its extension is changed to \fB.diff.xml\fR.
+.
+.PP
+Compressed files are based on another non-compressed topology.
+Its name is stored in the \fBrefname\fR topology diff attribute.
+.
+.PP
+The generated output diff files may be used with hwloc-patch
+just like any file generated by hwloc-diff.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+To compress the input files from directory in into directory out:
+
+ $ hwloc-compress-dir in out
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-compress-dir returns 0.
+.
+.PP
+hwloc-compress-dir will return nonzero if any kind of error occurs,
+such as (but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-diff(1), hwloc-patch(1)
+.sp
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2013 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+prefix="@prefix@"
+exec_prefix="@exec_prefix@"
+bindir="@bindir@"
+# this will be changed into $bindir/... during make install
+localhwlocdiff="$HWLOC_top_builddir/utils/hwloc/hwloc-diff"
+localhwlocpatch="$HWLOC_top_builddir/utils/hwloc/hwloc-patch"
+
+verbose=0
+reverse=0
+
+error()
+{
+ echo $@ 2>&1
+}
+
+usage()
+{
+ echo "$0 [options] <inputdir> <outputdir>"
+ echo " Compress topologies from <inputdir> into <outputdir>"
+ echo "Options:"
+ echo " -R --reverse Uncompress instead of compressing"
+ echo " -v --verbose Display verbose messages"
+}
+
+while test $# -gt 2 ; do
+ case "$1" in
+ -R|--reverse)
+ reverse=1
+ ;;
+ -v|--verbose)
+ verbose=1
+ ;;
+ -h)
+ usage
+ exit 0
+ ;;
+ -*)
+ error "Unrecognized option: $1"
+ usage
+ exit 1
+ ;;
+ esac
+ shift
+done
+
+if test $# -lt 2 ; then
+ usage
+ exit 1
+fi
+
+inputdir="$1"
+test x`echo $inputdir | sed -e 's/^\///'` = x$inputdir && inputdir="$PWD/$inputdir"
+outputdir="$2"
+test x`echo $outputdir | sed -e 's/^\///'` = x$outputdir && outputdir="$PWD/$outputdir"
+
+if ! cd "$outputdir" ; then
+ echo "Cannot enter output directory $outputdir"
+ exit 1
+fi
+
+if test x$reverse = x0; then
+ # compress
+
+ alreadycompressed=0
+ alreadynoncompressed=0
+ newlycompressed=0
+ newlynoncompressed=0
+
+ inputs=`ls -1 "$inputdir"`
+ for input in $inputs ; do
+ name=`echo $input | sed -e 's/.xml$//'`
+
+ if test "x${name}.xml" != "x$input"; then
+ test x$verbose = x1 && echo "Ignoring non-XML file $input"
+ continue
+ fi
+ if test -f "$outputdir/${name}.xml" ; then
+ test x$verbose = x1 && echo "$name already non-compressed, skipping"
+ alreadynoncompressed=`expr $alreadynoncompressed + 1`
+ continue
+ fi
+ if test -f "$outputdir/${name}.diff.xml" ; then
+ test x$verbose = x1 && echo "$name already compressed, skipping"
+ alreadycompressed=`expr $alreadycompressed + 1`
+ continue
+ fi
+
+ found=
+ outputs=`ls -1 "$outputdir"`
+ for output in $outputs ; do
+ outputname=`echo $output | sed -e 's/.xml$//' | sed -e 's/.diff$//'`
+ test -f "${outputdir}/${outputname}.diff.xml" && continue
+
+ if $localhwlocdiff "$outputdir/${outputname}.xml" "$inputdir/${name}.xml" "$outputdir/${name}.diff.xml" >/dev/null 2>/dev/null; then
+ echo "Compressed $name on top of $outputname"
+ newlycompressed=`expr $newlycompressed + 1`
+ found=1
+ break
+ fi
+ done
+
+ if test x$found = x ; then
+ echo "Could not compress $name, keeping non-compressed"
+ newlynoncompressed=`expr $newlynoncompressed + 1`
+ cp "$inputdir/${name}.xml" "$outputdir/${name}.xml"
+ fi
+ done
+
+ echo "Compressed $newlycompressed new topologies ($alreadycompressed were already compressed)"
+ echo "Kept $newlynoncompressed new topologies non-compressed ($alreadynoncompressed were already non-compressed)"
+
+else
+ # uncompress
+
+ newlyuncompressed=0
+ newlynoncompressed=0
+ alreadyuncompressed=0
+
+ inputs=`ls -1 "$inputdir"`
+ for input in $inputs ; do
+
+ name=`echo $input | sed -e 's/.xml$//' | sed -e 's/.diff$//'`
+
+ if test "x${name}.xml" != "x$input" -a "x${name}.diff.xml" != "x$input"; then
+ test x$verbose = x1 && echo "Ignoring non-XML and non-diff-XML file $input"
+ continue
+ fi
+ if test -f "$outputdir/${name}.xml" ; then
+ test x$verbose = x1 && echo "$name already uncompressed, skipping"
+ alreadyuncompressed=`expr $alreadyuncompressed + 1`
+ continue
+ fi
+
+ if test "x${name}.xml" = "x$input"; then
+ # non-compressed
+ cp "$inputdir/${name}.xml" "$outputdir/${name}.xml"
+ echo "Copied $name, wasn't compressed"
+ newlynoncompressed=`expr $newlynoncompressed + 1`
+ else
+ # compressed
+ if (cd $outputdir && $localhwlocpatch refname "$inputdir/${name}.diff.xml" "${name}.xml"); then
+ echo "Uncompressed $name"
+ newlyuncompressed=`expr $newlyuncompressed + 1`
+ else
+ echo "Failed to uncompress $inputdir/${name}.diff.xml" 1>&2
+ fi
+ fi
+ done
+
+ echo "Uncompressed $newlyuncompressed new topologies, copied $newlynoncompressed non-compressed topologies ($alreadyuncompressed were already uncompressed)"
+
+fi
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2013-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-DIFF "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-diff \- Compute differences between two XML topologies
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.PP
+.B hwloc-diff
+[\fIoptions\fR]
+\fI<input1.xml>\fR
+\fI<input2.xml>\fR
+.PP
+.B hwloc-diff
+[\fIoptions\fR]
+\fI<input1.xml>\fR
+\fI<input2.xml>\fR
+\fI<output.xml>\fR
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP 10
+\fB\-\-refname\fR <name>
+Use <name> as the identifier for the reference topology
+in the output XML difference.
+It is meant to tell which topology should be used when applying
+the resulting difference.
+hwloc-patch may use that name to automatically load the relevant
+reference topology XML.
+By default, <input1.xml> is used without its full path.
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-diff computes the difference between two XML topologies
+and stores the result into <output.xml> if any, or dumps it
+to stdout otherwise.
+.
+.PP
+The output difference may later be applied to another topology
+with hwloc-patch.
+.
+.PP
+hwloc-compress-dir may be used for computing the diffs between
+all XML files in a directory.
+.
+.PP
+.B NOTE:
+If some application-specific userdata were been exported to the input XMLs,
+they will be ignored and discarded from the output because hwloc has no way
+to understand and compare them.
+.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page. Most of the concepts described in
+hwloc(7) directly apply to the hwloc-diff utility.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+hwloc-diff's operation is best described through several examples.
+.
+.PP
+Compute the difference between two XML topologies and output it to stdout:
+
+ $ hwloc-diff fourmi023.xml fourmi024.xml
+ Found 11 differences, exporting to stdout
+ <?xml version="1.0" encoding="UTF-8"?>
+ ...
+
+Output the difference to file diff.xml instead:
+
+ $ hwloc-diff fourmi023.xml fourmi024.xml diff.xml
+ Found 11 differences, exporting to diff.xml
+
+When the difference is too complex to be represented:
+
+ $ hwloc-diff fourmi023.xml avakas-frontend1.xml
+ Found 1 differences, including 1 too complex ones.
+ Cannot export differences to stdout
+
+Directly compute the difference between two topologies and apply it
+to another one:
+
+ $ hwloc-diff fourmi023.xml fourmi024.xml | hwloc-patch fourmi025.xml -
+
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-diff outputs the difference.
+The return value is 0.
+.
+.PP
+If the difference is too complex to be represented, an error is returned
+and the output is not generated.
+.
+.PP
+hwloc-diff also returns nonzero if any kind of error occurs, such as
+(but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-patch(1), hwloc-compress-dir(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2013-2019 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/private.h>
+#include <hwloc.h>
+#include <hwloc/diff.h>
+
+#include "misc.h"
+
+void usage(const char *callname __hwloc_attribute_unused, FILE *where)
+{
+ fprintf(where, "Usage: hwloc-diff [options] <old.xml> <new.xml> [<output.diff.xml>]\n");
+ fprintf(where, "Options:\n");
+ fprintf(where, " --refname <name> Change the XML reference identifier to <name> in the output\n");
+ fprintf(where, " (default is the filename of the first topology\n");
+ fprintf(where, " --version Report version and exit\n");
+}
+
+int main(int argc, char *argv[])
+{
+ hwloc_topology_t topo1, topo2;
+ hwloc_topology_diff_t firstdiff = NULL, diff;
+ unsigned long flags = HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM | HWLOC_TOPOLOGY_FLAG_WHOLE_IO | HWLOC_TOPOLOGY_FLAG_ICACHES;
+ char *callname, *input1, *input2, *output, *outputname, *refname = NULL;
+ char *xmlbuffer;
+ int xmlbuflen;
+ unsigned i, j;
+ int err;
+
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+ callname = argv[0];
+ /* skip argv[0], handle options */
+ argc--;
+ argv++;
+
+ while (argc && *argv[0] == '-') {
+ if (!strcmp (argv[0], "--refname")) {
+ if (argc < 2) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ refname = argv[1];
+ argc--;
+ argv++;
+ } else if (!strcmp (argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ } else {
+ fprintf(stderr, "Unrecognized options: %s\n", argv[0]);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ argc--;
+ argv++;
+ }
+
+ if (argc < 2) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ input1 = argv[0];
+ input2 = argv[1];
+ argc -= 2;
+ argv += 2;
+ if (argc >= 1) {
+ output = argv[0];
+ outputname = argv[0];
+ argc--;
+ argv++;
+ } else {
+ output = NULL;
+ outputname = (char *) "stdout";
+ }
+
+ hwloc_topology_init(&topo1);
+ hwloc_topology_set_flags(topo1, flags);
+ err = hwloc_topology_set_xml(topo1, input1);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load 1st XML topology %s\n", input1);
+ goto out_with_topo1;
+ }
+ err = hwloc_topology_load(topo1);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load 1st topology %s\n", input1);
+ goto out_with_topo1;
+ }
+
+ hwloc_topology_init(&topo2);
+ hwloc_topology_set_flags(topo2, flags);
+ err = hwloc_topology_set_xml(topo2, input2);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load 2nd XML topology %s\n", input2);
+ goto out_with_topo2;
+ }
+ err = hwloc_topology_load(topo2);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load 2nd topology %s\n", input2);
+ goto out_with_topo2;
+ }
+
+ if (!refname) {
+ refname = strrchr(input1, '/');
+ if (refname)
+ refname++;
+ else
+ refname = input1;
+ }
+
+ err = hwloc_topology_diff_build(topo1, topo2, 0, &firstdiff);
+ if (err < 0) {
+ fprintf(stderr, "Failed to compute the diff (%s)\n", strerror(errno));
+ goto out_with_topo2;
+ }
+
+ diff = firstdiff;
+ i = 0, j = 0;
+ while (diff) {
+ i++;
+ if (diff->generic.type == HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX)
+ j++;
+ diff = diff->generic.next;
+ }
+ if (!i) {
+ fprintf(stderr, "Found no difference, exporting empty topology diff to %s\n", outputname);
+ } else if (!j) {
+ fprintf(stderr, "Found %u differences, exporting to %s\n", i, outputname);
+ } else {
+ fprintf(stderr, "Found %u differences, including %u too complex ones.\n", i, j);
+ fprintf(stderr, "Cannot export differences to %s\n", outputname);
+ }
+ if (!j) {
+ if (output) {
+ err = hwloc_topology_diff_export_xml(topo1, firstdiff, refname, output);
+ } else {
+ err = hwloc_topology_diff_export_xmlbuffer(topo1, firstdiff, refname, &xmlbuffer, &xmlbuflen);
+ if (!err) {
+ printf("%s\n", xmlbuffer);
+ hwloc_free_xmlbuffer(topo1, xmlbuffer);
+ }
+ }
+ if (err < 0)
+ fprintf(stderr, "Failed to export topology diff %s\n", output);
+ }
+
+ hwloc_topology_diff_destroy(topo1, firstdiff);
+
+ hwloc_topology_destroy(topo2);
+ hwloc_topology_destroy(topo1);
+
+ if (j)
+ exit(EXIT_FAILURE);
+ else
+ exit(EXIT_SUCCESS);
+
+out_with_topo2:
+ hwloc_topology_destroy(topo2);
+out_with_topo1:
+ hwloc_topology_destroy(topo1);
+ exit(EXIT_FAILURE);
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2012-2018 Inria. All rights reserved.
+.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-DISTANCES "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-distances \- Displays distance matrices
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.B hwloc-distances
+[\fIoptions\fR]
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.TP
+\fB\-l\fR \fB\-\-logical\fR
+Display hwloc logical indexes (default) instead of physical/OS indexes.
+.TP
+\fB\-p\fR \fB\-\-physical\fR
+Display OS/physical indexes instead of hwloc logical indexes.
+.TP
+\fB\-i\fR <file>, \fB\-\-input\fR <file>
+Read topology from XML file <file> (instead of discovering the
+topology on the local machine). If <file> is "\-", the standard input
+is used. XML support must have been compiled in to hwloc for this
+option to be usable.
+.TP
+\fB\-i\fR <directory>, \fB\-\-input\fR <directory>
+Read topology from the chroot specified by <directory> (instead of
+discovering the topology on the local machine). This option is
+generally only available on Linux. The chroot was usually created
+by gathering another machine topology with hwloc-gather-topology.
+.TP
+\fB\-i\fR <specification>, \fB\-\-input\fR <specification>
+Simulate a fake hierarchy (instead of discovering the topology on the
+local machine). If <specification> is "node:2 pu:3", the topology will
+contain two NUMA nodes with 3 processing units in each of them.
+The <specification> string must end with a number of PUs.
+.TP
+\fB\-\-if\fR <format>, \fB\-\-input\-format\fR <format>
+Enforce the input in the given format, among \fBxml\fR, \fBfsroot\fR
+and \fBsynthetic\fR.
+.TP
+\fB\-\-restrict\fR <cpuset>
+Restrict the topology to the given cpuset.
+.TP
+\fB\-\-whole\-system\fR
+Do not consider administration limitations.
+.TP
+\fB\-v\fR \fB\-\-verbose\fR
+Verbose messages.
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-distances displays also distance matrices attached to the topology.
+The value in the i-th row and j-th column is the distance from
+object #i to object #j.
+.
+.PP
+Unless defined by the user, matrices currently always contain relative
+latencies between NUMA nodes (which may or may not be accurate).
+See the definition of \fIstruct hwloc_distances_s\fR in \fIinclude/hwloc.h\fR
+or the documentation for details.
+.
+.PP
+These latencies are normalized to the latency of a local (non-NUMA) access.
+Hence 3.5 in row #i column #j means that the latency from cores in NUMA node
+#i to memory in NUMA node #j is 3.5 higher than the latency from cores
+to their local memory.
+.
+A breadth-first traversal of the topology is performed starting from
+the root to find all distance matrices.
+.
+.PP
+.B NOTE:
+lstopo may also display distance matrices in its verbose textual output.
+However lstopo only prints matrices that cover the entire topology while
+hwloc-distances also displays matrices that ignore part of the topology.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+On a quad-package opteron machine:
+
+ $ hwloc-distances
+ Latency matrix between 4 NUMANodes (depth 2) by logical indexes:
+ index 0 1 2 3
+ 0 1.000 1.600 2.200 2.200
+ 1 1.600 1.000 2.200 2.200
+ 2 2.200 2.200 1.000 1.600
+ 3 2.200 2.200 1.600 1.000
+.
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-distances returns 0.
+.
+.PP
+hwloc-distances will return nonzero if any kind of error occurs, such as
+(but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/private.h>
+#include <hwloc.h>
+
+#include "misc.h"
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+void usage(const char *callname __hwloc_attribute_unused, FILE *where)
+{
+ fprintf(where, "Usage: hwloc-distances [options]\n");
+ fprintf(where, "Formatting options:\n");
+ fprintf(where, " -l --logical Display hwloc logical object indexes (default)\n");
+ fprintf(where, " -p --physical Display physical object indexes\n");
+ fprintf(where, "Input topology options:\n");
+ fprintf(where, " --restrict <set> Restrict the topology to processors listed in <set>\n");
+ fprintf(where, " --whole-system Do not consider administration limitations\n");
+ hwloc_utils_input_format_usage(where, 0);
+ fprintf(where, "Miscellaneous options:\n");
+ fprintf(where, " -v --verbose Show verbose messages\n");
+ fprintf(where, " --version Report version and exit\n");
+}
+
+int main(int argc, char *argv[])
+{
+ char *callname;
+ char *input = NULL;
+ enum hwloc_utils_input_format input_format = HWLOC_UTILS_INPUT_DEFAULT;
+ char *restrictstring = NULL;
+ hwloc_topology_t topology;
+ unsigned long flags = 0;
+ unsigned i, depth;
+ int logical = 1;
+ int verbose = 0;
+ int opt;
+ int err;
+
+ /* enable verbose backends */
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+ putenv((char *) "HWLOC_SYNTHETIC_VERBOSE=1");
+
+ hwloc_topology_init(&topology);
+
+ callname = argv[0];
+ /* skip argv[0], handle options */
+ argv++;
+ argc--;
+
+ while (argc >= 1) {
+ if (!strcmp(argv[0], "--")) {
+ argc--;
+ argv++;
+ break;
+ }
+
+ if (*argv[0] == '-') {
+ if (!strcmp(argv[0], "--help")) {
+ usage(callname, stdout);
+ return EXIT_SUCCESS;
+ }
+ if (!strcmp(argv[0], "-v") || !strcmp(argv[0], "--verbose")) {
+ verbose++;
+ goto next;
+ }
+ if (!strcmp (argv[0], "-l") || !strcmp (argv[0], "--logical")) {
+ logical = 1;
+ goto next;
+ }
+ if (!strcmp (argv[0], "-p") || !strcmp (argv[0], "--physical")) {
+ logical = 0;
+ goto next;
+ }
+ if (!strcmp (argv[0], "--whole-system")) {
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM;
+ goto next;
+ }
+ if (hwloc_utils_lookup_input_option(argv, argc, &opt,
+ &input, &input_format,
+ callname)) {
+ argv += opt;
+ argc -= opt;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--restrict")) {
+ if (argc < 2) {
+ usage (callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ restrictstring = strdup(argv[1]);
+ argc--;
+ argv++;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ }
+
+ fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+
+ next:
+ argc--;
+ argv++;
+ }
+
+ if (input) {
+ err = hwloc_utils_enable_input_format(topology, input, &input_format, verbose, callname);
+ if (err)
+ return err;
+ }
+ hwloc_topology_set_flags(topology, flags);
+ hwloc_topology_load(topology);
+
+ if (restrictstring) {
+ hwloc_bitmap_t restrictset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(restrictset, restrictstring);
+ err = hwloc_topology_restrict (topology, restrictset, 0);
+ if (err) {
+ perror("Restricting the topology");
+ /* FALLTHRU */
+ }
+ hwloc_bitmap_free(restrictset);
+ free(restrictstring);
+ }
+
+ depth = hwloc_topology_get_depth(topology);
+ for(i=0; i<depth; i++) {
+ unsigned nbobjs, j;
+ nbobjs = hwloc_get_nbobjs_by_depth(topology, i);
+ for(j=0; j<nbobjs; j++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, i, j);
+ unsigned k;
+ char roottypestring[32];
+ hwloc_obj_type_snprintf (roottypestring, sizeof(roottypestring), obj, 0);
+ for(k=0; k<obj->distances_count; k++) {
+ struct hwloc_distances_s *distances = obj->distances[k];
+ if (!distances->latency)
+ continue;
+ printf("Relative latency matrix between %u %ss (depth %u) by %s indexes (below %s%s%u):\n",
+ distances->nbobjs,
+ hwloc_obj_type_string(hwloc_get_depth_type(topology, i+distances->relative_depth)),
+ i+distances->relative_depth,
+ logical ? "logical" : "physical",
+ roottypestring,
+ logical ? " L#" : " P#",
+ logical ? obj->logical_index : obj->os_index);
+ hwloc_utils_print_distance_matrix(stdout, topology, obj, distances->nbobjs, distances->relative_depth, distances->latency, logical);
+ }
+ }
+ }
+
+ hwloc_topology_destroy(topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2010-2018 Inria. All rights reserved.
+.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-DISTRIB "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-distrib \- Build a number of cpu masks distributed on the system
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.B hwloc-distrib
+[\fIoptions\fR] \fI<integer>\fR
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.TP
+\fB\-\-single\fR
+Singlify each output to a single CPU.
+.TP
+\fB\-\-taskset\fR
+Show CPU set strings in the format recognized by the taskset command-line
+program instead of hwloc-specific CPU set string format.
+.TP
+\fB\-v\fR \fB\-\-verbose\fR
+Verbose messages.
+.TP
+\fB\-i\fR <file>, \fB\-\-input\fR <file>
+Read topology from XML file <file> (instead of discovering the
+topology on the local machine). If <file> is "\-", the standard input
+is used. XML support must have been compiled in to hwloc for this
+option to be usable.
+.TP
+\fB\-i\fR <directory>, \fB\-\-input\fR <directory>
+Read topology from the chroot specified by <directory> (instead of
+discovering the topology on the local machine). This option is
+generally only available on Linux. The chroot was usually created
+by gathering another machine topology with hwloc-gather-topology.
+.TP
+\fB\-i\fR <specification>, \fB\-\-input\fR <specification>
+Simulate a fake hierarchy (instead of discovering the topology on the
+local machine). If <specification> is "node:2 pu:3", the topology will
+contain two NUMA nodes with 3 processing units in each of them.
+The <specification> string must end with a number of PUs.
+.TP
+\fB\-\-if\fR <format>, \fB\-\-input\-format\fR <format>
+Enforce the input in the given format, among \fBxml\fR, \fBfsroot\fR
+and \fBsynthetic\fR.
+.TP
+\fB\-\-ignore\fR <type>
+Ignore all objects of type <type> in the topology.
+.TP
+\fB\-\-from\fR <type>
+Distribute starting from objects of the given type instead of from
+the top of the topology hierarchy, i.e. ignoring the structure given by objects
+above.
+.TP
+\fB\-\-to\fR <type>
+Distribute down to objects of the given type instead of down to the bottom of
+the topology hierarchy, i.e. ignoring the structure given by objects below.
+This may be useful if some latitude is desired for the binding, e.g. just bind
+several processes to each package without specifying a single core for each
+of them.
+.TP
+\fB\-\-at\fR <type>
+Distribute among objects of the given type. This is equivalent to specifying
+both \fB\-\-from\fR and \fB\-\-to\fR at the same time.
+.TP
+\fB\-\-reverse\fR
+Distribute by starting with the last objects first,
+and singlify CPU sets by keeping the last bit (instead of the first bit).
+.TP
+\fB\-\-restrict\fR <cpuset>
+Restrict the topology to the given cpuset.
+.TP
+\fB\-\-whole\-system\fR
+Do not consider administration limitations.
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-distrib generates a series of CPU masks corresponding to a distribution of
+a given number of elements over the topology of the machine. The distribution
+is done recursively from the top of the hierarchy (or from the level specified
+by option \fB\-\-from\fR) down to the bottom of the hierarchy (or down to the
+level specified by option \fB\-\-to\fR, or until only one element remains),
+splitting the number of elements at each encountered hierarchy level not ignored
+by options \fB\-\-ignore\fR.
+.
+.PP
+This can e.g. be used to distribute a set of processes hierarchically according
+to the topology of a machine. These masks can be used with hwloc-bind(1).
+.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page. Most of the concepts described in
+hwloc(7) directly apply to the hwloc-bind utility.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+hwloc-distrib's operation is best described through several examples.
+.
+.PP
+If 4 processes have to be distributed across a machine, their CPU masks
+may be obtained with:
+
+ $ hwloc-distrib 4
+ 0x0000000f
+ 0x00000f00
+ 0x000000f0
+ 0x0000f000
+
+To distribute only among the second package, the topology should be restricted:
+
+ $ hwloc-distrib --restrict $(hwloc-calc package:1) 4
+ 0x00000010
+ 0x00000020
+ 0x00000040
+ 0x00000080
+
+To get a single processor of each CPU masks (prevent migration in case
+of binding)
+
+ $ hwloc-distrib 4 --single
+ 0x00000001
+ 0x00000100
+ 0x00000010
+ 0x00001000
+
+Each output line may be converted independently with hwloc-calc:
+
+ $ hwloc-distrib 4 --single | hwloc-calc --taskset
+ 0x1
+ 0x100
+ 0x10
+ 0x1000
+
+To convert the output into a list of processors that may be passed to
+dplace -c inside a mpirun command line:
+
+ $ hwloc-distrib 4 --single | xargs hwloc-calc --pulist
+ 0,8,4,16
+.
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-distrib displays one or more CPU mask
+strings. The return value is 0.
+.
+.
+.PP
+hwloc-distrib will return nonzero if any kind of error occurs, such as
+(but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), hwloc-gather-topology(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/private.h>
+#include <hwloc.h>
+
+#include "misc.h"
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+void usage(const char *callname __hwloc_attribute_unused, FILE *where)
+{
+ fprintf(where, "Usage: hwloc-distrib [options] number\n");
+ fprintf(where, "Distribution options:\n");
+ fprintf(where, " --ignore <type> Ignore objects of the given type\n");
+ fprintf(where, " --from <type> Distribute starting from objects of the given type\n");
+ fprintf(where, " --to <type> Distribute down to objects of the given type\n");
+ fprintf(where, " --at <type> Distribute among objects of the given type\n");
+ fprintf(where, " --reverse Distribute by starting from last objects\n");
+ fprintf(where, "Input topology options:\n");
+ fprintf(where, " --restrict <set> Restrict the topology to processors listed in <set>\n");
+ fprintf(where, " --whole-system Do not consider administration limitations\n");
+ hwloc_utils_input_format_usage(where, 0);
+ fprintf(where, "Formatting options:\n");
+ fprintf(where, " --single Singlify each output to a single CPU\n");
+ fprintf(where, " --taskset Show taskset-specific cpuset strings\n");
+ fprintf(where, "Miscellaneous options:\n");
+ fprintf(where, " -v --verbose Show verbose messages\n");
+ fprintf(where, " --version Report version and exit\n");
+}
+
+int main(int argc, char *argv[])
+{
+ long n = -1;
+ char *callname;
+ char *input = NULL;
+ enum hwloc_utils_input_format input_format = HWLOC_UTILS_INPUT_DEFAULT;
+ int taskset = 0;
+ int singlify = 0;
+ int verbose = 0;
+ char *restrictstring = NULL;
+ hwloc_obj_type_t from_type = (hwloc_obj_type_t) -1, to_type = (hwloc_obj_type_t) -1;
+ hwloc_topology_t topology;
+ unsigned long flags = 0;
+ unsigned long dflags = 0;
+ int opt;
+ int err;
+
+ /* enable verbose backends */
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+ putenv((char *) "HWLOC_SYNTHETIC_VERBOSE=1");
+
+ hwloc_topology_init(&topology);
+
+ callname = argv[0];
+ /* skip argv[0], handle options */
+ argv++;
+ argc--;
+
+ while (argc >= 1) {
+ if (!strcmp(argv[0], "--")) {
+ argc--;
+ argv++;
+ break;
+ }
+
+ if (*argv[0] == '-') {
+ if (!strcmp(argv[0], "--single")) {
+ singlify = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--taskset")) {
+ taskset = 1;
+ goto next;
+ }
+ if (!strcmp(argv[0], "-v") || !strcmp(argv[0], "--verbose")) {
+ verbose = 1;
+ goto next;
+ }
+ if (!strcmp (argv[0], "--whole-system")) {
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM;
+ goto next;
+ }
+ if (!strcmp(argv[0], "--help")) {
+ usage(callname, stdout);
+ return EXIT_SUCCESS;
+ }
+ if (hwloc_utils_lookup_input_option(argv, argc, &opt,
+ &input, &input_format,
+ callname)) {
+ argv += opt;
+ argc -= opt;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--ignore")) {
+ hwloc_obj_type_t type;
+ if (argc < 2) {
+ usage(callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ if (hwloc_obj_type_sscanf(argv[1], &type, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to --ignore, ignoring.\n", argv[1]);
+ else
+ hwloc_topology_ignore_type(topology, type);
+ argc--;
+ argv++;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--from")) {
+ if (argc < 2) {
+ usage(callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ if (hwloc_obj_type_sscanf(argv[1], &from_type, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to --from, ignoring.\n", argv[1]);
+ argc--;
+ argv++;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--to")) {
+ if (argc < 2) {
+ usage(callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ if (hwloc_obj_type_sscanf(argv[1], &to_type, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to --to, ignoring.\n", argv[1]);
+ argc--;
+ argv++;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--at")) {
+ if (argc < 2) {
+ usage(callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ if (hwloc_obj_type_sscanf(argv[1], &to_type, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to --at, ignoring.\n", argv[1]);
+ from_type = to_type;
+ argc--;
+ argv++;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--reverse")) {
+ dflags |= HWLOC_DISTRIB_FLAG_REVERSE;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--restrict")) {
+ if (argc < 2) {
+ usage (callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ restrictstring = strdup(argv[1]);
+ argc--;
+ argv++;
+ goto next;
+ }
+ else if (!strcmp (argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ }
+
+ fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+
+ if (n != -1) {
+ fprintf(stderr,"duplicate number\n");
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ n = atol(argv[0]);
+
+ next:
+ argc--;
+ argv++;
+ }
+
+ if (n == -1) {
+ fprintf(stderr,"need a number\n");
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+
+ if (verbose)
+ fprintf(stderr, "distributing %ld\n", n);
+
+ {
+ unsigned i;
+ int from_depth, to_depth;
+ unsigned chunks;
+ hwloc_bitmap_t *cpuset;
+
+ cpuset = malloc(n * sizeof(hwloc_bitmap_t));
+
+ if (input) {
+ err = hwloc_utils_enable_input_format(topology, input, &input_format, verbose, callname);
+ if (err) {
+ free(cpuset);
+ return err;
+ }
+ }
+ hwloc_topology_set_flags(topology, flags);
+ err = hwloc_topology_load(topology);
+ if (err < 0) {
+ free(cpuset);
+ return EXIT_FAILURE;
+ }
+
+ if (restrictstring) {
+ hwloc_bitmap_t restrictset = hwloc_bitmap_alloc();
+ hwloc_bitmap_sscanf(restrictset, restrictstring);
+ err = hwloc_topology_restrict (topology, restrictset, 0);
+ if (err) {
+ perror("Restricting the topology");
+ /* FALLTHRU */
+ }
+ hwloc_bitmap_free(restrictset);
+ free(restrictstring);
+ }
+
+ if (from_type == (hwloc_obj_type_t) -1) {
+ from_depth = 0;
+ } else {
+ from_depth = hwloc_get_type_depth(topology, from_type);
+ if (from_depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ fprintf(stderr, "unavailable type %s to distribute among, ignoring\n", hwloc_obj_type_string(from_type));
+ from_depth = 0;
+ } else if (from_depth == HWLOC_TYPE_DEPTH_MULTIPLE) {
+ fprintf(stderr, "multiple depth for type %s to distribute among, ignoring\n", hwloc_obj_type_string(from_type));
+ from_depth = 0;
+ }
+ }
+
+ if (to_type == (hwloc_obj_type_t) -1) {
+ to_depth = INT_MAX;
+ } else {
+ to_depth = hwloc_get_type_depth(topology, to_type);
+ if (to_depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ fprintf(stderr, "unavailable type %s to distribute among, ignoring\n", hwloc_obj_type_string(to_type));
+ to_depth = INT_MAX;
+ } else if (to_depth == HWLOC_TYPE_DEPTH_MULTIPLE) {
+ fprintf(stderr, "multiple depth for type %s to distribute among, ignoring\n", hwloc_obj_type_string(to_type));
+ to_depth = INT_MAX;
+ }
+ }
+
+ chunks = hwloc_get_nbobjs_by_depth(topology, from_depth);
+ {
+ hwloc_obj_t *roots;
+
+ roots = malloc(chunks * sizeof(hwloc_obj_t));
+
+ for (i = 0; i < chunks; i++)
+ roots[i] = hwloc_get_obj_by_depth(topology, from_depth, i);
+
+ hwloc_distrib(topology, roots, chunks, cpuset, n, to_depth, dflags);
+
+ for (i = 0; (long) i < n; i++) {
+ char *str = NULL;
+ if (singlify) {
+ if (dflags & HWLOC_DISTRIB_FLAG_REVERSE) {
+ unsigned last = hwloc_bitmap_last(cpuset[i]);
+ hwloc_bitmap_only(cpuset[i], last);
+ } else {
+ hwloc_bitmap_singlify(cpuset[i]);
+ }
+ }
+ if (taskset)
+ hwloc_bitmap_taskset_asprintf(&str, cpuset[i]);
+ else
+ hwloc_bitmap_asprintf(&str, cpuset[i]);
+ printf("%s\n", str);
+ free(str);
+ hwloc_bitmap_free(cpuset[i]);
+ }
+
+ free(roots);
+ }
+
+ free(cpuset);
+ }
+
+ hwloc_topology_destroy(topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+/*
+ * Copyright © 2015-2018 Intel
+ * Copyright © 2015-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <dirent.h>
+#include <errno.h>
+#include <fcntl.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <stdlib.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+
+#define KERNEL_SMBIOS_SYSFS "/sys/firmware/dmi/entries"
+
+/* official strings, found at least in Intel S7200AP boards (also used by Cray) and some SuperMicro boards */
+#define KNL_INTEL_GROUP_STRING "Group: Knights Landing Information"
+#define KNM_INTEL_GROUP_STRING "Group: Knights Mill Information"
+/* unexpected strings, found at least in Dell C6320p BIOS <=1.4.1 */
+#define KNL_DELL_GROUP_STRING "Knights Landing Association"
+
+static char *allowed_group_strings[] =
+{
+ KNL_INTEL_GROUP_STRING,
+ KNM_INTEL_GROUP_STRING,
+ KNL_DELL_GROUP_STRING
+};
+
+/* Header is common part of all SMBIOS entries */
+struct smbios_header
+{
+ uint8_t type;
+ uint8_t length;
+ uint16_t handle;
+};
+
+struct smbios_group
+{
+ uint8_t group_name;
+};
+
+/* This structrures are padded by compiler
+ * So we hardcode size of the struct and use it
+ * instead of sizeof() */
+#define GROUP_ENTRY_SIZE 3
+struct smbios_group_entry
+{
+ uint8_t type;
+ uint16_t handle;
+};
+
+/* KNL header is similar as SMBIOS header
+ * decided to add it for readability */
+#define SMBIOS_KNL_HEADER_SIZE 7
+struct knl_smbios_header
+{
+ uint8_t type;
+ uint8_t length;
+ uint16_t handle;
+ uint16_t member_id;
+ uint8_t member_name;
+};
+
+/* general info data */
+#define SMBIOS_KNL_GENERAL_INFO_SIZE 5
+struct knl_general_info
+{
+ uint8_t supp_cluster_mode;
+ uint8_t cluster_mode;
+ uint8_t supp_memory_mode;
+ uint8_t memory_mode;
+ uint8_t cache_info;
+};
+
+/* memory info */
+#define SMBIOS_KNL_EDC_INFO_SIZE 9
+struct knl_edc_info
+{
+ uint8_t mcdram_present;
+ uint8_t mcdram_enabled;
+ uint8_t allowed_channels;
+ uint8_t reserved[4];
+ uint8_t mcdram_info_size;
+ uint8_t mcdram_info_count;
+};
+
+/* mcdram controller structure */
+struct knl_mcdram_info {
+ uint32_t status;
+ uint8_t controller;
+ uint8_t channel;
+ uint16_t size64MB;
+ uint8_t product_revision;
+ uint8_t fwmajor_revision;
+ uint8_t fwminor_revision;
+ uint8_t fwpatch_revision;
+};
+
+/* internal data */
+struct parser_data
+{
+ uint64_t mcdram_regular;
+ uint64_t mcdram_cache;
+ int cluster_mode;
+ int memory_mode;
+ int cache_info;
+ int type_count;
+ int knl_types[64];
+};
+
+enum cluster_mode
+{
+ QUADRANT = 1,
+ HEMISPHERE = 2,
+ SNC4 = 4,
+ SNC2 = 8,
+ ALL2ALL = 16
+};
+
+enum memory_mode
+{
+ CACHE = 1,
+ FLAT = 2,
+ HYBRID = 4
+};
+
+enum hybrid_cache
+{
+ H25 = 1,
+ H50 = 2,
+ H100 = 4 /* Incorrect but possible value */
+};
+
+static int get_file_buffer(const char *file, char *buffer, int size)
+{
+ FILE *f;
+
+ printf(" File = %s\n", file);
+
+ if (!buffer) {
+ fprintf(stderr, "Unable to allocate buffer\n");
+ return 0;
+ }
+
+ f = fopen(file, "rb");
+ if (!f) {
+ fprintf(stderr, "Unable to open %s (%s)\n", file, strerror(errno));
+ return 0;
+ }
+
+ size = fread(buffer, 1, size, f);
+ if (size == 0) {
+ fprintf(stderr, "Unable to read file\n");
+ fclose(f);
+ return 0;
+ }
+ printf(" Read %d bytes\n", size);
+
+ fclose(f);
+ return size;
+}
+
+static int check_entry(struct smbios_header *h, const char *end, const char *query)
+{
+ char *group_strings = (char*)h + h->length;
+ do {
+ int len = strlen(group_strings);
+ /* SMBIOS string entries end with "\0\0"
+ * if length is 0 break and return
+ * */
+ if (len == 0)
+ break;
+
+ printf(" Looking for \"%s\" in group string \"%s\"\n", query, group_strings);
+ if (!strncmp(group_strings, query, len))
+ return 1;
+
+ group_strings += len;
+ } while(group_strings < end);
+
+ return 0;
+}
+
+static int is_phi_group(struct smbios_header *h, const char *end)
+{
+ unsigned i;
+ if (h->type != 14) {
+ fprintf(stderr, "SMBIOS table is not group table\n");
+ return 0;
+ }
+
+ for (i = 0; i < sizeof(allowed_group_strings)/sizeof(char*); i++) {
+ if (check_entry(h, end, allowed_group_strings[i]))
+ return 1;
+ }
+
+ return 0;
+}
+
+#define KNL_MEMBER_ID_GENERAL 0x1
+#define KNL_MEMBER_ID_EDC 0x2
+
+#define PATH_SIZE 512
+#define SMBIOS_FILE_BUF_SIZE 4096
+#define KNL_MCDRAM_SIZE (16ULL*1024*1024*1024)
+
+static int process_smbios_group(const char *input_fsroot, char *dir_name, struct parser_data *data)
+{
+ char path[PATH_SIZE];
+ char file_buf[SMBIOS_FILE_BUF_SIZE];
+ struct smbios_header *h;
+ char *p;
+ char *end;
+ int size;
+ int i;
+
+ snprintf(path, PATH_SIZE-1, "%s/" KERNEL_SMBIOS_SYSFS "/%s/raw", input_fsroot, dir_name);
+ path[PATH_SIZE-1] = 0;
+
+ size = get_file_buffer(path, file_buf, SMBIOS_FILE_BUF_SIZE);
+ if (!size) {
+ fprintf(stderr, "Unable to read raw table file\n");
+ return -1;
+ }
+
+ h = (struct smbios_header*)file_buf;
+ end = file_buf+size;
+ if (!is_phi_group(h, end)) {
+ printf(" Failed to find Phi group\n");
+ fprintf(stderr, "SMBIOS table does not contain Xeon Phi entries\n");
+ return -1;
+ }
+ printf(" Found Phi group\n");
+
+ p = file_buf + sizeof(struct smbios_header) + sizeof(struct smbios_group);
+ if ((char*)p >= end) {
+ fprintf(stderr, "SMBIOS table does not have entries\n");
+ return -1;
+ }
+
+ end = file_buf+h->length;
+
+ i = 0;
+ for (; p < end; i++, p+=3) {
+ struct smbios_group_entry *e = (struct smbios_group_entry*)p;
+ data->knl_types[i] = e->type;
+ printf(" Found Xeon Phi type = %d\n", e->type);
+ }
+
+ data->type_count = i;
+ return 0;
+}
+
+static int process_knl_entry(const char *input_fsroot, char *dir_name, struct parser_data *data)
+{
+ char path[PATH_SIZE];
+ char file_buf[SMBIOS_FILE_BUF_SIZE];
+ char *end;
+ int size;
+ struct knl_smbios_header *h;
+
+ snprintf(path, PATH_SIZE-1, "%s/" KERNEL_SMBIOS_SYSFS "/%s/raw", input_fsroot, dir_name);
+ path[PATH_SIZE-1] = 0;
+
+ size = get_file_buffer(path, file_buf, SMBIOS_FILE_BUF_SIZE);
+ if (!size) {
+ fprintf(stderr, "Unable to read raw table file\n");
+ return -1;
+ }
+
+ end = file_buf+size;
+ h = (struct knl_smbios_header*)file_buf;
+ if (h->member_id & KNL_MEMBER_ID_GENERAL) {
+ struct knl_general_info *info =
+ (struct knl_general_info*) (file_buf+SMBIOS_KNL_HEADER_SIZE);
+ printf(" Getting general Xeon Phi info\n");
+ data->cluster_mode = info->cluster_mode;
+ data->memory_mode = info->memory_mode;
+ data->cache_info = info->cache_info;
+ } else if (h->member_id & KNL_MEMBER_ID_EDC) {
+ struct knl_edc_info *info = (struct knl_edc_info*)(file_buf+SMBIOS_KNL_HEADER_SIZE);
+ if (info->mcdram_present && info->mcdram_enabled) {
+ struct knl_mcdram_info *mi = (struct knl_mcdram_info*)(info + 1);
+ /* we use always smbios size not struct size
+ * as it can change in future.*/
+ int struct_size = info->mcdram_info_size;
+ int i = 0;
+
+ if (0 == struct_size) {
+ printf(" MCDRAM info size is set to 0, falling back to known size\n");
+ struct_size = sizeof(*mi);
+ }
+ printf(" Getting Xeon Phi MCDRAM info. Count=%d struct size=%d\n",
+ (int)info->mcdram_info_count, struct_size);
+ for ( ; i < info->mcdram_info_count; i++) {
+ if ((char*)mi >= end) {
+ fprintf(stderr, "SMBIOS Xeon Phi entry is too small\n");
+ return -1;
+ }
+ printf(" MCDRAM controller %d\n", mi->controller);
+ if (mi->status & 0x1) {
+ printf(" Controller fused\n");
+ } else {
+ data->mcdram_regular += mi->size64MB;
+ printf(" Size = %d MB\n", (int)mi->size64MB*64);
+ }
+ mi = (struct knl_mcdram_info*)(((char*)mi)+struct_size);
+ }
+ /* convert to bytes */
+ printf(" Total MCDRAM %llu MB\n", (long long unsigned int)data->mcdram_regular*64);
+ data->mcdram_regular *= 64*1024*1024;
+ /*
+ * BIOS can expose some MCRAM controllers as fused
+ * When this happens we hardcode MCDRAM size to 16 GB
+ */
+ if (data->mcdram_regular != KNL_MCDRAM_SIZE) {
+ fprintf(stderr, "Not all MCDRAM is exposed in DMI. Please contact BIOS vendor\n");
+ data->mcdram_regular = KNL_MCDRAM_SIZE;
+ }
+
+ } else {
+ data->mcdram_regular = 0;
+ data->mcdram_cache = 0;
+ }
+
+ } else {
+ /* We skip unknown table */
+ fprintf(stderr, "Ignoring unknown SMBIOS entry type=%x\n", h->member_id);
+ }
+
+ return 0;
+}
+static const char* get_memory_mode_str(int memory_mode, int hybrid_cache_size)
+{
+ switch (memory_mode) {
+ case CACHE: return "Cache";
+ case FLAT: return "Flat";
+ case HYBRID:
+ if (hybrid_cache_size == H25) {
+ return "Hybrid25";
+ } else if (hybrid_cache_size == H50) {
+ return "Hybrid50";
+ }
+ return "Unknown";
+ default:
+ return "Unknown";
+ }
+}
+
+static const char* get_cluster_mode_str(int cluster_mode)
+{
+ switch (cluster_mode) {
+ case QUADRANT: return "Quadrant";
+ case HEMISPHERE: return "Hemisphere";
+ case ALL2ALL: return "All2All";
+ case SNC2: return "SNC2";
+ case SNC4: return "SNC4";
+ default:
+ return "Unknown";
+ }
+}
+
+static int print_result(struct parser_data *data, const char *out_file)
+{
+ int node_count = 0;
+ int fd;
+ FILE *f;
+
+ switch (data->cluster_mode) {
+ case QUADRANT:
+ node_count = 1;
+ break;
+ case HEMISPHERE:
+ node_count = 1;
+ break;
+ case ALL2ALL:
+ node_count = 1;
+ break;
+ case SNC2:
+ node_count = 2;
+ break;
+ case SNC4:
+ node_count = 4;
+ break;
+ default:
+ fprintf(stderr, "Incorrect cluster mode %d\n", data->cluster_mode);
+ return -1;
+ }
+
+ switch (data->memory_mode) {
+ case CACHE:
+ data->mcdram_cache = data->mcdram_regular;
+ data->mcdram_regular = 0;
+ break;
+ case FLAT:
+ data->mcdram_cache = 0;
+ break;
+ case HYBRID:
+ if (data->cache_info == H25) {
+ data->mcdram_cache = data->mcdram_regular/4;
+ } else if (data->cache_info == H50) {
+ data->mcdram_cache = data->mcdram_regular/2;
+ } else if (data->cache_info == H100) {
+ data->mcdram_cache = data->mcdram_regular;
+ } else {
+ fprintf(stderr, "SMBIOS reserved cache info value %d\n", data->cache_info);
+ return -1;
+ }
+ data->mcdram_regular -= data->mcdram_cache;
+ break;
+ default:
+ fprintf(stderr, "Incorrect memory mode %d\n", data->memory_mode);
+ return -1;
+ }
+
+ printf(" Cluster Mode: %s Memory Mode: %s\n",
+ get_cluster_mode_str(data->cluster_mode),
+ get_memory_mode_str(data->memory_mode, data->cache_info));
+ printf(" MCDRAM total = %llu bytes, cache = %llu bytes\n",
+ (long long unsigned int)data->mcdram_regular,
+ (long long unsigned int)data->mcdram_cache);
+ data->mcdram_regular /= node_count;
+ data->mcdram_cache /= node_count;
+ printf(" MCDRAM total = %llu bytes, cache = %llu bytes per node\n",
+ (long long unsigned int)data->mcdram_regular,
+ (long long unsigned int)data->mcdram_cache);
+
+ /* Now we can start printing stuff */
+ /* use open+fdopen so that we can specify the file creation mode */
+ fd = open(out_file, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
+ if (fd < 0) {
+ fprintf(stderr, "Unable to open file `%s' (%s).\n", out_file, strerror(errno));
+ return -1;
+ }
+ f = fdopen(fd, "w");
+ if (!f) {
+ fprintf(stderr, "Unable to fdopen file `%s' (%s).\n", out_file, strerror(errno));
+ close(fd);
+ return -1;
+ }
+
+ fprintf(f, "version: 2\n");
+ /* We cache is equal for node */
+ fprintf(f, "cache_size: %llu\n",
+ (long long unsigned int)data->mcdram_cache);
+ fprintf(f, "associativity: 1\n");// direct-mapped cache
+ fprintf(f, "inclusiveness: 1\n");// inclusive cache
+ fprintf(f, "line_size: 64\n");
+ fprintf(f, "cluster_mode: %s\n", get_cluster_mode_str(data->cluster_mode));
+ fprintf(f, "memory_mode: %s\n", get_memory_mode_str(data->memory_mode, data->cache_info));
+ fflush(f);
+ fclose(f);
+ close(fd);
+ return 0;
+}
+
+/**
+* Seeks SMBIOS sysfs for entry with type
+*/
+int hwloc_dump_hwdata_knl_smbios(const char *input_fsroot, const char *outfile);
+
+int hwloc_dump_hwdata_knl_smbios(const char *input_fsroot, const char *outfile)
+{
+ DIR *d;
+ int i;
+ struct dirent *dir;
+ struct parser_data data = { 0 };
+ char path[PATH_SIZE];
+ int err;
+
+ printf("Dumping Xeon Phi SMBIOS Memory-Side Cache information:\n");
+
+ snprintf(path, PATH_SIZE-1, "%s/" KERNEL_SMBIOS_SYSFS, input_fsroot);
+ path[PATH_SIZE-1] = 0;
+
+ d = opendir(path);
+ if (!d) {
+ fprintf(stderr, "Unable to open dmi-sysfs dir: %s", path);
+ return -1;
+ }
+
+ /* process Xeon Phi entries
+ * start with group (type 14, dash os to omit 140 types) then find SMBIOS types for
+ * Knights Landing mcdram indofrmation
+ */
+ while ((dir = readdir(d))) {
+ if (strncmp("14-", dir->d_name, 3) == 0) {
+ err = process_smbios_group(input_fsroot, dir->d_name, &data);
+ if (err < 0) {
+ closedir(d);
+ return err;
+ }
+ }
+ }
+
+ if (!data.type_count) {
+ fprintf (stderr, " Couldn't find any Xeon Phi information.\n");
+ closedir(d);
+ return -1;
+ }
+
+ /* We probably have Xeon Phi type identifiers here */
+ for (i = 0; i < data.type_count; i++) {
+ char tab[16] = {0};
+ int l = snprintf(tab, sizeof(tab)-1, "%d-", data.knl_types[i]);
+ printf("\n");
+ printf (" Seeking dir ̀`%s' %d\n", tab, l);
+ rewinddir(d);
+ while ((dir = readdir(d))) {
+ if (strncmp(dir->d_name, tab, l) == 0) {
+ err = process_knl_entry(input_fsroot, dir->d_name, &data);
+ if (err < 0) {
+ closedir(d);
+ return err;
+ }
+ }
+ }
+ }
+
+ closedir(d);
+
+ return print_result(&data, outfile);
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2015-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-DUMP-HWDATA "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-dump-hwdata \- Dump topology and locality information from hardware tables
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.B hwloc-dump-hwdata
+[\fIoptions\fR]
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP 10
+\fB\-o <dir>\fR
+save output files to directory <dir> instead of the default
+\fI%RUNSTATEDIR%/hwloc/\fR that was specified at configure time.
+
+You may want to set the HWLOC_DUMPED_HWDATA_DIR environment variable
+as well so that the hwloc library looks for dumped files in that same
+directory.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc may benefit from some locality and topology information from
+SMBIOS or ACPI tables.
+They are accessible from raw hardware files under directories such
+/sys/firmware/dmi/ or /sys/firmware/acpi/ on Linux.
+These files are usually only accessible to root,
+and they only exist when there is \fIdmi-sysfs\fR support in the Linux kernel.
+.
+.PP
+The hwloc-dump-hwdata tool dumps the useful contents of such files into
+human-readable and world-accessible files. The intent is to run the tool
+once during boot and have the main (non-privileged) hwloc library gather
+information from these human-readable files.
+.
+.PP
+\fBhwloc-dump-hwdata is currently only useful for Intel Xeon Phi processors\fR
+(Knights Landing and Knights Mill).
+.
+.PP
+The current list of dumped information is:
+.
+.TP 5
+\fBIntel Xeon Phi processor memory, cache and clustering configuration\fR
+gathered from specific SMBIOS entries such as
+\fI/sys/firmware/dmi/entries/14-*\fR and
+\fI/sys/firmware/dmi/entries/160-*\fR,
+and saved in file \fIknl_memoryside_cache\fR.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2015 Intel, Inc. All rights reserved.
+ * Copyright © 2015-2018 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <fcntl.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <errno.h>
+#include <assert.h>
+
+#define DEFAULT_DUMP_DIR RUNSTATEDIR "/hwloc"
+
+extern int hwloc_dump_hwdata_knl_smbios(const char *input_fsroot, const char *filename);
+
+static void usage(const char *name, FILE *where)
+{
+ fprintf (where, "Usage: %s [ options ] ...\n", name);
+ fprintf (where, "Options:\n");
+ fprintf (where, " -o <dir> Output files to directory <dir> instead of " DEFAULT_DUMP_DIR "\n");
+}
+
+int main(int argc, char *argv[])
+{
+ const char *callname = argv[0];
+ char *dirname = (char *) DEFAULT_DUMP_DIR;
+ char *input_fsroot;
+ char *filename;
+ int err;
+
+ argv++; argc--;
+ while (argc) {
+ if (!strcmp(argv[0], "-h") || !strcmp(argv[0], "--help")) {
+ usage(callname, stdout);
+ exit(EXIT_SUCCESS);
+ } else if (!strcmp(argv[0], "-o")) {
+ if (argc == 1) {
+ fprintf(stderr, "Missing output directory name.\n");
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ dirname = argv[1];
+ argc -= 2;
+ argv += 2;
+ } else {
+ fprintf(stderr, "Unknown option: %s\n", argv[0]);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ }
+
+ err = mkdir(dirname, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH);
+ if (err < 0) {
+ if (errno == EEXIST) {
+ if (access(dirname, X_OK|W_OK)) {
+ fprintf(stderr, "Cannot enter and modify output directory `%s'.\n", dirname);
+ exit(EXIT_FAILURE);
+ }
+ } else {
+ fprintf(stderr, "Failed to create output directory `%s' (%s).\n", dirname, strerror(errno));
+ exit(EXIT_FAILURE);
+ }
+ }
+
+ input_fsroot = getenv("HWLOC_FSROOT");
+ if (!input_fsroot)
+ input_fsroot = (char *) "/";
+
+ err = asprintf(&filename, "%s/knl_memoryside_cache", dirname);
+ assert(err >= 0);
+ err = hwloc_dump_hwdata_knl_smbios(input_fsroot, filename);
+ free(filename);
+ printf("\n");
+
+ return err ? EXIT_FAILURE : EXIT_SUCCESS;
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2010 Jirka Hladky
+.\" Copyright © 2010-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-GATHER-TOPOLOGY "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-gather-topology \- Saves the relevant Linux topology files
+and the lstopo textual and XML outputs for later (possibly offline) usage
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.B hwloc-gather-topology [\fIoptions\fR] \fI<path>\fR
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP
+\fB\-\-io\fR
+Also gather I/O related files.
+The gathering may be much slower, and the generated archive may be much bigger.
+\fB\-\-dmi\fR
+Also gather DMI/SMBIOS related files.
+The gathering requires root access, and the dmi-sysfs kernel module should be loaded.
+.TP
+\fB\-h\fR \fB\-\-help\fR
+Display help message and exit
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+\fBhwloc-gather-topology\fR saves all the relevant topology files into an
+archive (\fB<path>.tar.bz2\fR), the lstopo output (\fB<path>.output\fR),
+and the lstopo XML (\fB<path>.xml\fR).
+The utility for example stores the \fB/proc/cpuinfo\fR file and the entire
+\fB/sys/devices/system/node/\fR directory tree.
+.
+.PP
+These files can be used later to explore the machine topology offline.
+Once the tarball has been extracted, it may for instance be given to
+some hwloc command-line utilities through their \fB\-\-input\fR option.
+It is also possible to override the default topology that the hwloc
+library will read by setting the extracted path in the \fBHWLOC_FSROOT\fR
+environment variable.
+.
+.PP
+The archive and the lstopo textual and XML outputs may also be submitted to hwloc developers
+to debug issues remotely.
+.
+.PP
+\fBhwloc-gather-topology\fR is a Linux specific tool, it is not installed
+on other operating systems.
+.
+.PP
+.B NOTE:
+\fBhwloc-gather-topology\fR gathers many hardware details about the platform.
+The outputs and tarball should not be posted on public lists or websites
+unless it is clear that they contain no sensitive information.
+.
+.PP
+.B NOTE:
+The gathering may take several minutes, especially on large nodes.
+.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+To store topology information to be used later (possibly on
+a different host) please run:
+
+ hwloc-gather-topology /tmp/myhost
+
+It will store all relevant topology files in the \fB/tmp/myhost.tar.bz2\fR
+archive, the lstopo output in the \fB/tmp/myhost.output\fR file,
+and the lstopo XML in the \fB/tmp/myhost.xml\fR file.
+.
+These files can be transferred on another host for later/offline
+analysis and/or as the input to various hwloc utilities.
+.PP
+To use these data with hwloc utilities you have to unpack
+\fBmyhost.tar.bz2\fR archive first:
+
+ tar jxvf /tmp/myhost.tar.bz2
+
+A new directory named \fBmyhost\fR now contains all topology files.
+Then you ask various hwloc utilities to use this topology instead
+of the one of the real machine by passing \fB\-\-input myhost\fR.
+To display the topology just run:
+
+ lstopo --input ./myhost
+
+It is not necessary that the topology is extracted in the current
+directory, absolute or relative paths are also supported:
+
+ lstopo --input /path/to/remote/host/extracted/topology/
+
+To see how hwloc would distribute 8 parallel jobs on the original host:
+
+ hwloc-distrib --input myhost --single 8
+
+To get the corresponding physical indexes in the previous command:
+
+ hwloc-calc --input myhost --po --li --proclist $(hwloc-distrib --input myhost --single 8)
+
+Any program may actually override the default topology with a given
+archived one even if it does not have a \fB\-\-input\fR option.
+The \fBHWLOC_FSROOT\fR environment variable should be used to do so:
+
+ HWLOC_FSROOT=myhost hwloc-calc --po --li --proclist $(hwloc-distrib --single 8)
+
+All these commands will produce the same output as if executed
+directly on the host on which the topology information was
+originally gathered by the \fBhwloc-gather-topology\fR script.
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, \fBhwloc-gather-topology\fR will exit with the code 0.
+.
+.PP
+\fBhwloc-gather-topology\fR will return nonzero exit status if any kind of error occurs,
+such as (but not limited to) failure to create the archive or output files.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-calc(1), hwloc-distrib(1)
+.sp
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2019 Inria. All rights reserved.
+# Copyright © 2009-2012 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+prefix="@prefix@"
+exec_prefix="@exec_prefix@"
+bindir="@bindir@"
+localstatedir="@localstatedir@"
+runstatedir="@HWLOC_runstatedir@"
+# this will be changed into $bindir/lstopo during make install
+lstopo="$HWLOC_top_builddir/utils/lstopo/lstopo-no-graphics"
+
+# make sure we use default numeric formats
+LANG=C
+LC_ALL=C
+export LANG LC_ALL
+
+gatherio=0
+gatherdmi=0
+
+if [ ! -x "$lstopo" ]
+then
+ error "Could not find lstopo executable in the install or build dir."
+ exit 1
+fi
+
+error()
+{
+ echo $@ 2>&1
+}
+
+usage()
+{
+ echo "$0 [options] <savepath>"
+ echo " Saves the Linux topology files (/sys, /proc, ...) under <savepath>.tar.bz2"
+ echo " and the corresponding lstopo verbose output under <savepath>.output"
+ echo "Options:"
+ echo " --io Gather I/O files (takes much longer and generates much larger tarball)"
+ echo " --dmi Gather SMBIOS files. Works only when run as root. Requires dmi-sysfs kernel module"
+ echo "Example:"
+ echo " $0 /tmp/\$(uname -n)"
+}
+
+while [ x`echo "$1" | cut -c1` = x- ] ; do
+ case $1 in
+ --io) gatherio=1;;
+ --dmi) gatherdmi=1;;
+ *) echo "Unrecognized option: $1"; usage; exit 1;;
+ esac
+ shift
+done
+
+if test $# -lt 1 -o x$1 = x; then
+ usage
+ exit 1
+fi
+name="$1"
+basename=`basename "$name"`
+dirname=`dirname "$name"`
+
+if [ x$gatherio = x0 ]; then
+ echo "I/O files won't be saved (--io not given)."
+fi
+if [ x$gatherdmi = x0 ]; then
+ echo "DMI files won't be saved (--dmi not given)."
+fi
+
+echo
+echo "*** Note that this tool may be slow on large nodes or when I/O is enabled. ***"
+echo
+
+if ! mkdir -p "$dirname" ; then
+ error "Failed to create directory $dirname."
+ exit 1
+fi
+
+if [ ! -w "$dirname" ] ; then
+ echo "$dirname is not writable."
+ exit 1
+fi
+
+destdir=`mktemp -d`
+
+# Use cat so that we properly get proc/sys files even if their
+# file length is wrong
+savefile() {
+ local dest="$1"
+ local file="$2"
+ if test -r "$file"; then
+ dir=`dirname "$file"`
+ mkdir -p "$dest/$dir" 2>/dev/null
+ cat "$file" > "$dest/$file" 2>/dev/null
+ fi
+}
+
+savelink() {
+ local dest="$1"
+ local file="$2"
+ dir=`dirname "$file"`
+ mkdir -p "$dest/$dir" 2>/dev/null
+ cp -P "$file" "$dest/$file"
+}
+
+# Gather the following list of files
+cat << EOF | while read -r path ; do savefile "$destdir/$basename" "$path" ; done
+/proc/cpuinfo
+/proc/meminfo
+/proc/mounts
+/proc/stat
+/proc/self/cpuset
+/proc/self/cgroup
+EOF
+
+# Get all files from the given directory
+# Ignore errors since some files may be missing, and some may be
+# restricted to root (but we don't need them).
+savedir() {
+ local dest="$1"
+ local path="$2"
+ # gather all directories, including empty ones
+ find "$path" -type d 2>/dev/null | while read -r dir ; do
+ mkdir -p "$dest/$dir" 2>/dev/null
+ done
+ # gather all files now
+ find "$path" -type f 2>/dev/null | while read -r file ; do
+ savefile "$dest" "$file"
+ done
+ # gather symlinks
+ find "$path" -type l 2>/dev/null | while read -r link ; do
+ savelink "$dest" "$link"
+ done
+}
+
+# Gather the following list of directories
+cat << EOF | while read -r path ; do savedir "$destdir/$basename" "$path" ; done
+/sys/devices/system/cpu/
+/sys/devices/system/node/
+/sys/bus/cpu/devices/
+/sys/bus/node/devices/
+/sys/class/dmi/id/
+/sys/devices/virtual/dmi/id/
+/sys/kernel/mm/hugepages/
+/proc/device-tree/cpus/
+EOF
+
+# Gather the default /var/run/hwloc (in case it was created by a system-wide hwloc-dump-hwdata)
+if test -d /var/run/hwloc; then
+ savedir "$destdir/$basename" /var/run/hwloc
+fi
+# Then, gather what the current hwloc installation could have created in a different $runstatedir
+if test "$runstatedir" != "/var/run" -a -d "$runstatedir/hwloc"; then
+ savedir "$destdir/$basename" "$runstatedir/hwloc/"
+ mkdir -p "$destdir/$basename/var/run"
+ ln -sr "$destdir/$basename/$runstatedir/hwloc" "$destdir/$basename/var/run/hwloc.runstatedir"
+fi
+# And gather what custom $HWLOC_DUMPED_HWDATA_DIR
+if test "x$HWLOC_DUMPED_HWDATA_DIR" != x -a -d "$HWLOC_DUMPED_HWDATA_DIR"; then
+ savedir "$destdir/$basename" "$HWLOC_DUMPED_HWDATA_DIR"
+ mkdir -p "$destdir/$basename/var/run"
+ ln -sr "$destdir/$basename/$HWLOC_DUMPED_HWDATA_DIR" "$destdir/$basename/var/run/hwloc.HWLOC_DUMPED_HWDATA_DIR"
+fi
+# Now link to /var/run/hwloc (used by default in lstopo -i) to something sane if needed
+if ! test -d "$destdir/$basename/var/run/hwloc"; then
+ if test -e "$destdir/$basename/var/run/hwloc.HWLOC_DUMPED_HWDATA_DIR"; then
+ ln -sr "$destdir/$basename/var/run/hwloc.HWLOC_DUMPED_HWDATA_DIR" "$destdir/$basename/var/run/hwloc"
+ else if test -e "$destdir/$basename/$runstatedir/hwloc"; then
+ ln -sr "$destdir/$basename/var/run/hwloc.runstatedir" "$destdir/$basename/var/run/hwloc"
+ fi fi
+fi
+
+# Optionally gather I/O directories too
+if [ x$gatherio = x1 ]; then
+ cat << EOF | while read -r path ; do savedir "$destdir/$basename" "$path" ; done
+/sys/bus/pci/devices/
+/sys/bus/pci/slots/
+/sys/block/
+/sys/class/block/
+/sys/class/dma/
+/sys/class/drm/
+/sys/class/infiniband/
+/sys/class/net/
+/sys/class/mic/
+EOF
+ ls -d /sys/devices/pci* 2>/dev/null | sed -e 's@$@/@' | while read -r path ; do savedir "$destdir/$basename" "$path" ; done
+ ls -d /run/udev/data/b* 2>/dev/null | while read -r path ; do savefile "$destdir/$basename" "$path" ; done
+fi
+
+if [ x$gatherdmi = x1 ]; then
+ savedir "$destdir/$basename" /sys/firmware/dmi/
+fi
+
+# Get an entire mount point, after decoding its path
+# we don't support path with \n since it would break in 'find ... | while read ..." above
+savemntpnt() {
+ local encodedpath=$1
+ if echo "$1" | grep "\\012" ; then
+ echo "Ignoring mount point whose filename contains an end of line."
+ return
+ fi
+ local path=$(echo "$1" | sed -e 's@\\134@\\@g' -e 's@\\040@ @g' -e 's@\\011@ @g')
+ savedir "$destdir/$basename" "${path}/"
+}
+
+# Gather cgroup/cpuset mntpnts
+cat /proc/mounts | while read -r dummy1 mntpath mnttype mntopts dummy2 ; do
+ [ x$mnttype = xcpuset ] && savemntpnt "$mntpath"
+ [ x$mnttype = xcgroup ] && echo $mntopts | grep -w cpuset >/dev/null && savemntpnt "$mntpath"
+done
+
+# export /proc/hwloc-nofile-info during lstopo (needs HWLOC_DUMP_NOFILE_INFO with HWLOC_THISSYSTEM=1)
+export HWLOC_DUMP_NOFILE_INFO="$destdir/$basename/proc/hwloc-nofile-info"
+"$lstopo" - >/dev/null
+# disable HWLOC_DUMP_NOFILE_INFO for next lstopo invocation
+export HWLOC_DUMP_NOFILE_INFO=
+
+# Create the archive and keep the tree in /tmp for testing
+( cd "$destdir/" && tar cfj "$basename.tar.bz2" "$basename" )
+mv "$destdir/$basename.tar.bz2" "$dirname/$basename.tar.bz2"
+echo "Topology files gathered in $dirname/$basename.tar.bz2 and kept in $destdir/$basename/"
+
+# Generate the output as well
+# we need "Topology not from this system" in the output so as to make test-topology.sh happy
+export HWLOC_THISSYSTEM=0
+"$lstopo" - -v > "$dirname/$basename.output"
+echo "Expected topology output stored in $dirname/$basename.output"
+"$lstopo" -.xml --whole-io --whole-system > "$dirname/$basename.xml"
+echo "XML topology stored in in $dirname/$basename.xml"
+
+echo
+echo "WARNING: Do not post these files on a public list or website unless you"
+echo "WARNING: are sure that no information about this platform is sensitive."
+
+exit 0
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2009-2018 Inria. All rights reserved.
+.\" Copyright © 2009-2010 Université of Bordeaux
+.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-INFO "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-info \- Show some information about some objects or about a topology or about support features
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.PP
+.B hwloc-info
+[ \fIoptions \fR]...
+\fI<object>\fR...
+.PP
+.B hwloc-info
+[ \fIoptions \fR]...
+.
+.PP
+Note that hwloc(7) provides a detailed explanation of the hwloc system
+and of valid <object> formats;
+it should be read before reading this man page.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP
+\fB\-\-objects\fR
+Report information specific objects.
+This is the default if some objects are given on the command-line.
+.TP
+\fB\-\-topology\fR
+Report a summary of the topology instead of about some specific objects.
+This is the default if no object is given on the command-line.
+.TP
+\fB\-\-support\fR
+Report the features that are supported by hwloc on the topology.
+The features are those available through the \fBhwloc_topology_get_support()\fR function.
+This is useful for verifying which CPU or memory binding options are supported
+by the current hwloc installation.
+.TP
+\fB\-i\fR <file>, \fB\-\-input\fR <file>
+Read topology from XML file <file> (instead of discovering the
+topology on the local machine). If <file> is "\-", the standard input
+is used. XML support must have been compiled in to hwloc for this
+option to be usable.
+.TP
+\fB\-i\fR <directory>, \fB\-\-input\fR <directory>
+Read topology from the chroot specified by <directory> (instead of
+discovering the topology on the local machine). This option is
+generally only available on Linux. The chroot was usually created
+by gathering another machine topology with hwloc-gather-topology.
+.TP
+\fB\-i\fR <specification>, \fB\-\-input\fR <specification>
+Simulate a fake hierarchy (instead of discovering the topology on the
+local machine). If <specification> is "node:2 pu:3", the topology will
+contain two NUMA nodes with 3 processing units in each of them.
+The <specification> string must end with a number of PUs.
+.TP
+\fB\-\-if\fR <format>, \fB\-\-input\-format\fR <format>
+Enforce the input in the given format, among \fBxml\fR, \fBfsroot\fR
+and \fBsynthetic\fR.
+.TP
+\fB\-v\fR \fB\-\-verbose\fR
+Include additional detail.
+.TP
+\fB\-s\fR \fB\-\-silent\fR
+Reduce the amount of details to show.
+A single summary line per object is displayed.
+.TP
+\fB\-\-ancestors\fR
+Display information about the object as well as
+about all its ancestors up to the root of the topology.
+.TP
+\fB\-\-ancestor\fR <type>
+Only display the object ancestors that match the given type.
+.TP
+\fB\-\-children\fR
+Display information about the object children.
+.TP
+\fB\-\-descendants\fR <type>
+Display information about the object descendants that match the given type.
+.TP
+\fB\-n\fR
+When outputting object information, prefix each line with the index
+of the considered object within the input.
+For instance, if three cores were given in input, the output
+lines will be prefixed with "0: ", "1: " or "2: ".
+If \fB\-\-ancestor\fR is also used, the prefix will be "X.Y: "
+where X is the index of the considered object within the input,
+and Y is the parent index (0 for the object itself, increasing
+towards the root of the topology).
+.TP
+\fB\-\-whole\-system\fR
+Do not consider administration limitations.
+.TP
+\fB\-\-restrict\fR <cpuset>
+Restrict the topology to the given cpuset.
+.TP
+\fB\-\-restrict\fR binding
+Restrict the topology to the current process binding.
+This option requires the use of the actual current machine topology
+(or any other topology with \fB\-\-thissystem\fR or with
+HWLOC_THISSYSTEM set to 1 in the environment).
+.TP
+\fB\-\-no\-icaches\fR
+Do not show Instruction caches, only Data and Unified caches are considered.
+.TP
+\fB\-\-no\-io\fB
+Do not show any I/O device or bridge.
+By default, common devices (GPUs, NICs, block devices, ...) and
+interesting bridges are shown.
+.TP
+\fB\-\-no\-bridges\fB
+Do not show any I/O bridge except hostbridges.
+By default, common devices (GPUs, NICs, block devices, ...) and
+interesting bridges are shown.
+.TP
+\fB\-\-whole\-io\fB
+Show all I/O devices and bridges.
+By default, only common devices (GPUs, NICs, block devices, ...) and
+interesting bridges are shown.
+.TP
+\fB\-\-thissystem\fR
+Assume that the selected backend provides the topology for the
+system on which we are running.
+This is useful when using \fB\-\-restrict\fR binding and loading
+a custom topology such as an XML file.
+.TP
+\fB\-\-pid\fR <pid>
+Detect topology as seen by process <pid>, i.e. as if process <pid> did the
+discovery itself.
+Note that this can for instance change the set of allowed processors.
+Also show this process current CPU binding by marking the corresponding
+PUs (in Green in the graphical output, see the COLORS section below,
+or by appending \fI(binding)\fR to the verbose text output).
+If 0 is given as pid, the current binding for the lstopo process will be shown.
+.TP
+\fB\-p\fR \fB\-\-physical\fR
+Use OS/physical indexes instead of logical indexes for input.
+.TP
+\fB\-l\fR \fB\-\-logical\fR
+Use logical indexes instead of physical/OS indexes for input (default).
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-info displays information about the specified object.
+It is intended to be used with tools such as grep for filtering
+certain attribute lines.
+When no object is specified, or when \fB\-\-topology\fR is passed,
+hwloc-info prints a summary of the topology.
+When \fB\-\-support\fR is passed, hwloc-info lists the supported
+features for the topology.
+.
+.PP
+Objects may be specified as location tuples, as explained in hwloc(7).
+However hexadecimal bitmasks are not accepted since they may correspond
+to multiple objects.
+.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page. Most of the concepts described in
+hwloc(7) directly apply to the hwloc-calc utility.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+To display information about each package:
+
+ $ hwloc-info package:all
+ Package L#0
+ logical index = 0
+ ...
+
+To display information about the core whose physical index is 2:
+
+ $ utils/hwloc-info -p core:2
+ Core L#1
+ logical index = 1
+ os index = 2
+ ...
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-calc(1), hwloc-bind(1), hwloc-ps(1), hwloc-gather-topology(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2019 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <fcntl.h>
+#include <assert.h>
+
+#include "misc.h"
+#include "hwloc-calc.h"
+
+static int pid_number = -1;
+static hwloc_pid_t pid;
+static int verbose_mode = 0;
+static int logical = 1;
+static int show_ancestors = 0;
+static hwloc_obj_type_t show_ancestor_type = (hwloc_obj_type_t) -1;
+static int show_ancestor_attrdepth = -1;
+static hwloc_obj_cache_type_t show_ancestor_attrcachetype = (hwloc_obj_cache_type_t) -1;
+static int show_children = 0;
+static int show_descendants_depth = HWLOC_TYPE_DEPTH_UNKNOWN;
+static int show_index_prefix = 0;
+static unsigned current_obj;
+
+void usage(const char *name, FILE *where)
+{
+ fprintf (where, "Usage: %s [ options ] [ locations ]\n", name);
+ fprintf (where, "\nOutput options:\n");
+ fprintf (where, " --objects Report information about specific objects\n");
+ fprintf (where, " --topology Report information the topology\n");
+ fprintf (where, " --support Report information about supported features\n");
+ fprintf (where, " -v --verbose Include additional details\n");
+ fprintf (where, " -s --silent Reduce the amount of details to show\n");
+ fprintf (where, " --ancestors Display the chain of ancestor objects up to the root\n");
+ fprintf (where, " --ancestor <type> Only display the ancestor of the given type\n");
+ fprintf (where, " --children Display all children\n");
+ fprintf (where, " --descendants <type> Only display descendants of the given type\n");
+ fprintf (where, " -n Prefix each line with the index of the considered object\n");
+ fprintf (where, "Object filtering options:\n");
+ fprintf (where, " --restrict <cpuset> Restrict the topology to processors listed in <cpuset>\n");
+ fprintf (where, " --restrict binding Restrict the topology to the current process binding\n");
+ fprintf (where, " --no-icaches Do not show instruction caches\n");
+ fprintf (where, " --no-io Do not show any I/O device or bridge\n");
+ fprintf (where, " --no-bridges Do not any I/O bridge except hostbridges\n");
+ fprintf (where, " --whole-io Show all I/O devices and bridges\n");
+ fprintf (where, "Input options:\n");
+ hwloc_utils_input_format_usage(where, 6);
+ fprintf (where, " --thissystem Assume that the input topology provides the topology\n"
+ " for the system on which we are running\n");
+ fprintf (where, " --pid <pid> Detect topology as seen by process <pid>\n");
+ fprintf (where, " --whole-system Do not consider administration limitations\n");
+ fprintf (where, " -l --logical Use logical object indexes for input (default)\n");
+ fprintf (where, " -p --physical Use physical object indexes for input\n");
+ fprintf (where, "Miscellaneous options:\n");
+ fprintf (where, " --version Report version and exit\n");
+}
+
+static void
+hwloc_info_show_obj(hwloc_obj_t obj, const char *type, const char *prefix, int verbose)
+{
+ char s[128];
+ unsigned i;
+ if (verbose < 0)
+ return;
+ printf("%s type = %s\n", prefix, hwloc_obj_type_string(obj->type));
+ printf("%s full type = %s\n", prefix, type);
+ printf("%s logical index = %u\n", prefix, obj->logical_index);
+ if (obj->os_index != (unsigned) -1)
+ printf("%s os index = %u\n", prefix, obj->os_index);
+ if (obj->name)
+ printf("%s name = %s\n", prefix, obj->name);
+ if (obj->depth != (unsigned) -1)
+ printf("%s depth = %d\n", prefix, (int) obj->depth); /* special levels have negative values */
+ printf("%s sibling rank = %u\n", prefix, obj->sibling_rank);
+ printf("%s children = %u\n", prefix, obj->arity);
+ if (obj->memory.local_memory)
+ printf("%s local memory = %llu\n", prefix, (unsigned long long) obj->memory.local_memory);
+ if (obj->memory.total_memory)
+ printf("%s total memory = %llu\n", prefix, (unsigned long long) obj->memory.total_memory);
+
+ if (obj->cpuset) {
+ hwloc_bitmap_snprintf(s, sizeof(s), obj->cpuset);
+ printf("%s cpuset = %s\n", prefix, s);
+ }
+ if (obj->complete_cpuset) {
+ hwloc_bitmap_snprintf(s, sizeof(s), obj->complete_cpuset);
+ printf("%s complete cpuset = %s\n", prefix, s);
+ }
+ if (obj->online_cpuset) {
+ hwloc_bitmap_snprintf(s, sizeof(s), obj->online_cpuset);
+ printf("%s online cpuset = %s\n", prefix, s);
+ }
+ if (obj->allowed_cpuset) {
+ hwloc_bitmap_snprintf(s, sizeof(s), obj->allowed_cpuset);
+ printf("%s allowed cpuset = %s\n", prefix, s);
+ }
+
+ if (obj->nodeset) {
+ hwloc_bitmap_snprintf(s, sizeof(s), obj->nodeset);
+ printf("%s nodeset = %s\n", prefix, s);
+ }
+ if (obj->complete_nodeset) {
+ hwloc_bitmap_snprintf(s, sizeof(s), obj->complete_nodeset);
+ printf("%s complete nodeset = %s\n", prefix, s);
+ }
+ if (obj->allowed_nodeset) {
+ hwloc_bitmap_snprintf(s, sizeof(s), obj->allowed_nodeset);
+ printf("%s allowed nodeset = %s\n", prefix, s);
+ }
+
+ switch (obj->type) {
+ case HWLOC_OBJ_CACHE:
+ printf("%s attr cache depth = %u\n", prefix, obj->attr->cache.depth);
+ switch (obj->attr->cache.type) {
+ case HWLOC_OBJ_CACHE_UNIFIED: printf("%s attr cache type = Unified\n", prefix); break;
+ case HWLOC_OBJ_CACHE_DATA: printf("%s attr cache type = Data\n", prefix); break;
+ case HWLOC_OBJ_CACHE_INSTRUCTION: printf("%s attr cache type = Instruction\n", prefix); break;
+ }
+ printf("%s attr cache size = %llu\n", prefix, (unsigned long long) obj->attr->cache.size);
+ printf("%s attr cache line size = %u\n", prefix, obj->attr->cache.linesize);
+ if (obj->attr->cache.associativity == -1)
+ printf("%s attr cache ways = Fully-associative\n", prefix);
+ else if (obj->attr->cache.associativity != 0)
+ printf("%s attr cache ways = %d\n", prefix, obj->attr->cache.associativity);
+ break;
+ case HWLOC_OBJ_GROUP:
+ printf("%s attr group depth = %u\n", prefix, obj->attr->group.depth);
+ break;
+ case HWLOC_OBJ_BRIDGE:
+ switch (obj->attr->bridge.upstream_type) {
+ case HWLOC_OBJ_BRIDGE_HOST:
+ printf("%s attr bridge upstream type = Host\n", prefix);
+ break;
+ case HWLOC_OBJ_BRIDGE_PCI:
+ printf("%s attr bridge upstream type = PCI\n", prefix);
+ printf("%s attr PCI bus id = %04x:%02x:%02x.%01x\n",
+ prefix, obj->attr->pcidev.domain, obj->attr->pcidev.bus, obj->attr->pcidev.dev, obj->attr->pcidev.func);
+ printf("%s attr PCI class = %04x\n",
+ prefix, obj->attr->pcidev.class_id);
+ printf("%s attr PCI id = %04x:%04x\n",
+ prefix, obj->attr->pcidev.vendor_id, obj->attr->pcidev.device_id);
+ if (obj->attr->pcidev.linkspeed)
+ printf("%s attr PCI linkspeed = %f GB/s\n", prefix, obj->attr->pcidev.linkspeed);
+ break;
+ }
+ switch (obj->attr->bridge.downstream_type) {
+ case HWLOC_OBJ_BRIDGE_HOST:
+ assert(0);
+ case HWLOC_OBJ_BRIDGE_PCI:
+ printf("%s attr bridge downstream type = PCI\n", prefix);
+ printf("%s attr PCI secondary bus = %02x\n",
+ prefix, obj->attr->bridge.downstream.pci.secondary_bus);
+ printf("%s attr PCI subordinate bus = %02x\n",
+ prefix, obj->attr->bridge.downstream.pci.subordinate_bus);
+ break;
+ }
+ break;
+ case HWLOC_OBJ_PCI_DEVICE:
+ printf("%s attr PCI bus id = %04x:%02x:%02x.%01x\n",
+ prefix, obj->attr->pcidev.domain, obj->attr->pcidev.bus, obj->attr->pcidev.dev, obj->attr->pcidev.func);
+ printf("%s attr PCI class = %04x\n",
+ prefix, obj->attr->pcidev.class_id);
+ printf("%s attr PCI id = %04x:%04x\n",
+ prefix, obj->attr->pcidev.vendor_id, obj->attr->pcidev.device_id);
+ if (obj->attr->pcidev.linkspeed)
+ printf("%s attr PCI linkspeed = %f GB/s\n", prefix, obj->attr->pcidev.linkspeed);
+ break;
+ case HWLOC_OBJ_OS_DEVICE:
+ printf("%s attr osdev type = %s\n", prefix, type);
+ break;
+ default:
+ /* nothing to show */
+ break;
+ }
+
+ printf("%s symmetric subtree = %d\n", prefix, obj->symmetric_subtree);
+
+ for(i=0; i<obj->infos_count; i++) {
+ printf("%s info %s = %s\n", prefix, obj->infos[i].name, obj->infos[i].value);
+ }
+}
+
+static void
+hwloc_calc_process_location_info_cb(struct hwloc_calc_location_context_s *lcontext,
+ void *_data __hwloc_attribute_unused,
+ hwloc_obj_t obj)
+{
+ hwloc_topology_t topology = lcontext->topology;
+ int verbose = lcontext->verbose;
+ char prefix[32];
+ char objs[128];
+
+ prefix[0] = '\0';
+ if (show_index_prefix)
+ snprintf(prefix, sizeof(prefix), "%u: ", current_obj);
+
+ hwloc_obj_type_snprintf(objs, sizeof(objs), obj, 1);
+
+ if (show_ancestors) {
+ char parents[128];
+ unsigned level = 0;
+ hwloc_obj_t parent = obj;
+ while (parent) {
+ if (show_index_prefix)
+ snprintf(prefix, sizeof(prefix), "%u.%u: ", current_obj, level);
+ hwloc_obj_type_snprintf(parents, sizeof(parents), parent, 1);
+ if (verbose < 0)
+ printf("%s%s:%u\n", prefix, parents, parent->logical_index);
+ else if (level)
+ printf("%s%s L#%u = parent #%u of %s L#%u\n",
+ prefix, parents, parent->logical_index, level, objs, obj->logical_index);
+ else
+ printf("%s%s L#%u\n", prefix, parents, parent->logical_index);
+ hwloc_info_show_obj(parent, parents, prefix, verbose);
+ parent = parent->parent;
+ level++;
+ }
+ } else if (show_ancestor_type != (hwloc_obj_type_t) -1) {
+ char parents[128];
+ hwloc_obj_t parent = obj;
+ while (parent) {
+ if (parent->type == show_ancestor_type) {
+ if (parent->type == HWLOC_OBJ_GROUP
+ && show_ancestor_attrdepth != -1
+ && show_ancestor_attrdepth != (int) parent->attr->group.depth)
+ goto next;
+ if (parent->type == HWLOC_OBJ_CACHE
+ && show_ancestor_attrdepth != -1
+ && show_ancestor_attrdepth != (int) parent->attr->cache.depth)
+ goto next;
+ if (parent->type == HWLOC_OBJ_CACHE
+ && show_ancestor_attrcachetype != (hwloc_obj_cache_type_t) -1
+ && parent->attr->cache.type != HWLOC_OBJ_CACHE_UNIFIED
+ && show_ancestor_attrcachetype != parent->attr->cache.type)
+ goto next;
+ hwloc_obj_type_snprintf(parents, sizeof(parents), parent, 1);
+ if (verbose < 0)
+ printf("%s%s:%u\n", prefix, parents, parent->logical_index);
+ else
+ printf("%s%s L#%u = parent of %s L#%u\n",
+ prefix, parents, parent->logical_index, objs, obj->logical_index);
+ hwloc_info_show_obj(parent, parents, prefix, verbose);
+ }
+next:
+ parent = parent->parent;
+ }
+ } else if (show_children) {
+ unsigned i = 0;
+ hwloc_obj_t child = NULL;
+ while ((child = hwloc_get_next_child(topology, obj, child)) != NULL) {
+ char childs[128];
+ if (show_index_prefix)
+ snprintf(prefix, sizeof(prefix), "%u.%u: ", current_obj, i);
+ hwloc_obj_type_snprintf(childs, sizeof(childs), child, 1);
+ if (verbose < 0)
+ printf("%s%s:%u\n", prefix, childs, child->logical_index);
+ else
+ printf("%s%s L#%u = child #%u of %s L#%u\n",
+ prefix, childs, child->logical_index, i, objs, obj->logical_index);
+ hwloc_info_show_obj(child, childs, prefix, verbose);
+ i++;
+ }
+ } else if (show_descendants_depth != HWLOC_TYPE_DEPTH_UNKNOWN) {
+ if (show_descendants_depth >= 0) {
+ /* normal level */
+ unsigned i = 0;
+ unsigned n = hwloc_calc_get_nbobjs_inside_sets_by_depth(lcontext, obj->cpuset, obj->nodeset, show_descendants_depth);
+ for(i=0; i<n; i++) {
+ hwloc_obj_t child = hwloc_calc_get_obj_inside_sets_by_depth(lcontext, obj->cpuset, obj->nodeset, show_descendants_depth, i);
+ char childs[128];
+ if (show_index_prefix)
+ snprintf(prefix, sizeof(prefix), "%u.%u: ", current_obj, i);
+ hwloc_obj_type_snprintf(childs, sizeof(childs), child, 1);
+ if (verbose < 0)
+ printf("%s%s:%u\n", prefix, childs, child->logical_index);
+ else
+ printf("%s%s L#%u = descendant #%u of %s L#%u\n",
+ prefix, childs, child->logical_index, i, objs, obj->logical_index);
+ hwloc_info_show_obj(child, childs, prefix, verbose);
+ }
+ } else {
+ /* custom level */
+ unsigned i = 0;
+ hwloc_obj_t child = NULL;
+ while ((child = hwloc_get_next_obj_by_depth(topology, show_descendants_depth, child)) != NULL) {
+ char childs[128];
+ hwloc_obj_t parent = child->parent;
+ if (obj->cpuset) {
+ while (parent && !parent->cpuset)
+ parent = parent->parent;
+ if (!parent)
+ continue;
+ if (!hwloc_bitmap_isincluded(parent->cpuset, obj->cpuset)
+ || !hwloc_bitmap_isincluded(parent->nodeset, obj->nodeset))
+ continue;
+ } else {
+ while (parent && parent != obj)
+ parent = parent->parent;
+ if (!parent)
+ continue;
+ }
+ if (show_index_prefix)
+ snprintf(prefix, sizeof(prefix), "%u.%u: ", current_obj, i);
+ hwloc_obj_type_snprintf(childs, sizeof(childs), child, 1);
+ if (verbose < 0)
+ printf("%s%s:%u\n", prefix, childs, child->logical_index);
+ else
+ printf("%s%s L#%u = descendant #%u of %s L#%u\n",
+ prefix, childs, child->logical_index, i, objs, obj->logical_index);
+ hwloc_info_show_obj(child, childs, prefix, verbose);
+ i++;
+ }
+ }
+ } else {
+ if (verbose < 0)
+ printf("%s%s:%u\n", prefix, objs, obj->logical_index);
+ else
+ printf("%s%s L#%u\n", prefix, objs, obj->logical_index);
+ hwloc_info_show_obj(obj, objs, prefix, verbose);
+ }
+
+ current_obj++;
+}
+
+int
+main (int argc, char *argv[])
+{
+ int err;
+ hwloc_topology_t topology;
+ unsigned topodepth;
+ unsigned long flags = HWLOC_TOPOLOGY_FLAG_IO_DEVICES | HWLOC_TOPOLOGY_FLAG_IO_BRIDGES | HWLOC_TOPOLOGY_FLAG_ICACHES;
+ char * callname;
+ char * input = NULL;
+ enum hwloc_utils_input_format input_format = HWLOC_UTILS_INPUT_DEFAULT;
+ hwloc_obj_type_t show_descendants_type = (hwloc_obj_type_t) -1;
+ int show_descendants_attrdepth = -1;
+ hwloc_obj_cache_type_t show_descendants_attrcachetype = (hwloc_obj_cache_type_t) -1;
+ char *restrictstring = NULL;
+ size_t typelen;
+ int opt;
+ enum hwloc_info_mode { HWLOC_INFO_MODE_UNKNOWN, HWLOC_INFO_MODE_TOPOLOGY, HWLOC_INFO_MODE_OBJECTS, HWLOC_INFO_MODE_SUPPORT } mode = HWLOC_INFO_MODE_UNKNOWN;
+
+ /* enable verbose backends */
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+ putenv((char *) "HWLOC_SYNTHETIC_VERBOSE=1");
+
+ callname = strrchr(argv[0], '/');
+ if (!callname)
+ callname = argv[0];
+ else
+ callname++;
+ /* skip argv[0], handle options */
+ argc--;
+ argv++;
+
+ err = hwloc_topology_init (&topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ hwloc_topology_set_flags(topology, flags);
+
+ while (argc >= 1) {
+ opt = 0;
+ if (*argv[0] == '-') {
+ if (!strcmp (argv[0], "--objects"))
+ mode = HWLOC_INFO_MODE_OBJECTS;
+ else if (!strcmp (argv[0], "--topology"))
+ mode = HWLOC_INFO_MODE_TOPOLOGY;
+ else if (!strcmp (argv[0], "--support"))
+ mode = HWLOC_INFO_MODE_SUPPORT;
+ else if (!strcmp (argv[0], "-v") || !strcmp (argv[0], "--verbose"))
+ verbose_mode++;
+ else if (!strcmp (argv[0], "-s") || !strcmp (argv[0], "--silent"))
+ verbose_mode--;
+ else if (!strcmp (argv[0], "-h") || !strcmp (argv[0], "--help")) {
+ usage(callname, stdout);
+ exit(EXIT_SUCCESS);
+ }
+ else if (!strcmp (argv[0], "-n"))
+ show_index_prefix = 1;
+ else if (!strcmp (argv[0], "--ancestors"))
+ show_ancestors = 1;
+ else if (!strcmp (argv[0], "--ancestor")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ err = hwloc_obj_type_sscanf(argv[1], &show_ancestor_type, &show_ancestor_attrdepth, &show_ancestor_attrcachetype, sizeof(show_ancestor_attrcachetype));
+ if (err < 0) {
+ fprintf(stderr, "unrecognized --ancestor type %s\n", argv[1]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--children"))
+ show_children = 1;
+ else if (!strcmp (argv[0], "--descendants")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ err = hwloc_obj_type_sscanf(argv[1], &show_descendants_type, &show_descendants_attrdepth, &show_descendants_attrcachetype, sizeof(show_descendants_attrcachetype));
+ if (err < 0) {
+ fprintf(stderr, "unrecognized --descendants type %s\n", argv[1]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--no-icaches"))
+ flags &= ~HWLOC_TOPOLOGY_FLAG_ICACHES;
+ else if (!strcmp (argv[0], "--whole-system"))
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM;
+ else if (!strcmp (argv[0], "--no-io"))
+ flags &= ~(HWLOC_TOPOLOGY_FLAG_IO_DEVICES | HWLOC_TOPOLOGY_FLAG_IO_BRIDGES);
+ else if (!strcmp (argv[0], "--no-bridges"))
+ flags &= ~(HWLOC_TOPOLOGY_FLAG_IO_BRIDGES);
+ else if (!strcmp (argv[0], "--whole-io"))
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_IO;
+ else if (!strcmp (argv[0], "--thissystem"))
+ flags |= HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM;
+ else if (!strcmp (argv[0], "--restrict")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ restrictstring = strdup(argv[1]);
+ opt = 1;
+ }
+
+ else if (hwloc_utils_lookup_input_option(argv, argc, &opt,
+ &input, &input_format,
+ callname)) {
+ /* we'll enable later */
+ }
+ else if (!strcmp (argv[0], "--pid")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ pid_number = atoi(argv[1]); opt = 1;
+ }
+ else if (!strcmp(argv[0], "-l") || !strcmp(argv[0], "--logical"))
+ logical = 1;
+ else if (!strcmp(argv[0], "-p") || !strcmp(argv[0], "--physical"))
+ logical = 0;
+ else if (!strcmp (argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ }
+ else {
+ fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
+ usage(callname, stderr);
+ return EXIT_FAILURE;
+ }
+ argc -= opt+1;
+ argv += opt+1;
+ } else {
+ /* not an option */
+ break;
+ }
+ }
+
+ hwloc_topology_set_flags(topology, flags);
+
+ if (input) {
+ err = hwloc_utils_enable_input_format(topology, input, &input_format, verbose_mode, callname);
+ if (err)
+ return err;
+ }
+
+ if (pid_number > 0) {
+ if (hwloc_pid_from_number(&pid, pid_number, 0, 1 /* verbose */) < 0
+ || hwloc_topology_set_pid(topology, pid)) {
+ perror("Setting target pid");
+ return EXIT_FAILURE;
+ }
+ }
+
+ err = hwloc_topology_load (topology);
+ if (err) {
+ perror("hwloc_topology_load");
+ return EXIT_FAILURE;
+ }
+
+ topodepth = hwloc_topology_get_depth(topology);
+
+ if (show_descendants_type != (hwloc_obj_type_t) -1) {
+ show_descendants_depth = hwloc_get_type_depth(topology, show_descendants_type);
+ if (show_descendants_depth == HWLOC_TYPE_DEPTH_UNKNOWN) {
+ fprintf(stderr, "unavailable --descendants type %s\n", hwloc_obj_type_string(show_descendants_type));
+ return EXIT_FAILURE;
+ }
+ if (show_descendants_depth == HWLOC_TYPE_DEPTH_MULTIPLE) {
+ if (show_descendants_type == HWLOC_OBJ_CACHE)
+ show_descendants_depth = hwloc_get_cache_type_depth(topology, show_descendants_attrdepth, show_descendants_attrcachetype);
+ else if (show_descendants_type == HWLOC_OBJ_GROUP) {
+ unsigned i;
+ for(i=0; i<hwloc_topology_get_depth(topology); i++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, i, 0);
+ if (obj->type == HWLOC_OBJ_GROUP && obj->attr->group.depth == (unsigned) show_descendants_attrdepth) {
+ show_descendants_depth = i;
+ break;
+ }
+ }
+ }
+ }
+ if (show_descendants_depth == HWLOC_TYPE_DEPTH_MULTIPLE) {
+ fprintf(stderr, "multiple --descendants type %s\n", hwloc_obj_type_string(show_descendants_type));
+ return EXIT_FAILURE;
+ }
+ }
+
+ if (restrictstring) {
+ hwloc_bitmap_t restrictset = hwloc_bitmap_alloc();
+ if (!strcmp (restrictstring, "binding")) {
+ if (pid_number > 0)
+ hwloc_get_proc_cpubind(topology, pid, restrictset, HWLOC_CPUBIND_PROCESS);
+ else
+ hwloc_get_cpubind(topology, restrictset, HWLOC_CPUBIND_PROCESS);
+ } else {
+ hwloc_bitmap_sscanf(restrictset, restrictstring);
+ }
+ err = hwloc_topology_restrict (topology, restrictset, 0);
+ if (err) {
+ perror("Restricting the topology");
+ /* FALLTHRU */
+ }
+ hwloc_bitmap_free(restrictset);
+ free(restrictstring);
+ }
+
+ if (mode == HWLOC_INFO_MODE_UNKNOWN) {
+ if (argc)
+ mode = HWLOC_INFO_MODE_OBJECTS;
+ else
+ mode = HWLOC_INFO_MODE_TOPOLOGY;
+ }
+
+ if (mode == HWLOC_INFO_MODE_TOPOLOGY) {
+ hwloc_lstopo_show_summary(stdout, topology);
+
+ } else if (mode == HWLOC_INFO_MODE_SUPPORT) {
+ const struct hwloc_topology_support *support = hwloc_topology_get_support(topology);
+#define DO(x,y) printf(#x ":" #y " = %u\n", (unsigned char) support->x->y);
+ DO(discovery, pu);
+
+ DO(cpubind, set_thisproc_cpubind);
+ DO(cpubind, get_thisproc_cpubind);
+ DO(cpubind, set_proc_cpubind);
+ DO(cpubind, get_proc_cpubind);
+ DO(cpubind, set_thisthread_cpubind);
+ DO(cpubind, get_thisthread_cpubind);
+ DO(cpubind, set_thread_cpubind);
+ DO(cpubind, get_thread_cpubind);
+ DO(cpubind, get_thisproc_last_cpu_location);
+ DO(cpubind, get_proc_last_cpu_location);
+ DO(cpubind, get_thisthread_last_cpu_location);
+
+ DO(membind, set_thisproc_membind);
+ DO(membind, get_thisproc_membind);
+ DO(membind, set_proc_membind);
+ DO(membind, get_proc_membind);
+ DO(membind, set_thisthread_membind);
+ DO(membind, get_thisthread_membind);
+ DO(membind, set_area_membind);
+ DO(membind, get_area_membind);
+ DO(membind, alloc_membind);
+ DO(membind, firsttouch_membind);
+ DO(membind, bind_membind);
+ DO(membind, interleave_membind);
+ DO(membind, nexttouch_membind);
+ DO(membind, migrate_membind);
+ DO(membind, get_area_memlocation);
+
+ } else if (mode == HWLOC_INFO_MODE_OBJECTS) {
+ struct hwloc_calc_location_context_s lcontext;
+ lcontext.topology = topology;
+ lcontext.topodepth = topodepth;
+ lcontext.only_hbm = -1;
+ lcontext.logical = logical;
+ lcontext.verbose = verbose_mode;
+ current_obj = 0;
+ while (argc >= 1) {
+ if (!strcmp(argv[0], "all") || !strcmp(argv[0], "root")) {
+ hwloc_calc_process_location_info_cb(&lcontext, NULL, hwloc_get_root_obj(topology));
+ } else {
+ /* try to match a type/depth followed by a special character */
+ typelen = strspn(argv[0], "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
+ if (typelen && (argv[0][typelen] == ':' || argv[0][typelen] == '=' || argv[0][typelen] == '[')) {
+ err = hwloc_calc_process_location(&lcontext, argv[0], typelen,
+ hwloc_calc_process_location_info_cb, NULL);
+ }
+ }
+ argc--; argv++;
+ }
+
+ } else assert(0);
+
+ hwloc_topology_destroy (topology);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2013-2018 Inria. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-PATCH "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-patch \- Apply a topology difference to an existing XML topology
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.PP
+.B hwloc-patch
+[\fIoptions\fR]
+\fI[<topology.xml> | refname]\fR
+\fI[<diff.xml> | -]\fR
+\fI<output.xml>\fR
+.PP
+.B hwloc-patch
+[\fIoptions\fR]
+\fI[<topology.xml> | refname]\fR
+\fI[<diff.xml> | -]\fR
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP 10
+\fB\-R \-\-reverse\fR
+Reverse the sense the difference file.
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc-patch loads the difference between two topologies from a XML file
+(or from the standard input) and applies it to an
+existing topology, generating a new, modified one.
+.
+.PP
+The XML difference may have been computed earlier with hwloc-diff
+or hwloc-compress-dir.
+.
+.PP
+If <output.xml> is given, the new, modified topology is stored in that
+new file. Otherwise, <topology.xml> is modified in place.
+.
+.PP
+If \fBrefname\fR is given instead of <topology.xml>, the input topology filename
+is automatically guessed by reading the refname field of the XML diff file.
+By default hwloc-diff generates XML diffs with the right reference topology
+filename (without any path prefix).
+.
+.PP
+If \fB-\fR is given instead of <diff.xml>, the topology difference is read from
+the standard input.
+.
+.PP
+.B NOTE:
+If some application-specific userdata were been exported to the input XMLs,
+they will be ignored and discarded from the output because hwloc has no way
+to understand and patch them.
+.
+.PP
+.B NOTE:
+It is highly recommended that you read the hwloc(7) overview page
+before reading this man page. Most of the concepts described in
+hwloc(7) directly apply to the hwloc-patch utility.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+hwloc-patch's operation is best described through several examples.
+.
+.PP
+Apply a XML topology difference file to an existing topology:
+
+ $ hwloc-patch fourmi023.xml diff.xml fourmi023-new.xml
+
+Apply a XML topology difference file whole refname field contains the right input topology:
+
+ $ hwloc-patch refname diff.xml fourmi023-new.xml
+
+Apply a XML topology from the standard intput:
+
+ $ cat diff.xml | hwloc-patch fourmi023.xml - fourmi023-new.xml
+
+Directly compute the difference between two topologies and apply it
+to another one, in place:
+
+ $ hwloc-diff fourmi023.xml fourmi024.xml | hwloc-patch fourmi025.xml -
+
+.
+.\" **************************
+.\" Return value section
+.\" **************************
+.SH RETURN VALUE
+Upon successful execution, hwloc-patch outputs the modified topology.
+The return value is 0.
+.
+.PP
+hwloc-patch also returns nonzero if any kind of error occurs, such as
+(but not limited to) failure to parse the command line.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-diff(1), hwloc-compress-dir(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2013-2019 Inria. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/private.h>
+#include <hwloc.h>
+#include <hwloc/diff.h>
+
+#include "misc.h"
+
+void usage(const char *callname __hwloc_attribute_unused, FILE *where)
+{
+ fprintf(where, "Usage: hwloc-patch [options] [<old.xml> | refname] [<diff.xml> | -] [<output.xml>]\n");
+ fprintf(where, "Options:\n");
+ fprintf(where, " -R --reverse Reverse the sense of the difference\n");
+ fprintf(where, " --version Report version and exit\n");
+}
+
+static int hwloc_diff_read(hwloc_topology_t topo, const char *inputdiff,
+ hwloc_topology_diff_t *firstdiffp, char **refnamep)
+{
+ size_t buflen, offset, readlen;
+ char *buffer, *tmp;
+ size_t ret;
+ int err;
+
+ if (strcmp(inputdiff, "-"))
+ return hwloc_topology_diff_load_xml(topo, inputdiff, firstdiffp, refnamep);
+
+ buflen = 4096;
+ buffer = malloc(buflen+1); /* one more byte for the ending \0 */
+ if (!buffer)
+ goto out;
+
+ offset = 0; readlen = buflen;
+ while (1) {
+ ret = fread(buffer+offset, 1, readlen, stdin);
+
+ offset += ret;
+ buffer[offset] = 0;
+
+ if (ret != readlen)
+ break;
+
+ buflen *= 2;
+ tmp = realloc(buffer, buflen+1);
+ if (!tmp) {
+ fprintf(stderr, "Failed to realloc buffer for reading diff.\n");
+ goto out_with_buffer;
+ }
+ buffer = tmp;
+ readlen = buflen/2;
+ }
+
+ err = hwloc_topology_diff_load_xmlbuffer(topo, buffer, (int)(offset+1), firstdiffp, refnamep);
+ free(buffer);
+ return err;
+
+out_with_buffer:
+ free(buffer);
+out:
+ return -1;
+}
+
+int main(int argc, char *argv[])
+{
+ hwloc_topology_t topo;
+ hwloc_topology_diff_t firstdiff = NULL;
+ unsigned long flags = HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM | HWLOC_TOPOLOGY_FLAG_WHOLE_IO | HWLOC_TOPOLOGY_FLAG_ICACHES;
+ unsigned long patchflags = 0;
+ char *callname, *input, *inputdiff, *output = NULL, *refname = NULL;
+ int err;
+
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+ callname = argv[0];
+ /* skip argv[0], handle options */
+ argc--;
+ argv++;
+
+ while (argc && *argv[0] == '-') {
+ if (!strcmp (argv[0], "-R") || !strcmp (argv[0], "--reverse")) {
+ patchflags ^= HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE;
+ } else if (!strcmp (argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ } else {
+ fprintf(stderr, "Unrecognized options: %s\n", argv[0]);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ argc--;
+ argv++;
+ }
+
+ if (argc < 2) {
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ input = argv[0];
+ inputdiff = argv[1];
+ argc -= 2;
+ argv += 2;
+ if (argc >= 1) {
+ output = argv[0];
+ argc--;
+ argv++;
+ }
+
+ /* load a temporary topology so that we can play with diffs */
+ hwloc_topology_init(&topo);
+ hwloc_topology_load(topo);
+
+ /* load the diff and get the refname */
+ err = hwloc_diff_read(topo, inputdiff, &firstdiff, &refname);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load XML topology diff %s\n", inputdiff);
+ goto out_with_topo;
+ }
+
+ /* switch to the actual input topology */
+ hwloc_topology_destroy(topo);
+ hwloc_topology_init(&topo);
+ hwloc_topology_set_flags(topo, flags);
+ if (!strcmp(input, "refname")) {
+ /* use the diff refname as input */
+ if (!refname) {
+ fprintf(stderr, "Couldn't find the reference topology name from the input diff %s\n", inputdiff);
+ goto out_with_diff;
+ }
+ err = hwloc_topology_set_xml(topo, refname);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load XML topology %s (from input diff %s refname)\n", refname, inputdiff);
+ goto out_with_diff;
+ }
+ } else {
+ /* use the given input */
+ err = hwloc_topology_set_xml(topo, input);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load XML topology %s\n", input);
+ goto out_with_diff;
+ }
+ }
+
+ err = hwloc_topology_load(topo);
+ if (err < 0) {
+ fprintf(stderr, "Failed to load topology\n");
+ goto out_with_topo;
+ }
+
+ err = hwloc_topology_diff_apply(topo, firstdiff, patchflags);
+ if (err < 0) {
+ fprintf(stderr, "Failed to%s apply topology diff %s, failed for hunk #%d hunk\n",
+ (patchflags & HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE) ? " reverse" : "",
+ inputdiff, -err);
+ goto out_with_diff;
+ }
+
+ err = hwloc_topology_export_xml(topo, output ? output : input);
+ if (err < 0) {
+ fprintf(stderr, "Failed to export patched topology %s\n", output);
+ goto out_with_diff;
+ }
+
+ hwloc_topology_diff_destroy(topo, firstdiff);
+ hwloc_topology_destroy(topo);
+
+ exit(EXIT_SUCCESS);
+
+out_with_diff:
+ hwloc_topology_diff_destroy(topo, firstdiff);
+out_with_topo:
+ hwloc_topology_destroy(topo);
+ exit(EXIT_FAILURE);
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2010-2018 Inria. All rights reserved.
+.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC-PS "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc-ps \- List currently-running processes or threads that are bound
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.B hwloc-ps
+[\fIoptions\fR]
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP 10
+\fB\-a\fR
+List all processes, even those that are not bound to any
+specific part of the machine.
+.TP
+\fB\-\-pid <pid>\fR
+Only show process of PID \fI<pid>\fR,
+even if it is not bound to any specific part of the machine.
+.TP
+\fB\-\-name <name>\fR
+Only show processes whose name contains \fI<name>\fR,
+even if they are not bound to any specific part of the machine.
+This is not supported on all operating systems.
+.TP
+\fB\-p\fR \fB\-\-physical\fR
+Report OS/physical indexes instead of logical indexes
+.TP
+\fB\-l\fR \fB\-\-logical\fR
+Report logical indexes instead of physical/OS indexes (default)
+.TP
+\fB\-c\fR \fB\-\-cpuset\fR
+Show process bindings as cpusets instead of objects.
+.TP
+\fB\-t\fR \fB\-\-threads\fR
+Show threads inside processes.
+If \fB\-a\fR is given as well, list all threads within each process.
+Otherwise, show all threads inside each process where at least one
+thread is bound.
+This is currently only supported on Linux.
+.TP
+\fB\-e\fR \fB\-\-get\-last\-cpu\-location\fR
+Report the last processors where the process/thread ran.
+Note that the result may already be outdated when reported
+since the operating system may move the tasks to other processors
+at any time according to the binding.
+.TP
+\fB\-\-whole\-system\fR
+Do not consider administration limitations.
+.TP
+\fB\-\-pid\-cmd <cmd>\fR
+Append the output of the given command to each PID line.
+For each displayed process ID, execute the command \fI<cmd> <pid>\fR
+and append \fBthe first line\fR of its output to the regular hwloc-ps
+line.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+By default, hwloc-ps lists only those currently-running processes that
+are bound. If \fB-t\fR is given, processes that are not bound but contain
+at least one bound thread are also displayed, as well as all their threads.
+.
+.PP
+hwloc-ps displays process identifier, command-line and
+binding. The binding may be reported as objects or cpusets.
+.
+.PP
+By default, process bindings are restricted to the currently available
+topology. If some processes are bound to processors that are not available
+to the current process, they are ignored unless \fB\-\-whole\-system\fR
+is given.
+.
+.PP
+The output is a plain list. If you wish to annotate the hierarchical
+topology with processes so as to see how they are actual distributed
+on the machine, you might want to use lstopo --ps instead (which also
+only shows processes that are bound).
+.
+.PP
+The
+.I -a
+switch can be used to show
+.I all
+processes, if desired.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.PP
+If a process is bound, it appears in the default output:
+
+ $ utils/hwloc-ps
+ 4759 Core:0 myprogram
+
+If a process is not bound but 3 of his 4 threads are bound,
+it only appears in the thread-aware output (or if explicitly selected):
+
+ $ utils/hwloc-ps
+
+ $ utils/hwloc-ps -t
+ 4759 Machine:0 myprogram
+ 4759 Machine:0
+ 4761 PU:0
+ 4762 PU:2
+ 4765 PU:1
+
+ $ utils/hwloc-ps --pid 4759
+ 4759 Machine:0 myprogram
+
+To display the binding of already running MPI processes (launched by
+Open MPI) and append their MPI rank (in MPI_COMM_WORLD) to each line:
+
+ $ utils/hwloc-ps --pid-cmd myscript
+ 29093 L1dCache:0 myprogram OMPI_COMM_WORLD_RANK=0
+ 29094 L1dCache:2 myprogram OMPI_COMM_WORLD_RANK=1
+ 29095 L1dCache:1 myprogram OMPI_COMM_WORLD_RANK=2
+ 29096 L1dCache:3 myprogram OMPI_COMM_WORLD_RANK=3
+
+where \fBmyscript\fR is a bash script doing:
+
+ #!/bin/sh
+ cat /proc/$1/environ 2>/dev/null | xargs --null --max-args=1 echo | grep OMPI_COMM_WORLD_RANK
+
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), lstopo(1), hwloc-calc(1), hwloc-distrib(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+#include <fcntl.h>
+
+#include "misc.h"
+
+static int show_cpuset = 0;
+static int show_all = 0;
+static int show_threads = 0;
+static int get_last_cpu_location = 0;
+#define NO_ONLY_PID -1
+static long only_pid = NO_ONLY_PID;
+static char *only_name = NULL;
+static char *pidcmd = NULL;
+static int logical = 1;
+
+#define TIDNAME_MAX 16 /* specified in pthread_setname_np.3 */
+
+void usage(const char *name, FILE *where)
+{
+ fprintf (where, "Usage: %s [ options ] ...\n", name);
+ fprintf (where, "Options:\n");
+ fprintf (where, " -a Show all processes, including those that are not bound\n");
+ fprintf (where, " --pid <pid> Only show process of pid number <pid>\n");
+ fprintf (where, " --name <name> Only show processes whose name contains <name>\n");
+ fprintf (where, " -l --logical Use logical object indexes (default)\n");
+ fprintf (where, " -p --physical Use physical object indexes\n");
+ fprintf (where, " -c --cpuset Show cpuset instead of objects\n");
+#ifdef HWLOC_LINUX_SYS
+ fprintf (where, " -t --threads Show threads\n");
+#endif
+ fprintf (where, " -e --get-last-cpu-location\n");
+ fprintf (where, " Retrieve the last processors where the tasks ran\n");
+ fprintf (where, " --pid-cmd <cmd> Append the output of <cmd> <pid> to each PID line\n");
+ fprintf (where, " --whole-system Do not consider administration limitations\n");
+}
+
+static void print_task(hwloc_topology_t topology,
+ long pid, const char *name, hwloc_bitmap_t cpuset,
+ char *pidoutput,
+ int thread)
+{
+ printf("%s%ld\t", thread ? " " : "", pid);
+
+ if (show_cpuset) {
+ char *cpuset_str = NULL;
+ hwloc_bitmap_asprintf(&cpuset_str, cpuset);
+ printf("%s", cpuset_str);
+ free(cpuset_str);
+ } else {
+ hwloc_bitmap_t remaining = hwloc_bitmap_dup(cpuset);
+ int first = 1;
+ while (!hwloc_bitmap_iszero(remaining)) {
+ char type[64];
+ unsigned idx;
+ hwloc_obj_t obj = hwloc_get_first_largest_obj_inside_cpuset(topology, remaining);
+ /* don't show a cache if there's something equivalent and nicer */
+ while (obj->type == HWLOC_OBJ_CACHE && obj->arity == 1)
+ obj = obj->first_child;
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 1);
+ idx = logical ? obj->logical_index : obj->os_index;
+ if (idx == (unsigned) -1)
+ printf("%s%s", first ? "" : " ", type);
+ else
+ printf("%s%s:%u", first ? "" : " ", type, idx);
+ hwloc_bitmap_andnot(remaining, remaining, obj->cpuset);
+ first = 0;
+ }
+ hwloc_bitmap_free(remaining);
+ }
+
+ printf("\t\t%s%s%s\n", name, pidoutput ? "\t" : "", pidoutput ? pidoutput : "");
+}
+
+static void one_process(hwloc_topology_t topology, hwloc_const_bitmap_t topocpuset,
+ long pid)
+{
+ char pidoutput[1024];
+ char name[64] = "";
+ /* management of threads */
+ unsigned boundthreads = 0, i;
+ struct hwlocpstid { long tid; hwloc_bitmap_t cpuset; char name[TIDNAME_MAX]; } *tids = NULL;
+ hwloc_bitmap_t cpuset;
+ char *end;
+
+ cpuset = hwloc_bitmap_alloc();
+ if (!cpuset)
+ return;
+
+ {
+ unsigned pathlen = 6 + 21 + 1 + 7 + 1;
+ char *path;
+ int file;
+ ssize_t n;
+
+ path = malloc(pathlen);
+ snprintf(path, pathlen, "/proc/%ld/cmdline", pid);
+ file = open(path, O_RDONLY);
+ free(path);
+
+ if (file >= 0) {
+ n = read(file, name, sizeof(name) - 1);
+ close(file);
+
+ if (n <= 0)
+ /* Ignore kernel threads and errors */
+ goto out;
+
+ name[n] = 0;
+
+ if (only_name && !strstr(name, only_name))
+ goto out;
+ }
+ }
+
+ if (show_threads) {
+#ifdef HWLOC_LINUX_SYS
+ /* check if some threads must be displayed */
+ unsigned pathlen = 6 + 21 + 1 + 4 + 1;
+ char *path;
+ DIR *taskdir;
+
+ path = malloc(pathlen);
+ snprintf(path, pathlen, "/proc/%ld/task", pid);
+ taskdir = opendir(path);
+ if (taskdir) {
+ struct dirent *taskdirent;
+ long tid;
+ unsigned n = 0;
+ /* count threads */
+ while ((taskdirent = readdir(taskdir))) {
+ tid = strtol(taskdirent->d_name, &end, 10);
+ if (*end)
+ /* Not a number */
+ continue;
+ n++;
+ }
+ if (n > 1) {
+ /* if there's more than one thread, see if some are bound */
+ tids = calloc(n+1, sizeof(*tids));
+ if (tids) {
+ /* reread the directory but gather info now */
+ rewinddir(taskdir);
+ i = 0;
+ while ((taskdirent = readdir(taskdir))) {
+ tid = strtol(taskdirent->d_name, &end, 10);
+ if (*end)
+ /* Not a number */
+ continue;
+ if (get_last_cpu_location) {
+ if (hwloc_linux_get_tid_last_cpu_location(topology, tid, cpuset))
+ continue;
+ } else {
+ if (hwloc_linux_get_tid_cpubind(topology, tid, cpuset))
+ continue;
+ }
+ hwloc_bitmap_and(cpuset, cpuset, topocpuset);
+ tids[i].tid = tid;
+ tids[i].cpuset = hwloc_bitmap_dup(cpuset);
+ i++;
+ if (hwloc_bitmap_iszero(cpuset))
+ continue;
+ if (hwloc_bitmap_isequal(cpuset, topocpuset) && !show_all && only_pid == NO_ONLY_PID && !only_name)
+ continue;
+ boundthreads++;
+
+ {
+ unsigned path2len = pathlen + 1 + 21 + 1 + 4 + 1;
+ char *path2 = malloc(path2len);
+ if (path2) {
+ int commfile;
+ snprintf(path2, path2len, "%s/%ld/comm", path, tid);
+ commfile = open(path2, O_RDWR);
+ if (commfile >= 0) {
+ read(commfile, tids[i-1].name, TIDNAME_MAX);
+ close(commfile);
+ tids[i-1].name[TIDNAME_MAX-1] = '\0';
+ end = strchr(tids[i-1].name, '\n');
+ if (end)
+ *end = '\0';
+ }
+ free(path2);
+ }
+ }
+
+ if (i == n)
+ /* ignore the lastly created threads, we need cpuset==NULL if the last slot */
+ break;
+ }
+ } else {
+ /* failed to alloc, behave as if there were no threads */
+ }
+ }
+ closedir(taskdir);
+ }
+ free(path);
+#endif /* HWLOC_LINUX_SYS */
+ }
+
+ if (get_last_cpu_location) {
+ if (hwloc_get_proc_last_cpu_location(topology, pid, cpuset, 0))
+ goto out;
+ } else {
+ if (hwloc_get_proc_cpubind(topology, pid, cpuset, 0))
+ goto out;
+ }
+
+ hwloc_bitmap_and(cpuset, cpuset, topocpuset);
+ if (hwloc_bitmap_iszero(cpuset))
+ goto out;
+
+ /* don't print anything if the process isn't bound and if no threads are bound and if not showing all */
+ if (hwloc_bitmap_isequal(cpuset, topocpuset) && (!tids || !boundthreads) && !show_all && only_pid == NO_ONLY_PID && !only_name)
+ goto out;
+
+ pidoutput[0] = '\0';
+ if (pidcmd) {
+ char *cmd;
+ FILE *file;
+ cmd = malloc(strlen(pidcmd)+1+5+2+1);
+ sprintf(cmd, "%s %u", pidcmd, (unsigned) pid);
+ file = popen(cmd, "r");
+ if (file) {
+ if (fgets(pidoutput, sizeof(pidoutput), file)) {
+ end = strchr(pidoutput, '\n');
+ if (end)
+ *end = '\0';
+ }
+ pclose(file);
+ }
+ free(cmd);
+ }
+
+ /* print the process */
+ print_task(topology, pid, name, cpuset, pidoutput[0] == '\0' ? NULL : pidoutput, 0);
+ if (tids)
+ /* print each tid we found with a cpuset, the n+1-th is NULL */
+ for(i=0; tids[i].cpuset != NULL; i++) {
+ print_task(topology, tids[i].tid, tids[i].name, tids[i].cpuset, NULL, 1);
+ hwloc_bitmap_free(tids[i].cpuset);
+ }
+
+ out:
+ /* free threads stuff */
+ free(tids);
+ hwloc_bitmap_free(cpuset);
+}
+
+int main(int argc, char *argv[])
+{
+ const struct hwloc_topology_support *support;
+ hwloc_topology_t topology;
+ hwloc_const_bitmap_t topocpuset;
+ unsigned long flags = 0;
+ DIR *dir;
+ struct dirent *dirent;
+ char *callname;
+ int err;
+ int opt;
+
+ callname = strrchr(argv[0], '/');
+ if (!callname)
+ callname = argv[0];
+ else
+ callname++;
+ /* skip argv[0], handle options */
+ argc--;
+ argv++;
+
+ while (argc >= 1) {
+ opt = 0;
+ if (!strcmp(argv[0], "-a"))
+ show_all = 1;
+ else if (!strcmp(argv[0], "-l") || !strcmp(argv[0], "--logical")) {
+ logical = 1;
+ } else if (!strcmp(argv[0], "-p") || !strcmp(argv[0], "--physical")) {
+ logical = 0;
+ } else if (!strcmp(argv[0], "-c") || !strcmp(argv[0], "--cpuset")) {
+ show_cpuset = 1;
+ } else if (!strcmp(argv[0], "-e") || !strncmp(argv[0], "--get-last-cpu-location", 10)) {
+ get_last_cpu_location = 1;
+ } else if (!strcmp(argv[0], "-t") || !strcmp(argv[0], "--threads")) {
+#ifdef HWLOC_LINUX_SYS
+ show_threads = 1;
+#else
+ fprintf (stderr, "Listing threads is currently only supported on Linux\n");
+#endif
+ } else if (!strcmp(argv[0], "--pid")) {
+ if (argc < 2) {
+ usage(callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ only_pid = strtol(argv[1], NULL, 10);
+ opt = 1;
+ } else if (!strcmp(argv[0], "--name")) {
+ if (argc < 2) {
+ usage(callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ only_name = argv[1];
+ opt = 1;
+ } else if (!strcmp (argv[0], "--whole-system")) {
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM;
+ } else if (!strcmp (argv[0], "--pid-cmd")) {
+ if (argc < 2) {
+ usage(callname, stdout);
+ exit(EXIT_FAILURE);
+ }
+ pidcmd = argv[1];
+ opt = 1;
+ } else {
+ fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ argc -= opt+1;
+ argv += opt+1;
+ }
+
+ err = hwloc_topology_init(&topology);
+ if (err)
+ goto out;
+
+ hwloc_topology_set_flags(topology, flags);
+
+ err = hwloc_topology_load(topology);
+ if (err)
+ goto out_with_topology;
+
+ support = hwloc_topology_get_support(topology);
+
+ if (get_last_cpu_location) {
+ if (!support->cpubind->get_proc_last_cpu_location)
+ goto out_with_topology;
+ } else {
+ if (!support->cpubind->get_proc_cpubind)
+ goto out_with_topology;
+ }
+
+ topocpuset = hwloc_topology_get_topology_cpuset(topology);
+
+ dir = opendir("/proc");
+ if (!dir)
+ goto out_with_topology;
+
+ if (only_pid == NO_ONLY_PID) {
+ /* show all */
+ while ((dirent = readdir(dir))) {
+ long pid;
+ char *end;
+
+ pid = strtol(dirent->d_name, &end, 10);
+ if (*end)
+ /* Not a number */
+ continue;
+
+ one_process(topology, topocpuset, pid);
+ }
+ } else {
+ /* show only one */
+ one_process(topology, topocpuset, only_pid);
+ }
+
+ err = 0;
+
+ closedir(dir);
+ out_with_topology:
+ hwloc_topology_destroy(topology);
+ out:
+ return err;
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2010-2018 Inria. All rights reserved.
+.\" Copyright © 2010 Université of Bordeaux
+.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH HWLOC "7" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+hwloc - General information about hwloc ("hardware locality").
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+hwloc provides command line tools and a C API to obtain the
+hierarchical map of key computing elements, such as: NUMA memory
+nodes, shared caches, processor packages, processor cores, and
+processor "threads". hwloc also gathers various attributes such as
+cache and memory information, and is portable across a variety of
+different operating systems and platforms.
+.
+.
+.SS Definitions
+hwloc has some specific definitions for terms that are used in this
+man page and other hwloc documentation.
+.
+.TP 5
+.B hwloc CPU set:
+A set of processors included in an hwloc object, expressed as a bitmask
+indexed by the physical numbers of the CPUs (as announced by the OS).
+The hwloc definition
+of "CPU set" does not carry any the same connotations as Linux's "CPU
+set" (e.g., process affinity, etc.).
+.
+.TP
+.B hwloc node set:
+A set of NUMA memory nodes near an hwloc object, expressed as a bitmask
+indexed by the physical numbers of the NUMA nodes (as announced by the OS).
+.
+.TP
+.B Linux CPU set:
+See http://www.mjmwired.net/kernel/Documentation/cpusets.txt for a
+discussion of Linux CPU sets. A
+super-short-ignoring-many-details description (taken from that page)
+is:
+.br
+
+.br
+ "Cpusets provide a mechanism for assigning a set of CPUs and Memory
+Nodes to a set of tasks."
+.
+.TP
+.B Linux Cgroup:
+See http://www.mjmwired.net/kernel/Documentation/cgroups.txt for a
+discussion of Linux control groups. A
+super-short-ignoring-many-details description (taken from that page)
+is:
+.br
+
+.br
+ "Control Groups provide a mechanism for aggregating/partitioning sets
+of tasks, and all their future children, into hierarchical groups
+with specialized behaviour."
+.
+.PP
+To be clear, hwloc supports all of the above concepts. It is simply
+worth noting that they are different things.
+.
+.SS Location Specification
+.
+Locations refer to specific regions within a topology. Before reading
+the rest of this man page, it may be useful to read lstopo(1) and/or
+run lstopo on your machine to see the reported topology tree. Seeing
+and understanding a topology tree will definitely help in
+understanding the concepts that are discussed below.
+.
+.PP
+Locations can be specified in multiple ways:
+.
+.TP 10
+.B Tuples:
+Tuples of hwloc "objects" and associated indexes can be specified in
+the form
+.IR object:index .
+hwloc objects represent types of mapped items (e.g., packages, cores,
+etc.) in a topology tree; indexes are non-negative integers that
+specify a unique physical object in a topology tree. Both concepts
+are described in detail, below.
+.br
+
+.br
+Indexes may also be specified as ranges.
+\fIx-y\fR enumerates from index \fIx\fR to \fIy\fR.
+\fIx:y\fR enumerates \fIy\fR objects starting from index \fIx\fR
+(wrapping around the end of the index range if needed).
+\fIx-\fR enumerates all objects starting from index \fIx\fR.
+\fIall\fR, \fIodd\fR, and \fIeven\fR are also supported for listing
+all objects, or only those with odd or even indexes.
+.br
+
+.br
+Chaining multiple tuples together in the more general form
+.I object1:index[.object2:index2[...]]
+is permissable. While the first tuple's object may appear anywhere in
+the topology, the Nth tuple's object must have a shallower topology
+depth than the (N+1)th tuple's object. Put simply: as you move right
+in a tuple chain, objects must go deeper in the topology tree.
+When using logical indexes (which is the default),
+indexes specified in chained tuples are relative to the scope of the
+parent object. For example, "package:0.core:1" refers to the second
+core in the first package.
+.br
+
+.br
+When using OS/physical indexes, the first object matching the given
+index is used.
+.br
+
+.br
+PCI and OS devices may also be designed using their identifier.
+For example, "\fBpci=02:03.1\fR" is the PCI device with bus ID "02:03.1".
+.
+"\fBos=eth0\fR" is the network interface whose software name is "eth0".
+.
+.TP
+.B Hex:
+For tools that manipulate object as sets (e.g. hwloc-calc and hwloc-bind),
+locations can also be specified as hexidecimal bitmasks prefixed
+.
+with "0x". Commas must be used to separate the hex digits into blocks
+of 8, such as "0xffc0140,0x00020110".
+.
+Leading zeros in each block do not need to be specified.
+.
+For example, "0xffc0140,0x20110" is equivalent to the prior example,
+and "0x0000000f" is exactly equivalent to "0xf". Intermediate blocks
+of 8 digits that are all zeoro can be left empty; "0xff0,,0x13" is
+equivalent to "0xff0,0x00000000,0x13".
+.
+If the location is prefixed with the special string "0xf...f", then
+all unspecified bits are set (as if the set were infinite). For
+example, "0xf...f,0x1" sets both the first bit and all bits starting
+with the 33rd. The string "0xf...f" -- with no other specified values
+-- sets all bits.
+.
+.PP
+"all" and "root" are special locations consisting in the root
+object in tree. It contains the entire current topology.
+.
+.PP
+Some tools directly operate on these objects (e.g. hwloc-info and hwloc-annotate).
+They do not support hexadecimal locations because each location may
+correspond to multiple objects.
+For instance, there can be exactly one L3 cache per package and NUMA node,
+which means it's the same location.
+.
+If multiple locations are given on the command-line,
+these tools will operation on each location individually and consecutively.
+.
+.PP
+Some other tools internally manipulate objects as sets (e.g. hwloc-calc and hwloc-bind).
+They translate each input location into a hexidecimal location.
+When I/O objects are used, they are translated into the set
+of processors (or NUMA nodes) that are close to the given object
+(because I/O objects do not contain processors or NUMA nodes).
+.
+.PP
+If multiple locations are specified on the command-line (delimited by whitespace),
+they are combined (the overall location is wider).
+.
+If prefixed with "~", the given location
+will be cleared instead of added to the current list of locations. If
+prefixed with "x", the given location will be and'ed instead of added
+to the current list. If prefixed with "^", the given location will be
+xor'ed.
+.
+.PP
+More complex operations may be performed by using
+.IR hwloc-calc
+to compute intermediate values.
+.
+.SS hwloc Objects
+.
+.PP
+Objects in tuples can be any of the following strings
+.
+(listed from "biggest" to "smallest"):
+.
+.TP 10
+.B machine
+A set of processors and memory.
+.
+.TP
+.B numanode
+A NUMA node; a set of processors around memory which the processors
+can directly access.
+.
+If \fBhbm\fR is used instead of \fBnumanode\fR in locations,
+command-line tools only consider high-bandwidth memory nodes such as Intel Xeon Phi MCDRAM.
+.
+.TP
+.B package
+Typically a physical package or chip, that goes into a package,
+it is a grouping of one or more processors.
+.
+.TP
+.B cache
+A cache memory. If several kinds of caches exist in the system,
+a specific one may be identified by its level (e.g. \fBl1cache\fR)
+and optionally by its type (e.g. \fBl1icache\fR).
+.
+.TP
+.B core
+A single, physical processing unit which may still contain multiple
+logical processors, such as hardware threads.
+.
+.TP
+.B pu
+Short for
+.I processor unit
+(not
+.IR process !).
+The smallest physical execution unit that hwloc recognizes. For
+example, there may be multiple PUs on a core (e.g.,
+hardware threads).
+.PP
+The additional
+.B system
+type can be used when several machines form an overall single system image
+(SSI), such as Kerrighed.
+.PP
+\fBosdev\fR, \fBpcidev\fR, and \fBbridge\fR may also be used
+to specify special devices although some of them have dedicated identification
+ways as explained in \fBLocation Specification\fR.
+.
+.PP
+Finally, note that an object can be denoted by its numeric "depth" in
+the topology graph.
+.
+.SS hwloc Indexes
+Indexes are integer values that uniquely specify a given object of a
+specific type. Indexes can be expressed either as
+.I logical
+values or
+.I physical
+values. Most hwloc utilities accept logical indexes by default.
+Passing
+.B --physical
+switches to physical/OS indexes.
+Both logical and physical indexes are described on this man page.
+.
+.PP
+.I Logical
+indexes are relative to the object order in the output from the
+lstopo command. They always start with 0 and increment by 1 for each
+successive object.
+.
+.PP
+.I Physical
+indexes are how the operating system refers to objects. Note that
+while physical indexes are non-negative integer values, the hardware
+and/or operating system may choose arbitrary values -- they may not
+start with 0, and successive objects may not have consecutive values.
+.
+.PP
+For example, if the first few lines of lstopo -p output are the
+following:
+.
+
+ Machine (47GB)
+ NUMANode P#0 (24GB) + Package P#0 + L3 (12MB)
+ L2 (256KB) + L1 (32KB) + Core P#0 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#1 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#2 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#8 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#9 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#10 + PU P#0
+ NUMANode P#1 (24GB) + Package P#1 + L3 (12MB)
+ L2 (256KB) + L1 (32KB) + Core P#0 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#1 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#2 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#8 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#9 + PU P#0
+ L2 (256KB) + L1 (32KB) + Core P#10 + PU P#0
+
+In this example, the first core on the second package is logically
+number 6 (i.e., logically the 7th core, starting from 0). Its
+physical index is 0, but note that another core
+.I also
+has a physical index of 0. Hence, physical indexes may only be
+relevant within the scope of their parent (or set of ancestors).
+In this example, to uniquely identify logical core 6 with
+physical indexes, you must specify (at a minimum) both a package and a
+core: package 1, core 0.
+.PP
+Index values, regardless of whether they are logical or physical, can
+be expressed in several different forms (where X, Y, and N are
+positive integers):
+.
+.TP 10
+.B X
+The object with index value X.
+.
+.TP
+.B X-Y
+All the objects with index values >= X and <= Y.
+.
+.TP
+.B X-
+All the objects with index values >= X.
+.
+.TP
+.B X:N
+N objects starting with index X, possibly wrapping around the end of
+the level.
+.
+.TP
+.B all
+A special index value indicating all valid index values.
+.
+.TP
+.B odd
+A special index value indicating all valid odd index values.
+.
+.TP
+.B even
+A special index value indicating all valid even index values.
+.
+.PP
+.IR REMEMBER :
+hwloc's command line tools accept
+.I logical
+indexes for location values by default.
+Use
+.BR --physical " and " --logical
+to switch from one mode to another.
+.
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+hwloc's command line tool documentation: lstopo(1), hwloc-bind(1),
+hwloc-calc(1), hwloc-distrib(1), hwloc-ps(1).
+.
+.PP
+hwloc has many C API functions, each of which have their own man page.
+Some top-level man pages are also provided, grouping similar functions
+together. A few good places to start might include:
+hwlocality_objects(3), hwlocality_types(3), hwlocality_creation(3),
+hwlocality_cpuset(3), hwlocality_information(3), and
+hwlocality_binding(3).
+.
+.PP
+For a listing of all available hwloc man pages, look at all "hwloc*"
+files in the man1 and man3 directories.
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef HWLOC_UTILS_MISC_H
+#define HWLOC_UTILS_MISC_H
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <private/misc.h>
+
+#include <stdio.h>
+#include <string.h>
+#include <sys/stat.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <assert.h>
+
+extern void usage(const char *name, FILE *where);
+
+static __hwloc_inline void
+hwloc_utils_input_format_usage(FILE *where, int addspaces)
+{
+ fprintf (where, " --input <XML file>\n");
+ fprintf (where, " -i <XML file> %*sRead topology from XML file <path>\n",
+ addspaces, " ");
+#ifdef HWLOC_LINUX_SYS
+ fprintf (where, " --input <directory>\n");
+ fprintf (where, " -i <directory> %*sRead topology from chroot containing the /proc and /sys\n",
+ addspaces, " ");
+ fprintf (where, " %*sof another system\n",
+ addspaces, " ");
+#endif
+ fprintf (where, " --input \"node:2 2\"\n");
+ fprintf (where, " -i \"node:2 2\" %*sSimulate a fake hierarchy, here with 2 NUMA nodes of 2\n",
+ addspaces, " ");
+ fprintf (where, " %*sprocessors\n",
+ addspaces, " ");
+ fprintf (where, " --input-format <format>\n");
+ fprintf (where, " --if <format> %*sEnforce input format among "
+ "xml, "
+#ifdef HWLOC_LINUX_SYS
+ "fsroot, "
+#endif
+ "synthetic\n",
+ addspaces, " ");
+}
+
+enum hwloc_utils_input_format {
+ HWLOC_UTILS_INPUT_DEFAULT,
+ HWLOC_UTILS_INPUT_XML,
+ HWLOC_UTILS_INPUT_FSROOT,
+ HWLOC_UTILS_INPUT_SYNTHETIC
+};
+
+static __hwloc_inline enum hwloc_utils_input_format
+hwloc_utils_parse_input_format(const char *name, const char *callname)
+{
+ if (!hwloc_strncasecmp(name, "default", 3))
+ return HWLOC_UTILS_INPUT_DEFAULT;
+ else if (!hwloc_strncasecmp(name, "xml", 1))
+ return HWLOC_UTILS_INPUT_XML;
+ else if (!hwloc_strncasecmp(name, "fsroot", 1))
+ return HWLOC_UTILS_INPUT_FSROOT;
+ else if (!hwloc_strncasecmp(name, "synthetic", 1))
+ return HWLOC_UTILS_INPUT_SYNTHETIC;
+
+ fprintf(stderr, "input format `%s' not supported\n", name);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+}
+
+static __hwloc_inline int
+hwloc_utils_lookup_input_option(char *argv[], int argc, int *consumed_opts,
+ char **inputp, enum hwloc_utils_input_format *input_formatp,
+ const char *callname)
+{
+ if (!strcmp (argv[0], "--input")
+ || !strcmp (argv[0], "-i")) {
+ if (argc <= 1) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ if (strlen(argv[1]))
+ *inputp = argv[1];
+ else
+ *inputp = NULL;
+ *consumed_opts = 1;
+ return 1;
+ }
+ else if (!strcmp (argv[0], "--input-format")
+ || !strcmp (argv[0], "--if")) {
+ if (argc <= 1) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ *input_formatp = hwloc_utils_parse_input_format (argv[1], callname);
+ *consumed_opts = 1;
+ return 1;
+ }
+
+ /* backward compat with 1.0 */
+ else if (!strcmp (argv[0], "--synthetic")) {
+ if (argc <= 1) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ *inputp = argv[1];
+ *input_formatp = HWLOC_UTILS_INPUT_SYNTHETIC;
+ *consumed_opts = 1;
+ return 1;
+ } else if (!strcmp (argv[0], "--xml")) {
+ if (argc <= 1) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ *inputp = argv[1];
+ *input_formatp = HWLOC_UTILS_INPUT_XML;
+ *consumed_opts = 1;
+ return 1;
+ } else if (!strcmp (argv[0], "--fsys-root")) {
+ if (argc <= 1) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ *inputp = argv[1];
+ *input_formatp = HWLOC_UTILS_INPUT_FSROOT;
+ *consumed_opts = 1;
+ return 1;
+ }
+
+ return 0;
+}
+
+static __hwloc_inline int
+hwloc_utils_enable_input_format(struct hwloc_topology *topology,
+ const char *input,
+ enum hwloc_utils_input_format *input_format,
+ int verbose, const char *callname)
+{
+ if (*input_format == HWLOC_UTILS_INPUT_DEFAULT && !strcmp(input, "-.xml")) {
+ *input_format = HWLOC_UTILS_INPUT_XML;
+ input = "-";
+ }
+
+ if (*input_format == HWLOC_UTILS_INPUT_DEFAULT) {
+ struct stat inputst;
+ int err;
+ err = stat(input, &inputst);
+ if (err < 0) {
+ if (verbose > 0)
+ printf("assuming `%s' is a synthetic topology description\n", input);
+ *input_format = HWLOC_UTILS_INPUT_SYNTHETIC;
+ } else if (S_ISDIR(inputst.st_mode)) {
+ if (verbose > 0)
+ printf("assuming `%s' is a file-system root\n", input);
+ *input_format = HWLOC_UTILS_INPUT_FSROOT;
+ } else if (S_ISREG(inputst.st_mode)) {
+ if (verbose > 0)
+ printf("assuming `%s' is a XML file\n", input);
+ *input_format = HWLOC_UTILS_INPUT_XML;
+ } else {
+ fprintf (stderr, "Unrecognized input file: %s\n", input);
+ usage (callname, stderr);
+ return EXIT_FAILURE;
+ }
+ }
+
+ switch (*input_format) {
+ case HWLOC_UTILS_INPUT_XML:
+ if (!strcmp(input, "-"))
+ input = "/dev/stdin";
+ if (hwloc_topology_set_xml(topology, input)) {
+ perror("Setting source XML file");
+ return EXIT_FAILURE;
+ }
+ break;
+
+ case HWLOC_UTILS_INPUT_FSROOT:
+#ifdef HWLOC_LINUX_SYS
+ if (hwloc_topology_set_fsroot(topology, input)) {
+ perror("Setting source filesystem root");
+ return EXIT_FAILURE;
+ }
+#else /* HWLOC_LINUX_SYS */
+ fprintf(stderr, "This installation of hwloc does not support changing the file-system root, sorry.\n");
+ exit(EXIT_FAILURE);
+#endif /* HWLOC_LINUX_SYS */
+ break;
+
+ case HWLOC_UTILS_INPUT_SYNTHETIC:
+ if (hwloc_topology_set_synthetic(topology, input)) {
+ perror("Setting synthetic topology description");
+ return EXIT_FAILURE;
+ }
+ break;
+
+ case HWLOC_UTILS_INPUT_DEFAULT:
+ assert(0);
+ }
+
+ return 0;
+}
+
+static __hwloc_inline void
+hwloc_utils_print_distance_matrix(FILE *output, hwloc_topology_t topology, hwloc_obj_t root, unsigned nbobjs, unsigned reldepth, float *matrix, int logical)
+{
+ hwloc_obj_t *objs, obj;
+ unsigned i, j, depth;
+
+ /* get objets */
+ objs = malloc(nbobjs * sizeof(*objs));
+ depth = root->depth + reldepth;
+ i = 0;
+ obj = NULL;
+ while ((obj = hwloc_get_next_obj_by_depth(topology, depth, obj)) != NULL) {
+ hwloc_obj_t myparent = obj->parent;
+ while (myparent->depth > root->depth)
+ myparent = myparent->parent;
+ if (myparent == root) {
+ assert(i < nbobjs);
+ objs[i++] = obj;
+ }
+ }
+
+ /* column header */
+ fprintf(output, " index");
+ for(j=0; j<nbobjs; j++) {
+ fprintf(output, " % 5d",
+ (int) (logical ? objs[j]->logical_index : objs[j]->os_index));
+ }
+ fprintf(output, "\n");
+
+ /* each line */
+ for(i=0, obj=NULL; i<nbobjs; i++) {
+ /* row header */
+ fprintf(output, " % 5d",
+ (int) (logical ? objs[i]->logical_index : objs[i]->os_index));
+
+ /* row values */
+ for(j=0; j<nbobjs; j++) {
+ for(j=0; j<nbobjs; j++)
+ fprintf(output, " %2.3f", matrix[i*nbobjs+j]);
+ fprintf(output, "\n");
+ }
+ }
+
+ free(objs);
+}
+
+static __hwloc_inline int
+hwloc_pid_from_number(hwloc_pid_t *pidp, int pid_number, int set_info __hwloc_attribute_unused, int verbose __hwloc_attribute_unused)
+{
+ hwloc_pid_t pid;
+#ifdef HWLOC_WIN_SYS
+ pid = OpenProcess(set_info ? PROCESS_SET_INFORMATION : PROCESS_QUERY_INFORMATION, FALSE, pid_number);
+ if (!pid) {
+ if (verbose) {
+ DWORD error = GetLastError();
+ char *message;
+ FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
+ NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (char *)&message, 0, NULL);
+ fprintf(stderr, "OpenProcess %d failed %lu: %s\n", pid_number, (unsigned long) error, message);
+ }
+ return -1;
+ }
+#else
+ pid = pid_number;
+#endif
+ *pidp = pid;
+ return 0;
+}
+
+static __hwloc_inline void
+hwloc_lstopo_show_summary(FILE *output, hwloc_topology_t topology)
+{
+ unsigned topodepth = hwloc_topology_get_depth(topology);
+ unsigned depth, nbobjs;
+ for (depth = 0; depth < topodepth; depth++) {
+ hwloc_obj_t obj = hwloc_get_obj_by_depth(topology, depth, 0);
+ char type[64];
+ nbobjs = hwloc_get_nbobjs_by_depth (topology, depth);
+ fprintf(output, "%*s", (int) depth, "");
+ hwloc_obj_type_snprintf(type, sizeof(type), obj, 1);
+ fprintf (output,"depth %u:\t%u %s (type #%d)\n",
+ depth, nbobjs, type, (int) obj->type);
+ }
+ nbobjs = hwloc_get_nbobjs_by_depth (topology, HWLOC_TYPE_DEPTH_BRIDGE);
+ if (nbobjs)
+ fprintf (output, "Special depth %d:\t%u %s (type #%d)\n",
+ HWLOC_TYPE_DEPTH_BRIDGE, nbobjs, "Bridge", HWLOC_OBJ_BRIDGE);
+ nbobjs = hwloc_get_nbobjs_by_depth (topology, HWLOC_TYPE_DEPTH_PCI_DEVICE);
+ if (nbobjs)
+ fprintf (output, "Special depth %d:\t%u %s (type #%d)\n",
+ HWLOC_TYPE_DEPTH_PCI_DEVICE, nbobjs, "PCI Device", HWLOC_OBJ_PCI_DEVICE);
+ nbobjs = hwloc_get_nbobjs_by_depth (topology, HWLOC_TYPE_DEPTH_OS_DEVICE);
+ if (nbobjs)
+ fprintf (output, "Special depth %d:\t%u %s (type #%d)\n",
+ HWLOC_TYPE_DEPTH_OS_DEVICE, nbobjs, "OS Device", HWLOC_OBJ_OS_DEVICE);
+}
+
+
+/*************************
+ * Importing/exporting userdata buffers without understanding/decoding/modifying them
+ * Caller must putenv("HWLOC_XML_USERDATA_NOT_DECODED=1") before loading the topology.
+ */
+
+struct hwloc_utils_userdata {
+ char *name;
+ size_t length;
+ char *buffer; /* NULL if userdata entry in the list is not meant to be exported to XML (added by somebody else) */
+ struct hwloc_utils_userdata *next;
+};
+
+static __hwloc_inline void
+hwloc_utils_userdata_import_cb(hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)
+{
+ struct hwloc_utils_userdata *u, **up = (struct hwloc_utils_userdata **) &obj->userdata;
+ while (*up)
+ up = &((*up)->next);
+ *up = u = malloc(sizeof(struct hwloc_utils_userdata));
+ u->name = strdup(name);
+ u->length = length;
+ u->buffer = strdup(buffer);
+ u->next = NULL;
+}
+
+static __hwloc_inline void
+hwloc_utils_userdata_export_cb(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj)
+{
+ struct hwloc_utils_userdata *u = obj->userdata;
+ while (u) {
+ if (u->buffer) /* not meant to be exported to XML (added by somebody else) */
+ hwloc_export_obj_userdata(reserved, topology, obj, u->name, u->buffer, u->length);
+ u = u->next;
+ }
+}
+
+/* must be called once the caller has removed its own userdata */
+static __hwloc_inline void
+hwloc_utils_userdata_free(hwloc_obj_t obj)
+{
+ struct hwloc_utils_userdata *u = obj->userdata, *next;
+ while (u) {
+ next = u->next;
+ assert(u->buffer);
+ free(u->name);
+ free(u->buffer);
+ free(u);
+ u = next;
+ }
+ obj->userdata = NULL;
+}
+
+/* must be called once the caller has removed its own userdata */
+static __hwloc_inline void
+hwloc_utils_userdata_free_recursive(hwloc_obj_t obj)
+{
+ hwloc_obj_t child;
+ hwloc_utils_userdata_free(obj);
+ for (child = obj->first_child; child; child = child->next_sibling)
+ hwloc_utils_userdata_free_recursive(child);
+}
+
+#endif /* HWLOC_UTILS_MISC_H */
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009-2014 Inria. All rights reserved.
+# Copyright © 2009, 2011 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+lstopo="$HWLOC_top_builddir/utils/lstopo/lstopo-no-graphics"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+HWLOC_DEBUG_FAKE_COMPONENT=1
+export HWLOC_DEBUG_FAKE_COMPONENT
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-fake-plugin.output"
+
+set -e
+
+$lstopo > $file
+
+grep "fake component initialized" $file \
+&& grep "fake component instantiated" $file \
+&& grep "fake component finalized" $file
+
+rm -rf "$tmp"
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" local_memory="4014030848">
+ <page_type size="4096" count="979988"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Latitude E6410"/>
+ <info name="DMIProductVersion" value="0001"/>
+ <info name="DMIBoardVendor" value="Dell Inc."/>
+ <info name="DMIBoardName" value=" "/>
+ <info name="DMIBoardVersion" value=" "/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="Dell Inc."/>
+ <info name="DMIChassisType" value="9"/>
+ <info name="DMIChassisVersion" value=" "/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="A12"/>
+ <info name="DMIBIOSDate" value="05/09/2012"/>
+ <info name="DMISysVendor" value="Dell Inc."/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.2.0-3-amd64"/>
+ <info name="OSVersion" value="#1 SMP Thu Jun 28 09:07:26 UTC 2012"/>
+ <info name="HostName" value="rhododendron"/>
+ <info name="Architecture" value="x86_64"/>
+ <object type="NUMANode" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <userdata length="0"/>
+ <userdata length="1">a</userdata>
+ <object type="Package" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="CPUModel" value="Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <userdata name="MyName" length="16">0000000000000001</userdata>
+ <userdata name="EncodedShort0" length="0" encoding="base64"/>
+ <object type="Cache" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <userdata name="EncodedShort1" length="1" encoding="base64">rg==</userdata>
+ <userdata name="EncodedShort2" length="2" encoding="base64">ZH8=</userdata>
+ <userdata name="EncodedShort3" length="3" encoding="base64">f+B/</userdata>
+ <userdata name="EncodedShort4" length="4" encoding="base64">4H8AAA==</userdata>
+ <userdata name="EncodedLong0" length="128" encoding="base64">eK5kf+B/AAB4rmR/4H8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAtmR/4H8AAP////8AAAAA////fwAAAAA=</userdata>
+ <userdata name="EncodedLong1" length="127" encoding="base64">rmR/4H8AAHiuZH/gfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEC2ZH/gfwAA/////wAAAAD///9/AAAAAA==</userdata>
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <userdata name="EncodedLong2" length="126" encoding="base64">rmR/4H8AAHiuZH/gfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEC2ZH/gfwAA/////wAAAAD///9/AAAA</userdata>
+ <object type="Core" os_index="0" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <userdata name="EncodedLong3" length="125" encoding="base64">ZH/gfwAAeK5kf+B/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQLZkf+B/AAD/////AAAAAP///38AAAA=</userdata>
+ <userdata name="EncodedLong4" length="124" encoding="base64">ZH/gfwAAeK5kf+B/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQLZkf+B/AAD/////AAAAAP///38AAA==</userdata>
+ <userdata name="EncodedLong5" length="123" encoding="base64">f+B/AAB4rmR/4H8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAtmR/4H8AAP////8AAAAA////fwAA</userdata>
+ <userdata name="EncodedLong6" length="122" encoding="base64">f+B/AAB4rmR/4H8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAtmR/4H8AAP////8AAAAA////fwA=</userdata>
+ <userdata name="EncodedLong7" length="121" encoding="base64">4H8AAHiuZH/gfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEC2ZH/gfwAA/////wAAAAD///9/AA==</userdata>
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-05]">
+ <userdata name="EncodedLong8" length="120" encoding="base64">4H8AAHiuZH/gfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEC2ZH/gfwAA/////wAAAAD///9/</userdata>
+ <object type="PCIDev" os_index="32" name="Intel Corporation Core Processor Integrated Graphics Controller" pci_busid="0000:00:02.0" pci_type="0300 [8086:0046] [0028:000a] 02" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Core Processor Integrated Graphics Controller"/>
+ <object type="OSDev" name="controlD64" osdev_type="1"/>
+ <object type="OSDev" name="card0" osdev_type="1"/>
+ </object>
+ <object type="PCIDev" os_index="400" name="Intel Corporation 82577LM Gigabit Network Connection" pci_busid="0000:00:19.0" pci_type="0200 [8086:10ea] [0028:000a] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82577LM Gigabit Network Connection"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="5c:26:0a:53:da:8c"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="449" name="Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:1c.1" pci_type="0604 [8086:3b44] [0000:0000] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="5 Series/3400 Series Chipset PCI Express Root Port 2"/>
+ <object type="PCIDev" os_index="8192" name="Intel Corporation Centrino Ultimate-N 6300" pci_busid="0000:02:00.0" pci_type="0280 [8086:422b] [0086:0021] 35" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Centrino Ultimate-N 6300"/>
+ <object type="OSDev" name="wlan0" osdev_type="2">
+ <info name="Address" value="00:24:d7:0f:bd:34"/>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:3b2f] [0028:000a] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="5 Series/3400 Series Chipset 6 port SATA AHCI Controller"/>
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ <object type="OSDev" name="sr0" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" local_memory="4014030848">
+ <page_type size="4096" count="979988"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Latitude E6410"/>
+ <info name="DMIProductVersion" value="0001"/>
+ <info name="DMIBoardVendor" value="Dell Inc."/>
+ <info name="DMIBoardName" value=" "/>
+ <info name="DMIBoardVersion" value=" "/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="Dell Inc."/>
+ <info name="DMIChassisType" value="9"/>
+ <info name="DMIChassisVersion" value=" "/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="A12"/>
+ <info name="DMIBIOSDate" value="05/09/2012"/>
+ <info name="DMISysVendor" value="Dell Inc."/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.2.0-3-amd64"/>
+ <info name="OSVersion" value="#1 SMP Thu Jun 28 09:07:26 UTC 2012"/>
+ <info name="HostName" value="rhododendron"/>
+ <info name="Architecture" value="x86_64"/>
+ <info name="Foo" value="Bar"/>
+ <object type="NUMANode" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="Foo" value="Bar"/>
+ <userdata length="0"/>
+ <userdata length="1">a</userdata>
+ <object type="Package" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="CPUModel" value="Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz"/>
+ <info name="CPUType" value="x86_64"/>
+ <info name="Foo2" value="Bar3"/>
+ <userdata name="MyName" length="16">0000000000000001</userdata>
+ <userdata name="EncodedShort0" length="0" encoding="base64"/>
+ <object type="Cache" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <info name="Foo" value="Bar"/>
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <userdata name="EncodedShort1" length="1" encoding="base64">rg==</userdata>
+ <userdata name="EncodedShort2" length="2" encoding="base64">ZH8=</userdata>
+ <userdata name="EncodedShort3" length="3" encoding="base64">f+B/</userdata>
+ <userdata name="EncodedShort4" length="4" encoding="base64">4H8AAA==</userdata>
+ <userdata name="EncodedLong0" length="128" encoding="base64">eK5kf+B/AAB4rmR/4H8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAtmR/4H8AAP////8AAAAA////fwAAAAA=</userdata>
+ <userdata name="EncodedLong1" length="127" encoding="base64">rmR/4H8AAHiuZH/gfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEC2ZH/gfwAA/////wAAAAD///9/AAAAAA==</userdata>
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <info name="Foo" value="Bar"/>
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <info name="Foo" value="Bar"/>
+ <object type="Core" os_index="0" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="Foo2" value="Bar2"/>
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="Foo" value="Bar"/>
+ <object type="Misc" name="pumisc">
+ <info name="Foo" value="Bar"/>
+ </object>
+ </object>
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="Foo" value="Bar"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <info name="Foo" value="Bar"/>
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <info name="Foo" value="Bar"/>
+ <userdata name="EncodedLong3" length="125" encoding="base64">ZH/gfwAAeK5kf+B/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQLZkf+B/AAD/////AAAAAP///38AAAA=</userdata>
+ <userdata name="EncodedLong4" length="124" encoding="base64">ZH/gfwAAeK5kf+B/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQLZkf+B/AAD/////AAAAAP///38AAA==</userdata>
+ <userdata name="EncodedLong5" length="123" encoding="base64">f+B/AAB4rmR/4H8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAtmR/4H8AAP////8AAAAA////fwAA</userdata>
+ <userdata name="EncodedLong6" length="122" encoding="base64">f+B/AAB4rmR/4H8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAtmR/4H8AAP////8AAAAA////fwA=</userdata>
+ <userdata name="EncodedLong7" length="121" encoding="base64">4H8AAHiuZH/gfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEC2ZH/gfwAA/////wAAAAD///9/AA==</userdata>
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <info name="Foo" value="Bar"/>
+ <object type="Core" os_index="2" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="Foo2" value="Bar2"/>
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="Foo" value="Bar"/>
+ </object>
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x0" complete_nodeset="0x00000001" allowed_nodeset="0x0">
+ <info name="Foo" value="Bar"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-05]">
+ <info name="Foo" value="Bar"/>
+ <userdata name="EncodedLong8" length="120" encoding="base64">4H8AAHiuZH/gfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEC2ZH/gfwAA/////wAAAAD///9/</userdata>
+ <object type="PCIDev" os_index="32" name="Intel Corporation Core Processor Integrated Graphics Controller" pci_busid="0000:00:02.0" pci_type="0300 [8086:0046] [0028:000a] 02" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Core Processor Integrated Graphics Controller"/>
+ <info name="Foo" value="Bar"/>
+ <info name="mypcidev" value="byindex"/>
+ <info name="mypcidev" value="bymatch"/>
+ <object type="OSDev" name="controlD64" osdev_type="1">
+ <info name="Foo" value="Bar"/>
+ </object>
+ <object type="OSDev" name="card0" osdev_type="1">
+ <info name="Foo" value="Bar"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="400" name="Intel Corporation 82577LM Gigabit Network Connection" pci_busid="0000:00:19.0" pci_type="0200 [8086:10ea] [0028:000a] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="82577LM Gigabit Network Connection"/>
+ <info name="Foo" value="Bar"/>
+ <info name="mypcidev" value="byindex"/>
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="5c:26:0a:53:da:8c"/>
+ <info name="Foo" value="Bar"/>
+ <info name="myosdev" value="byindex"/>
+ </object>
+ </object>
+ <object type="Bridge" os_index="449" name="Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:1c.1" pci_type="0604 [8086:3b44] [0000:0000] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="5 Series/3400 Series Chipset PCI Express Root Port 2"/>
+ <info name="Foo" value="Bar"/>
+ <object type="PCIDev" os_index="8192" name="Intel Corporation Centrino Ultimate-N 6300" pci_busid="0000:02:00.0" pci_type="0280 [8086:422b] [0086:0021] 35" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="Centrino Ultimate-N 6300"/>
+ <info name="Foo" value="Bar"/>
+ <info name="mypcidev" value="bybusid"/>
+ <object type="OSDev" name="wlan0" osdev_type="2">
+ <info name="Address" value="00:24:d7:0f:bd:34"/>
+ <info name="Foo" value="Bar"/>
+ <info name="myosdev" value="byindex"/>
+ </object>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="498" name="Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller" pci_busid="0000:00:1f.2" pci_type="0106 [8086:3b2f] [0028:000a] 05" pci_link_speed="0.000000">
+ <info name="PCIVendor" value="Intel Corporation"/>
+ <info name="PCIDevice" value="5 Series/3400 Series Chipset 6 port SATA AHCI Controller"/>
+ <info name="Foo" value="Bar"/>
+ <object type="OSDev" name="sda" osdev_type="0">
+ <info name="Foo" value="Bar"/>
+ </object>
+ <object type="OSDev" name="sr0" osdev_type="0">
+ <info name="Foo" value="Bar"/>
+ </object>
+ </object>
+ </object>
+ <object type="Misc" name="rootmisc">
+ <info name="Foo" value="Bar"/>
+ </object>
+ </object>
+</topology>
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009-2016 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+annotate="$HWLOC_top_builddir/utils/hwloc/hwloc-annotate"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+if test x@HWLOC_XML_LOCALIZED@ = x1; then
+ # make sure we use default numeric formats
+ LANG=C
+ LC_ALL=C
+ export LANG LC_ALL
+fi
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-hwloc-annotate.output"
+
+set -e
+
+$annotate $HWLOC_top_srcdir/utils/hwloc/test-hwloc-annotate.input $file pu:0 misc pumisc
+$annotate $file $file root misc rootmisc
+$annotate $file $file all info Foo Bar
+$annotate --ci $file $file Core:all info Foo2 Bar2
+$annotate --ci $file $file L2Cache:0 none
+$annotate --ri $file $file pack:all info Foo
+$annotate $file $file pack:0 info Foo2 Bar
+$annotate $file $file pack:0 info Foo2 Bar2
+$annotate --ri $file $file pack:0 info Foo2 Bar3
+$annotate $file $file os:2-3 info myosdev byindex
+$annotate $file $file pci:4:2 info mypcidev byindex
+$annotate $file $file pci=0000:02:00.0 info mypcidev bybusid
+$annotate $file $file 'pci[8086:0046]:all' info mypcidev bymatch
+$annotate --cu $file $file L1iCache:0 none
+
+diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/hwloc/test-hwloc-annotate.output "$file"
+rm -rf "$tmp"
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_level="-1" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" name="machine1" local_memory="4014239744">
+ <page_type size="4096" count="980039"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Latitude E6410"/>
+ <info name="DMIProductVersion" value="0001"/>
+ <info name="DMIBoardVendor" value="Dell Inc."/>
+ <info name="DMIBoardName" value="0667CC"/>
+ <info name="DMIBoardVersion" value="A00"/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="Dell Inc."/>
+ <info name="DMIChassisType" value="9"/>
+ <info name="DMIChassisVersion" value=" "/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="A03"/>
+ <info name="DMIBIOSDate" value="05/28/2010"/>
+ <info name="DMISysVendor" value="Dell Inc."/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.0.0-1-amd64"/>
+ <info name="OSVersion" value="#1 SMP Sun Jul 24 02:24:44 UTC 2011"/>
+ <info name="HostName" value="rhododendron"/>
+ <info name="Architecture" value="x86_64"/>
+ <object type="Package" os_level="-1" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f">
+ <object type="Cache" os_level="-1" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" os_level="-1" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" os_level="-1" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_level="-1" os_index="0" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005">
+ <object type="PU" os_level="-1" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ <object type="PU" os_level="-1" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" os_level="-1" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" os_level="-1" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_level="-1" os_index="2" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a">
+ <object type="PU" os_level="-1" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ <object type="PU" os_level="-1" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_level="-1" os_index="0" cpuset="0x00ffffff" complete_cpuset="0x00ffffff" online_cpuset="0x00ffffff" allowed_cpuset="0x00ffffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003" name="machine2">
+ <info name="Backend" value="Synthetic"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="5.290000">
+ <latency value="4.347826"/>
+ <latency value="14.782610"/>
+ <latency value="1.000000"/>
+ <latency value="4.347826"/>
+ </distances>
+ <object type="NUMANode" os_level="-1" os_index="0" cpuset="0x00000fff" complete_cpuset="0x00000fff" online_cpuset="0x00000fff" allowed_cpuset="0x00000fff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Package" os_level="-1" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_level="-1" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Core" os_level="-1" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_level="-1" os_index="1" cpuset="0x000000f0" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x000000f0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="1" cpuset="0x000000f0" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x000000f0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_level="-1" os_index="2" cpuset="0x00000030" complete_cpuset="0x00000030" online_cpuset="0x00000030" allowed_cpuset="0x00000030" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Core" os_level="-1" os_index="3" cpuset="0x000000c0" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x000000c0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_level="-1" os_index="2" cpuset="0x00000f00" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x00000f00" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="2" cpuset="0x00000f00" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x00000f00" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_level="-1" os_index="4" cpuset="0x00000300" complete_cpuset="0x00000300" online_cpuset="0x00000300" allowed_cpuset="0x00000300" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Core" os_level="-1" os_index="5" cpuset="0x00000c00" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x00000c00" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_level="-1" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_level="-1" os_index="1" cpuset="0x00fff000" complete_cpuset="0x00fff000" online_cpuset="0x00fff000" allowed_cpuset="0x00fff000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Package" os_level="-1" os_index="3" cpuset="0x0000f000" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x0000f000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="3" cpuset="0x0000f000" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x0000f000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_level="-1" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Core" os_level="-1" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_level="-1" os_index="4" cpuset="0x000f0000" complete_cpuset="0x000f0000" online_cpuset="0x000f0000" allowed_cpuset="0x000f0000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="4" cpuset="0x000f0000" complete_cpuset="0x000f0000" online_cpuset="0x000f0000" allowed_cpuset="0x000f0000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_level="-1" os_index="8" cpuset="0x00030000" complete_cpuset="0x00030000" online_cpuset="0x00030000" allowed_cpuset="0x00030000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Core" os_level="-1" os_index="9" cpuset="0x000c0000" complete_cpuset="0x000c0000" online_cpuset="0x000c0000" allowed_cpuset="0x000c0000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_level="-1" os_index="5" cpuset="0x00f00000" complete_cpuset="0x00f00000" online_cpuset="0x00f00000" allowed_cpuset="0x00f00000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="5" cpuset="0x00f00000" complete_cpuset="0x00f00000" online_cpuset="0x00f00000" allowed_cpuset="0x00f00000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_level="-1" os_index="10" cpuset="0x00300000" complete_cpuset="0x00300000" online_cpuset="0x00300000" allowed_cpuset="0x00300000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Core" os_level="-1" os_index="11" cpuset="0x00c00000" complete_cpuset="0x00c00000" online_cpuset="0x00c00000" allowed_cpuset="0x00c00000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_level="-1" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_level="-1" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_level="-1" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="System" os_index="0">
+ <info name="Backend" value="Custom"/>
+ <object type="Machine" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" name="machine1" local_memory="4014239744">
+ <page_type size="4096" count="980039"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Latitude E6410"/>
+ <info name="DMIProductVersion" value="0001"/>
+ <info name="DMIBoardVendor" value="Dell Inc."/>
+ <info name="DMIBoardName" value="0667CC"/>
+ <info name="DMIBoardVersion" value="A00"/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="Dell Inc."/>
+ <info name="DMIChassisType" value="9"/>
+ <info name="DMIChassisVersion" value=" "/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="A03"/>
+ <info name="DMIBIOSDate" value="05/28/2010"/>
+ <info name="DMISysVendor" value="Dell Inc."/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.0.0-1-amd64"/>
+ <info name="OSVersion" value="#1 SMP Sun Jul 24 02:24:44 UTC 2011"/>
+ <info name="HostName" value="rhododendron"/>
+ <info name="Architecture" value="x86_64"/>
+ <info name="AssemblerName" value="input1"/>
+ <info name="AssemblerIndex" value="0"/>
+ <object type="Package" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f">
+ <object type="Cache" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Machine" os_index="0" cpuset="0x00ffffff" complete_cpuset="0x00ffffff" online_cpuset="0x00ffffff" allowed_cpuset="0x00ffffff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003" name="machine2">
+ <info name="Backend" value="Synthetic"/>
+ <info name="AssemblerName" value="input2"/>
+ <info name="AssemblerIndex" value="1"/>
+ <object type="NUMANode" os_index="0" cpuset="0x00000fff" complete_cpuset="0x00000fff" online_cpuset="0x00000fff" allowed_cpuset="0x00000fff" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Package" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_index="0" cpuset="0x00000003" complete_cpuset="0x00000003" online_cpuset="0x00000003" allowed_cpuset="0x00000003" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Core" os_index="1" cpuset="0x0000000c" complete_cpuset="0x0000000c" online_cpuset="0x0000000c" allowed_cpuset="0x0000000c" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="1" cpuset="0x000000f0" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x000000f0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="1" cpuset="0x000000f0" complete_cpuset="0x000000f0" online_cpuset="0x000000f0" allowed_cpuset="0x000000f0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_index="2" cpuset="0x00000030" complete_cpuset="0x00000030" online_cpuset="0x00000030" allowed_cpuset="0x00000030" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Core" os_index="3" cpuset="0x000000c0" complete_cpuset="0x000000c0" online_cpuset="0x000000c0" allowed_cpuset="0x000000c0" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="2" cpuset="0x00000f00" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x00000f00" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="2" cpuset="0x00000f00" complete_cpuset="0x00000f00" online_cpuset="0x00000f00" allowed_cpuset="0x00000f00" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_index="4" cpuset="0x00000300" complete_cpuset="0x00000300" online_cpuset="0x00000300" allowed_cpuset="0x00000300" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="8" cpuset="0x00000100" complete_cpuset="0x00000100" online_cpuset="0x00000100" allowed_cpuset="0x00000100" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="9" cpuset="0x00000200" complete_cpuset="0x00000200" online_cpuset="0x00000200" allowed_cpuset="0x00000200" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ <object type="Core" os_index="5" cpuset="0x00000c00" complete_cpuset="0x00000c00" online_cpuset="0x00000c00" allowed_cpuset="0x00000c00" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="Cache" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="10" cpuset="0x00000400" complete_cpuset="0x00000400" online_cpuset="0x00000400" allowed_cpuset="0x00000400" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ <object type="Cache" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="11" cpuset="0x00000800" complete_cpuset="0x00000800" online_cpuset="0x00000800" allowed_cpuset="0x00000800" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x00fff000" complete_cpuset="0x00fff000" online_cpuset="0x00fff000" allowed_cpuset="0x00fff000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="1073741824">
+ <page_type size="4096" count="262144"/>
+ <object type="Package" os_index="3" cpuset="0x0000f000" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x0000f000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="3" cpuset="0x0000f000" complete_cpuset="0x0000f000" online_cpuset="0x0000f000" allowed_cpuset="0x0000f000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_index="6" cpuset="0x00003000" complete_cpuset="0x00003000" online_cpuset="0x00003000" allowed_cpuset="0x00003000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="12" cpuset="0x00001000" complete_cpuset="0x00001000" online_cpuset="0x00001000" allowed_cpuset="0x00001000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="13" cpuset="0x00002000" complete_cpuset="0x00002000" online_cpuset="0x00002000" allowed_cpuset="0x00002000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Core" os_index="7" cpuset="0x0000c000" complete_cpuset="0x0000c000" online_cpuset="0x0000c000" allowed_cpuset="0x0000c000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="14" cpuset="0x00004000" complete_cpuset="0x00004000" online_cpuset="0x00004000" allowed_cpuset="0x00004000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="15" cpuset="0x00008000" complete_cpuset="0x00008000" online_cpuset="0x00008000" allowed_cpuset="0x00008000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="4" cpuset="0x000f0000" complete_cpuset="0x000f0000" online_cpuset="0x000f0000" allowed_cpuset="0x000f0000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="4" cpuset="0x000f0000" complete_cpuset="0x000f0000" online_cpuset="0x000f0000" allowed_cpuset="0x000f0000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_index="8" cpuset="0x00030000" complete_cpuset="0x00030000" online_cpuset="0x00030000" allowed_cpuset="0x00030000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="16" cpuset="0x00010000" complete_cpuset="0x00010000" online_cpuset="0x00010000" allowed_cpuset="0x00010000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="17" cpuset="0x00020000" complete_cpuset="0x00020000" online_cpuset="0x00020000" allowed_cpuset="0x00020000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Core" os_index="9" cpuset="0x000c0000" complete_cpuset="0x000c0000" online_cpuset="0x000c0000" allowed_cpuset="0x000c0000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="18" cpuset="0x00040000" complete_cpuset="0x00040000" online_cpuset="0x00040000" allowed_cpuset="0x00040000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="19" cpuset="0x00080000" complete_cpuset="0x00080000" online_cpuset="0x00080000" allowed_cpuset="0x00080000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Package" os_index="5" cpuset="0x00f00000" complete_cpuset="0x00f00000" online_cpuset="0x00f00000" allowed_cpuset="0x00f00000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="5" cpuset="0x00f00000" complete_cpuset="0x00f00000" online_cpuset="0x00f00000" allowed_cpuset="0x00f00000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="4194304" depth="2" cache_linesize="32" cache_associativity="4" cache_type="0">
+ <object type="Core" os_index="10" cpuset="0x00300000" complete_cpuset="0x00300000" online_cpuset="0x00300000" allowed_cpuset="0x00300000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="20" cpuset="0x00100000" complete_cpuset="0x00100000" online_cpuset="0x00100000" allowed_cpuset="0x00100000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="21" cpuset="0x00200000" complete_cpuset="0x00200000" online_cpuset="0x00200000" allowed_cpuset="0x00200000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ <object type="Core" os_index="11" cpuset="0x00c00000" complete_cpuset="0x00c00000" online_cpuset="0x00c00000" allowed_cpuset="0x00c00000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="Cache" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="22" cpuset="0x00400000" complete_cpuset="0x00400000" online_cpuset="0x00400000" allowed_cpuset="0x00400000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ <object type="Cache" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="32" cache_associativity="4" cache_type="1">
+ <object type="PU" os_index="23" cpuset="0x00800000" complete_cpuset="0x00800000" online_cpuset="0x00800000" allowed_cpuset="0x00800000" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Machine" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" name="machine1" local_memory="4014239744">
+ <page_type size="4096" count="980039"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="Latitude E6410"/>
+ <info name="DMIProductVersion" value="0001"/>
+ <info name="DMIBoardVendor" value="Dell Inc."/>
+ <info name="DMIBoardName" value="0667CC"/>
+ <info name="DMIBoardVersion" value="A00"/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="Dell Inc."/>
+ <info name="DMIChassisType" value="9"/>
+ <info name="DMIChassisVersion" value=" "/>
+ <info name="DMIChassisAssetTag" value=""/>
+ <info name="DMIBIOSVendor" value="Dell Inc."/>
+ <info name="DMIBIOSVersion" value="A03"/>
+ <info name="DMIBIOSDate" value="05/28/2010"/>
+ <info name="DMISysVendor" value="Dell Inc."/>
+ <info name="Backend" value="Linux"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="3.0.0-1-amd64"/>
+ <info name="OSVersion" value="#1 SMP Sun Jul 24 02:24:44 UTC 2011"/>
+ <info name="HostName" value="rhododendron"/>
+ <info name="Architecture" value="x86_64"/>
+ <info name="AssemblerName" value="input1again"/>
+ <info name="AssemblerIndex" value="2"/>
+ <object type="Package" os_index="0" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f">
+ <object type="Cache" cpuset="0x0000000f" complete_cpuset="0x0000000f" online_cpuset="0x0000000f" allowed_cpuset="0x0000000f" cache_size="4194304" depth="3" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="0" cpuset="0x00000005" complete_cpuset="0x00000005" online_cpuset="0x00000005" allowed_cpuset="0x00000005">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001"/>
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004"/>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Core" os_index="2" cpuset="0x0000000a" complete_cpuset="0x0000000a" online_cpuset="0x0000000a" allowed_cpuset="0x0000000a">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002"/>
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009-2015 Inria. All rights reserved.
+# Copyright © 2009, 2011 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_VERSION="@HWLOC_VERSION@"
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+assembler="$HWLOC_top_builddir/utils/hwloc/hwloc-assembler"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+SED="@SED@"
+EXEEXT="@EXEEXT@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+if test x@HWLOC_XML_LOCALIZED@ = x1; then
+ # make sure we use default numeric formats
+ LANG=C
+ LC_ALL=C
+ export LANG LC_ALL
+fi
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-hwloc-assembler.output"
+
+set -e
+
+$assembler $file \
+ --name input1 $HWLOC_top_srcdir/utils/hwloc/test-hwloc-assembler.input1 \
+ --name input2 $HWLOC_top_srcdir/utils/hwloc/test-hwloc-assembler.input2 \
+ --name input1again $HWLOC_top_srcdir/utils/hwloc/test-hwloc-assembler.input1
+
+# filter hwlocVersion since it often changes
+# filter ProcessName since it may be hwloc-info or lt-hwloc-info
+cat $file \
+ | $SED -e '/<info name=\"hwlocVersion\" value=\"'$HWLOC_VERSION'\"\/>/d' \
+ | $SED -e '/<info name=\"ProcessName\" value=\"hwloc-assembler'$EXEEXT'\"\/>/d' -e '/<info name=\"ProcessName\" value=\"lt-hwloc-assembler'$EXEEXT'\"\/>/d' \
+ > ${file}.tmp
+mv -f ${file}.tmp $file
+
+diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/hwloc/test-hwloc-assembler.output "$file"
+rm -rf "$tmp"
--- /dev/null
+0xffffffff,0xffffffff
+0xffffffffffffffff
+
+0x0000000f
+0x00000f0c
+0x0000800a
+
+0x55555555,0x55555555
+0xffffffff,0x0
+0xffff0000,0x0
+0xc0000000,0x000000ff
+0x66666666,0x66666666
+0x10101010,0x10101010
+0x8000c000,0x000ee0c0
+
+4
+4
+16
+
+0
+1
+2,3
+
+NUMANode:0.PU:2 NUMANode:0.PU:3
+NUMANode:0.Core:0fooNUMANode:0.Core:1
+Core:0.PU:3 Core:1.PU:0 Core:1.PU:1 Core:1.PU:2
+3,4,5,6
+NUMANode:0.Core:2.PU:3 NUMANode:0.Core:3.PU:0 NUMANode:0.Core:3.PU:1 NUMANode:0.Core:3.PU:2
+11,12,13,14
+
+Core:3 NUMANode:1 Core:8 PU:36 PU:37
+PU:22_PU:23_Core:6_Core:7_NUMANode:2
+
+0x00400000
+22
+
+33,34,35,36,37
+1foo2
+
+2,1
+4,20,32,48
+
+0x0000000b
+0x0000ff0f
+0x0000e03f
+
+0xffffffff,0xffff0000,0x0
+0xffffff00,,0x0
+0x000000ff,0xffff0000,0x0
+0xffffffff,0xffff0000,0x0
+0xffffff00,,0x00ffffff
+0x00ffffff
+0x000000ff,0xffffffff,0xff000000
+0x000000ff,0xffff0000,0x00ffffff
+0x0
+0x00ffffff
+
+0x00000001
+0xf0000000,0x0000000f
+0xffff0000,0x0000ffff
+0x0000000f
+0x00000001
+0x00000001,,0x0
+0xffffffff,0xffffffff
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009, 2011 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+calc="$HWLOC_top_builddir/utils/hwloc/hwloc-calc"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-hwloc-calc.output"
+
+set -e
+(
+ $calc --if synthetic --input "node:4 core:4 pu:4" root
+ $calc --if synthetic --input "node:4 core:4 pu:4" all --taskset
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" 0xf
+ $calc --if synthetic --input "node:4 core:4 pu:4" 0xf ~0x3 0xff0 '^0xf0'
+ $calc --if synthetic --input "node:4 core:4 pu:4" core:0 pu:15 ~pu:0 '^pu:2'
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:even
+ $calc --if synthetic --input "node:4 core:4 pu:4" node:2-
+ $calc --if synthetic --input "node:4 core:4 pu:4" core:12-
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:62:10
+ $calc --if synthetic --input "node:4 core:4 pu:4" core:all.pu:1:2
+ $calc --if synthetic --input "node:4 core:4 pu:4" core:odd.pu:0
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:6:2 core:3-4.pu:1-3 node:2.pu:14:2 node:3.core:3.pu:3
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" root --number-of node
+ $calc --if synthetic --input "node:4 core:4 pu:4" node:2 -N core
+ $calc --if synthetic --input "node:4 core:4 pu:4" node:2 -N 3
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" root --intersect Machine
+ $calc --if synthetic --input "node:4 core:4 pu:4" core:4-7 -I NUMANode
+ $calc --if synthetic --input "node:4 core:4 pu:4" core:10-15 -I 1
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:2-3 --hierarchical node.pu
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:3-6 -H node.core --sep foo
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:3-6 -H core.pu
+ $calc --if synthetic --input "node:4 core:4 pu:4" -I pu `$calc --if synthetic --input "node:4 core:4 pu:4" pu:3-6 -H core.pu`
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:11:4 -H node.core.pu
+ $calc --if synthetic --input "node:4 core:4 pu:4" -I pu `$calc --if synthetic --input "node:4 core:4 pu:4" pu:11:4 -H node.core.pu`
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:12-37 --largest
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:22-47 --largest --sep "_"
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:22-47 --single
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:22-47 --single --pulist
+ echo
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:33-37 --pulist --po
+ $calc --if synthetic --input "node:4 core:4 pu:4" pu:30-37 --nodelist --po --sep foo
+ echo
+ $calc --if synthetic --input "node:4(indexes=3,2,1,0) pu:2" node:1-2 --po -I node
+ $calc --if synthetic --input "node:4 core:4 pu:4(indexes=node:core)" --pi pu:2-5 -I pu
+ echo
+ $calc --if synthetic --input "group:2 cache:2 pu:1" group:0 cache:3
+ $calc --if synthetic --input "group:2 group:2 cache:2 cache:2 pu:1" Group2:1 Group1:0
+ $calc --if synthetic --input "group:2 group:2 cache:2 cache:2 pu:1" l2:0-2 L1cache:13:3
+ echo
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml os=eth6 os=eth4
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml os=sdc os=sr0 ~os=sda
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml os:7-8
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml pci:10-11
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml pci'[1000:0062]':3:2
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml pci'[14e4:1639]':1
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml pci'[14e4:1639]':2-5
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml pci=0000:62:00.1 pci=0000:02:00.1
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml pci=0000:62:00.1 xpci=0000:02:00.0
+ $calc --if xml --input $HWLOC_top_srcdir/tests/xml/96em64t-4n4d3ca2co-pci.xml pci=0000:02:00.0 xpci=0000:02:00.1
+ echo
+ cat << EOF | $calc --if synthetic --input "node:4 core:4 pu:4"
+pu:0
+core:0 core:15
+node:0 node:3
+0x0001 0x00002 0x000004 0x000000000008
+0x0000000000000000000000000000000000000000000000000000000000000000000000000000001
+0x1,0x0,0x0
+root
+EOF
+) > "$file"
+diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/hwloc/test-hwloc-calc.output "$file"
+rm -rf "$tmp"
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2013 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+compress="$HWLOC_top_builddir/utils/hwloc/hwloc-compress-dir"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+if test x@HWLOC_XML_LOCALIZED@ = x1; then
+ # make sure we use default numeric formats
+ LANG=C
+ LC_ALL=C
+ export LANG LC_ALL
+fi
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+
+set -e
+
+(cd "$tmp" && gunzip -c $HWLOC_top_srcdir/utils/hwloc/test-hwloc-compress-dir.input.tar.gz | tar xf -)
+(cd "$tmp" && gunzip -c $HWLOC_top_srcdir/utils/hwloc/test-hwloc-compress-dir.output.tar.gz | tar xf -)
+(cd "$tmp" && mkdir test-hwloc-compress-dir.newoutput)
+(cd "$tmp" && mkdir test-hwloc-compress-dir.newoutput2)
+
+$compress "$tmp/test-hwloc-compress-dir.input" "$tmp/test-hwloc-compress-dir.newoutput"
+
+diff @HWLOC_DIFF_U@ -r "$tmp/test-hwloc-compress-dir.output" "$tmp/test-hwloc-compress-dir.newoutput"
+
+$compress -R "$tmp/test-hwloc-compress-dir.newoutput" "$tmp/test-hwloc-compress-dir.newoutput2"
+
+diff @HWLOC_DIFF_U@ -r "$tmp/test-hwloc-compress-dir.input" "$tmp/test-hwloc-compress-dir.newoutput2"
+
+rm -rf "$tmp"
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x000000ff" complete_cpuset="0x0000ffff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="ProLiant DL170h G6 "/>
+ <info name="DMIProductVersion" value=" "/>
+ <info name="DMIBoardVendor" value="HP"/>
+ <info name="DMIBoardName" value="ProLiant DL170h G6 "/>
+ <info name="DMIBoardVersion" value=" "/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="HP"/>
+ <info name="DMIChassisType" value="25"/>
+ <info name="DMIChassisVersion" value=" "/>
+ <info name="DMIChassisAssetTag" value=" "/>
+ <info name="DMIBIOSVendor" value="HP"/>
+ <info name="DMIBIOSVersion" value="O34 "/>
+ <info name="DMIBIOSDate" value="08/25/2009"/>
+ <info name="DMISysVendor" value="HP"/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/torque/2269195.torque.plafrim.cluster"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="2.6.27.39-0.3-perfctr"/>
+ <info name="OSVersion" value="#1 SMP 2009-11-23 12:57:38 +0100"/>
+ <info name="HostName" value="fourmi023"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00000055" complete_cpuset="0x00000055" online_cpuset="0x00000055" allowed_cpuset="0x00000055" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="12875255808">
+ <page_type size="4096" count="3143373"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x00000055" complete_cpuset="0x00000055" online_cpuset="0x00000055" allowed_cpuset="0x00000055" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU X5550 @ 2.67GHz"/>
+ <object type="Cache" cpuset="0x00000055" complete_cpuset="0x00000055" online_cpuset="0x00000055" allowed_cpuset="0x00000055" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="8388608" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-05]">
+ <object type="Bridge" os_index="80" bridge_type="1-1" depth="1" bridge_pci="0000:[05-05]" pci_busid="0000:00:05.0" pci_type="0604 [8086:340c] [0000:0000] 13" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="20480" pci_busid="0000:05:00.0" pci_type="0200 [8086:10c9] [003c:003f] 01" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="18:a9:05:58:08:54"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="20481" pci_busid="0000:05:00.1" pci_type="0200 [8086:10c9] [003c:003f] 01" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="18:a9:05:58:08:55"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="112" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:00:07.0" pci_type="0604 [8086:340e] [0000:0000] 13" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="16384" pci_busid="0000:04:00.0" pci_type="0c06 [15b3:673c] [00b3:003c] a0" pci_link_speed="0.000000">
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:06:dc:a5"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="ib1" osdev_type="2">
+ <info name="Address" value="80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:06:dc:a6"/>
+ <info name="Port" value="2"/>
+ </object>
+ <object type="OSDev" name="mlx4_0" osdev_type="3">
+ <info name="NodeGUID" value="0002:c903:0006:dca4"/>
+ <info name="SysImageGUID" value="0002:c903:0006:dca7"/>
+ <info name="Port1LID" value="0x5a"/>
+ <info name="Port1LMC" value="0"/>
+ <info name="Port1GID0" value="fe80:0000:0000:0000:0002:c903:0006:dca5"/>
+ <info name="Port2LID" value="0x0"/>
+ <info name="Port2LMC" value="0"/>
+ <info name="Port2GID0" value="fe80:0000:0000:0000:0002:c903:0006:dca6"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="450" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:1c.2" pci_type="0604 [8086:3a44] [0000:0000] 00" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="8192" pci_busid="0000:02:00.0" pci_type="0300 [102b:0522] [003c:00fa] 02" pci_link_speed="0.000000"/>
+ </object>
+ <object type="PCIDev" os_index="498" pci_busid="0000:00:1f.2" pci_type="0106 [8086:3a22] [0086:0022] 00" pci_link_speed="0.000000">
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ <object type="OSDev" name="sdb" osdev_type="0"/>
+ <object type="OSDev" name="sdc" osdev_type="0"/>
+ <object type="OSDev" name="sdd" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x000000aa" complete_cpuset="0x000000aa" online_cpuset="0x000000aa" allowed_cpuset="0x000000aa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="12884901888">
+ <page_type size="4096" count="3145728"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x000000aa" complete_cpuset="0x000000aa" online_cpuset="0x000000aa" allowed_cpuset="0x000000aa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU X5550 @ 2.67GHz"/>
+ <object type="Cache" cpuset="0x000000aa" complete_cpuset="0x000000aa" online_cpuset="0x000000aa" allowed_cpuset="0x000000aa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="8388608" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE topology SYSTEM "hwloc.dtd">
+<topology>
+ <object type="Machine" os_index="0" cpuset="0x000000ff" complete_cpuset="0x0000ffff" online_cpuset="0x000000ff" allowed_cpuset="0x000000ff" nodeset="0x00000003" complete_nodeset="0x00000003" allowed_nodeset="0x00000003">
+ <page_type size="4096" count="0"/>
+ <page_type size="2097152" count="0"/>
+ <info name="DMIProductName" value="ProLiant DL170h G6 "/>
+ <info name="DMIProductVersion" value=" "/>
+ <info name="DMIBoardVendor" value="HP"/>
+ <info name="DMIBoardName" value="ProLiant DL170h G6 "/>
+ <info name="DMIBoardVersion" value=" "/>
+ <info name="DMIBoardAssetTag" value=" "/>
+ <info name="DMIChassisVendor" value="HP"/>
+ <info name="DMIChassisType" value="25"/>
+ <info name="DMIChassisVersion" value=" "/>
+ <info name="DMIChassisAssetTag" value=" "/>
+ <info name="DMIBIOSVendor" value="HP"/>
+ <info name="DMIBIOSVersion" value="O34 "/>
+ <info name="DMIBIOSDate" value="08/25/2009"/>
+ <info name="DMISysVendor" value="HP"/>
+ <info name="Backend" value="Linux"/>
+ <info name="LinuxCgroup" value="/torque/2269196.torque.plafrim.cluster"/>
+ <info name="OSName" value="Linux"/>
+ <info name="OSRelease" value="2.6.27.39-0.3-perfctr"/>
+ <info name="OSVersion" value="#1 SMP 2009-11-23 12:57:38 +0100"/>
+ <info name="HostName" value="fourmi024"/>
+ <info name="Architecture" value="x86_64"/>
+ <distances nbobjs="2" relative_depth="1" latency_base="10.000000">
+ <latency value="1.000000"/>
+ <latency value="2.000000"/>
+ <latency value="2.000000"/>
+ <latency value="1.000000"/>
+ </distances>
+ <object type="NUMANode" os_index="0" cpuset="0x00000055" complete_cpuset="0x00000055" online_cpuset="0x00000055" allowed_cpuset="0x00000055" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" local_memory="12875255808">
+ <page_type size="4096" count="3143373"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="0" cpuset="0x00000055" complete_cpuset="0x00000055" online_cpuset="0x00000055" allowed_cpuset="0x00000055" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU X5550 @ 2.67GHz"/>
+ <object type="Cache" cpuset="0x00000055" complete_cpuset="0x00000055" online_cpuset="0x00000055" allowed_cpuset="0x00000055" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="8388608" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="0" cpuset="0x00000001" complete_cpuset="0x00000001" online_cpuset="0x00000001" allowed_cpuset="0x00000001" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="2" cpuset="0x00000004" complete_cpuset="0x00000004" online_cpuset="0x00000004" allowed_cpuset="0x00000004" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="4" cpuset="0x00000010" complete_cpuset="0x00000010" online_cpuset="0x00000010" allowed_cpuset="0x00000010" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001">
+ <object type="PU" os_index="6" cpuset="0x00000040" complete_cpuset="0x00000040" online_cpuset="0x00000040" allowed_cpuset="0x00000040" nodeset="0x00000001" complete_nodeset="0x00000001" allowed_nodeset="0x00000001"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="0" bridge_type="0-1" depth="0" bridge_pci="0000:[00-05]">
+ <object type="Bridge" os_index="80" bridge_type="1-1" depth="1" bridge_pci="0000:[05-05]" pci_busid="0000:00:05.0" pci_type="0604 [8086:340c] [0000:0000] 13" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="20480" pci_busid="0000:05:00.0" pci_type="0200 [8086:10c9] [003c:003f] 01" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth0" osdev_type="2">
+ <info name="Address" value="18:a9:05:58:07:c6"/>
+ </object>
+ </object>
+ <object type="PCIDev" os_index="20481" pci_busid="0000:05:00.1" pci_type="0200 [8086:10c9] [003c:003f] 01" pci_link_speed="0.000000">
+ <object type="OSDev" name="eth1" osdev_type="2">
+ <info name="Address" value="18:a9:05:58:07:c7"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="112" bridge_type="1-1" depth="1" bridge_pci="0000:[04-04]" pci_busid="0000:00:07.0" pci_type="0604 [8086:340e] [0000:0000] 13" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="16384" pci_busid="0000:04:00.0" pci_type="0c06 [15b3:673c] [00b3:003c] a0" pci_link_speed="0.000000">
+ <object type="OSDev" name="ib0" osdev_type="2">
+ <info name="Address" value="80:00:00:48:fe:80:00:00:00:00:00:00:00:02:c9:03:00:06:db:45"/>
+ <info name="Port" value="1"/>
+ </object>
+ <object type="OSDev" name="ib1" osdev_type="2">
+ <info name="Address" value="80:00:00:49:fe:80:00:00:00:00:00:00:00:02:c9:03:00:06:db:46"/>
+ <info name="Port" value="2"/>
+ </object>
+ <object type="OSDev" name="mlx4_0" osdev_type="3">
+ <info name="NodeGUID" value="0002:c903:0006:db44"/>
+ <info name="SysImageGUID" value="0002:c903:0006:db47"/>
+ <info name="Port1LID" value="0x53"/>
+ <info name="Port1LMC" value="0"/>
+ <info name="Port1GID0" value="fe80:0000:0000:0000:0002:c903:0006:db45"/>
+ <info name="Port2LID" value="0x0"/>
+ <info name="Port2LMC" value="0"/>
+ <info name="Port2GID0" value="fe80:0000:0000:0000:0002:c903:0006:db46"/>
+ </object>
+ </object>
+ </object>
+ <object type="Bridge" os_index="450" bridge_type="1-1" depth="1" bridge_pci="0000:[02-02]" pci_busid="0000:00:1c.2" pci_type="0604 [8086:3a44] [0000:0000] 00" pci_link_speed="0.000000">
+ <object type="PCIDev" os_index="8192" pci_busid="0000:02:00.0" pci_type="0300 [102b:0522] [003c:00fa] 02" pci_link_speed="0.000000"/>
+ </object>
+ <object type="PCIDev" os_index="498" pci_busid="0000:00:1f.2" pci_type="0106 [8086:3a22] [0086:0022] 00" pci_link_speed="0.000000">
+ <object type="OSDev" name="sda" osdev_type="0"/>
+ <object type="OSDev" name="sdb" osdev_type="0"/>
+ <object type="OSDev" name="sdc" osdev_type="0"/>
+ <object type="OSDev" name="sdd" osdev_type="0"/>
+ </object>
+ </object>
+ </object>
+ <object type="NUMANode" os_index="1" cpuset="0x000000aa" complete_cpuset="0x000000aa" online_cpuset="0x000000aa" allowed_cpuset="0x000000aa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" local_memory="12884901888">
+ <page_type size="4096" count="3145728"/>
+ <page_type size="2097152" count="0"/>
+ <object type="Package" os_index="1" cpuset="0x000000aa" complete_cpuset="0x000000aa" online_cpuset="0x000000aa" allowed_cpuset="0x000000aa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <info name="CPUModel" value="Intel(R) Xeon(R) CPU X5550 @ 2.67GHz"/>
+ <object type="Cache" cpuset="0x000000aa" complete_cpuset="0x000000aa" online_cpuset="0x000000aa" allowed_cpuset="0x000000aa" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="8388608" depth="3" cache_linesize="64" cache_associativity="16" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="0" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="1" cpuset="0x00000002" complete_cpuset="0x00000002" online_cpuset="0x00000002" allowed_cpuset="0x00000002" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="1" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="3" cpuset="0x00000008" complete_cpuset="0x00000008" online_cpuset="0x00000008" allowed_cpuset="0x00000008" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="2" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="5" cpuset="0x00000020" complete_cpuset="0x00000020" online_cpuset="0x00000020" allowed_cpuset="0x00000020" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="262144" depth="2" cache_linesize="64" cache_associativity="8" cache_type="0">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="8" cache_type="1">
+ <object type="Cache" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002" cache_size="32768" depth="1" cache_linesize="64" cache_associativity="4" cache_type="2">
+ <object type="Core" os_index="3" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002">
+ <object type="PU" os_index="7" cpuset="0x00000080" complete_cpuset="0x00000080" online_cpuset="0x00000080" allowed_cpuset="0x00000080" nodeset="0x00000002" complete_nodeset="0x00000002" allowed_nodeset="0x00000002"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+</topology>
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009-2013 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+diff="$HWLOC_top_builddir/utils/hwloc/hwloc-diff"
+patch="$HWLOC_top_builddir/utils/hwloc/hwloc-patch"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+if test x@HWLOC_XML_LOCALIZED@ = x1; then
+ # make sure we use default numeric formats
+ LANG=C
+ LC_ALL=C
+ export LANG LC_ALL
+fi
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+
+cd "$tmp"
+diffoutput="test-hwloc-diffpatch.diff.xml"
+output1="test-hwloc-diffpatch.output1"
+output2="test-hwloc-diffpatch.output2"
+
+set -e
+
+$diff $HWLOC_top_srcdir/utils/hwloc/test-hwloc-diffpatch.input1 $HWLOC_top_srcdir/utils/hwloc/test-hwloc-diffpatch.input2 > $diffoutput
+cp $HWLOC_top_srcdir/utils/hwloc/test-hwloc-diffpatch.input1 .
+#cat $diffoutput | $patch $HWLOC_top_srcdir/utils/hwloc/test-hwloc-diffpatch.input1 - $output1
+cat $diffoutput | $patch refname - $output1
+$patch -R $HWLOC_top_srcdir/utils/hwloc/test-hwloc-diffpatch.input2 $diffoutput $output2
+
+diff -u $HWLOC_top_srcdir/utils/hwloc/test-hwloc-diffpatch.input1 "$output2"
+diff -u $HWLOC_top_srcdir/utils/hwloc/test-hwloc-diffpatch.input2 "$output1"
+
+cd ..
+rm -rf "$tmp"
--- /dev/null
+
+Relative latency matrix between 2 Packages (depth 1) by physical indexes (below Machine P#0):
+ index 0 1
+ 0 780000.000 1520000.000
+ 1 15200.000 1.000
+
+Relative latency matrix between 16 PUs (depth 4) by logical indexes (below Machine L#0):
+ index 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ 0 1.000 2.000 2.000 2.000 4.000 4.000 4.000 4.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 1 2.000 1.000 2.000 2.000 4.000 4.000 4.000 4.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 2 2.000 2.000 1.000 2.000 4.000 4.000 4.000 4.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 3 2.000 2.000 2.000 1.000 4.000 4.000 4.000 4.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 4 4.000 4.000 4.000 4.000 1.000 2.000 2.000 2.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 5 4.000 4.000 4.000 4.000 2.000 1.000 2.000 2.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 6 4.000 4.000 4.000 4.000 2.000 2.000 1.000 2.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 7 4.000 4.000 4.000 4.000 2.000 2.000 2.000 1.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 8 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 1.000 2.000 2.000 2.000 4.000 4.000 4.000 4.000
+ 9 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 2.000 1.000 2.000 2.000 4.000 4.000 4.000 4.000
+ 10 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 2.000 2.000 1.000 2.000 4.000 4.000 4.000 4.000
+ 11 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 2.000 2.000 2.000 1.000 4.000 4.000 4.000 4.000
+ 12 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 4.000 4.000 4.000 4.000 1.000 2.000 2.000 2.000
+ 13 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 4.000 4.000 4.000 4.000 2.000 1.000 2.000 2.000
+ 14 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 4.000 4.000 4.000 4.000 2.000 2.000 1.000 2.000
+ 15 8.000 8.000 8.000 8.000 8.000 8.000 8.000 8.000 4.000 4.000 4.000 4.000 2.000 2.000 2.000 1.000
+
+Relative latency matrix between 4 Cores (depth 2) by physical indexes (below Machine P#0):
+ index 0 1 2 3
+ 0 1.000 4.000 8.000 8.000
+ 1 4.000 1.000 8.000 8.000
+ 2 8.000 8.000 1.000 4.000
+ 3 8.000 8.000 4.000 1.000
+Relative latency matrix between 12 PUs (depth 4) by physical indexes (below Group0 P#4294967295):
+ index 0 2 4 1 3 5 6 8 10 7 9 11
+ 0 1.000 2.000 2.000 4.000 4.000 4.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 2 2.000 1.000 2.000 4.000 4.000 4.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 4 2.000 2.000 1.000 4.000 4.000 4.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 1 4.000 4.000 4.000 1.000 2.000 2.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 3 4.000 4.000 4.000 2.000 1.000 2.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 5 4.000 4.000 4.000 2.000 2.000 1.000 8.000 8.000 8.000 8.000 8.000 8.000
+ 6 8.000 8.000 8.000 8.000 8.000 8.000 1.000 2.000 2.000 4.000 4.000 4.000
+ 8 8.000 8.000 8.000 8.000 8.000 8.000 2.000 1.000 2.000 4.000 4.000 4.000
+ 10 8.000 8.000 8.000 8.000 8.000 8.000 2.000 2.000 1.000 4.000 4.000 4.000
+ 7 8.000 8.000 8.000 8.000 8.000 8.000 4.000 4.000 4.000 1.000 2.000 2.000
+ 9 8.000 8.000 8.000 8.000 8.000 8.000 4.000 4.000 4.000 2.000 1.000 2.000
+ 11 8.000 8.000 8.000 8.000 8.000 8.000 4.000 4.000 4.000 2.000 2.000 1.000
+
+Relative latency matrix between 4 NUMANodes (depth 3) by logical indexes (below Machine L#1):
+ index 4 5 6 7
+ 4 1.000 4.000 8.000 8.000
+ 5 4.000 1.000 8.000 8.000
+ 6 8.000 8.000 1.000 4.000
+ 7 8.000 8.000 4.000 1.000
+
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2012-2014 Inria. All rights reserved.
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+distances="$HWLOC_top_builddir/utils/hwloc/hwloc-distances"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+# make sure we use default numeric formats
+LANG=C
+LC_ALL=C
+export LANG LC_ALL
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-hwloc-distances.output"
+
+set -e
+(
+ $distances -i "pu:4"
+ echo
+
+ HWLOC_Package_DISTANCES=0,1:23.4,45.6,0.456,0.00003
+ export HWLOC_Package_DISTANCES
+ $distances -i "pack:2 pu:2" -p
+ HWLOC_Package_DISTANCES=none
+ echo
+
+ HWLOC_PU_DISTANCES=0-15:2*2*4
+ export HWLOC_PU_DISTANCES
+ $distances -i "core:8 pu:2" -l
+ HWLOC_PU_DISTANCES=none
+ echo
+
+ HWLOC_PU_DISTANCES=0,2,4,1,3,5,6,8,10,7,9,11:2*2*3
+ export HWLOC_PU_DISTANCES
+ HWLOC_Core_DISTANCES=0-3:2*2
+ export HWLOC_Core_DISTANCES
+ $distances -i "core:4 pu:6" -p
+ HWLOC_PU_DISTANCES=none
+ HWLOC_Core_DISTANCES=none
+ echo
+
+ HWLOC_NUMANode_DISTANCES=4-7:2*2
+ export HWLOC_NUMANode_DISTANCES
+ $distances -i "machine:4 node:4 pu:2" -l
+ HWLOC_NUMANode_DISTANCES=none
+ echo
+) > "$file"
+diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/hwloc/test-hwloc-distances.output "$file"
+rm -rf "$tmp"
--- /dev/null
+0x0000000f
+0x000000f0
+
+0x00000003
+0x0000000c
+0x00000030
+0x000000c0
+
+0x00000001
+0x00000002
+0x00000004
+0x00000008
+0x00000010
+0x00000020
+0x00000040
+0x00000080
+
+0x00000001
+0x00000001
+0x00000002
+0x00000002
+0x00000004
+0x00000004
+0x00000008
+0x00000010
+0x00000010
+0x00000020
+0x00000040
+0x00000040
+0x00000080
+
+0x00000001
+0x00000001
+0x00000002
+0x00000002
+0x00000004
+0x00000004
+0x00000008
+0x00000008
+0x00000010
+0x00000010
+0x00000020
+0x00000020
+0x00000040
+0x00000040
+0x00000080
+0x00000080
+
+0x00000007
+0x000001f8
+0x0003fe00
+0x07fc0000
+
+0x00000001
+0x00000008
+0x00000200
+0x00040000
+
+0x07000000
+0x00fc0000
+0x0003fe00
+0x000001ff
+
+0x04000000
+0x00800000
+0x00020000
+0x00000100
+
+0x000000ff
+0x0000ff00
+
+0x00000001
+0x00000100
+
+0x00008000
+0x00000080
+
+0x000000ff
+0x0000ff00
+0xffff0000
+0x0000ffff,0x0
+0xffff0000,0x0
+0x000000ff,,0x0
+0x0000ff00,,0x0
+0xffff0000,,0x0
+0x0000ffff,,,0x0
+0xffff0000,,,0x0
+0x000000ff,,,,0x0
+0x0000ff00,,,,0x0
+0xffff0000,,,,0x0
+0x0000ffff,,,,,0x0
+0xffff0000,,,,,0x0
+0x0000ffff,,,,,,0x0
+0xffff0000,,,,,,0x0
+0x0000ffff,,,,,,,0x0
+0xffff0000,,,,,,,0x0
+
+0x00000001
+0x00000002
+0x0000000c
+0x00000030
+0x000000c0
+0x00000300
+0x00000c00
+0x00003000
+0x0000c000
+
+0x00000001
+0x00000006
+0x00000018
+0x00000060
+0x00000080
+0x00000300
+0x00000c00
+0x00003000
+0x0000c000
+
+0x00000003
+0x00000003
+0x0000000c
+0x00000030
+0x000000c0
+0x00000300
+0x00000c00
+0x00003000
+0x0000c000
+
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+distrib="$HWLOC_top_builddir/utils/hwloc/hwloc-distrib"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-hwloc-distrib.output"
+
+set -e
+(
+ $distrib --if synthetic --input "2 2 2" 2
+ echo
+ $distrib --if synthetic --input "2 2 2" 4
+ echo
+ $distrib --if synthetic --input "2 2 2" 8
+ echo
+ $distrib --if synthetic --input "2 2 2" 13
+ echo
+ $distrib --if synthetic --input "2 2 2" 16
+ echo
+ $distrib --if synthetic --input "3 3 3" 4
+ echo
+ $distrib --if synthetic --input "3 3 3" 4 --single
+ echo
+ $distrib --if synthetic --input "3 3 3" 4 --reverse
+ echo
+ $distrib --if synthetic --input "3 3 3" 4 --reverse --single
+ echo
+ $distrib --if synthetic --input "4 4" 2
+ echo
+ $distrib --if synthetic --input "4 4" 2 --single
+ echo
+ $distrib --if synthetic --input "4 4" 2 --reverse --single
+ echo
+ $distrib --if synthetic --input "4 4 4 4" 19
+ echo
+
+ $distrib --if synthetic --input "2 2 2 2" 9
+ echo
+ $distrib --if synthetic --input "2 2 2 2" --from pu 9
+ echo
+ $distrib --if synthetic --input "2 2 2 2" --to core 9
+ echo
+) > "$file"
+diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/hwloc/test-hwloc-distrib.output "$file"
+rm -rf "$tmp"
--- /dev/null
+depth 0: 1 Machine (type #1)
+ depth 1: 2 NUMANode (type #2)
+ depth 2: 6 Core (type #5)
+ depth 3: 24 PU (type #6)
+
+depth 0: 1 Machine (type #1)
+ depth 1: 2 NUMANode (type #2)
+ depth 2: 6 Core (type #5)
+ depth 3: 24 PU (type #6)
+
+discovery:pu = 1
+cpubind:set_thisproc_cpubind = 0
+cpubind:get_thisproc_cpubind = 0
+cpubind:set_proc_cpubind = 0
+cpubind:get_proc_cpubind = 0
+cpubind:set_thisthread_cpubind = 0
+cpubind:get_thisthread_cpubind = 0
+cpubind:set_thread_cpubind = 0
+cpubind:get_thread_cpubind = 0
+cpubind:get_thisproc_last_cpu_location = 0
+cpubind:get_proc_last_cpu_location = 0
+cpubind:get_thisthread_last_cpu_location = 0
+membind:set_thisproc_membind = 0
+membind:get_thisproc_membind = 0
+membind:set_proc_membind = 0
+membind:get_proc_membind = 0
+membind:set_thisthread_membind = 0
+membind:get_thisthread_membind = 0
+membind:set_area_membind = 0
+membind:get_area_membind = 0
+membind:alloc_membind = 0
+membind:firsttouch_membind = 0
+membind:bind_membind = 0
+membind:interleave_membind = 0
+membind:nexttouch_membind = 0
+membind:migrate_membind = 0
+membind:get_area_memlocation = 0
+
+
+Core L#2
+ type = Core
+ full type = Core
+ logical index = 2
+ os index = 2
+ depth = 2
+ sibling rank = 2
+ children = 4
+ cpuset = 0x00000f00
+ complete cpuset = 0x00000f00
+ online cpuset = 0x00000f00
+ allowed cpuset = 0x00000f00
+ nodeset = 0x00000001
+ complete nodeset = 0x00000001
+ allowed nodeset = 0x00000001
+ symmetric subtree = 1
+Core L#3
+ type = Core
+ full type = Core
+ logical index = 3
+ os index = 3
+ depth = 2
+ sibling rank = 0
+ children = 4
+ cpuset = 0x0000f000
+ complete cpuset = 0x0000f000
+ online cpuset = 0x0000f000
+ allowed cpuset = 0x0000f000
+ nodeset = 0x00000002
+ complete nodeset = 0x00000002
+ allowed nodeset = 0x00000002
+ symmetric subtree = 1
+Core L#4
+ type = Core
+ full type = Core
+ logical index = 4
+ os index = 4
+ depth = 2
+ sibling rank = 1
+ children = 4
+ cpuset = 0x000f0000
+ complete cpuset = 0x000f0000
+ online cpuset = 0x000f0000
+ allowed cpuset = 0x000f0000
+ nodeset = 0x00000002
+ complete nodeset = 0x00000002
+ allowed nodeset = 0x00000002
+ symmetric subtree = 1
+
+0.0: PU L#10
+0.0: type = PU
+0.0: full type = PU
+0.0: logical index = 10
+0.0: os index = 10
+0.0: depth = 3
+0.0: sibling rank = 2
+0.0: children = 0
+0.0: cpuset = 0x00000400
+0.0: complete cpuset = 0x00000400
+0.0: online cpuset = 0x00000400
+0.0: allowed cpuset = 0x00000400
+0.0: nodeset = 0x00000001
+0.0: complete nodeset = 0x00000001
+0.0: allowed nodeset = 0x00000001
+0.0: symmetric subtree = 1
+0.1: Core L#2 = parent #1 of PU L#10
+0.1: type = Core
+0.1: full type = Core
+0.1: logical index = 2
+0.1: os index = 2
+0.1: depth = 2
+0.1: sibling rank = 2
+0.1: children = 4
+0.1: cpuset = 0x00000f00
+0.1: complete cpuset = 0x00000f00
+0.1: online cpuset = 0x00000f00
+0.1: allowed cpuset = 0x00000f00
+0.1: nodeset = 0x00000001
+0.1: complete nodeset = 0x00000001
+0.1: allowed nodeset = 0x00000001
+0.1: symmetric subtree = 1
+0.2: NUMANode L#0 = parent #2 of PU L#10
+0.2: type = NUMANode
+0.2: full type = NUMANode
+0.2: logical index = 0
+0.2: os index = 0
+0.2: depth = 1
+0.2: sibling rank = 0
+0.2: children = 3
+0.2: local memory = 1073741824
+0.2: total memory = 1073741824
+0.2: cpuset = 0x00000fff
+0.2: complete cpuset = 0x00000fff
+0.2: online cpuset = 0x00000fff
+0.2: allowed cpuset = 0x00000fff
+0.2: nodeset = 0x00000001
+0.2: complete nodeset = 0x00000001
+0.2: allowed nodeset = 0x00000001
+0.2: symmetric subtree = 1
+0.3: Machine L#0 = parent #3 of PU L#10
+0.3: type = Machine
+0.3: full type = Machine
+0.3: logical index = 0
+0.3: os index = 0
+0.3: depth = 0
+0.3: sibling rank = 0
+0.3: children = 2
+0.3: total memory = 2147483648
+0.3: cpuset = 0x00ffffff
+0.3: complete cpuset = 0x00ffffff
+0.3: online cpuset = 0x00ffffff
+0.3: allowed cpuset = 0x00ffffff
+0.3: nodeset = 0x00000003
+0.3: complete nodeset = 0x00000003
+0.3: allowed nodeset = 0x00000003
+0.3: symmetric subtree = 1
+0.3: info Backend = Synthetic
+0.3: info SyntheticDescription = node:2 core:3 pu:4
+1.0: PU L#11
+1.0: type = PU
+1.0: full type = PU
+1.0: logical index = 11
+1.0: os index = 11
+1.0: depth = 3
+1.0: sibling rank = 3
+1.0: children = 0
+1.0: cpuset = 0x00000800
+1.0: complete cpuset = 0x00000800
+1.0: online cpuset = 0x00000800
+1.0: allowed cpuset = 0x00000800
+1.0: nodeset = 0x00000001
+1.0: complete nodeset = 0x00000001
+1.0: allowed nodeset = 0x00000001
+1.0: symmetric subtree = 1
+1.1: Core L#2 = parent #1 of PU L#11
+1.1: type = Core
+1.1: full type = Core
+1.1: logical index = 2
+1.1: os index = 2
+1.1: depth = 2
+1.1: sibling rank = 2
+1.1: children = 4
+1.1: cpuset = 0x00000f00
+1.1: complete cpuset = 0x00000f00
+1.1: online cpuset = 0x00000f00
+1.1: allowed cpuset = 0x00000f00
+1.1: nodeset = 0x00000001
+1.1: complete nodeset = 0x00000001
+1.1: allowed nodeset = 0x00000001
+1.1: symmetric subtree = 1
+1.2: NUMANode L#0 = parent #2 of PU L#11
+1.2: type = NUMANode
+1.2: full type = NUMANode
+1.2: logical index = 0
+1.2: os index = 0
+1.2: depth = 1
+1.2: sibling rank = 0
+1.2: children = 3
+1.2: local memory = 1073741824
+1.2: total memory = 1073741824
+1.2: cpuset = 0x00000fff
+1.2: complete cpuset = 0x00000fff
+1.2: online cpuset = 0x00000fff
+1.2: allowed cpuset = 0x00000fff
+1.2: nodeset = 0x00000001
+1.2: complete nodeset = 0x00000001
+1.2: allowed nodeset = 0x00000001
+1.2: symmetric subtree = 1
+1.3: Machine L#0 = parent #3 of PU L#11
+1.3: type = Machine
+1.3: full type = Machine
+1.3: logical index = 0
+1.3: os index = 0
+1.3: depth = 0
+1.3: sibling rank = 0
+1.3: children = 2
+1.3: total memory = 2147483648
+1.3: cpuset = 0x00ffffff
+1.3: complete cpuset = 0x00ffffff
+1.3: online cpuset = 0x00ffffff
+1.3: allowed cpuset = 0x00ffffff
+1.3: nodeset = 0x00000003
+1.3: complete nodeset = 0x00000003
+1.3: allowed nodeset = 0x00000003
+1.3: symmetric subtree = 1
+1.3: info Backend = Synthetic
+1.3: info SyntheticDescription = node:2 core:3 pu:4
+
+NUMANode L#0 = parent of PU L#7
+ type = NUMANode
+ full type = NUMANode
+ logical index = 0
+ os index = 0
+ depth = 1
+ sibling rank = 0
+ children = 3
+ local memory = 1073741824
+ total memory = 1073741824
+ cpuset = 0x00000fff
+ complete cpuset = 0x00000fff
+ online cpuset = 0x00000fff
+ allowed cpuset = 0x00000fff
+ nodeset = 0x00000001
+ complete nodeset = 0x00000001
+ allowed nodeset = 0x00000001
+ symmetric subtree = 1
+NUMANode L#0 = parent of PU L#8
+ type = NUMANode
+ full type = NUMANode
+ logical index = 0
+ os index = 0
+ depth = 1
+ sibling rank = 0
+ children = 3
+ local memory = 1073741824
+ total memory = 1073741824
+ cpuset = 0x00000fff
+ complete cpuset = 0x00000fff
+ online cpuset = 0x00000fff
+ allowed cpuset = 0x00000fff
+ nodeset = 0x00000001
+ complete nodeset = 0x00000001
+ allowed nodeset = 0x00000001
+ symmetric subtree = 1
+NUMANode L#0 = parent of PU L#9
+ type = NUMANode
+ full type = NUMANode
+ logical index = 0
+ os index = 0
+ depth = 1
+ sibling rank = 0
+ children = 3
+ local memory = 1073741824
+ total memory = 1073741824
+ cpuset = 0x00000fff
+ complete cpuset = 0x00000fff
+ online cpuset = 0x00000fff
+ allowed cpuset = 0x00000fff
+ nodeset = 0x00000001
+ complete nodeset = 0x00000001
+ allowed nodeset = 0x00000001
+ symmetric subtree = 1
+
+L2Cache L#3 = parent of PU L#12
+ type = Cache
+ full type = L2Cache
+ logical index = 3
+ os index = 3
+ depth = 3
+ sibling rank = 1
+ children = 2
+ cpuset = 0x0000f000
+ complete cpuset = 0x0000f000
+ online cpuset = 0x0000f000
+ allowed cpuset = 0x0000f000
+ nodeset = 0x00000001
+ complete nodeset = 0x00000001
+ allowed nodeset = 0x00000001
+ attr cache depth = 2
+ attr cache type = Unified
+ attr cache size = 4194304
+ attr cache line size = 64
+ symmetric subtree = 1
+
+L1dCache:3
+L1dCache:4
+L1dCache:4
+L1dCache:5
+
+L1dCache:2
+L1dCache:3
+L2Cache:6
+L2Cache:7
+
+L1dCache:4
+L1dCache:5
+L1dCache:6
+L1dCache:7
+L1dCache:8
+L1dCache:9
+L1dCache:10
+L1dCache:11
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_VERSION="@HWLOC_VERSION@"
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+info="$HWLOC_top_builddir/utils/hwloc/hwloc-info"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-hwloc-info.output"
+
+set -e
+(
+ $info --if synthetic --input "node:2 core:3 pu:4"
+ echo
+ $info --if synthetic --input "node:2 core:3 pu:4" --topology
+ echo
+ $info --if synthetic --input "node:2 core:3 pu:4" --support
+ echo
+ $info --if synthetic --input "node:2 core:3 pu:4" --objects
+ echo
+ $info --if synthetic --input "node:2 core:3 pu:4" core:2-4
+ echo
+ $info --if synthetic --input "node:2 core:3 pu:4" -n --ancestors pu:10-11
+ echo
+ $info --if synthetic --input "node:2 core:3 pu:4" --ancestor node pu:7-9
+ echo
+ $info --if synthetic --input "node:2 core:2 ca:2 ca:2 pu:2" --ancestor l2 pu:12
+ echo
+ $info --if synthetic --input "node:2 core:2 ca:2 ca:2 pu:2" --ancestor l1 -s pu:7-10
+ echo
+ $info --if synthetic --input "node:2 core:2 ca:2 ca:2 pu:2" --children -s l2:1 node:1.core:1
+ echo
+ $info --if synthetic --input "node:2 core:2 ca:2 ca:2 pu:2" --descendants l1d -s core:1-2
+) \
+ | grep -v " info hwlocVersion = $HWLOC_VERSION" \
+ | grep -v " info ProcessName = hwloc-info" \
+ | grep -v " info ProcessName = lt-hwloc-info" \
+ > "$file"
+# filtered hwlocVersion since it often changes
+# filtered ProcessName since it may be hwloc-info or lt-hwloc-info
+diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/hwloc/test-hwloc-info.output "$file"
+rm -rf "$tmp"
--- /dev/null
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012, 2014 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+#
+# See COPYING in top-level directory.
+
+# This makefile is only reached when building in standalone mode
+
+AM_CFLAGS = $(HWLOC_CFLAGS)
+# Add -I of utils/hwloc for misc.h
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS) -I$(top_srcdir)/utils/hwloc
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+
+LDADD = $(HWLOC_top_builddir)/src/libhwloc.la
+
+bin_PROGRAMS = \
+ lstopo-no-graphics
+
+EXTRA_DIST = \
+ test-hwloc-ls.output
+
+lstopo_no_graphics_SOURCES = \
+ lstopo.h \
+ lstopo.c \
+ lstopo-color.c \
+ lstopo-draw.c \
+ lstopo-fig.c \
+ lstopo-ascii.c \
+ lstopo-text.c \
+ lstopo-xml.c
+
+lstopo_no_graphics_CFLAGS = $(AM_CFLAGS)
+lstopo_no_graphics_LDADD = $(LDADD) -lm $(HWLOC_TERMCAP_LIBS)
+
+lstopo_SOURCES = $(lstopo_no_graphics_SOURCES)
+lstopo_CPPFLAGS = $(AM_CPPFLAGS)
+lstopo_LDADD = $(lstopo_no_graphics_LDADD)
+if HWLOC_HAVE_CAIRO
+bin_PROGRAMS += lstopo
+lstopo_SOURCES += lstopo-cairo.c
+lstopo_CPPFLAGS += -DLSTOPO_HAVE_GRAPHICS $(HWLOC_X11_CPPFLAGS)
+lstopo_CFLAGS = $(lstopo_no_graphics_CFLAGS) $(HWLOC_CAIRO_CFLAGS)
+lstopo_LDADD += $(HWLOC_CAIRO_LIBS) $(HWLOC_X11_LIBS)
+endif
+if HWLOC_HAVE_WINDOWS
+bin_PROGRAMS += lstopo lstopo-win
+lstopo_SOURCES += lstopo-windows.c
+lstopo_CPPFLAGS += -DLSTOPO_HAVE_GRAPHICS
+if HWLOC_HAVE_USER32
+lstopo_LDADD += -luser32
+endif
+lstopo_win_SOURCES = $(lstopo_SOURCES)
+lstopo_win_CPPFLAGS = $(lstopo_CPPFLAGS)
+lstopo_win_CFLAGS = $(lstopo_CFLAGS) -mwindows
+lstopo_win_LDADD = $(lstopo_LDADD)
+endif
+
+man1_pages = lstopo-no-graphics.1
+EXTRA_DIST += $(man1_pages:.1=.1in)
+nodist_man_MANS = $(man1_pages)
+
+if !HWLOC_HAVE_MINGW32
+TESTS = \
+ test-hwloc-ls.sh
+endif !HWLOC_HAVE_MINGW32
+
+if HWLOC_HAVE_CAIRO
+# only installed when lstopo is built with Cairo/X11 support
+# so that no terminal is required
+APPLICATIONSdir = @datarootdir@/applications
+dist_APPLICATIONS_DATA = lstopo.desktop
+endif
+
+SEDMAN = $(SED) -e 's/%PACKAGE_NAME%/@PACKAGE_NAME@/g' \
+ -e 's/%PACKAGE_VERSION%/@PACKAGE_VERSION@/g' \
+ -e 's/%HWLOC_DATE%/@HWLOC_RELEASE_DATE@/g'
+
+.1in.1:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+install-exec-hook:
+ rm -f $(DESTDIR)$(bindir)/hwloc-ls$(EXEEXT)
+ cd $(DESTDIR)$(bindir) && $(LN_S) lstopo-no-graphics$(EXEEXT) hwloc-ls$(EXEEXT)
+if !HWLOC_HAVE_WINDOWS
+if !HWLOC_HAVE_CAIRO
+ rm -f $(DESTDIR)$(bindir)/lstopo
+ cd $(DESTDIR)$(bindir) && $(LN_S) lstopo-no-graphics$(EXEEXT) lstopo$(EXEEXT) || true
+endif
+endif
+
+install-data-hook:
+ rm -f $(DESTDIR)$(man1dir)/hwloc-ls.1
+ cd $(DESTDIR)$(man1dir) && $(LN_S) lstopo-no-graphics.1 hwloc-ls.1
+ rm -f $(DESTDIR)$(man1dir)/lstopo.1
+ cd $(DESTDIR)$(man1dir) && $(LN_S) lstopo-no-graphics.1 lstopo.1
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hwloc-ls$(EXEEXT)
+if !HWLOC_HAVE_WINDOWS
+if !HWLOC_HAVE_CAIRO
+ rm -f $(DESTDIR)$(bindir)/lstopo$(EXEEXT)
+endif
+endif
+ rm -f $(DESTDIR)$(man1dir)/hwloc-ls.1 $(DESTDIR)$(man1dir)/lstopo.1
+
+distclean-local:
+ rm -f $(nodist_man_MANS)
--- /dev/null
+# Makefile.in generated by automake 1.15 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Copyright © 2009-2018 Inria. All rights reserved.
+# Copyright © 2009-2012, 2014 Université Bordeaux
+# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
+#
+# See COPYING in top-level directory.
+
+# This makefile is only reached when building in standalone mode
+
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+bin_PROGRAMS = lstopo-no-graphics$(EXEEXT) $(am__EXEEXT_1) \
+ $(am__EXEEXT_2)
+@HWLOC_HAVE_CAIRO_TRUE@am__append_1 = lstopo
+@HWLOC_HAVE_CAIRO_TRUE@am__append_2 = lstopo-cairo.c
+@HWLOC_HAVE_CAIRO_TRUE@am__append_3 = -DLSTOPO_HAVE_GRAPHICS $(HWLOC_X11_CPPFLAGS)
+@HWLOC_HAVE_CAIRO_TRUE@am__append_4 = $(HWLOC_CAIRO_LIBS) $(HWLOC_X11_LIBS)
+@HWLOC_HAVE_WINDOWS_TRUE@am__append_5 = lstopo lstopo-win
+@HWLOC_HAVE_WINDOWS_TRUE@am__append_6 = lstopo-windows.c
+@HWLOC_HAVE_WINDOWS_TRUE@am__append_7 = -DLSTOPO_HAVE_GRAPHICS
+@HWLOC_HAVE_USER32_TRUE@@HWLOC_HAVE_WINDOWS_TRUE@am__append_8 = -luser32
+subdir = utils/lstopo
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/config/hwloc.m4 \
+ $(top_srcdir)/config/hwloc_check_attributes.m4 \
+ $(top_srcdir)/config/hwloc_check_vendor.m4 \
+ $(top_srcdir)/config/hwloc_check_visibility.m4 \
+ $(top_srcdir)/config/hwloc_components.m4 \
+ $(top_srcdir)/config/hwloc_internal.m4 \
+ $(top_srcdir)/config/hwloc_pkg.m4 \
+ $(top_srcdir)/config/libtool.m4 \
+ $(top_srcdir)/config/ltoptions.m4 \
+ $(top_srcdir)/config/ltsugar.m4 \
+ $(top_srcdir)/config/ltversion.m4 \
+ $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(am__dist_APPLICATIONS_DATA_DIST) \
+ $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/include/private/autogen/config.h \
+ $(top_builddir)/include/hwloc/autogen/config.h
+CONFIG_CLEAN_FILES = test-hwloc-ls.sh
+CONFIG_CLEAN_VPATH_FILES =
+@HWLOC_HAVE_CAIRO_TRUE@am__EXEEXT_1 = lstopo$(EXEEXT)
+@HWLOC_HAVE_WINDOWS_TRUE@am__EXEEXT_2 = lstopo$(EXEEXT) \
+@HWLOC_HAVE_WINDOWS_TRUE@ lstopo-win$(EXEEXT)
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
+ "$(DESTDIR)$(APPLICATIONSdir)"
+PROGRAMS = $(bin_PROGRAMS)
+am__lstopo_SOURCES_DIST = lstopo.h lstopo.c lstopo-color.c \
+ lstopo-draw.c lstopo-fig.c lstopo-ascii.c lstopo-text.c \
+ lstopo-xml.c lstopo-cairo.c lstopo-windows.c
+am__objects_1 = lstopo-lstopo.$(OBJEXT) lstopo-lstopo-color.$(OBJEXT) \
+ lstopo-lstopo-draw.$(OBJEXT) lstopo-lstopo-fig.$(OBJEXT) \
+ lstopo-lstopo-ascii.$(OBJEXT) lstopo-lstopo-text.$(OBJEXT) \
+ lstopo-lstopo-xml.$(OBJEXT)
+@HWLOC_HAVE_CAIRO_TRUE@am__objects_2 = lstopo-lstopo-cairo.$(OBJEXT)
+@HWLOC_HAVE_WINDOWS_TRUE@am__objects_3 = \
+@HWLOC_HAVE_WINDOWS_TRUE@ lstopo-lstopo-windows.$(OBJEXT)
+am_lstopo_OBJECTS = $(am__objects_1) $(am__objects_2) $(am__objects_3)
+lstopo_OBJECTS = $(am_lstopo_OBJECTS)
+am__DEPENDENCIES_1 =
+am__DEPENDENCIES_2 = $(LDADD) $(am__DEPENDENCIES_1)
+@HWLOC_HAVE_CAIRO_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) \
+@HWLOC_HAVE_CAIRO_TRUE@ $(am__DEPENDENCIES_1)
+lstopo_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+ $(am__DEPENDENCIES_1)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+lstopo_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lstopo_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+am_lstopo_no_graphics_OBJECTS = lstopo_no_graphics-lstopo.$(OBJEXT) \
+ lstopo_no_graphics-lstopo-color.$(OBJEXT) \
+ lstopo_no_graphics-lstopo-draw.$(OBJEXT) \
+ lstopo_no_graphics-lstopo-fig.$(OBJEXT) \
+ lstopo_no_graphics-lstopo-ascii.$(OBJEXT) \
+ lstopo_no_graphics-lstopo-text.$(OBJEXT) \
+ lstopo_no_graphics-lstopo-xml.$(OBJEXT)
+lstopo_no_graphics_OBJECTS = $(am_lstopo_no_graphics_OBJECTS)
+lstopo_no_graphics_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1)
+lstopo_no_graphics_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+ $(lstopo_no_graphics_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+am__lstopo_win_SOURCES_DIST = lstopo.h lstopo.c lstopo-color.c \
+ lstopo-draw.c lstopo-fig.c lstopo-ascii.c lstopo-text.c \
+ lstopo-xml.c lstopo-cairo.c lstopo-windows.c
+am__objects_4 = lstopo_win-lstopo.$(OBJEXT) \
+ lstopo_win-lstopo-color.$(OBJEXT) \
+ lstopo_win-lstopo-draw.$(OBJEXT) \
+ lstopo_win-lstopo-fig.$(OBJEXT) \
+ lstopo_win-lstopo-ascii.$(OBJEXT) \
+ lstopo_win-lstopo-text.$(OBJEXT) \
+ lstopo_win-lstopo-xml.$(OBJEXT)
+@HWLOC_HAVE_CAIRO_TRUE@am__objects_5 = \
+@HWLOC_HAVE_CAIRO_TRUE@ lstopo_win-lstopo-cairo.$(OBJEXT)
+@HWLOC_HAVE_WINDOWS_TRUE@am__objects_6 = \
+@HWLOC_HAVE_WINDOWS_TRUE@ lstopo_win-lstopo-windows.$(OBJEXT)
+am__objects_7 = $(am__objects_4) $(am__objects_5) $(am__objects_6)
+@HWLOC_HAVE_WINDOWS_TRUE@am_lstopo_win_OBJECTS = $(am__objects_7)
+lstopo_win_OBJECTS = $(am_lstopo_win_OBJECTS)
+am__DEPENDENCIES_4 = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) \
+ $(am__DEPENDENCIES_1)
+@HWLOC_HAVE_WINDOWS_TRUE@lstopo_win_DEPENDENCIES = \
+@HWLOC_HAVE_WINDOWS_TRUE@ $(am__DEPENDENCIES_4)
+lstopo_win_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lstopo_win_CFLAGS) \
+ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/private/autogen -I$(top_builddir)/include/hwloc/autogen
+depcomp = $(SHELL) $(top_srcdir)/./config/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(lstopo_SOURCES) $(lstopo_no_graphics_SOURCES) \
+ $(lstopo_win_SOURCES)
+DIST_SOURCES = $(am__lstopo_SOURCES_DIST) \
+ $(lstopo_no_graphics_SOURCES) $(am__lstopo_win_SOURCES_DIST)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+man1dir = $(mandir)/man1
+NROFF = nroff
+MANS = $(nodist_man_MANS)
+am__dist_APPLICATIONS_DATA_DIST = lstopo.desktop
+DATA = $(dist_APPLICATIONS_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+ am__color_tests=no
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red='\e[0;31m'; \
+ grn='\e[0;32m'; \
+ lgn='\e[1;32m'; \
+ blu='\e[1;34m'; \
+ mgn='\e[0;35m'; \
+ brg='\e[1m'; \
+ std='\e[m'; \
+ fi; \
+}
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/./config/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/test-hwloc-ls.sh.in \
+ $(top_srcdir)/./config/depcomp \
+ $(top_srcdir)/./config/test-driver
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BASH = @BASH@
+BUNZIPP = @BUNZIPP@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CFLAGS = @CFLAGS@
+CONFIGURE_DEPENDENCIES = @CONFIGURE_DEPENDENCIES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EPSTOPDF = @EPSTOPDF@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FIG2DEV = @FIG2DEV@
+GREP = @GREP@
+GS = @GS@
+HWLOC_CAIRO_CFLAGS = @HWLOC_CAIRO_CFLAGS@
+HWLOC_CAIRO_LIBS = @HWLOC_CAIRO_LIBS@
+HWLOC_CFLAGS = @HWLOC_CFLAGS@
+HWLOC_CPPFLAGS = @HWLOC_CPPFLAGS@
+HWLOC_CUDA_LIBS = @HWLOC_CUDA_LIBS@
+HWLOC_DIFF_U = @HWLOC_DIFF_U@
+HWLOC_DIFF_W = @HWLOC_DIFF_W@
+HWLOC_EMBEDDED_CFLAGS = @HWLOC_EMBEDDED_CFLAGS@
+HWLOC_EMBEDDED_CPPFLAGS = @HWLOC_EMBEDDED_CPPFLAGS@
+HWLOC_EMBEDDED_LDADD = @HWLOC_EMBEDDED_LDADD@
+HWLOC_EMBEDDED_LDFLAGS = @HWLOC_EMBEDDED_LDFLAGS@
+HWLOC_EMBEDDED_LIBS = @HWLOC_EMBEDDED_LIBS@
+HWLOC_GL_LIBS = @HWLOC_GL_LIBS@
+HWLOC_HAVE_LIBXML2 = @HWLOC_HAVE_LIBXML2@
+HWLOC_HAVE_NVML = @HWLOC_HAVE_NVML@
+HWLOC_HAVE_OPENCL = @HWLOC_HAVE_OPENCL@
+HWLOC_KERRIGHED_CFLAGS = @HWLOC_KERRIGHED_CFLAGS@
+HWLOC_KERRIGHED_LIBS = @HWLOC_KERRIGHED_LIBS@
+HWLOC_LDFLAGS = @HWLOC_LDFLAGS@
+HWLOC_LIBS = @HWLOC_LIBS@
+HWLOC_LIBS_PRIVATE = @HWLOC_LIBS_PRIVATE@
+HWLOC_LIBXML2_CFLAGS = @HWLOC_LIBXML2_CFLAGS@
+HWLOC_LIBXML2_LIBS = @HWLOC_LIBXML2_LIBS@
+HWLOC_LINUX_LIBNUMA_LIBS = @HWLOC_LINUX_LIBNUMA_LIBS@
+HWLOC_MS_LIB = @HWLOC_MS_LIB@
+HWLOC_MS_LIB_ARCH = @HWLOC_MS_LIB_ARCH@
+HWLOC_NVML_LIBS = @HWLOC_NVML_LIBS@
+HWLOC_OPENCL_CFLAGS = @HWLOC_OPENCL_CFLAGS@
+HWLOC_OPENCL_LDFLAGS = @HWLOC_OPENCL_LDFLAGS@
+HWLOC_OPENCL_LIBS = @HWLOC_OPENCL_LIBS@
+HWLOC_PCIACCESS_CFLAGS = @HWLOC_PCIACCESS_CFLAGS@
+HWLOC_PCIACCESS_LIBS = @HWLOC_PCIACCESS_LIBS@
+HWLOC_PLUGINS_DIR = @HWLOC_PLUGINS_DIR@
+HWLOC_PLUGINS_PATH = @HWLOC_PLUGINS_PATH@
+HWLOC_RELEASE_DATE = @HWLOC_RELEASE_DATE@
+HWLOC_REQUIRES = @HWLOC_REQUIRES@
+HWLOC_TERMCAP_LIBS = @HWLOC_TERMCAP_LIBS@
+HWLOC_VERSION = @HWLOC_VERSION@
+HWLOC_W3_GENERATOR = @HWLOC_W3_GENERATOR@
+HWLOC_X11_CPPFLAGS = @HWLOC_X11_CPPFLAGS@
+HWLOC_X11_LIBS = @HWLOC_X11_LIBS@
+HWLOC_XML_LOCALIZED = @HWLOC_XML_LOCALIZED@
+HWLOC_runstatedir = @HWLOC_runstatedir@
+HWLOC_top_builddir = @HWLOC_top_builddir@
+HWLOC_top_srcdir = @HWLOC_top_srcdir@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
+LYNX = @LYNX@
+MAKEINDEX = @MAKEINDEX@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PDFLATEX = @PDFLATEX@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+W3M = @W3M@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+libhwloc_so_version = @libhwloc_so_version@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = $(HWLOC_CFLAGS)
+# Add -I of utils/hwloc for misc.h
+AM_CPPFLAGS = $(HWLOC_CPPFLAGS) -I$(top_srcdir)/utils/hwloc
+AM_LDFLAGS = $(HWLOC_LDFLAGS)
+LDADD = $(HWLOC_top_builddir)/src/libhwloc.la
+EXTRA_DIST = test-hwloc-ls.output $(man1_pages:.1=.1in)
+lstopo_no_graphics_SOURCES = \
+ lstopo.h \
+ lstopo.c \
+ lstopo-color.c \
+ lstopo-draw.c \
+ lstopo-fig.c \
+ lstopo-ascii.c \
+ lstopo-text.c \
+ lstopo-xml.c
+
+lstopo_no_graphics_CFLAGS = $(AM_CFLAGS)
+lstopo_no_graphics_LDADD = $(LDADD) -lm $(HWLOC_TERMCAP_LIBS)
+lstopo_SOURCES = $(lstopo_no_graphics_SOURCES) $(am__append_2) \
+ $(am__append_6)
+lstopo_CPPFLAGS = $(AM_CPPFLAGS) $(am__append_3) $(am__append_7)
+lstopo_LDADD = $(lstopo_no_graphics_LDADD) $(am__append_4) \
+ $(am__append_8)
+@HWLOC_HAVE_CAIRO_TRUE@lstopo_CFLAGS = $(lstopo_no_graphics_CFLAGS) $(HWLOC_CAIRO_CFLAGS)
+@HWLOC_HAVE_WINDOWS_TRUE@lstopo_win_SOURCES = $(lstopo_SOURCES)
+@HWLOC_HAVE_WINDOWS_TRUE@lstopo_win_CPPFLAGS = $(lstopo_CPPFLAGS)
+@HWLOC_HAVE_WINDOWS_TRUE@lstopo_win_CFLAGS = $(lstopo_CFLAGS) -mwindows
+@HWLOC_HAVE_WINDOWS_TRUE@lstopo_win_LDADD = $(lstopo_LDADD)
+man1_pages = lstopo-no-graphics.1
+nodist_man_MANS = $(man1_pages)
+@HWLOC_HAVE_MINGW32_FALSE@TESTS = \
+@HWLOC_HAVE_MINGW32_FALSE@ test-hwloc-ls.sh
+
+
+# only installed when lstopo is built with Cairo/X11 support
+# so that no terminal is required
+@HWLOC_HAVE_CAIRO_TRUE@APPLICATIONSdir = @datarootdir@/applications
+@HWLOC_HAVE_CAIRO_TRUE@dist_APPLICATIONS_DATA = lstopo.desktop
+SEDMAN = $(SED) -e 's/%PACKAGE_NAME%/@PACKAGE_NAME@/g' \
+ -e 's/%PACKAGE_VERSION%/@PACKAGE_VERSION@/g' \
+ -e 's/%HWLOC_DATE%/@HWLOC_RELEASE_DATE@/g'
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .1 .1in .c .lo .log .o .obj .test .test$(EXEEXT) .trs
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/lstopo/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign utils/lstopo/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+test-hwloc-ls.sh: $(top_builddir)/config.status $(srcdir)/test-hwloc-ls.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p \
+ || test -f $$p1 \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
+ echo " rm -f" $$list; \
+ rm -f $$list || exit $$?; \
+ test -n "$(EXEEXT)" || exit 0; \
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+ echo " rm -f" $$list; \
+ rm -f $$list
+
+lstopo$(EXEEXT): $(lstopo_OBJECTS) $(lstopo_DEPENDENCIES) $(EXTRA_lstopo_DEPENDENCIES)
+ @rm -f lstopo$(EXEEXT)
+ $(AM_V_CCLD)$(lstopo_LINK) $(lstopo_OBJECTS) $(lstopo_LDADD) $(LIBS)
+
+lstopo-no-graphics$(EXEEXT): $(lstopo_no_graphics_OBJECTS) $(lstopo_no_graphics_DEPENDENCIES) $(EXTRA_lstopo_no_graphics_DEPENDENCIES)
+ @rm -f lstopo-no-graphics$(EXEEXT)
+ $(AM_V_CCLD)$(lstopo_no_graphics_LINK) $(lstopo_no_graphics_OBJECTS) $(lstopo_no_graphics_LDADD) $(LIBS)
+
+lstopo-win$(EXEEXT): $(lstopo_win_OBJECTS) $(lstopo_win_DEPENDENCIES) $(EXTRA_lstopo_win_DEPENDENCIES)
+ @rm -f lstopo-win$(EXEEXT)
+ $(AM_V_CCLD)$(lstopo_win_LINK) $(lstopo_win_OBJECTS) $(lstopo_win_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-ascii.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-cairo.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-color.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-draw.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-fig.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-text.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-windows.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo-xml.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo-lstopo.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_no_graphics-lstopo-ascii.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_no_graphics-lstopo-color.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_no_graphics-lstopo-draw.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_no_graphics-lstopo-fig.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_no_graphics-lstopo-text.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_no_graphics-lstopo-xml.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_no_graphics-lstopo.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-ascii.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-cairo.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-color.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-draw.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-fig.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-text.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-windows.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo-xml.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstopo_win-lstopo.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+lstopo-lstopo.o: lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo.Tpo -c -o lstopo-lstopo.o `test -f 'lstopo.c' || echo '$(srcdir)/'`lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo.Tpo $(DEPDIR)/lstopo-lstopo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo.c' object='lstopo-lstopo.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo.o `test -f 'lstopo.c' || echo '$(srcdir)/'`lstopo.c
+
+lstopo-lstopo.obj: lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo.Tpo -c -o lstopo-lstopo.obj `if test -f 'lstopo.c'; then $(CYGPATH_W) 'lstopo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo.Tpo $(DEPDIR)/lstopo-lstopo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo.c' object='lstopo-lstopo.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo.obj `if test -f 'lstopo.c'; then $(CYGPATH_W) 'lstopo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo.c'; fi`
+
+lstopo-lstopo-color.o: lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-color.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-color.Tpo -c -o lstopo-lstopo-color.o `test -f 'lstopo-color.c' || echo '$(srcdir)/'`lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-color.Tpo $(DEPDIR)/lstopo-lstopo-color.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-color.c' object='lstopo-lstopo-color.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-color.o `test -f 'lstopo-color.c' || echo '$(srcdir)/'`lstopo-color.c
+
+lstopo-lstopo-color.obj: lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-color.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-color.Tpo -c -o lstopo-lstopo-color.obj `if test -f 'lstopo-color.c'; then $(CYGPATH_W) 'lstopo-color.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-color.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-color.Tpo $(DEPDIR)/lstopo-lstopo-color.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-color.c' object='lstopo-lstopo-color.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-color.obj `if test -f 'lstopo-color.c'; then $(CYGPATH_W) 'lstopo-color.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-color.c'; fi`
+
+lstopo-lstopo-draw.o: lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-draw.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-draw.Tpo -c -o lstopo-lstopo-draw.o `test -f 'lstopo-draw.c' || echo '$(srcdir)/'`lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-draw.Tpo $(DEPDIR)/lstopo-lstopo-draw.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-draw.c' object='lstopo-lstopo-draw.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-draw.o `test -f 'lstopo-draw.c' || echo '$(srcdir)/'`lstopo-draw.c
+
+lstopo-lstopo-draw.obj: lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-draw.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-draw.Tpo -c -o lstopo-lstopo-draw.obj `if test -f 'lstopo-draw.c'; then $(CYGPATH_W) 'lstopo-draw.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-draw.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-draw.Tpo $(DEPDIR)/lstopo-lstopo-draw.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-draw.c' object='lstopo-lstopo-draw.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-draw.obj `if test -f 'lstopo-draw.c'; then $(CYGPATH_W) 'lstopo-draw.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-draw.c'; fi`
+
+lstopo-lstopo-fig.o: lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-fig.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-fig.Tpo -c -o lstopo-lstopo-fig.o `test -f 'lstopo-fig.c' || echo '$(srcdir)/'`lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-fig.Tpo $(DEPDIR)/lstopo-lstopo-fig.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-fig.c' object='lstopo-lstopo-fig.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-fig.o `test -f 'lstopo-fig.c' || echo '$(srcdir)/'`lstopo-fig.c
+
+lstopo-lstopo-fig.obj: lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-fig.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-fig.Tpo -c -o lstopo-lstopo-fig.obj `if test -f 'lstopo-fig.c'; then $(CYGPATH_W) 'lstopo-fig.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-fig.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-fig.Tpo $(DEPDIR)/lstopo-lstopo-fig.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-fig.c' object='lstopo-lstopo-fig.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-fig.obj `if test -f 'lstopo-fig.c'; then $(CYGPATH_W) 'lstopo-fig.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-fig.c'; fi`
+
+lstopo-lstopo-ascii.o: lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-ascii.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-ascii.Tpo -c -o lstopo-lstopo-ascii.o `test -f 'lstopo-ascii.c' || echo '$(srcdir)/'`lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-ascii.Tpo $(DEPDIR)/lstopo-lstopo-ascii.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-ascii.c' object='lstopo-lstopo-ascii.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-ascii.o `test -f 'lstopo-ascii.c' || echo '$(srcdir)/'`lstopo-ascii.c
+
+lstopo-lstopo-ascii.obj: lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-ascii.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-ascii.Tpo -c -o lstopo-lstopo-ascii.obj `if test -f 'lstopo-ascii.c'; then $(CYGPATH_W) 'lstopo-ascii.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-ascii.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-ascii.Tpo $(DEPDIR)/lstopo-lstopo-ascii.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-ascii.c' object='lstopo-lstopo-ascii.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-ascii.obj `if test -f 'lstopo-ascii.c'; then $(CYGPATH_W) 'lstopo-ascii.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-ascii.c'; fi`
+
+lstopo-lstopo-text.o: lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-text.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-text.Tpo -c -o lstopo-lstopo-text.o `test -f 'lstopo-text.c' || echo '$(srcdir)/'`lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-text.Tpo $(DEPDIR)/lstopo-lstopo-text.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-text.c' object='lstopo-lstopo-text.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-text.o `test -f 'lstopo-text.c' || echo '$(srcdir)/'`lstopo-text.c
+
+lstopo-lstopo-text.obj: lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-text.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-text.Tpo -c -o lstopo-lstopo-text.obj `if test -f 'lstopo-text.c'; then $(CYGPATH_W) 'lstopo-text.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-text.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-text.Tpo $(DEPDIR)/lstopo-lstopo-text.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-text.c' object='lstopo-lstopo-text.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-text.obj `if test -f 'lstopo-text.c'; then $(CYGPATH_W) 'lstopo-text.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-text.c'; fi`
+
+lstopo-lstopo-xml.o: lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-xml.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-xml.Tpo -c -o lstopo-lstopo-xml.o `test -f 'lstopo-xml.c' || echo '$(srcdir)/'`lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-xml.Tpo $(DEPDIR)/lstopo-lstopo-xml.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-xml.c' object='lstopo-lstopo-xml.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-xml.o `test -f 'lstopo-xml.c' || echo '$(srcdir)/'`lstopo-xml.c
+
+lstopo-lstopo-xml.obj: lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-xml.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-xml.Tpo -c -o lstopo-lstopo-xml.obj `if test -f 'lstopo-xml.c'; then $(CYGPATH_W) 'lstopo-xml.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-xml.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-xml.Tpo $(DEPDIR)/lstopo-lstopo-xml.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-xml.c' object='lstopo-lstopo-xml.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-xml.obj `if test -f 'lstopo-xml.c'; then $(CYGPATH_W) 'lstopo-xml.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-xml.c'; fi`
+
+lstopo-lstopo-cairo.o: lstopo-cairo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-cairo.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-cairo.Tpo -c -o lstopo-lstopo-cairo.o `test -f 'lstopo-cairo.c' || echo '$(srcdir)/'`lstopo-cairo.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-cairo.Tpo $(DEPDIR)/lstopo-lstopo-cairo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-cairo.c' object='lstopo-lstopo-cairo.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-cairo.o `test -f 'lstopo-cairo.c' || echo '$(srcdir)/'`lstopo-cairo.c
+
+lstopo-lstopo-cairo.obj: lstopo-cairo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-cairo.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-cairo.Tpo -c -o lstopo-lstopo-cairo.obj `if test -f 'lstopo-cairo.c'; then $(CYGPATH_W) 'lstopo-cairo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-cairo.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-cairo.Tpo $(DEPDIR)/lstopo-lstopo-cairo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-cairo.c' object='lstopo-lstopo-cairo.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-cairo.obj `if test -f 'lstopo-cairo.c'; then $(CYGPATH_W) 'lstopo-cairo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-cairo.c'; fi`
+
+lstopo-lstopo-windows.o: lstopo-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-windows.o -MD -MP -MF $(DEPDIR)/lstopo-lstopo-windows.Tpo -c -o lstopo-lstopo-windows.o `test -f 'lstopo-windows.c' || echo '$(srcdir)/'`lstopo-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-windows.Tpo $(DEPDIR)/lstopo-lstopo-windows.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-windows.c' object='lstopo-lstopo-windows.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-windows.o `test -f 'lstopo-windows.c' || echo '$(srcdir)/'`lstopo-windows.c
+
+lstopo-lstopo-windows.obj: lstopo-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -MT lstopo-lstopo-windows.obj -MD -MP -MF $(DEPDIR)/lstopo-lstopo-windows.Tpo -c -o lstopo-lstopo-windows.obj `if test -f 'lstopo-windows.c'; then $(CYGPATH_W) 'lstopo-windows.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-windows.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo-lstopo-windows.Tpo $(DEPDIR)/lstopo-lstopo-windows.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-windows.c' object='lstopo-lstopo-windows.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_CPPFLAGS) $(CPPFLAGS) $(lstopo_CFLAGS) $(CFLAGS) -c -o lstopo-lstopo-windows.obj `if test -f 'lstopo-windows.c'; then $(CYGPATH_W) 'lstopo-windows.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-windows.c'; fi`
+
+lstopo_no_graphics-lstopo.o: lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo.o -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo.Tpo -c -o lstopo_no_graphics-lstopo.o `test -f 'lstopo.c' || echo '$(srcdir)/'`lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo.c' object='lstopo_no_graphics-lstopo.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo.o `test -f 'lstopo.c' || echo '$(srcdir)/'`lstopo.c
+
+lstopo_no_graphics-lstopo.obj: lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo.obj -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo.Tpo -c -o lstopo_no_graphics-lstopo.obj `if test -f 'lstopo.c'; then $(CYGPATH_W) 'lstopo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo.c' object='lstopo_no_graphics-lstopo.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo.obj `if test -f 'lstopo.c'; then $(CYGPATH_W) 'lstopo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo.c'; fi`
+
+lstopo_no_graphics-lstopo-color.o: lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-color.o -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-color.Tpo -c -o lstopo_no_graphics-lstopo-color.o `test -f 'lstopo-color.c' || echo '$(srcdir)/'`lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-color.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-color.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-color.c' object='lstopo_no_graphics-lstopo-color.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-color.o `test -f 'lstopo-color.c' || echo '$(srcdir)/'`lstopo-color.c
+
+lstopo_no_graphics-lstopo-color.obj: lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-color.obj -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-color.Tpo -c -o lstopo_no_graphics-lstopo-color.obj `if test -f 'lstopo-color.c'; then $(CYGPATH_W) 'lstopo-color.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-color.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-color.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-color.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-color.c' object='lstopo_no_graphics-lstopo-color.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-color.obj `if test -f 'lstopo-color.c'; then $(CYGPATH_W) 'lstopo-color.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-color.c'; fi`
+
+lstopo_no_graphics-lstopo-draw.o: lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-draw.o -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-draw.Tpo -c -o lstopo_no_graphics-lstopo-draw.o `test -f 'lstopo-draw.c' || echo '$(srcdir)/'`lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-draw.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-draw.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-draw.c' object='lstopo_no_graphics-lstopo-draw.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-draw.o `test -f 'lstopo-draw.c' || echo '$(srcdir)/'`lstopo-draw.c
+
+lstopo_no_graphics-lstopo-draw.obj: lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-draw.obj -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-draw.Tpo -c -o lstopo_no_graphics-lstopo-draw.obj `if test -f 'lstopo-draw.c'; then $(CYGPATH_W) 'lstopo-draw.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-draw.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-draw.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-draw.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-draw.c' object='lstopo_no_graphics-lstopo-draw.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-draw.obj `if test -f 'lstopo-draw.c'; then $(CYGPATH_W) 'lstopo-draw.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-draw.c'; fi`
+
+lstopo_no_graphics-lstopo-fig.o: lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-fig.o -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-fig.Tpo -c -o lstopo_no_graphics-lstopo-fig.o `test -f 'lstopo-fig.c' || echo '$(srcdir)/'`lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-fig.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-fig.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-fig.c' object='lstopo_no_graphics-lstopo-fig.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-fig.o `test -f 'lstopo-fig.c' || echo '$(srcdir)/'`lstopo-fig.c
+
+lstopo_no_graphics-lstopo-fig.obj: lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-fig.obj -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-fig.Tpo -c -o lstopo_no_graphics-lstopo-fig.obj `if test -f 'lstopo-fig.c'; then $(CYGPATH_W) 'lstopo-fig.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-fig.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-fig.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-fig.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-fig.c' object='lstopo_no_graphics-lstopo-fig.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-fig.obj `if test -f 'lstopo-fig.c'; then $(CYGPATH_W) 'lstopo-fig.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-fig.c'; fi`
+
+lstopo_no_graphics-lstopo-ascii.o: lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-ascii.o -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-ascii.Tpo -c -o lstopo_no_graphics-lstopo-ascii.o `test -f 'lstopo-ascii.c' || echo '$(srcdir)/'`lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-ascii.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-ascii.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-ascii.c' object='lstopo_no_graphics-lstopo-ascii.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-ascii.o `test -f 'lstopo-ascii.c' || echo '$(srcdir)/'`lstopo-ascii.c
+
+lstopo_no_graphics-lstopo-ascii.obj: lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-ascii.obj -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-ascii.Tpo -c -o lstopo_no_graphics-lstopo-ascii.obj `if test -f 'lstopo-ascii.c'; then $(CYGPATH_W) 'lstopo-ascii.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-ascii.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-ascii.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-ascii.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-ascii.c' object='lstopo_no_graphics-lstopo-ascii.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-ascii.obj `if test -f 'lstopo-ascii.c'; then $(CYGPATH_W) 'lstopo-ascii.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-ascii.c'; fi`
+
+lstopo_no_graphics-lstopo-text.o: lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-text.o -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-text.Tpo -c -o lstopo_no_graphics-lstopo-text.o `test -f 'lstopo-text.c' || echo '$(srcdir)/'`lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-text.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-text.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-text.c' object='lstopo_no_graphics-lstopo-text.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-text.o `test -f 'lstopo-text.c' || echo '$(srcdir)/'`lstopo-text.c
+
+lstopo_no_graphics-lstopo-text.obj: lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-text.obj -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-text.Tpo -c -o lstopo_no_graphics-lstopo-text.obj `if test -f 'lstopo-text.c'; then $(CYGPATH_W) 'lstopo-text.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-text.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-text.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-text.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-text.c' object='lstopo_no_graphics-lstopo-text.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-text.obj `if test -f 'lstopo-text.c'; then $(CYGPATH_W) 'lstopo-text.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-text.c'; fi`
+
+lstopo_no_graphics-lstopo-xml.o: lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-xml.o -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-xml.Tpo -c -o lstopo_no_graphics-lstopo-xml.o `test -f 'lstopo-xml.c' || echo '$(srcdir)/'`lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-xml.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-xml.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-xml.c' object='lstopo_no_graphics-lstopo-xml.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-xml.o `test -f 'lstopo-xml.c' || echo '$(srcdir)/'`lstopo-xml.c
+
+lstopo_no_graphics-lstopo-xml.obj: lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -MT lstopo_no_graphics-lstopo-xml.obj -MD -MP -MF $(DEPDIR)/lstopo_no_graphics-lstopo-xml.Tpo -c -o lstopo_no_graphics-lstopo-xml.obj `if test -f 'lstopo-xml.c'; then $(CYGPATH_W) 'lstopo-xml.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-xml.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_no_graphics-lstopo-xml.Tpo $(DEPDIR)/lstopo_no_graphics-lstopo-xml.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-xml.c' object='lstopo_no_graphics-lstopo-xml.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lstopo_no_graphics_CFLAGS) $(CFLAGS) -c -o lstopo_no_graphics-lstopo-xml.obj `if test -f 'lstopo-xml.c'; then $(CYGPATH_W) 'lstopo-xml.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-xml.c'; fi`
+
+lstopo_win-lstopo.o: lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo.Tpo -c -o lstopo_win-lstopo.o `test -f 'lstopo.c' || echo '$(srcdir)/'`lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo.Tpo $(DEPDIR)/lstopo_win-lstopo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo.c' object='lstopo_win-lstopo.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo.o `test -f 'lstopo.c' || echo '$(srcdir)/'`lstopo.c
+
+lstopo_win-lstopo.obj: lstopo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo.Tpo -c -o lstopo_win-lstopo.obj `if test -f 'lstopo.c'; then $(CYGPATH_W) 'lstopo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo.Tpo $(DEPDIR)/lstopo_win-lstopo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo.c' object='lstopo_win-lstopo.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo.obj `if test -f 'lstopo.c'; then $(CYGPATH_W) 'lstopo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo.c'; fi`
+
+lstopo_win-lstopo-color.o: lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-color.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-color.Tpo -c -o lstopo_win-lstopo-color.o `test -f 'lstopo-color.c' || echo '$(srcdir)/'`lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-color.Tpo $(DEPDIR)/lstopo_win-lstopo-color.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-color.c' object='lstopo_win-lstopo-color.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-color.o `test -f 'lstopo-color.c' || echo '$(srcdir)/'`lstopo-color.c
+
+lstopo_win-lstopo-color.obj: lstopo-color.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-color.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-color.Tpo -c -o lstopo_win-lstopo-color.obj `if test -f 'lstopo-color.c'; then $(CYGPATH_W) 'lstopo-color.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-color.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-color.Tpo $(DEPDIR)/lstopo_win-lstopo-color.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-color.c' object='lstopo_win-lstopo-color.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-color.obj `if test -f 'lstopo-color.c'; then $(CYGPATH_W) 'lstopo-color.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-color.c'; fi`
+
+lstopo_win-lstopo-draw.o: lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-draw.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-draw.Tpo -c -o lstopo_win-lstopo-draw.o `test -f 'lstopo-draw.c' || echo '$(srcdir)/'`lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-draw.Tpo $(DEPDIR)/lstopo_win-lstopo-draw.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-draw.c' object='lstopo_win-lstopo-draw.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-draw.o `test -f 'lstopo-draw.c' || echo '$(srcdir)/'`lstopo-draw.c
+
+lstopo_win-lstopo-draw.obj: lstopo-draw.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-draw.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-draw.Tpo -c -o lstopo_win-lstopo-draw.obj `if test -f 'lstopo-draw.c'; then $(CYGPATH_W) 'lstopo-draw.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-draw.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-draw.Tpo $(DEPDIR)/lstopo_win-lstopo-draw.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-draw.c' object='lstopo_win-lstopo-draw.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-draw.obj `if test -f 'lstopo-draw.c'; then $(CYGPATH_W) 'lstopo-draw.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-draw.c'; fi`
+
+lstopo_win-lstopo-fig.o: lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-fig.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-fig.Tpo -c -o lstopo_win-lstopo-fig.o `test -f 'lstopo-fig.c' || echo '$(srcdir)/'`lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-fig.Tpo $(DEPDIR)/lstopo_win-lstopo-fig.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-fig.c' object='lstopo_win-lstopo-fig.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-fig.o `test -f 'lstopo-fig.c' || echo '$(srcdir)/'`lstopo-fig.c
+
+lstopo_win-lstopo-fig.obj: lstopo-fig.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-fig.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-fig.Tpo -c -o lstopo_win-lstopo-fig.obj `if test -f 'lstopo-fig.c'; then $(CYGPATH_W) 'lstopo-fig.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-fig.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-fig.Tpo $(DEPDIR)/lstopo_win-lstopo-fig.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-fig.c' object='lstopo_win-lstopo-fig.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-fig.obj `if test -f 'lstopo-fig.c'; then $(CYGPATH_W) 'lstopo-fig.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-fig.c'; fi`
+
+lstopo_win-lstopo-ascii.o: lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-ascii.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-ascii.Tpo -c -o lstopo_win-lstopo-ascii.o `test -f 'lstopo-ascii.c' || echo '$(srcdir)/'`lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-ascii.Tpo $(DEPDIR)/lstopo_win-lstopo-ascii.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-ascii.c' object='lstopo_win-lstopo-ascii.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-ascii.o `test -f 'lstopo-ascii.c' || echo '$(srcdir)/'`lstopo-ascii.c
+
+lstopo_win-lstopo-ascii.obj: lstopo-ascii.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-ascii.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-ascii.Tpo -c -o lstopo_win-lstopo-ascii.obj `if test -f 'lstopo-ascii.c'; then $(CYGPATH_W) 'lstopo-ascii.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-ascii.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-ascii.Tpo $(DEPDIR)/lstopo_win-lstopo-ascii.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-ascii.c' object='lstopo_win-lstopo-ascii.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-ascii.obj `if test -f 'lstopo-ascii.c'; then $(CYGPATH_W) 'lstopo-ascii.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-ascii.c'; fi`
+
+lstopo_win-lstopo-text.o: lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-text.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-text.Tpo -c -o lstopo_win-lstopo-text.o `test -f 'lstopo-text.c' || echo '$(srcdir)/'`lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-text.Tpo $(DEPDIR)/lstopo_win-lstopo-text.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-text.c' object='lstopo_win-lstopo-text.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-text.o `test -f 'lstopo-text.c' || echo '$(srcdir)/'`lstopo-text.c
+
+lstopo_win-lstopo-text.obj: lstopo-text.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-text.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-text.Tpo -c -o lstopo_win-lstopo-text.obj `if test -f 'lstopo-text.c'; then $(CYGPATH_W) 'lstopo-text.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-text.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-text.Tpo $(DEPDIR)/lstopo_win-lstopo-text.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-text.c' object='lstopo_win-lstopo-text.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-text.obj `if test -f 'lstopo-text.c'; then $(CYGPATH_W) 'lstopo-text.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-text.c'; fi`
+
+lstopo_win-lstopo-xml.o: lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-xml.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-xml.Tpo -c -o lstopo_win-lstopo-xml.o `test -f 'lstopo-xml.c' || echo '$(srcdir)/'`lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-xml.Tpo $(DEPDIR)/lstopo_win-lstopo-xml.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-xml.c' object='lstopo_win-lstopo-xml.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-xml.o `test -f 'lstopo-xml.c' || echo '$(srcdir)/'`lstopo-xml.c
+
+lstopo_win-lstopo-xml.obj: lstopo-xml.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-xml.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-xml.Tpo -c -o lstopo_win-lstopo-xml.obj `if test -f 'lstopo-xml.c'; then $(CYGPATH_W) 'lstopo-xml.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-xml.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-xml.Tpo $(DEPDIR)/lstopo_win-lstopo-xml.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-xml.c' object='lstopo_win-lstopo-xml.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-xml.obj `if test -f 'lstopo-xml.c'; then $(CYGPATH_W) 'lstopo-xml.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-xml.c'; fi`
+
+lstopo_win-lstopo-cairo.o: lstopo-cairo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-cairo.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-cairo.Tpo -c -o lstopo_win-lstopo-cairo.o `test -f 'lstopo-cairo.c' || echo '$(srcdir)/'`lstopo-cairo.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-cairo.Tpo $(DEPDIR)/lstopo_win-lstopo-cairo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-cairo.c' object='lstopo_win-lstopo-cairo.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-cairo.o `test -f 'lstopo-cairo.c' || echo '$(srcdir)/'`lstopo-cairo.c
+
+lstopo_win-lstopo-cairo.obj: lstopo-cairo.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-cairo.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-cairo.Tpo -c -o lstopo_win-lstopo-cairo.obj `if test -f 'lstopo-cairo.c'; then $(CYGPATH_W) 'lstopo-cairo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-cairo.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-cairo.Tpo $(DEPDIR)/lstopo_win-lstopo-cairo.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-cairo.c' object='lstopo_win-lstopo-cairo.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-cairo.obj `if test -f 'lstopo-cairo.c'; then $(CYGPATH_W) 'lstopo-cairo.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-cairo.c'; fi`
+
+lstopo_win-lstopo-windows.o: lstopo-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-windows.o -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-windows.Tpo -c -o lstopo_win-lstopo-windows.o `test -f 'lstopo-windows.c' || echo '$(srcdir)/'`lstopo-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-windows.Tpo $(DEPDIR)/lstopo_win-lstopo-windows.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-windows.c' object='lstopo_win-lstopo-windows.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-windows.o `test -f 'lstopo-windows.c' || echo '$(srcdir)/'`lstopo-windows.c
+
+lstopo_win-lstopo-windows.obj: lstopo-windows.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -MT lstopo_win-lstopo-windows.obj -MD -MP -MF $(DEPDIR)/lstopo_win-lstopo-windows.Tpo -c -o lstopo_win-lstopo-windows.obj `if test -f 'lstopo-windows.c'; then $(CYGPATH_W) 'lstopo-windows.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-windows.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lstopo_win-lstopo-windows.Tpo $(DEPDIR)/lstopo_win-lstopo-windows.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lstopo-windows.c' object='lstopo_win-lstopo-windows.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lstopo_win_CPPFLAGS) $(CPPFLAGS) $(lstopo_win_CFLAGS) $(CFLAGS) -c -o lstopo_win-lstopo-windows.obj `if test -f 'lstopo-windows.c'; then $(CYGPATH_W) 'lstopo-windows.c'; else $(CYGPATH_W) '$(srcdir)/lstopo-windows.c'; fi`
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-man1: $(nodist_man_MANS)
+ @$(NORMAL_INSTALL)
+ @list1=''; \
+ list2='$(nodist_man_MANS)'; \
+ test -n "$(man1dir)" \
+ && test -n "`echo $$list1$$list2`" \
+ || exit 0; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
+ { for i in $$list1; do echo "$$i"; done; \
+ if test -n "$$list2"; then \
+ for i in $$list2; do echo "$$i"; done \
+ | sed -n '/\.1[a-z]*$$/p'; \
+ fi; \
+ } | while read p; do \
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; echo "$$p"; \
+ done | \
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+ sed 'N;N;s,\n, ,g' | { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
+ fi; \
+ done; \
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+ while read files; do \
+ test -z "$$files" || { \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
+ done; }
+
+uninstall-man1:
+ @$(NORMAL_UNINSTALL)
+ @list=''; test -n "$(man1dir)" || exit 0; \
+ files=`{ for i in $$list; do echo "$$i"; done; \
+ l2='$(nodist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
+ sed -n '/\.1[a-z]*$$/p'; \
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
+ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
+install-dist_APPLICATIONSDATA: $(dist_APPLICATIONS_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(dist_APPLICATIONS_DATA)'; test -n "$(APPLICATIONSdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(APPLICATIONSdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(APPLICATIONSdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(APPLICATIONSdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(APPLICATIONSdir)" || exit $$?; \
+ done
+
+uninstall-dist_APPLICATIONSDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dist_APPLICATIONS_DATA)'; test -n "$(APPLICATIONSdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(APPLICATIONSdir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# expand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
+ fi; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ elif test -n "$$redo_logs"; then \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
+ else \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
+ fi; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
+ else \
+ color_start= color_end=; \
+ fi; \
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+test-hwloc-ls.sh.log: test-hwloc-ls.sh
+ @p='test-hwloc-ls.sh'; \
+ b='test-hwloc-ls.sh'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(APPLICATIONSdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-local distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-dist_APPLICATIONSDATA install-man
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man: install-man1
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS uninstall-dist_APPLICATIONSDATA \
+ uninstall-local uninstall-man
+
+uninstall-man: uninstall-man1
+
+.MAKE: check-am install-am install-data-am install-exec-am \
+ install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
+ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
+ ctags ctags-am distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-local distclean-tags distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-binPROGRAMS install-data install-data-am \
+ install-data-hook install-dist_APPLICATIONSDATA install-dvi \
+ install-dvi-am install-exec install-exec-am install-exec-hook \
+ install-html install-html-am install-info install-info-am \
+ install-man install-man1 install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
+ uninstall uninstall-am uninstall-binPROGRAMS \
+ uninstall-dist_APPLICATIONSDATA uninstall-local uninstall-man \
+ uninstall-man1
+
+.PRECIOUS: Makefile
+
+
+.1in.1:
+ @ echo Creating $@ man page...
+ @ $(SEDMAN) \
+ > $@ < $<
+
+install-exec-hook:
+ rm -f $(DESTDIR)$(bindir)/hwloc-ls$(EXEEXT)
+ cd $(DESTDIR)$(bindir) && $(LN_S) lstopo-no-graphics$(EXEEXT) hwloc-ls$(EXEEXT)
+@HWLOC_HAVE_CAIRO_FALSE@@HWLOC_HAVE_WINDOWS_FALSE@ rm -f $(DESTDIR)$(bindir)/lstopo
+@HWLOC_HAVE_CAIRO_FALSE@@HWLOC_HAVE_WINDOWS_FALSE@ cd $(DESTDIR)$(bindir) && $(LN_S) lstopo-no-graphics$(EXEEXT) lstopo$(EXEEXT) || true
+
+install-data-hook:
+ rm -f $(DESTDIR)$(man1dir)/hwloc-ls.1
+ cd $(DESTDIR)$(man1dir) && $(LN_S) lstopo-no-graphics.1 hwloc-ls.1
+ rm -f $(DESTDIR)$(man1dir)/lstopo.1
+ cd $(DESTDIR)$(man1dir) && $(LN_S) lstopo-no-graphics.1 lstopo.1
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hwloc-ls$(EXEEXT)
+@HWLOC_HAVE_CAIRO_FALSE@@HWLOC_HAVE_WINDOWS_FALSE@ rm -f $(DESTDIR)$(bindir)/lstopo$(EXEEXT)
+ rm -f $(DESTDIR)$(man1dir)/hwloc-ls.1 $(DESTDIR)$(man1dir)/lstopo.1
+
+distclean-local:
+ rm -f $(nodist_man_MANS)
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+/*
+ * Pretty text output
+ */
+
+#include <private/autogen/config.h>
+#include <private/private.h>
+#include <hwloc.h>
+
+#ifdef HAVE_NL_LANGINFO
+#include <langinfo.h>
+#endif /* HAVE_NL_LANGINFO */
+
+#ifdef HAVE_PUTWC
+#include <wchar.h>
+#endif /* HAVE_PUTWC */
+
+#ifdef HWLOC_HAVE_LIBTERMCAP
+#ifdef HWLOC_USE_NCURSES
+# include <ncurses.h>
+#else
+# include <curses.h>
+#endif
+#include <term.h>
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+
+#include "lstopo.h"
+
+/* Uses unicode bars if available */
+#ifdef HAVE_PUTWC
+typedef wchar_t character;
+#define PRIchar "lc"
+#define putcharacter(c,f) putwc(c,f)
+#else /* HAVE_PUTWC */
+typedef unsigned char character;
+#define PRIchar "c"
+#define putcharacter(c,f) putc(c,f)
+#endif /* HAVE_PUTWC */
+
+#ifdef HWLOC_HAVE_LIBTERMCAP
+static int myputchar(int c) {
+ return putcharacter(c, stdout);
+}
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+
+/* Off-screen rendering buffer */
+struct cell {
+ character c;
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ int fr, fg, fb;
+ int br, bg, bb;
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+};
+
+struct lstopo_ascii_output {
+ struct lstopo_output loutput; /* must be at the beginning */
+ struct cell **cells;
+ int width;
+ int height;
+ int utf8;
+ int drawing;
+};
+
+static struct draw_methods ascii_draw_methods;
+
+/* Allocate the off-screen buffer */
+static void
+ascii_init(void *_output)
+{
+ struct lstopo_ascii_output *disp = _output;
+ unsigned width, height;
+ unsigned j, i;
+
+ /* compute the required size */
+ disp->drawing = 0;
+ output_draw(&disp->loutput);
+ width = disp->width;
+ height = disp->height;
+ disp->drawing = 1;
+
+ /* terminals usually have narrow characters, so let's make them wider */
+ disp->cells = malloc(height * sizeof(*disp->cells));
+ for (j = 0; j < height; j++) {
+ disp->cells[j] = calloc(width, sizeof(**disp->cells));
+ for (i = 0; i < width; i++)
+ disp->cells[j][i].c = ' ';
+ }
+#ifdef HAVE_NL_LANGINFO
+ disp->utf8 = !strcmp(nl_langinfo(CODESET), "UTF-8");
+#endif /* HAVE_NL_LANGINFO */
+}
+
+#ifdef HWLOC_HAVE_LIBTERMCAP
+/* Standard terminfo strings */
+static char *initc = NULL, *initp = NULL;
+
+/* Set text color to bright white or black according to the background */
+static int set_textcolor(int rr, int gg, int bb)
+{
+ if (!initc && !initp && rr + gg + bb < 2) {
+ if (enter_bold_mode)
+ tputs(enter_bold_mode, 1, myputchar);
+ return 7;
+ } else {
+ if (exit_attribute_mode)
+ tputs(exit_attribute_mode, 1, myputchar);
+ return 0;
+ }
+}
+
+static void
+set_color(int fr, int fg, int fb, int br, int bg, int bb)
+{
+ char *toput;
+ int color, textcolor;
+
+ if (initc || initp) {
+ /* Can set rgb color, easy */
+ textcolor = rgb_to_color(fr, fg, fb) + 16;
+ color = rgb_to_color(br, bg, bb) + 16;
+ } else {
+ /* Magic trigger: it seems to separate colors quite well */
+ int brr = br >= 0xe0;
+ int bgg = bg >= 0xe0;
+ int bbb = bb >= 0xe0;
+
+ if (set_a_background)
+ /* ANSI colors */
+ color = (brr << 0) | (bgg << 1) | (bbb << 2);
+ else
+ /* Legacy colors */
+ color = (brr << 2) | (bgg << 1) | (bbb << 0);
+ textcolor = set_textcolor(brr, bgg, bbb);
+ }
+
+ /* And now output magic string to TTY */
+ if (set_a_foreground) {
+ /* foreground */
+ if ((toput = tparm(set_a_foreground, textcolor, 0, 0, 0, 0, 0, 0, 0, 0)))
+ tputs(toput, 1, myputchar);
+ /* background */
+ if ((toput = tparm(set_a_background, color, 0, 0, 0, 0, 0, 0, 0, 0)))
+ tputs(toput, 1, myputchar);
+ } else if (set_foreground) {
+ /* foreground */
+ if ((toput = tparm(set_foreground, textcolor, 0, 0, 0, 0, 0, 0, 0, 0)))
+ tputs(toput, 1, myputchar);
+ /* background */
+ if ((toput = tparm(set_background, color, 0, 0, 0, 0, 0, 0, 0, 0)))
+ tputs(toput, 1, myputchar);
+ } else if (set_color_pair) {
+ /* pair */
+ if ((toput = tparm(set_color_pair, color, 0, 0, 0, 0, 0, 0, 0, 0)))
+ tputs(toput, 1, myputchar);
+ }
+}
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+
+/* We we can, allocate rgb colors */
+static void
+ascii_declare_color(void *output __hwloc_attribute_unused, int r __hwloc_attribute_unused, int g __hwloc_attribute_unused, int b __hwloc_attribute_unused)
+{
+ struct lstopo_ascii_output *disp = output;
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ int color, rr, gg, bb;
+ char *toput;
+#endif
+
+ if (!disp->drawing)
+ return;
+
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ color = declare_color(r, g, b);
+ /* Yes, values seem to range from 0 to 1000 inclusive */
+ rr = (r * 1001) / 256;
+ gg = (g * 1001) / 256;
+ bb = (b * 1001) / 256;
+
+ if (initc) {
+ if ((toput = tparm(initc, color + 16, rr, gg, bb, 0, 0, 0, 0, 0)))
+ tputs(toput, 1, myputchar);
+ } else if (initp) {
+ if ((toput = tparm(initp, color + 16, 0, 0, 0, rr, gg, bb, 0, 0)))
+ tputs(toput, 1, myputchar);
+ }
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+}
+
+/* output text, erasing any previous content */
+static void
+put(struct lstopo_ascii_output *disp, int x, int y, character c, int fr __hwloc_attribute_unused, int fg __hwloc_attribute_unused, int fb __hwloc_attribute_unused, int br __hwloc_attribute_unused, int bg __hwloc_attribute_unused, int bb __hwloc_attribute_unused)
+{
+ if (x >= disp->width || y >= disp->height) {
+ /* fprintf(stderr, "%"PRIchar" overflowed to (%d,%d)\n", c, x, y); */
+ return;
+ }
+ disp->cells[y][x].c = c;
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ if (fr != -1) {
+ disp->cells[y][x].fr = fr;
+ disp->cells[y][x].fg = fg;
+ disp->cells[y][x].fb = fb;
+ }
+ if (br != -1) {
+ disp->cells[y][x].br = br;
+ disp->cells[y][x].bg = bg;
+ disp->cells[y][x].bb = bb;
+ }
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+}
+
+/* Where bars of a character go to */
+enum {
+ up = (1<<0),
+ down = (1<<1),
+ left = (1<<2),
+ right = (1<<3)
+};
+
+/* Convert a bar character into its directions */
+static int
+to_directions(struct lstopo_ascii_output *disp, character c)
+{
+#ifdef HAVE_PUTWC
+ if (disp->utf8) {
+ switch (c) {
+ case L'\x250c': return down|right;
+ case L'\x2510': return down|left;
+ case L'\x2514': return up|right;
+ case L'\x2518': return up|left;
+ case L'\x2500': return left|right;
+ case L'\x2502': return down|up;
+ case L'\x2577': return down;
+ case L'\x2575': return up;
+ case L'\x2576': return right;
+ case L'\x2574': return left;
+ case L'\x251c': return down|up|right;
+ case L'\x2524': return down|up|left;
+ case L'\x252c': return down|left|right;
+ case L'\x2534': return up|left|right;
+ case L'\x253c': return down|up|left|right;
+ default: return 0;
+ }
+ } else
+#endif /* HAVE_PUTWC */
+ {
+ switch (c) {
+ case L'-': return left|right;
+ case L'|': return down|up;
+ case L'/':
+ case L'\\':
+ case L'+': return down|up|left|right;
+ default: return 0;
+ }
+ }
+}
+
+/* Produce a bar character given the wanted directions */
+static character
+from_directions(struct lstopo_ascii_output *disp, int direction)
+{
+#ifdef HAVE_PUTWC
+ if (disp->utf8) {
+ switch (direction) {
+ case down|right: return L'\x250c';
+ case down|left: return L'\x2510';
+ case up|right: return L'\x2514';
+ case up|left: return L'\x2518';
+ case left|right: return L'\x2500';
+ case down|up: return L'\x2502';
+ case down: return L'\x2577';
+ case up: return L'\x2575';
+ case right: return L'\x2576';
+ case left: return L'\x2574';
+ case down|up|right: return L'\x251c';
+ case down|up|left: return L'\x2524';
+ case down|left|right: return L'\x252c';
+ case up|left|right: return L'\x2534';
+ case down|up|left|right: return L'\x253c';
+ default: return L' ';
+ };
+ } else
+#endif /* HAVE_PUTWC */
+ {
+ switch (direction) {
+ case down|right: return '/';
+ case down|left: return '\\';
+ case up|right: return '\\';
+ case up|left: return '/';
+ case left|right: return '-';
+ case down|up: return '|';
+ case down: return '|';
+ case up: return '|';
+ case right: return '-';
+ case left: return '-';
+ case down|up|right: return '+';
+ case down|up|left: return '+';
+ case down|left|right: return '+';
+ case up|left|right: return '+';
+ case down|up|left|right: return '+';
+ default: return ' ';
+ };
+ }
+}
+
+/* output bars, merging with existing bars: `andnot' are removed, `or' are added */
+static void
+merge(struct lstopo_ascii_output *disp, int x, int y, int or, int andnot, int r, int g, int b)
+{
+ character current;
+ int directions;
+ if (x >= disp->width || y >= disp->height) {
+ /* fprintf(stderr, "|%x &~%x overflowed to (%d,%d)\n", or, andnot, x, y); */
+ return;
+ }
+ current = disp->cells[y][x].c;
+ directions = (to_directions(disp, current) & ~andnot) | or;
+ put(disp, x, y, from_directions(disp, directions), -1, -1, -1, r, g, b);
+}
+
+/* Now we can implement the standard drawing helpers */
+static void
+ascii_box(void *output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x1, unsigned width, unsigned y1, unsigned height)
+{
+ struct lstopo_ascii_output *disp = output;
+ unsigned i, j;
+ unsigned x2, y2;
+ x1 /= (gridsize/2);
+ width /= (gridsize/2);
+ y1 /= gridsize;
+ height /= gridsize;
+ x2 = x1 + width - 1;
+ y2 = y1 + height - 1;
+
+ if (!disp->drawing) {
+ if ((int)x1 >= disp->width)
+ disp->width = x1+1;
+ if ((int)x2 >= disp->width)
+ disp->width = x2+1;
+ if ((int)y1 >= disp->height)
+ disp->height = y1+1;
+ if ((int)y2 >= disp->height)
+ disp->height = y2+1;
+ return;
+ }
+
+ /* Corners */
+ merge(disp, x1, y1, down|right, 0, r, g, b);
+ merge(disp, x2, y1, down|left, 0, r, g, b);
+ merge(disp, x1, y2, up|right, 0, r, g, b);
+ merge(disp, x2, y2, up|left, 0, r, g, b);
+
+ for (i = 1; i < width - 1; i++) {
+ /* upper line */
+ merge(disp, x1 + i, y1, left|right, down, r, g, b);
+ /* lower line */
+ merge(disp, x1 + i, y2, left|right, up, r, g, b);
+ }
+ for (j = 1; j < height - 1; j++) {
+ /* left line */
+ merge(disp, x1, y1 + j, up|down, right, r, g, b);
+ /* right line */
+ merge(disp, x2, y1 + j, up|down, left, r, g, b);
+ }
+ for (j = y1 + 1; j < y2; j++) {
+ for (i = x1 + 1; i < x2; i++) {
+ put(disp, i, j, ' ', -1, -1, -1, r, g, b);
+ }
+ }
+}
+
+static void
+ascii_line(void *output, int r __hwloc_attribute_unused, int g __hwloc_attribute_unused, int b __hwloc_attribute_unused, unsigned depth __hwloc_attribute_unused, unsigned x1, unsigned y1, unsigned x2, unsigned y2)
+{
+ struct lstopo_ascii_output *disp = output;
+ unsigned i, j, z;
+ x1 /= (gridsize/2);
+ y1 /= gridsize;
+ x2 /= (gridsize/2);
+ y2 /= gridsize;
+
+ /* Canonicalize coordinates */
+ if (x1 > x2) {
+ z = x1;
+ x1 = x2;
+ x2 = z;
+ }
+ if (y1 > y2) {
+ z = y1;
+ y1 = y2;
+ y2 = z;
+ }
+
+ if (!disp->drawing) {
+ if ((int)x2 >= disp->width)
+ disp->width = x2+1;
+ if ((int)y2 >= disp->height)
+ disp->height = y2+1;
+ return;
+ }
+
+ /* vertical/horizontal should be enough, but should mix with existing
+ * characters for better output ! */
+
+ if (x1 == x2) {
+ /* Vertical */
+ if (y1 == y2) {
+ /* Hu ?! That's a point, let's do nothing... */
+ } else {
+ /* top */
+ merge(disp, x1, y1, down, 0, -1, -1, -1);
+ /* bottom */
+ merge(disp, x1, y2, up, 0, -1, -1, -1);
+ }
+ for (j = y1 + 1; j < y2; j++)
+ merge(disp, x1, j, down|up, 0, -1, -1, -1);
+ } else if (y1 == y2) {
+ /* Horizontal */
+ /* left */
+ merge(disp, x1, y1, right, 0, -1, -1, -1);
+ /* right */
+ merge(disp, x2, y1, left, 0, -1, -1, -1);
+ for (i = x1 + 1; i < x2; i++)
+ merge(disp, i, y1, left|right, 0, -1, -1, -1);
+ } else {
+ /* Unsupported, sorry */
+ }
+}
+
+static void
+ascii_text(void *output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x, unsigned y, const char *text)
+{
+ struct lstopo_ascii_output *disp = output;
+
+ if (!disp->drawing)
+ return;
+
+ x /= (gridsize/2);
+ y /= gridsize;
+
+#if defined(HAVE_PUTWC) && !defined(__MINGW32__) && !defined(_MSC_VER)
+ {
+ size_t len = strlen(text) + 1;
+ wchar_t *wbuf = malloc(len * sizeof(wchar_t)), *wtext;
+ swprintf(wbuf, len, L"%s", text);
+ for (wtext = wbuf ; *wtext; wtext++)
+ put(disp, x++, y, *wtext, r, g, b, -1, -1, -1);
+ free(wbuf);
+ }
+#else
+ for ( ; *text; text++)
+ put(disp, x++, y, *text, r, g, b, -1, -1, -1);
+#endif
+}
+
+static void
+ascii_textsize(void *output __hwloc_attribute_unused, const char *text __hwloc_attribute_unused, unsigned textlength, unsigned *width)
+{
+ *width = textlength*(gridsize/2);
+}
+
+static struct draw_methods ascii_draw_methods = {
+ ascii_init,
+ ascii_declare_color,
+ ascii_box,
+ ascii_line,
+ ascii_text,
+ ascii_textsize,
+};
+
+void output_ascii(struct lstopo_output *loutput, const char *filename)
+{
+ FILE *output;
+ struct lstopo_ascii_output _disp, *disp = &_disp;
+ int i, j;
+ int lfr, lfg, lfb; /* Last foreground color */
+ int lbr, lbg, lbb; /* Last background color */
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ int term = 0;
+ char *tmp;
+#endif
+
+ output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ return;
+ }
+
+ if (gridsize <= 1) { /* we divide by gridsize or gridsize/2 in the code */
+ fprintf(stderr, "ASCII backend requires gridsize > 1\n");
+ return;
+ }
+
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ /* If we are outputing to a tty, use colors */
+ if (output == stdout && isatty(STDOUT_FILENO)) {
+ term = !setupterm(NULL, STDOUT_FILENO, NULL);
+
+ if (term) {
+ /* reset colors */
+ if (orig_colors)
+ tputs(orig_colors, 1, myputchar);
+
+ /* Get terminfo(5) strings */
+ initp = initialize_pair;
+ if (max_pairs <= 16 || !initp || !set_color_pair) {
+ /* Can't use max_pairs to define our own colors */
+ initp = NULL;
+ if (max_colors > 16)
+ if (can_change)
+ initc = initialize_color;
+ }
+ /* Prevent a trivial compiler warning because the param of
+ tgetflag is (char*), not (const char*). */
+ tmp = strdup("lhs");
+ if (tgetflag(tmp)) {
+ /* Sorry, I'm lazy to convert colors and I don't know any terminal
+ * using LHS anyway */
+ initc = initp = 0;
+ }
+ free(tmp);
+ }
+ }
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+
+ memcpy(&disp->loutput, loutput, sizeof(*loutput));
+ disp->loutput.methods = &ascii_draw_methods;
+ disp->width = 0;
+ disp->height = 0;
+
+ output_draw_start(&disp->loutput);
+ output_draw(&disp->loutput);
+
+ lfr = lfg = lfb = -1;
+ lbr = lbg = lbb = -1;
+ for (j = 0; j < disp->height; j++) {
+ for (i = 0; i < disp->width; i++) {
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ if (term) {
+ /* TTY output, use colors */
+ int fr = disp->cells[j][i].fr;
+ int fg = disp->cells[j][i].fg;
+ int fb = disp->cells[j][i].fb;
+ int br = disp->cells[j][i].br;
+ int bg = disp->cells[j][i].bg;
+ int bb = disp->cells[j][i].bb;
+
+ /* Avoid too much work for the TTY */
+ if (fr != lfr || fg != lfg || fb != lfb
+ || br != lbr || bg != lbg || bb != lbb) {
+ set_color(fr, fg, fb, br, bg, bb);
+ lfr = fr;
+ lfg = fg;
+ lfb = fb;
+ lbr = br;
+ lbg = bg;
+ lbb = bb;
+ }
+ }
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+ putcharacter(disp->cells[j][i].c, output);
+ }
+#ifdef HWLOC_HAVE_LIBTERMCAP
+ /* Keep the rest of the line as default */
+ if (term && orig_pair) {
+ lfr = lfg = lfb = -1;
+ lbr = lbg = lbb = -1;
+ tputs(orig_pair, 1, myputchar);
+ }
+#endif /* HWLOC_HAVE_LIBTERMCAP */
+ putcharacter('\n', output);
+ }
+
+ for (j = 0; j < disp->height; j++)
+ free(disp->cells[j]);
+ free(disp->cells);
+
+ if (output != stdout)
+ fclose(output);
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2014, 2017 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#include <cairo.h>
+
+#ifdef CAIRO_HAS_PDF_SURFACE
+#include <cairo-pdf.h>
+#endif /* CAIRO_HAS_PDF_SURFACE */
+
+#ifdef CAIRO_HAS_PS_SURFACE
+#include <cairo-ps.h>
+#endif /* CAIRO_HAS_PS_SURFACE */
+
+#ifdef CAIRO_HAS_SVG_SURFACE
+#include <cairo-svg.h>
+#endif /* CAIRO_HAS_SVG_SURFACE */
+
+#ifndef HWLOC_HAVE_X11_KEYSYM
+/* In case X11 headers aren't availble, forcefully disable Cairo/Xlib. */
+# undef CAIRO_HAS_XLIB_SURFACE
+#endif
+
+#ifdef CAIRO_HAS_XLIB_SURFACE
+#include <cairo-xlib.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <X11/keysym.h>
+#include <X11/cursorfont.h>
+/* Avoid Xwindow's definition conflict with Windows' use for fields names. */
+#undef Status
+#endif /* CAIRO_HAS_XLIB_SURFACE */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <limits.h>
+
+#include "lstopo.h"
+
+#if (defined CAIRO_HAS_XLIB_SURFACE) + (defined CAIRO_HAS_PNG_FUNCTIONS) + (defined CAIRO_HAS_PDF_SURFACE) + (defined CAIRO_HAS_PS_SURFACE) + (defined CAIRO_HAS_SVG_SURFACE)
+struct lstopo_cairo_output {
+ struct lstopo_output loutput; /* must be at the beginning */
+ cairo_surface_t *surface;
+ cairo_t *context;
+ unsigned max_x;
+ unsigned max_y;
+ int drawing;
+};
+
+/* Cairo methods */
+static void
+topo_cairo_box(void *_output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x, unsigned width, unsigned y, unsigned height)
+{
+ struct lstopo_cairo_output *coutput = _output;
+ cairo_t *c = coutput->context;
+
+ if (x > coutput->max_x)
+ coutput->max_x = x;
+ if (x + width > coutput->max_x)
+ coutput->max_x = x + width;
+ if (y > coutput->max_y)
+ coutput->max_y = y;
+ if (y + height > coutput->max_y)
+ coutput->max_y = y + height;
+
+ if (!coutput->drawing)
+ return;
+
+ cairo_rectangle(c, x, y, width, height);
+ cairo_set_source_rgb(c, (float)r / 255, (float) g / 255, (float) b / 255);
+ cairo_fill(c);
+
+ cairo_rectangle(c, x, y, width, height);
+ cairo_set_source_rgb(c, 0, 0, 0);
+ cairo_set_line_width(c, 1);
+ cairo_stroke(c);
+}
+
+static void
+topo_cairo_line(void *_output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x1, unsigned y1, unsigned x2, unsigned y2)
+{
+ struct lstopo_cairo_output *coutput = _output;
+ cairo_t *c = coutput->context;
+
+ if (x1 > coutput->max_x)
+ coutput->max_x = x1;
+ if (x2 > coutput->max_x)
+ coutput->max_x = x2;
+ if (y1 > coutput->max_y)
+ coutput->max_y = y1;
+ if (y2 > coutput->max_y)
+ coutput->max_y = y2;
+
+ if (!coutput->drawing)
+ return;
+
+ cairo_move_to(c, x1, y1);
+ cairo_set_source_rgb(c, (float) r / 255, (float) g / 255, (float) b / 255);
+ cairo_set_line_width(c, 1);
+ cairo_line_to(c, x2, y2);
+ cairo_stroke(c);
+}
+
+static void
+topo_cairo_text(void *_output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x, unsigned y, const char *text)
+{
+ struct lstopo_cairo_output *coutput = _output;
+ cairo_t *c = coutput->context;
+
+ if (!coutput->drawing)
+ return;
+
+ cairo_move_to(c, x, y + fontsize);
+ cairo_set_source_rgb(c, (float)r / 255, (float) g / 255, (float) b / 255);
+ cairo_show_text(c, text);
+}
+
+static void
+topo_cairo_textsize(void *_output, const char *text, unsigned textlength __hwloc_attribute_unused, unsigned *width)
+{
+ struct lstopo_cairo_output *coutput = _output;
+ cairo_t *c = coutput->context;
+ cairo_text_extents_t extents;
+ cairo_text_extents(c, text, &extents);
+ *width = extents.width;
+}
+
+
+#if (defined CAIRO_HAS_PNG_FUNCTIONS) + (defined CAIRO_HAS_PDF_SURFACE) + (defined CAIRO_HAS_PS_SURFACE) + (defined CAIRO_HAS_SVG_SURFACE)
+static cairo_status_t
+topo_cairo_write(void *closure, const unsigned char *data, unsigned int length)
+{
+ if (fwrite(data, length, 1, closure) < 1)
+ return CAIRO_STATUS_WRITE_ERROR;
+ return CAIRO_STATUS_SUCCESS;
+}
+#endif /* (CAIRO_HAS_PNG_FUNCTIONS + CAIRO_HAS_PDF_SURFACE + CAIRO_HAS_PS_SURFACE + CAIRO_HAS_SVG_SURFACE) */
+
+static void
+topo_cairo_paint(struct lstopo_cairo_output *coutput)
+{
+ cairo_surface_t *cs = coutput->surface;
+ cairo_t *c = cairo_create(cs);
+ coutput->context = c;
+ cairo_set_font_size(c, fontsize);
+ output_draw(&coutput->loutput);
+ cairo_show_page(c);
+ cairo_destroy(c);
+ coutput->context = NULL;
+}
+
+static void null_declare_color (void *output __hwloc_attribute_unused, int r __hwloc_attribute_unused, int g __hwloc_attribute_unused, int b __hwloc_attribute_unused) {}
+#endif /* (CAIRO_HAS_XLIB_SURFACE + CAIRO_HAS_PNG_FUNCTIONS + CAIRO_HAS_PDF_SURFACE + CAIRO_HAS_PS_SURFACE + CAIRO_HAS_SVG_SURFACE) */
+
+\f
+#ifdef CAIRO_HAS_XLIB_SURFACE
+/* X11 back-end */
+static struct draw_methods x11_draw_methods;
+
+struct lstopo_x11_output {
+ struct lstopo_cairo_output coutput; /* must be at the beginning */
+ Display *dpy;
+ int scr;
+ Window top, win;
+ Cursor hand;
+ unsigned int orig_fontsize, orig_gridsize;
+ int screen_width, screen_height; /** visible part size */
+ int last_screen_width, last_screen_height; /** last visible part size */
+ int width, height; /** total normal display size */
+ int x, y; /** top left corner of the visible part */
+ float scale, last_scale;
+};
+
+static void
+x11_create(struct lstopo_x11_output *disp, int width, int height)
+{
+ disp->win = XCreateSimpleWindow(disp->dpy, disp->top, 0, 0, width, height, 0, WhitePixel(disp->dpy, disp->scr), WhitePixel(disp->dpy, disp->scr));
+ disp->hand = XCreateFontCursor(disp->dpy, XC_fleur);
+ XDefineCursor(disp->dpy, disp->win, disp->hand);
+ XSelectInput(disp->dpy, disp->win,
+ KeyPressMask |
+ ButtonPressMask | ButtonReleaseMask |
+ PointerMotionMask |
+ ExposureMask);
+ XMapWindow(disp->dpy, disp->win);
+ disp->coutput.surface = cairo_xlib_surface_create(disp->dpy, disp->win, DefaultVisual(disp->dpy, disp->scr), width, height);
+}
+
+static void
+x11_destroy(struct lstopo_x11_output *disp)
+{
+ cairo_surface_destroy(disp->coutput.surface);
+ XDestroyWindow(disp->dpy, disp->win);
+}
+
+static void
+x11_init(void *_disp)
+{
+ struct lstopo_x11_output *disp = _disp;
+ struct lstopo_cairo_output *coutput = &disp->coutput;
+ Display *dpy;
+ Window root, top;
+ int scr;
+ Screen *screen;
+ int screen_width, screen_height;
+ unsigned int dpi_x, dpi_y, dpi;
+
+ /* create the toplevel window */
+ if (!(dpy = XOpenDisplay(NULL))) {
+ fprintf(stderr, "couldn't connect to X\n");
+ exit(EXIT_FAILURE);
+ }
+
+ disp->dpy = dpy;
+ disp->scr = scr = DefaultScreen(dpy);
+ screen = ScreenOfDisplay(dpy, scr);
+
+ /* 25.4mm per inch */
+ dpi_x = ((double) DisplayWidth(dpy, scr) * 25.4) / DisplayWidthMM(dpy, scr);
+ dpi_y = ((double) DisplayHeight(dpy, scr) * 25.4) / DisplayHeightMM(dpy, scr);
+ dpi = (dpi_x + dpi_y) / 2;
+
+ /* Original values for fontsize/gridsize were tuned for 96dpi */
+ fontsize = (fontsize * dpi) / 96;
+ gridsize = (gridsize * dpi) / 96;
+
+ /* compute the maximal needed size using the root window */
+ root = RootWindow(dpy, scr);
+ disp->top = root;
+ coutput->drawing = 0;
+ x11_create(disp, 1, 1);
+ topo_cairo_paint(coutput);
+ x11_destroy(disp);
+ coutput->drawing = 1;
+
+ /* now create the actual window with the computed max size */
+ screen_width = coutput->max_x;
+ screen_height = coutput->max_y;
+
+ disp->top = top = XCreateSimpleWindow(dpy, root, 0, 0, screen_width, screen_height, 0, WhitePixel(dpy, scr), WhitePixel(dpy, scr));
+ XStoreName(dpy, top, "lstopo");
+ XSetIconName(dpy, top, "lstopo");
+ XSelectInput(dpy,top, StructureNotifyMask | KeyPressMask);
+
+ if (screen_width >= screen->width)
+ screen_width = screen->width;
+ if (screen_height >= screen->height)
+ screen_height = screen->height;
+ disp->last_screen_width = 0;
+ disp->last_screen_height = 0;
+ disp->screen_width = screen_width;
+ disp->screen_height = screen_height;
+ disp->width = coutput->max_x;
+ disp->height = coutput->max_y;
+ disp->orig_fontsize = fontsize;
+ disp->orig_gridsize = gridsize;
+ disp->x = 0;
+ disp->y = 0;
+ disp->scale = disp->last_scale = 1.0f;
+ /* TODO: if window got truncated, scale down? */
+
+ x11_create(disp, coutput->max_x, coutput->max_y);
+
+ XMapWindow(dpy, top);
+
+ printf("\n");
+ printf("Keyboard shortcuts:\n");
+ printf(" Zoom-in or out .................... + -\n");
+ printf(" Try to fit scale to window ........ f F\n");
+ printf(" Reset scale to default ............ 1\n");
+ printf(" Scroll vertically ................. Up Down PageUp PageDown\n");
+ printf(" Scroll horizontally ............... Left Right Ctrl+PageUp/Down\n");
+ printf(" Scroll to the top-left corner ..... Home\n");
+ printf(" Scroll to the bottom-right corner . End\n");
+ printf(" Exit .............................. q Q Esc\n");
+ printf("\n\n");
+}
+
+static struct draw_methods x11_draw_methods = {
+ x11_init,
+ null_declare_color,
+ topo_cairo_box,
+ topo_cairo_line,
+ topo_cairo_text,
+ topo_cairo_textsize,
+};
+
+/** Clip coordinates of the visible part. */
+static void
+move_x11(struct lstopo_x11_output *disp)
+{
+ if (disp->scale != disp->last_scale) {
+ disp->x = disp->scale / disp->last_scale * (float)disp->x;
+ disp->y = disp->scale / disp->last_scale * (float)disp->y;
+ }
+
+ if (disp->screen_width != disp->last_screen_width
+ || disp->screen_height != disp->last_screen_height
+ || disp->scale != disp->last_scale) {
+ disp->last_screen_width = disp->screen_width;
+ disp->last_screen_height = disp->screen_height;
+ disp->last_scale = disp->scale;
+ fontsize = disp->orig_fontsize * disp->scale;
+ gridsize = disp->orig_gridsize * disp->scale;
+
+ x11_destroy(disp);
+
+ x11_create(disp, disp->width, disp->height);
+ disp->coutput.max_x = 0;
+ disp->coutput.max_y = 0;
+ topo_cairo_paint(&disp->coutput);
+ if (disp->coutput.max_x > (unsigned) disp->width || disp->coutput.max_y > (unsigned) disp->height) {
+ /* need to extend the window and redraw */
+ x11_destroy(disp);
+ x11_create(disp, disp->coutput.max_x, disp->coutput.max_y);
+ topo_cairo_paint(&disp->coutput);
+ }
+ disp->width = disp->coutput.max_x;
+ disp->height = disp->coutput.max_y;
+ }
+
+ if (disp->width <= disp->screen_width) {
+ disp->x = 0;
+ } else {
+ if (disp->x < 0)
+ disp->x = 0;
+ if (disp->x >= disp->width - disp->screen_width)
+ disp->x = disp->width - disp->screen_width;
+ }
+
+ if (disp->height <= disp->screen_height) {
+ disp->y = 0;
+ } else {
+ if (disp->y < 0)
+ disp->y = 0;
+ if (disp->y >= disp->height - disp->screen_height)
+ disp->y = disp->height - disp->screen_height;
+ }
+}
+
+void
+output_x11(struct lstopo_output *loutput, const char *filename __hwloc_attribute_unused)
+{
+ struct lstopo_x11_output _disp, *disp = &_disp;
+ struct lstopo_cairo_output *coutput;
+ int finish = 0;
+ int state = 0;
+ int x = 0, y = 0; /* shut warning down */
+ int lastx, lasty;
+
+ coutput = &disp->coutput;
+ memset(coutput, 0, sizeof(*coutput));
+ memcpy(&coutput->loutput, loutput, sizeof(*loutput));
+ coutput->loutput.methods = &x11_draw_methods;
+
+ output_draw_start(&coutput->loutput);
+ lastx = disp->x;
+ lasty = disp->y;
+
+ topo_cairo_paint(coutput);
+
+ while (!finish) {
+ XEvent e;
+ if (!XEventsQueued(disp->dpy, QueuedAfterFlush)) {
+ /* No pending event, flush moving windows before waiting for next event */
+ if (disp->x != lastx || disp->y != lasty) {
+ XMoveWindow(disp->dpy, disp->win, -disp->x, -disp->y);
+ lastx = disp->x;
+ lasty = disp->y;
+ }
+ }
+ XNextEvent(disp->dpy, &e);
+ switch (e.type) {
+ case Expose:
+ if (e.xexpose.count < 1)
+ topo_cairo_paint(coutput);
+ break;
+ case MotionNotify:
+ if (state) {
+ disp->x -= e.xmotion.x_root - x;
+ disp->y -= e.xmotion.y_root - y;
+ x = e.xmotion.x_root;
+ y = e.xmotion.y_root;
+ move_x11(disp);
+ }
+ break;
+ case ConfigureNotify: {
+ float wscale, hscale;
+ disp->screen_width = e.xconfigure.width;
+ disp->screen_height = e.xconfigure.height;
+ if (disp->screen_width != disp->last_screen_width
+ || disp->screen_height != disp->last_screen_height) {
+ wscale = disp->screen_width / (float)disp->width;
+ hscale = disp->screen_height / (float)disp->height;
+ disp->scale *= wscale > hscale ? hscale : wscale;
+ if (disp->scale < 1.0f)
+ disp->scale = 1.0f;
+ move_x11(disp);
+ }
+ if (disp->x != lastx || disp->y != lasty)
+ XMoveWindow(disp->dpy, disp->win, -disp->x, -disp->y);
+ break;
+ }
+ case ButtonPress:
+ if (e.xbutton.button == Button1) {
+ state = 1;
+ x = e.xbutton.x_root;
+ y = e.xbutton.y_root;
+ }
+ break;
+ case ButtonRelease:
+ if (e.xbutton.button == Button1)
+ state = 0;
+ break;
+ case MappingNotify:
+ XRefreshKeyboardMapping(&e.xmapping);
+ break;
+ case KeyPress: {
+ KeySym keysym;
+ XLookupString(&e.xkey, NULL, 0, &keysym, NULL);
+ switch (keysym) {
+ case XK_q:
+ case XK_Q:
+ case XK_Escape:
+ finish = 1;
+ break;
+ case XK_Left:
+ disp->x -= disp->screen_width/10;
+ move_x11(disp);
+ break;
+ case XK_Right:
+ disp->x += disp->screen_width/10;
+ move_x11(disp);
+ break;
+ case XK_Up:
+ disp->y -= disp->screen_height/10;
+ move_x11(disp);
+ break;
+ case XK_Down:
+ disp->y += disp->screen_height/10;
+ move_x11(disp);
+ break;
+ case XK_Page_Up:
+ if (e.xkey.state & ControlMask) {
+ disp->x -= disp->screen_width;
+ move_x11(disp);
+ } else {
+ disp->y -= disp->screen_height;
+ move_x11(disp);
+ }
+ break;
+ case XK_Page_Down:
+ if (e.xkey.state & ControlMask) {
+ disp->x += disp->screen_width;
+ move_x11(disp);
+ } else {
+ disp->y += disp->screen_height;
+ move_x11(disp);
+ }
+ break;
+ case XK_Home:
+ disp->x = 0;
+ disp->y = 0;
+ move_x11(disp);
+ break;
+ case XK_End:
+ disp->x = INT_MAX;
+ disp->y = INT_MAX;
+ move_x11(disp);
+ break;
+ case XK_f:
+ case XK_F: {
+ float wscale = disp->screen_width / (float)disp->width;
+ float hscale = disp->screen_height / (float)disp->height;
+ disp->scale *= wscale > hscale ? hscale : wscale;
+ move_x11(disp);
+ break;
+ }
+ case XK_plus:
+ case XK_KP_Add:
+ disp->scale *= 1.2f;
+ move_x11(disp);
+ break;
+ case XK_minus:
+ case XK_KP_Subtract:
+ disp->scale /= 1.2f;
+ move_x11(disp);
+ break;
+ case XK_1:
+ case XK_KP_1:
+ disp->scale = 1.0f;
+ move_x11(disp);
+ break;
+ }
+ }
+ }
+ }
+ x11_destroy(disp);
+ XDestroyWindow(disp->dpy, disp->top);
+ XFreeCursor(disp->dpy, disp->hand);
+ XCloseDisplay(disp->dpy);
+}
+#endif /* CAIRO_HAS_XLIB_SURFACE */
+
+\f
+#ifdef CAIRO_HAS_PNG_FUNCTIONS
+/* PNG back-end */
+static struct draw_methods png_draw_methods;
+
+static void
+png_init(void *_coutput)
+{
+ struct lstopo_cairo_output *coutput = _coutput;
+ cairo_surface_t *fakecs, *cs;
+
+ /* create a fake surface */
+ fakecs = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 1, 1);
+ coutput->surface = fakecs;
+
+ /* compute the maximal size using the fake surface */
+ coutput->drawing = 0;
+ topo_cairo_paint(coutput);
+ coutput->drawing = 1;
+ cairo_surface_destroy(fakecs);
+
+ /* create the actual surface with the right size */
+ cs = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, coutput->max_x, coutput->max_y);
+ coutput->surface = cs;
+}
+
+static struct draw_methods png_draw_methods = {
+ png_init,
+ null_declare_color,
+ topo_cairo_box,
+ topo_cairo_line,
+ topo_cairo_text,
+ topo_cairo_textsize,
+};
+
+void
+output_png(struct lstopo_output *loutput, const char *filename)
+{
+ struct lstopo_cairo_output coutput;
+ FILE *output;
+
+ output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ return;
+ }
+
+ memset(&coutput, 0, sizeof(coutput));
+ memcpy(&coutput.loutput, loutput, sizeof(*loutput));
+ coutput.loutput.file = output;
+ coutput.loutput.methods = &png_draw_methods;
+
+ output_draw_start(&coutput.loutput);
+
+ topo_cairo_paint(&coutput);
+ cairo_surface_write_to_png_stream(coutput.surface, topo_cairo_write, output);
+ cairo_surface_destroy(coutput.surface);
+
+ if (output != stdout)
+ fclose(output);
+}
+#endif /* CAIRO_HAS_PNG_FUNCTIONS */
+
+\f
+#ifdef CAIRO_HAS_PDF_SURFACE
+/* PDF back-end */
+static struct draw_methods pdf_draw_methods;
+
+static void
+pdf_init(void *_coutput)
+{
+ struct lstopo_cairo_output *coutput = _coutput;
+ cairo_surface_t *fakecs, *cs;
+
+ /* create a fake surface */
+ fakecs = cairo_pdf_surface_create_for_stream(NULL, NULL, 1, 1);
+ coutput->surface = fakecs;
+
+ /* compute the maximal size using the fake surface */
+ coutput->drawing = 0;
+ topo_cairo_paint(coutput);
+ coutput->drawing = 1;
+ cairo_surface_destroy(fakecs);
+
+ /* create the actual surface with the right size */
+ cs = cairo_pdf_surface_create_for_stream(topo_cairo_write, coutput->loutput.file, coutput->max_x, coutput->max_y);
+ coutput->surface = cs;
+}
+
+static struct draw_methods pdf_draw_methods = {
+ pdf_init,
+ null_declare_color,
+ topo_cairo_box,
+ topo_cairo_line,
+ topo_cairo_text,
+ topo_cairo_textsize,
+};
+
+void
+output_pdf(struct lstopo_output *loutput, const char *filename)
+{
+ struct lstopo_cairo_output coutput;
+ FILE *output;
+
+ output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ return;
+ }
+
+ memset(&coutput, 0, sizeof(coutput));
+ memcpy(&coutput.loutput, loutput, sizeof(*loutput));
+ coutput.loutput.file = output;
+ coutput.loutput.methods = &pdf_draw_methods;
+
+ output_draw_start(&coutput.loutput);
+
+ topo_cairo_paint(&coutput);
+ cairo_surface_flush(coutput.surface);
+ cairo_surface_destroy(coutput.surface);
+
+ if (output != stdout)
+ fclose(output);
+}
+#endif /* CAIRO_HAS_PDF_SURFACE */
+
+\f
+#ifdef CAIRO_HAS_PS_SURFACE
+/* PS back-end */
+static struct draw_methods ps_draw_methods;
+
+static void
+ps_init(void *_coutput)
+{
+ struct lstopo_cairo_output *coutput = _coutput;
+ cairo_surface_t *fakecs, *cs;
+
+ /* create a fake surface */
+ fakecs = cairo_ps_surface_create_for_stream(NULL, NULL, 1, 1);
+ coutput->surface = fakecs;
+
+ /* compute the maximal size using the fake surface */
+ coutput->drawing = 0;
+ topo_cairo_paint(coutput);
+ coutput->drawing = 1;
+ cairo_surface_destroy(fakecs);
+
+ /* create the actual surface with the right size */
+ cs = cairo_ps_surface_create_for_stream(topo_cairo_write, coutput->loutput.file, coutput->max_x, coutput->max_y);
+ coutput->surface = cs;
+}
+
+static struct draw_methods ps_draw_methods = {
+ ps_init,
+ null_declare_color,
+ topo_cairo_box,
+ topo_cairo_line,
+ topo_cairo_text,
+ topo_cairo_textsize,
+};
+
+void
+output_ps(struct lstopo_output *loutput, const char *filename)
+{
+ struct lstopo_cairo_output coutput;
+ FILE *output;
+
+ output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ return;
+ }
+
+ memset(&coutput, 0, sizeof(coutput));
+ memcpy(&coutput.loutput, loutput, sizeof(*loutput));
+ coutput.loutput.file = output;
+ coutput.loutput.methods = &ps_draw_methods;
+
+ output_draw_start(&coutput.loutput);
+
+ topo_cairo_paint(&coutput);
+ cairo_surface_flush(coutput.surface);
+ cairo_surface_destroy(coutput.surface);
+
+ if (output != stdout)
+ fclose(output);
+}
+#endif /* CAIRO_HAS_PS_SURFACE */
+
+\f
+#ifdef CAIRO_HAS_SVG_SURFACE
+/* SVG back-end */
+static struct draw_methods svg_draw_methods;
+
+static void
+svg_init(void *_coutput)
+{
+ struct lstopo_cairo_output *coutput = _coutput;
+ cairo_surface_t *fakecs, *cs;
+
+ /* create a fake surface */
+ fakecs = cairo_svg_surface_create_for_stream(NULL, NULL, 1, 1);
+ coutput->surface = fakecs;
+
+ /* compute the maximal size using the fake surface */
+ coutput->drawing = 0;
+ topo_cairo_paint(coutput);
+ coutput->drawing = 1;
+ cairo_surface_destroy(fakecs);
+
+ /* create the actual surface with the right size */
+ cs = cairo_svg_surface_create_for_stream(topo_cairo_write, coutput->loutput.file, coutput->max_x, coutput->max_y);
+ coutput->surface = cs;
+}
+
+static struct draw_methods svg_draw_methods = {
+ svg_init,
+ null_declare_color,
+ topo_cairo_box,
+ topo_cairo_line,
+ topo_cairo_text,
+ topo_cairo_textsize,
+};
+
+void
+output_svg(struct lstopo_output *loutput, const char *filename)
+{
+ struct lstopo_cairo_output coutput;
+ FILE *output;
+
+ output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ return;
+ }
+
+ memset(&coutput, 0, sizeof(coutput));
+ memcpy(&coutput.loutput, loutput, sizeof(*loutput));
+ coutput.loutput.file = output;
+ coutput.loutput.methods = &svg_draw_methods;
+
+ output_draw_start(&coutput.loutput);
+
+ topo_cairo_paint(&coutput);
+ cairo_surface_flush(coutput.surface);
+ cairo_surface_destroy(coutput.surface);
+
+ if (output != stdout)
+ fclose(output);
+}
+#endif /* CAIRO_HAS_SVG_SURFACE */
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "lstopo.h"
+
+static struct color {
+ int r, g, b;
+} *colors;
+
+static int numcolors;
+
+static int
+find_color(int r, int g, int b)
+{
+ int i;
+
+ for (i = 0; i < numcolors; i++)
+ if (colors[i].r == r && colors[i].g == g && colors[i].b == b)
+ return i;
+
+ return -1;
+}
+
+int
+rgb_to_color(int r, int g, int b)
+{
+ int color = find_color(r, g, b);
+
+ if (color != -1)
+ return color;
+
+ fprintf(stderr, "color #%02x%02x%02x not declared\n", (unsigned) r, (unsigned) g, (unsigned) b);
+ exit(EXIT_FAILURE);
+}
+
+int
+declare_color(int r, int g, int b)
+{
+ int color = find_color(r, g, b);
+ struct color *tmp;
+
+ if (color != -1)
+ return color;
+
+ tmp = realloc(colors, sizeof(*colors) * (numcolors+1));
+
+ if (!tmp) {
+ /* FIXME: return -1 on error? tell the caller to use the default? */
+ fprintf(stderr, "Failed to realloc the colors array\n");
+ exit(EXIT_FAILURE);
+ }
+
+ colors = tmp;
+ color = numcolors++;
+ colors[color].r = r;
+ colors[color].g = g;
+ colors[color].b = b;
+
+ return color;
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2013, 2015 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <private/private.h>
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <math.h>
+#include <time.h>
+
+#include "lstopo.h"
+
+#define EPOXY_R_COLOR 0xe7
+#define EPOXY_G_COLOR 0xff
+#define EPOXY_B_COLOR 0xb5
+
+#define DARK_EPOXY_R_COLOR ((EPOXY_R_COLOR * 100) / 110)
+#define DARK_EPOXY_G_COLOR ((EPOXY_G_COLOR * 100) / 110)
+#define DARK_EPOXY_B_COLOR ((EPOXY_B_COLOR * 100) / 110)
+
+#define DARKER_EPOXY_R_COLOR ((DARK_EPOXY_R_COLOR * 100) / 110)
+#define DARKER_EPOXY_G_COLOR ((DARK_EPOXY_G_COLOR * 100) / 110)
+#define DARKER_EPOXY_B_COLOR ((DARK_EPOXY_B_COLOR * 100) / 110)
+
+#define PACKAGE_R_COLOR 0xde
+#define PACKAGE_G_COLOR 0xde
+#define PACKAGE_B_COLOR 0xde
+
+#define MEMORY_R_COLOR 0xef
+#define MEMORY_G_COLOR 0xdf
+#define MEMORY_B_COLOR 0xde
+
+#define CORE_R_COLOR 0xbe
+#define CORE_G_COLOR 0xbe
+#define CORE_B_COLOR 0xbe
+
+#define THREAD_R_COLOR 0xff
+#define THREAD_G_COLOR 0xff
+#define THREAD_B_COLOR 0xff
+
+#define RUNNING_R_COLOR 0
+#define RUNNING_G_COLOR 0xff
+#define RUNNING_B_COLOR 0
+
+#define FORBIDDEN_R_COLOR 0xff
+#define FORBIDDEN_G_COLOR 0
+#define FORBIDDEN_B_COLOR 0
+
+#define OFFLINE_R_COLOR 0
+#define OFFLINE_G_COLOR 0
+#define OFFLINE_B_COLOR 0
+
+#define CACHE_R_COLOR 0xff
+#define CACHE_G_COLOR 0xff
+#define CACHE_B_COLOR 0xff
+
+#define MACHINE_R_COLOR EPOXY_R_COLOR
+#define MACHINE_G_COLOR EPOXY_G_COLOR
+#define MACHINE_B_COLOR EPOXY_B_COLOR
+
+#define NODE_R_COLOR DARK_EPOXY_R_COLOR
+#define NODE_G_COLOR DARK_EPOXY_G_COLOR
+#define NODE_B_COLOR DARK_EPOXY_B_COLOR
+
+#define SYSTEM_R_COLOR 0xff
+#define SYSTEM_G_COLOR 0xff
+#define SYSTEM_B_COLOR 0xff
+
+#define MISC_R_COLOR 0xff
+#define MISC_G_COLOR 0xff
+#define MISC_B_COLOR 0xff
+
+#define PCI_DEVICE_R_COLOR DARKER_EPOXY_R_COLOR
+#define PCI_DEVICE_G_COLOR DARKER_EPOXY_G_COLOR
+#define PCI_DEVICE_B_COLOR DARKER_EPOXY_B_COLOR
+
+#define OS_DEVICE_R_COLOR 0xde
+#define OS_DEVICE_G_COLOR 0xde
+#define OS_DEVICE_B_COLOR 0xde
+
+#define BRIDGE_R_COLOR 0xff
+#define BRIDGE_G_COLOR 0xff
+#define BRIDGE_B_COLOR 0xff
+
+static unsigned
+get_textwidth(void *output,
+ const char *text, unsigned length)
+{
+ struct lstopo_output *loutput = output;
+ if (loutput->methods->textsize) {
+ unsigned width;
+ loutput->methods->textsize(output, text, length, &width);
+ return width + gridsize;
+ }
+ return (length * fontsize * 3) / 4 + gridsize;
+}
+
+/* preferred width/height compromise */
+#define RATIO (4.f/3.f)
+
+/* PCI object height: just a box */
+#define PCI_HEIGHT (fontsize ? gridsize + fontsize + gridsize : gridsize)
+
+/* do we prefer ratio1 over ratio2? */
+static int prefer_ratio(float ratio1, float ratio2) {
+ float _ratio1 = (ratio1) / RATIO;
+ float _ratio2 = (ratio2) / RATIO;
+ if (_ratio1 < 1)
+ _ratio1 = 1/_ratio1;
+ if (_ratio2 < 1)
+ _ratio2 = 1/_ratio2;
+ return _ratio1 < _ratio2;
+}
+
+static void null_declare_color(void *output __hwloc_attribute_unused, int r __hwloc_attribute_unused, int g __hwloc_attribute_unused, int b __hwloc_attribute_unused) { }
+static void null_box(void *output __hwloc_attribute_unused, int r __hwloc_attribute_unused, int g __hwloc_attribute_unused, int b __hwloc_attribute_unused, unsigned depth __hwloc_attribute_unused, unsigned x __hwloc_attribute_unused, unsigned width __hwloc_attribute_unused, unsigned y __hwloc_attribute_unused, unsigned height __hwloc_attribute_unused) { }
+static void null_line(void *output __hwloc_attribute_unused, int r __hwloc_attribute_unused, int g __hwloc_attribute_unused, int b __hwloc_attribute_unused, unsigned depth __hwloc_attribute_unused, unsigned x1 __hwloc_attribute_unused, unsigned y1_arg __hwloc_attribute_unused, unsigned x2 __hwloc_attribute_unused, unsigned y2 __hwloc_attribute_unused) { }
+static void null_text(void *output __hwloc_attribute_unused, int r __hwloc_attribute_unused, int g __hwloc_attribute_unused, int b __hwloc_attribute_unused, unsigned depth __hwloc_attribute_unused, unsigned x __hwloc_attribute_unused, unsigned y __hwloc_attribute_unused, const char *text __hwloc_attribute_unused) { }
+
+static struct draw_methods null_draw_methods = {
+ NULL, /* init */
+ null_declare_color,
+ null_box,
+ null_line,
+ null_text,
+ NULL, /* no textsize needed, only native methods' textsize is used */
+};
+
+/*
+ * foo_draw functions take a OBJ, computes which size it needs, recurse into
+ * sublevels with null_draw_methods to recursively compute the needed size
+ * without actually drawing anything, then draw things about OBJ (chip draw,
+ * cache size information etc) at (X,Y), recurse into sublevels again to
+ * actually draw things, and return in RETWIDTH and RETHEIGHT the amount of
+ * space that the drawing took.
+ *
+ * For generic detailed comments, see the node_draw function.
+ *
+ * border is added around the objects
+ * separator is added between objects
+ */
+
+typedef void (*foo_draw)(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t obj, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight);
+
+static foo_draw get_type_fun(hwloc_obj_type_t type);
+
+/*
+ * Helper to recurse into sublevels, either horizontally or vertically
+ * Updates caller's totwidth/myheight and maxwidth/maxheight
+ * Needs textwidth, topology, output, depth, x and y
+ */
+
+#define RECURSE_BEGIN(obj, border) do { \
+ hwloc_obj_t *subobjs = obj->children; \
+ unsigned numsubobjs = obj->arity; \
+ unsigned numignoredsubobjs = 0; \
+ unsigned width, height; \
+ unsigned maxwidth __hwloc_attribute_unused, maxheight __hwloc_attribute_unused; \
+ unsigned i; \
+ maxwidth = maxheight = 0; \
+ totwidth = (border) + mywidth; \
+ totheight = (border) + myheight; \
+ /* Count objects to ignore */ \
+ if (lstopo_ignore_pus) { \
+ for (i = 0; i < numsubobjs; i++) \
+ if (subobjs[i]->type == HWLOC_OBJ_PU) \
+ numignoredsubobjs++; \
+ } \
+ if (obj->type == HWLOC_OBJ_BRIDGE && lstopo_collapse) { \
+ for (i = 0; i < numsubobjs; i++) \
+ if (subobjs[i]->type == HWLOC_OBJ_PCI_DEVICE) { \
+ const char *_collapsestr = hwloc_obj_get_info_by_name(subobjs[i], "lstopoCollapse"); \
+ if (_collapsestr && !strcmp(_collapsestr, "0")) \
+ numignoredsubobjs++; \
+ } \
+ } \
+ numsubobjs -= numignoredsubobjs; \
+ if (numsubobjs) { \
+
+#define RECURSE_FOR() \
+ /* Iterate over subobjects */ \
+ for (i = 0; i < numsubobjs+numignoredsubobjs; i++) { \
+ if (lstopo_ignore_pus && subobjs[i]->type == HWLOC_OBJ_PU) \
+ continue; \
+ if (lstopo_collapse && subobjs[i]->type == HWLOC_OBJ_PCI_DEVICE) { \
+ const char *_collapsestr = hwloc_obj_get_info_by_name(subobjs[i], "lstopoCollapse"); \
+ if (_collapsestr && !strcmp(_collapsestr, "0")) \
+ continue; \
+ }
+
+ /* Recursive call */
+#define RECURSE_CALL_FUN(methods) \
+ get_type_fun(subobjs[i]->type)(topology, methods, logical, subobjs[i], output, depth-1, x + totwidth, &width, y + totheight, &height) \
+
+#define RECURSE_END_HORIZ(separator, border) \
+ /* Add the subobject's width and separator */ \
+ totwidth += width + (separator); \
+ /* Update maximum height */ \
+ if (height > maxheight) \
+ maxheight = height; \
+ } \
+ \
+ /* Remove spurious separator on the right */ \
+ totwidth -= (separator); \
+ \
+ /* Make sure there is width for the heading text */ \
+ /* Add subobjects height */ \
+ totheight += maxheight; \
+ /* And add border below */ \
+ totheight += (border); \
+ /* Add border on the right */ \
+ totwidth += (border); \
+ } \
+ if (totwidth < (border) + textwidth) \
+ totwidth = (border) + textwidth; \
+ /* Update returned values */ \
+ *retwidth = totwidth; \
+ *retheight = totheight; \
+} while(0)
+
+#define RECURSE_END_VERT(separator, border) \
+ /* Add the subobject's height and separator */ \
+ totheight += height + (separator); \
+ if (width > maxwidth) \
+ /* Update maximum width */ \
+ maxwidth = width; \
+ } \
+ /* Remove spurious separator at the bottom */ \
+ totheight -= (separator); \
+ /* Add subobjects width */ \
+ totwidth += maxwidth; \
+ /* And add border on the right */ \
+ totwidth += (border); \
+ /* Add border at the bottom */ \
+ totheight = totheight + (border); \
+ } \
+ \
+ /* Make sure there is width for the heading text */ \
+ if (totwidth < (border) + textwidth) \
+ totwidth = (border) + textwidth; \
+ /* Update returned values */ \
+ *retwidth = totwidth; \
+ *retheight = totheight; \
+} while(0)
+
+/* Pack objects horizontally */
+#define RECURSE_HORIZ(obj, methods, separator, border) \
+ RECURSE_BEGIN(obj, border) \
+ RECURSE_FOR() \
+ RECURSE_CALL_FUN(methods); \
+ RECURSE_END_HORIZ(separator, border)
+
+/* Pack objects vertically */
+#define RECURSE_VERT(obj, methods, separator, border) \
+ RECURSE_BEGIN(obj, border) \
+ RECURSE_FOR() \
+ RECURSE_CALL_FUN(methods); \
+ RECURSE_END_VERT(separator, border)
+
+#define RECURSE_RECT_BEGIN(obj, methods, separator, border) \
+RECURSE_BEGIN(obj, border) \
+ /* Total width for subobjects */ \
+ unsigned obj_totwidth = 0, obj_totheight = 0; \
+ /* Total area for subobjects */ \
+ unsigned area = 0; \
+ unsigned rows, columns; \
+ RECURSE_FOR() \
+ RECURSE_CALL_FUN(&null_draw_methods); \
+ obj_totwidth += width + (separator); \
+ obj_totheight += height + (separator); \
+ area += (width + (separator)) * (height + (separator)); \
+ } \
+ if (force_orient[obj->type] == LSTOPO_ORIENT_HORIZ) { \
+ rows = 1; \
+ columns = numsubobjs; \
+ } else if (force_orient[obj->type] == LSTOPO_ORIENT_VERT) { \
+ columns = 1; \
+ rows = numsubobjs; \
+ } else { \
+ unsigned found = 0; \
+ /* Try to find a fitting rectangle */ \
+ for (rows = (unsigned) (float) floor(sqrt(numsubobjs)); \
+ rows >= (unsigned) (float) ceil(pow(numsubobjs,0.33)) && rows > 1; \
+ rows--) { \
+ columns = numsubobjs / rows; \
+ if (columns > 1 && columns * rows == numsubobjs) { \
+ found = 1; \
+ break; \
+ } \
+ } \
+ if (!found) { \
+ /* Average object size */ \
+ unsigned obj_avgwidth = obj_totwidth / numsubobjs; \
+ unsigned obj_avgheight = obj_totheight / numsubobjs; \
+ /* Ideal total height for spreading that area with RATIO */ \
+ float idealtotheight = (float) sqrt(area/RATIO); \
+ float under_ratio, over_ratio; \
+ /* approximation of number of rows */ \
+ rows = (unsigned) (idealtotheight / obj_avgheight); \
+ columns = rows ? (numsubobjs + rows - 1) / rows : 1; \
+ /* Ratio obtained by underestimation */ \
+ under_ratio = (float) (columns * obj_avgwidth) / (rows * obj_avgheight); \
+ \
+ /* try to overestimate too */ \
+ rows++; \
+ columns = (numsubobjs + rows - 1) / rows; \
+ /* Ratio obtained by overestimation */ \
+ over_ratio = (float) (columns * obj_avgwidth) / (rows * obj_avgheight); \
+ /* Did we actually preferred underestimation? (good row/column fit or good ratio) */ \
+ if (rows > 1 && prefer_ratio(under_ratio, over_ratio)) { \
+ rows--; \
+ columns = (numsubobjs + rows - 1) / rows; \
+ } \
+ } \
+ } \
+ \
+ maxheight = 0; \
+ RECURSE_FOR() \
+ /* Newline? */ \
+ if (i && i%columns == 0) { \
+ totwidth = (border) + mywidth; \
+ /* Add the same height to all rows */ \
+ totheight += maxheight + (separator); \
+ maxheight = 0; \
+ } \
+
+#define RECURSE_RECT_END(obj, methods, separator, border) \
+ if (totwidth + width + (separator) > maxwidth) \
+ maxwidth = totwidth + width + (separator); \
+ totwidth += width + (separator); \
+ /* Update maximum height */ \
+ if (height > maxheight) \
+ maxheight = height; \
+ } \
+ /* Remove spurious separator on the right */ \
+ maxwidth -= (separator); \
+ /* Compute total width */ \
+ totwidth = maxwidth + (border); \
+ /* Add the last row's height and border at the bottom */ \
+ totheight += maxheight + (border); \
+ } \
+ /* Make sure there is width for the heading text */ \
+ if (totwidth < (border) + textwidth) \
+ totwidth = (border) + textwidth; \
+ /* Update returned values */ \
+ *retwidth = totwidth; \
+ *retheight = totheight; \
+} while(0)
+
+/* Pack objects in a grid */
+#define RECURSE_RECT(obj, methods, separator, border) do {\
+ RECURSE_RECT_BEGIN(obj, methods, separator, border) \
+ RECURSE_CALL_FUN(methods); \
+ RECURSE_RECT_END(obj, methods, separator, border); \
+} while (0)
+
+/* Dynamic programming */
+
+/* Save the computed size */
+#define DYNA_SAVE() do { \
+ struct lstopo_obj_userdata *save = level->userdata; \
+ save->width = *retwidth; \
+ save->height = *retheight; \
+ save->fontsize = fontsize; \
+ save->gridsize = gridsize; \
+} while (0)
+
+/* Check whether we already computed the size and we are not actually drawing, in that case return it */
+#define DYNA_CHECK() do { \
+ if (methods == &null_draw_methods) { \
+ struct lstopo_obj_userdata *save = level->userdata; \
+ if (save->fontsize == fontsize && save->gridsize == gridsize) { \
+ *retwidth = save->width; \
+ *retheight = save->height; \
+ return; \
+ } \
+ } \
+} while (0)
+
+static int
+prefer_vert(hwloc_topology_t topology, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned y, unsigned separator)
+{
+ float horiz_ratio, vert_ratio;
+ unsigned textwidth = 0;
+ unsigned mywidth = 0, myheight = 0;
+ unsigned totwidth, *retwidth = &totwidth, totheight, *retheight = &totheight;
+ RECURSE_HORIZ(level, &null_draw_methods, separator, 0);
+ horiz_ratio = (float)totwidth / totheight;
+ RECURSE_VERT(level, &null_draw_methods, separator, 0);
+ vert_ratio = (float)totwidth / totheight;
+ return force_orient[level->type] == LSTOPO_ORIENT_VERT || (force_orient[level->type] != LSTOPO_ORIENT_HORIZ && prefer_ratio(vert_ratio, horiz_ratio));
+}
+
+static int
+lstopo_obj_snprintf(char *text, size_t textlen, hwloc_obj_t obj, int logical)
+{
+ unsigned idx = logical ? obj->logical_index : obj->os_index;
+ const char *indexprefix = logical ? " L#" : " P#";
+ const char *value;
+ char typestr[32];
+ char indexstr[32]= "";
+ char attrstr[256];
+ char totmemstr[64] = "";
+ int attrlen;
+
+ /* For OSDev, Misc and Group, name replaces type+index+attrs */
+ if (obj->name && (obj->type == HWLOC_OBJ_OS_DEVICE || obj->type == HWLOC_OBJ_MISC || obj->type == HWLOC_OBJ_GROUP)) {
+ return snprintf(text, textlen, "%s", obj->name);
+ }
+
+ /* Type replaces the basic type name */
+ if ((value = hwloc_obj_get_info_by_name(obj, "Type")) != NULL) {
+ snprintf(typestr, sizeof(typestr), "%s", value);
+ } else {
+ hwloc_obj_type_snprintf(typestr, sizeof(typestr), obj, 0);
+ }
+
+ if (show_indexes[obj->type]
+ && idx != (unsigned)-1 && obj->depth != 0
+ && obj->type != HWLOC_OBJ_PCI_DEVICE
+ && (obj->type != HWLOC_OBJ_BRIDGE || obj->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_HOST))
+ snprintf(indexstr, sizeof(indexstr), "%s%u", indexprefix, idx);
+
+ if (show_attrs[obj->type]) {
+ attrlen = hwloc_obj_attr_snprintf(attrstr, sizeof(attrstr), obj, " ", 0);
+ /* display the root total_memory if different from the local_memory (already shown) */
+ if (!obj->parent && obj->memory.total_memory > obj->memory.local_memory)
+ snprintf(totmemstr, sizeof(totmemstr), " (%lu%s total)",
+ (unsigned long) hwloc_memory_size_printf_value(obj->memory.total_memory, 0),
+ hwloc_memory_size_printf_unit(obj->memory.total_memory, 0));
+ } else
+ attrlen = 0;
+
+ if (attrlen > 0)
+ return snprintf(text, textlen, "%s%s (%s)%s", typestr, indexstr, attrstr, totmemstr);
+ else
+ return snprintf(text, textlen, "%s%s%s", typestr, indexstr, totmemstr);
+}
+
+static void
+lstopo_prepare_custom_styles(struct lstopo_output *loutput, hwloc_obj_t obj)
+{
+ struct lstopo_obj_userdata *lud = obj->userdata;
+ struct style *s = &lud->style;
+ hwloc_obj_t child;
+ unsigned forcer, forceg, forceb;
+ const char *stylestr;
+
+ lud->style_set = 0;
+
+ stylestr = hwloc_obj_get_info_by_name(obj, "lstopoStyle");
+ if (stylestr) {
+ while (*stylestr != '\0') {
+ if (sscanf(stylestr, "%02x%02x%02x", &forcer, &forceg, &forceb) == 3
+ || sscanf(stylestr, "Background=#%02x%02x%02x", &forcer, &forceg, &forceb) == 3) {
+ s->bg.r = forcer & 255;
+ s->bg.g = forceg & 255;
+ s->bg.b = forceb & 255;
+ lud->style_set |= LSTOPO_STYLE_BG;
+ loutput->methods->declare_color(loutput, s->bg.r, s->bg.g, s->bg.b);
+ /* if there's no style for text, make sure it's not dark over dark bg */
+ if (!(lud->style_set & LSTOPO_STYLE_T)) {
+ s->t.r = s->t.g = s->t.b = (s->bg.r + s->bg.g + s->bg.b < 0xff) ? 0xff : 0;
+ lud->style_set |= LSTOPO_STYLE_T;
+ }
+ } else if (sscanf(stylestr, "Background2=#%02x%02x%02x", &forcer, &forceg, &forceb) == 3) {
+ s->bg2.r = forcer & 255;
+ s->bg2.g = forceg & 255;
+ s->bg2.b = forceb & 255;
+ lud->style_set |= LSTOPO_STYLE_BG2;
+ loutput->methods->declare_color(loutput, s->bg2.r, s->bg2.g, s->bg2.b);
+ /* if there's no style for text, make sure it's not dark over dark bg */
+ if (!(lud->style_set & LSTOPO_STYLE_T2)) {
+ s->t2.r = s->t2.g = s->t2.b = (s->bg2.r + s->bg2.g + s->bg2.b < 0xff) ? 0xff : 0;
+ lud->style_set |= LSTOPO_STYLE_T2;
+ }
+ } else if (sscanf(stylestr, "Text=#%02x%02x%02x", &forcer, &forceg, &forceb) == 3) {
+ s->t.r = forcer & 255;
+ s->t.g = forceg & 255;
+ s->t.b = forceb & 255;
+ lud->style_set |= LSTOPO_STYLE_T;
+ loutput->methods->declare_color(loutput, s->t.r, s->t.g, s->t.b);
+ } else if (sscanf(stylestr, "Text2=#%02x%02x%02x", &forcer, &forceg, &forceb) == 3) {
+ s->t2.r = forcer & 255;
+ s->t2.g = forceg & 255;
+ s->t2.b = forceb & 255;
+ lud->style_set |= LSTOPO_STYLE_T2;
+ loutput->methods->declare_color(loutput, s->t2.r, s->t2.g, s->t2.b);
+ }
+ stylestr = strchr(stylestr, ';');
+ if (!stylestr)
+ break;
+ stylestr++;
+ }
+ }
+
+ for(child = obj->first_child; child; child = child->next_sibling)
+ lstopo_prepare_custom_styles(loutput, child);
+}
+
+static void
+lstopo_set_object_color(struct draw_methods *methods,
+ hwloc_topology_t topology __hwloc_attribute_unused,
+ hwloc_obj_t obj, int arg, /* PU status (0=normal, 1=running, 2=forbidden, 3=offline)
+ * Machine status (0=normal, 1=displayed as a root/System) */
+ struct style *s)
+{
+ struct lstopo_obj_userdata *lud = obj->userdata;
+
+ /* no need to deal with colors when computing max sizes */
+ if (methods == &null_draw_methods)
+ return;
+
+ memset(s, 0, sizeof(*s));
+
+ switch (obj->type) {
+
+ case HWLOC_OBJ_MACHINE:
+ if (arg == 0) {
+ s->bg.r = MACHINE_R_COLOR;
+ s->bg.g = MACHINE_G_COLOR;
+ s->bg.b = MACHINE_B_COLOR;
+ break;
+ }
+ assert(arg == 1); /* Machine printed as a System (when root) */
+ /* FALLTHRU */
+ case HWLOC_OBJ_SYSTEM:
+ s->bg.r = SYSTEM_R_COLOR;
+ s->bg.g = SYSTEM_G_COLOR;
+ s->bg.b = SYSTEM_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_GROUP:
+ s->bg.r = MISC_R_COLOR;
+ s->bg.g = MISC_G_COLOR;
+ s->bg.b = MISC_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_MISC:
+ s->bg.r = MISC_R_COLOR;
+ s->bg.g = MISC_G_COLOR;
+ s->bg.b = MISC_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_NUMANODE:
+ s->bg.r = NODE_R_COLOR;
+ s->bg.g = NODE_G_COLOR;
+ s->bg.b = NODE_B_COLOR;
+ s->bg2.r = MEMORY_R_COLOR;
+ s->bg2.g = MEMORY_G_COLOR;
+ s->bg2.b = MEMORY_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_PACKAGE:
+ s->bg.r = PACKAGE_R_COLOR;
+ s->bg.g = PACKAGE_G_COLOR;
+ s->bg.b = PACKAGE_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_CORE:
+ s->bg.r = CORE_R_COLOR;
+ s->bg.g = CORE_G_COLOR;
+ s->bg.b = CORE_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_CACHE:
+ s->bg.r = CACHE_R_COLOR;
+ s->bg.g = CACHE_G_COLOR;
+ s->bg.b = CACHE_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_PU:
+ switch (arg) {
+ case 0:
+ s->bg.r = THREAD_R_COLOR;
+ s->bg.g = THREAD_G_COLOR;
+ s->bg.b = THREAD_B_COLOR;
+ break;
+ case 1:
+ s->bg.r = RUNNING_R_COLOR;
+ s->bg.g = RUNNING_G_COLOR;
+ s->bg.b = RUNNING_B_COLOR;
+ break;
+ case 2:
+ s->bg.r = FORBIDDEN_R_COLOR;
+ s->bg.g = FORBIDDEN_G_COLOR;
+ s->bg.b = FORBIDDEN_B_COLOR;
+ break;
+ case 3:
+ s->bg.r = OFFLINE_R_COLOR;
+ s->bg.g = OFFLINE_G_COLOR;
+ s->bg.b = OFFLINE_B_COLOR;
+ s->t.r = s->t.g = s->t.b = 0xff;
+ break;
+ default:
+ assert(0);
+ }
+ break;
+
+ case HWLOC_OBJ_BRIDGE:
+ s->bg.r = BRIDGE_R_COLOR;
+ s->bg.g = BRIDGE_G_COLOR;
+ s->bg.b = BRIDGE_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_PCI_DEVICE:
+ s->bg.r = PCI_DEVICE_R_COLOR;
+ s->bg.g = PCI_DEVICE_G_COLOR;
+ s->bg.b = PCI_DEVICE_B_COLOR;
+ break;
+
+ case HWLOC_OBJ_OS_DEVICE:
+ s->bg.r = OS_DEVICE_R_COLOR;
+ s->bg.g = OS_DEVICE_G_COLOR;
+ s->bg.b = OS_DEVICE_B_COLOR;
+ break;
+
+ default:
+ assert(0);
+ }
+
+ if (lud->style_set & LSTOPO_STYLE_BG)
+ memcpy(&s->bg, &lud->style.bg, sizeof(struct stylecolor));
+ if (lud->style_set & LSTOPO_STYLE_T)
+ memcpy(&s->t, &lud->style.t, sizeof(struct stylecolor));
+ if (lud->style_set & LSTOPO_STYLE_BG2)
+ memcpy(&s->bg2, &lud->style.bg2, sizeof(struct stylecolor));
+ if (lud->style_set & LSTOPO_STYLE_T2)
+ memcpy(&s->t2, &lud->style.t2, sizeof(struct stylecolor));
+}
+
+static void
+pci_device_draw(hwloc_topology_t topology __hwloc_attribute_unused, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned textwidth = gridsize;
+ unsigned textheight = (fontsize ? fontsize + gridsize : 0);
+ unsigned myheight = textheight;
+ unsigned mywidth = 0;
+ unsigned totwidth, totheight;
+ unsigned overlaidoffset = 0;
+ struct style style;
+ char text[64], _text[64];
+ const char *collapsestr = hwloc_obj_get_info_by_name(level, "lstopoCollapse");
+ unsigned collapse = collapsestr ? atoi(collapsestr) : 1;
+ int n;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ if (collapse > 1) {
+ n = lstopo_obj_snprintf(_text, sizeof(_text), level, logical);
+ n = snprintf(text, sizeof(text), "%u x { %s }", collapse, _text);
+ } else {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ }
+ textwidth = get_textwidth(output, text, n);
+ }
+
+ if (collapse > 1) {
+ /* additional depths and height for overlaid boxes */
+ depth -= 2;
+ if (collapse > 2) {
+ overlaidoffset = gridsize;
+ } else {
+ overlaidoffset = gridsize/2;
+ }
+ textwidth += overlaidoffset;
+ textheight += overlaidoffset;
+ myheight = textheight;
+ }
+
+ RECURSE_RECT(level, &null_draw_methods, gridsize, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+
+ if (collapse > 1) {
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth+2, x + overlaidoffset, *retwidth - overlaidoffset, y + overlaidoffset, *retheight - overlaidoffset);
+ if (collapse > 2)
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth+1, x + overlaidoffset/2, *retwidth - overlaidoffset, y + overlaidoffset/2, *retheight - overlaidoffset);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, *retwidth - overlaidoffset, y, *retheight - overlaidoffset);
+ } else {
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, *retwidth, y, *retheight);
+ }
+
+ if (fontsize)
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+
+ RECURSE_RECT(level, methods, gridsize, gridsize);
+
+ DYNA_SAVE();
+}
+
+static void
+os_device_draw(hwloc_topology_t topology __hwloc_attribute_unused, struct draw_methods *methods, int logical __hwloc_attribute_unused, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned myheight = 0, totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ struct style style;
+ char text[64];
+ int n;
+ unsigned nmorelines = 0, j;
+ char morelines[3][64];
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ const char *coproctype;
+
+ if (show_attrs[HWLOC_OBJ_OS_DEVICE]
+ && HWLOC_OBJ_OSDEV_COPROC == level->attr->osdev.type
+ && (coproctype = hwloc_obj_get_info_by_name(level, "CoProcType")) != NULL) {
+
+ if (!strcmp(coproctype, "CUDA")) {
+ const char *value, *value2, *value3;
+
+ value = hwloc_obj_get_info_by_name(level, "CUDAGlobalMemorySize");
+ if (value) {
+ unsigned long long mb = strtoull(value, NULL, 10) / 1024;
+ snprintf(morelines[nmorelines], sizeof(morelines[0]),
+ mb >= 10240 ? "%llu GB" : "%llu MB",
+ mb >= 10240 ? mb/1024 : mb);
+ nmorelines++;
+ }
+
+ value = hwloc_obj_get_info_by_name(level, "CUDAL2CacheSize");
+ if (value) {
+ unsigned long long kb = strtoull(value, NULL, 10);
+ snprintf(morelines[nmorelines], sizeof(morelines[0]),
+ kb >= 10240 ? "L2 (%llu MB)" : "L2 (%llu kB)",
+ kb >= 10240 ? kb/1024 : kb);
+ nmorelines++;
+ }
+
+ value = hwloc_obj_get_info_by_name(level, "CUDAMultiProcessors");
+ value2 = hwloc_obj_get_info_by_name(level, "CUDACoresPerMP");
+ value3 = hwloc_obj_get_info_by_name(level, "CUDASharedMemorySizePerMP");
+ if (value && value2 && value3) {
+ snprintf(morelines[nmorelines], sizeof(morelines[0]), "%s MP x (%s cores + %s kB)", value, value2, value3);
+ nmorelines++;
+ }
+
+ } else if (!strcmp(coproctype, "MIC")) {
+ const char *value;
+ value = hwloc_obj_get_info_by_name(level, "MICActiveCores");
+ if (value) {
+ snprintf(morelines[nmorelines], sizeof(morelines[0]), "%s cores", value);
+ nmorelines++;
+ }
+ value = hwloc_obj_get_info_by_name(level, "MICMemorySize");
+ if (value) {
+ unsigned long long mb = strtoull(value, NULL, 10) / 1024;
+ snprintf(morelines[nmorelines], sizeof(morelines[0]),
+ mb >= 10240 ? "%llu GB" : "%llu MB",
+ mb >= 10240 ? mb/1024 : mb);
+ nmorelines++;
+ }
+
+ } else if (!strcmp(coproctype, "OpenCL")) {
+ const char *value;
+ value = hwloc_obj_get_info_by_name(level, "OpenCLComputeUnits");
+ if (value) {
+ unsigned long long cu = strtoull(value, NULL, 10);
+ snprintf(morelines[nmorelines], sizeof(morelines[0]), "%llu compute units", cu);
+ nmorelines++;
+ }
+ value = hwloc_obj_get_info_by_name(level, "OpenCLGlobalMemorySize");
+ if (value) {
+ unsigned long long mb = strtoull(value, NULL, 10) / 1024;
+ snprintf(morelines[nmorelines], sizeof(morelines[0]),
+ mb >= 10240 ? "%llu GB" : "%llu MB",
+ mb >= 10240 ? mb/1024 : mb);
+ nmorelines++;
+ }
+ }
+ }
+
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ for(j=0; j<nmorelines; j++) {
+ unsigned nn = (unsigned)strlen(morelines[j]);
+ unsigned ntextwidth = get_textwidth(output, morelines[j], nn);
+ if (ntextwidth > textwidth)
+ textwidth = ntextwidth;
+ }
+ myheight = (fontsize + gridsize)*(nmorelines+1);
+ mywidth = 0;
+ }
+
+ RECURSE_RECT(level, &null_draw_methods, gridsize, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, *retwidth, y, *retheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ for(j=0; j<nmorelines; j++)
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + (j+2)*gridsize + (j+1)*fontsize, morelines[j]);
+ }
+
+ RECURSE_RECT(level, methods, gridsize, gridsize);
+
+ DYNA_SAVE();
+}
+
+static void
+bridge_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned textwidth = 0;
+ unsigned myheight = 0;
+ /* Room for square, left link and speed */
+ unsigned speedwidth = fontsize ? fontsize + gridsize : 0;
+ unsigned mywidth = 2*gridsize + gridsize + speedwidth;
+ unsigned totwidth, totheight;
+ struct style style;
+ unsigned center;
+
+ DYNA_CHECK();
+
+ RECURSE_VERT(level, &null_draw_methods, gridsize, 0);
+
+ /* Square and left link */
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, gridsize, y + PCI_HEIGHT/2 - gridsize/2, gridsize);
+ methods->line(output, 0, 0, 0, depth, x + gridsize, y + PCI_HEIGHT/2, x + 2*gridsize, y + PCI_HEIGHT/2);
+
+ if (level->arity > 0) {
+ unsigned bottom = 0, top = 0;
+ RECURSE_BEGIN(level, 0);
+ RECURSE_FOR()
+ RECURSE_CALL_FUN(methods);
+
+ /* Line to PCI device */
+ center = y + totheight + PCI_HEIGHT / 2;
+ if (!top)
+ top = center;
+ bottom = center;
+ methods->line(output, 0, 0, 0, depth, x + 2*gridsize, center, x + 2*gridsize + gridsize + speedwidth, center);
+
+ /* Negotiated link speed */
+ if (fontsize) {
+ float speed = 0.;
+ if (subobjs[i]->type == HWLOC_OBJ_PCI_DEVICE)
+ speed = subobjs[i]->attr->pcidev.linkspeed;
+ if (subobjs[i]->type == HWLOC_OBJ_BRIDGE && subobjs[i]->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI)
+ speed = subobjs[i]->attr->bridge.upstream.pci.linkspeed;
+ if (show_attrs[HWLOC_OBJ_BRIDGE] && speed != 0.) {
+ char text[4];
+ if (speed >= 10.)
+ snprintf(text, sizeof(text), "%.0f", subobjs[i]->attr->pcidev.linkspeed);
+ else
+ snprintf(text, sizeof(text), "%0.1f", subobjs[i]->attr->pcidev.linkspeed);
+ methods->text(output, style.t2.r, style.t2.g, style.t2.b, depth-1, x + 2*gridsize + gridsize, y + totheight, text);
+ }
+ }
+ RECURSE_END_VERT(gridsize, 0);
+
+ /* Vertical line */
+ methods->line(output, 0, 0, 0, depth, x + 2*gridsize, top, x + 2*gridsize, bottom);
+ } else
+ RECURSE_VERT(level, methods, gridsize, 0);
+
+ /* Empty bridges still need some room */
+ if (*retheight < PCI_HEIGHT)
+ *retheight = PCI_HEIGHT;
+
+ DYNA_SAVE();
+}
+
+static void
+pu_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ struct lstopo_output *loutput = output;
+ unsigned myheight = (fontsize ? (fontsize + gridsize) : 0), totheight;
+ unsigned textwidth = gridsize;
+ unsigned mywidth = 0, totwidth;
+ unsigned textxoffset = 0;
+ char text[64];
+ int n;
+ struct style style;
+ int colorarg;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ /* if smaller than other PU, artificially extend/shift it
+ * to make PU boxes nicer when vertically stacked.
+ */
+ if (textwidth < loutput->min_pu_textwidth) {
+ textxoffset = (loutput->min_pu_textwidth - textwidth) / 2;
+ textwidth = loutput->min_pu_textwidth;
+ }
+ }
+
+ RECURSE_RECT(level, &null_draw_methods, 0, gridsize);
+
+ if (lstopo_pu_offline(level))
+ colorarg = 3;
+ else if (lstopo_pu_forbidden(level))
+ colorarg = 2;
+ else if (lstopo_pu_running(topology, level))
+ colorarg = 1;
+ else
+ colorarg = 0;
+ lstopo_set_object_color(methods, topology, level, colorarg, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, *retwidth, y, *retheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize + textxoffset, y + gridsize, text);
+ }
+
+ RECURSE_RECT(level, methods, 0, gridsize);
+
+ DYNA_SAVE();
+}
+
+static void
+cache_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned myheight = gridsize + (fontsize ? (fontsize + gridsize) : 0) + gridsize, totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ /* Do not separate objects when in L1 (SMT) */
+ unsigned separator = level->attr->cache.depth > 1 ? gridsize : 0;
+ char text[64];
+ int n;
+ struct style style;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ textwidth += gridsize; /* artificially extend the minimal inner size because RECURSE_RECT() uses 0 as border when computing totwidth */
+ }
+
+ RECURSE_RECT(level, &null_draw_methods, separator, 0);
+
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, myheight - gridsize);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ }
+
+ RECURSE_RECT(level, methods, separator, 0);
+
+ DYNA_SAVE();
+}
+
+static void
+core_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned myheight = (fontsize ? (fontsize + gridsize) : 0), totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ char text[64];
+ int n;
+ struct style style;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ }
+
+ RECURSE_RECT(level, &null_draw_methods, 0, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, totheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ }
+
+ RECURSE_RECT(level, methods, 0, gridsize);
+
+ DYNA_SAVE();
+}
+
+static void
+package_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned myheight = (fontsize ? (fontsize + gridsize) : 0), totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ char text[64];
+ int n;
+ struct style style;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ }
+
+ RECURSE_RECT(level, &null_draw_methods, gridsize, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, totheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ }
+
+ RECURSE_RECT(level, methods, gridsize, gridsize);
+
+ DYNA_SAVE();
+}
+
+static void
+node_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ /* Reserve room for the heading memory box and separator */
+ unsigned myheight = (fontsize ? (gridsize + fontsize) : 0) + gridsize + gridsize;
+ /* Currently filled height */
+ unsigned totheight;
+ /* Nothing on the left */
+ unsigned mywidth = 0;
+ /* Currently filled width */
+ unsigned totwidth;
+ /* Width of the heading text, thus minimal width */
+ unsigned textwidth = gridsize;
+ char text[64];
+ int n;
+ struct style style;
+
+ /* Check whether dynamic programming can save us time */
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ textwidth += 2*gridsize; /* so artificially extend the minimal inner size to include space between space between epoxy and memory box */
+ }
+
+ /* Compute the size needed by sublevels */
+ RECURSE_RECT(level, &null_draw_methods, gridsize, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 0 /* node */, &style);
+ /* Draw the epoxy box */
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, totheight);
+ /* Draw the memory box */
+ methods->box(output, style.bg2.r, style.bg2.g, style.bg2.b, depth-1, x + gridsize, totwidth - 2 * gridsize, y + gridsize, myheight - gridsize);
+
+ if (fontsize) {
+ methods->text(output, style.t2.r, style.t2.g, style.t2.b, depth-2, x + 2 * gridsize, y + 2 * gridsize, text);
+ }
+
+ /* Restart, now really drawing sublevels */
+ RECURSE_RECT(level, methods, gridsize, gridsize);
+
+ /* Save result for dynamic programming */
+ DYNA_SAVE();
+}
+
+static void
+machine_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned myheight = (fontsize ? (fontsize + gridsize) : 0), totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ char text[64];
+ int n;
+ struct style style;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ }
+
+ RECURSE_RECT(level, &null_draw_methods, gridsize, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 0 /* machine */, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, totheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ }
+
+ RECURSE_RECT(level, methods, gridsize, gridsize);
+
+ DYNA_SAVE();
+}
+
+#define NETWORK_DRAW_BEGIN() do { \
+ /* network of machines, either horizontal or vertical */ \
+ if (vert) { \
+ mywidth += gridsize; \
+ RECURSE_VERT(level, &null_draw_methods, gridsize, gridsize); \
+ } else \
+ RECURSE_HORIZ(level, &null_draw_methods, gridsize, gridsize); \
+} while(0)
+
+#define NETWORK_DRAW_END() do { \
+ if (vert) { \
+ unsigned top = 0, bottom = 0; \
+ unsigned center; \
+ RECURSE_BEGIN(level, gridsize) \
+ RECURSE_FOR() \
+ RECURSE_CALL_FUN(methods); \
+ center = y + totheight + height / 2; \
+ if (!top) \
+ top = center; \
+ bottom = center; \
+ methods->line(output, 0, 0, 0, depth, x + mywidth, center, x + mywidth + gridsize, center); \
+ RECURSE_END_VERT(gridsize, gridsize); \
+ \
+ methods->line(output, 0, 0, 0, depth, x + mywidth, top, x + mywidth, bottom); \
+ } else { \
+ unsigned left = 0, right = 0; \
+ unsigned center; \
+ RECURSE_BEGIN(level, gridsize) \
+ RECURSE_FOR() \
+ RECURSE_CALL_FUN(methods); \
+ center = x + totwidth + width / 2; \
+ if (!left) \
+ left = center; \
+ right = center; \
+ methods->line(output, 0, 0, 0, depth, center, y + myheight, center, y + myheight + gridsize); \
+ RECURSE_END_HORIZ(gridsize, gridsize); \
+ \
+ methods->line(output, 0, 0, 0, depth, left, y + myheight, right, y + myheight); \
+ } \
+} while(0)
+
+static void
+system_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned myheight = (fontsize ? (fontsize + gridsize) : 0), totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ int vert = prefer_vert(topology, logical, level, output, depth, x, y, gridsize);
+ char text[64];
+ int n;
+ struct style style;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ }
+
+ if (level->arity > 1 && (level->children[0]->type == HWLOC_OBJ_MACHINE || !level->children[0]->cpuset))
+ NETWORK_DRAW_BEGIN();
+ else
+ RECURSE_RECT(level, &null_draw_methods, gridsize, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 1 /* system */, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, totheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ }
+
+ if (level->arity > 1 && (level->children[0]->type == HWLOC_OBJ_MACHINE || !level->children[0]->cpuset))
+ NETWORK_DRAW_END();
+ else
+ RECURSE_RECT(level, methods, gridsize, gridsize);
+
+ DYNA_SAVE();
+}
+
+static void
+group_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned myheight = (fontsize ? (fontsize + gridsize) : 0), totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ int vert = prefer_vert(topology, logical, level, output, depth, x, y, gridsize);
+ char text[64];
+ int n;
+ struct style style;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ }
+
+ if (level->arity > 1 && (level->children[0]->type == HWLOC_OBJ_MACHINE || !level->children[0]->cpuset))
+ NETWORK_DRAW_BEGIN();
+ else
+ RECURSE_RECT(level, &null_draw_methods, gridsize, gridsize);
+
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, totheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ }
+
+ if (level->arity > 1 && (level->children[0]->type == HWLOC_OBJ_MACHINE || !level->children[0]->cpuset))
+ NETWORK_DRAW_END();
+ else
+ RECURSE_RECT(level, methods, gridsize, gridsize);
+
+ DYNA_SAVE();
+}
+
+static void
+misc_draw(hwloc_topology_t topology, struct draw_methods *methods, int logical, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned *retwidth, unsigned y, unsigned *retheight)
+{
+ unsigned boxheight = gridsize + (fontsize ? (fontsize + gridsize) : 0);
+ unsigned myheight = boxheight + (level->arity?gridsize:0), totheight;
+ unsigned mywidth = 0, totwidth;
+ unsigned textwidth = gridsize;
+ int vert = prefer_vert(topology, logical, level, output, depth, x, y, gridsize);
+ char text[64];
+ int n;
+ struct style style;
+
+ DYNA_CHECK();
+
+ if (fontsize) {
+ n = lstopo_obj_snprintf(text, sizeof(text), level, logical);
+ textwidth = get_textwidth(output, text, n);
+ textwidth += gridsize; /* artificially extend the minimal inner size because RECURSE_RECT() uses 0 as border when computing totwidth */
+ }
+
+ if (level->arity > 1 && (level->children[0]->type == HWLOC_OBJ_MACHINE || !level->children[0]->cpuset))
+ NETWORK_DRAW_BEGIN();
+ else
+ RECURSE_HORIZ(level, &null_draw_methods, gridsize, 0);
+
+ lstopo_set_object_color(methods, topology, level, 0, &style);
+ methods->box(output, style.bg.r, style.bg.g, style.bg.b, depth, x, totwidth, y, boxheight);
+
+ if (fontsize) {
+ methods->text(output, style.t.r, style.t.g, style.t.b, depth-1, x + gridsize, y + gridsize, text);
+ }
+
+ if (level->arity > 1 && (level->children[0]->type == HWLOC_OBJ_MACHINE || !level->children[0]->cpuset))
+ NETWORK_DRAW_END();
+ else
+ RECURSE_HORIZ(level, methods, gridsize, 0);
+
+ DYNA_SAVE();
+}
+
+static void
+fig(hwloc_topology_t topology, struct draw_methods *methods, int logical, int legend, hwloc_obj_t level, void *output, unsigned depth, unsigned x, unsigned y)
+{
+ unsigned totwidth, totheight, offset, i;
+ time_t t;
+ char text[128];
+ char hostname[122] = "";
+ const char *forcedhostname = NULL;
+ unsigned long hostname_size = sizeof(hostname);
+
+ system_draw(topology, methods, logical, level, output, depth, x, &totwidth, y, &totheight);
+
+ if (totwidth < 20*fontsize)
+ totwidth = 20*fontsize;
+
+ if (legend) {
+ /* Display the hostname, but only if we're showing *this*
+ system */
+ forcedhostname = hwloc_obj_get_info_by_name(hwloc_get_root_obj(topology), "HostName");
+ if (!forcedhostname && hwloc_topology_is_thissystem(topology)) {
+#if defined(HWLOC_WIN_SYS) && !defined(__CYGWIN__)
+ GetComputerName(hostname, &hostname_size);
+#else
+ gethostname(hostname, hostname_size);
+#endif
+ }
+ if (forcedhostname || *hostname) {
+ if (forcedhostname)
+ snprintf(text, sizeof(text), "Host: %s", forcedhostname);
+ else
+ snprintf(text, sizeof(text), "Host: %s", hostname);
+ methods->box(output, 0xff, 0xff, 0xff, depth, 0, totwidth, totheight, gridsize + (gridsize + fontsize)*(3+lstopo_append_legends_nr));
+ methods->text(output, 0, 0, 0, depth, gridsize, totheight + gridsize, text);
+ offset = gridsize + fontsize;
+ } else {
+ methods->box(output, 0xff, 0xff, 0xff, depth, 0, totwidth, totheight, gridsize + (gridsize + fontsize)*(2+lstopo_append_legends_nr));
+ offset = 0;
+ }
+
+ /* Display whether we're showing physical or logical IDs */
+ snprintf(text, sizeof(text), "Indexes: %s", logical ? "logical" : "physical");
+ methods->text(output, 0, 0, 0, depth, gridsize, totheight + gridsize + offset, text);
+
+ /* Display timestamp */
+ t = time(NULL);
+#ifdef HAVE_STRFTIME
+ {
+ struct tm *tmp;
+ tmp = localtime(&t);
+ strftime(text, sizeof(text), "Date: %c", tmp);
+ }
+#else /* HAVE_STRFTIME */
+ {
+ char *date;
+ int n;
+ date = ctime(&t);
+ n = strlen(date);
+ if (n && date[n-1] == '\n') {
+ date[n-1] = 0;
+ }
+ snprintf(text, sizeof(text), "Date: %s", date);
+ }
+#endif /* HAVE_STRFTIME */
+ methods->text(output, 0, 0, 0, depth, gridsize, totheight + gridsize + offset + fontsize + gridsize, text);
+
+ offset = totheight + gridsize + offset + (fontsize + gridsize) * 2;
+ for(i=0; i<lstopo_append_legends_nr; i++) {
+ methods->text(output, 0, 0, 0, depth, gridsize, offset, lstopo_append_legends[i]);
+ offset += fontsize + gridsize;
+ }
+ }
+}
+
+/*
+ * given a type, return a pointer FUN to the function that draws it.
+ */
+static foo_draw
+get_type_fun(hwloc_obj_type_t type)
+{
+ switch (type) {
+ case HWLOC_OBJ_SYSTEM: return system_draw;
+ case HWLOC_OBJ_MACHINE: return machine_draw;
+ case HWLOC_OBJ_NUMANODE: return node_draw;
+ case HWLOC_OBJ_PACKAGE: return package_draw;
+ case HWLOC_OBJ_CACHE: return cache_draw;
+ case HWLOC_OBJ_CORE: return core_draw;
+ case HWLOC_OBJ_PU: return pu_draw;
+ case HWLOC_OBJ_GROUP: return group_draw;
+ case HWLOC_OBJ_PCI_DEVICE: return pci_device_draw;
+ case HWLOC_OBJ_OS_DEVICE: return os_device_draw;
+ case HWLOC_OBJ_BRIDGE: return bridge_draw;
+ default:
+ case HWLOC_OBJ_MISC: return misc_draw;
+ case HWLOC_OBJ_TYPE_MAX: assert(0);
+ }
+ /* for dumb compilers */
+ return misc_draw;
+}
+
+void
+output_draw_start(struct lstopo_output *output)
+{
+ struct draw_methods *methods = output->methods;
+ methods->init(output);
+ methods->declare_color(output, 0, 0, 0);
+ methods->declare_color(output, NODE_R_COLOR, NODE_G_COLOR, NODE_B_COLOR);
+ methods->declare_color(output, PACKAGE_R_COLOR, PACKAGE_G_COLOR, PACKAGE_B_COLOR);
+ methods->declare_color(output, MEMORY_R_COLOR, MEMORY_G_COLOR, MEMORY_B_COLOR);
+ methods->declare_color(output, CORE_R_COLOR, CORE_G_COLOR, CORE_B_COLOR);
+ methods->declare_color(output, THREAD_R_COLOR, THREAD_G_COLOR, THREAD_B_COLOR);
+ methods->declare_color(output, RUNNING_R_COLOR, RUNNING_G_COLOR, RUNNING_B_COLOR);
+ methods->declare_color(output, FORBIDDEN_R_COLOR, FORBIDDEN_G_COLOR, FORBIDDEN_B_COLOR);
+ methods->declare_color(output, OFFLINE_R_COLOR, OFFLINE_G_COLOR, OFFLINE_B_COLOR);
+ methods->declare_color(output, CACHE_R_COLOR, CACHE_G_COLOR, CACHE_B_COLOR);
+ methods->declare_color(output, MACHINE_R_COLOR, MACHINE_G_COLOR, MACHINE_B_COLOR);
+ methods->declare_color(output, SYSTEM_R_COLOR, SYSTEM_G_COLOR, SYSTEM_B_COLOR);
+ methods->declare_color(output, MISC_R_COLOR, MISC_G_COLOR, MISC_B_COLOR);
+ methods->declare_color(output, PCI_DEVICE_R_COLOR, PCI_DEVICE_G_COLOR, PCI_DEVICE_B_COLOR);
+ methods->declare_color(output, OS_DEVICE_R_COLOR, OS_DEVICE_G_COLOR, OS_DEVICE_B_COLOR);
+ methods->declare_color(output, BRIDGE_R_COLOR, BRIDGE_G_COLOR, BRIDGE_B_COLOR);
+ lstopo_prepare_custom_styles(output, hwloc_get_root_obj(output->topology));
+}
+
+static void
+output_compute_pu_min_textwidth(struct lstopo_output *output)
+{
+ char text[64];
+ int n;
+ hwloc_topology_t topology = output->topology;
+ hwloc_obj_t lastpu;
+
+ if (!output->methods->textsize) {
+ output->min_pu_textwidth = 0;
+ return;
+ }
+
+ if (output->logical) {
+ unsigned depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PU);
+ lastpu = hwloc_get_obj_by_depth(topology, depth, hwloc_get_nbobjs_by_depth(topology, depth)-1);
+ } else if (hwloc_topology_get_topology_cpuset(topology)) {
+ unsigned lastidx = hwloc_bitmap_last(hwloc_topology_get_topology_cpuset(topology));
+ lastpu = hwloc_get_pu_obj_by_os_index(topology, lastidx);
+ } else {
+ /* no easy way to find the max os_index in custom topologies */
+ unsigned depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PU);
+ hwloc_obj_t curpu = hwloc_get_obj_by_depth(topology, depth, 0);
+ lastpu = curpu;
+ while (curpu) {
+ if (curpu->os_index > lastpu->os_index)
+ lastpu = curpu;
+ curpu = curpu->next_cousin;
+ }
+ }
+
+ n = lstopo_obj_snprintf(text, sizeof(text), lastpu, output->logical);
+ output->min_pu_textwidth = get_textwidth(output, text, n);
+}
+
+void
+output_draw(struct lstopo_output *output)
+{
+ output_compute_pu_min_textwidth(output);
+ fig(output->topology, output->methods, output->logical, output->legend, hwloc_get_root_obj(output->topology), output, 100, 0, 0);
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2010 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+
+#include "lstopo.h"
+
+/* .fig back-end. */
+
+#define FIG_FACTOR 20
+
+static void
+fig_init(void *loutput_)
+{
+ struct lstopo_output *loutput = loutput_;
+ FILE *file = loutput->file;
+ fprintf(file, "#FIG 3.2 Produced by hwloc's lstopo\n");
+ fprintf(file, "Landscape\n");
+ fprintf(file, "Center\n");
+ fprintf(file, "Inches\n");
+ fprintf(file, "letter\n");
+ fprintf(file, "100.00\n"); /* magnification */
+ fprintf(file, "Single\n"); /* single page */
+ fprintf(file, "-2\n"); /* no transparent color */
+ fprintf(file, "1200 2\n"); /* 1200 ppi resolution, upper left origin */
+}
+
+static int __hwloc_attribute_const
+rgb_to_fig(int r, int g, int b)
+{
+ if (r == 0xff && g == 0xff && b == 0xff)
+ return 7;
+
+ if (!r && !g && !b)
+ return 0;
+
+ return 32 + rgb_to_color(r, g, b);
+}
+
+static void
+fig_declare_color(void *loutput_, int r, int g, int b)
+{
+ struct lstopo_output *loutput = loutput_;
+ FILE *file = loutput->file;
+ int color;
+
+ if (r == 0xff && g == 0xff && b == 0xff)
+ return;
+
+ if (!r && !g && !b)
+ return;
+
+ color = declare_color(r, g, b);
+
+ fprintf(file, "0 %d #%02x%02x%02x\n", 32 + color, (unsigned) r, (unsigned) g, (unsigned) b);
+}
+
+static void
+fig_box(void *loutput_, int r, int g, int b, unsigned depth, unsigned x, unsigned width, unsigned y, unsigned height)
+{
+ struct lstopo_output *loutput = loutput_;
+ FILE *file = loutput->file;
+ x *= FIG_FACTOR;
+ y *= FIG_FACTOR;
+ width *= FIG_FACTOR;
+ height *= FIG_FACTOR;
+ fprintf(file, "2 2 0 1 0 %d %u -1 20 0.0 0 0 -1 0 0 5\n\t", rgb_to_fig(r, g, b), depth);
+ fprintf(file, " %u %u", x, y);
+ fprintf(file, " %u %u", x + width, y);
+ fprintf(file, " %u %u", x + width, y + height);
+ fprintf(file, " %u %u", x, y + height);
+ fprintf(file, " %u %u", x, y);
+ fprintf(file, "\n");
+}
+
+static void
+fig_line(void *loutput_, int r, int g, int b, unsigned depth, unsigned x1, unsigned y1, unsigned x2, unsigned y2)
+{
+ struct lstopo_output *loutput = loutput_;
+ FILE *file = loutput->file;
+ x1 *= FIG_FACTOR;
+ y1 *= FIG_FACTOR;
+ x2 *= FIG_FACTOR;
+ y2 *= FIG_FACTOR;
+ fprintf(file, "2 1 0 1 0 %d %u -1 -1 0.0 0 0 -1 0 0 2\n\t", rgb_to_fig(r, g, b), depth);
+ fprintf(file, " %u %u", x1, y1);
+ fprintf(file, " %u %u", x2, y2);
+ fprintf(file, "\n");
+}
+
+static void
+fig_text(void *loutput_, int r, int g, int b, unsigned depth, unsigned x, unsigned y, const char *text)
+{
+ struct lstopo_output *loutput = loutput_;
+ FILE *file = loutput->file;
+ int len = (int)strlen(text);
+ int color = rgb_to_fig(r, g, b);
+ int size = (fontsize * 16) / 10;
+ x *= FIG_FACTOR;
+ y *= FIG_FACTOR;
+ fprintf(file, "4 0 %d %u -1 0 %d 0.0 4 %d %d %u %u %s\\001\n", color, depth, size, size * 10, len * size * 10, x, y + size * 10, text);
+}
+
+static struct draw_methods fig_draw_methods = {
+ fig_init,
+ fig_declare_color,
+ fig_box,
+ fig_line,
+ fig_text,
+ NULL, /* textsize not supported, fallback to default estimation in get_textsize() */
+};
+
+void
+output_fig (struct lstopo_output *loutput, const char *filename)
+{
+ FILE *output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ return;
+ }
+
+ loutput->file = output;
+ loutput->methods = &fig_draw_methods;
+
+ output_draw_start(loutput);
+ output_draw(loutput);
+
+ if (output != stdout)
+ fclose(output);
+}
--- /dev/null
+.\" -*- nroff -*-
+.\" Copyright © 2009-2018 Inria. All rights reserved.
+.\" Copyright © 2009-2010 Université of Bordeaux
+.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
+.\" See COPYING in top-level directory.
+.TH LSTOPO "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
+.SH NAME
+lstopo, lstopo-no-graphics, hwloc-ls \- Show the topology of the system
+.
+.\" **************************
+.\" Synopsis Section
+.\" **************************
+.SH SYNOPSIS
+.
+.B lstopo
+[ \fIoptions \fR]... [ \fIfilename \fR]
+.
+.PP
+.B lstopo-no-graphics
+[ \fIoptions \fR]... [ \fIfilename \fR]
+.
+.PP
+.B hwloc-ls
+[ \fIoptions \fR]... [ \fIfilename \fR]
+.
+.PP
+Note that hwloc(7) provides a detailed explanation of the hwloc system; it
+should be read before reading this man page
+.
+.\" **************************
+.\" Options Section
+.\" **************************
+.SH OPTIONS
+.
+.TP
+\fB\-\-of\fR <format>, \fB\-\-output\-format\fR <format>
+Enforce the output in the given format.
+See the OUTPUT FORMATS section below.
+.TP
+\fB\-i\fR <file>, \fB\-\-input\fR <file>
+Read topology from XML file <file> (instead of discovering the
+topology on the local machine). If <file> is "\-", the standard input
+is used. XML support must have been compiled in to hwloc for this
+option to be usable.
+.TP
+\fB\-i\fR <directory>, \fB\-\-input\fR <directory>
+Read topology from the chroot specified by <directory> (instead of
+discovering the topology on the local machine). This option is
+generally only available on Linux. The chroot was usually created
+by gathering another machine topology with hwloc-gather-topology.
+.TP
+\fB\-i\fR <specification>, \fB\-\-input\fR <specification>
+Simulate a fake hierarchy (instead of discovering the topology on the
+local machine). If <specification> is "node:2 pu:3", the topology will
+contain two NUMA nodes with 3 processing units in each of them.
+The <specification> string must end with a number of PUs.
+.TP
+\fB\-\-if\fR <format>, \fB\-\-input\-format\fR <format>
+Enforce the input in the given format, among \fBxml\fR, \fBfsroot\fR
+and \fBsynthetic\fR.
+.TP
+\fB\-\-export\-synthetic\-flags\fR <flags>
+Enforce flags when exporting to the synthetic format.
+These flags are passed to \fIhwloc_topology_export_synthetic()\fR.
+A value of 2 reverts to the format of hwloc v1.9.
+A value of 3 reverts to the original minimalistic format (before v1.9).
+.TP
+\fB\-v\fR \fB\-\-verbose\fR
+Include additional detail.
+The hwloc-info tool may be used to display even more information
+about specific objects.
+.TP
+\fB\-s\fR \fB\-\-silent\fR
+Reduce the amount of details to show.
+.TP
+\fB\-f\fR \fB\-\-force\fR
+If the destination file already exists, overwrite it.
+.TP
+\fB\-l\fR \fB\-\-logical\fR
+Display hwloc logical indexes instead of physical/OS indexes (default for console output).
+These indexes are prefixed with "L#".
+The physical indexes of some objects (PU and Node by default, all
+objects if verbose) will appear as object attribute "P#...".
+.TP
+\fB\-p\fR \fB\-\-physical\fR
+Display OS/physical indexes instead of hwloc logical indexes (default for graphical output).
+These indexes are prefixed with "P#" instead of "L#" in the console output.
+.TP
+\fB\-c\fR \fB\-\-cpuset\fR
+Display the cpuset of each object.
+.TP
+\fB\-C\fR \fB\-\-cpuset\-only\fR
+Only display the cpuset of each object; do not display anything else
+about the object.
+.TP
+\fB\-\-taskset\fR
+Show CPU set strings in the format recognized by the taskset command-line
+program instead of hwloc-specific CPU set string format.
+This option should be combined with \fB\-\-cpuset\fR or \fB\-\-cpuset\-only\fR,
+otherwise it will imply \fB\-\-cpuset\fR.
+.TP
+\fB\-\-only\fR <type>
+Only show objects of the given type in the textual output.
+.TP
+\fB\-\-ignore\fR <type>
+Ignore all objects of type <type> in the topology.
+hwloc supports ignoring any type except PUs and I/O devices.
+However lstopo still offers PU ignoring by hiding PU objects
+in the graphical and textual outputs.
+Note that PU may not be ignored in the XML output.
+Note also that the top-level object type cannot be ignored (usually Machine or System).
+.TP
+\fB\-\-no\-caches\fR
+Do not show caches.
+.TP
+\fB\-\-no\-useless\-caches\fR
+Do not show caches which do not have a hierarchical impact.
+This calls hwloc_topology_ignore_type_keep_structure() for cache objects.
+.TP
+\fB\-\-no\-icaches\fR
+Do not show Instruction caches, only Data and Unified caches are displayed.
+.TP
+\fB\-\-whole\-system\fR
+Do not consider administration limitations.
+.TP
+\fB\-\-flags\fR <flags>
+Enforce topology flags.
+The default is \fB0\fR.
+These flags are passed to \fIhwloc_topology_set_flags()\fR.
+.TP
+\fB\-\-merge\fR
+Do not show levels that do not have a hierarchical impact.
+This calls hwloc_topology_ignore_all_keep_structure().
+.TP
+\fB\-\-no\-collapse\fR
+Do not collapse identical PCI devices.
+By default, identical sibling PCI devices (such as many virtual functions
+inside a single physical device) are collapsed.
+.TP
+\fB\-\-restrict\fR <cpuset>
+Restrict the topology to the given cpuset.
+.TP
+\fB\-\-restrict\fR binding
+Restrict the topology to the current process binding.
+This option requires the use of the actual current machine topology
+(or any other topology with \fB\-\-thissystem\fR or with
+HWLOC_THISSYSTEM set to 1 in the environment).
+.TP
+\fB\-\-restrict\-flags\fR <flags>
+Enforce flags when restricting the topology.
+The default is \fB0\fR.
+These flags are passed to \fIhwloc_topology_restrict()\fR.
+.TP
+\fB\-\-no\-io\fB
+Do not show any I/O device or bridge.
+By default, common devices (GPUs, NICs, block devices, ...) and
+interesting bridges are shown.
+.TP
+\fB\-\-no\-bridges\fB
+Do not show any I/O bridge except hostbridges.
+By default, common devices (GPUs, NICs, block devices, ...) and
+interesting bridges are shown.
+.TP
+\fB\-\-whole\-io\fB
+Show all I/O devices and bridges.
+By default, only common devices (GPUs, NICs, block devices, ...) and
+interesting bridges are shown.
+.TP
+\fB\-\-thissystem\fR
+Assume that the selected backend provides the topology for the
+system on which we are running.
+This is useful when using \fB\-\-restrict\fR binding and loading
+a custom topology such as an XML file.
+.TP
+\fB\-\-pid\fR <pid>
+Detect topology as seen by process <pid>, i.e. as if process <pid> did the
+discovery itself.
+Note that this can for instance change the set of allowed processors.
+Also show this process current CPU binding by marking the corresponding
+PUs (in Green in the graphical output, see the COLORS section below,
+or by appending \fI(running)\fR to the verbose text output).
+If 0 is given as pid, the current binding for the lstopo process will be shown.
+.TP
+\fB\-\-ps\fR \fB\-\-top\fR
+Show existing processes as misc objects in the output. To avoid uselessly
+cluttering the output, only processes that are restricted to some part of the
+machine are shown. On Linux, kernel threads are not shown.
+If many processes appear, the output may become hard to read anyway,
+making the hwloc-ps program more practical.
+.TP
+\fB\-\-fontsize\fR <size>
+Set size of text font.
+.TP
+\fB\-\-gridsize\fR <size>
+Set size of margin between elements.
+.TP
+\fB\-\-horiz\fR, \fB\-\-horiz\fR=<type1,...>
+Horizontal graphical layout instead of nearly 4/3 ratio.
+If a comma-separated list of object types is given, the layout only
+applies to the corresponding container objects.
+Ignored for bridges since their children are always vertically aligned.
+.TP
+\fB\-\-vert\fR, \fB\-\-vert\fR=<type1,...>
+Vertical graphical layout instead of nearly 4/3 ratio.
+If a comma-separated list of object types is given, the layout only
+applies to the corresponding container objects.
+.TP
+\fB\-\-rect\fR, \fB\-\-rect\fR=<type1,...>
+Rectangular graphical layout with nearly 4/3 ratio.
+If a comma-separated list of object types is given, the layout only
+applies to the corresponding container objects.
+Ignored for bridges since their children are always vertically aligned.
+.TP
+\fB\-\-no\-index\fR, \fB\-\-no\-index=<type1,...>\fR
+Do not show object indexes in the graphical output.
+If a comma-separated list of object types is given, indexes are disabled for the corresponding objects.
+.TP
+\fB\-\-index\fR, \fB\-\-index=<type1,...>\fR
+Show object indexes in the graphical output (default).
+If a comma-separated list of object types is given, indexes are reenabled for the corresponding objects
+(if they were previously disabled with \fB\-\-no\-index\fR).
+.TP
+\fB\-\-no\-attrs\fR, \fB\-\-no\-attrs=<type1,...>\fR
+Do not show object attributes (such as memory size, cache size, PCI link speed, etc.)
+in the graphical output.
+If a comma-separated list of object types is given, attributes are disabled for the corresponding objects.
+.TP
+\fB\-\-attrs\fR, \fB\-\-attrs=<type1,...>\fR
+Show object attributes (such as memory size, cache size, PCI link speed, etc.)
+in the graphical output (default).
+If a comma-separated list of object types is given, attributes are reenabled for the corresponding objects
+(if they were previously disabled with \fB\-\-no\-attrs\fR).
+.TP
+\fB\-\-no\-legend\fR
+Remove the text legend at the bottom.
+.TP
+\fB\-\-append\-legend\fB <line>
+Append the line of text to the bottom of the legend in graphical mode.
+If the line is too long, it will be truncated in the output.
+If adding multiple lines, each line should be given separately by
+passing this option multiple times.
+.TP
+\fB\-\-version\fR
+Report version and exit.
+.
+.\" **************************
+.\" Description Section
+.\" **************************
+.SH DESCRIPTION
+.
+lstopo and lstopo-no-graphics are capable of displaying a topological map of
+the system in a variety of different output formats. The only difference
+between lstopo and lstopo-no-graphics is that graphical outputs are only
+supported by lstopo, to reduce dependencies on external libraries.
+hwloc-ls is identical to lstopo-no-graphics.
+.
+.PP
+The filename specified directly implies the output format that will be
+used; see the OUTPUT FORMATS section, below. Output formats that
+support color will indicate specific characteristics about individual
+CPUs by their color; see the COLORS section, below.
+.
+.\" **************************
+.\" Output Formats Section
+.\" **************************
+.SH OUTPUT FORMATS
+.
+.PP
+By default, if no output filename is specific, the output is sent
+to a graphical window if possible in the current environment
+(DISPLAY environment variable set on Unix, etc.).
+Otherwise, a text summary is displayed in the console.
+.
+.PP
+The filename on the command line usually determines the format of the output.
+There are a few filenames that indicate specific output formats and
+devices (e.g., a filename of "-" will output a text summary to
+stdout), but most filenames indicate the desired output format by
+their suffix (e.g., "topo.png" will output a PNG-format file).
+.PP
+The format of the output may also be changed with "\-\-of".
+For instance, "\-\-of pdf" will generate a PDF-format file on the standard
+output, while "\-\-of fig toto" will output a Xfig-format file named "toto".
+.
+.PP
+The list of currently supported formats is given below. Any of them may
+be used with "\-\-of" or as a filename suffix.
+.TP
+.B default
+Send the output to a window or to the console depending on the environment.
+.
+.TP
+.B console
+Send a text summary to stdout.
+Binding, unallowed or offline processors are only annotated in this mode
+if verbose; see the COLORS section, below.
+.
+.TP
+.B ascii
+Output an ASCII art representation of the map
+(formerly called \fBtxt\fR).
+If outputting to stdout and if colors are supported on the terminal,
+the output will be colorized.
+.
+.TP
+.B fig
+Output a representation of the map that can be loaded in Xfig.
+.
+.TP
+.B pdf
+If lstopo was compiled with the proper
+support, lstopo outputs a PDF representation of the map.
+.
+.TP
+.B ps
+If lstopo was compiled with the proper
+support, lstopo outputs a Postscript representation of the map.
+.
+.TP
+.B png
+If lstopo was compiled with the proper
+support, lstopo outputs a PNG representation of the map.
+.
+.TP
+.B svg
+If lstopo was compiled with the proper
+support, lstopo outputs an SVG representation of the map.
+.
+.TP
+.B synthetic
+If the topology is symmetric
+(which requires that the root object has its symmetric_subtree field set),
+lstopo outputs a synthetic description string.
+This output may be reused as an input synthetic topology
+description later.
+Note that I/O devices often cause topology asymmetry.
+Adding \-\-no\-io may then be useful when the synthetic export fails.
+See also the Synthetic topologies section in the documentation.
+.
+.TP
+.B xml
+If lstopo was compiled with the proper
+support, lstopo outputs an XML representation of the map.
+It may be reused later, even on another machine, with lstopo \-\-input,
+the HWLOC_XMLFILE environment variable, or the hwloc_topology_set_xml()
+function.
+
+.PP
+The following special names may be used:
+.TP
+.B \-
+Send a text summary to stdout.
+.
+.TP
+.B /dev/stdout
+Send a text summary to stdout. It is effectively the same as
+specifying "\-".
+.
+.TP
+.B \-.<format>
+If the entire filename is "\-.<format>", lstopo behaves as if
+"\-\-of <format> -" was given, which means a file of the given format
+is sent to the standard output.
+
+.PP
+See the output of "lstopo \-\-help" for a specific list of what
+graphical output formats are supported in your hwloc installation.
+.
+.\" **************************
+.\" Colors Section
+.\" **************************
+.SH COLORS
+Individual CPUs are colored in the graphical output
+formats to indicate different characteristics:
+.TP
+Green
+The topology is reported as seen by a specific process (see \fB\-\-pid\fR),
+and the given CPU is in this process CPU binding mask.
+.TP
+White
+The CPU is in the allowed set (see below).
+If the topology is reported as seen by a specific process (see \fB\-\-pid\fR),
+the given CPU is also not in this process CPU binding mask.
+.TP
+Red
+The CPU is not in the allowed set (see below).
+.TP
+Black
+The CPU is offline (not all OS's support displaying offline CPUs).
+.
+.PP
+The "allowed set" is the set of CPUs to which the current process is
+allowed to bind. The allowed set is usually either inherited from the
+parent process or set by administrative qpolicies on the system. Linux
+cpusets are one example of limiting the allowed set for a process and
+its children to be less than the full set of CPUs on the system.
+.PP
+Different processes may therefore have different CPUs in the allowed
+set. Hence, invoking lstopo in different contexts and/or as different
+users may display different colors for the same individual CPUs (e.g.,
+running lstopo in one context may show a specific CPU as red, but
+running lstopo in a different context may show the same CPU as white).
+.PP
+Some lstopo output modes, e.g. the console mode (default non-graphical output),
+do not support colors at all.
+The console mode displays the above characteristics by appending text
+to each PU line if verbose messages are enabled.
+.
+.SH CUSTOM COLORS
+The color of each object in the graphical output may be enforced by
+specifying a "lstopoStyle" info attribute in that object.
+Its value should be a semi-colon separated list of "<attribute>=#rrggbb"
+where rr, gg and bb are the RGB components of a color,
+each between 0 and 255, in hexadecimal (00 to ff).
+.
+<attribute> may be
+.TP
+\fBBackground\fR
+Sets the background color of the main object box.
+.TP
+\fBBackground2\fR
+Sets the background color of the additional box for the object,
+for instance the memory box inside a NUMA node box.
+.TP
+\fBText\fR
+Sets the color of the text showing the object name, type, index, etc.
+.TP
+\fBText2\fB
+Sets the color of the additional text near the object,
+for instance the link speed behind a PCI bridge.
+.PP
+The "lstopoStyle" info may be added to a temporarily-saved XML topologies
+with hwloc-annotate, or with hwloc_obj_add_info().
+.
+For instance, to display all core objects in blue (with white names):
+
+ lstopo save.xml
+ hwloc-annotate save.xml save.xml core:all info lstopoStyle "Background=#0000ff;Text=#ffffff"
+ lstopo -i save.xml
+.
+.\" **************************
+.\" Layout Section
+.\" **************************
+.SH LAYOUT
+In its graphical output, lstopo uses simple rectangular heuristics
+to try to achieve a 4/3 ratio between width and height.
+Although the hierarchy of resources is properly reflected,
+the exact physical organization (NUMA distances, rings,
+complete graphs, etc.) is currently ignored.
+.
+The layout of a level may be changed with \-\-vert, \-\-horiz,
+and \-\-rect.
+.
+.\" **************************
+.\" Examples Section
+.\" **************************
+.SH EXAMPLES
+.
+To display the machine topology in textual mode:
+
+ lstopo-no-graphics
+
+To display the machine topology in ascii-art mode:
+
+ lstopo-no-graphics -.ascii
+
+To display in graphical mode (assuming that the DISPLAY environment
+variable is set to a relevant value):
+
+ lstopo
+
+To export the topology to a PNG file:
+
+ lstopo file.png
+
+To export an XML file on a machine and later display the corresponding
+graphical output on another machine:
+
+ machine1$ lstopo file.xml
+ <transfer file.xml from machine1 to machine2>
+ machine2$ lstopo --input file.xml
+
+To save the current machine topology to XML and later reload it faster
+while still considering it as the current machine:
+
+ $ lstopo file.xml
+ <...>
+ $ lstopo --input file.xml --thissystem
+
+To restrict an XML topology to only physical processors 0, 1, 4 and 5:
+
+ lstopo --input file.xml --restrict 0x33 newfile.xml
+
+To restrict an XML topology to only numa node whose logical index is 1:
+
+ lstopo --input file.xml --restrict $(hwloc-calc --input file.xml node:1) newfile.xml
+
+To display a summary of the topology:
+
+ lstopo -s
+
+To get more details about the topology:
+
+ lstopo -v
+
+To only show cores:
+
+ lstopo --only core
+
+To show cpusets:
+
+ lstopo --cpuset
+
+To only show the cpusets of package:
+
+ lstopo --only package --cpuset-only
+
+Simulate a fake hierarchy; this example shows with 2 NUMA nodes of 2
+processor units:
+
+ lstopo --input "node:2 2"
+
+To count the number of logical processors in the system
+
+ lstopo --only pu | wc -l
+
+To append the kernel release and version to the graphical legend:
+
+ lstopo --append-legend "Kernel release: $(uname -r)" --append-legend "Kernel version: $(uname -v)"
+
+.\" **************************
+.\" See also section
+.\" **************************
+.SH SEE ALSO
+.
+.ft R
+hwloc(7), hwloc-info(1), hwloc-bind(1), hwloc-annotate(1), hwloc-ps(1), hwloc-gather-topology(1)
+.sp
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2016 Inria. All rights reserved.
+ * Copyright © 2009-2012 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <private/private.h>
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+
+#include "lstopo.h"
+#include "misc.h"
+
+#define indent(output, i) \
+ fprintf (output, "%*s", (int) i, "");
+
+/*
+ * Console fashion text output
+ */
+
+static void
+output_console_obj (hwloc_topology_t topology, hwloc_obj_t l, FILE *output, int logical, int verbose_mode, int collapsed)
+{
+ unsigned idx = logical ? l->logical_index : l->os_index;
+ const char *value;
+ char pidxstr[16] = "P#[collapsed]";
+ char lidxstr[16] = "L#[collapsed]";
+
+ if (!collapsed || l->type != HWLOC_OBJ_PCI_DEVICE) {
+ snprintf(pidxstr, sizeof(pidxstr), "P#%u", l->os_index);
+ snprintf(lidxstr, sizeof(lidxstr), "L#%u", l->logical_index);
+ }
+
+ if (lstopo_show_cpuset < 2) {
+ char type[64], *attr, phys[32] = "";
+ int len;
+ value = hwloc_obj_get_info_by_name(l, "Type");
+ hwloc_obj_type_snprintf (type, sizeof(type), l, verbose_mode-1);
+ if (value)
+ fprintf(output, "%s(%s)", type, value);
+ else
+ fprintf(output, "%s", type);
+ if (l->depth != 0 && idx != (unsigned)-1
+ && l->type != HWLOC_OBJ_MISC
+ && l->type != HWLOC_OBJ_PCI_DEVICE
+ && (l->type != HWLOC_OBJ_BRIDGE || l->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_HOST))
+ fprintf(output, " %s", logical ? lidxstr : pidxstr);
+ if (l->name && (l->type == HWLOC_OBJ_MISC || l->type == HWLOC_OBJ_GROUP))
+ fprintf(output, " %s", l->name);
+ if (logical && l->os_index != (unsigned) -1 &&
+ (verbose_mode >= 2 || l->type == HWLOC_OBJ_PU || l->type == HWLOC_OBJ_NUMANODE))
+ snprintf(phys, sizeof(phys), "%s", pidxstr);
+ /* display attributes */
+ len = hwloc_obj_attr_snprintf (NULL, 0, l, " ", verbose_mode-1);
+ attr = malloc(len+1);
+ *attr = '\0';
+ hwloc_obj_attr_snprintf (attr, len+1, l, " ", verbose_mode-1);
+ if (*phys || *attr) {
+ const char *separator = *phys != '\0' && *attr!= '\0' ? " " : "";
+ fprintf(output, " (%s%s%s)",
+ phys, separator, attr);
+ }
+ free(attr);
+ /* display the root total_memory if not verbose (already shown)
+ * and different from the local_memory (already shown) */
+ if (verbose_mode == 1 && !l->parent && l->memory.total_memory > l->memory.local_memory)
+ fprintf(output, " (%lu%s total)",
+ (unsigned long) hwloc_memory_size_printf_value(l->memory.total_memory, 0),
+ hwloc_memory_size_printf_unit(l->memory.total_memory, 0));
+ /* append the name */
+ if (l->name && (l->type == HWLOC_OBJ_OS_DEVICE || verbose_mode >= 2)
+ && l->type != HWLOC_OBJ_MISC && l->type != HWLOC_OBJ_GROUP)
+ fprintf(output, " \"%s\"", l->name);
+ }
+ if (!l->cpuset)
+ return;
+ if (lstopo_show_cpuset == 1)
+ fprintf(output, " cpuset=");
+ if (lstopo_show_cpuset) {
+ char *cpusetstr;
+ if (lstopo_show_taskset)
+ hwloc_bitmap_taskset_asprintf(&cpusetstr, l->cpuset);
+ else
+ hwloc_bitmap_asprintf(&cpusetstr, l->cpuset);
+ fprintf(output, "%s", cpusetstr);
+ free(cpusetstr);
+ }
+
+ /* annotate if the PU is forbidden/offline/running */
+ if (l->type == HWLOC_OBJ_PU && verbose_mode >= 2) {
+ if (lstopo_pu_offline(l))
+ fprintf(output, " (offline)");
+ else if (lstopo_pu_forbidden(l))
+ fprintf(output, " (forbidden)");
+ else if (lstopo_pu_running(topology, l))
+ fprintf(output, " (running)");
+ }
+}
+
+/* Recursively output topology in a console fashion */
+static void
+output_topology (hwloc_topology_t topology, hwloc_obj_t l, hwloc_obj_t parent, FILE *output, int i, int logical, int verbose_mode)
+{
+ unsigned x;
+ int group_identical = (verbose_mode <= 1) && !lstopo_show_cpuset;
+ unsigned collapse = 1;
+
+ if (l->type == HWLOC_OBJ_PCI_DEVICE) {
+ const char *collapsestr = hwloc_obj_get_info_by_name(l, "lstopoCollapse");
+ if (collapsestr)
+ collapse = atoi(collapsestr);
+ if (!collapse)
+ return;
+ }
+
+ if (group_identical
+ && parent && parent->arity == 1
+ && l->cpuset && parent->cpuset && hwloc_bitmap_isequal(l->cpuset, parent->cpuset)) {
+ /* in non-verbose mode, merge objects with their parent is they are exactly identical */
+ fprintf(output, " + ");
+ } else {
+ if (parent)
+ fprintf(output, "\n");
+ indent (output, 2*i);
+ i++;
+ }
+
+ if (collapse > 1)
+ fprintf(output, "%u x { ", collapse);
+ output_console_obj(topology, l, output, logical, verbose_mode, collapse > 1);
+ if (collapse > 1)
+ fprintf(output, " }");
+
+ for (x=0; x<l->arity; x++)
+ if (l->children[x]->type != HWLOC_OBJ_PU || !lstopo_ignore_pus)
+ output_topology (topology, l->children[x], l, output, i, logical, verbose_mode);
+}
+
+/* Recursive so that multiple depth types are properly shown */
+static void
+output_only (hwloc_topology_t topology, hwloc_obj_t l, FILE *output, int logical, int verbose_mode)
+{
+ unsigned x;
+ if (lstopo_show_only == l->type) {
+ output_console_obj (topology, l, output, logical, verbose_mode, 0);
+ fprintf (output, "\n");
+ }
+ for (x=0; x<l->arity; x++)
+ output_only (topology, l->children[x], output, logical, verbose_mode);
+}
+
+void output_console(struct lstopo_output *loutput, const char *filename)
+{
+ hwloc_topology_t topology = loutput->topology;
+ unsigned topodepth;
+ int verbose_mode = loutput->verbose_mode;
+ int logical = loutput->logical;
+ FILE *output;
+
+ output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ return;
+ }
+
+ topodepth = hwloc_topology_get_depth(topology);
+
+ /*
+ * if verbose_mode == 0, only print the summary.
+ * if verbose_mode == 1, only print the topology tree.
+ * if verbose_mode > 1, print both.
+ */
+
+ if (lstopo_show_only != (hwloc_obj_type_t)-1) {
+ if (verbose_mode > 1)
+ fprintf(output, "Only showing %s objects\n", hwloc_obj_type_string(lstopo_show_only));
+ output_only (topology, hwloc_get_root_obj(topology), output, logical, verbose_mode);
+ } else if (verbose_mode >= 1) {
+ output_topology (topology, hwloc_get_root_obj(topology), NULL, output, 0, logical, verbose_mode);
+ fprintf(output, "\n");
+ }
+
+ if ((verbose_mode > 1 || !verbose_mode) && lstopo_show_only == (hwloc_obj_type_t)-1) {
+ hwloc_lstopo_show_summary(output, topology);
+ }
+
+ if (verbose_mode > 1 && lstopo_show_only == (hwloc_obj_type_t)-1) {
+ const struct hwloc_distances_s * distances;
+ unsigned depth;
+
+ for (depth = 0; depth < topodepth; depth++) {
+ distances = hwloc_get_whole_distance_matrix_by_depth(topology, depth);
+ if (!distances || !distances->latency)
+ continue;
+ fprintf(output, "relative latency matrix between %ss (depth %u) by %s indexes:\n",
+ hwloc_obj_type_string(hwloc_get_depth_type(topology, depth)),
+ depth,
+ logical ? "logical" : "physical");
+ hwloc_utils_print_distance_matrix(output, topology, hwloc_get_root_obj(topology), distances->nbobjs, depth, distances->latency, logical);
+ }
+ }
+
+ if (verbose_mode > 1 && lstopo_show_only == (hwloc_obj_type_t)-1) {
+ hwloc_const_bitmap_t complete = hwloc_topology_get_complete_cpuset(topology);
+ hwloc_const_bitmap_t topo = hwloc_topology_get_topology_cpuset(topology);
+ hwloc_const_bitmap_t online = hwloc_topology_get_online_cpuset(topology);
+ hwloc_const_bitmap_t allowed = hwloc_topology_get_allowed_cpuset(topology);
+
+ if (complete && !hwloc_bitmap_isequal(topo, complete)) {
+ hwloc_bitmap_t unknown = hwloc_bitmap_alloc();
+ char *unknownstr;
+ hwloc_bitmap_copy(unknown, complete);
+ hwloc_bitmap_andnot(unknown, unknown, topo);
+ hwloc_bitmap_asprintf(&unknownstr, unknown);
+ fprintf (output, "%d processors not represented in topology: %s\n", hwloc_bitmap_weight(unknown), unknownstr);
+ free(unknownstr);
+ hwloc_bitmap_free(unknown);
+ }
+ if (complete && !hwloc_bitmap_isequal(online, complete)) {
+ hwloc_bitmap_t offline = hwloc_bitmap_alloc();
+ char *offlinestr;
+ hwloc_bitmap_copy(offline, complete);
+ hwloc_bitmap_andnot(offline, offline, online);
+ hwloc_bitmap_asprintf(&offlinestr, offline);
+ fprintf (output, "%d processors offline: %s\n", hwloc_bitmap_weight(offline), offlinestr);
+ free(offlinestr);
+ hwloc_bitmap_free(offline);
+ }
+ if (complete && !hwloc_bitmap_isequal(allowed, online)) {
+ if (!hwloc_bitmap_isincluded(online, allowed)) {
+ hwloc_bitmap_t forbidden = hwloc_bitmap_alloc();
+ char *forbiddenstr;
+ hwloc_bitmap_copy(forbidden, online);
+ hwloc_bitmap_andnot(forbidden, forbidden, allowed);
+ hwloc_bitmap_asprintf(&forbiddenstr, forbidden);
+ fprintf(output, "%d processors online but not allowed: %s\n", hwloc_bitmap_weight(forbidden), forbiddenstr);
+ free(forbiddenstr);
+ hwloc_bitmap_free(forbidden);
+ }
+ if (!hwloc_bitmap_isincluded(allowed, online)) {
+ hwloc_bitmap_t potential = hwloc_bitmap_alloc();
+ char *potentialstr;
+ hwloc_bitmap_copy(potential, allowed);
+ hwloc_bitmap_andnot(potential, potential, online);
+ hwloc_bitmap_asprintf(&potentialstr, potential);
+ fprintf(output, "%d processors allowed but not online: %s\n", hwloc_bitmap_weight(potential), potentialstr);
+ free(potentialstr);
+ hwloc_bitmap_free(potential);
+ }
+ }
+ if (!hwloc_topology_is_thissystem(topology))
+ fprintf (output, "Topology not from this system\n");
+ }
+
+ if (output != stdout)
+ fclose(output);
+}
+
+void output_synthetic(struct lstopo_output *loutput, const char *filename)
+{
+ hwloc_topology_t topology = loutput->topology;
+ FILE *output;
+ int length;
+ char sbuffer[1024];
+ char * dbuffer = NULL;
+
+ if (!hwloc_get_root_obj(topology)->symmetric_subtree) {
+ fprintf(stderr, "Cannot output assymetric topology in synthetic format.\n");
+ fprintf(stderr, "Adding --no-io may help making the topology symmetric.\n");
+ return;
+ }
+
+ length = hwloc_topology_export_synthetic(topology, sbuffer, sizeof(sbuffer), lstopo_export_synthetic_flags);
+ if (length < 0) {
+ fprintf(stderr, "Failed to export a synthetic description (%s)\n", strerror(errno));
+ return;
+ }
+
+ if (length >= (int) sizeof(sbuffer)) {
+ dbuffer = malloc(length+1 /* \0 */);
+ if (!dbuffer)
+ return;
+
+ length = hwloc_topology_export_synthetic(topology, dbuffer, length+1, lstopo_export_synthetic_flags);
+ if (length < 0)
+ goto out;
+ }
+
+ output = open_output(filename, loutput->overwrite);
+ if (!output) {
+ fprintf(stderr, "Failed to open %s for writing (%s)\n", filename, strerror(errno));
+ goto out;
+ }
+
+ fprintf(output, "%s\n", dbuffer ? dbuffer : sbuffer);
+
+ if (output != stdout)
+ fclose(output);
+
+ out:
+ if (dbuffer)
+ free(dbuffer);
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2012 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <string.h>
+
+#include <windows.h>
+#include <windowsx.h>
+
+#include "lstopo.h"
+
+/* windows back-end. */
+
+static struct color {
+ int r, g, b;
+ HGDIOBJ brush;
+} *colors;
+
+struct lstopo_windows_output {
+ struct lstopo_output loutput; /* must be at the beginning */
+ int drawing;
+ PAINTSTRUCT ps;
+ HWND toplevel;
+ unsigned max_x;
+ unsigned max_y;
+};
+
+static int numcolors;
+
+static HGDIOBJ
+rgb_to_brush(int r, int g, int b)
+{
+ int i;
+
+ for (i = 0; i < numcolors; i++)
+ if (colors[i].r == r && colors[i].g == g && colors[i].b == b)
+ return colors[i].brush;
+
+ fprintf(stderr, "color #%02x%02x%02x not declared\n", r, g, b);
+ exit(EXIT_FAILURE);
+}
+
+struct draw_methods windows_draw_methods;
+
+static struct lstopo_windows_output the_output;
+static int state, control;
+static int the_x, the_y, x_delta, y_delta;
+static int finish;
+static int the_width, the_height;
+static int win_width, win_height;
+static unsigned int the_fontsize, the_gridsize;
+static float the_scale;
+
+static void
+windows_box(void *output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x, unsigned width, unsigned y, unsigned height);
+
+static LRESULT CALLBACK
+WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
+{
+ int redraw = 0;
+ switch (message) {
+ case WM_CHAR: {
+ switch (wparam) {
+ case '+':
+ the_scale *= 1.2f;
+ redraw = 1;
+ break;
+ case '-':
+ the_scale /= 1.2f;
+ redraw = 1;
+ break;
+ case 'f':
+ case 'F': {
+ float wscale, hscale;
+ wscale = win_width / (float)the_width;
+ hscale = win_height / (float)the_height;
+ the_scale *= wscale > hscale ? hscale : wscale;
+ redraw = 1;
+ break;
+ }
+ case '1':
+ the_scale = 1.0;
+ redraw = 1;
+ break;
+ case 'q':
+ case 'Q':
+ finish = 1;
+ break;
+ }
+ break;
+ }
+
+ case WM_PAINT: {
+ HFONT font;
+ BeginPaint(hwnd, &the_output.ps);
+ font = CreateFont(fontsize, 0, 0, 0, 0, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH, NULL);
+ SelectObject(the_output.ps.hdc, (HGDIOBJ) font);
+ SetBkMode(the_output.ps.hdc, TRANSPARENT);
+ windows_box(&the_output, 0xff, 0xff, 0xff, 0, 0, win_width, 0, win_height);
+ the_output.max_x = 0;
+ the_output.max_y = 0;
+ output_draw(&the_output.loutput);
+ the_width = the_output.max_x;
+ the_height = the_output.max_y;
+ DeleteObject(font);
+ EndPaint(hwnd, &the_output.ps);
+ break;
+ }
+ case WM_LBUTTONDOWN:
+ state = 1;
+ the_x = GET_X_LPARAM(lparam);
+ the_y = GET_Y_LPARAM(lparam);
+ break;
+ case WM_LBUTTONUP:
+ state = 0;
+ break;
+ case WM_MOUSEMOVE:
+ if (!(wparam & MK_LBUTTON))
+ state = 0;
+ if (state) {
+ int new_x = GET_X_LPARAM(lparam);
+ int new_y = GET_Y_LPARAM(lparam);
+ x_delta -= new_x - the_x;
+ y_delta -= new_y - the_y;
+ the_x = new_x;
+ the_y = new_y;
+ redraw = 1;
+ }
+ break;
+ case WM_KEYDOWN:
+ switch (wparam) {
+ case VK_ESCAPE:
+ finish = 1;
+ break;
+ case VK_LEFT:
+ x_delta -= win_width/10;
+ redraw = 1;
+ break;
+ case VK_RIGHT:
+ x_delta += win_width/10;
+ redraw = 1;
+ break;
+ case VK_UP:
+ y_delta -= win_height/10;
+ redraw = 1;
+ break;
+ case VK_DOWN:
+ y_delta += win_height/10;
+ redraw = 1;
+ break;
+ case VK_PRIOR:
+ if (control) {
+ x_delta -= win_width;
+ redraw = 1;
+ } else {
+ y_delta -= win_height;
+ redraw = 1;
+ }
+ break;
+ case VK_NEXT:
+ if (control) {
+ x_delta += win_width;
+ redraw = 1;
+ } else {
+ y_delta += win_height;
+ redraw = 1;
+ }
+ break;
+ case VK_HOME:
+ x_delta = 0;
+ y_delta = 0;
+ redraw = 1;
+ break;
+ case VK_END:
+ x_delta = INT_MAX;
+ y_delta = INT_MAX;
+ redraw = 1;
+ break;
+ case VK_CONTROL:
+ control = 1;
+ break;
+ }
+ break;
+ case WM_KEYUP:
+ switch (wparam) {
+ case VK_CONTROL:
+ control = 0;
+ break;
+ }
+ break;
+ case WM_DESTROY:
+ /* only kill the program if closing the actual toplevel, not the fake one */
+ if (hwnd == the_output.toplevel)
+ PostQuitMessage(0);
+ return 0;
+ case WM_SIZE: {
+ float wscale, hscale;
+ win_width = LOWORD(lparam);
+ win_height = HIWORD(lparam);
+ wscale = win_width / (float)the_width;
+ hscale = win_height / (float)the_height;
+ the_scale *= wscale > hscale ? hscale : wscale;
+ if (the_scale < 1.0f)
+ the_scale = 1.0f;
+ redraw = 1;
+ break;
+ }
+ }
+ if (redraw) {
+ if (x_delta > the_width - win_width)
+ x_delta = the_width - win_width;
+ if (y_delta > the_height - win_height)
+ y_delta = the_height - win_height;
+ if (x_delta < 0)
+ x_delta = 0;
+ if (y_delta < 0)
+ y_delta = 0;
+ fontsize = (unsigned)(the_fontsize * the_scale);
+ gridsize = (unsigned)(the_gridsize * the_scale);
+ RedrawWindow(hwnd, NULL, NULL, RDW_INVALIDATE);
+ }
+ return DefWindowProc(hwnd, message, wparam, lparam);
+}
+
+static void
+windows_init(void *output)
+{
+ struct lstopo_windows_output *woutput = output;
+ WNDCLASS wndclass;
+ HWND toplevel, faketoplevel;
+ unsigned width, height;
+ HFONT font;
+
+ /* make sure WM_DESTROY on the faketoplevel won't kill the program */
+ woutput->toplevel = NULL;
+
+ /* create the toplevel window, with random size for now */
+ memset(&wndclass, 0, sizeof(wndclass));
+ wndclass.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH);
+ wndclass.hCursor = LoadCursor(NULL, IDC_SIZEALL);
+ wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
+ wndclass.lpfnWndProc = WndProc;
+ wndclass.lpszClassName = "lstopo";
+
+ RegisterClass(&wndclass);
+
+ /* compute the maximal needed size, this may require the toplevel window in the future */
+ woutput->max_x = 0;
+ woutput->max_y = 0;
+ woutput->drawing = 0;
+ faketoplevel = CreateWindow("lstopo", "lstopo", WS_OVERLAPPEDWINDOW,
+ CW_USEDEFAULT, CW_USEDEFAULT,
+ 10, 10, NULL, NULL, NULL, NULL);
+ BeginPaint(faketoplevel, &woutput->ps);
+ font = CreateFont(fontsize, 0, 0, 0, 0, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH, NULL);
+ SelectObject(woutput->ps.hdc, (HGDIOBJ) font);
+ output_draw(&woutput->loutput);
+ DeleteObject(font);
+ EndPaint(faketoplevel, &woutput->ps);
+ DestroyWindow(faketoplevel);
+ woutput->drawing = 1;
+
+ /* now create the actual toplevel with the sizes */
+ width = woutput->max_x;
+ height = woutput->max_y;
+
+ win_width = width + 2*GetSystemMetrics(SM_CXSIZEFRAME);
+ win_height = height + 2*GetSystemMetrics(SM_CYSIZEFRAME) + GetSystemMetrics(SM_CYCAPTION);
+
+ if (win_width > GetSystemMetrics(SM_CXFULLSCREEN))
+ win_width = GetSystemMetrics(SM_CXFULLSCREEN);
+
+ if (win_height > GetSystemMetrics(SM_CYFULLSCREEN))
+ win_height = GetSystemMetrics(SM_CYFULLSCREEN);
+
+ toplevel = CreateWindow("lstopo", "lstopo", WS_OVERLAPPEDWINDOW,
+ CW_USEDEFAULT, CW_USEDEFAULT,
+ win_width, win_height, NULL, NULL, NULL, NULL);
+ woutput->toplevel = toplevel;
+
+ the_width = width;
+ the_height = height;
+
+ the_scale = 1.0f;
+
+ the_fontsize = fontsize;
+ the_gridsize = gridsize;
+
+ /* and display the window */
+ ShowWindow(toplevel, SW_SHOWDEFAULT);
+
+ printf("\n");
+ printf("Keyboard shortcuts:\n");
+ printf(" Zoom-in or out .................... + -\n");
+ printf(" Try to fit scale to window ........ f F\n");
+ printf(" Reset scale to default ............ 1\n");
+ printf(" Scroll vertically ................. Up Down PageUp PageDown\n");
+ printf(" Scroll horizontally ............... Left Right Ctrl+PageUp/Down\n");
+ printf(" Scroll to the top-left corner ..... Home\n");
+ printf(" Scroll to the bottom-right corner . End\n");
+ printf(" Exit .............................. q Q Esc\n");
+ printf("\n\n");
+}
+
+static void
+windows_declare_color(void *output, int r, int g, int b)
+{
+ struct lstopo_windows_output *woutput = output;
+ HBRUSH brush;
+ COLORREF color;
+ struct color *tmp;
+
+ if (!woutput->drawing)
+ return;
+
+ color = RGB(r, g, b);
+ brush = CreateSolidBrush(color);
+ if (!brush) {
+ fprintf(stderr,"Could not allocate color %02x%02x%02x\n", r, g, b);
+ exit(EXIT_FAILURE);
+ }
+
+ tmp = realloc(colors, sizeof(*colors) * (numcolors + 1));
+ if (!tmp) {
+ fprintf(stderr, "Failed to realloc the colors array\n");
+ return;
+ }
+ colors = tmp;
+ colors[numcolors].r = r;
+ colors[numcolors].g = g;
+ colors[numcolors].b = b;
+ colors[numcolors].brush = (HGDIOBJ) brush;
+ numcolors++;
+}
+
+static void
+windows_box(void *output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x, unsigned width, unsigned y, unsigned height)
+{
+ struct lstopo_windows_output *woutput = output;
+ PAINTSTRUCT *ps = &woutput->ps;
+
+ if (x > woutput->max_x)
+ woutput->max_x = x;
+ if (x+width > woutput->max_x)
+ woutput->max_x = x + width;
+ if (y > woutput->max_y)
+ woutput->max_y = y;
+ if (y + height > woutput->max_y)
+ woutput->max_y = y + height;
+
+ if (!woutput->drawing)
+ return;
+
+ SelectObject(ps->hdc, rgb_to_brush(r, g, b));
+ SetBkColor(ps->hdc, RGB(r, g, b));
+ Rectangle(ps->hdc, x - x_delta, y - y_delta, x + width - x_delta, y + height - y_delta);
+}
+
+static void
+windows_line(void *output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x1, unsigned y1, unsigned x2, unsigned y2)
+{
+ struct lstopo_windows_output *woutput = output;
+ PAINTSTRUCT *ps = &woutput->ps;
+
+ if (x1 > woutput->max_x)
+ woutput->max_x = x1;
+ if (x2 > woutput->max_x)
+ woutput->max_x = x2;
+ if (y1 > woutput->max_y)
+ woutput->max_y = y1;
+ if (y2 > woutput->max_y)
+ woutput->max_y = y2;
+
+ if (!woutput->drawing)
+ return;
+
+ SelectObject(ps->hdc, rgb_to_brush(r, g, b));
+ MoveToEx(ps->hdc, x1 - x_delta, y1 - y_delta, NULL);
+ LineTo(ps->hdc, x2 - x_delta, y2 - y_delta);
+}
+
+static void
+windows_text(void *output, int r, int g, int b, unsigned depth __hwloc_attribute_unused, unsigned x, unsigned y, const char *text)
+{
+ struct lstopo_windows_output *woutput = output;
+ PAINTSTRUCT *ps = &woutput->ps;
+
+ if (!woutput->drawing)
+ return;
+
+ SetTextColor(ps->hdc, RGB(r, g, b));
+ TextOut(ps->hdc, x - x_delta, y - y_delta, text, (int)strlen(text));
+}
+
+static void
+windows_textsize(void *output, const char *text, unsigned textlength, unsigned *width)
+{
+ struct lstopo_windows_output *woutput = output;
+ PAINTSTRUCT *ps = &woutput->ps;
+ SIZE size;
+
+ GetTextExtentPoint32(ps->hdc, text, textlength, &size);
+ *width = size.cx;
+}
+
+struct draw_methods windows_draw_methods = {
+ windows_init,
+ windows_declare_color,
+ windows_box,
+ windows_line,
+ windows_text,
+ windows_textsize,
+};
+
+void
+output_windows (struct lstopo_output *loutput, const char *filename __hwloc_attribute_unused)
+{
+ MSG msg;
+
+ memset(&the_output, 0, sizeof(the_output));
+ memcpy(&the_output.loutput, loutput, sizeof(*loutput));
+ the_output.loutput.methods = &windows_draw_methods;
+
+ output_draw_start(&the_output.loutput);
+ UpdateWindow(the_output.toplevel);
+ while (!finish && GetMessage(&msg, NULL, 0, 0)) {
+ TranslateMessage(&msg);
+ DispatchMessage(&msg);
+ }
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2015 Inria. All rights reserved.
+ * Copyright © 2009 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+
+#include <hwloc.h>
+#include <string.h>
+#include <sys/stat.h>
+
+#include "lstopo.h"
+
+void output_xml(struct lstopo_output *loutput, const char *filename)
+{
+ struct stat st;
+
+ if (!filename || !strcasecmp(filename, "-.xml"))
+ filename = "-";
+ /* hwloc_topology_export_xml() writes to stdout if "-" is given */
+
+ if (strcmp(filename, "-") && !stat(filename, &st) && !loutput->overwrite) {
+ fprintf(stderr, "Failed to export XML to %s (%s)\n", filename, strerror(EEXIST));
+ return;
+ }
+
+ if (hwloc_topology_export_xml(loutput->topology, filename) < 0) {
+ fprintf(stderr, "Failed to export XML to %s (%s)\n", filename, strerror(errno));
+ return;
+ }
+}
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2018 Inria. All rights reserved.
+ * Copyright © 2009-2012, 2015, 2017 Université Bordeaux
+ * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#ifdef HWLOC_LINUX_SYS
+#include <hwloc/linux.h>
+#endif /* HWLOC_LINUX_SYS */
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+#include <fcntl.h>
+#include <sys/stat.h>
+#include <assert.h>
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
+#ifdef LSTOPO_HAVE_GRAPHICS
+#ifdef HWLOC_HAVE_CAIRO
+#include <cairo.h>
+#endif
+#endif
+
+#ifdef HAVE_SETLOCALE
+#include <locale.h>
+#endif
+
+#include "lstopo.h"
+#include "misc.h"
+
+#ifdef __MINGW32__
+# ifdef HAVE_CLOCK_GETTIME
+# undef HAVE_CLOCK_GETTIME
+# endif
+#endif
+
+#ifdef HAVE_CLOCK_GETTIME
+# ifndef CLOCK_MONOTONIC /* HP-UX doesn't have CLOCK_MONOTONIC */
+# define CLOCK_MONOTONIC CLOCK_REALTIME
+# endif
+#endif
+
+int lstopo_pid_number = -1;
+hwloc_pid_t lstopo_pid;
+hwloc_obj_type_t lstopo_show_only = (hwloc_obj_type_t) -1;
+int lstopo_show_cpuset = 0;
+int lstopo_show_taskset = 0;
+int lstopo_ignore_pus = 0;
+int lstopo_collapse = 1;
+unsigned long lstopo_export_synthetic_flags = 0;
+
+char **lstopo_append_legends = NULL;
+unsigned lstopo_append_legends_nr = 0;
+
+unsigned int fontsize = 10;
+unsigned int gridsize = 10;
+enum lstopo_orient_e force_orient[HWLOC_OBJ_TYPE_MAX];
+int show_indexes[HWLOC_OBJ_TYPE_MAX];
+int show_attrs[HWLOC_OBJ_TYPE_MAX];
+
+static unsigned int top = 0;
+
+FILE *open_output(const char *filename, int overwrite)
+{
+ const char *extn;
+ struct stat st;
+
+ if (!filename || !strcmp(filename, "-"))
+ return stdout;
+
+ extn = strrchr(filename, '.');
+ if (filename[0] == '-' && extn == filename + 1)
+ return stdout;
+
+ if (!stat(filename, &st) && !overwrite) {
+ errno = EEXIST;
+ return NULL;
+ }
+
+ return fopen(filename, "w");
+}
+
+static hwloc_obj_t insert_task(hwloc_topology_t topology, hwloc_cpuset_t cpuset, const char * name)
+{
+ hwloc_obj_t obj;
+
+ hwloc_bitmap_and(cpuset, cpuset, hwloc_topology_get_topology_cpuset(topology));
+ if (hwloc_bitmap_iszero(cpuset))
+ return NULL;
+
+ /* try to insert at exact position */
+ obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, name);
+ if (!obj) {
+ /* try to insert in a larger parent */
+ char *s;
+ hwloc_bitmap_asprintf(&s, cpuset);
+ obj = hwloc_get_obj_covering_cpuset(topology, cpuset);
+ if (obj) {
+ obj = hwloc_topology_insert_misc_object_by_parent(topology, obj, name);
+ fprintf(stderr, "Inserted process `%s' below parent larger than cpuset %s\n", name, s);
+ } else {
+ fprintf(stderr, "Failed to insert process `%s' with cpuset %s\n", name, s);
+ }
+ free(s);
+ } else {
+ hwloc_obj_add_info(obj, "Type", "Process");
+ }
+
+ return obj;
+}
+
+static void add_process_objects(hwloc_topology_t topology)
+{
+#ifdef HAVE_DIRENT_H
+ hwloc_obj_t root;
+ hwloc_bitmap_t cpuset;
+#ifdef HWLOC_LINUX_SYS
+ hwloc_bitmap_t task_cpuset;
+#endif /* HWLOC_LINUX_SYS */
+ DIR *dir;
+ struct dirent *dirent;
+ const struct hwloc_topology_support *support;
+
+ root = hwloc_get_root_obj(topology);
+
+ support = hwloc_topology_get_support(topology);
+
+ if (!support->cpubind->get_proc_cpubind)
+ return;
+
+ dir = opendir("/proc");
+ if (!dir)
+ return;
+ cpuset = hwloc_bitmap_alloc();
+#ifdef HWLOC_LINUX_SYS
+ task_cpuset = hwloc_bitmap_alloc();
+#endif /* HWLOC_LINUX_SYS */
+
+ while ((dirent = readdir(dir))) {
+ long local_pid_number;
+ hwloc_pid_t local_pid;
+ char *end;
+ char name[80];
+ int proc_cpubind;
+
+ local_pid_number = strtol(dirent->d_name, &end, 10);
+ if (*end)
+ /* Not a number */
+ continue;
+
+ snprintf(name, sizeof(name), "%ld", local_pid_number);
+
+ if (hwloc_pid_from_number(&local_pid, local_pid_number, 0, 0 /* ignore failures */) < 0)
+ continue;
+
+ proc_cpubind = hwloc_get_proc_cpubind(topology, local_pid, cpuset, 0) != -1;
+
+#ifdef HWLOC_LINUX_SYS
+ {
+ char comm[16];
+ char *path;
+ size_t pathlen = 6 + strlen(dirent->d_name) + 1 + 7 + 1;
+
+ path = malloc(pathlen);
+
+ {
+ /* Get the process name */
+ char cmd[64];
+ int file;
+ ssize_t n;
+
+ snprintf(path, pathlen, "/proc/%s/cmdline", dirent->d_name);
+ file = open(path, O_RDONLY);
+ if (file < 0) {
+ /* Ignore errors */
+ free(path);
+ continue;
+ }
+ n = read(file, cmd, sizeof(cmd));
+ close(file);
+
+ if (n <= 0) {
+ /* Ignore kernel threads and errors */
+ free(path);
+ continue;
+ }
+
+ snprintf(path, pathlen, "/proc/%s/comm", dirent->d_name);
+ file = open(path, O_RDONLY);
+
+ if (file >= 0) {
+ n = read(file, comm, sizeof(comm) - 1);
+ close(file);
+ if (n > 0) {
+ comm[n] = 0;
+ if (n > 1 && comm[n-1] == '\n')
+ comm[n-1] = 0;
+ } else {
+ snprintf(comm, sizeof(comm), "(unknown)");
+ }
+ } else {
+ /* Old kernel, have to look at old file */
+ char stats[32];
+ char *parenl = NULL, *parenr;
+
+ snprintf(path, pathlen, "/proc/%s/stat", dirent->d_name);
+ file = open(path, O_RDONLY);
+
+ if (file < 0) {
+ /* Ignore errors */
+ free(path);
+ continue;
+ }
+
+ /* "pid (comm) ..." */
+ n = read(file, stats, sizeof(stats) - 1);
+ close(file);
+ if (n > 0) {
+ stats[n] = 0;
+ parenl = strchr(stats, '(');
+ parenr = strchr(stats, ')');
+ if (!parenr)
+ parenr = &stats[sizeof(stats)-1];
+ *parenr = 0;
+ }
+ if (!parenl) {
+ snprintf(comm, sizeof(comm), "(unknown)");
+ } else {
+ snprintf(comm, sizeof(comm), "%s", parenl+1);
+ }
+ }
+
+ snprintf(name, sizeof(name), "%ld %s", local_pid_number, comm);
+ }
+
+ {
+ /* Get threads */
+ DIR *task_dir;
+ struct dirent *task_dirent;
+
+ snprintf(path, pathlen, "/proc/%s/task", dirent->d_name);
+ task_dir = opendir(path);
+
+ if (task_dir) {
+ while ((task_dirent = readdir(task_dir))) {
+ long local_tid;
+ char *task_end;
+ const size_t tid_len = sizeof(local_tid)*3+1;
+ size_t task_pathlen = 6 + strlen(dirent->d_name) + 1 + 4 + 1
+ + strlen(task_dirent->d_name) + 1 + 4 + 1;
+ char *task_path;
+ int comm_file;
+ char task_comm[16] = "";
+ char task_name[sizeof(name) + 1 + tid_len + 1 + sizeof(task_comm) + 1];
+ ssize_t n;
+
+ local_tid = strtol(task_dirent->d_name, &task_end, 10);
+ if (*task_end)
+ /* Not a number, or the main task */
+ continue;
+
+ task_path = malloc(task_pathlen);
+ snprintf(task_path, task_pathlen, "/proc/%s/task/%s/comm",
+ dirent->d_name, task_dirent->d_name);
+ comm_file = open(task_path, O_RDONLY);
+ free(task_path);
+
+ if (comm_file >= 0) {
+ n = read(comm_file, task_comm, sizeof(task_comm) - 1);
+ if (n < 0)
+ n = 0;
+ close(comm_file);
+ task_comm[n] = 0;
+ if (n > 1 && task_comm[n-1] == '\n')
+ task_comm[n-1] = 0;
+ if (!strcmp(comm, task_comm))
+ /* Same as process comm, do not show it again */
+ n = 0;
+ } else {
+ n = 0;
+ }
+
+ if (hwloc_linux_get_tid_cpubind(topology, local_tid, task_cpuset))
+ continue;
+
+ if (proc_cpubind && hwloc_bitmap_isequal(task_cpuset, cpuset))
+ continue;
+
+ if (n) {
+ snprintf(task_name, sizeof(task_name), "%s %li %s", name, local_tid, task_comm);
+ } else {
+ snprintf(task_name, sizeof(task_name), "%s %li", name, local_tid);
+ }
+
+ insert_task(topology, task_cpuset, task_name);
+ }
+ closedir(task_dir);
+ }
+ }
+
+ free(path);
+ }
+#endif /* HWLOC_LINUX_SYS */
+
+ if (!proc_cpubind)
+ continue;
+
+ if (hwloc_bitmap_isincluded(root->cpuset, cpuset))
+ continue;
+
+ insert_task(topology, cpuset, name);
+ }
+
+ hwloc_bitmap_free(cpuset);
+#ifdef HWLOC_LINUX_SYS
+ hwloc_bitmap_free(task_cpuset);
+#endif /* HWLOC_LINUX_SYS */
+ closedir(dir);
+#endif /* HAVE_DIRENT_H */
+}
+
+static void
+lstopo_add_collapse_attributes(hwloc_topology_t topology)
+{
+ hwloc_obj_t obj, collapser = NULL;
+ unsigned collapsed = 0;
+ /* collapse identical PCI devs */
+ for(obj = hwloc_get_next_pcidev(topology, NULL); obj; obj = hwloc_get_next_pcidev(topology, obj)) {
+ if (collapser) {
+ if (!obj->arity
+ && obj->parent == collapser->parent
+ && obj->attr->pcidev.vendor_id == collapser->attr->pcidev.vendor_id
+ && obj->attr->pcidev.device_id == collapser->attr->pcidev.device_id
+ && obj->attr->pcidev.subvendor_id == collapser->attr->pcidev.subvendor_id
+ && obj->attr->pcidev.subdevice_id == collapser->attr->pcidev.subdevice_id) {
+ /* collapse another one */
+ hwloc_obj_add_info(obj, "lstopoCollapse", "0");
+ collapsed++;
+ continue;
+ } else if (collapsed > 1) {
+ /* end this collapsing */
+ char text[10];
+ snprintf(text, sizeof(text), "%u", collapsed);
+ hwloc_obj_add_info(collapser, "lstopoCollapse", text);
+ collapser = NULL;
+ collapsed = 0;
+ }
+ }
+ if (!obj->arity) {
+ /* start a new collapsing */
+ collapser = obj;
+ collapsed = 1;
+ }
+ }
+ if (collapsed > 1) {
+ /* end this collapsing */
+ char text[11];
+ snprintf(text, sizeof(text), "%u", collapsed);
+ hwloc_obj_add_info(collapser, "lstopoCollapse", text);
+ }
+}
+
+static void
+lstopo_populate_userdata(hwloc_obj_t parent)
+{
+ hwloc_obj_t child;
+ struct lstopo_obj_userdata *save = malloc(sizeof(*save));
+
+ save->common.buffer = NULL; /* so that it is ignored on XML export */
+ save->common.next = parent->userdata;
+ save->fontsize = (unsigned) -1;
+ save->gridsize = (unsigned) -1;
+ parent->userdata = save;
+
+ for(child = parent->first_child; child; child = child->next_sibling)
+ lstopo_populate_userdata(child);
+}
+
+static void
+lstopo_destroy_userdata(hwloc_obj_t parent)
+{
+ hwloc_obj_t child;
+ struct lstopo_obj_userdata *save = parent->userdata;
+
+ if (save) {
+ parent->userdata = save->common.next;
+ free(save);
+ }
+
+ for(child = parent->first_child; child; child = child->next_sibling)
+ lstopo_destroy_userdata(child);
+}
+
+void usage(const char *name, FILE *where)
+{
+ fprintf (where, "Usage: %s [ options ] ... [ filename.format ]\n\n", name);
+ fprintf (where, "See lstopo(1) for more details.\n");
+
+ fprintf (where, "\nDefault output is "
+#ifdef LSTOPO_HAVE_GRAPHICS
+#ifdef HWLOC_WIN_SYS
+ "graphical"
+#elif (defined CAIRO_HAS_XLIB_SURFACE) && (defined HWLOC_HAVE_X11_KEYSYM)
+ "graphical (X11) if DISPLAY is set, console otherwise"
+#else
+ "console"
+#endif
+#else
+ "console"
+#endif
+ ".\n");
+
+ fprintf (where, "Supported output file formats: console, ascii, fig"
+#ifdef LSTOPO_HAVE_GRAPHICS
+#ifdef CAIRO_HAS_PDF_SURFACE
+ ", pdf"
+#endif /* CAIRO_HAS_PDF_SURFACE */
+#ifdef CAIRO_HAS_PS_SURFACE
+ ", ps"
+#endif /* CAIRO_HAS_PS_SURFACE */
+#ifdef CAIRO_HAS_PNG_FUNCTIONS
+ ", png"
+#endif /* CAIRO_HAS_PNG_FUNCTIONS */
+#ifdef CAIRO_HAS_SVG_SURFACE
+ ", svg"
+#endif /* CAIRO_HAS_SVG_SURFACE */
+#endif /* LSTOPO_HAVE_GRAPHICS */
+ ", xml, synthetic"
+ "\n");
+ fprintf (where, "\nFormatting options:\n");
+ fprintf (where, " -l --logical Display hwloc logical object indexes\n");
+ fprintf (where, " (default for console output)\n");
+ fprintf (where, " -p --physical Display physical object indexes\n");
+ fprintf (where, " (default for graphical output)\n");
+ fprintf (where, "Output options:\n");
+ fprintf (where, " --output-format <format>\n");
+ fprintf (where, " --of <format> Force the output to use the given format\n");
+ fprintf (where, " -f --force Overwrite the output file if it exists\n");
+ fprintf (where, "Textual output options:\n");
+ fprintf (where, " --only <type> Only show objects of the given type in the textual output\n");
+ fprintf (where, " -v --verbose Include additional details\n");
+ fprintf (where, " -s --silent Reduce the amount of details to show\n");
+ fprintf (where, " -c --cpuset Show the cpuset of each object\n");
+ fprintf (where, " -C --cpuset-only Only show the cpuset of each object\n");
+ fprintf (where, " --taskset Show taskset-specific cpuset strings\n");
+ fprintf (where, "Object filtering options:\n");
+ fprintf (where, " --ignore <type> Ignore objects of the given type\n");
+ fprintf (where, " --no-caches Do not show caches\n");
+ fprintf (where, " --no-useless-caches Do not show caches which do not have a hierarchical\n"
+ " impact\n");
+ fprintf (where, " --no-icaches Do not show instruction caches\n");
+ fprintf (where, " --merge Do not show levels that do not have a hierarchical\n"
+ " impact\n");
+ fprintf (where, " --no-collapse Do not collapse identical PCI devices\n");
+ fprintf (where, " --restrict <cpuset> Restrict the topology to processors listed in <cpuset>\n");
+ fprintf (where, " --restrict binding Restrict the topology to the current process binding\n");
+ fprintf (where, " --restrict-flags <n> Set the flags to be used during restrict\n");
+ fprintf (where, " --no-io Do not show any I/O device or bridge\n");
+ fprintf (where, " --no-bridges Do not any I/O bridge except hostbridges\n");
+ fprintf (where, " --whole-io Show all I/O devices and bridges\n");
+ fprintf (where, "Input options:\n");
+ hwloc_utils_input_format_usage(where, 6);
+ fprintf (where, " --thissystem Assume that the input topology provides the topology\n"
+ " for the system on which we are running\n");
+ fprintf (where, " --pid <pid> Detect topology as seen by process <pid>\n");
+ fprintf (where, " --whole-system Do not consider administration limitations\n");
+ fprintf (where, "Graphical output options:\n");
+ fprintf (where, " --fontsize 10 Set size of text font\n");
+ fprintf (where, " --gridsize 10 Set size of margin between elements\n");
+ fprintf (where, " --horiz[=<type,...>] Horizontal graphical layout instead of nearly 4/3 ratio\n");
+ fprintf (where, " --vert[=<type,...>] Vertical graphical layout instead of nearly 4/3 ratio\n");
+ fprintf (where, " --rect[=<type,...>] Rectangular graphical layout with nearly 4/3 ratio\n");
+ fprintf (where, " --index=[<type,...>] Display indexes for the given object types\n");
+ fprintf (where, " --no-index=[<type,.>] Do not display indexes for the given object types\n");
+ fprintf (where, " --attrs=[<type,...>] Display attributes for the given object types\n");
+ fprintf (where, " --no-attrs=[<type,.>] Do not display attributes for the given object types\n");
+ fprintf (where, " --no-legend Remove the text legend at the bottom\n");
+ fprintf (where, " --append-legend <s> Append a new line of text at the bottom of the legend\n");
+ fprintf (where, "Miscellaneous options:\n");
+ fprintf (where, " --export-synthetic-flags <n>\n"
+ " Set flags during the synthetic topology export\n");
+ fprintf (where, " --ps --top Display processes within the hierarchy\n");
+ fprintf (where, " --version Report version and exit\n");
+}
+
+enum output_format {
+ LSTOPO_OUTPUT_DEFAULT,
+ LSTOPO_OUTPUT_CONSOLE,
+ LSTOPO_OUTPUT_SYNTHETIC,
+ LSTOPO_OUTPUT_ASCII,
+ LSTOPO_OUTPUT_FIG,
+ LSTOPO_OUTPUT_PNG,
+ LSTOPO_OUTPUT_PDF,
+ LSTOPO_OUTPUT_PS,
+ LSTOPO_OUTPUT_SVG,
+ LSTOPO_OUTPUT_XML
+};
+
+static enum output_format
+parse_output_format(const char *name, char *callname)
+{
+ if (!hwloc_strncasecmp(name, "default", 3))
+ return LSTOPO_OUTPUT_DEFAULT;
+ else if (!hwloc_strncasecmp(name, "console", 3))
+ return LSTOPO_OUTPUT_CONSOLE;
+ else if (!strcasecmp(name, "synthetic"))
+ return LSTOPO_OUTPUT_SYNTHETIC;
+ else if (!strcasecmp(name, "ascii")
+ || !strcasecmp(name, "txt") /* backward compat with 1.10 */)
+ return LSTOPO_OUTPUT_ASCII;
+ else if (!strcasecmp(name, "fig"))
+ return LSTOPO_OUTPUT_FIG;
+ else if (!strcasecmp(name, "png"))
+ return LSTOPO_OUTPUT_PNG;
+ else if (!strcasecmp(name, "pdf"))
+ return LSTOPO_OUTPUT_PDF;
+ else if (!strcasecmp(name, "ps"))
+ return LSTOPO_OUTPUT_PS;
+ else if (!strcasecmp(name, "svg"))
+ return LSTOPO_OUTPUT_SVG;
+ else if (!strcasecmp(name, "xml"))
+ return LSTOPO_OUTPUT_XML;
+
+ fprintf(stderr, "file format `%s' not supported\n", name);
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+}
+
+#define LSTOPO_VERBOSE_MODE_DEFAULT 1
+
+int
+main (int argc, char *argv[])
+{
+ int err;
+ hwloc_topology_t topology;
+ const char *filename = NULL;
+ unsigned long flags = HWLOC_TOPOLOGY_FLAG_IO_DEVICES | HWLOC_TOPOLOGY_FLAG_IO_BRIDGES | HWLOC_TOPOLOGY_FLAG_ICACHES;
+ unsigned long restrict_flags = 0;
+ int merge = 0;
+ int ignorecache = 0;
+ char * callname;
+ char * input = NULL;
+ enum hwloc_utils_input_format input_format = HWLOC_UTILS_INPUT_DEFAULT;
+ enum output_format output_format = LSTOPO_OUTPUT_DEFAULT;
+ char *restrictstring = NULL;
+ struct lstopo_output loutput;
+#ifdef HAVE_CLOCK_GETTIME
+ struct timespec ts1, ts2;
+ unsigned long ms;
+ int measure_load_time = !!getenv("HWLOC_DEBUG_LOAD_TIME");
+#endif
+ int opt;
+ unsigned i;
+
+ loutput.overwrite = 0;
+ loutput.logical = -1;
+ loutput.legend = 1;
+ loutput.verbose_mode = LSTOPO_VERBOSE_MODE_DEFAULT;
+
+ for(i=0; i<HWLOC_OBJ_TYPE_MAX; i++)
+ force_orient[i] = LSTOPO_ORIENT_NONE;
+ force_orient[HWLOC_OBJ_PU] = LSTOPO_ORIENT_HORIZ;
+ force_orient[HWLOC_OBJ_CACHE] = LSTOPO_ORIENT_HORIZ;
+ force_orient[HWLOC_OBJ_NUMANODE] = LSTOPO_ORIENT_HORIZ;
+ for(i=0; i<HWLOC_OBJ_TYPE_MAX; i++) {
+ show_indexes[i] = 1;
+ show_attrs[i] = 1;
+ }
+
+ /* enable verbose backends */
+ putenv((char *) "HWLOC_XML_VERBOSE=1");
+ putenv((char *) "HWLOC_SYNTHETIC_VERBOSE=1");
+
+ /* Use localized time prints, and utf-8 characters in the ascii output */
+#ifdef HAVE_SETLOCALE
+ setlocale(LC_ALL, "");
+#endif
+
+ callname = strrchr(argv[0], '/');
+ if (!callname)
+ callname = argv[0];
+ else
+ callname++;
+ /* skip argv[0], handle options */
+ argc--;
+ argv++;
+
+ err = hwloc_topology_init (&topology);
+ if (err)
+ return EXIT_FAILURE;
+
+ while (argc >= 1)
+ {
+ opt = 0;
+ if (!strcmp (argv[0], "-v") || !strcmp (argv[0], "--verbose")) {
+ loutput.verbose_mode++;
+ } else if (!strcmp (argv[0], "-s") || !strcmp (argv[0], "--silent")) {
+ loutput.verbose_mode--;
+ } else if (!strcmp (argv[0], "-h") || !strcmp (argv[0], "--help")) {
+ usage(callname, stdout);
+ exit(EXIT_SUCCESS);
+ } else if (!strcmp (argv[0], "-f") || !strcmp (argv[0], "--force"))
+ loutput.overwrite = 1;
+ else if (!strcmp (argv[0], "-l") || !strcmp (argv[0], "--logical"))
+ loutput.logical = 1;
+ else if (!strcmp (argv[0], "-p") || !strcmp (argv[0], "--physical"))
+ loutput.logical = 0;
+ else if (!strcmp (argv[0], "-c") || !strcmp (argv[0], "--cpuset"))
+ lstopo_show_cpuset = 1;
+ else if (!strcmp (argv[0], "-C") || !strcmp (argv[0], "--cpuset-only"))
+ lstopo_show_cpuset = 2;
+ else if (!strcmp (argv[0], "--taskset")) {
+ lstopo_show_taskset = 1;
+ if (!lstopo_show_cpuset)
+ lstopo_show_cpuset = 1;
+ } else if (!strcmp (argv[0], "--only")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ if (hwloc_obj_type_sscanf(argv[1], &lstopo_show_only, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to --only, ignoring.\n", argv[1]);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--ignore")) {
+ hwloc_obj_type_t type;
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ if (hwloc_obj_type_sscanf(argv[1], &type, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to --ignore, ignoring.\n", argv[1]);
+ else if (type == HWLOC_OBJ_PU)
+ lstopo_ignore_pus = 1;
+ else
+ hwloc_topology_ignore_type(topology, type);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--no-caches"))
+ ignorecache = 2;
+ else if (!strcmp (argv[0], "--no-useless-caches"))
+ ignorecache = 1;
+ else if (!strcmp (argv[0], "--no-icaches"))
+ flags &= ~HWLOC_TOPOLOGY_FLAG_ICACHES;
+ else if (!strcmp (argv[0], "--whole-system"))
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM;
+ else if (!strcmp (argv[0], "--no-io"))
+ flags &= ~(HWLOC_TOPOLOGY_FLAG_IO_DEVICES | HWLOC_TOPOLOGY_FLAG_IO_BRIDGES);
+ else if (!strcmp (argv[0], "--no-bridges"))
+ flags &= ~(HWLOC_TOPOLOGY_FLAG_IO_BRIDGES);
+ else if (!strcmp (argv[0], "--whole-io"))
+ flags |= HWLOC_TOPOLOGY_FLAG_WHOLE_IO;
+ else if (!strcmp (argv[0], "--merge"))
+ merge = 1;
+ else if (!strcmp (argv[0], "--no-collapse"))
+ lstopo_collapse = 0;
+ else if (!strcmp (argv[0], "--thissystem"))
+ flags |= HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM;
+ else if (!strcmp (argv[0], "--flags")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ flags = strtoul(argv[1], NULL, 0);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--restrict")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ restrictstring = strdup(argv[1]);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--restrict-flags")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ restrict_flags = (unsigned long) strtoull(argv[1], NULL, 0);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--export-synthetic-flags")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ lstopo_export_synthetic_flags = (unsigned long) strtoull(argv[1], NULL, 0);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--horiz"))
+ for(i=0; i<HWLOC_OBJ_TYPE_MAX; i++)
+ force_orient[i] = LSTOPO_ORIENT_HORIZ;
+ else if (!strcmp (argv[0], "--vert"))
+ for(i=0; i<HWLOC_OBJ_TYPE_MAX; i++)
+ force_orient[i] = LSTOPO_ORIENT_VERT;
+ else if (!strcmp (argv[0], "--rect"))
+ for(i=0; i<HWLOC_OBJ_TYPE_MAX; i++)
+ force_orient[i] = LSTOPO_ORIENT_RECT;
+ else if (!strncmp (argv[0], "--horiz=", 8)
+ || !strncmp (argv[0], "--vert=", 7)
+ || !strncmp (argv[0], "--rect=", 7)) {
+ enum lstopo_orient_e orient = (argv[0][2] == 'h') ? LSTOPO_ORIENT_HORIZ : (argv[0][2] == 'v') ? LSTOPO_ORIENT_VERT : LSTOPO_ORIENT_RECT;
+ char *tmp = argv[0] + ((argv[0][2] == 'h') ? 8 : 7);
+ while (tmp) {
+ char *end = strchr(tmp, ',');
+ hwloc_obj_type_t type;
+ if (end)
+ *end = '\0';
+ if (hwloc_obj_type_sscanf(tmp, &type, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to %s, ignoring.\n", tmp, argv[0]);
+ else
+ force_orient[type] = orient;
+ if (!end)
+ break;
+ tmp = end+1;
+ }
+ }
+
+ else if (!strcmp (argv[0], "--no-index")
+ || !strcmp (argv[0], "--index")
+ || !strcmp (argv[0], "--no-attrs")
+ || !strcmp (argv[0], "--attrs")) {
+ int flag = argv[0][2] != 'n';
+ int *array = argv[0][5-flag*3] == 'a' ? show_attrs : show_indexes;
+ for(i=0; i<HWLOC_OBJ_TYPE_MAX; i++)
+ array[i] = flag;
+ }
+
+ else if (!strncmp (argv[0], "--no-index=", 11)
+ || !strncmp (argv[0], "--index=", 8)
+ || !strncmp (argv[0], "--no-attrs=", 11)
+ || !strncmp (argv[0], "--attrs=", 8)) {
+ int flag = argv[0][2] != 'n';
+ int *array = argv[0][5-flag*3] == 'a' ? show_attrs : show_indexes;
+ char *tmp = argv[0] + (flag ? 8 : 11);
+ while (tmp) {
+ char *end = strchr(tmp, ',');
+ hwloc_obj_type_t type;
+ if (end)
+ *end = '\0';
+ if (hwloc_obj_type_sscanf(tmp, &type, NULL, NULL, 0) < 0)
+ fprintf(stderr, "Unsupported type `%s' passed to %s, ignoring.\n", tmp, argv[0]);
+ else
+ array[type] = flag;
+ if (!end)
+ break;
+ tmp = end+1;
+ }
+ }
+
+ else if (!strcmp (argv[0], "--fontsize")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ fontsize = atoi(argv[1]);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--gridsize")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ gridsize = atoi(argv[1]);
+ opt = 1;
+ }
+ else if (!strcmp (argv[0], "--no-legend")) {
+ loutput.legend = 0;
+ }
+ else if (!strcmp (argv[0], "--append-legend")) {
+ char **tmp;
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ tmp = realloc(lstopo_append_legends, (lstopo_append_legends_nr+1) * sizeof(*lstopo_append_legends));
+ if (!tmp) {
+ fprintf(stderr, "Failed to realloc legend append array, legend ignored.\n");
+ } else {
+ lstopo_append_legends = tmp;
+ lstopo_append_legends[lstopo_append_legends_nr] = strdup(argv[1]);
+ lstopo_append_legends_nr++;
+ }
+ opt = 1;
+ }
+
+ else if (hwloc_utils_lookup_input_option(argv, argc, &opt,
+ &input, &input_format,
+ callname)) {
+ /* nothing to do anymore */
+
+ } else if (!strcmp (argv[0], "--pid")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ lstopo_pid_number = atoi(argv[1]); opt = 1;
+ } else if (!strcmp (argv[0], "--ps") || !strcmp (argv[0], "--top"))
+ top = 1;
+ else if (!strcmp (argv[0], "--version")) {
+ printf("%s %s\n", callname, HWLOC_VERSION);
+ exit(EXIT_SUCCESS);
+ } else if (!strcmp (argv[0], "--output-format") || !strcmp (argv[0], "--of")) {
+ if (argc < 2) {
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+ output_format = parse_output_format(argv[1], callname);
+ opt = 1;
+ } else {
+ if (filename) {
+ fprintf (stderr, "Unrecognized option: %s\n", argv[0]);
+ usage (callname, stderr);
+ exit(EXIT_FAILURE);
+ } else
+ filename = argv[0];
+ }
+ argc -= opt+1;
+ argv += opt+1;
+ }
+
+ if (lstopo_show_only != (hwloc_obj_type_t)-1)
+ merge = 0;
+
+ err = hwloc_topology_set_flags(topology, flags);
+ if (err < 0) {
+ fprintf(stderr, "Failed to set flags %lx (%s).\n", flags, strerror(errno));
+ return EXIT_FAILURE;
+ }
+
+ if (ignorecache > 1) {
+ hwloc_topology_ignore_type(topology, HWLOC_OBJ_CACHE);
+ } else if (ignorecache) {
+ hwloc_topology_ignore_type_keep_structure(topology, HWLOC_OBJ_CACHE);
+ }
+ if (merge)
+ hwloc_topology_ignore_all_keep_structure(topology);
+
+ if (input) {
+ err = hwloc_utils_enable_input_format(topology, input, &input_format, loutput.verbose_mode > 1, callname);
+ if (err)
+ return err;
+ }
+
+ if (lstopo_pid_number > 0) {
+ if (hwloc_pid_from_number(&lstopo_pid, lstopo_pid_number, 0, 1 /* verbose */) < 0
+ || hwloc_topology_set_pid(topology, lstopo_pid)) {
+ perror("Setting target pid");
+ return EXIT_FAILURE;
+ }
+ }
+
+ /* if the output format wasn't enforced, look at the filename */
+ if (filename && output_format == LSTOPO_OUTPUT_DEFAULT) {
+ if (!strcmp(filename, "-")
+ || !strcmp(filename, "/dev/stdout")) {
+ output_format = LSTOPO_OUTPUT_CONSOLE;
+ } else {
+ char *dot = strrchr(filename, '.');
+ if (dot)
+ output_format = parse_output_format(dot+1, callname);
+ else {
+ fprintf(stderr, "Cannot infer output type for file `%s' without any extension, using default output.\n", filename);
+ filename = NULL;
+ }
+ }
+ }
+
+ /* if the output format wasn't enforced, think a bit about what the user probably want */
+ if (output_format == LSTOPO_OUTPUT_DEFAULT) {
+ if (lstopo_show_cpuset
+ || lstopo_show_only != (hwloc_obj_type_t)-1
+ || loutput.verbose_mode != LSTOPO_VERBOSE_MODE_DEFAULT)
+ output_format = LSTOPO_OUTPUT_CONSOLE;
+ }
+
+ if (input_format == HWLOC_UTILS_INPUT_XML
+ && output_format == LSTOPO_OUTPUT_XML) {
+ /* must be after parsing output format and before loading the topology */
+ putenv((char *) "HWLOC_XML_USERDATA_NOT_DECODED=1");
+ hwloc_topology_set_userdata_import_callback(topology, hwloc_utils_userdata_import_cb);
+ hwloc_topology_set_userdata_export_callback(topology, hwloc_utils_userdata_export_cb);
+ }
+
+#ifdef HAVE_CLOCK_GETTIME
+ if (measure_load_time)
+ clock_gettime(CLOCK_MONOTONIC, &ts1);
+#endif
+
+ err = hwloc_topology_load (topology);
+ if (err) {
+ fprintf(stderr, "hwloc_topology_load() failed (%s).\n", strerror(errno));
+ return EXIT_FAILURE;
+ }
+
+#ifdef HAVE_CLOCK_GETTIME
+ if (measure_load_time) {
+ clock_gettime(CLOCK_MONOTONIC, &ts2);
+ ms = (ts2.tv_nsec-ts1.tv_nsec)/1000000+(ts2.tv_sec-ts1.tv_sec)*1000UL;
+ printf("hwloc_topology_load() took %lu ms\n", ms);
+ }
+#endif
+
+ if (top)
+ add_process_objects(topology);
+
+ if (restrictstring) {
+ hwloc_bitmap_t restrictset = hwloc_bitmap_alloc();
+ if (!strcmp (restrictstring, "binding")) {
+ if (lstopo_pid_number > 0)
+ hwloc_get_proc_cpubind(topology, lstopo_pid, restrictset, HWLOC_CPUBIND_PROCESS);
+ else
+ hwloc_get_cpubind(topology, restrictset, HWLOC_CPUBIND_PROCESS);
+ } else {
+ hwloc_bitmap_sscanf(restrictset, restrictstring);
+ }
+ err = hwloc_topology_restrict (topology, restrictset, restrict_flags);
+ if (err) {
+ perror("Restricting the topology");
+ /* FALLTHRU */
+ }
+ hwloc_bitmap_free(restrictset);
+ free(restrictstring);
+ }
+
+ if (loutput.logical == -1) {
+ if (output_format == LSTOPO_OUTPUT_CONSOLE)
+ loutput.logical = 1;
+ else if (output_format != LSTOPO_OUTPUT_DEFAULT)
+ loutput.logical = 0;
+ }
+
+ loutput.topology = topology;
+ loutput.file = NULL;
+
+ lstopo_populate_userdata(hwloc_get_root_obj(topology));
+
+ if (output_format != LSTOPO_OUTPUT_XML && lstopo_collapse)
+ lstopo_add_collapse_attributes(topology);
+
+ switch (output_format) {
+ case LSTOPO_OUTPUT_DEFAULT:
+#ifdef LSTOPO_HAVE_GRAPHICS
+#if (defined CAIRO_HAS_XLIB_SURFACE) && (defined HWLOC_HAVE_X11_KEYSYM)
+ if (getenv("DISPLAY")) {
+ if (loutput.logical == -1)
+ loutput.logical = 0;
+ output_x11(&loutput, NULL);
+ } else
+#endif /* CAIRO_HAS_XLIB_SURFACE */
+#ifdef HWLOC_WIN_SYS
+ {
+ if (loutput.logical == -1)
+ loutput.logical = 0;
+ output_windows(&loutput, NULL);
+ }
+#endif
+#endif /* !LSTOPO_HAVE_GRAPHICS */
+#if !defined HWLOC_WIN_SYS || !defined LSTOPO_HAVE_GRAPHICS
+ {
+ if (loutput.logical == -1)
+ loutput.logical = 1;
+ output_console(&loutput, NULL);
+ }
+#endif
+ break;
+
+ case LSTOPO_OUTPUT_CONSOLE:
+ output_console(&loutput, filename);
+ break;
+ case LSTOPO_OUTPUT_SYNTHETIC:
+ output_synthetic(&loutput, filename);
+ break;
+ case LSTOPO_OUTPUT_ASCII:
+ output_ascii(&loutput, filename);
+ break;
+ case LSTOPO_OUTPUT_FIG:
+ output_fig(&loutput, filename);
+ break;
+#ifdef LSTOPO_HAVE_GRAPHICS
+# ifdef CAIRO_HAS_PNG_FUNCTIONS
+ case LSTOPO_OUTPUT_PNG:
+ output_png(&loutput, filename);
+ break;
+# endif /* CAIRO_HAS_PNG_FUNCTIONS */
+# ifdef CAIRO_HAS_PDF_SURFACE
+ case LSTOPO_OUTPUT_PDF:
+ output_pdf(&loutput, filename);
+ break;
+# endif /* CAIRO_HAS_PDF_SURFACE */
+# ifdef CAIRO_HAS_PS_SURFACE
+ case LSTOPO_OUTPUT_PS:
+ output_ps(&loutput, filename);
+ break;
+# endif /* CAIRO_HAS_PS_SURFACE */
+# ifdef CAIRO_HAS_SVG_SURFACE
+ case LSTOPO_OUTPUT_SVG:
+ output_svg(&loutput, filename);
+ break;
+# endif /* CAIRO_HAS_SVG_SURFACE */
+#endif /* LSTOPO_HAVE_GRAPHICS */
+ case LSTOPO_OUTPUT_XML:
+ output_xml(&loutput, filename);
+ break;
+ default:
+ fprintf(stderr, "file format not supported\n");
+ usage(callname, stderr);
+ exit(EXIT_FAILURE);
+ }
+
+ lstopo_destroy_userdata(hwloc_get_root_obj(topology));
+ hwloc_utils_userdata_free_recursive(hwloc_get_root_obj(topology));
+ hwloc_topology_destroy (topology);
+
+ for(i=0; i<lstopo_append_legends_nr; i++)
+ free(lstopo_append_legends[i]);
+ free(lstopo_append_legends);
+
+ return EXIT_SUCCESS;
+}
--- /dev/null
+# should only be used when lstopo is built with Cairo/X11 support
+# so that no terminal is required
+[Desktop Entry]
+Name=Hardware Locality lstopo
+Comment=Show hardware topology
+Exec=lstopo
+Terminal=false
+Type=Application
+Categories=System;
+Keywords=System;Utility;
--- /dev/null
+/*
+ * Copyright © 2009 CNRS
+ * Copyright © 2009-2017 Inria. All rights reserved.
+ * Copyright © 2009-2010, 2012, 2015 Université Bordeaux
+ * Copyright © 2011 Cisco Systems, Inc. All rights reserved.
+ * See COPYING in top-level directory.
+ */
+
+#ifndef UTILS_LSTOPO_H
+#define UTILS_LSTOPO_H
+
+#include <private/autogen/config.h>
+#include <hwloc.h>
+#include <misc.h>
+
+extern int lstopo_ignore_pus;
+extern int lstopo_collapse;
+extern hwloc_obj_type_t lstopo_show_only;
+extern int lstopo_show_cpuset;
+extern int lstopo_show_taskset;
+extern int lstopo_pid_number;
+extern hwloc_pid_t lstopo_pid;
+extern char ** lstopo_append_legends;
+extern unsigned lstopo_append_legends_nr;
+extern unsigned long lstopo_export_synthetic_flags;
+
+FILE *open_output(const char *filename, int overwrite) __hwloc_attribute_malloc;
+
+struct draw_methods;
+
+/* if embedded in backend-specific output structure, must be at the beginning */
+struct lstopo_output {
+ FILE *file;
+ hwloc_topology_t topology;
+ int logical;
+ int legend;
+ int overwrite;
+ int verbose_mode;
+ struct draw_methods *methods;
+ unsigned min_pu_textwidth;
+};
+
+struct style {
+ struct stylecolor { int r, g, b; }
+ bg, /* main box background color */
+ t, /* main text color */
+ bg2, /* other box background color */
+ t2; /* other text color */
+};
+
+struct lstopo_obj_userdata {
+ /* original common userdata (we replace the first one with this extended structure) */
+ struct hwloc_utils_userdata common;
+
+ /* draw info */
+ unsigned width;
+ unsigned height;
+ unsigned fontsize;
+ unsigned gridsize;
+
+ /* custom style */
+ struct style style;
+#define LSTOPO_STYLE_BG 0x1
+#define LSTOPO_STYLE_T 0x2
+#define LSTOPO_STYLE_BG2 0x4
+#define LSTOPO_STYLE_T2 0x8
+ unsigned style_set; /* OR'ed LSTOPO_STYLE_* */
+};
+
+typedef void output_method (struct lstopo_output *output, const char *filename);
+
+extern output_method output_console, output_synthetic, output_ascii, output_x11, output_fig, output_png, output_pdf, output_ps, output_svg, output_windows, output_xml;
+
+struct draw_methods {
+ void (*init) (void *output);
+ void (*declare_color) (void *output, int r, int g, int b);
+ void (*box) (void *output, int r, int g, int b, unsigned depth, unsigned x, unsigned width, unsigned y, unsigned height);
+ void (*line) (void *output, int r, int g, int b, unsigned depth, unsigned x1, unsigned y1, unsigned x2, unsigned y2);
+ void (*text) (void *output, int r, int g, int b, unsigned depth, unsigned x, unsigned y, const char *text);
+ void (*textsize) (void *output, const char *text, unsigned textlength, unsigned *width);
+};
+
+extern unsigned int gridsize, fontsize;
+
+enum lstopo_orient_e {
+ LSTOPO_ORIENT_NONE = 0,
+ LSTOPO_ORIENT_HORIZ,
+ LSTOPO_ORIENT_VERT,
+ LSTOPO_ORIENT_RECT
+};
+/* orientation of children within an object of the given type */
+extern enum lstopo_orient_e force_orient[];
+
+extern int show_indexes[];
+extern int show_attrs[];
+
+extern void output_draw_start(struct lstopo_output *output);
+extern void output_draw(struct lstopo_output *output);
+
+int rgb_to_color(int r, int g, int b) __hwloc_attribute_const;
+int declare_color(int r, int g, int b);
+
+static __hwloc_inline int lstopo_pu_offline(hwloc_obj_t l)
+{
+ return !hwloc_bitmap_isset(l->online_cpuset, l->os_index);
+}
+
+static __hwloc_inline int lstopo_pu_forbidden(hwloc_obj_t l)
+{
+ return !hwloc_bitmap_isset(l->allowed_cpuset, l->os_index);
+}
+
+static __hwloc_inline int lstopo_pu_running(hwloc_topology_t topology, hwloc_obj_t l)
+{
+ hwloc_bitmap_t bind = hwloc_bitmap_alloc();
+ int res;
+ if (lstopo_pid_number != -1 && lstopo_pid_number != 0)
+ hwloc_get_proc_cpubind(topology, lstopo_pid, bind, 0);
+ else if (lstopo_pid_number == 0)
+ hwloc_get_cpubind(topology, bind, 0);
+ res = bind && hwloc_bitmap_isset(bind, l->os_index);
+ hwloc_bitmap_free(bind);
+ return res;
+}
+
+
+#endif /* UTILS_LSTOPO_H */
--- /dev/null
+#!/bin/sh
+#-*-sh-*-
+
+#
+# Copyright © 2009 CNRS
+# Copyright © 2009-2017 Inria. All rights reserved.
+# Copyright © 2009, 2011, 2018 Université Bordeaux
+# See COPYING in top-level directory.
+#
+
+HWLOC_top_builddir="@HWLOC_top_builddir@"
+ls="$HWLOC_top_builddir/utils/lstopo/lstopo-no-graphics"
+HWLOC_top_srcdir="@HWLOC_top_srcdir@"
+
+HWLOC_PLUGINS_PATH=${HWLOC_top_builddir}/src
+export HWLOC_PLUGINS_PATH
+
+: ${TMPDIR=/tmp}
+{
+ tmp=`
+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
+ ` &&
+ test -n "$tmp" && test -d "$tmp"
+} || {
+ tmp=$TMPDIR/foo$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || exit $?
+file="$tmp/test-hwloc-ls.output"
+
+unset DISPLAY
+
+set -e
+$ls
+(
+ $ls > $tmp/test.console
+ $ls -v > $tmp/test.console_verbose
+ $ls -c -v > $tmp/test.cpuset_verbose
+ $ls --taskset -v > $tmp/test.taskset
+ $ls --merge > $tmp/test.merge
+
+@HWLOC_HAVE_PCI_TRUE@ $ls --no-io > $tmp/test.no-io
+@HWLOC_HAVE_PCI_TRUE@ $ls --no-bridges > $tmp/test.no-bridges
+@HWLOC_HAVE_PCI_TRUE@ $ls --whole-io > $tmp/test.whole-io
+@HWLOC_HAVE_PCI_TRUE@ $ls -v --whole-io > $tmp/test.wholeio_verbose
+
+ $ls --whole-system > $tmp/test.whole-system
+ $ls --ps > $tmp/test.
+ $ls $tmp/test.txt
+ $ls $tmp/test.fig
+ $ls $tmp/test.xml
+ HWLOC_LIBXML_EXPORT=0 $ls $tmp/test.mini.xml
+ $ls --input "ma:1 no:2 so:1 ca:2 2" $tmp/test.synthetic
+) > "$file"
+diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/lstopo/test-hwloc-ls.output "$file"
+rm -rf "$tmp"